CN106257423A - Method for upgrading software and user terminal - Google Patents
Method for upgrading software and user terminal Download PDFInfo
- Publication number
- CN106257423A CN106257423A CN201610631049.6A CN201610631049A CN106257423A CN 106257423 A CN106257423 A CN 106257423A CN 201610631049 A CN201610631049 A CN 201610631049A CN 106257423 A CN106257423 A CN 106257423A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- apk
- order
- android system
- identification code
- 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
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
Abstract
The invention provides a kind of method for upgrading software and user terminal, it is possible to automatic, complete upgrading software.Described method for upgrading software comprises the steps: to send the order updating APK to user terminal, and described user terminal is the user terminal using android system;User terminal, according to the order received, is downloaded APK and is installed file to local;When user terminal is started shooting again, the APK downloaded is installed file is installed.
Description
Technical field
The present invention relates to software technology field, particularly relate to a kind of method for upgrading software and user terminal.
Background technology
The most general Android installation kit (AndroidPackage, hereinafter referred to as APK) upgrading mode includes:
1) renewal carried by the application shop (system carry or third-party application shop) installed or APK is carried
Waking up, prompting user manually upgrades;
2) online hot-fixing (hotfix).Patch file (dex file) can be automatically downloaded when APK needs and updates,
APK run time will dynamic load patch file so that virtual machine perform replace after code, reach repair purpose.
Along with the development of network, internet television, Set Top Box are more and more universal, due to the particularity of its output content, mesh
Front both upgradings mode all also exists certain limitation.
1) for the first mode of upgrading, whether upgrade and determined by user completely, unpredictable former if there is some
Because needs carry out management and control to this TV, this upgrading mode will be unable to achieve the goal;
2) online hot-fixing there is also certain limitation, owing to its operation principle is that dynamic replacement virtual machine performs
Code, but can not dynamic replacement picture, the resource file such as view of APK, if needing replacement resource file, or use and pass
The first method of system goes to update by the update notifying that application shop or APK carry, or upgrading whole system.
Summary of the invention
The technical problem to be solved is to provide a kind of method for upgrading software and user terminal, it is possible to automatically,
Complete upgrading software.
In order to solve the problems referred to above, the invention provides a kind of method for upgrading software, comprise the steps: to user terminal
Sending the order updating APK, described user terminal is the user terminal using android system;User terminal is according to receiving
Order, downloads APK and installs file to local;When user terminal is started shooting again, the APK downloaded is installed file is installed.
Optionally, described user terminal has unique EIC equipment identification code, also comprises one and set in the order of described renewal APK
Standby identification code, the described step sending the order updating APK to user terminal, is to having the EIC equipment identification code specified further
User terminal send update APK order.Described EIC equipment identification code is selected from equipment Serial Number, the MAC of network access equipment
Any one in address and ID.
Optionally, described when user terminal is started shooting again, install in the step that the APK downloaded installs file, described peace
The action of dress is for automatically starting after start.
Optionally, described user terminal is selected from using the intelligent television of android system, using android system
Projector and use android system learning machine in any one.
Present invention also offers a kind of user terminal, described user terminal is the user terminal using android system, bag
Include such as lower module: more newer command receiver module, for receiving the order updating APK;Download module, for connecing according to more newer command
Receive the order that module receives, download APK and file is installed to local;Module is installed, under starting when user terminal is started shooting and install
Carry the APK installation file that module is downloaded.
Optionally, described user terminal has unique EIC equipment identification code, also comprises one and set in the order of described renewal APK
Standby identification code, described more newer command receiver module only accepts the life of the renewal APK that the EIC equipment identification code with user terminal matches
Order.It is any one that described EIC equipment identification code is selected from equipment Serial Number, the MAC Address of network access equipment and ID
Kind.
Optionally, described installation module automatically starts after being start and installs the APK installation file of download.
Optionally, described user terminal is selected from using the intelligent television of android system, using android system
Projector and use android system learning machine in any one.
The method enforcement renewal that the present invention uses backstage to download and updates after powering, is to try to reduce user and uses process
In a kind of technical scheme of annoyance level.The mode using coupling unique identifier further controls to update and downloading process,
It it is a kind of safer technical scheme.
Accompanying drawing explanation
Shown in accompanying drawing 1 be method for upgrading software of the present invention detailed description of the invention described in the enforcement step of method show
It is intended to.
Shown in accompanying drawing 2 be user terminal of the present invention detailed description of the invention described in the structured flowchart of user terminal.
Detailed description of the invention
The method for upgrading software provided the present invention below in conjunction with the accompanying drawings and the detailed description of the invention of user terminal are done in detail
Describe in detail bright.
First combine accompanying drawing and provide the detailed description of the invention of method for upgrading software of the present invention.It is this tool shown in accompanying drawing 1
The enforcement step schematic diagram of body embodiment, comprises the steps: step S10, sends the order updating APK to user terminal,
Described user terminal is the user terminal using android system;Step S11, user terminal, according to the order received, is downloaded
APK installs file to local;Step S12, when user terminal is started shooting again, installs the APK downloaded and installs file.
With reference to step S10, send the order updating APK to user terminal.Described user terminal is for using android system
User terminal, include but not limited to use android system intelligent television, use android system projector and
Use android system learning machine in any one, described employing Android both includes using primary android system
Also include using derivation operation system based on android system exploitation.In this step, in order to improve the safety of method,
Avoid user terminal to be infected by the unknown virulent installation kit of band, and the group being upgraded equipment accurately can be selected
Select, described user terminal is set to have unique EIC equipment identification code further, the order of described renewal APK also comprises one
EIC equipment identification code.This step is the order sending to the user terminal with the EIC equipment identification code specified and updating APK the most further.
Described EIC equipment identification code is selected from any one in equipment Serial Number, the MAC Address of network access equipment and ID.
Described equipment Serial Number is to pre-set unique identification code in a device when dispatching from the factory.
With reference to step S11, user terminal, according to the order received, is downloaded APK and is installed file to local.This step and step
Rapid S10 has mourned in silence on backstage, and user is not have any extra sensation using this terminal, thus without to
Family is experienced and is impacted.Originally it is preferably a step the download to whole installation kits, is therefore possible not only to repair code issue, it is also possible to
Arbitrarily more fresh code or picture, layout such as attempt at the resource file.
With reference to step S12, when user terminal is started shooting again, the APK downloaded is installed file is installed.At user terminal again
The when of start, general user can accept the system update process having certain time, and the renewal of APK is arranged on by this method
System boot period and user terminal properly functioning period, be the minimum one side of the annoyance level to user's experience
Case.The action of the most described installation is for automatically starting after start, it is also possible to be that after starting shooting, prompting user is updated, true user
Renewal is restarted after recognizing.
Next combine accompanying drawing and provide the detailed description of the invention of user terminal of the present invention.It is that this is concrete shown in accompanying drawing 2
The structured flowchart of user terminal described in embodiment, including: more newer command receiver module 20, for receiving the order updating APK;
Download module 21, for according to the order that more newer command receiver module 20 receives, downloads APK and installs file to local;Mould is installed
Block 22, starts and installs the APK installation file that download module 21 is downloaded when user terminal is started shooting.
More newer command receiver module 20 is for receiving the order updating APK.Described user terminal is for using android system
User terminal, include but not limited to use android system intelligent television, use android system projector and
Use android system learning machine in any one, described employing Android both includes using primary android system
Also include using derivation operation system based on android system exploitation.In order to improve the safety of method, it is to avoid user terminal
Infected by the unknown virulent installation kit of band, and the group being upgraded equipment accurately can be selected, further will
Described user terminal is set to have unique EIC equipment identification code, also comprises an EIC equipment identification code in the order of described renewal APK.
Described more newer command receiver module 20 the most only accepts the order of the renewal APK that the EIC equipment identification code with user terminal matches.Institute
State EIC equipment identification code selected from any one in equipment Serial Number, the MAC Address of network access equipment and ID.Institute
Stating equipment Serial Number is to pre-set unique identification code in a device when dispatching from the factory.
Download module 21, for according to the order that more newer command receiver module 20 receives, is downloaded APK and is installed file to local.
More newer command receiver module 20 and download module 21 are all mourned in silence on backstage operation, and user is not have to appoint using this terminal
The sensation what is extra, impacts thus without to Consumer's Experience.Download module 21 is preferably the download to whole installation kits, because of
This is possible not only to repair code issue, it is also possible to arbitrarily more fresh code or picture, layout such as attempt at the resource file.
Module 22 is installed and starts and install the APK installation file that download module 21 is downloaded when user terminal is started shooting.With
The when that family terminal being started shooting again, general user can accept the system update process having certain time, and this method is by APK's
Update and be arranged on the system boot period and user terminal properly functioning period, be that the annoyance level to user's experience is minimum
A kind of scheme.Module 22 is preferably installed for automatically starting after start, it is also possible to be to point out user to be updated after start, with
Renewal is restarted after confirming in family.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
Member, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improvements and modifications also should be regarded as
Protection scope of the present invention.
Claims (10)
1. a method for upgrading software, it is characterised in that comprise the steps:
Send the order updating APK to user terminal, described user terminal is the user terminal using android system;
User terminal, according to the order received, is downloaded APK and is installed file to local;
When user terminal is started shooting again, the APK downloaded is installed file is installed.
Method for upgrading software the most according to claim 1, it is characterised in that described user terminal has unique equipment to be known
Other code, also comprises an EIC equipment identification code in the order of described renewal APK, the described order sending renewal APK to user terminal
Step, is the order sending to the user terminal with the EIC equipment identification code specified and updating APK further.
Method for upgrading software the most according to claim 2, it is characterised in that described EIC equipment identification code is selected from equipment sequence
Number, any one in the MAC Address of network access equipment and ID.
Method for upgrading software the most according to any one of claim 1 to 3, it is characterised in that described at user terminal again
During secondary start, installing in the step that the APK downloaded installs file, the action of described installation is for automatically starting after start.
Method for upgrading software the most according to any one of claim 1 to 3, it is characterised in that described user terminal is selected from
In using the intelligent television of android system, using the projector of android system and use the study of android system
Any one in machine.
6. a user terminal, described user terminal be use android system user terminal, it is characterised in that include as
Lower module:
More newer command receiver module, for receiving the order updating APK;
Download module, for according to the order that more newer command receiver module receives, downloads APK and installs file to local;
Module is installed, starts and install the APK installation file that download module is downloaded when user terminal is started shooting.
User terminal the most according to claim 6, it is characterised in that described user terminal has unique equipment identification
Code, also comprises an EIC equipment identification code in the order of described renewal APK, described more newer command receiver module only accepts and user terminal
The order of renewal APK that matches of EIC equipment identification code.
User terminal the most according to claim 7, it is characterised in that described EIC equipment identification code selected from equipment Serial Number,
Any one in the MAC Address of network access equipment and ID.
9. according to the user terminal according to any one of claim 6 to 8, it is characterised in that after described installation module is for start
Automatically start and install the APK installation file of download.
10. according to the user terminal according to any one of claim 6 to 8, it is characterised in that described user terminal is selected from adopting
In the projector with the intelligent television of android system, using android system and the learning machine using android system
Any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610631049.6A CN106257423A (en) | 2016-08-04 | 2016-08-04 | Method for upgrading software and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610631049.6A CN106257423A (en) | 2016-08-04 | 2016-08-04 | Method for upgrading software and user terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106257423A true CN106257423A (en) | 2016-12-28 |
Family
ID=57713732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610631049.6A Pending CN106257423A (en) | 2016-08-04 | 2016-08-04 | Method for upgrading software and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106257423A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246454A (en) * | 2018-09-03 | 2019-01-18 | 郑州云海信息技术有限公司 | Set-top box management method, device, terminal and storage medium based on cloud platform |
CN109725915A (en) * | 2017-10-31 | 2019-05-07 | 深圳光峰科技股份有限公司 | Update device, upgrade method and related DLP system |
CN110968043A (en) * | 2018-09-28 | 2020-04-07 | 发那科株式会社 | Control system for machine tool |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699408A (en) * | 2013-12-12 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Software updating method and equipment |
CN104077160A (en) * | 2014-05-12 | 2014-10-01 | 联动优势电子商务有限公司 | Android software upgrading method, device and system |
CN104360880A (en) * | 2014-11-03 | 2015-02-18 | 联想(北京)有限公司 | Application installing method and electronic equipment |
CN104750511A (en) * | 2013-12-31 | 2015-07-01 | 环达电脑(上海)有限公司 | Method of installing desktop applications |
-
2016
- 2016-08-04 CN CN201610631049.6A patent/CN106257423A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699408A (en) * | 2013-12-12 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Software updating method and equipment |
CN104750511A (en) * | 2013-12-31 | 2015-07-01 | 环达电脑(上海)有限公司 | Method of installing desktop applications |
CN104077160A (en) * | 2014-05-12 | 2014-10-01 | 联动优势电子商务有限公司 | Android software upgrading method, device and system |
CN104360880A (en) * | 2014-11-03 | 2015-02-18 | 联想(北京)有限公司 | Application installing method and electronic equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725915A (en) * | 2017-10-31 | 2019-05-07 | 深圳光峰科技股份有限公司 | Update device, upgrade method and related DLP system |
CN109246454A (en) * | 2018-09-03 | 2019-01-18 | 郑州云海信息技术有限公司 | Set-top box management method, device, terminal and storage medium based on cloud platform |
CN109246454B (en) * | 2018-09-03 | 2021-07-06 | 郑州云海信息技术有限公司 | Set top box management method, device, terminal and storage medium based on cloud platform |
CN110968043A (en) * | 2018-09-28 | 2020-04-07 | 发那科株式会社 | Control system for machine tool |
CN110968043B (en) * | 2018-09-28 | 2024-02-23 | 发那科株式会社 | Control system for machine tool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105573780B (en) | A kind of mobile terminal operating system upgrade method and device based on container | |
CN107239288B (en) | Version upgrading method and device for mobile terminal | |
US8136108B2 (en) | Updating firmware with multiple processors | |
CN105912340A (en) | Primary device, remote control and overhead upgrading method of remote control | |
US20120117557A1 (en) | Method and system for upgrading wireless data card | |
CN103024549A (en) | Method for upgrading software of peripheral equipment of television | |
CN107147519B (en) | Method, device and system for upgrading equipment | |
CN106406955A (en) | A method and a device for upgrades of a bootloader program in an RSU apparatus | |
CN106257423A (en) | Method for upgrading software and user terminal | |
CN103136072B (en) | Automatic repair system and automatic repair method thereof | |
CN108874437B (en) | Online cloud updating method for android application program | |
CN105094913A (en) | System, base band fastener and system application upgrading method and device | |
CN103945264A (en) | Set top box application program upgrading method | |
CN106331862A (en) | Set-top box software upgrading method and set-top box | |
CN107643898A (en) | Terminal staging method and device | |
CN106126203A (en) | A kind of OTA start accelerated method and system | |
CN108536464A (en) | A kind of hot restorative procedure and device of application program | |
CN102883358A (en) | Method and device for batch AP (access point) upgrading | |
CN106020882A (en) | Application upgrading method, intelligent terminal and upgrading system | |
CN105426215A (en) | Payment terminal remote automatch firmware service pack upgrading method based on Ftp | |
CN106303709A (en) | A kind of Set Top Box and application program updating method, system | |
CN106210877A (en) | The method for upgrading system of intelligent television and device | |
CN104965747A (en) | Method and device for upgrading software | |
CN103116502A (en) | Method of achieving upgrading by using main and backup version backup | |
EP3043262A1 (en) | Method and device for remote base station version installation |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161228 |