CN106371866A - POS terminal application package downloading method and apparatus, and communication method - Google Patents
POS terminal application package downloading method and apparatus, and communication method Download PDFInfo
- Publication number
- CN106371866A CN106371866A CN201610754232.5A CN201610754232A CN106371866A CN 106371866 A CN106371866 A CN 106371866A CN 201610754232 A CN201610754232 A CN 201610754232A CN 106371866 A CN106371866 A CN 106371866A
- Authority
- CN
- China
- Prior art keywords
- pos terminal
- download
- module
- file
- downloaded
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
The invention discloses a POS terminal application package downloading method and apparatus, and a communication method. The POS terminal application package downloading method comprises the steps of directly downloading a to-be-downloaded file instead of a downloading method; deleting the downloading method, sending a deletion notification to a POS terminal, judging whether the POS terminal deletes a file in a notification list or not, and if yes, deleting the file, otherwise, automatically ignoring the deletion notification; updating the downloading method, and judging whether an original file as same as the to-be-downloaded file exists in the POS terminal or not; if the original file as same as the to-be-downloaded file exists, performing file version comparison, and if the version of the original file is relatively low, downloading the to-be-downloaded file, otherwise, automatically deleting the to-be-downloaded file from a downloading list; and if the original file as same as the to-be-downloaded file does not exist, directly downloading the to-be-downloaded file. Through the method and the apparatus, the upgrading maintenance of the POS terminal is simplified and accelerated, and the running after upgrading is more reliable.
Description
Technical field
The present invention relates to pos terminal software downloading field, more particularly, to a kind of method for down loading of pos terminal applies bag, dress
Put and the means of communication, complete pos terminal applies with the download apparatus of pos terminal applies bag method for down loading by downloading the means of communication
The download of program, simplify, accelerate pos terminal staging safeguard, and ensure upgrading after run relatively reliable.
Background technology
Nowadays, the pos terminal of Fujian Landi Commercial Equipment Co., Ltd. at home market have larger application, use
The upgrade maintenance carrying out system can be changed during use according to demand in family, and this is accomplished by timing and downloads upgrading software.Traditional
Download and need file to be one by one added in download list, downloading process will not check the version of the existing program of pos terminal, can only do
Acquiescence updates, if driving in pos terminal lose (being manually deleted) or version too low (newly-increased interface or when repairing serious bug,
Require application must be using the driving of latest edition) in the case of it is impossible to guarantee user up-to-date driving can be added to download
In list, generation module disappearance or interface interchange fault during leading to use.
Content of the invention
The invention mainly solves the technical problem of providing a kind of method for down loading of pos terminal applies bag, device and communication
Method, is completed under pos end application by downloading the means of communication with the download apparatus of pos terminal applies bag method for down loading
Carry, simplify, accelerate pos terminal staging safeguard, and ensure upgrading after run relatively reliable.
For solving above-mentioned technical problem, one aspect of the present invention is: provides a kind of pos terminal applies bag
Method for down loading, comprising:
Judge the downloading mode that pos terminal selects, under described downloading mode includes more newly downloaded, replacement download and deletes
Carry;If judging, the downloading mode of selection is more newly downloaded, carries out step a;If judging, the downloading mode of selection is downloaded for replacing,
Then carry out step b;If judging, the downloading mode of selection is downloaded for deleting, and carries out step c;
Described step a comprises the following steps,
A1. judge that pos terminal whether there is the original with the same title of file to be downloaded;If not existing, directly under
Carry file to be downloaded;If existing, carry out step a2;
A2. judge whether described original version is less than described file to be downloaded version;If so, then download described to be downloaded
File, and described original is deleted after the completion of downloading;Otherwise, described file to be downloaded is deleted automatically from download list
Remove;
A3. continue to judge the downloading mode that pos terminal selects;
Described step b comprises the following steps, and directly downloads described file to be downloaded and continues to judge the download that pos terminal selects
Mode;
Described step c comprises the following steps,
C1. assign to delete and notify and judge that pos terminal whether there is the file deleted in notifying;If existing, deleting and depositing
It is the described file deleted in notifying;Otherwise, automatically ignore described deletion to notify;
C2. continue to judge the downloading mode that pos terminal selects.
Wherein, described method for down loading also includes judging whether pos terminal selects to delete invalid actuation step;If judging choosing
Select the invalid type of drive step of deletion, then carry out step d;
Described step d comprises the following steps,
D1. compare pos terminal profile, the module drive that there will be no in pos terminal profile is added to deletion
In list;
D2. the driving in delete list is deleted;
D3. continue to judge whether pos terminal selects to delete invalid actuation step.
Wherein, described method for down loading also includes judging whether pos terminal selects to empty pos old application program step;
If judging, selection empties pos old application program step, carries out step e;
Described step e comprises the following steps,
E1. the All Files of pos terminal use's subregion is added to delete list;
E2. the file in delete list is deleted;
E3. continue to judge whether pos terminal selects to empty pos old application program step.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provides a kind of pos terminal applies bag
Download apparatus, comprising:
First judge module, for judge pos terminal select downloading mode, described downloading mode include more newly downloaded,
Replace to download and delete and download;
Using update downloading mode update download module, using the replacement download module replacing downloading mode with using deleting
Deletion download module except downloading mode;
Described renewal download module is included with the second judge module, the 3rd judge module, the first download module and second
Carry module;Described second judge module is used for judging the original that pos terminal whether there is with the same title of file to be downloaded, institute
State the 3rd judge module for judging the height of described original version and described file to be downloaded version;
Described second judge module is in the case of the presence of pos terminal with the original of the same title of described file to be downloaded
Described 3rd judge module is controlled to carry out the contrast of FileVersion;Described 3rd judge module is not higher than in described original version
Control instruction is sent to described first download module, described first download module is downloaded in the case of described file to be downloaded version
Described file to be downloaded simultaneously deletes described original;Described second download module does not exist and described literary composition to be downloaded in pos terminal
Described file to be downloaded is directly downloaded in the case of the described original of the same title of part;
Described replacement download module, is used for directly downloading described file to be downloaded;
Described deletion download module includes the 4th judge module and notification module;Described 4th judge module is used for judging
Pos terminal whether there is file present in described deletion notice, and deletes described deletion in notice in case of presence
File;Described notification module is used for assigning deletion notice.
Wherein, the download apparatus of pos terminal applies bag also includes the 5th judge module and deletes invalid drive module, described
5th judge module is used for judging whether pos terminal selects to delete invalid type of drive, and the invalid drive module of described deletion is used for
Delete the invalid driving of pos terminal;Described 5th judge module controls described deletion invalid when selecting and deleting invalid type of drive
Drive module deletes the module drive not existing in pos terminal profile.
Wherein, the download apparatus of pos terminal applies bag also includes the 6th judge module and empties old program module, described
6th judge module is used for judging whether pos terminal selects to empty pos old application program mode, described empties old program mould
Block is used for emptying the application program of pos user partition;Described 6th judge module selects to empty the old application of pos in pos terminal
Empty, described in controlling during program mode (PM), all application programs that old program module deletes pos terminal use's subregion.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provides a kind of pos terminal applies bag
The download means of communication, comprise the following steps:
Pos terminal is passed through reliable handshake procedure foundation with server and is connected;
Described pos terminal and described server are transmitted the negotiation of layer parameter;
Described pos terminal splits transmission terminating packet to described server by described transport layer, and passes through transport layer
Described terminating packet is sent to the payment products application software of the described server being in application layer by interface;
Described server sends to download by the segmentation of described transport layer to described pos terminal and confirms bag, and by described biography
Described download is confirmed to wrap the application program being sent to the described pos terminal being in described application layer by defeated layer interface.
Wherein, described application layer carries out the conjunction to a upper packet by the return value judging described transport layer interface
Method checks.
The invention has the beneficial effects as follows: the downloading process being different from prior art will not check the existing program of pos terminal
Version, can only do acquiescence and update, if (being manually deleted) or too low (the newly-increased interface or repair of version are lost in driving in pos terminal
It is desirable to application must use the driving of latest edition during multiple serious bug) in the case of it is impossible to ensure that user can be by up-to-date drive
Move and be added in download list, generation module disappearance or interface interchange fault during leading to use, the present invention provides a kind of
The method for down loading of pos terminal applies bag, device and the means of communication, are passed through with the download apparatus of pos terminal applies bag method for down loading
Download the download that the means of communication complete pos end application, simplify, accelerate the maintenance of pos terminal staging, and after guarantee upgrading
That runs is relatively reliable.
Brief description
Fig. 1 is the method for down loading schematic diagram of pos terminal applies bag;
Fig. 2 is to update method for down loading flow chart;
Fig. 3 is method for down loading one embodiment of pos terminal applies bag;
Fig. 4 is method for down loading one embodiment of pos terminal applies bag;
Fig. 5 is method for down loading one embodiment of pos terminal applies bag;
Fig. 6 is method for down loading one embodiment of pos terminal applies bag;
Fig. 7 is the application apparatus of pos terminal applies bag;
Fig. 8 is the schematic diagram of the download means of communication of pos terminal applies bag.
Specific embodiment
By the technology contents of the detailed description present invention, structural features, realized purpose and effect, below in conjunction with embodiment
And coordinate accompanying drawing to be explained in detail.
Refer to Fig. 1 and Fig. 2, the method for down loading of pos terminal applies bag comprises the following steps:
Judge the downloading mode that pos terminal selects, under described downloading mode includes more newly downloaded, replacement download and deletes
Carry;If judging, the downloading mode of selection is more newly downloaded, carries out step a;If judging, the downloading mode of selection is downloaded for replacing,
Then carry out step b;If judging, the downloading mode of selection is downloaded for deleting, and carries out step c;
File is downloaded according to the downloading mode that pos terminal selects;
Described step a comprises the following steps,
A1. judge that pos terminal whether there is the original with the same title of file to be downloaded;If not existing, directly under
Carry file to be downloaded;If existing, carry out step a2;
A2. judge whether described original version is not higher than described file to be downloaded version;If so, treat down described in then downloading
Published article part, and described original is deleted after the completion of downloading;Otherwise, described file to be downloaded is deleted automatically from download list
Remove;
A3. continue to judge the downloading mode that pos terminal selects;
Described step b comprises the following steps, and directly downloads described file to be downloaded and continues to judge the download that pos terminal selects
Mode;
Described step c comprises the following steps,
C1. assign to pos terminal to delete and notify and judge that pos terminal whether there is the file deleted in notice list;If
Exist, then delete and be present in the described file deleted in notifying;Otherwise, automatically ignore described deletion to notify;
C2. continue to judge the downloading mode that pos terminal selects.
In one embodiment, judge the downloading mode that pos terminal selects, described downloading mode includes more newly downloaded, replacement
Download and delete and download.
If selecting more newly downloaded, judge that pos terminal whether there is the original with the same title of file to be downloaded;If depositing
, then carry out the contrast of FileVersion, if described original version is relatively low, download described file to be downloaded, after the completion of download,
Pos terminal obtains one and deletes notice, and described original is deleted;Otherwise, by described file to be downloaded automatically from download list
Middle deletion;If not existing, directly download described file to be downloaded;
If select to replace downloading, directly download described file to be downloaded;
If selection is deleted downloading, when downloading, pos terminal obtains a deletion notice, and described deletes in the list notifying
There is the list of file to be deleted;And judge that pos terminal has the file deleted in notice list;If existing, deleting and being present in
The described file deleted in notifying;Otherwise, automatically ignore described deletion to notify.
Refer to Fig. 3 to Fig. 6, present invention additionally comprises judging whether pos terminal selects to delete invalid actuation step;If judging
Select to delete invalid type of drive step, then carry out step d;
Described step d comprises the following steps,
D1. compare pos terminal profile, the module drive that there will be no in pos terminal profile is added to deletion
In list;
D2. the driving in delete list is deleted;
D3. continue to judge whether pos terminal selects to delete invalid actuation step.
As shown in Figures 3 to 6, step " judging whether pos terminal selects to delete invalid driving ", both " can be sentenced with step
The downloading mode that disconnected pos terminal selects " is carried out it is also possible in step " judging the downloading mode that pos terminal selects " and walk simultaneously
Carry out it is also possible to carry out it is also possible to enter between step abc and step " download file " with step abc simultaneously between rapid abc
OK.
Present invention additionally comprises judging whether pos terminal selects to empty pos old application program step;If judging, selection empties
Pos old application program step, then carry out step e;
Described step e comprises the following steps,
E1. the All Files of pos terminal use's subregion is added to delete list;
E2. the file in delete list is deleted;
E3. continue to judge whether pos terminal selects to empty pos old application program step.
In the particular embodiment, step " judging whether pos terminal selects to empty the old application program of pos ", both permissible
Carry out it is also possible to " judge the download that pos terminal selects in step with step " judging the downloading mode that pos terminal selects " simultaneously
Carry out between mode " and step abc it is also possible to carry out with step abc it is also possible to " publish papers down with step in step abc simultaneously
Carry out between part ".
Additionally, step " judging whether pos terminal selects to empty the old application program of pos " " can also judge pos with step
Whether terminal selects to delete invalid driving " combine carry out.
The downloading process being different from prior art will not check the version of pos terminal existing file, can only do acquiescence and update,
If (being manually deleted) or too low (the newly-increased interface or repair during serious bug it is desirable to application of version are lost in driving in pos terminal
Must be using the driving of latest edition) in the case of it is impossible to ensure user up-to-date driving can be added in download list, meeting
Generation module disappearance or interface interchange fault during leading to use, the present invention provides a kind of download side of pos terminal applies bag
Method, by using updating method for down loading it is achieved that the comparison of file to be downloaded version and pos terminal existing file version, simultaneously
Version requirement according to pos terminal system bottom document carries out automatically updating upgrading to bottom layer driving, simplifies, accelerates pos eventually
That runs after end upgrade maintenance, and guarantee upgrading is relatively reliable.Additionally, delete invalid driving method joining through contrast pos terminal
Put file, delete the module drive of the outer invalid configuration file of pos terminal profile, greatly reduce manual delete cause must
Loss Rate to be driven;Empty pos old application program method, the All Files of user partition is deleted, is that user saves pos
The memory block of terminal.
The present invention provides a kind of download apparatus of pos terminal applies bag, comprising:
First judge module, for judge pos terminal select downloading mode, described downloading mode include more newly downloaded,
Replace to download and delete and download;
Using update downloading mode update download module, using the replacement download module replacing downloading mode with using deleting
Deletion download module except downloading mode;
Described renewal download module is included with the second judge module, the 3rd judge module, the first download module and second
Carry module;Described second judge module is used for judging the original that pos terminal whether there is with the same title of file to be downloaded, institute
State the 3rd judge module for judging the height of described original version and described file to be downloaded version;
Described second judge module is in the case of the presence of pos terminal with the original of the same title of described file to be downloaded
Described 3rd judge module is controlled to carry out the contrast of FileVersion;Described 3rd judge module is not higher than in described original version
Control instruction is sent to described first download module, described first download module is downloaded in the case of described file to be downloaded version
Described file to be downloaded simultaneously deletes described original;Described second download module does not exist and described literary composition to be downloaded in pos terminal
Described file to be downloaded is directly downloaded in the case of the described original of the same title of part;
Described replacement download module, is used for directly downloading described file to be downloaded;
Described deletion download module includes the 4th judge module and notification module;Described 4th judge module is used for judging
Pos terminal whether there is file present in described deletion notice, and deletes described deletion in notice in case of presence
File;Described notification module is used for assigning deletion notice, and described deletes the list having file to be deleted in the list notifying.
The download apparatus of the pos terminal applies bag that the present invention provides also includes the 5th judge module and deletes invalid driving mould
Block, described 5th judge module is used for judging whether pos terminal selects to delete invalid type of drive, the invalid driving mould of described deletion
Block is used for deleting the invalid driving of pos terminal;Described 5th judge module is deleted described in controlling when selecting to delete invalid type of drive
Except invalid drive module deletes the module drive not existed in pos terminal profile.
The download apparatus of the pos terminal applies bag that the present invention provides also includes the 6th judge module and empties old program mould
Block, described 6th judge module is used for judging whether pos terminal selects to empty pos old application program mode, described empty old
Program module is had to be used for emptying the application program of pos user partition;Described 6th judge module selects to empty pos in pos terminal
Empty, described in controlling during old application program mode, all application programs that old program module deletes pos terminal use's subregion.
During use, the interface according to Fig. 7 carries out method setting, and the downloading mode in listed files can voluntarily set
Put, delete invalid driving method and empty pos old application program method, can selection as needed.After setting, click on
Preserve and be loaded into, then can carry out relevant way executes operation.
Refer to Fig. 8, the present invention provides a kind of download means of communication of pos terminal applies bag, comprises the following steps:
Pos terminal to server sends character of shaking hands, and server receives, confirms and sends response character to pos terminal, this
Sample pos terminal has just been set up by reliable handshake procedure with server and has been connected;
Pos terminal to server sends transport layer parameters information, and server receives and sends parameter according to self information should
Answer, be transmitted the negotiation of layer parameter with this and pos terminal;
Pos terminal to server is split by described transport layer and is sent terminating packet, and by transport layer interface by institute
State the payment products application software that terminating packet is sent to the described server being in application layer;
Server sends to download by the segmentation of described transport layer to pos terminal and confirms bag, and passes through described transport layer interface
By the described application program downloaded and confirm that bag is sent to the described pos terminal being in described application layer.
Described application layer carries out the legitimacy to a upper packet by the return value judging described transport layer interface
Check.
It is different from prior art and only have one layer of application process, the communication side paying products application software and pos terminal of pc
Method must be one mechanism of receipts, and in addition to first bag, remaining sends bag and all comprises upper one is received with the legitimacy inspection of bag
Come to an end fruit, illegal in the case of the notice that exits of the exception that sends, so, both wasted the time, also increased downloading process
Complexity.The download means of communication of the pos terminal applies bag that the present invention provides, are divided into two-layer: transport layer and application layer;Transmission
Layer, according to the bag size setting, carries out segmentation to application bag and sends, and ensures the transmitting of each segmentation bag;Application layer is received and dispatched
Data is operated by transport layer interface, carries out the conjunction to a upper packet by the return value judging transport layer interface
Method checks;Handshake procedure before terminating packet, carries out reliability using relatively low baud rate and shakes hands, consult in transport layer parameters
Finish and communicated using high speed baud rate, and subsequent process is all based on transport layer interface and is communicated.So make function
Simplify, flow process becomes apparent from, and also saves the time.
In sum, the present invention is different from the downloading process of prior art and will not check the version of pos terminal existing file,
Acquiescence can only be done update, if (being manually deleted) or too low (the newly-increased interface or repair serious of version are lost in driving in pos terminal
It is desirable to application must use the driving of latest edition during bug) in the case of it is impossible to ensure that up-to-date driving can be added by user
To in download list, generation module disappearance or interface interchange fault during leading to use, the present invention provides a kind of pos terminal
The method for down loading of application bag, by using updating method for down loading it is achieved that file to be downloaded version and pos terminal existing file version
This comparison, simultaneously the version requirement according to pos terminal system bottom document carry out automatically updating upgrading to bottom layer driving, letter
Change, accelerate pos terminal staging safeguard, and ensure upgrading after run relatively reliable.
Additionally, deleting invalid driving method through contrast pos terminal profile, delete outside pos terminal profile no
The module drive of effect configuration file, greatly reduces the manual necessary driving Loss Rate deleted and cause;Empty pos old application journey
Sequence method, the All Files of user partition is deleted, is the memory block that user saves pos terminal.
Additionally, the another solution that the present invention provides: the download means of communication of pos terminal applies bag are different from existing
Technology only has one layer of application process, and pay the products application software and the means of communication of pos terminal of pc must be one machines of receipts
System, in addition to first bag, remaining sends bag and all comprises to the upper one validity checking result receiving bag, illegal situation
Under the notice that exits of the exception that sends, so, both wasted the time, also increased the complexity of downloading process.The present invention provides
Pos terminal applies bag the download means of communication, be divided into two-layer: transport layer and application layer;Transport layer according to set bag size,
Carry out segmentation to application bag to send, and ensure the transmitting of each segmentation bag;Application layer transceiving data passes through transport layer interface
Operated, the validity checking to a upper packet is carried out by the return value judging transport layer interface;End message
Handshake procedure before bag, carries out reliability using relatively low baud rate and shakes hands, consult to finish using high speed baud in transport layer parameters
Rate is communicated, and subsequent process is all based on transport layer interface and is communicated.So make function simplification, flow process more clear
Clear, also save the time.
In sum, the downloading process being different from prior art will not check the version of the existing program of pos terminal, can only do
Acquiescence updates, if driving in pos terminal lose (being manually deleted) or version too low (newly-increased interface or when repairing serious bug,
Require application must be using the driving of latest edition) in the case of it is impossible to guarantee user up-to-date driving can be added to download
In list, generation module disappearance or interface interchange fault during leading to use, the present invention provides a kind of pos terminal applies bag
Method for down loading, device and the means of communication, pass through to download the means of communication complete with the download apparatus of pos terminal applies bag method for down loading
Become pos end application download, simplify, accelerate pos terminal staging safeguard, and ensure upgrading after run more may be used
Lean on.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this
The equivalent structure transformation that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related technical fields, all
It is included within the scope of the present invention in the same manner.
Claims (8)
1. a kind of method for down loading of pos terminal applies bag is it is characterised in that comprise the following steps:
Judge the downloading mode that pos terminal selects, described downloading mode includes more newly downloaded, replacement download and deletes download;If
The downloading mode judging selection is more newly downloaded, then carry out step a;If judging, the downloading mode of selection is downloaded for replacing, and enters
Row step b;If judging, the downloading mode of selection is downloaded for deleting, and carries out step c;
Described step a comprises the following steps,
A1. judge that pos terminal whether there is the original with the same title of file to be downloaded;If not existing, directly downloading and treating
Download file;If existing, carry out step a2;
A2. judge whether described original version is not higher than described file to be downloaded version;If so, then download described literary composition to be downloaded
Part, and described original is deleted after the completion of downloading;Otherwise, described file to be downloaded is deleted automatically from download list;
A3. continue to judge the downloading mode that pos terminal selects;
Described step b comprises the following steps, and directly downloads described file to be downloaded and continues to judge the download side that pos terminal selects
Formula;
Described step c comprises the following steps,
C1. assign to pos terminal to delete and notify and judge that pos terminal whether there is the file deleted in notifying;If existing, delete
Except the file being present in during described deletion notifies;Otherwise, automatically ignore described deletion to notify;
C2. continue to judge the downloading mode that pos terminal selects.
2. according to claim 1 the method for down loading of pos terminal applies bag it is characterised in that further comprising the steps of:
Judge whether pos terminal selects to delete invalid actuation step;If judging to select to delete invalid type of drive step, carry out
Step d;
Described step d comprises the following steps,
D1. compare pos terminal profile, the module drive that there will be no in pos terminal profile is added to delete list
In;
D2. the driving in delete list is deleted;
D3. continue to judge whether pos terminal selects to delete invalid actuation step.
3. the method for down loading of pos terminal applies bag according to claim 1 or claim 2 is it is characterised in that further comprising the steps of:
Judge whether pos terminal selects to empty pos old application program step;If judging, selection empties the old application program of pos
Step, then carry out step e;
Described step e comprises the following steps,
E1. the All Files of pos terminal use's subregion is added to delete list;
E2. the file in delete list is deleted;
E3. continue to judge whether pos terminal selects to empty pos old application program step.
4. a kind of download apparatus of pos terminal applies bag is it is characterised in that include:
First judge module, for judging the downloading mode that pos terminal selects, described downloading mode includes more newly downloaded, replacement
Download and delete and download;
Updating download module, adopting and replace the replacement download module of downloading mode and using under deletion using renewal downloading mode
The deletion download module of load mode;
Described renewal download module is included with the second judge module, the 3rd judge module, the first download module and the second download mould
Block;Described second judge module is used for judging that pos terminal whether there is original with the same title of file to be downloaded, described the
Three judge modules are used for judging the height of described original version and described file to be downloaded version;
Described second judge module controls in the case of the presence of pos terminal with the original of the same title of described file to be downloaded
Described 3rd judge module carries out the contrast of FileVersion;Described 3rd judge module is not higher than described in described original version
Control instruction is sent to described first download module, described first download module is downloaded described in the case of file to be downloaded version
File to be downloaded simultaneously deletes described original;Described second download module does not exist same with described file to be downloaded in pos terminal
Described file to be downloaded is directly downloaded in the case of the described original of sample title;
Described replacement download module, is used for directly downloading described file to be downloaded;
Described deletion download module includes the 4th judge module and notification module;Described 4th judge module is used for judging pos eventually
File present in notice is deleted with the presence or absence of described in end, and deletes the described file deleted in notifying in case of presence;
Described notification module is used for assigning deletion notice.
5. pos terminal applies bag according to claim 4 download apparatus it is characterised in that:
Also include the 5th judge module and delete invalid drive module, described 5th judge module is used for whether judging pos terminal
Select to delete invalid type of drive, the invalid drive module of described deletion is used for deleting the invalid driving of pos terminal;
Described 5th judge module controls described deletion invalid drive module deletion not deposit when selecting and deleting invalid type of drive
Module drive in pos terminal profile.
6. the pos terminal applies bag according to claim 4 or 5 download apparatus it is characterised in that:
Also include the 6th judge module and empty old program module, described 6th judge module is used for whether judging pos terminal
Selection empties pos old application program mode, described empties old program module for emptying the application journey of pos user partition
Sequence;
Described 6th judge module empties old journey described in controlling when pos terminal selects to empty pos old application program mode
Sequence module deletes all application programs of pos terminal use's subregion.
7. a kind of download means of communication of pos terminal applies bag are it is characterised in that comprise the following steps:
Pos terminal is passed through reliable handshake procedure foundation with server and is connected;
Described pos terminal and described server are transmitted the negotiation of layer parameter;
Described pos terminal splits transmission terminating packet to described server by described transport layer, and passes through transport layer interface
Described terminating packet is sent to the payment products application software of the described server being in application layer;
Described server sends to download by the segmentation of described transport layer to described pos terminal and confirms bag, and by described transport layer
Described download is confirmed to wrap the application program being sent to the described pos terminal being in described application layer by interface.
8. pos terminal applies bag according to claim 7 the download means of communication it is characterised in that: described application layer lead to
Cross and judge the return value of described transport layer interface to carry out the validity checking to a upper packet.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610754232.5A CN106371866A (en) | 2016-08-29 | 2016-08-29 | POS terminal application package downloading method and apparatus, and communication method |
PCT/CN2017/097810 WO2018040923A1 (en) | 2016-08-29 | 2017-08-17 | Pos terminal application package download method and apparatus, and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610754232.5A CN106371866A (en) | 2016-08-29 | 2016-08-29 | POS terminal application package downloading method and apparatus, and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371866A true CN106371866A (en) | 2017-02-01 |
Family
ID=57904059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610754232.5A Pending CN106371866A (en) | 2016-08-29 | 2016-08-29 | POS terminal application package downloading method and apparatus, and communication method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106371866A (en) |
WO (1) | WO2018040923A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018040923A1 (en) * | 2016-08-29 | 2018-03-08 | 福建联迪商用设备有限公司 | Pos terminal application package download method and apparatus, and communication method |
CN107911480A (en) * | 2017-12-08 | 2018-04-13 | 前海联大(深圳)技术有限公司 | A kind of Enhancement Method of POS terminal information security |
WO2018209853A1 (en) * | 2017-05-15 | 2018-11-22 | 万达百汇科技(深圳)有限公司 | Pos machine, pos machine wireless communication module firmware upgrade method and computer readable storage medium |
WO2020134536A1 (en) * | 2018-12-28 | 2020-07-02 | 百富计算机技术(深圳)有限公司 | Method and apparatus for customized development for payment application, computer device, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102013982A (en) * | 2010-12-01 | 2011-04-13 | 银联商务有限公司 | Long-distance encryption method and device, management method and device, as well as encryption management method and device |
CN102446105A (en) * | 2010-09-30 | 2012-05-09 | 北大方正集团有限公司 | Method, terminal and system capable of customizing application program as required |
CN105335196A (en) * | 2015-11-02 | 2016-02-17 | 深圳市新国都支付技术有限公司 | POS (Point Of Sale) terminal program incremental download method |
Family Cites Families (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 |
CN102903189A (en) * | 2011-07-25 | 2013-01-30 | 上海昂贝电子科技有限公司 | Terminal transaction method and device |
CN106371866A (en) * | 2016-08-29 | 2017-02-01 | 福建联迪商用设备有限公司 | POS terminal application package downloading method and apparatus, and communication method |
-
2016
- 2016-08-29 CN CN201610754232.5A patent/CN106371866A/en active Pending
-
2017
- 2017-08-17 WO PCT/CN2017/097810 patent/WO2018040923A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446105A (en) * | 2010-09-30 | 2012-05-09 | 北大方正集团有限公司 | Method, terminal and system capable of customizing application program as required |
CN102013982A (en) * | 2010-12-01 | 2011-04-13 | 银联商务有限公司 | Long-distance encryption method and device, management method and device, as well as encryption management method and device |
CN105335196A (en) * | 2015-11-02 | 2016-02-17 | 深圳市新国都支付技术有限公司 | POS (Point Of Sale) terminal program incremental download method |
Non-Patent Citations (1)
Title |
---|
SUPERMAN_0623: "联迪POS下装程序、下装密钥操作手册", 《道客巴巴》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018040923A1 (en) * | 2016-08-29 | 2018-03-08 | 福建联迪商用设备有限公司 | Pos terminal application package download method and apparatus, and communication method |
WO2018209853A1 (en) * | 2017-05-15 | 2018-11-22 | 万达百汇科技(深圳)有限公司 | Pos machine, pos machine wireless communication module firmware upgrade method and computer readable storage medium |
CN107911480A (en) * | 2017-12-08 | 2018-04-13 | 前海联大(深圳)技术有限公司 | A kind of Enhancement Method of POS terminal information security |
WO2020134536A1 (en) * | 2018-12-28 | 2020-07-02 | 百富计算机技术(深圳)有限公司 | Method and apparatus for customized development for payment application, computer device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018040923A1 (en) | 2018-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106371866A (en) | POS terminal application package downloading method and apparatus, and communication method | |
CN101365642B (en) | Remote updating system for elevator control program | |
CN102622241B (en) | A kind of method for upgrading software and device | |
CN107465539A (en) | The upgrade-system of the upgrade method of firmware, terminal and firmware | |
CN103841155A (en) | Software download method and software download device | |
CN103942075B (en) | A kind of electric life controller firmware burning system and method | |
CN108052674A (en) | Quick Response Code uses processing method, device, system and readable storage medium storing program for executing | |
CN107333181A (en) | Linux system intelligent television software upgrade method | |
CN103246511B (en) | A kind of method and mobile terminal processing suspicious harassing and wrecking information for mobile terminal | |
CN106662857B (en) | Control program maintenance device, control program maintenance method and program | |
CN105656987B (en) | Information processing system, Cloud Server and apparatus control method | |
CN111796849A (en) | Firmware remote upgrading method and device | |
CN106790432A (en) | A kind of Oftware updating method and device | |
CN101853173A (en) | Software upgrading method and device of programmable logic device of distributed system | |
CN108923985A (en) | The method of the batch upgrade network equipment in distributed network management system | |
CN105975298A (en) | Method and system for remotely controlling applications of Android terminal | |
CN105959302A (en) | Terminal management framework and method | |
CN102223380A (en) | Client terminal automatic updating frame based on Webservice and application thereof | |
CN110502352A (en) | A kind of external device management system and application method and the self-service machine for having the system | |
CN107645408A (en) | Wireless aps batch upgrade managing device | |
CN105701406A (en) | Method of Android platform for running traditional payment application | |
CN104219268B (en) | Wireless control method, device and terminal | |
CN105979384A (en) | Smart television interaction function card frame management method and device | |
CN103914339B (en) | Server management system and server management method | |
CN111078252A (en) | Application publishing and automatic updating method based on terminal application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170201 |