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

Page loading processing method and device

A processing method and page loading technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of long loading time, page access errors, inability to judge the existence of JS and CSS files, etc., to improve robustness sex, volume reduction, volume reduction effect

Active Publication Date: 2017-09-26
ALIBABA GRP HLDG LTD
View PDF5 Cites 33 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 invention discloses a page loading processing method and device. The method includes the steps that an off-line data packet is provided, wherein the off-line data packet includes intra-packet configuration information and multiple parts of data content; a target page file access request generated in an application is intercepted, and whether or not target data content corresponding to target URL information exits in the off-line data packet is judged based on the intra-packet configuration information; if the target data content exists, the target page file access request is intercepted, a page file is constructed in a simulating browser response mode with the target data content in the off-line data packet to access response data, and the response data is returned to a built-in browser control of the application. By means of the page loading processing method and device, the loading speed is increased, and meanwhile the robustness of the scheme is improved.

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 Applications(China)
IPC IPC(8): G06F17/30
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