Html5 offline package intelligent putting method, device and apparatus and storage medium
An offline and intelligent technology, applied in the direction of program control device, program control design, software deployment, etc., can solve the problems of high cost of horizontal communication and collaboration, bloated public resource list, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] This embodiment is aimed at the existing H5 offline package release method. Because each module relies heavily on the same third-party library, the same third-party library will be repeatedly delivered and cached locally on the mobile terminal, resulting in a waste of bandwidth and For the problem of excessively large app packages, a method for intelligent delivery of Html5 offline packages is provided. Through the public resource package mechanism, resource packages are split into public resource offline packages and private resource offline packages, effectively reducing the offline package size of each H5 application. , so that the APP update rate is increased and the page opening speed is accelerated.
[0045] The offline package here refers to packaging the static resources in the page including HTML, JavaScript, CSS, etc. into a compressed package. Download the offline package to the local in advance, and then open it through the client, and load the offline packa...
Embodiment 2
[0091] This embodiment provides a device for intelligent delivery of Html5 offline packages, which is used for updating client-side H5 applications. Please refer to Figure 4 , the device for intelligent delivery of the Html5 offline package includes:
[0092] The resource extraction module 1 is used for the server to pre-extract the public resources in the Html5 offline package, package it as a public resource package and send it to the client's H5 application;
[0093] The resource publishing module 2 is used to publish the configuration information of the public resource offline package and the business-related private resource offline package to the client when the H5 application is updated, and trigger the client to download according to the configuration information.
[0094] The functions and implementation methods of the resource extraction module 1 and the resource distribution module 2 are as described in the first embodiment above, and will not be repeated here.
Embodiment 3
[0096] The second embodiment described above describes in detail the device for intelligent delivery of Html5 offline packages of the present invention from the perspective of modular functional entities. The following describes the device for intelligent delivery of Html5 offline packages of the present invention in detail from the perspective of hardware processing.
[0097] Please see Figure 5 The device 500 for intelligent delivery of the Html5 offline package may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and Storage 520, one or more storage media 530 (such as one or more mass storage devices) for storing application programs 533 or data 532 . Wherein, the memory 520 and the storage medium 530 may be temporary storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (no...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com