CN105590377A - Point-of-sales terminal device and program updating method thereof - Google Patents

Point-of-sales terminal device and program updating method thereof Download PDF

Info

Publication number
CN105590377A
CN105590377A CN201410808487.6A CN201410808487A CN105590377A CN 105590377 A CN105590377 A CN 105590377A CN 201410808487 A CN201410808487 A CN 201410808487A CN 105590377 A CN105590377 A CN 105590377A
Authority
CN
China
Prior art keywords
script
pos terminal
terminal apparatus
management system
program
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
Application number
CN201410808487.6A
Other languages
Chinese (zh)
Other versions
CN105590377B (en
Inventor
李伟
戚跃民
徐燕军
严伟锋
李晨
谭颖
齐宁
孙曦
李筑埭
王晓义
杨阳
陈孟
董彬如
张凉
陈宏�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201410808487.6A priority Critical patent/CN105590377B/en
Publication of CN105590377A publication Critical patent/CN105590377A/en
Application granted granted Critical
Publication of CN105590377B publication Critical patent/CN105590377B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention relates to a point-of-sales (POS) terminal device which communicates with an order receiving platform and a background terminal management system. The POS terminal device comprises a communication control unit which controls the communication between the POS terminal device and the background terminal management system in order to download script updating content, a script parser unit which is connected with the communication control unit and is used for parsing the script updating content into script programs, and a business unit which acquires the script programs from the script parser unit, communicates with the order receiving platform and performs script program combination to realize the business functions of the POS terminal device. The efficiency of POS terminal program updating is improved significantly, and the script updating content is of high generality.

Description

Pos terminal apparatus and method for updating program thereof
Technical field
The present invention relates to e-commerce technology field, more particularly, relate to a kind of pos terminal apparatus and method for updating program thereof.
Background technology
Along with the high speed development of Bank Card Industry, China's point of sales terminal (PointOfSale is called for short POS) quantity is keeping annual more than 35% growth rate in recent years, has formed the scale of total amount millions, is the important component part of bankcard network. POS terminal because quantity is many, broad covered area, easily expand, in the time carrying out under line innovative service pilot, there is incomparable advantage. But the transaction that POS supports realizes at present in same application program, flexibility is fixed, lacked to program structure. Along with being on the increase of business demand, POS terminal program is increasingly huge, and renewal difficulty, the long problem of update cycle of POS terminal program become clear day by day, and have become restriction and have received the bottleneck problem of single business fast development.
Conventional P OS terminal is in carrying out program updates, be generally first to develop the program version after renewal by POS manufacturer, then lay on-the-spot use special POS terminal program with manual type to terminal by acquirer and update the equipment, by platform, POS terminal is carried out to program updates. This update mode has been brought great application development cost and manpower and materials cost to acquirer, and along with the more and more faster development speed in current payment market, the renewal frequency of POS terminal program is also more and more higher, and above-mentioned traditional update mode is also more and more hard to carry on.
At present, also occurred in the industry a kind of based on remote download and upgrade the method for POS terminal program. The method, by increase the module of communicating by letter with background terminal management system (TerminalManagementSystem is called for short TMS) in terminal, realizes remote download and local installation of POS terminal program and upgrades. But this mode need to download to this locality from backstage by complete POS terminal program execution is installed, can be lower compared with causing greatly download success rate because of application program. In addition, the POS terminal of different model is needed to the POS terminal program of corresponding exploitation different editions, program development cost is higher.
Therefore, those skilled in the art expect to obtain a kind of pos terminal apparatus and method for updating program thereof that overcomes above-mentioned prior art defect.
Summary of the invention
One object of the present invention be to provide a kind of can the long-range pos terminal apparatus that carries out program updates.
For achieving the above object, the invention provides a kind of technical scheme as follows:
A kind of pos terminal apparatus, its respectively with receive single platform and background terminal communication, pos terminal apparatus comprises: communication control unit, and it controls communicating by letter between pos terminal apparatus and background terminal management system, with more fresh content of Download Script; Script resolver unit, it is connected with communication control unit, is shell script for script being upgraded to Context resolution; And business unit, it obtains shell script from script resolver unit, and communicates by letter with receiving single platform, and carries out the combination of shell script with the business function of enforcement sale point terminal device.
Preferably, communication control unit is also controlled script resolver unit and is obtained program updates from background terminal management system.
Preferably, pos terminal apparatus is set up many-to-one telecommunication with background terminal management system and is connected.
Another object of the present invention is to provide efficiently pos terminal apparatus method for updating program easily of one.
For achieving the above object, the invention provides another technical scheme as follows:
A kind of pos terminal apparatus method for updating program, wherein the application program of pos terminal apparatus operation comprises multiple shell scripts, update method comprises the steps: a), receives single platform and judges whether pos terminal apparatus needs to carry out program updates; If b) pos terminal apparatus need to carry out program updates, pos terminal apparatus and background terminal management system establish a communications link; C), pos terminal apparatus is from more fresh content of background terminal management system Download Script; D), script is upgraded to Context resolution is shell script to pos terminal apparatus; E), shell script is installed and/or carried out to pos terminal apparatus.
Preferably, step a) also comprises step before: acquirer or trade company be by script editing platform edit script program, and is uploaded to afterwards after tested background terminal management system; Background terminal management system generation script is fresh content the single platform of notice receipts more.
Preferably, background terminal management system to script more fresh content carry out data compression for download.
The pos terminal apparatus that the embodiment of the present invention provides and method for updating program thereof, can long-rangely carry out program updates, and terminal program is converted into script resolver unit and several independently shell script. Like this, in the time carrying out the renewal of POS terminal program, only need by communication control unit remote download the more fresh content of script as service scenario program increment, and go out the shell script after renewal by script resolver unit resolves, install subsequently and/or carry out, can realize the adjustment of POS end business function, POS terminal program upgrades efficiency and significantly improves, and has improved the response speed to the market demand. And, hardware differences between the parsing maskable different model POS terminal that script resolver unit carries out, make identical script more fresh content can be updated to the POS terminal in various payment platforms, realize good versatility, and further reduce the workload of POS terminal program exploitation.
Brief description of the drawings
Fig. 1 illustrates the module map of the pos terminal apparatus that first embodiment of the invention provides.
Fig. 2 illustrates the schematic flow sheet of the pos terminal apparatus method for updating program that second embodiment of the invention provides.
Detailed description of the invention
As shown in Figure 1, the pos terminal apparatus 10 that first embodiment of the invention provides communicates by letter to realize business function with receiving single platform 30, and communicates by letter to realize terminal program with background terminal management system 20 and upgrade. This pos terminal apparatus comprises communication control unit 101, script resolver unit 102 and business unit 103.
Generally speaking, communication control unit 101 is controlled communicating by letter between pos terminal apparatus and background terminal management system 20, with more fresh content of Download Script.
Particularly, script renewal content representation is upgraded rear shell script increment or the difference of the front shell script of renewal relatively. Upgrade for obtaining POS terminal program, communication control unit 101 need to not downloaded whole POS terminal program from terminal management system 20, and only downloads its increment or difference, thereby can improve download efficiency.
Script more fresh content can for example generate in the following way, and acquirer or trade company upgrade rear shell script by script editing platform edit script program to generate, and are uploaded to afterwards after tested background terminal management system 20; Shell script before shell script and renewal after the 20 contrast renewals of background terminal management system, with more fresh content of generation script.
Script resolver unit 102 is connected with communication control unit 101, is shell script for script being upgraded to Context resolution.
Particularly, script resolver unit 102 to script more fresh content resolve, restore be applicable to install and/or execution script program. In this resolving, go back the hardware differences between maskable different model POS terminal, make identical script more fresh content can be updated to the POS terminal in various payment platforms, realize good versatility.
" shell script " as referred to herein can comprise menu class shell script, transaction class shell script, control class shell script, resources-type shell script and their any combination.
Wherein, menu class script is used for showing each function menu item, and introduces transaction script; The corresponding type of transaction of transaction class script (consume, cancel etc.), transaction script is made up of elements such as flow process, instruction, data; Control class script and be used for storing key message, comprise that standby interface content shows, gives tacit consent to transaction and systematic parameter etc.; Resources-type script is used for preserving each Template Information, for transaction or operation calls; Comprise data dictionary template, type information template, show information model, Parameter File etc.
Further, shell script comprises version number and/or unique identifying number.
Business unit 103 obtains shell script from script resolver unit 102, and communicates by letter with receiving single platform 30, and carries out the combination of shell script with the business function of enforcement sale point terminal device.
Therefore, the POS terminal program that pos terminal apparatus 10 uses does not solidify, but is stored in this device with the form of shell script, and in the time realizing related service function, business unit 103 calls these shell scripts temporarily, explains according to priority and carries out.
Those skilled in the art understand, business unit 103 can comprise interpreter acquiescently, for shell script is translated into executable instruction so as to carry out.
According to the further improved embodiment of above-described embodiment, communication control unit 101 is also controlled script resolver unit 102 and is obtained program updates from background terminal management system 20. Thereby script resolver unit 102 self also can obtain program updates quickly and easily, to respond the constantly demand of upgrading of industry.
Be further appreciated that according to the above embodiment of the present invention, pos terminal apparatus 10 is set up many-to-one telecommunication with background terminal management system 20 and is connected. , same terminal management system 20 can be served many pos terminal apparatus 10.
The pos terminal apparatus 10 that above-described embodiment provides, in the time carrying out the renewal of POS terminal program, only need by more fresh content of communication control unit remote download script, and by the script resolver unit resolves shell script that makes new advances, install subsequently and/or carry out, can realize the adjustment of POS end business function, POS terminal program upgrades efficiency and significantly improves.
As shown in Figure 2, second embodiment of the invention provides a kind of pos terminal apparatus method for updating program, and wherein the application program of pos terminal apparatus operation is not solidified, but is made up of multiple shell scripts. This update method comprises the steps:
Step S10, receive single platform and judge whether pos terminal apparatus needs to carry out program updates.
Particularly, in the time that pos terminal apparatus communicates by letter to pay business by mails with the single platform of receipts, receive single platform and judge according to the version number of shell script on this pos terminal apparatus or identification number whether this pos terminal apparatus needs to carry out program updates.
If step S11 pos terminal apparatus need to carry out program updates, pos terminal apparatus and background terminal management system establish a communications link.
This step preferably establishes a communications link between pos terminal apparatus and background terminal management system, to transmit reliably more fresh content of script, but not transmits with form or other nonreply modes of datagram.
Wherein, between pos terminal apparatus and background terminal management system, setting up many-to-one telecommunication is connected.
Step S12, pos terminal apparatus are from more fresh content of background terminal management system Download Script.
Particularly, pos terminal apparatus more in the process of fresh content, can adopt at least one of following mechanism: breakpoint transmission at Download Script; Script legitimate verification; Script integrity verification; And repeatedly connect and attempt.
Wherein, in transmitting procedure, as run into network failure, breakpoint transmission mechanism can start to continue to download uncompleted part from the part of having downloaded; Terminal management system also tackle script more fresh content sign, POS terminal script more fresh content downloaded after reply signature carry out legitimate verification; POS terminal also should check the more integrality of fresh content of script, as finds imperfectly, and POS terminal should be pointed out and upgrade unsuccessfully, and return back to state before program updates; POS terminal, in program updates tasks carrying when failure, should record current task state and in the time of conditions being possessed, continue to attempt more new task, until success or exceed frequency of failure restriction.
Further, background terminal management system can to script more fresh content carry out data compression for download, further to improve renewal efficiency.
It is shell script that script is upgraded Context resolution by step S13, pos terminal apparatus.
Particularly, pos terminal apparatus can by being arranged at its inner script resolver unit, script is upgraded to Context resolution be shell script, this process also helps the hardware differences between shielding different model POS terminal, make identical script more fresh content can be updated to the POS terminal in various payment platforms, and further reduce the workload of POS terminal program exploitation.
Shell script is installed and/or carried out to step S14, pos terminal apparatus.
This step completes the renewal to POS terminal program by installing and/or carry out shell script, and then can be with the miscellaneous service function of the program enforcement sale point terminal device of latest edition.
According to the further improvement of above-mentioned the second embodiment, before step S10, also comprise the steps: acquirer or trade company by the former shell script of script editing platform editor and generate new script program, afterwards new script program being uploaded to background terminal management system after tested; Background terminal management system generation script is fresh content the single platform of notice receipts more.
Wherein, former shell script represents to run on the pos terminal apparatus that trade company holds, etc. shell script to be updated, acquirer can retain its backup so that editing and updating, trade company also can edit and update former shell script obtaining after acquirer license. Script editing platform can provide graphic interface, so that above-mentioned editing and updating. The script that background terminal management system generates more fresh content can comprise version number or the identification number of corresponding shell script.
In above-mentioned update method, POS terminal program is realized with the form of several independent script suites, in the time carrying out program updates, only need the script more fresh content of remote download as service scenario program increment, subsequently through resolving, install and/or carrying out, can realize the adjustment of POS end business function, POS terminal program upgrades efficiency and significantly improves, and has improved the response speed to the market demand. In addition, this update method make identical script more fresh content can be updated to the POS terminal in various payment platforms, and can reduce the workload of POS terminal program exploitation.
Above-mentioned explanation is only directed to the preferred embodiments of the present invention, and does not lie in and limit the scope of the invention. Based on thought of the present invention, those skilled in the art can make various deformation designs, and do not depart from thought of the present invention and subsidiary claim.

