Method and device for loading webpage

A web page and style technology, applied in the field of computer networks, can solve the problems of cumbersome HTML element description process, low CSS style efficiency, etc., to achieve the effect of improving web page loading speed, improving generation efficiency, and being easy to define

Inactive Publication Date: 2014-11-05
XIAOMI INC
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a method and device for loading a webpage, so as to solve the problem in the re

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 loading webpage
  • Method and device for loading webpage
  • Method and device for loading webpage

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0064] The exemplary embodiments will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. Rather, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0065] The terms used in the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. The singular forms "a", "said" and "the" used in the present disclosure and appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood th...

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 relates to a method and a device for loading a webpage. The method comprises the following steps that: a predefined script style file is obtained; CSS (Cascading Style Sheets) styles are automatically generated according to the script style file; and HTML (Hyper Text Markup Language) elements in the located webpage are described through the CSS styles. Different styles can be compiled through adopting the script style file defined by few script language codes, so the generating efficiency of the CSS styles can be improved; the description complexity on the HTML elements during the webpage loading by a browser is correspondingly reduced; and the webpage loading speed is accelerated.

Description

Technical field [0001] The present disclosure relates to the field of computer network technology, and in particular to methods and devices for loading web pages. Background technique [0002] The browser displays the files in the web server or file system, including text, images, video images, etc., to realize the interaction between the user and these files. The above-mentioned file format is usually an HTML (Hyper Text Markup Language) file. The process of loading a webpage by a browser is actually the process of loading an HTML file. The HTML file is composed of several nested HTML elements. Each HTML element It can be described by several (Cascading Style Sheets, cascading style sheets) styles. [0003] In related technologies, CSS styles are usually written in CSS language. CSS styles can include fonts, colors, spacing, etc., in order to describe different attributes of HTML elements through CSS styles. However, because CSS language is a low-level language, it does not suppo...

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
CPCG06F16/9574
Inventor 江岱霖潘俊任远
Owner XIAOMI INC
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