CN111240717A - Theme pack upgrading method - Google Patents
Theme pack upgrading method Download PDFInfo
- Publication number
- CN111240717A CN111240717A CN202010045304.5A CN202010045304A CN111240717A CN 111240717 A CN111240717 A CN 111240717A CN 202010045304 A CN202010045304 A CN 202010045304A CN 111240717 A CN111240717 A CN 111240717A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- theme pack
- pack
- theme
- zip
- 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
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000008569 process Effects 0.000 claims abstract description 6
- 238000004519 manufacturing process Methods 0.000 claims abstract description 5
- 238000004806 packaging method and process Methods 0.000 claims abstract description 4
- 238000012856 packing Methods 0.000 claims abstract description 4
- 238000011161 development Methods 0.000 abstract description 7
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of software upgrading, in particular to a theme pack upgrading method, which comprises the following processes: firstly, building a theme pack manufacturing tool environment, wherein a jdk version is 1.8, an sdk version is 9.0, and a zip-3.0-setup.exe is installed in a zip tool; secondly, adding the software installation path of the first step into an environment variable; thirdly, making a theme pack; fourthly, packaging the theme pack; fifthly, upgrading; placing the theme pack and the system upgrading pack in a u-packing directory for upgrading; and sixthly, displaying the customized interface. The method provided by the invention can adapt to different customer requirements, and has low development cost and short period.
Description
Technical Field
The invention relates to the technical field of software upgrading, in particular to a theme pack upgrading method.
Background
For car-in-machine solution companies, the car-in-machine functions are basically consistent across different back-loading customers, but it is desirable to customize their UI interfaces for different customers. Before the scheme, different versions need to be customized for different clients, a large amount of research and development needs to be invested, certain test requirements are required on the research and development, meanwhile, the system compiling needs long time, under the condition of multiple versions, a large number of compiling servers are needed, the period for providing the versions is long, for different versions, all-function tests need to be carried out on each version, and a large amount of investment is needed for a vehicle-mounted computer system with complex functions.
Disclosure of Invention
The technical problem to be solved by the invention is to provide the theme pack upgrading method which can meet different customer requirements, and has low development cost and short period.
The invention is realized by the following technical scheme:
the theme pack upgrading method comprises the following processes:
firstly, building a theme pack manufacturing tool environment, wherein a jdk version is 1.8, an sdk version is 9.0, and a zip-3.0-setup.exe is installed in a zip tool;
secondly, adding the software installation path of the first step into an environment variable;
thirdly, making a theme pack;
fourthly, packaging the theme pack;
fifthly, upgrading; placing the theme pack and the system upgrading pack in a u-packing directory for upgrading;
and sixthly, displaying the customized interface.
Further, the theme pack mainly includes a main interface, music, video, telephone, and a file manager according to specific functions.
The invention has the advantages of
The scheme only needs one basic system upgrade package plus theme package to realize the customization of different versions, and has the following advantages,
the investment of research personnel is reduced, and the method can be realized only by one UI (user interface) personnel;
secondly, only one basic package is compiled, the expansion of multiple N versions can be realized, and the dependence on a compiling server is greatly reduced;
thirdly, only the interface display function is adjusted, the vehicle machine function in charge of a tester does not need to pay attention, and only if the interface is normally displayed, the ok is achieved, so that the investment of the tester is greatly reduced;
fourthly, the delivery cycle of the project is greatly shortened;
and fifthly, if the configuration is designed by the client, the participation of personnel of a scheme company is not needed, and only one basic package needs to be provided.
In a word, the scheme greatly improves the development efficiency, reduces the development cost, does not influence the stability of the system and shortens the version lead time.
Drawings
FIG. 1 is a block diagram of the process of the present invention.
Detailed Description
The theme pack upgrading method comprises the following processes:
firstly, building a theme pack manufacturing tool environment, wherein a jdk version is 1.8, an sdk version is 9.0, and a zip-3.0-setup.exe is installed in a zip tool;
secondly, adding the software installation path of the first step into an environment variable;
thirdly, making a theme pack; the theme pack of each android interface is arranged below the package/apps of the theme pack, and is distinguished according to modules, and the theme pack mainly comprises a main interface, music, videos, telephones, a file manager and the like.
Taking the main interface as an example: the main interface mainly replaces the picture resources in the assets and the drawable-mdpi directories, other directory files do not need to be adjusted, and the file names and the resource sizes cannot be adjusted during replacement, so that the file names and the resource sizes are consistent with those of the original files. The Draable-mdpi is a resource used by the main interface, and the file in the assets directory corresponds to the icon of the secondary interface and can be replaced optionally.
Fourthly, packaging the theme pack; bat, the me package may be generated at the root directory with the suffix zip by double-clicking on the pack _ then _ apk in the resource package generation tool.
Fifthly, upgrading; placing the generated theme package and the system upgrading package in a u packing directory for upgrading; in the upgrading process, the system compares the check file in the upgrading package with the theme package generated in the theme package manufacturing process, if the check is successful, the theme package is considered to be legal, and upgrading is carried out, otherwise, the user is prompted to fail in upgrading.
And sixthly, displaying the customized interface. After the system is started, according to whether the theme pack exists in the system, if so, the resources are loaded from the theme pack, otherwise, the resources in the basic pack are still used.
Further, the theme pack mainly includes a main interface, music, video, telephone, and a file manager according to specific functions. The scheme is to meet the customization of the interface by the customer, so that the function is only limited to replacing pictures and interface styles, and the function logic aspect is not supported.
The theme pack upgrading method provided by the invention can provide diversified products for different clients in a mode of basic version + theme pack. Meanwhile, for any client, the theme pack can be automatically generated and the system can be updated according to the intention of the client and by referring to the specification and the use tool. The technical scheme can realize the replacement of the interface, a set of system can display different interfaces by matching with different themes, and the display style of the interface can be changed only by depending on the theme pack under the condition of not compiling the system again and adjusting the logic of the original code. Therefore, the development efficiency is greatly improved, the development cost is reduced, the stability of the system is not influenced, and the version lead time is shortened.
In summary, the theme pack upgrading method disclosed by the application can adapt to different customer requirements, and is low in development cost and short in cycle.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (2)
1. The theme pack upgrading method is characterized by comprising the following processes:
firstly, building a theme pack manufacturing tool environment, wherein a jdk version is 1.8, an sdk version is 9.0, and a zip-3.0-setup.exe is installed in a zip tool;
secondly, adding the software installation path of the first step into an environment variable;
thirdly, making a theme pack;
fourthly, packaging the theme pack;
fifthly, upgrading; placing the theme pack and the system upgrading pack in a u-packing directory for upgrading;
and sixthly, displaying the customized interface.
2. The theme pack upgrading method according to claim 1, wherein the theme pack mainly includes a main interface, music, video, phone, and file manager according to specific functions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010045304.5A CN111240717A (en) | 2020-01-16 | 2020-01-16 | Theme pack upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010045304.5A CN111240717A (en) | 2020-01-16 | 2020-01-16 | Theme pack upgrading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111240717A true CN111240717A (en) | 2020-06-05 |
Family
ID=70874823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010045304.5A Pending CN111240717A (en) | 2020-01-16 | 2020-01-16 | Theme pack upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111240717A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915188A (en) * | 2014-03-13 | 2015-09-16 | 北京壹人壹本信息科技有限公司 | Method and system for theme change and mobile terminal |
CN106055328A (en) * | 2016-05-27 | 2016-10-26 | 努比亚技术有限公司 | Theme replacement apparatus and method for third-party APP |
CN106055324A (en) * | 2016-05-27 | 2016-10-26 | 努比亚技术有限公司 | System theme changing device and method |
CN108829437A (en) * | 2018-06-29 | 2018-11-16 | 北京金山安全软件有限公司 | Product development method, system, device, computer equipment and storage medium |
-
2020
- 2020-01-16 CN CN202010045304.5A patent/CN111240717A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104915188A (en) * | 2014-03-13 | 2015-09-16 | 北京壹人壹本信息科技有限公司 | Method and system for theme change and mobile terminal |
CN106055328A (en) * | 2016-05-27 | 2016-10-26 | 努比亚技术有限公司 | Theme replacement apparatus and method for third-party APP |
CN106055324A (en) * | 2016-05-27 | 2016-10-26 | 努比亚技术有限公司 | System theme changing device and method |
CN108829437A (en) * | 2018-06-29 | 2018-11-16 | 北京金山安全软件有限公司 | Product development method, system, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
无: "小米MIUI主题制作教程", 《HTTPS://WWW.DOCIN.COM/P-555250446.HTML?DOCFROM=RRELA》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622241B (en) | A kind of method for upgrading software and device | |
CN107147704B (en) | block chain-oriented universal service middleware system | |
US7287190B2 (en) | Simultaneous execution of test suites on different platforms | |
CN105657191B (en) | Application increment upgrading method and system based on Android system | |
CN106610839B (en) | Method for issuing upgrade package, lightweight upgrade method, device and system | |
US20120323857A1 (en) | Method for Restoring Software Applications on Desktop Computers | |
CN104750528B (en) | A kind of assembly management method and apparatus in Android program | |
JP5542796B2 (en) | Method and apparatus for managing mobile device software | |
CN106055368B (en) | application updating method and device | |
EP1570340A1 (en) | Device memory management during electronic file updating | |
GB2492703A (en) | Downloading software without downloading duplicate prerequisite software products | |
CN114077423A (en) | Airport APP development container architecture based on mobile cross-platform | |
CN110888652B (en) | Multi-version construction method and terminal based on jenkins plug-in | |
CN107632829A (en) | A kind of App automation continuous integration systems and method based under iOS system | |
CN107797818A (en) | Application program updating method and device | |
CN107193609A (en) | Functional module call method and device, electronic equipment in | |
CN109240733A (en) | A kind of method and terminal updating advertisement SDK based on Android system | |
CN115509515A (en) | Component reuse method and device, electronic equipment and storage medium | |
CN102004654B (en) | Software installation method and device | |
CN105335432A (en) | Oracle database access method | |
CN108228266B (en) | Method and device for starting Fragment component between different plug-ins under Android plug-in framework | |
CN113760733A (en) | Unit testing method and device | |
CN111240717A (en) | Theme pack upgrading method | |
CN112486503A (en) | Deployment delivery method for distributed applications | |
CN106778270B (en) | Malicious application detection method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |