Summary of the invention
To the deficiency of prior art, the object of the present invention is to provide a kind of method of judging POS telephone-moving, a kind ofly be used for steady arm and a kind of POS that POS telephone-moving is judged, in order to judge the whether telephone-moving of this POS with telephone-moving arbitration functions.
In order to address the above problem, the invention provides a kind of method of judging POS telephone-moving, may further comprise the steps:
Obtain the current location information of this POS through wireless communication networks;
The predeterminated position information of this current location information with storage is in advance compared, judge the whether telephone-moving of this POS.
As a kind of optimized technical scheme of method of the present invention,, then further comprising the steps of if judged result is the telephone-moving of this POS:
Current location information and predeterminated position information are sent to background system, and background system is judged the whether telephone-moving of this POS once more according to this current location information and predeterminated position information;
Background system is back to this POS with judged result.
A kind of steady arm that is used for POS telephone-moving judgement, this steady arm comprises:
-wireless processing module is connected with wireless communication networks, is used for obtaining through wireless communication networks the current location information of this POS;
-control module is connected with said wireless processing module, is used for the predeterminated position information of this current location information with storage is in advance compared, and the output judged result;
-memory module is connected with said control module, is used to store the predeterminated position information of this POS.
As a kind of optimized technical scheme, said steady arm be built in the POS or with code keypad that the POS is connected among.
As a kind of more optimized technical scheme, said steady arm also comprises the interface module that is connected with control module, and said interface module is connected with the POS, and said control module is mutual through the said interface module and the POS.
A kind of POS with telephone-moving arbitration functions; Comprise master controller, card reading module, keyboard and network interface; Said card reading module, keyboard and network interface all are connected with said master controller; Said network interface is connected with communication network, also comprises just like above-mentioned steady arm, and said steady arm is connected with said master controller alternately.The said POS can be the financial POS or phone-payment terminal.
In the above-mentioned optimal technical scheme, said network interface is fixed telephone network interface or TCP/IP interface or wave point.
In the above-mentioned optimal technical scheme, the said POS also comprises a code keypad, and said steady arm is built among the said code keypad.
The method of the judgement POS according to the invention telephone-moving can compare through current location information and the predeterminated position information of obtaining this POS, thereby judges the whether telephone-moving of this POS; In addition, the POS of the present invention comprises that the steady arm that obtains current location information judges the whether telephone-moving of this POS, thereby can prevent effectively that this POS from moving to the strange land and concluding the business.
Embodiment
See also Fig. 1, existing receipts single system comprises the POS 4, net control device 11 and background system.The POS 4 can be connected to the net control device 11 that is distributed in various places through wireless communication networks 31 or telephone network PSTN32 and connect, and net control device 11 is connected with background system.Wherein, background system mainly comprises POS transaction processing system 1.Because the POS 4 is after moving to the strange land, net control device that still can be through the strange land 11 is connected with background system concludes the business, so needs the POS 4 before transaction, can judge whether telephone-moving automatically.
As shown in Figure 2, can judge whether telephone-moving automatically in order to make the POS 4, this POS 4 comprises a steady arm, steady arm comprises a wireless processing module 46 and the control module 45 that is connected with wireless processing module 46.This method may further comprise the steps:
Step S1: the current location information that obtains this POS 4 from wireless communication networks 31.
In the present embodiment, wireless communication networks refers to public mobile communication network, and present embodiment is an example with the GSM mobile network.Wireless processing module 46 can be obtained the current location information of first kind positional information as this POS 4 through wireless communication networks 31 through being connected the current location information that obtains this POS 4 with wireless communication networks 31.This first kind positional information comprises mobile network No. and base station identification information; Comprise Mobile Country Code MCC (MCC; Mobile Country Code), move network No. (MNC, Mobile Network Code), lane place coding (LAC; Local area code), cell ID (CI, Cell Identifier), base station identity code information such as (BSIC, Base Station Identity Code).
In addition on the one hand, wireless processing module 46 also can be connected with a network location server 2 through wireless communication networks 31.Wireless communication networks 31 obtains the current location information of second type of positional information as this POS 4 through this network location server 2.Above-mentioned second type of positional information comprises information such as descriptor (like D building, C sub-district, B district, A ground) and/or the Position Number of the longitude and latitude and/or the particular location at these POS 4 current places.
Step S2: the predeterminated position information of this current location information with storage is in advance compared, judge whether telephone-moving of this POS 4.
Have in this POS 4 one be used to store predeterminated position information memory module 48.Said predeterminated position information is meant the positional information that allows this POS 4 to conclude the business, and can be above-mentioned first kind positional information or second type of positional information.Simultaneously, this predeterminated position information can be one, also can be for a plurality of.
When this POS 4 is installed; Control module 45 is obtained the current location of this POS 4 from wireless communication networks 31 through wireless processing module 46; Form with first kind positional information or second type of positional information is stored in memory module 48 as predeterminated position information with this current location information, also can wait other forms that the predeterminated position information of this POS 4 is set in memory module 48 through manual setting.
Control module 45 control wireless processing module 46 are constantly gathered the current location information of this POS 4 in operational process, compare with the predeterminated position information of preserving, if conform to, then think telephone-moving does not take place, and put the state of not telephone-moving; If do not conform to, think that then the telephone-moving behavior has taken place this POS 4, this POS 4 is the state of telephone-moving then.At this moment, this POS 4 is promptly accomplished the judgement to self shift state machine.
As further improved embodiment, for being avoided, the POS 4 judges dirigibilities disconnected and 4 transaction of the increase POS by accident, and this POS 4 can also further be judged the shift state machine of this POS 4 through following steps:
Step S3: control module 45 is sent to judged result the master controller 41 of the POS 4; If the judged result that master controller 41 receives is this POS 4 telephone-moving; Then current location information and predeterminated position packets of information are contained in transaction message and are sent to background system, background system is judged whether telephone-moving of this POS 4 according to this current location information and predeterminated position information.
It should be noted that it is to accomplish through the communication network that is connected with network interface 44 alternately that this master controller 41 is connected with the data of background system.Because the POS 4 has various ways alternately with being connected of background system; Like wireless communication networks 31 or telephone network PSTN32 or TCP/IP etc.; This transaction message that comprises current location information and the predeterminated position information of the POS 4 can be sent to background system through this wireless communication networks that is connected with network interface 44 31 or telephone network PSTN32 or TCP/IP network; Whether telephone-moving is judged to this POS 4 according to the current location information that deserves the POS 4 and predeterminated position information by background system, gets into step S4 then.
Step S4: background system is back to this POS 4 with judged result, accomplishes the whether judgement of telephone-moving of this POS 4.If background system judges that this POS does not have telephone-moving, then this judged result is back to the POS 4, the state of this POS 4 is not telephone-moving; If background system is judged the telephone-moving really of this POS 4, then this judged result is back to the POS 4, the state of this POS 4 is telephone-moving.
With respect to prior art, the current location information that this POS 4 obtains according to wireless processing module 46 is judged whether telephone-moving of this POS 4, does not need the people for checking whether telephone-moving of this POS 4.And this POS 4 can also improve the accuracy of judged result alternately with background system.
The invention also discloses a kind of steady arm that POS telephone-moving is judged that is used for; This steady arm comprises wireless processing module 46, control module 45 and memory module 48; Said wireless processing module 46 all is connected with said control module 45 with memory module 48; Said control module 45 and said master controller 41 are mutual, be used for the predeterminated position information of this current location information with storage is in advance compared, and the output judged result; Said wireless processing module 46 is connected with wireless communication networks 31, is used for obtaining from wireless communication networks 31 current location information of this POS 4; Said memory module 48 is used to store the predeterminated position information of this POS 4.
This steady arm can be built in the POS 4 or with code keypad that the POS 4 is connected among, also can pass through an interface module 47 and be connected with the POS 4.
See also Fig. 3; The invention also discloses a kind of POS 4 with telephone-moving arbitration functions; Comprise master controller 41, card reading module 42, keyboard 43 and network interface 44; Said card reading module 42, keyboard 43 all are connected with said master controller 41 with network interface 44, and said network interface 44 is connected with communication network.In order to realize judging automatically the whether function of telephone-moving of this POS 4, this POS 4 also comprises an above-mentioned steady arm, and the control module 45 of steady arm is connected with master controller 41 alternately.
In the present embodiment, this POS 4 can be the financial POS or phone-payment terminal.If this POS 4 is the financial POS, its network interface 44 is a fixed telephone network interface 44, and this master controller 41 is concluded the business through fixed telephone network and background system.Can this steady arm be connected with this POS 4, make this POS 4 can accomplish the function that judges whether telephone-moving automatically.If this POS 4 is the phone-payment terminal; This phone-payment terminal is connected with telephone network PSTN32 through network interface 44; Conclude the business through FSK agreement and background system; Can steady arm be connected with this phone-payment terminal, make this phone-payment terminal have the function that judges whether telephone-moving automatically.
In practical application; No matter be the financial POS 4 or phone-payment terminal; In the process of exchange of swiping the card; All need the holder to accomplish transaction, can also steady arm be arranged among the code keypad, make the POS 4 that is attached thereto have the function that judges whether telephone-moving automatically at external code keypad input password.
Because the network interface 44 of network card sweeping machine 4 is the TCP/IP interface, accomplishes transaction through the TCP/IP communication.In existing network card sweeping machine 4, connect a steady arm, increase the telephone-moving arbitration functions of network card sweeping machine 4 through the telephone-moving arbitration functions of steady arm.
In the above embodiments; Network interface 44 is an exchange channels of the POS 4 and background system; So the network interface 44 of the POS 4 (comprising the financial POS and phone-payment terminal) can be wired, wireless, IP etc., radio network interface can be network interfaces such as GPRS.
Combine accompanying drawing that embodiment of the present invention has been done detailed description above; But the present invention is not limited to above-mentioned embodiment; In the ken that one skilled in the relevant art possessed, can also under the prerequisite that does not break away from aim of the present invention, make various variations.