Update method and system for web hybrid application

A hybrid application and update method technology, applied in the Internet field, can solve problems such as not being able to update in real time, achieve good user experience, save update and start-up time

Active Publication Date: 2016-05-11
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and system for updating a web hybrid application, so as to solve the problem in the prior art that the web hybrid application cannot be updated in real time as running in a browser

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
  • Update method and system for web hybrid application
  • Update method and system for web hybrid application
  • Update method and system for web hybrid application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] 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.

[0043]One of the core ideas of the present invention is to introduce the offline caching technology of online web pages into the packaging of web hybrid applications, and use the ServiceWorker technology to provide the ability of programmable background offline caching for online web pages, so as to solve the problem that web hybrid applications cannot be updated in real time in the prior art In order to solve the problem, the web hybrid application can not only become the native level application of the system, but al...

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 provides an update method and an update system for a web hybrid application. The method comprises the steps of developing resources needed by the web hybrid application, and storing the developed resources on a web server; packing the developed resources by Service Worker to generate an application cache file, wherein the web hybrid application cache file comprises a Service Worker packing script and the resources with the changed formats; replacing the Service Worker packing script by a Service Worker client script; uploading the replaced web hybrid application cache file into an application store to release as the web hybrid application; and when the web hybrid application downloaded to an intelligent device needs to be updated, receiving an update request sent by the Service Worker client script installed in the web hybrid application in the intelligent device, and transmitting the corresponding update resource to the intelligent device.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and system for updating web hybrid applications. Background technique [0002] Nowadays, smart devices are more and more widely used in all aspects of life. Smart devices such as desktop computers, notebook computers, mobile phones, tablet computers, etc., the applications (Apps) installed on them can be divided into native applications, web applications, and web hybrids. application. [0003] Native applications are specially designed for a certain type of smart device, and they are usually installed directly into the device. Web applications are applications that need to use the network. They use browsers on smart devices (such as IE in windows systems, Safari in iPhones) to run, and they do not need to be downloaded and installed on the devices. A web hybrid application refers to an application between a native application and a web application. It is a combination of a ...

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): H04L29/08
CPCH04L67/02H04L67/06
Inventor 龙翔
Owner BEIJING QIYI CENTURY SCI & TECH 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