A page loading method and device

A page loading and page technology, applied in website content management, other database retrieval, network data retrieval, etc., can solve problems such as page loading time process, improve accuracy, improve page loading efficiency, and improve page loading time is too long Effect

Active Publication Date: 2022-01-28
ALIBABA GRP HLDG LTD
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiment of the present application provides a page loading method and device, which are used to solve the problem of the page loading time process in the prior art when the Hybrid APP responds to the loading request of the HTML page

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 loading method and device
  • A page loading method and device
  • A page loading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] figure 1 It is a schematic flowchart of a page loading method provided in the embodiment of the present application. The method can be as follows.

[0039] Step 101: Receive a page loading request.

[0040] In this embodiment of the application, when a user needs to access a certain page, the page loading request can be initiated through the terminal device held by the user or the APP installed in the terminal device. At this time, the terminal device will receive the page loading request sent by the user, Starts the processing flow for this page load request.

[0041] Step 102: Determine the business type of the business recorded in the page to be loaded included in the page loading request.

[0042]In this embodiment of the application, the server provides at least one business service, and the business logic set for different business types of business services is different. The business logic here can be understood as the logic supported by the business service. ...

Embodiment 2

[0085] figure 2 It is a schematic flowchart of a page loading method provided in the embodiment of the present application. The method can be as follows. The execution subject of this embodiment of the present application may be a terminal device, or an APP client installed in the terminal device, which is not specifically limited here.

[0086] Step 201: Receive a page loading request, where the page loading request includes the address of the page to be loaded.

[0087] In this embodiment of the application, when a user needs to access a certain page, a page loading request can be initiated through the terminal device held by the user or an APP installed in the terminal device. At this time, the terminal device will receive the page loading request sent by the user, Starts the processing flow for this page load request.

[0088]In the embodiment of this application, using NS URL Protocol and NS URL Protocol Client to realize the Hybrid APP to load the HTML page of the lo...

Embodiment 3

[0182] Figure 5 It is a schematic flowchart of a page loading method provided in the embodiment of the present application. The method can be as follows.

[0183] Step 501: Receive a page loading request, where the page loading request includes the address of the page to be loaded.

[0184] Step 502: Find whether there is an offline data packet corresponding to the address from the local disk, and if so, execute step 503; otherwise, send the page loading request to the server.

[0185] Step 503: further judge whether the found offline data package contains the static resource file required by the page to be loaded, and if it is determined that the offline data package contains the static resource file required by the page to be loaded, then execute step 504; Otherwise, go to step 510 .

[0186] Step 504: further judge whether the offline data packet has been written into the cache, if so, execute step 505; otherwise, execute step 506.

[0187] Step 505: When it is determi...

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 loading method and device, including: receiving a page loading request, and determining the business type of the business recorded in the page to be loaded included in the page loading request; For the corresponding offline data package, the page resources of the pages corresponding to the business of the same business type are in the same offline data package; obtain the page resources needed to load the page to be loaded from the found offline data package, and Using the page resources to perform a page rendering operation to complete page loading. For the HTML page loading request initiated, accurately locate the business type of the page to be loaded, and then quickly determine the offline data package containing the page to be loaded according to the business type, and obtain the page resources in the offline data package, and then realize the local loading of page resources, effectively The problem of too long page loading time in the prior art is improved.

Description

technical field [0001] The present application relates to the field of Internet information processing technology and computer technology, and in particular to a page loading method and device. Background technique [0002] With the development of science and technology and communication technology, the mobile Internet has emerged. The so-called mobile Internet is the product of the integration of mobile communications and the Internet. That is to publish various Internet applications on the mobile communication platform provided by the operator to provide network services for different users. [0003] In the field of mobile Internet development, there are three types of applications: Native App (native application), Web App (web application) and Hybrid App (mixed mode mobile application). [0004] Among them, Native App is also called traditional App, that is, App developed in different languages ​​for various mobile phone operating systems such as iOS and Android. This k...

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/958
Inventor 杨成旭
Owner ALIBABA GRP HLDG 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