CN105630543A - Application cold start acceleration method and apparatus - Google Patents

Application cold start acceleration method and apparatus Download PDF

Info

Publication number
CN105630543A
CN105630543A CN201510967013.0A CN201510967013A CN105630543A CN 105630543 A CN105630543 A CN 105630543A CN 201510967013 A CN201510967013 A CN 201510967013A CN 105630543 A CN105630543 A CN 105630543A
Authority
CN
China
Prior art keywords
task
cold start
initialization
application
tasks
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
CN201510967013.0A
Other languages
Chinese (zh)
Other versions
CN105630543B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510967013.0A priority Critical patent/CN105630543B/en
Publication of CN105630543A publication Critical patent/CN105630543A/en
Application granted granted Critical
Publication of CN105630543B publication Critical patent/CN105630543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Landscapes

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

Abstract

Embodiments of the invention disclose an application cold start acceleration method and apparatus. The method is characterized by comprising the steps of decomposing an initialization task during cold start of an application into a real-time task and a delay task, wherein the real-time task is a task required to be initialized during hot start of the application, and the delay task is a task not required to be initialized during hot start of the application; executing the real-time task during cold start of the application; and delaying the execution of the delay task. According to the technical scheme, the initialization task during cold start of the application is decomposed into the real-time task and the delay task, the real-time task is executed during cold start of the application, and the execution of the delay task is delayed, so that by decomposing the initialization task in the cold start process of the application, it is ensured that on the premise that the application can normally run after being started, the cold start speed of the application is increased to the maximum extent, and the good usage experience is provided for a user.

Description

