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

Page rendering method and device, electronic equipment and readable medium

A page and rendering mode technology, applied in the computer field, can solve the problems of high server pressure and low page rendering efficiency, achieve the effect of reducing server pressure, avoiding slow page refresh, and ensuring page rendering efficiency

Pending Publication Date: 2022-05-13
CHINA TELECOM CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, if the client-side rendering mode or the server-side rendering mode cannot be selected according to the actual scene, then there will be problems such as low page rendering efficiency or excessive server pressure.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0054] Specifically, the client rendering mode is that the client (such as a browser) first obtains the page resource data corresponding to the page transmitted by the server, and renders the page resource data on the client to obtain a page in HTML (Hyper Text Markup Language) format , this mode has been widely used in the three front-end frameworks Vue2, React, and Angular. However, the efficiency of the client-side rendering mode depends on the performance of the client, the performance of the browser, and the network environment. The problem of slow loading of the whole page and long waiting time of the white screen.

[0055] In order to solve the problems existing in the client-side rendering mode, the industry also provides...

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 provides a page rendering method and device, electronic equipment and a readable medium. The method comprises the steps that a rendering request of a target page is generated; obtaining a network signal mode of the client and device data of a terminal device where the client is located; determining a target page rendering mode according to the network signal mode and the equipment data; the target page rendering mode comprises a client rendering mode and a server rendering mode; sending the rendering request and a notification message of the target page rendering mode to the server; wherein the server is used for executing corresponding processing logic on page resource data based on the target page rendering mode in the notification message after obtaining the page resource data corresponding to the rendering request, so as to obtain a target page presented in the client. According to the embodiment of the invention, the pressure of the server can be reduced while the page rendering efficiency is ensured.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computers, and in particular, relate to a page rendering method, a page rendering device, an electronic device, and a computer-readable medium. Background technique [0002] When a user accesses a website page through a browser, the page requested by the user may be presented to the user through page rendering. In the prior art, common page rendering methods mainly include a client side rendering mode (CSR, Client siderender) and a server side rendering mode (SSR, Server side render). [0003] However, if the client-side rendering mode or the server-side rendering mode cannot be selected according to the actual scene, problems such as low page rendering efficiency or excessive server pressure may occur. [0004] Therefore, there is an urgent need to propose a page rendering method to reduce server pressure while ensuring page rendering efficiency. 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): H04L67/01H04L67/02G06F16/957
CPCH04L67/02G06F16/957
Inventor 付迎鑫闫国续
Owner CHINA TELECOM CORP 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