CN103440714B - A kind of POS terminal and network collocating method thereof and system - Google Patents

A kind of POS terminal and network collocating method thereof and system Download PDF

Info

Publication number
CN103440714B
CN103440714B CN201310290545.6A CN201310290545A CN103440714B CN 103440714 B CN103440714 B CN 103440714B CN 201310290545 A CN201310290545 A CN 201310290545A CN 103440714 B CN103440714 B CN 103440714B
Authority
CN
China
Prior art keywords
configuration file
pos terminal
consultation parameter
parameter value
consultation
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.)
Active
Application number
CN201310290545.6A
Other languages
Chinese (zh)
Other versions
CN103440714A (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.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201310290545.6A priority Critical patent/CN103440714B/en
Publication of CN103440714A publication Critical patent/CN103440714A/en
Priority to PCT/CN2014/071175 priority patent/WO2015003483A1/en
Application granted granted Critical
Publication of CN103440714B publication Critical patent/CN103440714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of POS terminal network collocating method, comprising: obtain consultation parameter value, described consultation parameter value is generated multiple configuration file with permutation and combination method; Described configuration file is arranged in POS terminal secure storage areas; According to selection input selection configuration file ID; Read from secure storage areas by configuration file corresponding to the configuration file ID that selects, in this configuration file, extract consultation parameter value; Consultation parameter value according to extracting is carried out communication negotiation and sets up communication link according to communication negotiation result.The invention also discloses a kind of POS terminal and network configuration system thereof.The invention enables POS terminal can adapt to different network environments, accelerate communication time, and reduce follow-up maintenance cost.

Description

A kind of POS terminal and network collocating method thereof and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of POS terminal and network collocating method thereof and system.
Background technology
Along with widely using of POS terminal, its applied environment from banking system to Third-party payment environment, more and more extensively.No matter which kind of applied environment, POS terminal and the background host computer communication carried out safely and fast become one of requisite step.Such as, current mobile terminal carries out communication by 2G/3G network and background host computer usually.But, consider that some applied environment needs to build private network from financial security angle.Therefore, inevitably there are differences in the network environment of different application environment.
When adopting the 2G/3G communication modes such as GPRS, WCDMA, EVDO when POS terminal, need POS terminal just can carry out follow-up transaction flow after access of radio network.What above-mentioned communication modes adopted at link layer is ppp protocol, and according to RFC regulation, at the beginning of communication, the part communications parameter of both sides can be reached an agreement through consultation and ensure subsequent communications process.Ppp protocol provides conventional negotiable parameter (frequently used options), and allows client to revise every consultation parameter to adapt to various network environment.
But, the mobile terminal of current support wireless networking capabilities, such as various smart mobile phone, when carrying out PPP dialing, be all the process adopting the mode of cure parameter to carry out setting up link, be adaptation public network environment and relevant consultation parameter is solidificated in Dial Up script, therefore when terminal development, the configuration successfully carrying out dialling up on the telephone just can adapt to follow-up use, does not consider the extendability of consultation parameter.
And the applied environment of POS terminal is different from civilian cell phone customer, for security consideration, POS terminal needs to operate in private network environment as a rule.Therefore, same POS terminal is when using different ad hoc network environment, communications parameter just there will be because compatible cannot cause the situation of Communications failure, and, same POS terminal may need to use under different network environments, and the Dial Up script of solidification just may cause Communications failure, then need to refresh different firmware for varying environment, even use different POS terminal to solve, this increases the use and maintenance cost of POS greatly.Usually carry out software upgrading to need to use PC, specific download line, specific download program, and the compiling of exploitation again of firmware expends certain cost of labor.
Summary of the invention
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is:
A kind of POS terminal network collocating method is provided, comprises: obtain consultation parameter value, described consultation parameter value is generated multiple configuration file with permutation and combination method; Described configuration file is arranged in POS terminal secure storage areas; According to selection input selection configuration file ID; Read from secure storage areas by configuration file corresponding to the configuration file ID that selects, in this configuration file, extract consultation parameter value; Consultation parameter value according to extracting is carried out communication negotiation and sets up communication link according to communication negotiation result.
Wherein, described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way etc.
Wherein, the value of described character escape process parameter is set to FFFFFFFF, A0000 or 0, and allows expansion to arrange.
Another technical solution used in the present invention is:
A kind of POS terminal network configuration system is provided, comprises: configuration file generation unit, for obtaining consultation parameter value and described consultation parameter value being generated multiple configuration file with permutation and combination method; Configuration file installation unit, for being arranged in POS terminal secure storage areas by described configuration file; Configuration file selection unit, for according to selection input selection configuration file ID; Consultation parameter extraction unit, for reading from secure storage areas by configuration file corresponding to the configuration file ID that selects, extracts consultation parameter value in this configuration file; Consult communication unit, for carrying out communication negotiation according to the consultation parameter value extracted and set up communication link according to communication negotiation result.
Wherein, described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way.
Wherein, the value of described character escape process parameter is set to FFFFFFFF, A0000 or 0, and allows expansion to arrange.
Another technical solution used in the present invention is:
There is provided a kind of POS terminal, comprise POS terminal network configuration system and secure storage areas, described POS terminal network configuration system is described above.
POS terminal of the present invention and network collocating method thereof and system, consultation parameter value is carried out permutation and combination generating configuration file, and configuration file is preloaded in the secure storage areas of POS terminal, the selection when communication will be carried out the consultation parameter extracted in configuration file, and carry out communication negotiation according to consultation parameter and corresponding network environment, and set up communication link according to communication negotiation result, make POS terminal can adapt to different network environments, accelerate communication time, and reduce follow-up maintenance cost.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of POS terminal network configuration system in an embodiment of the present invention;
Fig. 2 is the schematic diagram of a configuration file;
Fig. 3 is the structured flowchart of a kind of POS terminal in an embodiment of the present invention;
Fig. 4 is the flowchart of a kind of POS terminal network collocating method in an embodiment of the present invention.
Main element symbol description:
POS terminal 1; POS terminal network configuration system 100; Configuration file generation unit 11;
Configuration file installation unit 12; Configuration file selection unit 13; Consultation parameter extraction unit 14;
Consult communication unit 15.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized object and effect, accompanying drawing is coordinated to be explained in detail below in conjunction with embodiment.
Seeing also Fig. 1, is the structured flowchart of a kind of POS terminal network configuration system of the present invention.This POS terminal network configuration system 100 comprises configuration file generation unit 11, configuration file installation unit 12, configuration file selection unit 13, consultation parameter extraction unit 14, consults communication unit 15.
According to RFC regulation, at the beginning of communication, the part communications parameter of both sides can be reached an agreement through consultation and ensure subsequent communications process.When adopting the 2G/3G communication modes such as GPRS, WCDMA, EVDO when POS terminal, need POS terminal just can carry out follow-up transaction flow after access of radio network.What above-mentioned communication modes adopted at link layer is ppp protocol, and ppp protocol provides conventional consultation parameter (frequently used options), and allows client to revise every consultation parameter to adapt to various network environment.
Described configuration file generation unit 11 is for obtaining consultation parameter value and described consultation parameter value being generated multiple configuration file with permutation and combination method.Wherein, the only corresponding configuration file ID of each configuration file.Described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way etc.
According to RFC regulation, the LCP negotiation phase of PPP communication is mainly used to the disposal route determining both sides' subsequent communications, such as authentication mode, character escape process etc.Namely described configuration file is combine for the consultation parameter that these disposal routes are corresponding.
Referring to Fig. 2, is the schematic diagram of a configuration file.Composition graphs 2 pairs of configuration files are described.
Such as, in consultation parameter, increase compression algorithm parameter " novj ", " novjccomp ", " nopcomp ", during " noccp " option, represent in negotiations process and do not use vj, these compression algorithms of vjccomp, pcomp, ccp; And when there is no an above-mentioned option, then represent that acquiescence supports these compression algorithms.Compression algorithm whether is used to be determined by opposite end.
For another example, when increasing address parameter " noipdefault " in consultation parameter, represent there is no assigned ip address, distributed by opposite end.When increasing DNS acquiring way parameter " usepeerdns " in consultation parameter, represent that the dns address used in subsequent communications process is specified by opposite end.
For another example, when increasing LCP message retransmission spacing parameter " lcp-echo-interval30 " in consultation parameter, represent that LCP message retransmission interval time is 30s, do not arrange, represent and do not carry out the operation of LCP message retransmission; In consultation parameter, increase LCP message retransmission spacing parameter " lcp-echo-failure3 " represent that the LCP message number of times allowing re-transmission is 3 times.
The selection of consultation parameter value and setting are according to using the case of meeting to gather in various places, and such as, when using in somewhere, Jiangxi, the other side's configuration of routers needs the compatible broadband network considering locality, therefore cannot revise configuration of routers.And find through testing authentication, in the process of carrying out ppp negotiation, server side is because packet parsing mechanism, require that control character during ppp negotiation is all carried out escape by POS terminal, namely need that character escape process parameter " asyncmap " is set to 0xFFFFFFFF and just can carry out normal data transfer.Therefore, the value of " asyncmap " as one of consultation parameter in configuration file, and is set to the FFFFFFFF that commonly uses, A0000,0 three kinds by character escape process parameter " asyncmap " by respectively;
The selection of adjustment configuration file can be passed through, to adapt to different network linking demands before carrying out communication negotiation.This can investigate problem fast, even if preset configuration file is still not enough to adapt to current network conditions, also can forms new configuration file again, be downloaded in POS terminal by secured fashion.Owing to only arranging several configuration parameter in configuration file, file size is only within hundred bytes, and comparing whole firmware is all K byte even M byte usually, downloading expends time in save a lot.
Described configuration file installation unit 12 is for being arranged on described configuration file in POS terminal secure storage areas.
Described configuration file selection unit 13 is for according to selection input selection configuration file ID.Particularly, described selection input is produced by input media, and this input media can be the mechanical rotary input devices such as touch-screen or button.
Described consultation parameter extraction unit 14, for reading from secure storage areas by configuration file corresponding to the configuration file ID that selects, extracts consultation parameter value in configuration file.Such as, when a network fails, keeper enters configuration file and selects interface, and input configuration file ID can select corresponding configuration file, or described configuration file selects the multiple configuration file ID of interface display to select for keeper.
Described negotiation communication unit 15 is for carrying out communication negotiation according to the consultation parameter value extracted and set up communication link according to communication negotiation result.
Referring to Fig. 3, is the structured flowchart of a kind of POS terminal in an embodiment of the present invention.In the present embodiment, described POS terminal network configuration system 100 is arranged in POS terminal 1, and described POS terminal 1 also comprises secure storage areas 200.
Referring to Fig. 4, is the flowchart of a kind of POS terminal network collocating method in an embodiment of the present invention.
This POS terminal network collocating method runs in described POS terminal network configuration system 100, and this POS terminal network collocating method comprises:
Step S101, acquisition consultation parameter value, generate multiple configuration file by described consultation parameter value with permutation and combination method;
Wherein, the only corresponding configuration file ID of each configuration file.Described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way etc.The value of described character escape process parameter " asyncmap " is set to FFFFFFFF, A0000 or 0.
Step S102, described configuration file is arranged in POS terminal secure storage areas;
Step S103, according to selection input selection configuration file ID;
Particularly, described selection input is produced by input media, and this input media can be the mechanical rotary input devices such as touch-screen or button.
Step S104, to read by configuration file corresponding to the configuration file ID that selects from secure storage areas, in this configuration file, extract consultation parameter value;
Step S105, according to extract consultation parameter value carry out communication negotiation and set up communication link according to communication negotiation result.
POS terminal of the present invention and network collocating method thereof and system, consultation parameter value is carried out permutation and combination generating configuration file, and configuration file is preloaded in the secure storage areas of POS terminal, the selection when communication will be carried out the consultation parameter extracted in configuration file, and carry out communication negotiation according to consultation parameter and corresponding network environment, and consulting to set up communication link successfully, make POS terminal can adapt to different network environments, accelerate communication time, and reduce follow-up maintenance cost.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (5)

1. a POS terminal network collocating method, is characterized in that, comprising:
Obtain consultation parameter value, described consultation parameter value is generated multiple configuration file with permutation and combination method;
Described configuration file is arranged in POS terminal secure storage areas;
According to selection input selection configuration file ID;
Read from secure storage areas by configuration file corresponding to the configuration file ID that selects, in this configuration file, extract consultation parameter value;
Consultation parameter value according to extracting is carried out communication negotiation and sets up communication link according to communication negotiation result;
Described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way.
2. a kind of POS terminal network collocating method according to claim 1, it is characterized in that, the value of described character escape process parameter is set to FFFFFFFF, A0000 or 0, and allows expansion to arrange.
3. a POS terminal network configuration system, is characterized in that, comprising:
Configuration file generation unit, for obtaining consultation parameter value and described consultation parameter value being generated multiple configuration file with permutation and combination method;
Configuration file installation unit, for being arranged in POS terminal secure storage areas by described configuration file;
Configuration file selection unit, for according to selection input selection configuration file ID;
Consultation parameter extraction unit, for reading from secure storage areas by configuration file corresponding to the configuration file ID that selects, extracts consultation parameter value in this configuration file;
Consult communication unit, for carrying out communication negotiation according to the consultation parameter value extracted and set up communication link according to communication negotiation result;
Described consultation parameter comprises character escape process parameter, authentication mode, LCP message retransmission number of times, LCP message retransmission interval, compression algorithm, address and DNS acquiring way.
4. a kind of POS terminal network configuration system according to claim 3, it is characterized in that, the value of described character escape process parameter is set to FFFFFFFF, A0000 or 0, and allows expansion to arrange.
5. a POS terminal, is characterized in that, comprises POS terminal network configuration system and secure storage areas, and described POS terminal network configuration system is as described in claim 3-4 any one.
CN201310290545.6A 2013-07-11 2013-07-11 A kind of POS terminal and network collocating method thereof and system Active CN103440714B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310290545.6A CN103440714B (en) 2013-07-11 2013-07-11 A kind of POS terminal and network collocating method thereof and system
PCT/CN2014/071175 WO2015003483A1 (en) 2013-07-11 2014-01-23 Pos terminal and network configuration method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310290545.6A CN103440714B (en) 2013-07-11 2013-07-11 A kind of POS terminal and network collocating method thereof and system

Publications (2)

Publication Number Publication Date
CN103440714A CN103440714A (en) 2013-12-11
CN103440714B true CN103440714B (en) 2015-09-30

Family

ID=49694407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310290545.6A Active CN103440714B (en) 2013-07-11 2013-07-11 A kind of POS terminal and network collocating method thereof and system

Country Status (2)

Country Link
CN (1) CN103440714B (en)
WO (1) WO2015003483A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440714B (en) * 2013-07-11 2015-09-30 福建联迪商用设备有限公司 A kind of POS terminal and network collocating method thereof and system
CN104954193B (en) * 2014-03-31 2018-08-10 中国银联股份有限公司 The system and method for off-line test terminal message
CN107578583B (en) * 2017-08-31 2020-07-28 百富计算机技术(深圳)有限公司 Setting method and system of payment terminal and terminal equipment
CN110875835A (en) * 2018-08-31 2020-03-10 北京意锐新创科技有限公司 Network distribution method and device based on mobile payment equipment
CN109617881A (en) * 2018-12-18 2019-04-12 福建联迪商用设备有限公司 A kind of processing method and terminal of POS terminal message

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188579A (en) * 2006-11-20 2008-05-28 国际商业机器公司 Method and system for managing a shared electronic mail account

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8683046B2 (en) * 2008-11-21 2014-03-25 Microsoft Corporation Unified interface for configuring multiple networking technologies
CN103440714B (en) * 2013-07-11 2015-09-30 福建联迪商用设备有限公司 A kind of POS terminal and network collocating method thereof and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188579A (en) * 2006-11-20 2008-05-28 国际商业机器公司 Method and system for managing a shared electronic mail account

Also Published As

Publication number Publication date
WO2015003483A1 (en) 2015-01-15
CN103440714A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN103440714B (en) A kind of POS terminal and network collocating method thereof and system
EP3476142B1 (en) Methods and entities for ending a subscription
US9497620B2 (en) Method and system for implementing smart card remote operation based on smart card web server
US10834238B2 (en) Blockchain management using a device in a wireless telecommunication system
CN102752375B (en) Realize the remote-operated method and system of smart card
CN105340306B (en) Wireless subscribe to is provided using software-based subscriber identity module
CN102724310B (en) A kind of method that realizes cloud search by mobile terminal
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
CN104866389A (en) Data recovery method as well as data backup method, device and system based on mobile operating system
US20190387396A1 (en) ESIM Card Activation Method, Wireless Router, and User Terminal
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
US20160006828A1 (en) Embedded network proxy system, terminal device and proxy method
CN103369707A (en) Wireless network connection establishing method and terminal equipment
CN103392186A (en) Payment method, payment
US10621335B2 (en) Method and device for verifying security of application
CN108055688A (en) A kind of distribution method and device for intelligent display device, terminal device
CN104333548A (en) Method and system of accessing local services in https websites
CN106972974A (en) The Web network management systems and its terminal authentication method of a kind of electric power LTE wireless terminals
CN102904865A (en) Method, system and equipment for management of multiple digital certificates on basis of mobile terminal
CN103491086A (en) Safety payment method and device for mobile terminal
CN104737566A (en) Method for incorporating subscriber identity data into a subscriber identity module
CN101471953A (en) Information transmission method, system and device
CN102685069A (en) Method and system using combination of subscriber identity module (SIM) card and cloud computing for killing viruses
CN103942121A (en) Data recovery system and mobile terminal
CN103686688A (en) Method and device for protecting user address list of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant