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

A page display method, device, equipment and readable storage medium

A page display and target page technology, applied in the field of computer communication, can solve the problems such as the inability of web applications or web pages to interact, the inability to use web application web pages, and the inability to respond to web page requests.

Active Publication Date: 2021-08-20
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of mobile Internet and computer technology, web applications relying on smart mobile terminals have also developed rapidly. Among them, the loading of web pages in web applications or ordinary websites is extremely dependent on static resources, and when static resources fail to load In this case, the web application or web page is basically unable to interact, especially when the cache server based on CDN (Content Delivery Network, content distribution network) fails and cannot respond to the user's web page request, resulting in the web application or web page being unavailable question

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
  • A page display method, device, equipment and readable storage medium
  • A page display method, device, equipment and readable storage medium
  • A page display method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] refer to figure 1 , shows a flow chart of the steps of an embodiment of a page display method of the present invention, the method is applied to a client, and may specifically include the following steps:

[0050] Step 101, sending a first access request for the target page to the server;

[0051] In the embodiment of the present invention, when the client user accesses the webpage through the browser, it is realized through the following steps:

[0052]First, the client browser initiates the HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) three-way handshake protocol according to the IP (Internet Protocol, Internet protocol) address to establish a TCP / IP connection;

[0053] Secondly, the browser sends an HTTP request to the server; the server receives the request, and according to the path parameters, after some back-end processing, returns the processed result data to the browser, such as the complete html code of the page, etc. .

[0054] Again, ...

Embodiment 2

[0111] refer to figure 2 , shows a flow chart of the steps of an embodiment of a page display method of the present invention, the method is applied to a client, and may specifically include the following steps:

[0112] Step 201, in response to the access request sent by the client for the target page, obtain the downgrade identifier in the access request;

[0113] Step 202, if the degraded flag meets a preset value, then forward the access request to a backup server to obtain a backup static resource of the target page;

[0114] In the embodiment of the present invention, such as Figure 2A As shown, when the server receives a page request from the user to the server, the server obtains whether the cookie carried in the request header has a downgrade flag. If the downgrade flag conforms to the preset value, if downgrade is required, the downgrade scheme is used.

[0115] Among them, the downgrading solution includes requesting static resources from the CDN server to migra...

Embodiment 3

[0124] refer to image 3 , shows a structural block diagram of an embodiment of a page display device of the present invention, the device is applied to a client, and may specifically include the following modules:

[0125] The first access request sending module 301, configured to send the first access request for the target page to the server;

[0126] A hypertext markup language receiving module 302, configured to receive the hypertext markup language html returned by the server for the access request;

[0127] A degraded identification adding module 303, configured to add a degraded identification in the browser cache cookie if the static resource request fails when the browser renders the hypertext markup language html;

[0128] Preferably, the degraded identification adding module 303 further includes:

[0129] The browser cache obtaining submodule is used to obtain the browser cache cookie when the browser renders the hypertext markup language html;

[0130] The temp...

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 present invention provides a page display method, device, device, and readable storage medium, which are applied to clients. The method includes: it is characterized in that it includes: sending a first access request for a target page to a server; receiving a response from the server The hypertext markup language html for the access request; when the browser renders the hypertext markup language html, if the static resource request fails, add a downgrade identifier to the browser cache cookie; The second access request of the target page is sent to the server; the backup static resource returned by the server is received; and the hypertext markup language html is re-rendered according to the backup static resource, and the target page is displayed. It solves the problem in the prior art that when a webpage application or webpage is loaded, the static resource request fails, resulting in service unavailability.

Description

technical field [0001] The invention relates to the field of computer communication, in particular to a page display method, device, equipment and readable storage medium. Background technique [0002] With the rapid development of mobile Internet and computer technology, web applications relying on smart mobile terminals have also developed rapidly. Among them, the loading of web pages in web applications or ordinary websites is extremely dependent on static resources, and when static resources fail to load In this case, the web application or web page is basically unable to interact, especially when the cache server based on CDN (Content Delivery Network, content distribution network) fails and cannot respond to the user's web page request, resulting in the web application or web page being unavailable question. [0003] Therefore, how to ensure that the service is still available when the webpage-based application or webpage loading fails is a technical problem to be sol...

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 Patents(China)
IPC IPC(8): G06F16/957G06F16/958
CPCG06F16/9574G06F16/972G06F16/986
Inventor 蒋国西杜朝阳
Owner BEIJING SANKUAI ONLINE TECH 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