Claims (10)

1. a pos terminal apparatus, its respectively with receive single platform and background terminal communication, described pos terminal apparatus comprises:
Communication control unit, it controls communicating by letter between described pos terminal apparatus and described background terminal management system, with more fresh content of Download Script;
Script resolver unit, it is connected with described communication control unit, is shell script for described script is upgraded to Context resolution; And
Business unit, it obtains described shell script from described script resolver unit, and communicates by letter with the single platform of described receipts, and the combination of carrying out described shell script is to realize the business function of described pos terminal apparatus.
2. pos terminal apparatus according to claim 1, is characterized in that, described communication control unit is also controlled described script resolver unit and obtained program updates from described background terminal management system.
3. pos terminal apparatus according to claim 1, is characterized in that, described shell script comprises menu class shell script, transaction class shell script, control in class shell script and resources-type shell script any or appoint multiple.
4. pos terminal apparatus according to claim 1, is characterized in that, described shell script comprises version number and/or unique identifying number.
5. according to the pos terminal apparatus described in any one in claim 1 to 4, it is characterized in that, described pos terminal apparatus is set up many-to-one telecommunication with described background terminal management system and is connected.
6. a pos terminal apparatus method for updating program, the application program of wherein said pos terminal apparatus operation comprises multiple shell scripts, described update method comprises the steps:
A), receive single platform and judge whether described pos terminal apparatus needs to carry out program updates;
If b) described pos terminal apparatus need to carry out program updates, described pos terminal apparatus and background terminal management system establish a communications link;
C), described pos terminal apparatus is from more fresh content of described background terminal management system Download Script;
D), described pos terminal apparatus is described shell script by described script renewal Context resolution;
E), described shell script is installed and/or carried out to described pos terminal apparatus.
7. update method as claimed in claim 6, is characterized in that, a) also comprises before step in described step:
Acquirer or trade company be by shell script described in script editing platform editor, and be uploaded to afterwards after tested described background terminal management system;
Described background terminal management system generates more fresh content notify described receipts single platform of described script.
8. update method as claimed in claim 6, is characterized in that, described background terminal management system to described script more fresh content carry out data compression for download.
9. update method as claimed in claim 6, is characterized in that, described step b) in, described pos terminal apparatus is set up many-to-one telecommunication with described background terminal management system and is connected.
10. the update method as described in any one in claim 6 to 9, is characterized in that, described step c) provide following mechanism any or appoint multiple:
Breakpoint transmission;
Legitimate verification;
Integrity verification; And
Repeatedly connect and attempt.
CN201410808487.6A 2014-12-23 2014-12-23 Pos terminal apparatus and its method for updating program Active CN105590377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410808487.6A CN105590377B (en) 2014-12-23 2014-12-23 Pos terminal apparatus and its method for updating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410808487.6A CN105590377B (en) 2014-12-23 2014-12-23 Pos terminal apparatus and its method for updating program

