Cold start method and device, electronic equipment and computer storage medium

A technology for cold booting and installing files, applied in the computer field, can solve the problems of long cold boot time, time-consuming, affecting user experience, etc., and achieve the effect of improving running performance, improving user experience, and shortening cold boot time.

Active Publication Date: 2020-07-31
ALIBABA GRP HLDG LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the kernel of many browsers is a super component, it takes a lot of time to perform the above initialization process, whic

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cold start method and device, electronic equipment and computer storage medium
  • Cold start method and device, electronic equipment and computer storage medium
  • Cold start method and device, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] refer to figure 1 , shows a flowchart of steps of a cold start method according to Embodiment 1 of the present invention.

[0023] The cold start method of the present embodiment includes the following steps:

[0024] Step S102: Receive an application cold start instruction triggered by an application version upgrade.

[0025] Most applications usually trigger a cold start operation when the version is upgraded, so as to complete the version upgrade and the running of the upgraded version through the cold start.

[0026] Wherein, the instruction to trigger the cold start operation may be any appropriate instruction, that is, in the embodiment of the present invention, the application cold start instruction may be any appropriate instruction for instructing to perform the application cold start.

[0027] Step S104: Obtain the first initialization task data in the current running version of the application and the second initialization task data in the installation file...

Embodiment 2

[0038] refer to figure 2 , shows a flowchart of steps of a cold start method according to Embodiment 2 of the present invention.

[0039] The cold start method of the present embodiment includes the following steps:

[0040] Step S202: Download the installation file for upgrading the version of the application.

[0041] In this embodiment, it is taken as an example that the initialization task does not include downloading the installation file APK. Then, when upgrading the version of the application, it is usually necessary to download the installation file of the new version from the corresponding server first. For many applications, after the installation file is downloaded, a cold start of the application may be triggered to realize or complete the version upgrade of the application.

[0042] Step S204: Receive an application cold start instruction triggered by an application version upgrade.

[0043] Wherein, the application cold start instruction may be any appropria...

Embodiment 3

[0062] refer to image 3 , shows a flowchart of steps of a cold start method according to Embodiment 3 of the present invention.

[0063] In this embodiment, the version upgrade of the browser based on the Android system is taken as an example to describe the cold start method provided by the embodiment of the present invention.

[0064] The cold start method of the present embodiment includes the following steps:

[0065] Step S302: An application cold start instruction is received.

[0066] In this embodiment, the triggering cause of the application cold start command is not distinguished. The application cold start command may be a cold start command triggered by a browser version upgrade, or a cold start command triggered by other reasons, for example, an electronic Cold start command triggered by device restart.

[0067] Step S304: Check whether the browser kernel in the browser installation file of the new version has been decompressed; if not, execute step S306; if d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a cold start method and device, electronic equipment and a computer storage medium, wherein the cold start method comprises the steps: receiving an applicationcold start instruction triggered by the version upgrading of an application; according to the instruction, obtaining first initialization task data in a current running version of the application andsecond initialization task data in an installation file for version upgrading; and performing cold start of the application by using the first initialization task data, and after the cold start succeeds, continuing to perform initialization of the application by using the second initialization task data. Through the embodiment of the invention, the cold start time of the application during installation and upgrading is greatly shortened, the running performance of the application during version upgrading is improved, and the use experience of a user is also effectively improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of computers, and in particular, to a cold start method, device, electronic equipment, and computer storage medium. Background technique [0002] Application cold start means that when the application is started, there is no process of the application in the background of the operating system. At this time, the operating system will re-create a new process and assign it to the application, initialize the application, and start the application. [0003] With the continuous improvement and improvement of various application functions, the data part involved in initialization in many applications is getting larger and larger, which leads to a long initialization time when the application is cold started. But at the same time, various applications often need to be installed and upgraded. After the installation and upgrade, the upgraded new version can only be used after a cold restart, whic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445G06F8/65
CPCG06F9/44505G06F8/65Y02D10/00
Inventor 胡安进
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products