Page loading method and device, electronic equipment and storage medium

A technology of page loading and electronic equipment, applied in the Internet field, can solve the problems of long time consumption of page loading, one more resource request, etc.

Inactive Publication Date: 2017-12-22
GUANGZHOU UC NETWORK TECH CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, currently only script tags are supported to introduce AnnieJs, the page will have one more resource request, and the page load will take a long time

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
  • Page loading method and device, electronic equipment and storage medium
  • Page loading method and device, electronic equipment and storage medium
  • Page loading method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0018] It should be noted that like numerals and let...

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

An embodiment of the invention provides a page loading method and device, electronic equipment and a storage medium, and relates to the technical field of internet. The page loading method and device are applied to resources obtained by a packaging tool, the resources comprise self-defined resource files, a preset AnnieJs main module is introduced into the resource files and comprises a plurality of secondary function modules, the AnnieJs main module is provided with a main interface, and each secondary function module is correspondingly provided with a respective calling interface. The method comprises the following steps: calling the resource files from a page to be displayed; calling the required target secondary function module for the page to be displayed in the secondary function modules by calling the main interface of the AnnieJs main module introduced into the resource files; and loading functions corresponding to the target secondary function module in the page to be displayed so as to reduce resource requests and optimize page loading performance by introducing the AnnieJs main module to the resource files called by the page to be displayed.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular, to a page loading method, device, electronic equipment and storage medium. Background technique [0002] AnnieJs is a 2d animation engine focusing on Html5 interaction. Webpack is a module loader and packaging tool. webpack introduces and packages AnnieJs into the final resource file to achieve page loading. However, currently only the script tag is supported to introduce AnnieJs, the page will have one more resource request, and the page load will take a long time. Contents of the invention [0003] In view of this, the purpose of the embodiments of the present invention is to provide a page loading method, device, electronic device and storage medium, so as to improve the above problems. In order to achieve the above object, the technical scheme that the present invention takes is as follows: [0004] In the first aspect, the embodiment of the present invention...

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): G06F17/30G06F9/445
CPCG06F9/44521G06F16/958
Inventor 徐闻东
Owner GUANGZHOU UC NETWORK 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