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

Webpage presenting method and device based on HTML5 (Hypertext Markup Language 5) protocol

A web page display and protocol technology, applied in the field of information display, can solve the problems of unable to realize the web page display and reduce the HTML5 protocol, and achieve the effect of improving the performance of web page display and improving the efficiency of display

Active Publication Date: 2013-03-06
LAYABOX NETWORK TECH BEIJING CO LTD
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the reduction of plug-in requirements of the HTML5 protocol, under the existing technical framework, if the current browsers (such as IE6.0-8.0, Sogou, Firefox, Chrome, etc.) do not have additional plug-in programs or do not perform necessary After the upgrade, it will not be possible to display web pages based on the HTML5 protocol

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
  • Webpage presenting method and device based on HTML5 (Hypertext Markup Language 5) protocol
  • Webpage presenting method and device based on HTML5 (Hypertext Markup Language 5) protocol
  • Webpage presenting method and device based on HTML5 (Hypertext Markup Language 5) protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] The process of displaying a webpage includes a series of closely connected operations, such as downloading of webpage resources, parsing and rendering of webpage resources, and so on. There are differences in the parsing process of webpage resources based on different protocol standards. It is precisely because of this difference that many browsers cannot support webpage resources based on the HTML5 protocol. The usual way to solve this problem in the prior art is to use external plug-ins Programs or through special upgrade packages to achieve upgrades, and these practices are contrary to the purpose of the HTML5 protocol to reduce the use of plug-ins. This application completes the parsing process through the Javascript language that comes with the browser, thereby better solving the above-mentioned problems.

[0064] see figure 1 , which shows the flow of the method for presenting a web page based on the HTML5 protocol in the embodiment of the present application. T...

Embodiment 2

[0073] The above-mentioned embodiment realizes the support of the web page based on the HTML5 protocol by using the Javascript language as the parsing language. In the actual application process, the analysis of webpage resources using Javascript language as the analysis language includes multiple implementation methods, and the application preferably completes the analysis process according to the following embodiments. see figure 2 , which shows the flow of the method for presenting a web page based on the HTML5 protocol in Embodiment 2 of the present application. This example includes:

[0074] Step S201: Obtain webpage resources based on the HTML5 protocol;

[0075] Step S202: Perform lexical analysis on the web resource in Javascript language to obtain HTML tags;

[0076] The obtained web page resources usually exist in the form of HTML code files. To display the web pages, it is necessary to first identify HTML5 tags from the HTML code files, so as to use the tags to...

Embodiment 3

[0089] The foregoing embodiments have introduced in detail the parsing process of the page resource in this application. After parsing the page resource, what specific rendering method should be used to render the DOM tree display structure generated by the parsing, or how to improve the rendering efficiency before rendering? The preprocessing measures of the present application are not limited in this embodiment, which does not affect the realization of the invention object of the present application. However, in the actual application process, the present application can also implement corresponding operations based on the Javascript language, so as to improve the personalization and efficiency of rendering and presentation. These operations include processes such as style control, typesetting, and text drawing. The following describes the specific process of implementing these operations based on Javascript in turn.

[0090] For style control: style control is used to defin...

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 embodiment of the invention discloses a webpage presenting method based on an HTML5 (Hypertext Markup Language 5) protocol. The method comprises the steps of: obtaining a webpage resource based on the HTML5 protocol; parsing the webpage resource by Javascript language to generate a DOM (Document Object Model) object node; and representing the webpage after rendering a DOM object. The embodiment of the invention further discloses a webpage presenting device based on the HTML5 protocol. According to the method and the device provided by the invention, support to the HTML5 protocol can be realized without external plug-in programs, so that operations such as plug-in installation or function update are avoided, and the representing efficiency of the webpage based on the HTML5 protocol is improved.

Description

technical field [0001] The present application relates to the technical field of information display, in particular to a method for displaying a web page based on the HTML5 protocol and a corresponding device. Background technique [0002] HTML5 (Hypertext Markup Language 5rd, the fifth edition of the Hypertext Markup Language standard, also known as the HTML standard version) is a new HTML protocol standard used to replace the HTML 4.01 and XHTML 1.0 protocols formulated in 1999. Compared with the previous version, the HTML5 protocol has two outstanding features: one is to strengthen the performance of Web pages; the other is to increase the functions of Web applications such as local databases, the purpose of which is to reduce the browser's need for rich network application services based on plug-ins. (plug-in-based rich internet application, RIA, such as Adobe Flash, Microsoft Silverlight, Oracle JavaFX, etc.), providing more standard sets for effectively enhancing netwo...

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/9577G06F16/986
Inventor 谢成鸿
Owner LAYABOX NETWORK TECH BEIJING CO LTD
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