CN101610316B - Starting method, device and system of mobile phone application program - Google Patents

Starting method, device and system of mobile phone application program Download PDF

Info

Publication number
CN101610316B
CN101610316B CN200910160177A CN200910160177A CN101610316B CN 101610316 B CN101610316 B CN 101610316B CN 200910160177 A CN200910160177 A CN 200910160177A CN 200910160177 A CN200910160177 A CN 200910160177A CN 101610316 B CN101610316 B CN 101610316B
Authority
CN
China
Prior art keywords
fast
application program
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.)
Active
Application number
CN200910160177A
Other languages
Chinese (zh)
Other versions
CN101610316A (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

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

The invention discloses a starting method, a device and a system of a mobile phone application program, wherein the method includes the steps of: when receiving a starting request of a first application program, judging whether a registered first type rapid starting progress exists, if existing, starting the first application program through the registered first type rapid starting progress; and if not existing, stopping the created but not registered first type rapid starting progress. As the created but not registered first type rapid starting progress is forcibly stopped when starting the application program and the application program can be started by a registered second type rapid starting progress, the speed of starting the application program is accelerated during the rapid switch of the application program, and the user experience is improved.

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 of mobile phone application and complexity also strengthen day by day simultaneously, 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 the such infinite expanding of PC.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 startup is divided into following several kinds of modes:
1) starts with normal mode.
When the user clicks desktop icons, at first generate a subprocess, the executable file of using through the exec function loading then.
2) start with 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, accomplishes the task in first stage of using, and waiting needs to start when using, and through loading the mode of dynamic base, directly begins to get into the main window operation.The time that starts fast is divided into following two situation:
A) when system initialization starts;
B) after quick startup gets into the application main window, just become certain concrete application, need to start next quick startup process this moment and use in order to next application.
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 with normal mode with using.
Through practice, this will cause following problem:
1) starts application with 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 accomplished use in the public initialization operation of phase one, when real startup application program,, solve the drawback of bringing by first kind of mode with improving the toggle speed of using greatly.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, cause overhead in switching increase between process, make application start slower than normal startup, poor user experience.
3) start application with 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, the plurality of applications program still will start with 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
Toggle speed to startup method of the prior art exists when application program is switched fast is slow; Poor user experience; Cause the problem of system resource waste simultaneously and propose the present invention; For this reason, fundamental 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 through registered first kind startup process fast; If do not exist the registered first kind to start process fast, 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 through registered second type startup process fast if exist.
A kind of starter gear of application program of mobile phone is provided according to another aspect of the present invention.
Starter gear according to application program of mobile phone of the present invention comprises: receiver module is used to receive startup request and the log-on message that comprises the application program launching sign of the application program of self terminal; First judge module is used for after the startup request of the application program that receives self terminal, judging whether to exist the registered first kind to start process fast; 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 through 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 through 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, and the state that is used to monitor each application program starts state of a process with each fast, and wherein, startup process fast comprises that the first kind starts process fast; The application start device is used for starting application program through 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 after receiving the startup request, judging whether to exist the registered first kind to start process fast according to Query Result; 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 through 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 through 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 when starting application program, has stopped by force having created starts process fast; And can start application program through 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 through start the process flow diagram of application program according to the first kind startup process fast of registering LAUNCH_FAST as of the embodiment of the invention;
Fig. 2 is through the process flow diagram that LAUNCH_NORMAL second type startup process fast starts application program of registering 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 starter gear 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 and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
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 when starting application program, has stopped by force having created starts process fast; And can start application program through 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, a kind of startup method of application program of mobile phone is provided.
The method that should start application program of mobile phone fast is on following basis, to realize:
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 registers LAUNCH_NORMAL as.This subprocess C that registers LAUNCH_NORMAL as is mainly used in and before being called, accomplishes the required initialization operation of application program establishment; 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 being connected registration with the AMSS completion, and registers LAUNCH_FAST as.The first kind of registering LAUNCH_FAST as starts process B fast and is mainly used in the task of accomplishing following two stages: the phase one task is that required initialization operation created in executive utility; The subordinate phase 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 accomplished 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 through start the process flow diagram of application program according to the first kind startup process fast of registering LAUNCH_FAST as of the embodiment of the invention.Of Fig. 1, the processing procedure that starts application program through the first kind startup process fast of registering LAUNCH_FAST as according to the embodiment of the invention comprises that mainly following step S102 is to step S108:
Step S102, current application program and the registration of AMSS completion information.
For example, the registered startup fast for the first kind of LAUNCH_FAST after process B starts current application program through existing will comprise that the information that application program launching identifies sends to AMSS, registers with completion 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 accomplished the phase one task, gets into 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 registers LAUNCH_FAST as to AMSS after need accomplishing the task in following two stages: the phase one task is that required initialization operation created in executive utility; The subordinate phase task is the required initialization operation of executive utility window.Here, the new quick startup process D that creates at first accomplishes the task of phase one, and promptly required initialization operation created in executive utility, gets into 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 accomplishes subordinate phase task, the i.e. required initialization operation of executive utility window.Then, the first kind of registering LAUNCH_FAST to AMSS as starts process fast, gets into event loop, to wait for calling of next application program.
By on can know; Because before being employed routine call; The first kind of registering LAUNCH_FAST as starts process fast have been accomplished 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 possibly occur, just, current application program withdraws from after, start fast before the process D completion subordinate phase task with the unregistered first kind; 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 accomplish subordinate phase as yet fast, thereby the first kind of not registering LAUNCH_FAST as 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 concrete implementation procedure will describe in detail follow-up.
Fig. 2 is through start the process flow diagram of application program according to second type startup process fast of registering LAUNCH_NORMAL as of the embodiment of the invention.As shown in Figure 2, the processing procedure that starts application program through second type startup process fast of registering LAUNCH_NORMAL as 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 registers the quick startup process of LAUNCH_NORMAL as to AMSS, gets into event loop then, and being called with wait starts application program;
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 of registering LAUNCH_NORMAL as before being called, accomplishes the required initialization operation of application program establishment, so reduce start-up time required when calling process C starts application program.
To combine instance that the implementation procedure of the embodiment of the invention is described in detail below.
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 come programs to call according to log-on message.
Step S304 judges whether to exist the first kind of registering LAUNCH_FAST as to start process fast.
Whether AMSS at first searches the first kind of registering LAUNCH_FAST as 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 of registering LAUNCH_FAST as automatically starts process B fast, so, then can find the required first kind of registering LAUNCH_FAST as and start process B fast if user's this moment initiates the startup request of application program; Thereby go to step S306, start application program to start process B fast through the first kind of registering LAUNCH_FAST as.For another example; Start fast under process B is called with the situation that starts current application program in the current first kind of registering LAUNCH_FAST as; 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 accomplished the phase one, i.e. the required initialization operation of executive utility establishment fast.If application program takes place to be switched fast; Promptly after current application program withdraws from, start process D fast with the unregistered first kind of new establishment and accomplish before the subordinate phase task, the user has initiated again like the new application program launching request of mentioning among the step S302, at this moment; Because the new first kind of creating starts the task that process D does not accomplish subordinate phase as yet fast; Thereby the first kind of also failing to register as to AMSS LAUNCH_FAST starts process fast, like this, will go to step S308; To carry out subsequent treatment, the first kind of above-mentioned new establishment starts process D fast and will describe follow-up.
Step S306 with the process of the first quick startup process of registering LAUNCH_FAST as as application program, starts application program.
Owing to starting process fast, the first kind of registering LAUNCH_FAST as accomplished required initialization operation and the required initialization operation of application window of application establishment; Thereby practiced thrift more time for the startup of application program, make the speed of having accelerated application start when this first kind startup process fast of registering LAUNCH_FAST as 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 through the first kind startup process fast of registering LAUNCH_FAST as, register with completion information.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 concrete implementation procedure repeats no more at this with reference to above-mentioned description about Fig. 1.
Step S308 unregisteredly stops by force for the first kind of LAUNCH_FAST starts process fast what newly create, and goes to step S310.
The first kind starts process D fast need carry out the subordinate phase task (promptly originally; Accomplish the required initialization operation of application window) to accomplish registration; If but carry out this subordinate phase 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 unregisteredly stop by force what newly create according to the method for the quick startup application program of mobile phone of the embodiment of the invention, thereby discharge cpu resource, reduce start-up time for the first kind of LAUNCH_FAST starts process D fast.Further, at subsequent treatment (step S312), can start process (for example, process C) through second type of registering LAUNCH_NORMAL as fast and start this application program.
Step S310 judges whether to exist second type of registering LAUNCH_NORMAL as 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 through second type startup process fast of registering LAUNCH_NORMAL as, and its concrete implementation procedure can repeat no more at this with reference to the description about above-mentioned Fig. 2.Before being called, accomplish application program and create required initialization operation because second type of registering LAUNCH_NORMAL as starts process fast, so reduced start-up time required when calling this second type startup process fast of registering LAUNCH_NORMAL as 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, repeats no more at this.
From above description; Can find out; 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 when starting application program, has stopped by force having created starts process fast, thereby discharge cpu resource, reduced start-up time.In addition, owing to can start application program rather than directly start with normal mode through 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, a kind of starter gear of application program of mobile phone is provided.
Fig. 4 is the starter gear 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 startup request and the log-on message that comprises the application program launching sign of the application program of self terminal; First judge module 404 is connected to receiver module 402, is used for after the startup request of the application program that receives self terminal, judging whether to exist the registered first kind to start process fast; 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 through 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 after the unregistered first kind that stops having created starts process fast, judging whether to exist registered second type to start 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 through registered second type startup process fast.
Said apparatus further comprises the establishment 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, create the new first kind of module 412 establishments and start process fast.
Said apparatus further comprises memory storage 414, and the registered first kind of these memory storage 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 through the canned data of inquiring about this memory storage 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, a kind of start-up system of application program of mobile phone is provided.
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 from registration of application program information, 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, At least comprise that from registration of application program information 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 like 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 access stored modules 508; To inquire about quick startup state of a process; Start process fast and second type starts state of a process fast like 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 creates module 510, and this establishment 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 after the startup request of the application program that receives self terminal, judging whether to exist the registered first kind to start process fast according to the Query Result from application management device 502; 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 through 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 when whether judgement exists registered first or second type to start process fast, sending query requests to application management device 502, the said registered first kind starts process fast and said 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 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 the Query Result from application management device 502.
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 through 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 register LAUNCH_FAST as, and before being called, accomplish the task in following two stages: the phase one task is that required initialization operation created in executive utility; The subordinate phase 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 accomplished 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 register LAUNCH_NORMAL as; And before being called, accomplish application program and create required initialization operation, to reduce start-up time required when calling process C starts application program.
From above description; Can find out; When application program is switched fast; Start process according to the starter gear 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 when starting application program, has stopped by force having created starts process fast, thereby discharge cpu resource, reduced start-up time.In addition, owing to can start application program rather than directly start with normal mode through 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 process flow diagram of accompanying drawing such as a set of computer-executable instructions; And; Though logical order has been shown in process flow diagram, in some cases, can have carried out step shown or that describe with the order that is different from here.
Obviously, it is apparent to those skilled in the art 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; Can they be stored in the memory storage and carry out, 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 by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, 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 said first application program through said registered first kind startup process fast;
If do not exist the said registered first kind to start process fast, the unregistered first kind that then stops having created starts process fast;
Wherein, the quick startup process of said first kind startup process fast for when system initialization, generating.
2. method according to claim 1 is characterized in that, after the unregistered first kind that said termination has been created starts process fast, further comprises:
Judge whether to exist registered second type to start process fast,, then start said first application program through said registered second type startup process fast if exist;
Wherein, said second type startup process fast is the subprocess of the quick startup process creation that when system initialization, generates.
3. method according to claim 1 is characterized in that, the said registered first kind starts process fast and realizes through following operation:
After second application program launching; Create the first kind and start process fast; And said first kind startup process is fast carried out the phase one task; Wherein, said second application program was started by request before said first application program, and said phase one task comprises that at least accomplishing application program creates required initialization operation;
After said second application program withdraws from; Said first kind startup process is fast carried out the subordinate phase task; And register to become the registered first kind and start process fast, wherein, said subordinate phase task comprises at least accomplishes the required initialization operation of application window.
4. method according to claim 1 is characterized in that, the said unregistered first kind of having created starts process fast and realizes through following operation:
After second application program launching; Create the first kind and start process fast; And said first kind startup process is fast carried out the phase one task; Wherein, said second application program was started by request before said first application program, and said phase one task comprises that at least accomplishing application program creates required initialization operation;
, said second application program accomplishes before the subordinate phase task after withdrawing from said first kind startup process fast; Receive the startup request of said first application program; The said first kind starts process fast and does not register; Wherein, said subordinate phase task comprises the required initialization operation of completion application window at least.
5. according to each described method of claim 1 to 4, it is characterized in that the said registered first kind starts process fast and before being called, accomplishes required initialization operation and the required initialization operation of application window of application program establishment at least.
6. method according to claim 2 is characterized in that, said registered second type starts process fast and before being called, accomplishes the required initialization operation of application program establishment at least.
7. the starter gear of an application program of mobile phone is characterized in that, comprising:
Receiver module is used to receive startup request and the log-on message that comprises the application program launching sign of the application program of self terminal;
First judge module is used for after receiving said startup request, judging whether to exist the registered first kind to start process fast, wherein, and the quick startup process of said first kind startup process fast for when system initialization, generating;
Stop module, be used for not existing the said 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 said registered first kind to start fast under the situation of process, start said application program through said registered first kind startup process fast.
8. device according to claim 7 is characterized in that, 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; Said second type startup process fast is the subprocess of the quick startup process creation that when system initialization, generates; Wherein
Said startup module also is used for existing said registered second type to start fast under the situation of process, starts said application program through said 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; Be used to monitor the state and each quick state of a process that starts of each application program; Wherein, said quick startup process comprises that the first kind starts process fast, the quick startup process of said first kind startup process fast for when system initialization, generating;
The application start device is used for starting said application program through said quick startup process, and wherein, said 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 said application management device;
First judge module is used for after receiving said startup request, judging whether to exist the registered said first kind to start process fast according to said Query Result;
Stop module, be used for not existing the said 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 said registered first kind to start fast under the situation of process, start said application program through said 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 said application management device.
10. system according to claim 9; It is characterized in that; The quick startup process of said application management device monitoring comprises that also second type starts process fast; Wherein, said second type startup process fast is the subprocess of the quick startup process creation that when system initialization, generates, and said 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 said Query Result after the unregistered first kind that stops having created starts process fast, wherein,
Said startup module also is used for existing said registered second type to start fast under the situation of process, starts said application program through said registered second type startup process fast.
11., it is characterized in that said 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 said application start device; Wherein, Said first log-on message comprises quick startup process type sign at least, and said second log-on message comprises the application program launching sign at least;
Memory module is used to store said first log-on message and said second log-on message that are received by said second receiver module;
Second sending module is used to send Query Result and gives said 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 CN101610316A (en) 2009-12-23
CN101610316B true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722011A (en) * 2021-09-01 2021-11-30 广州市百果园网络科技有限公司 Application interface starting method, device, equipment and storage medium

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610316B (en) * 2009-07-24 2012-10-10 中兴通讯股份有限公司 Starting method, device and system of mobile phone application program
CN102081504A (en) * 2011-01-26 2011-06-01 惠州Tcl移动通信有限公司 Method and device for rapidly launching application programs of mobile phone
CN102122249B (en) * 2011-02-22 2013-11-06 中兴通讯股份有限公司 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
CN103067597B (en) * 2013-01-05 2014-06-04 广东欧珀移动通信有限公司 Mobile terminal startup task execution method
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
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
CN106874020B (en) * 2015-12-10 2021-02-02 五八同城信息技术有限公司 Method and device for starting plug-in
CN107193577B (en) * 2016-03-15 2021-08-03 斑马智行网络(香港)有限公司 Application starting method and device and intelligent terminal
CN107368343B (en) * 2017-08-21 2021-03-26 创维集团智能科技有限公司 Terminal starting method based on android system, terminal and storage medium
CN108566424B (en) * 2018-04-11 2021-04-20 深圳市腾讯网络信息技术有限公司 Scheduling method, device and system based on server resource consumption prediction
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

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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王继刚, 顾国昌, 徐立峰.面向智能手机的嵌入式实时操作系统.《中兴通讯技术》.2005,第2卷(第5期),41-44. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN101610316A (en) 2009-12-23

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
EP2597912A1 (en) File downloading method and device based on wireless fidelity wifi
US20160269479A1 (en) Cloud virtual server scheduling method and apparatus
CN105511874A (en) Embedded system starting method and intelligent terminal
CN105516086A (en) Service processing method and apparatus
CN113434249A (en) Mirror image synchronization method and device, docker host and storage medium
CN100442897C (en) Terminal and server communication method, system and device
CN111666113A (en) Application program starting management method and device, electronic equipment and storage medium
CN102023899B (en) Multithreaded data synchronization method and device
CN113590433B (en) Data management method, data management system, and computer-readable storage medium
US20240089923A1 (en) Paging Method, Electronic Device, and Non-Transitory Readable Storage Medium
CN108600349B (en) Connection management method and device in connection pool
CN115550354A (en) Data processing method and device and computer readable storage medium
CN106550021B (en) Push method and device for push message
CN101551758B (en) System and method for implementing paralleling work of device management and tasks
CN108712298B (en) Network equipment upgrading method and device, network equipment and storage medium
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN105589738A (en) Concurrent processing method of intelligent split screen and corresponding intelligent terminal
CN114090104A (en) Applet starting control method and device
CN102693434A (en) Communication apparatus and method for interface layer of radio frequency identification device
JP2021141609A (en) Method, apparatus, electronic device, storage medium, and program for peer-to-peer connection
CN109413489B (en) Serial multi-thread bullet screen distribution method, device, equipment and storage medium
CN109246470B (en) Multi-thread synchronous bullet screen distribution method, device, equipment and storage medium

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