Method and device for rendering webpage of mobile explorer

A technology for mobile browsers and web pages, used in instruments, special data processing applications, electrical digital data processing, etc., can solve problems such as reduced user operation efficiency and slow page view rendering speed.

Active Publication Date: 2017-05-31
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method and device for rendering a web page by a mobile browser, which is used to solve the problem that the rendering speed of the page view is too slow in the prior art when the mobile browser loads the page for the first time. , a technical problem that reduces the efficiency of user operations

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 rendering webpage of mobile explorer
  • Method and device for rendering webpage of mobile explorer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] This embodiment provides a method for rendering a webpage, which is applied to a mobile browser, and the mobile browser refers to a browser on a mobile terminal device, such as a terminal device such as a smart phone or a PAD; the method includes the following step:

[0042] S101. Receive a trigger signal, send first request information to a website server according to the trigger signal, and receive a js file returned by the website server based on the first request information.

[0043] In this step, when the user needs to load a certain webpage on the mobile browser, a trigger signal needs to be sent to the mobile browser. The server sends the first request information, and when the website server receives the first request information, in order to reduce time consumption and improve loading speed, the website server will return a very concise HTML content, which only includes a js file, The js file is generally represented by Loder, and its data format is JSON data...

Embodiment 2

[0059] Corresponding to Embodiment 1, this embodiment provides an apparatus for rendering a web page by a mobile browser, such as figure 2 As shown, the device includes: a receiving unit 21, a sending unit 22, an extracting unit 23, a rendering unit 24, a judging unit 25, a storage unit 26 and an updating unit 27; wherein,

[0060] The receiving unit 21 is used to receive a trigger signal, and the trigger signal is generally a website input by the user. After the receiving unit 21 receives the trigger signal, the sending unit 22 is used to send the trigger signal to the website server according to the trigger signal. The first request information, when the website server receives the first request information, in order to reduce time consumption and improve loading speed, the website server will return a very concise HTML content, which only contains a js file, the said The js file is generally represented by Loder, and its data format is JSON data format.

[0061] After rec...

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 provides a method and device for rendering a webpage of a mobile explorer. The method comprises the following steps: receiving a trigger signal used for opening the current webpage, sending a first request message to a web server according to the trigger signal; receiving a js file returned by the web server according to the first request message; using the js file to extract an HTML content from a local cache when the HTML content of various function modules of the current webpage exists in the local cache; rendering according to the HTML content to acquire a view of the current webpage. Therefore, when the mobile explorer requests the web server to acquire the HTML content according to the trigger signal, the HTML content returned by the web server only comprises one js file, the js file is used to extract the HTML content of the various function modules of the current webpage from the local cache if the HTML content is stored in the local cache, then no excessive contents are requested from the web server at one time, the transmission time and the analysis time are shortened, and the page rendering and loading speeds are accelerated.

Description

technical field [0001] The invention belongs to the technical field of terminal equipment, and in particular relates to a method and a device for rendering a web page by a browser. Background technique [0002] Mobile browsers, also called microbrowsers, mini browsers or wireless Internet browsers, are web browsers for mobile terminal devices. [0003] The efficiency of loading website pages by mobile browsers is related to the configuration of mobile devices, but compared with computers, mobile terminal devices generally have lower configurations. However, the pages of most current mobile browser websites carry a lot of functional logic, resulting in too much content on the page. When the page is loaded for the first time, the rendering speed of the webpage is too slow, resulting in low user operation efficiency. Contents of the invention [0004] Aiming at the problems existing in the prior art, the embodiment of the present invention provides a method and device for re...

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/30
CPCG06F16/9574
Inventor 杜伟
Owner WUHAN DOUYU 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