Unlock instant, AI-driven research and patent intelligence for your innovation.

Page display method and device, electronic equipment and storage medium

A technology of electronic equipment and display devices, applied in the computer field, can solve the problem of low efficiency of page display and achieve the effect of improving efficiency

Pending Publication Date: 2020-06-16
AEROSPACE INFORMATION
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a page display method, device, electronic equipment, and storage medium to solve the problem of low page display efficiency in the prior art

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
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium
  • Page display method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 It is a schematic diagram of the page presentation process provided by the embodiment of the present invention, and the process includes the following steps:

[0034] S101: Intercept a page access request, and acquire a first HTML page according to address information included in the page access request.

[0035] In web development, there are various ways to write the front page such as JSP, HTML, FreeMarker, etc. However, these solutions have some disadvantages in web development.

[0036] In the JSP development method, a large number of existing business logic codes will be written in the page during the development process, making the content of the page messy, and it becomes very difficult in the later modification and maintenance process. When a JSP page is executed, it is first converted into a java file (Servlet) and then compiled into a bytecode file, so that the error message actually points to the converted java file (Servlet), not the JSP itself, s...

Embodiment 2

[0053] In order to be able to display the page, on the basis of the above embodiments, in the embodiment of the present invention, the HTML parser can be Jsoup, if the HTML parser is Jsoup, the HTML parser is used to perform the first HTML page Analyzing, obtaining the first page information of the first HTML page includes:

[0054] Using the application program interface API of Jsoup, the first page information of the first HTML page is parsed into a Jsoup object.

[0055] In the embodiment of the present invention, the HTML parser may be Jsoup, which is a Java HTML parser that can directly parse a certain URL address and HTML text content. It provides a set of very labor-saving API, which can fetch and manipulate data through DOM, CSS and operation methods similar to JQuery.

[0056] In order to obtain the first page information of the first HTML page, in the embodiment of the present invention, an HTML parser is used to parse the first HTML page to obtain the first page in...

Embodiment 3

[0075] figure 2 A structural schematic diagram of a page display device provided by an embodiment of the present invention, the device includes:

[0076] The interception module 201 is configured to intercept the page access request, and obtain the first HTML page according to the address information contained in the page access request;

[0077] The analysis module 202 is configured to use an HTML parser to analyze the first HTML page, and obtain the first page information of the first HTML page;

[0078] A modification module 203, configured to modify the first page information according to the received modification instruction to obtain the second page information;

[0079] The display module 204 is configured to use the HTML parser to convert the second page information into a second HTML page and display it.

[0080] Further, the parsing module 202 is specifically configured to use Jsoup application program interface API to parse the first page information of the first...

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 page display method and device, electronic equipment and a storage medium, which are used for solving the problem of low page display efficiency in the prior art, and the method comprises the following steps: intercepting a page access request, and obtaining a first HTML page according to address information contained in the page access request; analyzing the first HTML page by adopting an HTML analyzer to obtain first page information of the first HTML page; modifying the first page information according to a received modification instruction to obtain second page information; and adopting the HTML parser to convert the second page information into a second HTML page and display the second HTML page, so that dynamic page display is realized, and the page displayefficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a page display method, device, electronic equipment and storage medium. Background technique [0002] In the prior art, when using HTML (Hypertext Markup Language) for page development, in order to realize page dynamics, it is necessary to add js in the foreground to obtain data in the background, and after the data is returned to the foreground, the page is dynamically operated through js Page display, which will reduce the efficiency of page display, and errors are prone to occur in the process of data transmission between the front and back, and some information that needs to be hidden may be sent to the foreground. [0003] Therefore, how to improve the efficiency of page display and ensure the security of display is an urgent problem to be solved. Contents of the invention [0004] Embodiments of the present invention provide a page display method, device, elect...

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): G06F16/958H04L29/06
CPCH04L63/0236
Inventor 曹召换解军伟秦占明王奎杰
Owner AEROSPACE INFORMATION