Publications (2)

Publication Number Publication Date
CN105590377A true CN105590377A (en) 2016-05-18
CN105590377B CN105590377B (en) 2018-09-21

Family

ID=55929929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410808487.6A Active CN105590377B (en) 2014-12-23 2014-12-23 Pos terminal apparatus and its method for updating program

Country Status (1)

Country Link
CN (1) CN105590377B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846673A (en) * 2016-12-27 2017-06-13 艾体威尔电子技术(北京)有限公司 Multi-language environment TMS systems
CN107729036A (en) * 2017-11-01 2018-02-23 深圳市帕思菲特科技有限公司 Update the method, apparatus and computer-readable recording medium of POS program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050171853A1 (en) * 2004-02-02 2005-08-04 National Information Solutions Cooperative, Inc. Method and apparatus for providing integrated management of point-of-sale and accounts receivable
CN201498058U (en) * 2009-07-30 2010-06-02 中国工商银行股份有限公司 POS terminal based script processing device
CN101901152A (en) * 2009-06-01 2010-12-01 杨良海 Method for updating contents in batch
CN102707972A (en) * 2012-05-02 2012-10-03 银联商务有限公司 POS (Point Of Sale) terminal program updating method and system
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
CN103327108A (en) * 2013-06-26 2013-09-25 浙江大学城市学院 Cross-platform software management platform based on cloud and construction method thereof
CN103577235A (en) * 2013-11-14 2014-02-12 中安消技术有限公司 Software deploying method, deploying server, computer to be deployed and system
US20140298308A1 (en) * 2013-03-28 2014-10-02 Naver Business Platform Corp. System, method and computer-readable recording medium for synchronous script lazy loading

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050171853A1 (en) * 2004-02-02 2005-08-04 National Information Solutions Cooperative, Inc. Method and apparatus for providing integrated management of point-of-sale and accounts receivable
CN101901152A (en) * 2009-06-01 2010-12-01 杨良海 Method for updating contents in batch
CN201498058U (en) * 2009-07-30 2010-06-02 中国工商银行股份有限公司 POS terminal based script processing device
CN102707972A (en) * 2012-05-02 2012-10-03 银联商务有限公司 POS (Point Of Sale) terminal program updating method and system
CN102724308A (en) * 2012-06-13 2012-10-10 腾讯科技(深圳)有限公司 Software update method and software update system
CN102867377A (en) * 2012-09-20 2013-01-09 中国农业银行股份有限公司 Method and system for realizing services on point-of-sale (POS) terminal machine and POS terminal machine
US20140298308A1 (en) * 2013-03-28 2014-10-02 Naver Business Platform Corp. System, method and computer-readable recording medium for synchronous script lazy loading
CN103327108A (en) * 2013-06-26 2013-09-25 浙江大学城市学院 Cross-platform software management platform based on cloud and construction method thereof
CN103577235A (en) * 2013-11-14 2014-02-12 中安消技术有限公司 Software deploying method, deploying server, computer to be deployed and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106846673A (en) * 2016-12-27 2017-06-13 艾体威尔电子技术(北京)有限公司 Multi-language environment TMS systems
CN106846673B (en) * 2016-12-27 2019-04-16 艾体威尔电子技术(北京)有限公司 Multi-language environment TMS system
CN107729036A (en) * 2017-11-01 2018-02-23 深圳市帕思菲特科技有限公司 Update the method, apparatus and computer-readable recording medium of POS program

