Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for dynamically loading JavaScript module

A technology of dynamic loading and loading modules, applied in the field of storage management, can solve problems such as failure to load, incomplete page loading, hindering page rendering, etc., to achieve the effect of increasing loading speed and improving user experience

Inactive Publication Date: 2017-11-07
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the page is divided into multiple modules, too many modules will cause problems that hinder page rendering
[0003] In order to solve the above problems, in the existing technology, browsers support JavaScript parallel download, that is to say, download all modules, but because the browser cannot guarantee the execution order of the download, when the loaded modules are ready to execute, some dependencies The module has not been downloaded yet, which causes the problem that the page is not fully loaded or even cannot be loaded when the page is rendered

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
  • Method and system for dynamically loading JavaScript module
  • Method and system for dynamically loading JavaScript module
  • Method and system for dynamically loading JavaScript module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0051] A method and system for dynamically loading JavaScript modules provided by the application for storage management software can be applied to the following hardware scenarios:

[0052] Please refer to figure 1 , figure 1 It is a schematic diagram of a hardware environment in which a method for dynamically loading a JavaScript module by storage ...

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 method for dynamically loading a JavaScript module through storage manage software. The method includes the steps of receiving a command for dynamically loading resources, loading the corresponding JavaScript module according to request information and binding a finished event; judging whether or not a dependency sub-module exists in the JavaScript module; if yes, loading the dependency sub-module and binding the finished event on the dependency sub-module; triggering the finished event when the JavaScript module and the dependency sub-module are loaded completely. The method for dynamically loading the JavaScript module accelerates loading of the JavaScript module, and meanwhile, ensures that all pages are loaded completely during rendering, so that user experience effects are improved. The invention also discloses a system for dynamically loading the JavaScript module through the storage management software, and the system has all the beneficial effects above.

Description

technical field [0001] The invention relates to the field of storage management, in particular to a method and system for dynamically loading JavaScript modules by storage management software. Background technique [0002] Storage management software can facilitate users and improve memory utilization. In storage management software, it is necessary to support the static content extraction and splicing function of each module of the page. That is to say, a page is composed of various modules on demand, and a request comes in. The management software will process these modules concurrently, and finally combine them into a complete page and return it to the client. However, if the page is divided into multiple modules, too many modules will cause problems that hinder page rendering. [0003] In order to solve the above problems, in the existing technology, browsers support JavaScript parallel download, that is to say, download all modules, but because the browser cannot guara...

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/44521G06F9/44578
Inventor 谢鹏
Owner ZHENGZHOU YUNHAI 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