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

Page loading processing method and device

A technology for page loading and processing methods, applied in special data processing applications, other database retrieval, network data retrieval, etc., can solve the problems of inability to build responses locally, long loading time, page access errors, etc.

Active Publication Date: 2021-04-30
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can not only realize the local loading of CSS, JS and other files, but also realize the local loading of HTML, but the disadvantage is that an H5 page is usually composed of an HTML file, several CSS files, several JS files and several pictures. The solution cannot know in advance which JS / CSS file requests the HTML file contains, so it is impossible to judge whether the JS and CSS files contained in it exist on the local disk
In this way, if the HTML file is in the local disk, but the JS and CSS requested by the HTML file are not in the local disk, after modifying the domain name requested by each JS and CSS, a virtual domain that does not exist will be obtained, so it cannot be built from the local Response, and then the page access will go wrong
[0005] To sum up, how to further optimize the page loading process and improve the robustness of the solution while solving the problem of too long page loading time has become a technical problem that needs to be solved by those skilled in the art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

[0029]In the embodiment of this application, in order to further optimize the page loading process, while solving the problem of too long page loading time, and improve the robustness and robustness of the page loading solution, offline data packets can be provided. During the running process of the application, you can Intercept page file access requests through pre-registered protocol classes. After intercepting a specific page file access request, whether it is an HTML file access request, CSS file access request, J...

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 present application discloses a page loading processing method and device. The method includes: providing an offline data package, the offline data package including configuration information in the package and multiple data contents; requesting the target page file access generated in the application Carry out hijacking, use the configuration information in the package to judge whether there is target data content corresponding to the target URL information in the offline data package; if there is the target data content, then intercept the target page file access request, and use the offline The target data content in the data packet constructs page file access response data by simulating browser response, and returns the response data to the built-in browser control of the application. Through the embodiment of the present application, the robustness of the solution is improved while solving the problem of improving the page loading speed.

Description

technical field [0001] The present application relates to the technical field of page loading processing, in particular to a page loading processing method and device. Background technique [0002] Hybrid App (mixed mode mobile application) is a commonly used mobile Internet application development mode at present. In this mode, developers can embed HTML5 applications into a thin native container, so that Hybrid App can integrate native applications and HTML5 The advantages of the application in one. However, since the HTML (HyperTextMark-upLanguage, Hypertext Markup Language), CSS (Cascading Style Sheet, Cascading Style Sheet) and JS (Javascript) files required for interface rendering in Hybrid App usually need to request the server to obtain, therefore, there may be The problem of long page loading time affects user experience. [0003] In order to solve the problem of too long page loading time, for the iOS platform, there are two ways in the prior art. The first way i...

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/957
CPCG06F16/9574
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