Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is the swipe the card schematic flow sheet of method of the present invention.As shown in Figure 1, this method of swiping the card may further comprise the steps:
Step S101, the current available card that carries card accounts information sign that the swiping card equipment mobile terminal receive sends is provided with information;
Step S102, the request of swiping the card that said swiping card equipment receives and response POS machine sends is provided with information according to said current available card, from least one card accounts information of having stored, reads with said card accounts information and identifies corresponding card accounts information;
Step S103, said swiping card equipment is sent to the point of sale with the card accounts information that is read, and (Pointof Sales, POS) machine is swiped the card.
Fig. 2 is the structural representation that is used to realize the swiping card equipment of the method for swiping the card shown in Figure 1.Below in conjunction with Fig. 2 above-mentioned steps S101~step S103 is elaborated.
As shown in Figure 2, this swiping card equipment comprises memory module 21, first communication module 22, second communication module 23 and control module 24.Particularly; Can preserve the accounts information of one or more card in the memory module 21; More particularly, card can be various magnetic stripe cards, IC-card or radio-frequency card etc., and its related scope of business can be bank card, third party's fiscard, transportation card and campus card etc.; Accounts information is the magnetic track information of this card for example, for example comprises the card number of card and user's identity information etc. in the magnetic track information.
First communication module 22 can with portable terminal, the equipment that for example can communicate with remote server for mobile phone, PDA or panel computer etc. communicates.Be that mobile phone is that example describes with portable terminal below.In the present embodiment; Preset the application program of swiping the card in the mobile phone; This swipes the card application program when not changing the original function of mobile phone; Can be after start, obtain the current available card that carries card accounts information sign that the user submits to information is set, and through communication interface current available card is provided with information and is sent to swiping card equipment.More particularly, first communication module 22 can have through the various interface wireline interfaces that are connected and communicate by letter that can correspondence with foreign country on data line and the portable terminal, comprises audio port, mini USB mouth and micro SD mouth etc.; Also can have the wave point that carries out data interaction through corresponding short-range communication antenna on short-range communication antenna and the portable terminal, comprise RFID, bluetooth, WiFi, infrared and ZigBee etc.And portable terminal can adopt following dual mode to send current available card to swiping card equipment information is set: a kind of is that each swiping card equipment is swiped the card when operating, and all needs to issue current available card by portable terminal to swiping card equipment information is set; Another kind is provided with information for portable terminal need not to issue available card to swiping card equipment continually; It is provided with information through issuing once available card; Set the card accounts information that current acquiescence is used in the swiping card equipment; So after the operation of repeatedly swiping the card in, the card accounts information that swiping card equipment is used current acquiescence automatically is sent to the POS machine and swipes the card, and receives the available card that portable terminal issues once more until it information is set.
Second communication module 23 can communicate with external POS machine, and particularly, second communication module 23 is provided with and is used for the short-range communication antenna of communicating by letter with external POS machine.
Control module 24 is provided with information according to the current available card that first communication module 22 receives; Wherein card accounts information sign for example is the card number of card; The corresponding card accounts information of inquiry from memory module 21; And the short-range communication antenna through being used in the second communication module 23 communicating by letter with external POS machine, send the operable card accounts information of current appointment to the POS machine.So far, realized under the control of portable terminal, extracted the operation of swiping the card of any card accounts information of storing in the swiping card equipment.
The method of swiping the card according to the foregoing description; Owing to store a plurality of card accounts informations in advance in the swiping card equipment, the current available card that sends according to portable terminal is provided with the current available accounts information of information setting, and the response POS request of swiping the card of sending will this current available card be provided with the specified card accounts information of information and be sent to the operation of swiping the card of POS machine; So when the user has a large amount of card; Only need in advance the card accounts information to be write in the swiping card equipment, can carry out the operation of swiping the card of any card as required, and need not to carry card; Realized the operation of swiping the card easily, and avoided card to be easy to damage or problem such as lose.
Further, in the method for swiping the card of the foregoing description, also comprise before the step of the request of swiping the card that carries card accounts information sign that said swiping card equipment mobile terminal receive sends:
Said swiping card equipment is obtained the card accounts information;
Said swiping card equipment is sent to portable terminal with said card accounts information; Carry out authentication said card accounts information is sent to remote server, and return the instruction that writes that carries said card accounts information to said swiping card equipment during through authentication at said card accounts information by said portable terminal;
Said card accounts information is stored in the instruction of said swiping card equipment response said write.
Particularly, in the present embodiment, on the basis of swiping card equipment shown in Figure 2, also a card reading module can integratedly be set, the readable accounts information that goes out card of this card reading module.
Particularly; When needs carry out card accounts information storage operation; The user can be with card accounts information typing swiping card equipment through on card reading module, swiping the card operation, and swiping card equipment is sent to portable terminal with this card accounts information through first communication module afterwards.After portable terminal receives the card accounts information; Send the card information message identifying that carries this card accounts information to remote server; The accounts information in this card information message identifying is carried out the legitimacy authentication by remote server; And when authentication is passed through, card information is formed accounts information by specified format return to portable terminal.Portable terminal sends to swiping card equipment with accounts information, by swiping card equipment it is stored in the memory module.Further, after portable terminal receives the card accounts information, if this card has password, also need point out the user to input corresponding password, portable terminal is formed the card information message identifying with accounts information and password, sends to the remote gateway checking.
And, except that adopting aforesaid way to carry out the binding of card accounts information, also can initiate bindings by the binding POS machine of special use.Promptly brush waits to bind card on the binding POS of special use machine; By the POS machine accounts information of card is formed the card information message identifying and is sent to remote server; The accounts information in this card information message identifying is carried out the legitimacy authentication by remote server; And when authentication is passed through; Card information is formed accounts information by specified format returns to the POS machine, and by the POS machine through and swiping card equipment between communication interface with the account information send in the swiping card equipment, it is stored in the memory module by swiping card equipment; In addition, remote server also can only successfully be notified to POS machine return authentication when authentication is passed through, on the POS machine, to show the authentication success information.Afterwards; Portable terminal can send the download request that carries this card accounts information sign (for example being card number) to remote server; So that remote server is issued to portable terminal with the card accounts information; By portable terminal the accounts information of downloading is sent to swiping card equipment again, it is stored in the memory module by swiping card equipment.Further,, also need the corresponding password of input on the POS machine,, send to remote gateway, so that the legitimacy of accounts information and password is verified so that the POS machine is formed the card information message identifying with accounts information and password if card itself is provided with password.
Further, the method for swiping the card at the foregoing description also comprises:
The card accounts information delete instruction that carries card accounts information sign that said swiping card equipment mobile terminal receive sends;
Said swiping card equipment responds said card accounts information delete instruction, and deletion identifies corresponding card accounts information with said card accounts information from the card accounts information of having stored.
According to the method for swiping the card of the foregoing description, can remove unwanted card accounts information in the swiping card equipment quickly and easily, thereby effectively practice thrift the storage space in the swiping card equipment.
Further, in the method for swiping the card of the foregoing description, the step of the request of swiping the card that carries card accounts information sign that the swiping card equipment mobile terminal receive sends comprises:
Said swiping card equipment receives card tabulation reading command from portable terminal;
Said swiping card equipment responds said card tabulation reading command; The identification list of the card accounts information of having stored is sent to portable terminal; From said identification list, selecting pending card accounts information sign of swiping the card by said portable terminal, and send the current available card that carries card accounts information sign to said swiping card equipment information is set;
Said swiping card equipment receives said current available card information is set.
Particularly, the application program of swiping the card that presets in the mobile phone is through sending card tabulation reading command with the communication interface of swiping card equipment to the first communication module of swiping card equipment.After first communication module receives card tabulation reading command, the identification list of whole accounts informations is provided or satisfies the identification list of the accounts information of predetermined condition to mobile phone, it is shown to the user on mobile phone screen by mobile phone.More particularly, the identification list of accounts information for example is the tabulation of the corresponding card number of each accounts information, and promptly portable terminal for example can obtain the whole card numbers tabulations in the swiping card equipment or satisfy the card number tabulation etc. of specified requirements after sending card tabulation reading command.
After the user obtains the identification list of accounts information, can select arbitrary account wherein, after mobile phone receives user's selection information, specify the current available card of the account that information is set to the first communication module transmission of swiping card equipment.First communication module receives after this current available card is provided with information; Should current available card information be set and be sent to control module; Identify corresponding card accounts information and be set to current spendable card accounts information with this entrained card accounts information of request of swiping the card in response to this current available card information to be set, and when swiping the card of receiving that external POS sends asked, current spendable card accounts information is sent to external POS machine via second communication module by control module.
Further, in the method for swiping the card of the foregoing description, also comprise: said swiping card equipment is obtained needed electric power from said portable terminal or through built-in power.
In the present embodiment, supply module can through with the wireline interface of portable terminal, for example audio port obtains electric power from portable terminal.Particularly, be example with the audio port, the Speaker mouth of portable terminal comprises left and right two sound channels, and one of them sound channel is used for the communication interface of logical conduct and first communication module, and another sound channel can be used for supplying power to the accounts information memory device.And when supply module adopted the built-in power power supply, built-in power for example was button cell, common batteries and solar cell etc.
Though in the method for swiping the card of the foregoing description; Only control module is illustrated from portable terminal reception request of swiping the card and card tabulation reading command through first communication module; But it should be appreciated by those skilled in the art that multinomial other control informations that this control module also can mobile terminal receive be sent are also carried out corresponding operation in response to this control information.For example portable terminal sends to swiping card equipment and is used to inquire about the Query Information of the current accounts information quantity of storing of this swiping card equipment, and then control module can be carried out the accounts information quantity statistics in response to this Query Information, and statistics is returned to portable terminal.
The present invention also provides a kind of swiping card equipment, and its structure is as shown in Figure 2, comprising:
Memory module 21 is used to store at least one card accounts information;
First communication module 22, the current available card that carries card accounts information sign that is used for the mobile terminal receive transmission is provided with information;
Second communication module 23 is used to receive the request of swiping the card that the POS machine sends;
Control module 24; Be used to respond the request of swiping the card that the POS machine sends; According to said current available card information is set; From the card accounts information of having stored, read with said card accounts information and identify corresponding card accounts information, and the card accounts information that is read is sent to the POS machine via said second communication module swipes the card.
Swiping card equipment according to the foregoing description; Owing to store a plurality of card accounts informations in advance; And the current available accounts information of Information Selection being set according to the current available card that carries card accounts information sign that mobile terminal receive sends, and the swiping the card request of sending in response to the POS machine is swiped the card this and is asked specified card accounts information to be sent to the operation of swiping the card of POS machine; So when the user has a large amount of card; Only need in advance the card accounts information to be write in the swiping card equipment, can carry out the operation of swiping the card of any card as required, and need not to carry card; Realized the operation of swiping the card easily, and avoided card to be easy to damage or problem such as lose.
Further, in the swiping card equipment of the foregoing description, also comprise:
Card reading module is used to obtain the card accounts information; Said card accounts information is sent to portable terminal; Carry out authentication said card accounts information is sent to remote server, and return the instruction that writes that carries said card accounts information to said swiping card equipment during through authentication at said card accounts information by said portable terminal; And the instruction of response said write, store said card accounts information.
Further, in the swiping card equipment of the foregoing description, first communication module also is used for the card accounts information delete instruction that carries card accounts information sign that mobile terminal receive sends; Correspondingly, said control module also is used to respond said card accounts information delete instruction, and deletion identifies corresponding card accounts information with said card accounts information from the card accounts information of having stored.
According to the swiping card equipment of the foregoing description, can remove unwanted card accounts information in the swiping card equipment quickly and easily, thereby effectively practice thrift the storage space in the swiping card equipment.
Further, in the swiping card equipment of the foregoing description, said first communication module also is used for the card tabulation reading command that mobile terminal receive sends; Correspondingly; Said control module also is used to respond said card tabulation reading command; The identification list of the card accounts information of having stored is sent to portable terminal; So that said portable terminal is selected pending card accounts information sign of swiping the card from said identification list, and the current available card that carries card accounts information sign to said swiping card equipment transmission is provided with information.
Further, in the swiping card equipment of the foregoing description, also comprise:
Supply module is used for obtaining needed electric power from said portable terminal or through built-in power.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.