Hybrid application-based loading method and apparatus

A mobile application and mixed-mode technology, applied in the computer field, can solve problems such as fast loading of unfavorable pages and waste of traffic, and achieve the effects of improving loading speed and fluency, saving traffic, and improving user experience

Active Publication Date: 2017-12-19
BEIJING 58 INFORMATION TTECH CO LTD
View PDF8 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for loading mobile applications based on mixed modes, which are used to solve the problem that when the Webview is released, the cache is also released, so the network request needs to be resent when the page is loaded next time, resulting in a waste of traffic and also The problem that is not conducive to the fast loading of the 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
  • Hybrid application-based loading method and apparatus
  • Hybrid application-based loading method and apparatus
  • Hybrid application-based loading method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] figure 1 The flow chart of Example 1 of the loading method based on the mixed-mode mobile application provided by the embodiment of the present invention, as shown in figure 1 As shown, the execution subjects of this solution are mobile phones, computers, tablets and other terminal devices that can run applications. The specific implementa...

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

Embodiments of the invention provide a hybrid application-based loading method and apparatus. The method comprises the steps of intercepting a page loading request comprising a URL when it is detected that a first application sends a page loading request to a server; judging whether the page loading request meets a preset caching rule or not; if yes, judging whether a version number of data requested by the page loading request is consistent with a preset version of data stored in a cache position corresponding to the first application in a local cache or not; and if yes, obtaining the data corresponding to the page loading request directly from the cache position corresponding to the first application in the local cache, and according to the data, loading the page. The data does not need to be loaded from a network server, so that the page loading speed and fluency are improved, flow is saved, and the user experience is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for loading mobile applications based on mixed modes. Background technique [0002] In recent years, with the diversification of the types of operating systems for mobile devices and the increase in user needs, among the many solutions for developing Apps, Hybrid Apps have both "the advantages of good user interaction experience of Native Apps" and " The advantage of Web App cross-platform development" has become the development solution used by many Apps. Most of the web pages in HybridApp do not need to be updated in real time. Limited by the network speed, it is required to have less data interaction with the server, so that the user experience is better. Therefore, it is necessary to adopt a caching mechanism, which can not only greatly relieve the pressure of data interaction. [0003] Currently, in the Hybrid App, when a web page uses the bui...

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): G06F9/445G06F17/30
CPCG06F9/44521G06F16/958
Inventor 刘文军吕庆春彭飞
Owner BEIJING 58 INFORMATION TTECH 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
Try Eureka
PatSnap group products