Page display method and device

A technology of pages and page resources, applied in the field of page display methods and devices, to achieve the effect of flexible display

Active Publication Date: 2018-07-06
ADVANCED NEW TECH CO LTD
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above display process requires a normal network connection between the browser and the server

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
  • Page display method and device
  • Page display method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.

[0026] The page presentation method provided by an embodiment of this specification can be applied to such as figure 1 In the scenario shown, figure 1 Wherein, the browser may be a browser of a mobile terminal, or a browser of a personal computer (personal computer, PC) terminal. The user can access the page through the browser. In addition, a Service Worker may be pre-registered in the browser and be active. A Service Worker is a script that runs in the background process of the browser. An activated Service Worker can cache the page resources of a page in the cache when the browser loads a page for the first time. The activated Service Worker can also intercept the browser's page access request through the fetch method, and respond to the page access request. When the Service Worker fails to respond to the page access request or requests the serve...

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 display method and device. The page display method includes the steps that after a page accessing request of a browser is intercepted, page resources tobe loaded in an accessed page requested by the page accessing request are determined; a preset page set is searched for a target page matched with the accessed page; the page resources to be loaded are matched with predefined page resources in the target page; if matching is successful, a resource obtaining strategy corresponding to the predefined page resources which are successfully matched isobtained; according to the obtained resource obtaining strategy, the page resources to be loaded are obtained; the obtained page resources are returned to the browser, so that the browser displays theaccessed page.

Description

technical field [0001] One or more embodiments of this specification relate to the field of computer technology, and in particular to a page display method and device. Background technique [0002] A traditional page presentation method may be as follows: the browser sends a page access request to the server, and the server responds to the request, eg, returns the page resources of the page. After that, the browser displays the page according to the page resources. However, the above presentation process requires a normal network connection between the browser and the server. When the network connection is abnormal (also called offline), the page cannot be displayed. Contents of the invention [0003] One or more embodiments of this specification describe a page display method and device, which can display pages more flexibly. [0004] In the first aspect, a page display method is provided, including: [0005] Intercept browser page access requests; [0006] According...

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): G06F17/30
CPCG06F16/958
Inventor 吕耿敏
Owner ADVANCED NEW TECH CO LTD
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