A kind of method applying cold start-up acceleration and device
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of method applying cold start-up acceleration and device.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings. Present people can pass through various types of electronic equipments, enjoys the comfortable life along with development in science and technology brings. Such as, the electronic equipment such as smart mobile phone, panel computer has become as an important ingredient in people's life, user can use the various application programs (hereinafter referred to as application) provided in the electronic equipment such as smart mobile phone, panel computer to listen music, play game etc., to alleviate the pressure that modern fast pace life brings.
But, the function provided along with application gets more and more, data volume occupied by application is also increasing, and because the lifting on hardware of the electronic equipment such as smart mobile phone, panel computer has reached bottleneck, so when application starts, particularly in application cold start-up, (English: time coldstartup), the response speed of application is increasingly slower, Consumer's Experience extreme difference.
Therefore, in prior art, existence is applied in the technical problem that during cold start-up, toggle speed is slower.
Summary of the invention
The embodiment of the present invention applies method and the device that cold start-up is accelerated, the technical problem that during in order to solve to be applied in prior art cold start-up, toggle speed is slower by providing a kind of.
Embodiment of the present invention first aspect provides a kind of method applying cold start-up acceleration, and described method includes:
Initialization task when being applied in cold start-up is decomposed into instant task and delayed tasks, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Described instant task is performed when described application cold start-up; And
Time delay performs described delayed tasks.
Alternatively, described perform described instant task when described application cold start-up, including:
When described application cold start-up, at least perform the assignment of context of overall importance and the initialization of asynchronous task.
Alternatively, described time delay performs described delayed tasks, including:
Need not repeat initialized data time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation are encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution; And
Facility information task is changed to and initializes when being called first.
Alternatively, the described initialization by overall situation static data is encapsulated as a set of tasks, including:
To major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
Alternatively, described facility information task being changed to initializes when being called first, including:
Initialization and the assignment more initialization when being called first of the channel number to described application and the screen size of residing terminal, screen resolution and unique identifier is included to major general.
Alternatively, described described facility information task changed to called first time initialize after, described method also includes:
Called, described facility information task is generated a public document afterwards, and other threads for described application use.
7, a kind of device applying cold start-up acceleration, it is characterised in that described device includes:
Resolving cell, it is decomposed into instant task and delayed tasks for initialization task during by application cold start-up, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Performance element, for performing described instant task when described application cold start-up, and time delay performs described delayed tasks.
Alternatively, described performance element is specifically for when described application cold start-up, at least performing the assignment of context of overall importance and the initialization of asynchronous task.
Alternatively, described performance element specifically for initialized data need not be repeated time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation be encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution, and facility information task is changed to initialization when being called first.
Alternatively, described performance element specifically for major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
Alternatively, described performance element more initializes when being called first specifically for the initialization and assignment including the channel number to described application and the screen size of residing terminal, screen resolution and unique identifier to major general.
Alternatively, described performance element is specifically additionally operable to called, described facility information task is generated a public document afterwards, and other threads for described application use.
The one or more technical schemes provided in the embodiment of the present invention, at least have the following technical effect that or advantage:
Owing to initialization task when have employed application cold start-up is decomposed into instant task and delayed tasks, and described instant task is performed when described application cold start-up, and time delay performs the technical scheme of described delayed tasks, by the decomposition to the initialization task being applied in Cold Start, ensure that application start after can be properly functioning premise under, farthest improve toggle speed during application cold start-up, to user with good experience.
Accompanying drawing explanation
The flow chart of the method that Fig. 1 accelerates for the application cold start-up that the embodiment of the present invention provides;
The flow chart of the method that Fig. 2 accelerates for the application cold start-up that the embodiment of the present invention provides;
The schematic diagram of the device that Fig. 3 accelerates for the application cold start-up that the embodiment of the present invention provides.
Detailed description of the invention
Before technical scheme in introducing the embodiment of the present invention, the present embodiment first introduces the detailed process of application cold start-up, application cold start-up refers to the first initial start of application process, data base or the service such as some necessity of the running environment required for some application processes is all not actuated, the object of some necessity and data do not carry out the operations such as corresponding assignment yet, such as, after electronic equipment is restarted, first time starts browser, or it is again started up browser after long-time off-duty browser, at this moment it is required for after application initializes, such as load the running environment etc. that application is required, application can be properly functioning, so Cold Start can expend the longer time, along with the function of browser data volume that is more and more and that take is increasing, its required running environment also becomes increasingly complex, pre-loaded data are needed also to get more and more, time spent during cold start-up is also more and more longer, so toggle speed when being applied in cold start-up in prior art is also more and more slower, to the Consumer's Experience of user also worse and worse.
Therefore, the embodiment of the present invention applies method and the device that cold start-up is accelerated, the technical problem that during in order to solve to be applied in prior art cold start-up, toggle speed is slower by providing a kind of.
After having introduced application cold start-up, introduce application thermal starting again, application thermal starting refers to when application starts, the host process of this application exists, it is to say, this needs pre-loaded data initialized complete when being applied in cold start-up, this starts the necessity such as the initialization that has only to perform to the assignment of context of overall importance and asynchronous task and operates, so compared with application cold start-up, the speed of application thermal starting.
In actual applications, the terminal applying place can be desktop computer, notebook computer etc., it is also possible to the portable terminal device such as smart mobile phone, panel computer, does not limit at this.
In ensuing part, being specially smart mobile phone applying place terminal, the browser that application is specially in smart mobile phone and installs is example, and technical scheme in the present embodiment is discussed in detail.
Embodiment one
Refer to the flow chart of the method that Fig. 1, Fig. 1 accelerate for the application cold start-up that the embodiment of the present invention provides, as it is shown in figure 1, the method includes:
101: initialization task during by application cold start-up is decomposed into instant task and delayed tasks;
In the present embodiment, first the initialization task of browser can be decomposed, initialization task is decomposed into instant task and delayed tasks, in the present embodiment, instant task can include the browser such as the assignment of context of overall importance and the initialization of asynchronous task needs initialized task when thermal starting, initialized data need not be repeated time delayed tasks can include thermal starting, the browsers such as service that thermal starting need not be again turned on and the static data initialization of the overall situation need not initialized task when thermal starting, the browser such as initialization that can also include facility information (SystemInfo) need not initialized task when thermal starting.
In specific implementation process, by the introduction of the present embodiment, technical staff belonging to this area can according to practical situation, it is decomposed into above-mentioned instant task and delayed tasks by needing initialization task when being applied in cold start-up started, to meet the needs of practical situation, just repeat no more at this.
After initialization task when by application cold start-up decomposes, the method that the embodiment of the present invention provides enters 102.
102: perform instant task when applying cold start-up, and time delay performs delayed tasks.
Specifically, in the present embodiment, can be the above-mentioned instant task that performs when browser cold start-up, and time delay performs above-mentioned delayed tasks, the concrete time of delay complete with the instant tasks carrying in step 101 after the delayed tasks in execution step 102 at once.
In specific implementation process, above-mentioned instant task is performed when browser cold start-up, such as, after performing the assignment of context of overall importance and the initialization of asynchronous task, namely ensure that browser starts rapidly, promptly give user with feedback, such as, to user framework interface presenting browser etc., simultaneously, time delay performs above-mentioned delayed tasks, initialized data need not be repeated when promptly performing this kind of thermal starting when showing the framework interface of browser to user, the tasks such as service that thermal starting need not be again turned on and the static data initialization of the overall situation, under the properly functioning premise ensureing browser, realize being greatly improved the technique effect of the cold start speed of browser.
Can be seen that, owing to initialization task when have employed application cold start-up is decomposed into instant task and delayed tasks, and perform instant task when applying cold start-up, and time delay performs the technical scheme of delayed tasks, by the decomposition to the initialization task being applied in Cold Start, ensure that can be properly functioning after application starts premise under, farthest improve toggle speed during application cold start-up, to user with good experience.
Embodiment two:
Embodiment two is the refinement on the basis of embodiment one, refer to the flow chart of the method that Fig. 2, Fig. 2 accelerate for the application cold start-up that the embodiment of the present invention provides, as in figure 2 it is shown, the method includes:
201: initialization task when being applied in cold start-up is decomposed into instant task and delayed tasks;
This step is consistent with step 101 process in embodiment one, just repeats no more at this.
202: perform instant task when applying cold start-up, including: when applying cold start-up, at least perform the assignment of context of overall importance and the initialization of asynchronous task;
In embodiment one, instant task can include the necessary initial operation not consuming time again such as the assignment of context of overall importance and the initialization of asynchronous task, so in the present embodiment, when browser cold start-up, namely the assignment of context of overall importance and the initialization the two step of asynchronous task can at least be performed, ensure the displaying of browser frames, certainly, by the introduction of the present embodiment, technical staff belonging to this area can also be actually needed other less operation of amount consuming time of addition, just repeats no more at this.
203: time delay performs delayed tasks, including: need not repeat initialized data time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation are encapsulated as a set of tasks, and by sub-line journey asynchronous execution set of tasks;
Specifically, in the present embodiment, it can be initialized task that browser is not needed when thermal starting, need not repeat initialized data time such as thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation are encapsulated as a set of tasks, and perform the task in step 202 at once after being completed by sub-line journey task in a step 101, it is to avoid waste of time.
203 also include: facility information task changed to and initialize when being called first;
Specifically, in the present embodiment, browser needs to use facility information, the screen size of such as smart mobile phone, screen resolution and unique identifier etc., of coursing can also the information such as channel number of browser, do not limit at this, it is not just optimize when browser cold start-up, but by the screen size of the channel number of this facility information task namely application and residing terminal, the initialization of screen resolution and unique identifier and assignment change to and initialize when being called first, so, the toggle speed of browser can either be ensured, turn avoid the regular traffic function affecting browser.
204: after initializing when facility information task being changed to and being called first, facility information task is generated a public document afterwards called, uses for other threads applied.
Owing to the facility information of browser may for other sub-line journey of application, so in the present embodiment, after initializing when facility information task being changed to and being called first, facility information task is generated a public document afterwards called, other threads for browser use, so, this kind of public data of facility information is made to be first invoked a public document of generation afterwards, facilitate other threads, it is ensured that browser other need use facility information function unaffected.
Can be seen that, in the present embodiment, owing to initialization task when have employed application cold start-up is decomposed into instant task and delayed tasks, and perform instant task when applying cold start-up, and time delay performs the technical scheme of delayed tasks, by the decomposition to the initialization task being applied in Cold Start, it is ensured that under premise that can be properly functioning after application starts, farthest improve toggle speed during application cold start-up, to user with good experience.
Embodiment three
For implementing the method in embodiment one or embodiment two, the present embodiment provides a kind of and applies the device that cold start-up is accelerated, and refer to the schematic diagram of the device that Fig. 3, Fig. 3 accelerate for the application cold start-up that the embodiment of the present invention provides, as it is shown on figure 3, this device includes:
Resolving cell 301, is decomposed into instant task and delayed tasks for initialization task during by application cold start-up, wherein, needs initialized task when instant task is for being applied in thermal starting, do not need initialized task when delayed tasks is for being applied in thermal starting;
Performance element 302, for performing instant task when applying cold start-up, and time delay performs delayed tasks.
Further, performance element 302 is specifically for when applying cold start-up, at least performing the assignment of context of overall importance and the initialization of asynchronous task.
Further, performance element 302 specifically for initialized data need not be repeated time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation be encapsulated as a set of tasks, and by sub-line journey asynchronous execution set of tasks, and facility information task is changed to initialization when being called first.
Further, performance element 302 specifically for the available judgement of the memory space of major general's correspondence local environment, share and unload feedback monitor initialization be encapsulated as set of tasks.
Further, performance element 302 more initializes when being called first specifically for the initialization and assignment including the channel number to application and the screen size of residing terminal, screen resolution and unique identifier to major general.
Further, performance element 302 is specifically additionally operable to called, facility information task is generated a public document afterwards, and other threads for application use.
The method that the device that application cold start-up in the present embodiment is accelerated accelerates with the application cold start-up in previous embodiment one or embodiment two is based on two aspects under same inventive concept, above the implementation process of method is being done detailed description, so those skilled in the art can according to the structure of the device being apparent from the present embodiment described above and implementation process, succinct for description, just repeats no more at this.
The device that the application cold start-up that the present embodiment provides is accelerated, owing to initialization task when have employed resolving cell by application cold start-up is decomposed into instant task and delayed tasks, wherein, initialized task is needed when instant task is for being applied in thermal starting, initialized task is not needed when delayed tasks is for being applied in thermal starting, and performance element performs instant task when applying cold start-up, and time delay performs the technical scheme of delayed tasks, by the decomposition to the initialization task being applied in Cold Start, ensure that application start after can be properly functioning premise under, farthest improve toggle speed during application cold start-up, to user with good experience.
One or more technical scheme in the embodiment of the present invention, at least has the following technical effect that or advantage:
Owing to initialization task when have employed application cold start-up is decomposed into instant task and delayed tasks, and perform instant task when applying cold start-up, and time delay performs the technical scheme of delayed tasks, by the decomposition to the initialization task being applied in Cold Start, ensure that application start after can be properly functioning premise under, farthest improve toggle speed during application cold start-up, to user with good experience.
The embodiment of the invention discloses:
A1, a kind of method applying cold start-up acceleration, it is characterised in that described method includes:
Initialization task when being applied in cold start-up is decomposed into instant task and delayed tasks, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Described instant task is performed when described application cold start-up; And
Time delay performs described delayed tasks.
A2, method according to A1, it is characterised in that described perform described instant task when described application cold start-up, including:
When described application cold start-up, at least perform the assignment of context of overall importance and the initialization of asynchronous task.
A3, method according to A1, it is characterised in that described time delay performs described delayed tasks, including:
Need not repeat initialized data time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation are encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution; And
Facility information task is changed to and initializes when being called first.
A4, method according to A3, it is characterised in that the described initialization by overall situation static data is encapsulated as a set of tasks, including:
To major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
A5, method according to A3, it is characterised in that described initialize when facility information task being changed to called first, including:
Initialization and the assignment more initialization when being called first of the channel number to described application and the screen size of residing terminal, screen resolution and unique identifier is included to major general.
A6, method according to A3, it is characterised in that described described facility information task changed to called first time initialize after, described method also includes:
Called, described facility information task is generated a public document afterwards, and other threads for described application use.
B7, a kind of device applying cold start-up acceleration, it is characterised in that described device includes:
Resolving cell, it is decomposed into instant task and delayed tasks for initialization task during by application cold start-up, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Performance element, for performing described instant task when described application cold start-up, and time delay performs described delayed tasks.
B8, device according to B7, it is characterised in that described performance element is specifically for when described application cold start-up, at least performing the assignment of context of overall importance and the initialization of asynchronous task.
B9, device according to B8, it is characterized in that, described performance element specifically for initialized data need not be repeated time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation be encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution, and facility information task is changed to initialization when being called first.
B10, device according to B9, it is characterised in that described performance element specifically for major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
B11, device according to B9, it is characterized in that, described performance element more initializes when being called first specifically for the initialization and assignment including the channel number to described application and the screen size of residing terminal, screen resolution and unique identifier to major general.
B12, device according to B9, it is characterised in that described performance element is specifically additionally operable to called, described facility information task is generated a public document afterwards, and other threads for described application use.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer. Various general-purpose systems can also with use based on together with this teaching. As described above, the structure constructed required by this kind of system is apparent from. Additionally, the present invention is also not for any certain programmed language. It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail. It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details. In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes. But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim. More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above. Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition. Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined. Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments. Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with their combination. It will be understood by those of skill in the art that the some or all functions of the some or all parts that microprocessor or digital signal processor (DSP) can be used in practice to realize in denomination of invention (as determined the device of website internal chaining grade) according to embodiments of the present invention. The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program). The program of such present invention of realization can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims. In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims. Word " comprises " and does not exclude the presence of the element or step not arranged in the claims. Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element. The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer. In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody. Word first, second and third use do not indicate that any order. Can be title by these word explanations.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art. So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. apply the method that cold start-up is accelerated for one kind, it is characterised in that described method includes:
Initialization task when being applied in cold start-up is decomposed into instant task and delayed tasks, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Described instant task is performed when described application cold start-up; And
Time delay performs described delayed tasks.
2. method according to claim 1, it is characterised in that described perform described instant task when described application cold start-up, including:
When described application cold start-up, at least perform the assignment of context of overall importance and the initialization of asynchronous task.
3. method according to claim 1, it is characterised in that described time delay performs described delayed tasks, including:
Need not repeat initialized data time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation are encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution; And
Facility information task is changed to and initializes when being called first.
4. method according to claim 3, it is characterised in that the described initialization by overall situation static data is encapsulated as a set of tasks, including:
To major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
5. method according to claim 3, it is characterised in that described facility information task being changed to initializes when being called first, including:
Initialization and the assignment more initialization when being called first of the channel number to described application and the screen size of residing terminal, screen resolution and unique identifier is included to major general.
6. method according to claim 3, it is characterised in that described described facility information task changed to called first time initialize after, described method also includes:
Called, described facility information task is generated a public document afterwards, and other threads for described application use.
7. apply the device that cold start-up is accelerated for one kind, it is characterised in that described device includes:
Resolving cell, it is decomposed into instant task and delayed tasks for initialization task during by application cold start-up, wherein, described instant task be described in need when being applied in thermal starting initialized task, described delayed tasks be described in need not initialized task when being applied in thermal starting;
Performance element, for performing described instant task when described application cold start-up, and time delay performs described delayed tasks.
8. device according to claim 7, it is characterised in that described performance element is specifically for when described application cold start-up, at least performing the assignment of context of overall importance and the initialization of asynchronous task.
9. device according to claim 8, it is characterized in that, described performance element specifically for initialized data need not be repeated time by thermal starting, service that thermal starting need not be again turned on and the static data initialization of the overall situation be encapsulated as a set of tasks, and by set of tasks described in sub-line journey asynchronous execution, and facility information task is changed to initialization when being called first.
10. device according to claim 9, it is characterised in that described performance element specifically for major general to the available judgement of the memory space of described application local environment, share and unload feedback and monitor initialization and be encapsulated as described set of tasks.
CN201510967013.0A 2015-12-21 2015-12-21 A kind of method and device that application cold start-up accelerates Active CN105630543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510967013.0A CN105630543B (en) 2015-12-21 2015-12-21 A kind of method and device that application cold start-up accelerates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510967013.0A CN105630543B (en) 2015-12-21 2015-12-21 A kind of method and device that application cold start-up accelerates

