Unlock instant, AI-driven research and patent intelligence for your innovation.

Applet starting method and device, equipment and storage medium

A small program, cold start technology, applied in the computer field, can solve the problem of slow cold start of small programs, and achieve the effect of improving the speed of cold start

Pending Publication Date: 2021-11-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are some host programs installed on shared devices. Due to the complex network environment where such shared devices are located, the cold start of the applet is slow

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
  • Applet starting method and device, equipment and storage medium
  • Applet starting method and device, equipment and storage medium
  • Applet starting method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0059]For the convenience of understanding, the nouns involved in the embodiments of the present application are introduced below:

[0060] Mini-program: Mini-program is an application program developed based on a programming language and dependent on the host program to run. It is an application form between traditional web pages and traditional applications. Run the applet in the host program.

[0061] Host program: In the computer environment, the software environment on which the software depends is called the host environment, and the environment is called the host. The host program in the embodiment of the present application is an application program used to provide an operating environment for the applet. The host appli...

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 invention discloses an applet starting method and device, equipment and a storage medium, and relates to the field of computers. The method comprises the following steps: determining candidate applets to be started in a host program; when the host program is in a running state, pre-caching applet data of the candidate applet, the applet data being data to be loaded in an applet cold start stage; receiving an applet starting instruction, wherein the applet starting instruction is used for indicating to start a target applet; in response to the fact that the target applet belongs to the candidate applet, loading target applet data corresponding to the target applet; and performing cold start on the target applet according to the target applet data. By adopting the method provided by the embodiment of the invention, the target equipment can directly load the pre-cached applet data and perform cold start on the target applet, real-time downloading through a network is not needed, the problems of too long data downloading time and too slow applet cold start speed caused by a complex network environment are avoided, and the cold start speed of the applet in the host program can be improved.

Description

technical field [0001] The present application relates to the field of computers, and in particular to a method, device, equipment and storage medium for starting an applet. Background technique [0002] An applet is a program that depends on a host program to run. Users only need to install the host program, and can add and use various small programs in the host program at any time. [0003] The startup process of the applet can be divided into cold startup and hot startup. In related technologies, when an instruction to start an applet in the host program is received, and the applet needs to be cold-started, the host program needs to download data such as attributes and code packages related to the applet through a network request, and complete the data loading Then execute the cold start process. [0004] For host programs such as instant messaging applications, since such host programs are usually installed in mobile terminals, and mobile terminals have good network s...

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/445
CPCG06F9/44505
Inventor 何睿毅王少鸣郭润增
Owner TENCENT TECH (SHENZHEN) CO LTD