CN109656578A - A kind of POS program bag installation tool - Google Patents
A kind of POS program bag installation tool Download PDFInfo
- Publication number
- CN109656578A CN109656578A CN201811511040.7A CN201811511040A CN109656578A CN 109656578 A CN109656578 A CN 109656578A CN 201811511040 A CN201811511040 A CN 201811511040A CN 109656578 A CN109656578 A CN 109656578A
- Authority
- CN
- China
- Prior art keywords
- pos machine
- pos
- module
- downloading
- installation
- 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/61—Installation
Abstract
The invention discloses a kind of POS program bag installation tools, are related to POS terminal application download technology field.Including model module, views module and controller module;Model module is set as multiple, and each model module is for executing the corresponding download protocol of a POS machine;Views module is for providing display interface and interactive interface;Controller module requires POS machine to execute installation action for controlling the installation procedure file download by the end PC into POS machine, and by serial ports instruction.So, using tool provided by the invention, the specific program packet for being stored in the end pc can be directly loadable into corresponding POS machine by this tool, and it can satisfy the program downloading installation of all types of POS machine, installation is downloaded for the program of all types of POS machine, this tool is only needed, is all equipped with specific tool without every money equipment, greatly facilitates program downloading installation of the POS terminal in production, after-sales service.
Description
Technical field
The present invention relates to POS terminal application download technology field more particularly to a kind of POS program bag installation tools.
Background technique
POS machine is largely popularized and is applied in various industries at present, and the payment function of POS machine makes the installation of its program must be through
Stringent control is crossed, therefore, one strictly effectively conveniently POS terminal program installation method is very necessary again.
If the mounting means of tens sections of equipment is all different, every money equipment requires individual tool and goes to install, and pacifies in this way
Dress is inconvenient to easily go wrong again, and increases the maintenance cost of personnel.
Currently, most common POS machine installation method is remote installation method, although ensure that the safety of POS machine, but still
There are many disadvantages: installation is inconvenient, and when installation needs to keep network unimpeded, and special messenger is needed remotely to monitor, and will receive simultaneously
The limitation of a lot of other conditions.
Summary of the invention
The purpose of the present invention is to provide a kind of POS program bag installation tools, thus solve it is existing in the prior art before
State problem.
To achieve the goals above, The technical solution adopted by the invention is as follows:
A kind of POS program bag installation tool, including model module, views module and controller module;
The model module is set as multiple, and each model module is for executing the corresponding download protocol of a POS machine;
The views module is for providing display interface and interactive interface;
The controller module is used for by the installation procedure file download at the end PC into POS machine, and is instructed by serial ports
It is required that POS machine executes installation action, specifically, being implemented in accordance with the following steps:
A1 selects package file and the POS machine to be downloaded in views module, interacts after connecting with POS machine really
Recognize, if it is confirmed that passing through, then execute A2, otherwise, terminates;
A2 executes download protocol using the model module according to the POS machine type that user inputs, and from the end PC, downloading is corresponding
Program;
A3 reads the file of downloading, is sent to POS machine after packing;
A4 sends downloading and completes (installation) instruction, if A3 step if each file downloads success in A3 step
Middle there are the failures of some file download, then the concrete reason of views module prompt failed download, interrupts downloading.
Preferably, in A3, during downloading, multiple files of downloading are ranked up, under high preferential of priority
It carries.
Preferably, in A1, it is described connect with POS machine after interact confirmation, specifically:
After user chooses POS machine type, start downloading when, first and POS machine shake hands, when shaking hands controller module according to
Different POS machine types, selects different model modules to take different handshake methods, if shaken hands success with POS machine, confirms
The legitimacy of POS machine executes subsequent step;It otherwise, negate the legitimacy of POS machine, subsequent step terminates.
The beneficial effects of the present invention are: POS program bag installation tool provided by the invention, including model module, view mould
Block and controller module;Model module is set as multiple, and each model module is for executing the corresponding downloading association of a POS machine
View;Views module is for providing display interface and interactive interface;Controller module is for controlling the installation procedure file at the end PC
It downloads in POS machine, and requires POS machine to execute installation action by serial ports instruction.So using work provided by the invention
Tool, the specific program packet for being stored in the end pc can be directly loadable into corresponding POS machine by this tool, and since the tool can
To complete program download process for different types of POS machine, it can meet the program downloading peace of all types of POS machine
Dress, and the corresponding download tool operating procedure of every money POS terminal is all, so, for all types of POS machine of exploitation
Program download installation, it is only necessary to this tool is all equipped with specific tool without every money equipment, greatly facilitate
Program of the POS terminal in production, after-sales service downloads installation.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of POS program bag installation tool provided by the invention;
Fig. 2 is a kind of model command interaction schematic diagram;
Fig. 3 is another model command interaction schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention 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 only used to explain the present invention, it is not used to
Limit the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of POS program bag installation tool, including model module, view mould
Block and controller module;
The model module is set as multiple, and each model module is for executing the corresponding download protocol of a POS machine;
The views module is for providing display interface and interactive interface;
The controller module is used for by the installation procedure file download at the end PC into POS machine, and is instructed by serial ports
It is required that POS machine executes installation action, specifically, being implemented in accordance with the following steps:
A1 selects package file and the POS machine to be downloaded in views module, interacts after connecting with POS machine really
Recognize, if it is confirmed that passing through, then execute A2, otherwise, terminates;
A2 executes download protocol using the model module according to the POS machine type that user inputs, and from the end PC, downloading is corresponding
Program;
A3 reads the file of downloading, is sent to POS machine after packing;
A4 sends downloading and completes (installation) instruction, if A3 step if each file downloads success in A3 step
Middle there are the failures of some file download, then the concrete reason of views module prompt failed download, interrupts downloading.
It include multiple models in model module in above-mentioned tool, each model defines a corresponding agreement, each association
View is corresponding with a kind of POS machine, during downloading program, as long as the agreement, which has passed through, will complete to download, if user is defeated
If the POS machine type entered and the POS machine model of connection are different, controller model selects this model module to execute download protocol
Failure will be returned, program downloading installation is unable to complete.
About the download protocol of different POS machine, it is explained as follows:
The download protocol of different POS machine is largely different, even if download protocol is identical, some describing words of the inside
Section also can some differences, be exemplified below:
POSA, downloads installation procedure and message format is as shown in Figure 2.
Download message:<STX><L1L2><cmd><N bytes of binary user data><ETX><LRC>
0x02+len+cmd+data+lrc+0x03
Len indicates the length of entire cmd+data,
Cmd:01 indicates downloading file,
02 indicates installation file.
POSB: downloading installation procedure and message format are as shown in Figure 3.
Download message: 02+cmd+data+03 (being of entirely the packet of fixed length)
Just because of the difference of download protocol, it is possible to be designed a model according to download protocol, as long as meeting this class model
Equipment can be carried out downloading.
The program bag or file that POS machine installation needs are stored in the end pc, and the installation tool to provide through the invention is realized
The downloading of program bag is installed, which needs to provide the agreement and control logic that view interface, tool and POS machine interact
The controller of processing, controller is connect by serial ports with POS machine, during downloading, completes to download by serial port protocol, should
Tool is in use, it is necessary first to according to POS machine type, select corresponding download protocol, and the downloading selected according to user
The path of file is found file at the end pc and is downloaded in the case where agreement passes through.
Since the end pc is connect with POS machine by client cables, so, it, can be according to the POS of connection before program downloading
Machine POS machine corresponding with agreement is compared, and the identity of POS machine is just confirmed when consistent, and is downloaded files into POS machine, no
Then, downloading is not carried out.
The program bag or file needed using POS machine installation, detailed process are as follows:
Step 1, user input POS machine type, select the file to be downloaded, POS machine and the end pc are attached, and selection pair
Answer the serial ports of POS machine;
Step 2, click start to download, and POS machine booting or POS machine are in special downloading interface, download tool and POS machine
It is shaken hands by serial ports;
Step 3, after shaking hands successfully, download tool can obtain the type of POS machine, with user selection POS machine type compare
It is right, type can be prompted wrong if type mistake, jump procedure 2 continues to execute if type is correct;
Step 4, download tool select corresponding model (download protocol) the selected file one of user by controller
A one be transferred to inside POS machine by controller;
Download tool can tell POS machine to be installed after the completion of step 5, downloading, and POS machine can verify the file downloaded
Legitimacy, for example whether file signature legal, whether file format legal etc., download tool can be given to return to tool if illegal
The error message of body, it is legal if POS machine begin to install, and return to installation results.
In A3, during downloading, multiple files of downloading are ranked up, the high preferential downloading of priority.
Because for each POS machine, program bag generally all can include multiple file types, as firmware, application program,
Parameter File, font file, ordinary file etc., and general POS machine is installed to inside POS the concept for having priority to file,
So controller can carry out the file that user selects according to the file ordering priority that model defines in downloading process in A3
Then sequence is installed according still further to the progressive download of priority.
In A1, it is described connect with POS machine after interact confirmation, specifically:
After user chooses POS machine type, start downloading when, first and POS machine shake hands, when shaking hands controller module according to
Different POS machine types, selects different model modules to take different handshake methods, if shaken hands success with POS machine, confirms
The legitimacy of POS machine executes subsequent step;It otherwise, negate the legitimacy of POS machine, subsequent step terminates.
In the above method, first shake hands before downloading, have it is following the utility model has the advantages that
1, shake hands transmission data volume it is generally smaller, serial ports response is fast.
2, first shaking hands before downloading can judge whether POS machine type is legal and whether agreement matches, if illegal
POS machine is directly prompted to user's POS machine mismatch, downloads mistake or waste regular hour so as not to program bag
If 3, some POS machine brush wrong program bag, possibly can not normal use, then need depot repair, increase cost
In addition, tool provided by the invention only needs the computer identified using the support usb serial ports that can install the tool
The installation of POS program bag can be completed.
This tool is based on window operating system, and system version needs XP or more, can be in the system of x86 or x64
On install and use, tool is based on MFC frame, as long as the normal non-window above system cut can use.It is not necessarily to
Third party software is supported.
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:
1. the tool supports the downloading of a variety of POS types, the tool for disaggregatedly finding different type of machines is not needed to increase
Add workload
2. supporting usb downloading mode, it is only necessary to which the usb data line for supporting the computer of this function and genuine to carry can make
With not needing other equipment of additionally purchasing again
3. it is convenient and efficient, the time for successfully only needing one minute is only downloaded from starting to download, without waiting
4. offline downloading, does not need particular network or other environmental requirements
5. being easily understood, it is only necessary to be carried out according to prompt, without configuring cumbersome parameter
6. file needed for can equally exporting from POS is developed convenient for developer
The above is only a 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 are also answered
Depending on protection scope of the present invention.
Claims (3)
1. a kind of POS program bag installation tool, which is characterized in that including model module, views module and controller module;
The model module is set as multiple, and each model module is for executing the corresponding download protocol of a POS machine;
The views module is for providing display interface and interactive interface;
The controller module is used for by the installation procedure file download at the end PC into POS machine, and is instructed and required by serial ports
POS machine executes installation action, specifically, being implemented in accordance with the following steps:
A1 selects package file and the POS machine to be downloaded in views module, confirmation is interacted after connecting with POS machine, such as
Fruit is identified through, then executes A2, otherwise, terminates;
A2 executes download protocol using the model module according to the POS machine type that user inputs, and downloads corresponding journey from the end PC
Sequence;
A3 reads the file of downloading, is sent to POS machine after packing;
A4 sends downloading and completes (installation) instruction, if deposited in A3 step if each file downloads success in A3 step
Fail in some file download, then the concrete reason of views module prompt failed download, interrupts downloading.
2. POS program bag installation tool according to claim 1, which is characterized in that right during downloading in A3
Multiple files of downloading are ranked up, the high preferential downloading of priority.
3. POS program bag installation tool according to claim 1, which is characterized in that in A1, it is described connect with POS machine after
Confirmation is interacted, specifically:
After user chooses POS machine type, when starting downloading, first shake hands with POS machine, controller module is according to difference when shaking hands
POS machine type, select different model modules to take different handshake methods, if shaken hands success with POS machine, confirm POS
The legitimacy of machine executes subsequent step;It otherwise, negate the legitimacy of POS machine, subsequent step terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811511040.7A CN109656578A (en) | 2018-12-11 | 2018-12-11 | A kind of POS program bag installation tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811511040.7A CN109656578A (en) | 2018-12-11 | 2018-12-11 | A kind of POS program bag installation tool |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109656578A true CN109656578A (en) | 2019-04-19 |
Family
ID=66113332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811511040.7A Pending CN109656578A (en) | 2018-12-11 | 2018-12-11 | A kind of POS program bag installation tool |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656578A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753547A (en) * | 2008-12-19 | 2010-06-23 | 北京银迅捷电子技术有限公司 | Method and system for updating applications and parameters of multi-model POS terminal device |
CN102707974A (en) * | 2012-05-02 | 2012-10-03 | 银联商务有限公司 | POS (Point Of Sale) terminal program package downloading method and system |
US20170140350A1 (en) * | 2015-11-13 | 2017-05-18 | Paypal, Inc. | Software development kits for point-of-sale device and mobile device interactive frameworks |
-
2018
- 2018-12-11 CN CN201811511040.7A patent/CN109656578A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753547A (en) * | 2008-12-19 | 2010-06-23 | 北京银迅捷电子技术有限公司 | Method and system for updating applications and parameters of multi-model POS terminal device |
CN102707974A (en) * | 2012-05-02 | 2012-10-03 | 银联商务有限公司 | POS (Point Of Sale) terminal program package downloading method and system |
US20170140350A1 (en) * | 2015-11-13 | 2017-05-18 | Paypal, Inc. | Software development kits for point-of-sale device and mobile device interactive frameworks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414741B (en) | A kind of method and system of remote upgrade PLC | |
CN107734042B (en) | Low-cost remote debugging system and method | |
US11927942B2 (en) | Automatic setup of digital twins for industrial controllers | |
CN103281373B (en) | Home gateway intelligent update device and upgrade method | |
CN107924443B (en) | Firmware upgrading method and system for process control device | |
US20200249937A1 (en) | Information update apparatus and information update method | |
EP2872993A1 (en) | Workflow compilation | |
CN103198265B (en) | A kind of method for opening mobile device root authority | |
CN101657793B (en) | Method, system and computer program for configuring firewalls | |
CN104899031A (en) | Logistics data generation method and apparatus and logistics client configuration method and apparatus | |
MX2008015676A (en) | Comprehensive system for product management. | |
US20130132059A1 (en) | Multiple plc simulation system | |
CN108134690B (en) | Network service deployment process control method, device and system | |
CN101782857A (en) | Payment terminal, software upgrading method and system thereof | |
CN111506322A (en) | Automatic integrated construction development deployment platform and method | |
CN106549996A (en) | Device using method and washing machine based on Quick Response Code | |
US9038058B2 (en) | Configuration of software for a wind turbine | |
CN107483261A (en) | A kind of upgrade method and gateway device | |
CN107423073A (en) | The method for customizing and system of system | |
CN103186392A (en) | Computer system | |
CN105515811A (en) | USB wireless network card configuration method, host, USB wireless network card and communication system | |
CN109656578A (en) | A kind of POS program bag installation tool | |
CN100478897C (en) | Method, device and system for implementing automatic validation of payment during game operation | |
CN104391718A (en) | EPLC (Embedded Programmable Logic Controller) program remote downloading method | |
JP4547614B2 (en) | Fieldbus system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |