CN107995284A - A kind of OTA upgrade methods suitable for POS machine - Google Patents
A kind of OTA upgrade methods suitable for POS machine Download PDFInfo
- Publication number
- CN107995284A CN107995284A CN201711228840.3A CN201711228840A CN107995284A CN 107995284 A CN107995284 A CN 107995284A CN 201711228840 A CN201711228840 A CN 201711228840A CN 107995284 A CN107995284 A CN 107995284A
- Authority
- CN
- China
- Prior art keywords
- pos machine
- ota
- upgrade
- difference
- installation system
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- 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
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0009—Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of OTA upgrade methods suitable for POS machine, it is related to Internet technical field.The described method includes:POS machine sends the difference upgrade package request for downloading its installation system;OTA servers receive the request, and obtain the matched difference upgrade package of installation system with being carried in the request;Meanwhile the difference upgrade package is sent to the POS machine;After the POS machine downloads the difference upgrade package, restart the POS machine and upgraded, when seeing the LOGO of POS machine main interface, complete upgrading.OTA upgrade methods of the present invention save memory space and resource;The OTA upgrade methods seamless upgrade, does not wipe data, original system in lossless POS machine, on POS machine using not influencing;OTA upgrade methods of the present invention will not stop because of the accident of upgrading, and cause again to upgrade.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of OTA upgrade methods suitable for POS machine.
Background technology
With the rapid development of intelligent AI, the development of POS machine also necessarily diversification.Compared to linux system
Traditional POS, intelligent POS, which most intuitively embody, is that operating system changes.The intelligent Android of customization can be used to grasp for POS terminal
Make system, it supports flexible operation interface and multiple communication modes, can install diversiform application APK softwares, Neng Gouyu
Credible and secure external equipment (code keyboard, base etc.) is connected, and powerful, easy to operate and practical, application prospect is suitable
Extensively.
The system upgrade of intelligent POS machine based on android system is also extremely important.What is stored in general mobile phone is to use
The personal data at family, picture, number etc., and POS machine storage is merchant tenninal information, configuration file, transaction log of swiping the card etc.,
These information relationships are to financial security of the country and the property safety of the people, therefore the system upgrade of POS machine is more careful.
Existing POS machine system firmware upgrading needs the very big complete packet of first download capability, then wipes legacy data, finally carries out system
Update.Therefore existing POS machine system upgrade need to first be backed up and upgraded again, efficiency is low low with security, and also there is upgrading failure
Risk.Therefore a kind of safer and quick stably system upgrade mode is needed.
The content of the invention
It is an object of the invention to provide a kind of OTA upgrade methods suitable for POS machine, so as to solve existing POS machine system
The problem of efficiency is low low with security during system upgrading.
To achieve these goals, the OTA upgrade methods of the present invention suitable for POS machine, the described method includes:
S1, POS machine send the difference upgrade package request for downloading its installation system;
S2, OTA server receive the request, and obtain the matched difference liter of installation system with being carried in the request
Level bag;Meanwhile the difference upgrade package is sent to the POS machine;
S3, after the POS machine downloads the difference upgrade package, restarts the POS machine and is upgraded, when seeing POS
During the LOGO at owner interface, upgrading is completed.
Preferably, the request includes the unique sequence numbers of POS machine and the current version number of POS machine institute installation system.
Preferably, S2, is specially:
S21, OTA server receive the request, analyze and obtain the current version of the installation system carried in the request
This number;
S22, OTA server judge whether with the matched latest edition number of the current version number of the installation system,
If it is, obtaining the difference upgrade package of the version of the installation system, and it is sent to POS machine;If it is not, then by current version
POS machine is sent to for the prompting message of latest edition.
It is highly preferred that when the difference between the current version number of the installation system and latest edition number is more than two-stage
When, then prompt first to back up the system of being currently installed on, then download difference upgrade package, finally upgraded.
It is highly preferred that finally being upgraded, it is specially:During upgrading, POS machine restarts and enters recovery patterns, then
Start the difference upgrade package that recovery service installations are downloaded.
Preferably, the difference upgrade package is completed by the affiliated producer of POS machine, the difference upgrade package after completing
Be uploaded to OTA servers, OTA servers using the installation system in the difference upgrade package received as the installation system most
New version stores.
Preferably, after the latest edition of OTA server storage installation systems, to being mounted with all of the installation system
POS machine sends the scalable prompting message of installation system, and POS machine receives scalable prompting message, and shows user, Ran Houjin
Enter S1.
Preferably, when the size of the difference upgrade package is no more than 10M, directly downloaded using data traffic;When described
The size of difference upgrade package is downloaded in more than 10M using WIFI.
Preferably, when POS machine online upgrading, the difference upgrade package be downloaded to institute's installation system in POS machine/
Under CACHE;
When POS machine upgraded in offline, need to copy manually needs the complete packet of installation system into SD or NAND-FLASH.
The beneficial effects of the invention are as follows:
OTA upgrade methods of the present invention are poor from the download upgrading of OTA servers by network (WIFI, GPRS, CDMA etc.)
To POS machine file system specified directory, difference bag is the content that POS machine original system needs to upgrade, more much smaller than complete packet for subpackage,
Memory space and resource can be saved.
The advantage of OTA upgrade methods maximum of the present invention is seamless upgrade, does not wipe data, original in lossless POS machine
System, POS machine, which is used, not to be influenced.
OTA upgrade methods of the present invention will not stop because of the accident of upgrading, and cause again to upgrade.Such as:Rise
Accident power-off (deducting battery) occurs during level, causes POS machine to be shut down, using the method for the invention again in secondary startup POS
Promoted part will not be wiped after machine, can continue to upgrade from disconnected.
Brief description of the drawings
Fig. 1 applies to the flow diagram of the OTA upgrade methods of POS machine.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with attached drawing, to the present invention into
Row is further described.It should be appreciated that the specific embodiments described herein are not used to only to explain the present invention
Limit the present invention.
OTA (Over-The-Air) technology is also referred to as over the air, and the very crucial step that OTA technologies are realized is exactly
Server is built, and upgrade package is exactly to be downloaded by network from server.OTA servers are exactly an offer download program
Http-server.When POS machine sends request by network downloads relevant upgrade package, substantially it have accessed specific
Http network address, then downloads newest upgrade package from the network address.The main feature of OTA server updatings is exactly safety and easily grasps
Make, therefore, OTA online upgradings can be applied more and more extensive.
Embodiment 1
It is suitable for the OTA upgrade methods of POS machine described in the present embodiment, is specially:
Step 1:After difference upgrade package is completed by POS manufacturers, OTA servers are first uploaded to.The making of difference bag
Instrument is provided by google, is made of some shell scripts and tools, in code source codes.By control compiling condition and
Order, can generate difference bag.
Step 2:Server can directly be pushed to user, after user receives prompting, just download upgrading.User can also be
Whether line detection needs to upgrade, and server will contrast latest edition number on user version number and server, if latest edition
This number is higher than user version number, is just pushed to user, and during without newest upgrade package, it has been newest to suggest that user's current version
Version.
Step 3:During upgrade package smaller (hundreds of KB to several million), so that it may directly downloaded with a small amount of flow, bag slightly larger (tens
More than) when changeable WIFI download.Upgrade package can be downloaded under the specified storage catalogue of POS machine.OTA online upgradings
Update.zip bags be generally downloaded to system /CACHE subregions under, and general upgraded in offline then needs copy is complete manually to rise
Level bag is arrived in SD card (or NANDFLASH).
Step 4:, need not be standby manually because OTA upgradings will not wipe merchant information after upgrade package is downloaded
Part.Unless system version lifting amplitude is very big (such as from Android2.3 to Android5.0), then user can be clearly prompted to need
Back up and upgrade again.Equipment can reboot into recovery patterns during upgrading, then start recovery services (/sbin/
Recovery update.zip bags) are installed.
Step 5:Waiting system upgrades always, and POS machine main interface Logo can be seen by restarting, and upgrading finishes.
User's OTA upgrade methods through this embodiment, have the advantage that for:
1st, upgrading is fast.User only downloads a small amount of difference bag, only substituted for a small amount of code, therefore system upgrade is fast.
2nd, it is simple to obtain upgrade package.User only need click on check renewal can detect OTA servers whether have it is newest
System upgrade bag, or wait 0TA server automatic push, then upgrade.
3rd, security is good.It need not back up, OTA upgrade-systems will not wipe POS terminal legacy data, seamless upgrade, phase
Than with general firmware upgrade, it is safer.
4th, it is easy to operate.Ensure that POS machine there are enough electricity before upgrading, without cumbersome step, automatic download, school
Test, restart upgrading and finish.
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:
OTA upgrade methods of the present invention are poor from the download upgrading of OTA servers by network (WIFI, GPRS, CDMA etc.)
To POS machine file system specified directory, difference bag is the content that POS machine original system needs to upgrade, more much smaller than complete packet for subpackage,
Memory space and resource can be saved.
The advantage of OTA upgrade methods maximum of the present invention is seamless upgrade, does not wipe data, original in lossless POS machine
System, POS machine, which is used, not to be influenced.
OTA upgrade methods of the present invention will not stop because of the accident of upgrading, and cause again to upgrade.Such as:Rise
Accident power-off (deducting battery) occurs during level, causes POS machine to be shut down, using the method for the invention again in secondary startup POS
Promoted part will not be wiped after machine, can continue to upgrade from disconnected.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should
Depending on protection scope of the present invention.
Claims (9)
- A kind of 1. OTA upgrade methods suitable for POS machine, it is characterised in that the described method includes:S1, POS machine send the difference upgrade package request for downloading its installation system;S2, OTA server receive the request, and obtain and upgrade with the matched difference of installation system carried in the request Bag;Meanwhile the difference upgrade package is sent to the POS machine;S3, after the POS machine downloads the difference upgrade package, restarts the POS machine and is upgraded, when seeing POS machine master During the LOGO at interface, upgrading is completed.
- 2. it is suitable for the OTA upgrade methods of POS machine according to claim 1, it is characterised in that the request includes POS The current version number of unique sequence numbers and POS machine the institute installation system of machine.
- 3. it is suitable for the OTA upgrade methods of POS machine according to claim 1, it is characterised in that S2, is specially:S21, OTA server receive the request, analyze and obtain the current version number of the installation system carried in the request;S22, OTA server judge whether with the matched latest edition number of the current version number of the installation system, if It is the difference upgrade package for the version for then obtaining the installation system, and is sent to POS machine;If it is not, then by current version for most The prompting message of new version is sent to POS machine.
- 4. it is suitable for the OTA upgrade methods of POS machine according to claim 3, it is characterised in that when working as the installation system When difference between preceding version number and latest edition number is more than two-stage, then prompts first to back up the system of being currently installed on, then download Difference upgrade package, is finally upgraded.
- 5. it is suitable for the OTA upgrade methods of POS machine according to claim 4, it is characterised in that finally upgraded, specifically For:During upgrading, POS machine restarts and enters recovery patterns, then starts the difference upgrading that recovery service installations are downloaded Bag.
- 6. according to claim 1 be suitable for POS machine OTA upgrade methods, it is characterised in that the difference upgrade package by The affiliated producer of POS machine completes, and the difference upgrade package after completing is uploaded to OTA servers, and OTA servers will connect Installation system in received difference upgrade package is stored as the latest edition of the installation system.
- 7. it is suitable for the OTA upgrade methods of POS machine according to claim 1, it is characterised in that when OTA server storages are pacified After the latest edition of dress system, the scalable prompting message of installation system is sent to all POS machine for being mounted with the installation system, POS machine receives scalable prompting message, and shows user, subsequently into S1.
- 8. it is suitable for the OTA upgrade methods of POS machine according to claim 1, it is characterised in that when the difference upgrade package When size is no more than 10M, directly downloaded using data traffic;When the size of the difference upgrade package is in more than 10M, use WIFI is downloaded.
- 9. it is suitable for the OTA upgrade methods of POS machine according to claim 1, it is characterised in that when POS machine online upgrading, The difference upgrade package be downloaded to institute's installation system in POS machine /CACHE under;When POS machine upgraded in offline, need to copy manually needs the complete packet of installation system into SD or NAND-FLASH.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711228840.3A CN107995284B (en) | 2017-11-29 | 2017-11-29 | OTA (over the air) upgrading method suitable for POS (point of sale) machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711228840.3A CN107995284B (en) | 2017-11-29 | 2017-11-29 | OTA (over the air) upgrading method suitable for POS (point of sale) machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995284A true CN107995284A (en) | 2018-05-04 |
CN107995284B CN107995284B (en) | 2021-02-05 |
Family
ID=62034148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711228840.3A Active CN107995284B (en) | 2017-11-29 | 2017-11-29 | OTA (over the air) upgrading method suitable for POS (point of sale) machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995284B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165034A (en) * | 2018-08-31 | 2019-01-08 | 深圳大势智能科技有限公司 | POS machine upgrade method, device, equipment and storage medium based on OTA |
CN109582333A (en) * | 2018-11-28 | 2019-04-05 | 合肥华凌股份有限公司 | The method of refrigerator software upgrading, medium on refrigerator production line and production line |
CN109783120A (en) * | 2018-12-28 | 2019-05-21 | 易票联支付有限公司 | A kind of POS machine software version updating method and system |
CN111049879A (en) * | 2019-10-24 | 2020-04-21 | 艾体威尔电子技术(北京)有限公司 | Application upgrading management system for intelligent POS equipment |
CN111240709A (en) * | 2019-12-26 | 2020-06-05 | 深圳市优博讯科技股份有限公司 | Firmware upgrading method and system of POS equipment based on android system |
CN112002084A (en) * | 2020-08-05 | 2020-11-27 | 拉卡拉支付股份有限公司 | Method and system for upgrading mPOS terminal |
CN112817630A (en) * | 2021-01-28 | 2021-05-18 | 深圳市华卓智能科技有限公司 | FOTA upgrading method based on small space |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247268A (en) * | 2008-02-26 | 2008-08-20 | 中兴通讯股份有限公司 | Synchronization method and apparatus of terminal system version |
CN101819702A (en) * | 2009-02-27 | 2010-09-01 | 中华电信股份有限公司 | Transaction system and method taking mobile telephone as mobile card reader |
EP2750065A1 (en) * | 2012-12-27 | 2014-07-02 | Telefonica S.A. | Method, system and computer program product for managing operations of service terminals |
CN105357031A (en) * | 2015-09-30 | 2016-02-24 | 青岛海信移动通信技术股份有限公司 | OTA (over the air) upgrade method and device |
CN105930179A (en) * | 2015-12-14 | 2016-09-07 | 中国银联股份有限公司 | Method and apparatus for upgrading transaction terminal |
CN106940651A (en) * | 2017-03-03 | 2017-07-11 | 百富计算机技术(深圳)有限公司 | POS terminal method for upgrading software and device |
-
2017
- 2017-11-29 CN CN201711228840.3A patent/CN107995284B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247268A (en) * | 2008-02-26 | 2008-08-20 | 中兴通讯股份有限公司 | Synchronization method and apparatus of terminal system version |
CN101819702A (en) * | 2009-02-27 | 2010-09-01 | 中华电信股份有限公司 | Transaction system and method taking mobile telephone as mobile card reader |
EP2750065A1 (en) * | 2012-12-27 | 2014-07-02 | Telefonica S.A. | Method, system and computer program product for managing operations of service terminals |
CN105357031A (en) * | 2015-09-30 | 2016-02-24 | 青岛海信移动通信技术股份有限公司 | OTA (over the air) upgrade method and device |
CN105930179A (en) * | 2015-12-14 | 2016-09-07 | 中国银联股份有限公司 | Method and apparatus for upgrading transaction terminal |
CN106940651A (en) * | 2017-03-03 | 2017-07-11 | 百富计算机技术(深圳)有限公司 | POS terminal method for upgrading software and device |
Non-Patent Citations (1)
Title |
---|
施超等: ""基于Android平台OTA差分升级系统设计与实现"", 《信息技术》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165034A (en) * | 2018-08-31 | 2019-01-08 | 深圳大势智能科技有限公司 | POS machine upgrade method, device, equipment and storage medium based on OTA |
CN109582333A (en) * | 2018-11-28 | 2019-04-05 | 合肥华凌股份有限公司 | The method of refrigerator software upgrading, medium on refrigerator production line and production line |
US11816467B2 (en) | 2018-11-28 | 2023-11-14 | Hefei Hualing Co., Ltd. | Refrigerator production line, method for upgrading refrigerator software on production line and medium |
CN109783120A (en) * | 2018-12-28 | 2019-05-21 | 易票联支付有限公司 | A kind of POS machine software version updating method and system |
CN111049879A (en) * | 2019-10-24 | 2020-04-21 | 艾体威尔电子技术(北京)有限公司 | Application upgrading management system for intelligent POS equipment |
CN111049879B (en) * | 2019-10-24 | 2022-04-12 | 艾体威尔电子技术(北京)有限公司 | Application upgrading management system for intelligent POS equipment |
CN111240709A (en) * | 2019-12-26 | 2020-06-05 | 深圳市优博讯科技股份有限公司 | Firmware upgrading method and system of POS equipment based on android system |
CN112002084A (en) * | 2020-08-05 | 2020-11-27 | 拉卡拉支付股份有限公司 | Method and system for upgrading mPOS terminal |
CN112817630A (en) * | 2021-01-28 | 2021-05-18 | 深圳市华卓智能科技有限公司 | FOTA upgrading method based on small space |
Also Published As
Publication number | Publication date |
---|---|
CN107995284B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107995284A (en) | A kind of OTA upgrade methods suitable for POS machine | |
CN102129380B (en) | Server and method and mobile terminal for providing software | |
CN104506639A (en) | Root right acquiring method and device | |
EP1757132B1 (en) | Modular data components for wireless communication devices | |
CN101594613A (en) | The method of terminal equipment and upgrading thereof, system | |
CN101593119B (en) | Method and device for firmware over-the-air of exclusive flash memory combined equipment | |
CN101615128B (en) | Online upgrade method and device of singlechip | |
KR101541112B1 (en) | FOTA system and the method | |
CN103176826B (en) | A kind of method of free configurating terminal device default language and terminal default language configuration system | |
CN106126203A (en) | A kind of OTA start accelerated method and system | |
CN102646043A (en) | Method and device for upgrading mobile terminal software and mobile terminal | |
CN103309712A (en) | Mobile phone software upgrade method and system | |
CN106713384A (en) | Vehicle-mounted terminal peripheral program remote updating method and system | |
CN102215480A (en) | Differential on-air software upgrading method based on cloud computing | |
CN107220074A (en) | To the access of supporting layer software function, upgrade method and device | |
CN104391720A (en) | Rearview mirror box upgrading method based on Android system and rearview mirror box | |
CN102137154A (en) | Method and device for upgrading customer premise equipment (CPE) | |
CN106663016A (en) | Upgrade method, apparatus and device for terminal device | |
CN107315608A (en) | Towards the hot update method of mobile terminal mixed mode | |
CN102348195B (en) | A kind of wireless communication terminal and its method for upgrading software | |
CN104077161A (en) | Client application updating method and device | |
CN109688427A (en) | A kind of smart television and its system repair | |
CN111966372A (en) | Firmware upgrading method, device and equipment for portable printer | |
CN105335195A (en) | Device driver upgrading method and device and electronic device | |
CN105094919A (en) | Application program starting method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |