Webpage printing method based on analysis plug-in, server and storage medium

A technology for parsing plug-ins and servers, which is applied in the field of data processing and can solve problems such as browser crashes and affecting web page data printing

Pending Publication Date: 2020-02-25
王前
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a web page printing method, server, and storage medium based on an analysis plug-in, aiming to solve how to avoid browser crashes caused by exceeding the maximum load capacity of the browser when a large amount of web page data needs to be printed at the same time , a problem that occurs in a situation that affects the printing of web page data

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 printing method based on analysis plug-in, server and storage medium
  • Webpage printing method based on analysis plug-in, server and storage medium
  • Webpage printing method based on analysis plug-in, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical embodiment and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043]It should be noted that the descriptions involving "first", "second", etc. in the present invention are only for descriptive purposes, and should not be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features . Thus, the features defined as "first" and "second" may explicitly or implicitly include at least o...

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 webpage printing method based on an analysis plug-in. The method is applied to a server. The method comprises the steps of receiving first to-be-printed area data including ahypertext marking text and a webpage style file, calling an html parsing engine in the parsing plug-in to parse and convert the label data in the hypertext markup text into dom nodes; constructing adom tree according to the dom nodes; calling a css parser to parse the webpage style file to obtain a style rule; and constructing a render tree based on the dom tree and the style rule, constructinga virtual drawing context based on the constructed render tree, generating vector image data from the virtual drawing context, converting the vector image data into a to-be-printed image file, and sending the to-be-printed image file to a printing terminal for webpage printing. According to the method, the compatibility problem caused by non-uniform kernel or internal version of the browser of theuser is avoided, and the situation that the browser crashes due to the fact that the maximum bearing capacity of the browser is exceeded when a large amount of webpage data needs to be printed at thesame time can also be avoided.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a web page printing method based on an analysis plug-in, a server and a storage medium. Background technique [0002] With the continuous development of network technology, data storage and management on the network has become a daily choice for people, and webpage printing is one of the many methods to obtain data from the webpage. [0003] At present, most webpage printing methods use the html parsing engine of the browser itself to analyze the html data of the webpage data to be printed, and generate a format file supported by the printer to complete the printing of the webpage data to be printed. However, when a large amount of webpage data needs to be printed at the same time, the browser will crash due to exceeding the maximum load capacity of the browser, which will affect the printing of webpage data, and there is room for improvement. Contents of the invention ...

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): G06F3/12
CPCG06F3/1287G06F3/1275G06F3/1203
Inventor 王前
Owner 王前
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