The utility model content
For the deficiencies in the prior art, the purpose of this utility model is to provide a kind of steady arm and a kind of machine for punching the card with telephone-moving arbitration functions for machine for punching the card telephone-moving judgement, in order to judge the whether telephone-moving of this machine for punching the card.
In order to address the above problem, the utility model provides a kind of steady arm for machine for punching the card telephone-moving judgement, and this steady arm comprises:
-wireless processing module is connected with wireless communication networks, is used for obtaining by wireless communication networks the current location information of this machine for punching the card;
-control module is connected with described wireless processing module, is used for this current location information and pre-stored predeterminated position information are compared, and exports judged result;
-memory module is connected with described control module, is used for the predeterminated position information of this machine for punching the card of storage.
As a kind of preferred technical scheme, described steady arm be built in machine for punching the card or with code keypad that machine for punching the card is connected among.
As a kind of more preferred technical scheme, described steady arm also comprises an interface module that is connected with control module, and described interface module is connected with machine for punching the card, and described control module is mutual by described interface module and machine for punching the card.
A kind of machine for punching the card with telephone-moving arbitration functions, comprise master controller, card reading module, keyboard and network interface, described card reading module, keyboard and network interface all are connected with described master controller, described network interface is connected with communication network, also comprise a steady arm described above, described steady arm is connected with described master controller alternately.Described machine for punching the card can be financial card-reading machine or phone-payment terminal.
In above-mentioned optimal technical scheme, described network interface is fixed telephone network interface or TCP/IP interface or wave point.
In above-mentioned optimal technical scheme, described machine for punching the card also comprises a code keypad, and described steady arm is built among described code keypad.
Steady arm described in the utility model and machine for punching the card compare by current location information and the predeterminated position information of obtaining this machine for punching the card, thereby judge the whether telephone-moving of this machine for punching the card, thereby can prevent effectively that this machine for punching the card from moving to the strange land and concluding the business.
Embodiment
See also Fig. 1, existing receipts single system comprises machine for punching the card 4, net control device 11 and background system.Machine for punching the card 4 can be connected to the net control device 11 that is distributed in various places by 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., still can be connected with background system by the net control device 11 in strange land and conclude the business after moving to the strange land due to machine for punching the card 4, therefore need machine for punching the card 4 can automatic decision before transaction telephone-moving whether.
As shown in Figure 2, for make machine for punching the card 4 can automatic decision whether telephone-moving, this machine for punching the card 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.The method comprises the following steps:
Step S1: the current location information that obtains this machine for punching the card 4 from wireless communication networks 31.
In the present embodiment, wireless communication networks refers to public mobile communication network, and the present embodiment is take the GSM mobile network as example.Wireless processing module 46 can by being connected with wireless communication networks 31 current location information that obtains this machine for punching the card 4, be obtained first kind positional information as the current location information of this machine for punching the card 4 by 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), mobile network No. (MNC, Mobile Network Code), lane place coding (LAC, local area code), cell ID (CI, Cell Identifier), the information such as base station identity code (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 by wireless communication networks 31.Wireless communication networks 31 obtains the Equations of The Second Kind positional information as the current location information of this machine for punching the card 4 by this network location server 2.Above-mentioned Equations of The Second Kind positional information comprises the information such as the descriptor (as D building, C residential quarter, B district, A ground) of the longitude and latitude at this machine for punching the card 4 current places and/or particular location and/or Position Number.
Step S2: this current location information and pre-stored predeterminated position information are compared, judge whether telephone-moving of this machine for punching the card 4.
Has a memory module 48 for storage predeterminated position information in this machine for punching the card 4.Described predeterminated position information refers to the positional information that allows this machine for punching the card 4 to conclude the business, can be above-mentioned first kind positional information or Equations of The Second Kind positional information.Simultaneously, this predeterminated position information can be one, also can be for a plurality of.
When this machine for punching the card 4 is installed, control module 45 is obtained the current location of this machine for punching the card 4 from wireless communication networks 31 by wireless processing module 46, form with first kind positional information or Equations of The Second Kind positional information is stored in memory module 48 as predeterminated position information with this current location information, also the predeterminated position information of this machine for punching the card 4 can be set in memory module 48 by other forms such as manual settings.
Control module 45 is controlled wireless processing module 46 and constantly gather the current location information of this machine for punching the card 4 in operational process, compares with the predeterminated position information of preserving, if conform to, thinks telephone-moving does not occur, and juxtaposition is the state of telephone-moving not; If do not conform to, think that the telephone-moving behavior has occured this machine for punching the card 4, then this machine for punching the card 4 is the state of telephone-moving.At this moment, this machine for punching the card 4 is namely completed the judgement to self shift state machine.
As further improved embodiment, to judge by accident disconnected and increase the dirigibility that machine for punching the card 4 is concluded the business for machine for punching the card 4 is avoided, this machine for punching the card 4 can also further judge the shift state machine of this machine for punching the card 4 by following steps:
Step S3: control module 45 is sent to judged result the master controller 41 of machine for punching the card 4, judgment result is that this machine for punching the card 4 telephone-moving if master controller 41 receives, current location information and predeterminated position packets of information are contained in transaction message and are sent to background system, background system judges whether telephone-moving of this machine for punching the card 4 according to this current location information and predeterminated position information.
It should be noted that it is that communication network by being connected with network interface 44 is completed alternately that this master controller 41 is connected with the data of background system.Because machine for punching the card 4 and being connected of background system have various ways alternately, as wireless communication networks 31 or telephone network PSTN32 or TCP/IP etc., this current location information that comprises machine for punching the card 4 is connected transaction message and can be sent to background system by this wireless communication networks 31 that is connected with network interface 44 or telephone network PSTN32 or TCP/IP network with predeterminated position information, whether telephone-moving judges to this machine for punching the card 4 according to the current location information that deserves machine for punching the card 4 and predeterminated position information by background system, then enters step S4.
Step S4: background system is back to this machine for punching the card 4 with judged result, completes the whether judgement of telephone-moving of this machine for punching the card 4.There is no telephone-moving if background system judges this machine for punching the card, this judged result is back to machine for punching the card 4, the state of this machine for punching the card 4 is not telephone-moving; If background system judges the telephone-moving really of this machine for punching the card 4, this judged result is back to machine for punching the card 4, the state of this machine for punching the card 4 is telephone-moving.
With respect to prior art, the current location information that this machine for punching the card 4 is obtained according to wireless processing module 46 judges whether telephone-moving of this machine for punching the card 4, does not need the people for checking whether telephone-moving of this machine for punching the card 4.And this machine for punching the card 4 can also improve alternately with background system the accuracy of judged result.
The invention also discloses a kind of steady arm for machine for punching the card telephone-moving judgement, this steady arm comprises wireless processing module 46, control module 45 and memory module 48, described wireless processing module 46 is connected with memory module and all is connected with described control module 45, described control module 45 is mutual with described master controller 41, be used for this current location information and pre-stored predeterminated position information are compared, and export judged result; Described 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 machine for punching the card 4; Described memory module 48 is used for storing the predeterminated position information of this machine for punching the card 4.
This steady arm can be built in machine for punching the card 4 or with code keypad that machine for punching the card 4 is connected among, also can be connected with machine for punching the card 4 by an interface module 47.
See also Fig. 3, the invention also discloses a kind of machine for punching the card 4 with telephone-moving arbitration functions, comprise master controller 41, card reading module 42, keyboard 43 and network interface 44, described card reading module 42, keyboard 43 are connected with network interface and all are connected with described master controller 41, and described network interface 44 is connected with communication network.For realize can automatic decision this machine for punching the card 4 function of telephone-moving whether, this machine for punching the card 4 also comprises an above-mentioned steady arm, the control module 45 of steady arm is connected with master controller 41 alternately.
In the present embodiment, this machine for punching the card 4 can be financial card-reading machine or phone-payment terminal.If this machine for punching the card 4 is the financial card-reading machine, its network interface 44 is fixed telephone network interface 44, and this master controller 41 is concluded the business by fixed telephone network and background system.This steady arm can be connected with this machine for punching the card 4, make this machine for punching the card 4 can complete the whether function of telephone-moving of automatic decision.If this machine for punching the card 4 is the phone-payment terminal, this phone-payment terminal is connected with telephone network PSTN32 by network interface 44, conclude the business by FSK agreement and background system, steady arm can be connected with this phone-payment terminal, make this phone-payment terminal have the whether function of telephone-moving of automatic decision.
In actual applications, no matter be financial card-reading machine 4 or phone-payment terminal, in the process of exchange of swiping the card, all need the holder to complete transaction at external code keypad input password, steady arm can also be arranged among code keypad, make the machine for punching the card 4 that is attached thereto have the whether function of telephone-moving of automatic decision.
Because the network interface 44 of network card sweeping machine 4 is the TCP/IP interface, complete transaction by the TCP/IP communication.Connect a steady arm in existing network card sweeping machine 4, increase the telephone-moving arbitration functions of network card sweeping machine 4 by the telephone-moving arbitration functions of steady arm.
In the above embodiments, network interface 44 is an exchange channels of machine for punching the card 4 and background system, so machine for punching the card 4(comprises financial card-reading machine and phone-payment terminal) network interface 44 can be wired, wireless, IP etc., radio network interface can be the network interfaces such as GPRS.
The above has done detailed description to embodiment of the present utility model by reference to the accompanying drawings, but the utility model is not limited to above-mentioned embodiment, in the ken that one skilled in the relevant art possesses, can also make various variations under the prerequisite that does not break away from the utility model aim.