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

Page rendering method and device, server and storage medium

A page and page entry technology, applied in program control devices, user interface execution, program loading/starting, etc., can solve the problems of high server rendering maintenance risk and high cost investment, improve page rendering efficiency, reduce maintenance risk and maintenance cost effect

Active Publication Date: 2019-05-10
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a page rendering method, device, server and storage medium, which solves the problems of high maintenance risk and high cost of server rendering

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 rendering method and device, server and storage medium
  • Page rendering method and device, server and storage medium
  • Page rendering method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Figure 1a It is a schematic flow chart of a page rendering method provided by Embodiment 1 of the present invention. This method is applicable to the case of performing server rendering on a page of a single-page web application. The method can be executed by a page rendering device, wherein the device can be composed of software and / or implemented by hardware, and generally integrated on the back-end server corresponding to the application software.

[0039] Such as Figure 1a As shown, a page rendering method provided by Embodiment 1 of the present invention specifically includes the following operations:

[0040] It should be noted that the execution subject of the page rendering method provided by the embodiment of the present invention can be regarded as a server, which can be regarded as the back-end server of at least two developed application software, and can perform page rendering for multiple application software, And it can be understood that the page rend...

Embodiment 2

[0054] Figure 2a It is a schematic flow chart of a page rendering method provided by Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. The SPA associated with the application. At the same time, this embodiment also optimizes and adds: the service entry file required for page rendering is generated based on the configured SPA.

[0055] In addition, this embodiment will further determine the target SPA corresponding to the application software, and obtain the component data information corresponding to the page call request, which is embodied as: obtaining the rendering parameter information in the service entry file; The SPA list in the parameter information is associated with the page entry file of the application software, and the target SPA is determined according to the page entry file; the Uniform Resource Locator URL in the page call request is parsed to obtain the page name in the URL; Find the routing configuration fi...

Embodiment 3

[0087] image 3 A structural block diagram of a page rendering device provided by Embodiment 3 of the present invention, the device is suitable for performing server rendering on the pages of a single-page web application, the device can be implemented by software and / or hardware, and is generally integrated in the application on the backend server corresponding to the software. Such as image 3 As shown, the device includes: a request monitoring module 31 , a target information determining module 32 and a page generating module 33 .

[0088] Wherein, the request monitoring module 31 is used to monitor the page calling request of the application software;

[0089] The target information determination module 32 is configured to determine the target single-page web application SPA corresponding to the application software, and obtain component data information corresponding to the page call request, wherein the target SPA is pre-configured according to the set SPA configuratio...

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 rendering method and device, a server and a storage medium. The method comprises the steps that a page calling request of application software is monitored; a target SPAcorresponding to the application software is determined, component data information corresponding to the page calling request is obtained, and the target SPA is configured according to a set SPA configuration rule in advance; and rendering the component data information into the target SPA to form a hypertext link markup language page corresponding to the page calling request. Using the method, SPA which is pre-configured through an SPA configuration rule and is related to current page rendering can be obtained; when page rendering is carried out based on the obtained SPA, the probability ofoccurrence of errors of the used SPA can be reduced, so that the maintenance risk and the maintenance cost in online operation of the application software are reduced, and meanwhile, the purpose of improving the page rendering efficiency is also achieved.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to a page rendering method, device, server and storage medium. Background technique [0002] A single page web application (Single Page web Application, SPA) is an application in which there is only one web page in an application, and the corresponding component data is only loaded when the application initializes the page. Once the page is loaded for the first time, after the user and the application When the program interacts, only the routing mechanism is used to dynamically update the page, and the use of SPA in application development can well avoid page reloading. Generally, when there is a page call, it is often considered to form a displayable page in Client-Side Render (CSR) SPA, but this kind of rendering is not conducive to search engine optimization. [0003] At present, in order to solve search engine optimization, when the user interacts with the...

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): G06F9/451G06F9/445
Inventor 占磊李祎
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD