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

Method and device for reducing web browser load

A web browser and browser technology, applied in the field of network information, can solve problems such as high network overhead and web browser load, and achieve the effect of reducing bandwidth and traffic

Active Publication Date: 2013-09-04
TIANJIN TIANAN YIHE INFORMATION TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In such a website that uses a lot of JavaScript frameworks and UI components, each The required JavaScript fram

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 device for reducing web browser load
  • Method and device for reducing web browser load
  • Method and device for reducing web browser load

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] 101: On the main page or first The loaded tag loads the first JavaScript frame and UI components at one time;

[0051] is the main page or the first loaded tag All used or commonly used JavaScript frameworks and UI components are uniformly loaded on the page, such as Jquery and JQuery UI, and other commonly used or basic frameworks and components can also be used, which is not limited in the embodiment of the present invention.

[0052] Among them, the tag element can be used as a document in a document, or a floating frame, this tag is well known to those skilled in the art, and the implementation of the present invention The example does not repeat this.

[0053] 102: Declare the factory method responsible for tag generation, generate the second tag through the factory method, and listen to the second tag The (onload) event of loading the page in the middle;

[0054] declares the factory for constructing the tag in the main page or the first loaded tag Method, all pl...

Embodiment 2

[0072]201: On the main page or the first loaded tag at one time;

[0073] means unified in the main page or the first loaded tag page Load all used or commonly used JavaScript frameworks and UI components, such as Jquery and JQuery UI, and other commonly used or basic frameworks and components, which are not limited in this embodiment of the present invention.

[0074] Among them, the tag element can be used as a document in a document, or a floating frame, this tag is well known to those skilled in the art, and the implementation of the present invention The example does not repeat this.

[0075] 202: Declare the factory method responsible for tag generation, generate the second tag through the factory method, and listen to the second tag The (onload) event of loading the page in the middle;

[0076] declares the factory for constructing the tag in the main page or the first loaded tag Method, all places in the website that need to build tags call the factory method to build...

Embodiment 3

[0091]301: On the main page or the first loaded tag at one time;

[0092] means unified in the main page or the first loaded tag page Load all used or commonly used JavaScript frameworks and UI components, such as Jquery and JQuery UI, and other commonly used or basic frameworks and components, which are not limited in this embodiment of the present invention.

[0093] Among them, the tag element can be used as a document in a document, or a floating frame, this tag is well known to those skilled in the art, and the implementation of the present invention The example does not repeat this.

[0094] 302: Declare the factory method responsible for tag generation, generate the second tag through the factory method, and listen to the second tag The (onload) event of loading the page in the middle;

[0095] declares the factory for constructing the tag in the main page or the first loaded tag Method, all places in the website that need to build tags call the factory method to build...

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 and a device for reducing web browser load. The method includes: loading a first frame and a UI (user interface) component in a main page or an earliest loaded tag once; generating a second tag by a factory method, and monitoring events completed in the loaded page in the second tag; when the preset frame and the UI component are not loaded in the second tag, establishing a shallow clone object matching with the preset frame and the UI component; injecting the shallow clone object into the page of the second tag to acquire a third tag, and correcting a page of the third tag; and calling back the corrected loaded page of the third tag to generate the page in a browser. The method has the advantages that bandwidth and traffic of the loading-required frame and the UI component when a tag loaded page iframe is newly established or the page is refreshed are reduced; and memory usage of the objects is reduced so that load of the web browser in loading javascripts and displaying front-end dynamic effect is reduced.

Description

technical field [0001] The invention belongs to the field of network information, and relates to a web browser as the main object, which is dedicated to reducing the bandwidth and traffic consumed by the website, and reducing the load of the web browser when loading JavaScript scripts and presenting front-end dynamic effects, and particularly relates to a web browser that reduces A method and device for loading a load by a web browser. Background technique [0002] With the popularity of the Internet and the needs of user experience, the first consideration of more and more websites in the process of building a website is to provide more interactive dynamic effects while satisfying the compatibility of most web browsers; There are various types of browsers, complex versions, and devices carrying browsers are constantly updated, making it even more difficult to ensure browser compatibility. [0003] There are many technologies for realizing dynamic interactive effects of web...

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): G06F17/30
Inventor 安然张锴
Owner TIANJIN TIANAN YIHE INFORMATION TECH
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