CN104111856A - Software upgrading method and system based on resource bundle - Google Patents
Software upgrading method and system based on resource bundle Download PDFInfo
- Publication number
- CN104111856A CN104111856A CN201410367964.XA CN201410367964A CN104111856A CN 104111856 A CN104111856 A CN 104111856A CN 201410367964 A CN201410367964 A CN 201410367964A CN 104111856 A CN104111856 A CN 104111856A
- Authority
- CN
- China
- Prior art keywords
- resource bag
- resource
- bag
- software
- upgrading
- 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
Abstract
The invention discloses a software upgrading method based on a resource bundle. The method comprises the following steps: preparing a resource bundle including an upgrading content; issuing and updating the resource bundle; and operating the resource bundle to finish software upgrading. The invention also discloses a system which is in a similar way with the method. According to the software upgrading method and software upgrading system, an installation mode that an app installation package used by an Android system shall be manually intervened can be bypassed by the resource bundle.
Description
Technical field
The invention belongs to mobile technology field, be specifically related to a kind of Android software Auto-mounting upgrade method and system without manual intervention based on resource bag, be suitable for Android mobile device terminal.
Background technology
In prior art, Android client terminal software updating is modal problem, and most popular method is at present:
Utilize program to carry Version Control and auto-update function, this way is not that general scene has no problem very frequently for upgrading, but in the time of for magnanimity public user group, the impact that the frequent upgrading of client brings to client very large, the user that can affect software experiences and promotes, because Android system itself requires installation, application must manual intervention.
In order solving, to be easy to upgrade, not need client change, derive and utilize HTML5 mode Application and Development, function renewal directly upgrades at server end like this, but the reason based on browser, the function of a lot of equipment itself is difficult to performance, and the scene high for client experience requirements is not too suitable.
In addition, also have a kind of mode to utilize exactly plug-in unit mode, new function is made to independently apk installation kit, the automatic integrated original program that enters after installing, upgrade so new function, the program that does not just need upgrading to fill, only need to install a feature card, although this mode solves replacement problem to a certain extent, but add each time new function and all need to install additional packets, the process of the installation mandate of system requirements, just needs manual intervention to carry out, produce the little application of a pile simultaneously, affect user and experience.
Summary of the invention
For solving the problems of the technologies described above, the present invention aims to provide a kind of Android software Auto-mounting upgrade method and system without manual intervention based on resource bag.
The technical solution used in the present invention is:
A method for upgrading software based on resource bag, is characterized in that comprising the following steps:
The resource bag that A, making comprise the content of upgrading;
B, issue new resources bag more;
C, move this resource bag to complete software upgrading.
Further, described steps A compiles figure chip layout and is packaged into scale-of-two resource bag together with code.
Wherein, described step B comprises:
B1, to resource bag name, add version number, and be published to server;
B2, client-side program regularly detect server to find resource bag;
B3, the automatic downloaded resources bag of client are also installed and are upgraded.
Further, described step C comprises:
C1, resolving resource bag;
C2, by reflection technology performance analysis and carry out the functions of modules that resource bag comprises.
Same inventive concept based on said method, the technical program also comprises a kind of software update system based on resource bag, it is characterized in that comprising:
One basis of software framework, this basis of software framework is separated with the functional module of system;
Some resource bags, this resource bag is described functional module existence form;
One resource bag management engine, this resource bag management engine is for being responsible for automatic download, version management, installation and the updating and management of resource bag;
One resource bag analytics engine, this resource bag analytics engine resolves to resource bag the functional module that can carry out.
Further, described resource bag comprises resource and the code of daily development sequence functional module.
Wherein, described resource bag management engine is downloaded the resource bag of real-time update from server.
Further, described resource bag analytics engine is analyzed resource bag, and the resource bag performance analysis from compiling goes out executable code by reflection technology.
Beneficial effect of the present invention:
Android software Auto-mounting upgrade method of the present invention is separated with functional module by program frame with system, and by all functions module, be made into resource bag, by resource bag analytics engine, resource bag is resolved to the functional module that can carry out, thereby the program that realizes normally worked.
And resource bag management engine is mainly responsible for the version management of resource bag, install, updating and management etc., because resource bag is not apk, download and install resource bag as broad as long with download ordinary file, thereby it is equally simple that program upgrade is become to ordinary file management, the installation licensing process that all installations upgrading can bypass system requires, thereby without manual intervention, automatically perform, realize the installation of mourning in silence, also can not produce little application;
This method solves common upgrading needs the artificial drawback participating in, and has improved again user's experience, is particularly suitable for renewal more frequent, the Android application that customer group is large.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
Fig. 1 is the method flow diagram of Android software Auto-mounting upgrading of the present invention;
Fig. 2 is that the present invention issues and the process flow diagram of new resources bag more;
Fig. 3 is the process flow diagram that the present invention moves this resource bag;
Fig. 4 is the fundamental diagram of Android software Auto-mounting upgrade-system of the present invention.
Embodiment
Shown in figure 1, be a kind of method for upgrading software based on resource bag of the present invention, comprise the following steps:
The resource bag that A, making comprise the content of upgrading;
Be about to figure chip layout and compile and be packaged into scale-of-two resource bag together with code (software upgrading content);
B, issue new resources bag more;
Wherein, described step B comprises: (see figure 2)
B1, to resource bag name, add version number, and be published to server;
B2, client-side program regularly detect server to find resource bag;
B3, the automatic downloaded resources bag of client are also installed and are upgraded.
C, move this resource bag to complete software upgrading.
Wherein, described step C comprises: (see figure 3)
C1, resolving resource bag;
C2, by reflection technology performance analysis and carry out the functions of modules that resource bag comprises.
The method for upgrading software of the technical program utilizes resource packet mode to get around apk installation kit that Android system used and Installation Modes that must manual intervention, realizes the full automatic installation and upgrade of mourning in silence.
Same inventive concept based on said method, the technical program also comprises a kind of software update system based on resource bag, comprising:
One basis of software framework, this basis of software framework is separated with the functional module of system; This framework only includes substantially constant program utility function and control framework;
Some resource bags, this resource bag is described functional module existence form, and in system, traditional functional module is made into resource bag, and this resource bag comprises resource and the code of daily development sequence functional module;
One resource bag management engine, this resource bag management engine is for downloading resource bag, version management, installation and the updating and management of real-time update from server;
One resource bag analytics engine, this resource bag analytics engine resolves to resource bag can carry out functional module; Wherein, this resource bag analytics engine is analyzed resource bag, and the resource bag performance analysis from compiling goes out executable code by reflection technology.
As mentioned above, Android software Auto-mounting upgrade method of the present invention is separated with functional module by program frame with system, and by all functions module, is made into resource bag, by resource bag analytics engine, resource bag is resolved to the functional module that can carry out, thereby the program that realizes is normally worked.
And resource bag management engine is mainly responsible for the version management of resource bag, install, updating and management etc., because resource bag is not apk, download and install resource bag as broad as long with download ordinary file, thereby it is equally simple that program upgrade is become to ordinary file management, the installation licensing process that all installations upgrading can bypass system requires, thereby without manual intervention, automatically perform, realize the installation of mourning in silence, also can not produce little application;
This method solves common upgrading needs the artificial drawback participating in, and has improved again user's experience, is particularly suitable for renewal more frequent, the Android application that customer group is large.
The foregoing is only preferential embodiment of the present invention, the present invention is not limited to above-mentioned embodiment, as long as within the technical scheme that realizes the object of the invention with basic identical means all belongs to protection scope of the present invention.
Claims (8)
1. the method for upgrading software based on resource bag, is characterized in that comprising the following steps:
The resource bag that A, making comprise the content of upgrading;
B, issue new resources bag more;
C, move this resource bag to complete software upgrading.
2. a kind of method for upgrading software based on resource bag according to claim 1, is characterized in that: described steps A compiles figure chip layout and be packaged into scale-of-two resource bag together with code.
3. a kind of method for upgrading software based on resource bag according to claim 1, is characterized in that: described step B comprises:
B1, to resource bag name, add version number, and be published to server;
B2, client-side program regularly detect server to find resource bag;
B3, the automatic downloaded resources bag of client are also installed and are upgraded.
4. a kind of method for upgrading software based on resource bag according to claim 3, is characterized in that: described step C comprises:
C1, resolving resource bag;
C2, by reflection technology performance analysis and carry out the functions of modules that resource bag comprises.
5. the software update system based on resource bag, is characterized in that comprising:
One basis of software framework, this basis of software framework is separated with the functional module of system;
Some resource bags, this resource bag is described functional module existence form;
One resource bag management engine, this resource bag management engine is for being responsible for automatic download, version management, installation and the updating and management of resource bag;
One resource bag analytics engine, this resource bag analytics engine resolves to resource bag the functional module that can carry out.
6. a kind of software update system based on resource bag according to claim 5, is characterized in that: described resource bag comprises resource and the code of daily development sequence functional module.
7. a kind of software update system based on resource bag according to claim 5, is characterized in that: described resource bag management engine is downloaded the resource bag of real-time update from server.
8. a kind of software update system based on resource bag according to claim 5, it is characterized in that: described resource bag analytics engine is analyzed resource bag, and the resource bag performance analysis from compiling goes out executable code by reflection technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367964.XA CN104111856A (en) | 2014-07-29 | 2014-07-29 | Software upgrading method and system based on resource bundle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410367964.XA CN104111856A (en) | 2014-07-29 | 2014-07-29 | Software upgrading method and system based on resource bundle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104111856A true CN104111856A (en) | 2014-10-22 |
Family
ID=51708656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410367964.XA Pending CN104111856A (en) | 2014-07-29 | 2014-07-29 | Software upgrading method and system based on resource bundle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104111856A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020906A (en) * | 2016-05-31 | 2016-10-12 | 广东能龙教育股份有限公司 | Client side hot updating method based on Cordova |
CN110244957A (en) * | 2019-05-10 | 2019-09-17 | 阿里巴巴集团控股有限公司 | A kind of resource data updating method, apparatus and system |
CN111212057A (en) * | 2019-12-30 | 2020-05-29 | 武汉联影医疗科技有限公司 | Resource packet transmission method and device, computer equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
US20080077681A1 (en) * | 2006-09-26 | 2008-03-27 | Samsung Electronics Co., Ltd. | Method and apparatus for upgrading software of digital broadcasting receiver |
CN102081532A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for dynamically upgrading functions of set top box |
CN102932441A (en) * | 2012-10-26 | 2013-02-13 | 北京小米科技有限责任公司 | Method and system for downloading application, terminal and server |
CN103313231A (en) * | 2013-07-03 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Method, system and server for upgrading application program in mobile terminal |
-
2014
- 2014-07-29 CN CN201410367964.XA patent/CN104111856A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080077681A1 (en) * | 2006-09-26 | 2008-03-27 | Samsung Electronics Co., Ltd. | Method and apparatus for upgrading software of digital broadcasting receiver |
CN101094229A (en) * | 2007-07-24 | 2007-12-26 | 深圳市融合视讯科技有限公司 | Increment upgrading system and method for networked application programs |
CN102081532A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for dynamically upgrading functions of set top box |
CN102932441A (en) * | 2012-10-26 | 2013-02-13 | 北京小米科技有限责任公司 | Method and system for downloading application, terminal and server |
CN103313231A (en) * | 2013-07-03 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Method, system and server for upgrading application program in mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020906A (en) * | 2016-05-31 | 2016-10-12 | 广东能龙教育股份有限公司 | Client side hot updating method based on Cordova |
CN110244957A (en) * | 2019-05-10 | 2019-09-17 | 阿里巴巴集团控股有限公司 | A kind of resource data updating method, apparatus and system |
CN111212057A (en) * | 2019-12-30 | 2020-05-29 | 武汉联影医疗科技有限公司 | Resource packet transmission method and device, computer equipment and readable storage medium |
CN111212057B (en) * | 2019-12-30 | 2022-09-27 | 武汉联影医疗科技有限公司 | Resource packet transmission method and device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106933609B (en) | Android application program installation package generation method and device | |
CN103207794B (en) | The sharing method of application program between mobile terminal in LAN | |
TWI536296B (en) | Wireless application release, implementation method and device | |
CN104615462B (en) | Cross-platform Mobile solution generation service end and system | |
IN2014CN04930A (en) | ||
CN105204913A (en) | Method and system for running Linux application on Android operating system and system | |
CN104615466A (en) | Cloud platform deployment method and system | |
CN104639648A (en) | Remote upgrading method for intelligent cabinet | |
CN104216741A (en) | Android plug-in implementation method and device based on APK (Android Package) dynamic loading and interaction method | |
CN104484169A (en) | Android software user interface generating method and system and Android application system | |
CN104111856A (en) | Software upgrading method and system based on resource bundle | |
CN104503741A (en) | Integrated system for developing and publishing APP | |
CN108874437B (en) | Online cloud updating method for android application program | |
WO2016062152A1 (en) | Network element inspection method and device | |
CN105554552A (en) | UI dynamic layout system and method based on set-top box | |
CN106484452B (en) | unified configuration management method and device for software platform | |
CN102819527A (en) | Method and system for matching rules in mobile communication system | |
CN106020906A (en) | Client side hot updating method based on Cordova | |
CN105183657A (en) | System and method for testing WEB interface | |
CN103324716A (en) | Application database updating method based on Android system | |
CN104793972A (en) | Method and device for updating data packets | |
CN101482883A (en) | Method and system for on-line updating characteristic character library | |
CN104699492A (en) | Method and device for software upgrading | |
CN103744663A (en) | Pre-caching technology based Android interface design frame model | |
CN105306675B (en) | A kind of cross-platform dynamic UI matching process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141022 |
|
RJ01 | Rejection of invention patent application after publication |