Check patentability & draft patents in minutes with Patsnap Eureka AI!

Applet loading method and device, storage medium and program product

A technology for small programs and terminal equipment, which is applied in the computer field and can solve the problems of exceeding the limit of the sub-package size of small programs.

Active Publication Date: 2021-12-28
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a small program loading method, device, storage medium and program product to solve the problem that the small program subpackage size exceeds the limit

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 loading method and device, storage medium and program product
  • Applet loading method and device, storage medium and program product
  • Applet loading method and device, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0039] In multi-terminal applet applications, program code packages are often divided into main packages and subpackages. Starting from the product positioning and user experience of the applet, each mini program platform limits the size of the main package and subpackage of the mini program application. For example, the size of the main package of the WeChat mini program is limited to 2...

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 an applet loading method and device, a storage medium and a program product, and the method comprises the steps: obtaining subpackage code data corresponding to at least one page of an applet from a server, and persisting the subpackage code data corresponding to the at least one page into a cache; and in response to an instruction of entering any target page in the at least one page, obtaining a target subpackage data code corresponding to the target page from the cache, and carrying out code loading on the target subpackage code data. According to the embodiment of the invention, the applet does not need to be loaded in a subpackage form, compiling and execution are dynamically carried out by requesting the subpackage code data, the subpackage size is not limited by an applet platform, and the influence on applet release and the influence on user experience due to the fact that the subpackage size exceeds the limit are avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, storage medium, and program product for loading a small program. Background technique [0002] In multi-terminal applet applications, program code packages are often divided into main packages and subpackages. Starting from the product positioning and user experience of the applet, each mini program platform limits the size of the main package and subpackage of the mini program application. For example, the size of the main package of the WeChat mini program is limited to 2M, and the size of the subpackage is limited to 8M. [0003] With the iteration of application requirements, the size of the program code is getting larger and larger, and the small program application after the program code is built and packaged is also getting larger and larger. As a result, the package size exceeds the package size limit of the Mini Progr...

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/445
CPCG06F9/44521
Inventor 张俊峰王明鑫李松杜广东
Owner BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More