Service Worker startup method, device and electronic device

An electronic device and post-start technology, applied in the network field, can solve problems that affect user experience, slow start speed, increase page loading time, etc., and achieve the effect of reducing loading waiting time and improving page efficiency

Active Publication Date: 2021-08-17
ALIBABA (CHINA) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the startup speed of the Service Worker is slow, which increases the loading time of the pages that need to be controlled by the Service Worker and affects the user experience.

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
  • Service Worker startup method, device and electronic device
  • Service Worker startup method, device and electronic device
  • Service Worker startup method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] 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. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0025] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 present invention provides a Service Worker startup method, device and electronic equipment. The method includes: before loading a page to be displayed, start the Service Worker through a WebView interface; after the Service Worker is started, load the page to be displayed according to a page request. In this way, by using the WebView interface, the Service Worker is started before loading the page to be displayed, which reduces the loading waiting time of the page to be displayed and improves page efficiency.

Description

technical field [0001] The present invention relates to the field of network technology, in particular, to a Service Worker startup method, device and electronic equipment. Background technique [0002] Service Worker is a W3C public API that can give pages very powerful capabilities, such as intercepting resource requests, managing resource caches, and pushing messages. However, the startup speed of the Service Worker is slow, which increases the loading time of the pages that need to be controlled by the Service Worker and affects the user experience. Contents of the invention [0003] In order to overcome the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a Service Worker startup method, which is applied to electronic equipment, and the method includes: [0004] Before loading the page to be displayed, start the Service Worker through the WebView interface; [0005] After the Service Worker is started, the page to be d...

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): G06F9/445G06F16/957
CPCG06F9/44521G06F16/9574
Inventor 刘翔
Owner ALIBABA (CHINA) 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