Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A hierarchical loading method and device based on a small program architecture

A hierarchical loading and small program technology, applied in the field of communication, can solve problems such as long time, achieve the effect of increasing loading speed, improving user experience, and reducing the duration of white screen

Inactive Publication Date: 2019-03-29
SHENZHEN DIANMAO TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above deficiencies in the prior art, the object of the present invention is to provide a hierarchical loading method and device based on the applet architecture, aiming to solve the problem of the long time required for the first loading of WeChat 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
  • A hierarchical loading method and device based on a small program architecture
  • A hierarchical loading method and device based on a small program architecture
  • A hierarchical loading method and device based on a small program architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0047] see figure 1 , figure 1 It is a flowchart of a preferred embodiment of a hierarchical loading method based on applet architecture in the present invention. Such as figure 1 As shown, it includes the steps:

[0048] Step S100, obtain all the routes of the applet, group them according to the route level, and store the grouped routes in the route set;

[0049] Step S200, obtaining individual routing information in the routing set, processing the routing according to the routing level, and storing data packets corresponding to differ...

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 a hierarchical loading method and device based on a small program architecture. The method comprises the following steps: obtaining all routes of the small program; performinggrouping according to the routing level; storing the grouped routes in a routing set; and storing the grouped routes in a routing set. Obtaining the single route information in the route set, processing the route according to the route level, and storing the data packets corresponding to different route levels in different root directories; Obtaining the original route, and jump to the processed route after processing the original route; If it is the first time to enter the applet, the packets corresponding to the processed routes are loaded in turn according to the routing level, and the packets are cached. The embodiment of the invention can divide the route into different levels according to the access priority, and put the different levels under different root directories according tothe loading mechanism of the applet, and only one data packet is loaded when the applet is loaded for the first time, thus greatly improving the loading speed and reducing the white screen time when the applet is first loaded.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a hierarchical loading method and device based on an applet architecture. Background technique [0002] WeChat Mini Program, referred to as Mini Program, or Mini Program in English, is an application that can be used without downloading and installing. It realizes the dream of an application that is "at your fingertips". Users can open the application by scanning or searching. After the application is fully open, developers who are enterprises, governments, media, other organizations or individuals can apply for registration of Mini Programs. Small programs, subscription accounts, service accounts, and enterprise accounts are parallel systems. [0003] Existing educational applications also have corresponding WeChat mini-programs, but although the existing WeChat mini-programs do not need to download the app, all the codes need to be loaded for the first entry. N...

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/44578
Inventor 孙悦李天驰李涛
Owner SHENZHEN DIANMAO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products