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

Page loading method and device

A page loading and page technology, applied in instruments, website content management, computing, etc., can solve problems such as page loading time process, and achieve the effect of improving accuracy, improving page loading efficiency, and improving page loading time too long

Active Publication Date: 2018-07-17
ALIBABA GRP HLDG LTD
View PDF15 Cites 26 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
  • Page loading method and device
  • Page loading method and device
  • 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 invention discloses a page loading method and device. The method comprises the steps of receiving a page loading request, and determining a service type of a service recorded by a to-be-loaded page contained in the page loading request; searching an offline data packet set for an offline data packet corresponding to the service type, wherein page resources of pages corresponding to services with the same service type are in the same offline data packet; obtaining page resources required for uploading the to-be-loaded page from the found offline data packet, and utilizing the page resourcesto execute a page rendering operation to complete page loading. For the issued HTML page loading request, the service type of the to-be-loaded page is accurately positioned, the offline data packet containing the to-be-loaded page is quickly determined according to the service type accordingly, the page resources in the offline data packet are obtained, local page source loading is achieved accordingly, and the problem of excessively long page loading time in the prior art is effectively solved.

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/9574G06F16/958
Inventor 杨成旭
Owner ALIBABA GRP HLDG 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