Publications (2)

Publication Number Publication Date
CN105630543A true CN105630543A (en) 2016-06-01
CN105630543B CN105630543B (en) 2019-03-05

Family

ID=56045524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510967013.0A Active CN105630543B (en) 2015-12-21 2015-12-21 A kind of method and device that application cold start-up accelerates

Country Status (1)

Country Link
CN (1) CN105630543B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445617A (en) * 2016-10-13 2017-02-22 武汉斗鱼网络科技有限公司 Android-based application program cold-start optimization method and Android-based application program cold-start optimization system
CN106951298A (en) * 2017-04-25 2017-07-14 广州优视网络科技有限公司 A kind of method and apparatus for lifting application toggle speed
CN107436786A (en) * 2017-07-28 2017-12-05 深圳Tcl新技术有限公司 Using starting guide method, apparatus and computer-readable recording medium
CN108958824A (en) * 2017-05-18 2018-12-07 龙芯中科技术有限公司 Starting method, apparatus, electronic equipment and the storage medium of application program
CN109582394A (en) * 2018-12-07 2019-04-05 武汉斗鱼鱼乐网络科技有限公司 A kind of application program launching method, device and storage medium
CN109669735A (en) * 2018-12-07 2019-04-23 武汉斗鱼鱼乐网络科技有限公司 Application starting method, apparatus and storage medium based on delay registration
CN109814930A (en) * 2018-12-27 2019-05-28 维沃移动通信有限公司 A kind of application loading method, device and mobile terminal
CN109918145A (en) * 2019-01-10 2019-06-21 北京字节跳动网络技术有限公司 A kind of accelerated method, the device, electronic equipment of application program cold start-up
CN110673887A (en) * 2019-08-15 2020-01-10 华为技术有限公司 Application program starting method and device, terminal equipment and readable storage medium
WO2020078314A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Method and apparatus for accelerating cold-starting of application, and terminal
CN111666200A (en) * 2019-03-08 2020-09-15 福建天泉教育科技有限公司 Testing method and terminal for time consumption of cold start of PC software
US10904361B2 (en) 2015-05-22 2021-01-26 Huawei Technologies Co., Ltd. Method, apparatus, and system for implementing JAVA application installation by means of cloud compilation
CN112506626A (en) * 2020-11-17 2021-03-16 华帝股份有限公司 Application program starting method, computer equipment and storage medium
CN112685149A (en) * 2020-12-18 2021-04-20 宝能(广州)汽车研究院有限公司 Starting method of android application, storage medium and electronic device
CN112711427A (en) * 2019-10-24 2021-04-27 华为技术有限公司 Method and device for acquiring mirror image file
CN113127132A (en) * 2021-05-10 2021-07-16 广州欢网科技有限责任公司 Method and system for quickly opening application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289380A (en) * 2010-06-21 2011-12-21 上海中标软件有限公司 firefox starting acceleration method
CN102707973A (en) * 2012-05-04 2012-10-03 惠州Tcl移动通信有限公司 Application program starting method based on Android system and system
CN102999343A (en) * 2012-11-29 2013-03-27 北京奇虎科技有限公司 Method and device for forbidding self-starting of startup project
CN104102506A (en) * 2014-04-25 2014-10-15 华南理工大学 ARM (Advanced RISC Machine) platform based Android startup acceleration method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289380A (en) * 2010-06-21 2011-12-21 上海中标软件有限公司 firefox starting acceleration method
CN102707973A (en) * 2012-05-04 2012-10-03 惠州Tcl移动通信有限公司 Application program starting method based on Android system and system
CN102999343A (en) * 2012-11-29 2013-03-27 北京奇虎科技有限公司 Method and device for forbidding self-starting of startup project
CN104102506A (en) * 2014-04-25 2014-10-15 华南理工大学 ARM (Advanced RISC Machine) platform based Android startup acceleration method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10904361B2 (en) 2015-05-22 2021-01-26 Huawei Technologies Co., Ltd. Method, apparatus, and system for implementing JAVA application installation by means of cloud compilation
CN106445617A (en) * 2016-10-13 2017-02-22 武汉斗鱼网络科技有限公司 Android-based application program cold-start optimization method and Android-based application program cold-start optimization system
CN106445617B (en) * 2016-10-13 2020-08-04 武汉斗鱼网络科技有限公司 Android-based application cold start optimization method and system
CN106951298A (en) * 2017-04-25 2017-07-14 广州优视网络科技有限公司 A kind of method and apparatus for lifting application toggle speed
CN108958824A (en) * 2017-05-18 2018-12-07 龙芯中科技术有限公司 Starting method, apparatus, electronic equipment and the storage medium of application program
CN107436786A (en) * 2017-07-28 2017-12-05 深圳Tcl新技术有限公司 Using starting guide method, apparatus and computer-readable recording medium
WO2020078314A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Method and apparatus for accelerating cold-starting of application, and terminal
CN111061516B (en) * 2018-10-15 2021-09-14 华为技术有限公司 Method and device for accelerating cold start of application and terminal
CN111061516A (en) * 2018-10-15 2020-04-24 华为技术有限公司 Method and device for accelerating cold start of application and terminal
CN109669735A (en) * 2018-12-07 2019-04-23 武汉斗鱼鱼乐网络科技有限公司 Application starting method, apparatus and storage medium based on delay registration
CN109582394B (en) * 2018-12-07 2021-11-26 武汉斗鱼鱼乐网络科技有限公司 Application program starting method and device and storage medium
CN109669735B (en) * 2018-12-07 2022-02-22 武汉斗鱼鱼乐网络科技有限公司 Application starting method and device based on delayed registration and storage medium
CN109582394A (en) * 2018-12-07 2019-04-05 武汉斗鱼鱼乐网络科技有限公司 A kind of application program launching method, device and storage medium
CN109814930A (en) * 2018-12-27 2019-05-28 维沃移动通信有限公司 A kind of application loading method, device and mobile terminal
CN109918145A (en) * 2019-01-10 2019-06-21 北京字节跳动网络技术有限公司 A kind of accelerated method, the device, electronic equipment of application program cold start-up
CN111666200A (en) * 2019-03-08 2020-09-15 福建天泉教育科技有限公司 Testing method and terminal for time consumption of cold start of PC software
WO2021027700A1 (en) * 2019-08-15 2021-02-18 华为技术有限公司 Application program starting method and apparatus, terminal device and readable storage medium
CN110673887A (en) * 2019-08-15 2020-01-10 华为技术有限公司 Application program starting method and device, terminal equipment and readable storage medium
CN112711427A (en) * 2019-10-24 2021-04-27 华为技术有限公司 Method and device for acquiring mirror image file
WO2021077916A1 (en) * 2019-10-24 2021-04-29 华为技术有限公司 Method and device for acquiring mirror image file
CN112506626A (en) * 2020-11-17 2021-03-16 华帝股份有限公司 Application program starting method, computer equipment and storage medium
CN112685149A (en) * 2020-12-18 2021-04-20 宝能(广州)汽车研究院有限公司 Starting method of android application, storage medium and electronic device
CN113127132A (en) * 2021-05-10 2021-07-16 广州欢网科技有限责任公司 Method and system for quickly opening application

