Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Page display method, page resource cache method and apparatus

A page resource and page technology, applied in the page resource caching method and device, and the page display field, can solve the problems of many page resources and slow response speed of page display, and achieve the effect of convenient management and invocation

Active Publication Date: 2017-06-23
ADVANCED NEW TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in this way of displaying the page, since the global object indicates that when the page resource is obtained from the server, the page resource is usually obtained as a whole, so that more page resources are obtained from the server, resulting in a slower response speed of page display

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, page resource cache method and apparatus
  • Page display method, page resource cache method and apparatus
  • Page display method, page resource cache method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1 of the present application provides a page display method, which is used in a client, and the problems in the prior art can be solved by using this method. like figure 1 As shown, the method includes the following steps:

[0058] Step S11: the client receives a page display instruction.

[0059]The page mentioned here may be a page displayed to the user in a web application (Web APP). Generally speaking, the page may include multiple types, and common ones include a main page and a subpage displayed after triggering a corresponding link in a parent page. For example, a webpage application used for online shopping usually provides users with a main page, and the user can also trigger the corresponding link (such as "sporty man coffee", "goddess") in the main page (here, the parent page) "Fan", etc.) to enter the corresponding sub-pages ("Sportsmen Cafe" sub-page, "Goddess Fan" sub-page, etc.).

[0060] The page display instruction can be used to instruct...

Embodiment 2

[0116] Embodiment 2 of the present application provides a page display method, which is used in the server, and the problems in the prior art can be solved by using this method. like Figure 4 As shown, the method includes the following steps:

[0117] Step S41: Receive a business request for obtaining a second page resource, the second page resource is a page resource that needs to be obtained from the server, and the client screens out the cached first page resources, and the first page resource Determined by splitting the page resources required to display the page.

[0118]The first page resource and the second page resource mentioned here are the same as those in Embodiment 1, and will not be repeated here.

[0119] Step S42: Return the second page resource to the client, so that the client can obtain the second page resource from the server according to the second page resource and each of the first page resources other than the second page resource that needs to be ob...

Embodiment 3

[0124] Based on the same inventive concept as that of Embodiment 1 of the present application, Embodiment 3 of the present application provides a page display device, and the device is located at a client. like Figure 5 As shown, the device 50 includes: a page display instruction receiving unit 501, a screening unit 502, an obtaining unit 503, and a display unit 504, wherein:

[0125] The page display instruction receiving unit 501 is configured to receive a page display instruction;

[0126] The screening unit 502 is configured to, according to the page display instruction, screen out the second page resources that need to be obtained from the server from the cached first page resources, and the first page resources are obtained by displaying the page. The required page resources are determined by splitting according to the data processing rules;

[0127] The obtaining unit 503 is configured to obtain the second page resource from the server according to the filtered resul...

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 application discloses a page display method, and a page resource cache method and apparatus. The page display method comprises: receiving a page display instruction; according to the page display instruction, screening out a second page resource which needs to be obtained from the server side, from each cached first page resource; obtaining the second page resource from the server side according to the screened result; and displaying the page according to the obtained second page resource. According to the methods and apparatus disclosed by the present application, since the page resource for displaying the page is divided into a plurality of first page resources and the plurality of first page resources are cached, after receiving the display instruction of the page resource, the second page resource which needs to be obtained from the server side is screened from each cached first page resource so as to carry out page display, so that the problem that in the prior art, the response speed to the page display is relatively slow due to obtaining the page resource from the server side as a whole through the global object instruction is solved.

Description

technical field [0001] The present application relates to the technical field of computer webpages, in particular to a method for displaying a page, a method and a device for caching page resources. Background technique [0002] With the continuous development of computer technology, numerous web applications (Web APPs) have emerged, and people can complete various businesses through these web applications. These web applications usually need to display pages to users, and users perform corresponding services through the displayed pages. [0003] In the prior art, when displaying a page to a user, the page resource required for displaying the page is first obtained from the cache. The page resource is usually a page resource cached by a global object based on traditional JavaScript. When the page resource needs to be updated , then use the global object to instruct to reacquire new page resources from the server for page display. [0004] However, in this way of displaying...

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/9574
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
Eureka Blog
Learn More
PatSnap group products