Client equipment, single-page application-based webpage rendering method and storage medium

A client device and single-page application technology, which is applied in the computer field, can solve the problems of large client network traffic consumption and slow display speed on the first screen of the webpage, and achieve the effects of improving display speed, small data volume, and reducing traffic consumption

Pending Publication Date: 2018-11-23
KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a client device, a webpage rendering method based on a single-page application, and a storage medium, aiming at solving the problems of slow display speed of the first screen of a webpage of a single-page application and large consumption of client network traffic

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
  • Client equipment, single-page application-based webpage rendering method and storage medium
  • Client equipment, single-page application-based webpage rendering method and storage medium
  • Client equipment, single-page application-based webpage rendering method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0049] The invention proposes a webpage rendering program based on single-page application.

[0050] see figure 1 , is a schematic diagram of the operating environment of the first, second, and third embodiments of the single-page application-based web page rendering program 10 of the present invention.

[0051] In this embodiment, the single-page application-based webpage rendering program 10 is installed and runs on the client device 1 . The client device 1 may be a desktop computer, a notebook, a palmtop computer, a mobile phone, a game console, and the like. The client device 1 may include, but not limited to, a memory 11 , a processor 12 and a display 13 . figure 1 Only the client device 1 is shown with comp...

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 client equipment, a single-page application-based webpage rendering method and a storage medium. The method comprises the following steps of: obtaining first screen resource data by a client; generating a first screen content source code according to the first-screen resource data; and carrying out page rendering according to the first screen content source code so as to obtain a webpage first screen. Compared with the prior art, the method is capable of improving the webpage first screen display speed and reducing the client traffic consumption.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a client device, a method for rendering a webpage based on a single-page application, and a storage medium. Background technique [0002] A single-page application (SPA, Single-Page Application) is a Web (World Wide Web, World Wide Web) application that runs on a client device and adapts to a single web page. When a single-page application loads a page, it will load the necessary content source code (HTML, Hyper Text Markup Language, Hyper Text Markup Language), style source code (Cascading Style Sheets, CSS) and interactive logic source code (JavaScript), all operations It's all done on the page. [0003] The first screen refers to the content of the first screen that appears on the display screen after opening the website, and there are two screens, three screens, etc. connected downwards. The opening speed of the first screen of a web page is a key indicator for ev...

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
Inventor 孙路
Owner KANG JIAN INFORMATION TECH (SHENZHEN) 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