Also Published As

Publication number Publication date
CN105630543B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN105630543A (en) Application cold start acceleration method and apparatus
CN109358936B (en) Information processing method, device, storage medium, electronic device and system
EP3816823A1 (en) Webpage rendering method, device, electronic apparatus and storage medium
CN109325195B (en) Rendering method and system for browser, computer device and computer storage medium
CN110442327B (en) Application program construction method, device and server
CN110750255B (en) Applet rendering method and device
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
US9372787B2 (en) System and method for automating testing
CN103699398A (en) Terminal equipment and starting control method thereof
CN104866293B (en) A kind of method and device to Android application extensions for Microsoft Internet Explorer & Microsoft Office
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
CN109933350B (en) Method and device for embedding codes in application and electronic equipment
CN103631664A (en) Inter-process communication method and device
CN112416458A (en) Preloading method and device based on ReactNative, computer equipment and storage medium
CN111338623A (en) Method, device, medium and electronic equipment for developing user interface
CN110597564A (en) Installation package construction and service component loading method, device and terminal equipment
CN111026439A (en) Application program compatibility method, device, equipment and computer storage medium
WO2017166448A1 (en) Kernel vulnerability repair method and device
CN104077151B (en) The method and electronic equipment of fast start network application
CN109902003B (en) Test script generation method and device
CN106557411B (en) Method and system for testing Hybrid application in Android system
CN111367799B (en) Method, device, medium and electronic equipment for locating source code breakdown position
CN110083355B (en) APP page processing method and device
CN104750553A (en) Application operating method and device
CN104572194B (en) A kind of module loading method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right