CN108008971A - A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades - Google Patents
A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades Download PDFInfo
- Publication number
- CN108008971A CN108008971A CN201711259740.7A CN201711259740A CN108008971A CN 108008971 A CN108008971 A CN 108008971A CN 201711259740 A CN201711259740 A CN 201711259740A CN 108008971 A CN108008971 A CN 108008971A
- Authority
- CN
- China
- Prior art keywords
- html5
- compressed package
- module
- app
- downloads
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The method for realizing mobile APP module upgrades is downloaded the invention discloses a kind of offline compressed package based on HTML5, the step of this method is first to issue HTML5 business compressed package and App module Configuration files, then App downloads HTML5 business compressed packages, last App sub-modules staging business code for the first time.It is an advantage of the invention that:It in the case of the shortcomings of flow can be overcome to expend, render time is long, upgrading is frequent, maintenance cost is high, can be upgraded with sub-module increment, realize the iteratively faster of application, persistently deliver, reduce system operation risk, improve running efficiency of system.
Description
Technical field:
The present invention relates to field of computer technology, is especially that a kind of offline compressed package based on HTML5 downloads realization shifting
The method of dynamic APP module upgrades.
Background technology:
Existing mobile APP module upgrades scheme has two kinds, and one kind is that the HTML5 pages are deployed in server, and APP is directly visited
Ask the high in the clouds page, another kind is that the HTML5 pages are deployed in using internal, APP access internal pages.Above two scheme is in reality
The equal existing defects in, wherein, the first scheme expends flow, and render time length, each page access all can network transmission
HTML5 resource file css, js, html, image, experience are poor.Second scheme has a defect that:1st, upgrading is frequent, often
Secondary HTML5 service codes modification, user will upgrade native applications, and experience is bad;2nd, maintenance cost is high, such as App has updated
To V5 versions, but still have user using V2, V3, V4 versions, it is necessary to more developers safeguard before version.
The content of the invention:
The technical problem to be solved in the present invention is, there is provided it is a kind of to overcome flow consuming, render time length, upgrading frequency
In the case of numerous, the shortcomings of maintenance cost is high, can be upgraded with sub-module increment, realize application iteratively faster, it is lasting deliver, drop
Low system operation risk, the offline compressed package based on HTML5 for improving running efficiency of system download the mobile APP module upgrades of realization
Method.
The technical solution of the present invention is to provide a kind of offline compressed package based on HTML5 and downloads the mobile APP moulds of realization
The method of block upgrading, this method comprise the following steps:
Step 1.HTML5 business compressed package and the issue of App module Configuration files, concrete methods of realizing are as follows:
(1) HTML5 service codes are compressed into zip bags with version control file,
(2) App module Configuration files are prepared, wherein, the version number of compressed package version number and version control file keeps one
Cause,
(3) release management system issuing service compressed package and module Configuration file to server-side are passed through;
Step 2.App downloads HTML5 business compressed packages for the first time, and concrete methods of realizing is as follows:
App clicks on said module, detects the HTML5 files that whether there is designated module in application memory, if it does not,
It is depressed into from high in the clouds downloading service code compaction bag and solution using storage inside;
Step 3.App sub-module staging business codes, concrete methods of realizing are as follows:
(1) according to the method in step 1, the HTML5 modules compressed package after revision number, module Configuration file are issued
To high in the clouds,
(2) client modules are clicked on, the version number of respective version control file can be with high in the clouds module Configuration file compressed package
Version number compares, if equal, directly initiate using the HTML5 pages in storage inside, otherwise downloads upgrading industry from high in the clouds
Business compressed package is simultaneously opened.
Preferably, a kind of offline compressed package based on HTML5 of the present invention, which is downloaded, realizes mobile APP module upgrades
Method, wherein, App module Configuration files in step 1 include module id, module title, compressed package version number, with starting the page
Location, the path of compressed package, root title, the required picture of modules exhibit and visual identification.
The beneficial effects of the invention are as follows can be expended to avoid flow, render time is long, upgrading frequently, maintenance cost is high lacks
Point.It can be upgraded with sub-module increment, realize the iteratively faster of application, lasting delivery, reduce system operation risk, improve
Running efficiency of system.
Brief description of the drawings:
Fig. 1 is the stream that a kind of offline compressed package based on HTML5 of the present invention downloads the method for realizing mobile APP module upgrades
Cheng Tu.
Specific embodiment:
Downloaded below in conjunction with the accompanying drawings with the specific embodiment offline compressed package based on HTML5 a kind of to the present invention and realize movement
The method of APP module upgrades is described further.
As shown in Figure 1, a kind of offline compressed package based on HTML5 of the present invention downloads the side for realizing mobile APP module upgrades
Method comprises the following steps:
This method comprises the following steps:
Step 1.HTML5 business compressed package and the issue of App module Configuration files, concrete methods of realizing are as follows:
(1) HTML5 service codes are compressed into zip bags with version control file,
(2) App module Configuration files are prepared, wherein, the version number of compressed package version number and version control file keeps one
Cause,
(3) release management system issuing service compressed package and module Configuration file to server-side are passed through;
Step 2.App downloads HTML5 business compressed packages for the first time, and concrete methods of realizing is as follows:
App clicks on said module, detects the HTML5 files that whether there is designated module in application memory, if it does not,
It is depressed into from high in the clouds downloading service code compaction bag and solution using storage inside;
Step 3.App sub-module staging business codes, concrete methods of realizing are as follows:
(1) according to the method in step 1, the HTML5 modules compressed package after revision number, module Configuration file are issued
To high in the clouds,
(2) client modules are clicked on, the version number of respective version control file can be with high in the clouds module Configuration file compressed package
Version number compares, if equal, directly initiate using the HTML5 pages in storage inside, otherwise downloads upgrading industry from high in the clouds
Business compressed package is simultaneously opened.
Preferably, the App module Configuration files in step 1 include module id, module title, compressed package version number, startup
Page address, the path of compressed package, root title, the required picture of modules exhibit and visual identification.
Embodiment described above is only that the preferred embodiment of the present invention is described, not to the scope of the present invention
It is defined, on the premise of design spirit of the present invention is not departed from, those of ordinary skill in the art are to technical scheme
The various modifications made and improvement, should all fall into the protection domain that claims of the present invention determines.
Claims (2)
1. a kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades, it is characterised in that:The party
Method comprises the following steps:
Step 1.HTML5 business compressed package and the issue of App module Configuration files, concrete methods of realizing are as follows:
(1) HTML5 service codes are compressed into zip bags with version control file,
(2) App module Configuration files are prepared, wherein, the version number of compressed package version number and version control file is consistent,
(3) release management system issuing service compressed package and module Configuration file to server-side are passed through;
Step 2.App downloads HTML5 business compressed packages for the first time, and concrete methods of realizing is as follows:
App clicks on said module, the HTML5 files that whether there is designated module in application memory is detected, if it does not, from cloud
Hold downloading service code compaction bag and solution is depressed into using storage inside;
Step 3.App sub-module staging business codes, concrete methods of realizing are as follows:
(1) according to the method in step 1, HTML5 modules compressed package, the module Configuration file after revision number are distributed to cloud
End,
(2) client modules are clicked on, the version number of respective version control file can be with high in the clouds module Configuration file compressed package version
Number compare, if equal, directly initiate using the HTML5 pages in storage inside, otherwise download staging business pressure from high in the clouds
Contracting is wrapped and opened.
2. a kind of offline compressed package based on HTML5 according to claim 1 downloads the side for realizing mobile APP module upgrades
Method, it is characterised in that:App module Configuration files in the step 1 include module id, module title, compressed package version number, open
Dynamic page address, the path of compressed package, root title, the required picture of modules exhibit and visual identification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711259740.7A CN108008971A (en) | 2017-12-04 | 2017-12-04 | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711259740.7A CN108008971A (en) | 2017-12-04 | 2017-12-04 | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108008971A true CN108008971A (en) | 2018-05-08 |
Family
ID=62056177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711259740.7A Pending CN108008971A (en) | 2017-12-04 | 2017-12-04 | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108008971A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108717359A (en) * | 2018-05-10 | 2018-10-30 | 北京酷我科技有限公司 | A kind of update method based on the APP modules wrapped offline |
CN108733388A (en) * | 2018-05-28 | 2018-11-02 | 北京酷我科技有限公司 | A kind of H5 page parsing methods wrapped offline based on Native |
CN108762807A (en) * | 2018-05-28 | 2018-11-06 | 北京酷我科技有限公司 | It is a kind of based on the H5 page parsing methods wrapped offline by force |
CN108804108A (en) * | 2018-05-28 | 2018-11-13 | 北京酷我科技有限公司 | It is a kind of based on the weak H5 page parsing methods wrapped offline |
CN108888951A (en) * | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
CN108984201A (en) * | 2018-07-09 | 2018-12-11 | 深圳市思迪信息技术股份有限公司 | Mobile platform version intelligent online upgrade method and device |
CN117493716A (en) * | 2023-11-08 | 2024-02-02 | 中建八局第一数字科技有限公司 | Display updating method and device of mobile terminal Web App, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110202905A1 (en) * | 2009-09-30 | 2011-08-18 | Amitt Mahajan | Apparatuses, methods and systems for an api call abstractor |
CN103744652A (en) * | 2013-12-19 | 2014-04-23 | 深圳市迈桥科技有限公司 | Hybrid APP development method and device across mobile terminals |
CN105657191A (en) * | 2016-03-29 | 2016-06-08 | Tcl集团股份有限公司 | Application increment upgrading method and system based on Android system |
CN107203395A (en) * | 2017-05-19 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Resource graded method, device and computer-readable recording medium and electronic equipment |
-
2017
- 2017-12-04 CN CN201711259740.7A patent/CN108008971A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110202905A1 (en) * | 2009-09-30 | 2011-08-18 | Amitt Mahajan | Apparatuses, methods and systems for an api call abstractor |
CN103744652A (en) * | 2013-12-19 | 2014-04-23 | 深圳市迈桥科技有限公司 | Hybrid APP development method and device across mobile terminals |
CN105657191A (en) * | 2016-03-29 | 2016-06-08 | Tcl集团股份有限公司 | Application increment upgrading method and system based on Android system |
CN107203395A (en) * | 2017-05-19 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Resource graded method, device and computer-readable recording medium and electronic equipment |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108717359A (en) * | 2018-05-10 | 2018-10-30 | 北京酷我科技有限公司 | A kind of update method based on the APP modules wrapped offline |
CN108733388A (en) * | 2018-05-28 | 2018-11-02 | 北京酷我科技有限公司 | A kind of H5 page parsing methods wrapped offline based on Native |
CN108762807A (en) * | 2018-05-28 | 2018-11-06 | 北京酷我科技有限公司 | It is a kind of based on the H5 page parsing methods wrapped offline by force |
CN108804108A (en) * | 2018-05-28 | 2018-11-13 | 北京酷我科技有限公司 | It is a kind of based on the weak H5 page parsing methods wrapped offline |
CN108762807B (en) * | 2018-05-28 | 2022-03-25 | 北京酷我科技有限公司 | H5 page analysis method based on strongly-separated solenoid |
CN108888951A (en) * | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
CN108984201A (en) * | 2018-07-09 | 2018-12-11 | 深圳市思迪信息技术股份有限公司 | Mobile platform version intelligent online upgrade method and device |
CN117493716A (en) * | 2023-11-08 | 2024-02-02 | 中建八局第一数字科技有限公司 | Display updating method and device of mobile terminal Web App, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108008971A (en) | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades | |
CN102799473B (en) | A kind of method and device managing intelligent display device third-party application | |
US9075693B2 (en) | Methods for updating applications | |
CN104615466B (en) | A kind of cloud platform dispositions method and system | |
CN104375849B (en) | Load the method and device of kernel | |
WO2019201039A1 (en) | Method and system for updating application and application server | |
CN103095838A (en) | Method for upgrading Android smartphone software through downloading incremental upgrade package | |
KR20190005152A (en) | Mobile terminal application update method and apparatus | |
CN107438102A (en) | A kind of cloud platform mirror image manufacturing system and its method | |
CN103677876A (en) | Manufacturing and installing method, device and system of software installation package | |
CN105099772B (en) | A kind of upgrade method and system of efficiency service cloud terminal | |
CN106686200B (en) | Mobile application program updating method, mobile terminal and updating system | |
CN103176809B (en) | Application upgrade method and system | |
CN104077131A (en) | Component deployment system and method | |
CN105786538A (en) | Software upgrading method and device based on Android system | |
CN104852971B (en) | Plug-in protocol device and data communication method based on plug-in protocol | |
CN106776674A (en) | A kind of advertisement delivery system and method | |
CN110532016B (en) | Version management method, version updating method and version management system | |
CN105446975A (en) | File packing method and device | |
CN110764805B (en) | Client non-inductive upgrading method, device, terminal and storage medium | |
CN101400167A (en) | Dynamic menu implementing method, apparatus and system for mobile terminal | |
CA2846581A1 (en) | Data infrastructure for providing interconnectivity between platforms, devices and operating systems | |
CN106897052B (en) | APK file compression method and device | |
CN105808282A (en) | Method and device for updating webpage contents of application program | |
CN104424317A (en) | Method and system for providing application for user terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180508 |
|
WD01 | Invention patent application deemed withdrawn after publication |