Applet starting control method and device

A technology for small programs and programs, applied in the computer field, can solve problems such as slow startup of small programs, and achieve the effect of avoiding waiting problems and improving startup speed.

Pending Publication Date: 2022-02-25
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a method and device for controlling the startup of applets, which can at least solve the problem of too slow startup of applets in the prior art

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 control method and device
  • Applet starting control method and device
  • Applet starting control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] The terms involved in this plan are explained as follows:

[0041] App (full name: Application) refers to an executable application program, and in this article refers to an application program that can run on a smartphone, computer, etc.

[0042] Broadcast (full name: BroadcastReceiver): One of the four major components of Android, configured in the Android manife...

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 control method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: after an application is normally started, sending a broadcast event to a first broadcast so as to start a first applet process corresponding to the first broadcast; in response to a starting operation on one applet, loading one applet by using a first applet process; and when an operation home page of an applet is displayed in the application, sending a broadcast event to a second broadcast located behind the first broadcast so as to start a second applet process corresponding to the second broadcast. According to the implementation mode, the Android platform broadcast technology is used for preloading the process, after a host App is started, the broadcast event is sent to prepare the applet process in advance, and when the applet is started, the preloaded applet process is directly used for loading, so that waiting time consumption for starting an empty process is avoided, and the applet starting speed is greatly increased.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a small program start-up control method and device. Background technique [0002] Small programs are a new species that has emerged in recent years. It is a hybrid application that integrates technologies such as front-end H5, native Android, and iOS, and enables a set of programs to run seamlessly on two platforms. On the Android platform, each applet is an independent process. An independent process means that it can monopolize the memory and reduce the memory pressure of the main process (host, such as WeChat App). For example: the upper limit of each process is 100MB, when an Android applet is opened, it is equivalent to 100MB more memory available for use, and does not occupy the memory of the main process. [0003] On the Android platform, it is allowed to open multiple applets, which means multiple processes, but starting a process requires a price, even if the ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/54
CPCG06F9/44505G06F9/542
Inventor 赵宇陈泓屹张磊李海峰
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO 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