CN112925554A - System and method for automatically generating Android terminal system upgrade package - Google Patents
System and method for automatically generating Android terminal system upgrade package Download PDFInfo
- Publication number
- CN112925554A CN112925554A CN202110350096.4A CN202110350096A CN112925554A CN 112925554 A CN112925554 A CN 112925554A CN 202110350096 A CN202110350096 A CN 202110350096A CN 112925554 A CN112925554 A CN 112925554A
- Authority
- CN
- China
- Prior art keywords
- system upgrading
- server
- url
- android terminal
- package
- 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 21
- 239000002699 waste material Substances 0.000 abstract description 3
- 230000001934 delay Effects 0.000 abstract description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
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
- G06F8/658—Incremental updates; Differential updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a system and a method for automatically generating an android terminal system upgrade package. The method delays the step of generating the increment package, and triggers according to the actual upgrading requirement, thereby effectively avoiding the generation and uploading of unnecessary increment packages, avoiding the waste of resources, realizing the automation of the whole process and reducing the labor cost.
Description
Technical Field
The invention relates to the technical field of Android terminal system upgrading, in particular to a system and a method for automatically generating an Android terminal system upgrading package.
Background
After terminals such as Android mobile phones and tablets are sold in the market, manufacturers often release system upgrades for optimizing the system or solving various software and hardware problems, the system upgrade is mainly incremental upgrade, and only the changed part of a new system relative to an old system is upgraded by the incremental upgrade, so that the system upgrade is small and fast. For an Android terminal, multiple versions of ROM may be released in the whole sale and maintenance period, so that multiple versions of programs are correspondingly provided in the market, and in order to enable each terminal to be capable of upgrading to the latest version of programs at one time, when a new ROM is developed, increment upgrade packages need to be made for all versions of ROM in the market, and the increment upgrade packages are uploaded and configured to a server. If there are 10 versions of ROM on the market, when developing the 11 th version of ROM, 10 incremental packages are needed for the first 10 versions of ROM, when developing the 12 th version of ROM, 11 incremental packages are needed, and so on.
The generation of one increment package takes a long time, and when the number of ROM versions is large in the market, the generation of a plurality of increment packages takes a very long time, and each increment package is not necessarily used, because some old ROM versions in the market may be upgraded to a new ROM version, that is, some terminals of ROM versions do not exist, which undoubtedly causes waste of resources.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a system and a method for automatically generating an Android terminal system upgrade package.
In order to achieve the purpose, the invention adopts the following technical scheme:
a system for automatically generating an Android terminal system upgrade package comprises:
android terminal: the method comprises the steps that a system upgrading application is operated in the Android terminal and used for uploading a current program version of the Android terminal to a system upgrading server periodically according to a set period and inquiring whether a new version program needs to be updated; the system upgrading application is used for receiving the url returned from the system upgrading server, if the url is null, inquiring again after a set time interval until the url is non-null, at the moment, the incremental package is generated, downloading the incremental package according to the url by the system upgrading application, and completing system upgrading of the Android terminal;
the system upgrading server is used for inquiring whether the Android terminal has a program with a new version to be updated or not when receiving the program version uploaded by the system upgrading application, and returning a url to the Android terminal if the program with the new version needs to be updated, wherein the url represents a downloading address of the increment package; the system comprises a ROM compiling server, a processor and a processor, wherein the ROM compiling server is used for sending instructions to the ROM compiling server and triggering the ROM compiling server to generate an increment package; the method comprises the steps that after information uploaded by an increment package of a ROM compiling server is received, an absolute path of the increment package is assigned to a corresponding url which is null originally;
the ROM compiling server is used for finding out the whole packages corresponding to the ROM of the program version uploaded by the Android terminal and the program version to be upgraded after receiving the instruction from the system upgrading server, obtaining the increment package by differentiating the two whole packages, uploading the increment package to the specified position of the system upgrading server, and then sending the increment package uploading completion information to the system upgrading server.
The invention also provides a method for automatically generating the Android terminal system upgrade package by using the system, which comprises the following specific processes:
the Android terminal runs a system upgrading application, the system upgrading application regularly uploads a current program version of the Android terminal to a system upgrading server according to a set period, and whether a new version of program needs to be updated is inquired;
if the system upgrading server finds that the new version program needs to be updated, the system upgrading server returns a url to the Android terminal, and the url represents a downloading address of the incremental package; if url is null, the incremental package is not generated, and at the moment, the system upgrading server sends an instruction to the ROM compiling server to trigger the ROM compiling server to generate the incremental package;
after receiving an instruction from a system upgrading server, a ROM compiling server finds a full packet corresponding to a program version uploaded by an Android terminal and a program version ROM to be upgraded, then uses the two full packets to make difference to obtain an increment packet, uploads the increment packet to a designated position of the system upgrading server, then sends increment packet uploading completion information to the system upgrading server, and after receiving the increment packet uploading completion information, the system upgrading server assigns an absolute path of the increment packet to a corresponding url which is null originally;
the system upgrading application of the Android terminal can inquire again after a set time interval after obtaining the url which is null, the system upgrading server returns the url to the Android terminal again until the url is non-null and indicates that the increment package is generated, and the system upgrading application can download the increment package according to the url and complete system upgrading of the Android terminal.
The invention has the beneficial effects that: the method delays the step of generating the increment package, and triggers according to the actual upgrading requirement, thereby effectively avoiding the generation and uploading of unnecessary increment packages, avoiding the waste of resources, realizing the automation of the whole process and reducing the labor cost.
Detailed Description
The present invention will be further described below, and it should be noted that the present embodiment is based on the technical solution, and a detailed implementation manner and a specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
Example 1
The embodiment provides a system for automatically generating an Android terminal system upgrade package, including:
android terminal: the method comprises the steps that a system upgrading application is operated in the Android terminal and used for uploading a current program version of the Android terminal to a system upgrading server periodically according to a set period and inquiring whether a new version program needs to be updated; the system upgrading application is used for receiving the url returned from the system upgrading server, if the url is null, inquiring again after a set time interval until the url is non-null, at the moment, the incremental package is generated, downloading the incremental package according to the url by the system upgrading application, and completing system upgrading of the Android terminal;
the system upgrading server is used for inquiring whether the Android terminal has a program with a new version to be updated or not when receiving the program version uploaded by the system upgrading application, and returning a url to the Android terminal if the program with the new version needs to be updated, wherein the url represents a downloading address of the increment package; the system comprises a ROM compiling server, a processor and a processor, wherein the ROM compiling server is used for sending instructions to the ROM compiling server and triggering the ROM compiling server to generate an increment package; the method comprises the steps that after information uploaded by an increment package of a ROM compiling server is received, an absolute path of the increment package is assigned to a corresponding url which is null originally;
the ROM compiling server is used for finding out the whole packages corresponding to the ROM of the program version uploaded by the Android terminal and the program version to be upgraded after receiving the instruction from the system upgrading server, obtaining the increment package by differentiating the two whole packages, uploading the increment package to the specified position of the system upgrading server, and then sending the increment package uploading completion information to the system upgrading server.
Example 2
The embodiment provides a method for automatically generating an Android terminal system upgrade package, which specifically comprises the following steps:
the Android terminal runs a system upgrading application, the system upgrading application regularly uploads a current program version of the Android terminal to a system upgrading server according to a set period, and whether a new version of program needs to be updated is inquired;
if the system upgrading server finds that the new version program needs to be updated, the system upgrading server returns a url to the Android terminal, and the url represents a downloading address of the incremental package; if url is null, the incremental package is not generated, and at the moment, the system upgrading server sends an instruction to the ROM compiling server to trigger the ROM compiling server to generate the incremental package;
after receiving an instruction from a system upgrading server, a ROM compiling server finds a full packet corresponding to a ROM of a program version uploaded by an Android terminal and the program version to be upgraded, then uses the two full packets to make difference to obtain an increment packet, uploads the increment packet to a specified position of the system upgrading server, then sends increment packet uploading completion information to the system upgrading server, and after receiving the increment packet uploading completion information, the system upgrading server assigns an absolute path of the increment packet to a corresponding url which is null originally;
the system upgrading application of the Android terminal can inquire again after a preset time interval (for example, every 24 hours) after obtaining the url which is null, the system upgrading server returns the url to the Android terminal again until the url is non-null and indicates that the increment package is generated, and the system upgrading application can download the increment package according to the url and complete system upgrading of the Android terminal.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.
Claims (2)
1. The system for automatically generating the Android terminal system upgrade package is characterized by comprising the following steps:
android terminal: the method comprises the steps that a system upgrading application is operated in the Android terminal and used for uploading a current program version of the Android terminal to a system upgrading server periodically according to a set period and inquiring whether a new version program needs to be updated; the system upgrading application is used for receiving the url returned from the system upgrading server, if the url is null, inquiring again after a set time interval until the url is non-null, at the moment, the incremental package is generated, downloading the incremental package according to the url by the system upgrading application, and completing system upgrading of the Android terminal;
the system upgrading server is used for inquiring whether the Android terminal has a program with a new version to be updated or not when receiving the program version uploaded by the system upgrading application, and returning a url to the Android terminal if the program with the new version needs to be updated, wherein the url represents a downloading address of the increment package; the system comprises a ROM compiling server, a processor and a processor, wherein the ROM compiling server is used for sending instructions to the ROM compiling server and triggering the ROM compiling server to generate an increment package; the method comprises the steps that after information uploaded by an increment package of a ROM compiling server is received, an absolute path of the increment package is assigned to a corresponding url which is null originally;
the ROM compiling server is used for finding out the whole packages corresponding to the ROM of the program version uploaded by the Android terminal and the program version to be upgraded after receiving the instruction from the system upgrading server, obtaining the increment package by differentiating the two whole packages, uploading the increment package to the specified position of the system upgrading server, and then sending the increment package uploading completion information to the system upgrading server.
2. A method for automatically generating an Android terminal system upgrade package by using the system of claim 1 is characterized by comprising the following specific processes:
the Android terminal runs a system upgrading application, the system upgrading application regularly uploads a current program version of the Android terminal to a system upgrading server according to a set period, and whether a new version of program needs to be updated is inquired;
if the system upgrading server finds that the new version program needs to be updated, the system upgrading server returns a url to the Android terminal, and the url represents a downloading address of the incremental package; if url is null, the incremental package is not generated, and at the moment, the system upgrading server sends an instruction to the ROM compiling server to trigger the ROM compiling server to generate the incremental package;
after receiving an instruction from a system upgrading server, a ROM compiling server finds a full packet corresponding to a ROM of a program version uploaded by an Android terminal and the program version to be upgraded, then uses the two full packets to make difference to obtain an increment packet, uploads the increment packet to a specified position of the system upgrading server, then sends increment packet uploading completion information to the system upgrading server, and after receiving the increment packet uploading completion information, the system upgrading server assigns an absolute path of the increment packet to a corresponding url which is null originally;
the system upgrading application of the Android terminal can inquire again after a set time interval after obtaining the url which is null, the system upgrading server returns the url to the Android terminal again until the url is non-null and indicates that the increment package is generated, and the system upgrading application can download the increment package according to the url and complete system upgrading of the Android terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110350096.4A CN112925554A (en) | 2021-03-31 | 2021-03-31 | System and method for automatically generating Android terminal system upgrade package |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110350096.4A CN112925554A (en) | 2021-03-31 | 2021-03-31 | System and method for automatically generating Android terminal system upgrade package |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112925554A true CN112925554A (en) | 2021-06-08 |
Family
ID=76173513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110350096.4A Pending CN112925554A (en) | 2021-03-31 | 2021-03-31 | System and method for automatically generating Android terminal system upgrade package |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112925554A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
CN104216727A (en) * | 2013-06-04 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Application upgrading method and system |
CN104954394A (en) * | 2014-03-24 | 2015-09-30 | 中兴通讯股份有限公司 | Software differential packet production and update method, server, terminal and update system |
CN105490852A (en) * | 2015-12-10 | 2016-04-13 | 青岛海信移动通信技术股份有限公司 | Upgrade detection method and device |
CN106648798A (en) * | 2016-12-30 | 2017-05-10 | 歌尔科技有限公司 | Method for dynamically upgrading cross-version OTA |
-
2021
- 2021-03-31 CN CN202110350096.4A patent/CN112925554A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
CN104216727A (en) * | 2013-06-04 | 2014-12-17 | 腾讯科技(深圳)有限公司 | Application upgrading method and system |
CN104954394A (en) * | 2014-03-24 | 2015-09-30 | 中兴通讯股份有限公司 | Software differential packet production and update method, server, terminal and update system |
CN105490852A (en) * | 2015-12-10 | 2016-04-13 | 青岛海信移动通信技术股份有限公司 | Upgrade detection method and device |
CN106648798A (en) * | 2016-12-30 | 2017-05-10 | 歌尔科技有限公司 | Method for dynamically upgrading cross-version OTA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632375B (en) | Online upgrading method for distributed deployment service software program | |
CN107577475B (en) | Software package management method and system of data center cluster system | |
CN105590051B (en) | Trusted application for credible performing environment generates and installation method | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
CN105808278A (en) | Client version upgrading method and device | |
CN104639648A (en) | Remote upgrading method for intelligent cabinet | |
CN102609281A (en) | Distributed software patch updating method and distributed software patch updating system | |
CN104866338A (en) | Method and device for remotely deploying software | |
CN110780917A (en) | Method and system for automatically packaging and releasing read Native application | |
CN111078265B (en) | Web project update patch generation method based on jenkins | |
CN101888653A (en) | Firmware updating method, base station and network management center | |
CN103106083A (en) | Loading method and loading device of firmware | |
CN109816453B (en) | Detection method and device for promotion resource link | |
CN112860251A (en) | Method and system for constructing website front end | |
CN112925554A (en) | System and method for automatically generating Android terminal system upgrade package | |
CN103150203B (en) | A kind of virtual machine control system, virtual machine controller and control method | |
CN114253552B (en) | Programmable edge device self-adapting method and device | |
CN111935323A (en) | Remote LXC container application dynamic management system and method | |
WO2023020071A1 (en) | Upgrade package acquisition method and smart device | |
CN111930414B (en) | Crane program management method, crane program remote management method and device | |
CN114168182A (en) | Method for upgrading Android terminal application | |
CN111679850B (en) | Application program hot update processing method, device and system | |
CN114257509A (en) | Module upgrading method and device, storage medium and electronic device | |
CN114840243A (en) | Operating system upgrading system of distributed edge node | |
CN103533071A (en) | Update method, device and system for terminal software |
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: 20210608 |