Also Published As

Publication number Publication date
CN105590377B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
US10592402B2 (en) Automated integration testing with mock microservices
CN102622241B (en) A kind of method for upgrading software and device
CN108632375B (en) Online upgrading method for distributed deployment service software program
CN102880532B (en) Cloud technology-based test system and method
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN108876619B (en) Processing method, device, equipment and medium based on block chain intelligent contract
US20170139691A1 (en) Pos application development method and cloud server
CN104424095A (en) Automatic testing method and system of mobile terminal
CN109753430B (en) Interface test method of ground data processing system
CN103036706A (en) Local processing method of application upgrading abnormity
CN105808278A (en) Client version upgrading method and device
CN102571860A (en) Method, device and system for managing plug-in module
CN113064630B (en) Mobile terminal APP automatic packaging method, system, electronic equipment and storage medium
CN106897223A (en) A kind of software kit delivery method and device based on continuous integrating
CN110149385A (en) Download upgrading terminals in space
CN104092732A (en) Intelligent terminal software updating method and device
CN104699500A (en) Method for realizing automatic upgrading of bootstrap program in intelligent equipment
CN105590377A (en) Point-of-sales terminal device and program updating method thereof
CN103108024A (en) Incremental downloading method for multi-media self-service terminal
CN110727575B (en) Information processing method, system, device and storage medium
CN102841825A (en) Drive backup method and device and drive restoration method and device
CN104917633A (en) Method and device simulating FOTA upgrade
CN108170588B (en) Test environment construction method and device
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment
US20190012161A1 (en) Distributed and self-deleting apparatus for fast software deployment and upgrade in a network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant