Summary of the invention
One of purpose of the present invention provides a kind of smart card, and it can solve the problem that smart card can not carry out secure communication with background system in the prior art.Another object of the present invention provides a kind of terminal, has above-mentioned smart card, thereby makes this terminal realize mobile payment function, and need not replace present storage card, makes user's storage card and engine builder of depending within reason.
According to an aspect of the present invention, provide a kind of smart card, having comprised: interface unit, this interface unit comprises first interface module and second interface module, wherein, first interface module is used for and the main-machine communication that holds storage card, and second interface module is used for communicating by letter with storage card; Control module, be used for flowing by the host signal that first interface module receives from main frame, issue first signal and the secondary signal of issuing storage card of intelligent integrated circuit unit in the identification host signal stream, send first signal to the intelligent integrated circuit unit, send secondary signal to described storage card by second interface module; The intelligent integrated circuit unit is used for communicating with control module, receives described first signal from control module.
In technique scheme, preferably, described control module also is used for described first signal and described secondary signal are handled, send described first signal and described secondary signal after handling to described intelligent integrated circuit unit and described storage card respectively, described control module also is used for by the storage card signal flow of second interface module reception from storage card, the 3rd signal of issuing main frame in the storage card signal flow is distinguished with the 4th signal of issuing the intelligent integrated circuit unit, send the 3rd signal to main frame by first interface module, send the 4th signal to the intelligent integrated circuit unit.
In technique scheme, preferably, control module also is used to receive the intelligent integrated circuit cell signal stream from the intelligent integrated circuit unit, the 5th signal of issuing main frame in the smart circuit cell signal stream is distinguished with the 6th signal of issuing storage card, send the 5th signal to described main frame by first interface module, send the 6th signal to described storage card.
In technique scheme, preferably, further comprise: first interface circuit is connected between described first interface module and the described control module; Second interface circuit is connected between described control module and the described intelligent integrated circuit unit.
In technique scheme, preferably, described first interface module is positioned on the first surface of card body of described smart card, and described second interface module is positioned on the second surface of card body of described smart card, and described first surface and described second surface be front and back each other.
In technique scheme, preferably, further comprise: the 3rd interface circuit; Linkage unit passes the card body of described smart card, is connected between described control module and the 3rd interface circuit; Wherein, second interface module is connected to described control module by the 3rd interface circuit and linkage unit.
In technique scheme, preferably, smart card may further include flexible antennas, and the intelligent integrated circuit unit has antenna port, is used to connect this flexible antennas, and described smart card communicates by flexible antennas and external unit.
In technique scheme, preferably, external unit can comprise automated banking machine, point-of-sale terminal, gate inhibition's terminal, charge station's terminal.
In technique scheme, preferably, the shape of smart card and described storage card coupling, the thickness of smart card depends on the size of slot that is used to hold storage card of the thickness of storage card and main frame.
By technical scheme of the present invention, on existing smart card that is used for SIM card and storage card internally-arranged type smart card, improve, can be used to any main frame that inserts storage card that has, and convert main frame to mobile payment device, the manufacturer of dependence within reason and main frame and storage card, have with the secure communication of background system and with the contactless mutual stable RF channel of POS machine.
According to a further aspect in the invention, provide a kind of terminal, comprised above-mentioned smart card.
In technique scheme, preferably, also comprise driver module, be used to make and communicate between described main frame and the described smart card, make to communicate between described main frame and the described storage card, and be respectively signal that is used for described smart card and the different label of signal interpolation that is used for described storage card.
In technique scheme, preferably, described driver module also comprises first application programming interfaces that are used for described smart card and second application programming interfaces that are used for described storage card.
In technique scheme, preferably, the housing of described terminal is a metal, and the described flexible antennas of described smart card is positioned at outside the described housing.
According to technical scheme of the present invention, not only can guarantee that main frame carries out secure communication by smart card and background system, and can realize that smart card carries out contactless communicating by letter with external unit, realize mobile payment function, and need not replace present storage card, make user's storage card and engine builder of depending within reason.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with the drawings and specific embodiments.
Set forth a lot of details in the following description so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 1 is the structured flowchart of smart card according to an embodiment of the invention.
As shown in Figure 1, provide a kind of smart card 100, having comprised:
Interface unit 110, interface unit 110 comprise first interface module 112 and second interface module 114, and wherein first interface module 112 is used for communicating with the main frame that holds storage card, and second interface module 114 is used for communicating with storage card;
Control module 104, be used for flowing by the host signal that first interface module 112 receives from main frame, issue first signal and the secondary signal of issuing storage card of intelligent integrated circuit unit 106 in the identification host signal stream, send first signal to intelligent integrated circuit unit 106, send secondary signal to described storage card by described second interface module 114;
Intelligent integrated circuit unit 106 is used for communicating with control module 104, receives described first signal from control module 104.
Preferably, can also comprise flexible antennas 108, realization is communicated by letter with external unit.It will be appreciated by those skilled in the art that in this embodiment even remove flexible antennas 108, present embodiment remains a complete technical scheme.。
In technique scheme, preferably, described control module 104 also is used for described first signal and described secondary signal are handled, send described first signal and described secondary signal after handling to described intelligent integrated circuit unit and described storage card respectively, described control module 104 also is used for by the storage card signal flow of second interface module, 114 receptions from storage card, the 3rd signal of issuing main frame in the storage card signal flow is distinguished with the 4th signal of issuing intelligent integrated circuit unit 106, send the 3rd signal to main frame by first interface module 112, send the 4th signal to intelligent integrated circuit unit 106.
In technique scheme, preferably, control module 104 also is used to receive the intelligent integrated circuit cell signal stream from intelligent integrated circuit unit 106, the 5th signal of issuing main frame in the smart circuit cell signal stream is distinguished with the 6th signal of issuing storage card, send the 5th signal to described main frame by first interface module 112, send the 6th signal to described storage card by second interface module 114.
In technique scheme, preferably, further comprise: first interface circuit is connected between first interface module 112 and the control module 104; Second interface circuit is connected between control module 104 and the intelligent integrated circuit unit 106.
In technique scheme, preferably, first interface module 112 is positioned on the first surface of card body of smart card, and second interface module 114 is positioned on the second surface of card body of described smart card, and first surface and second surface be front and back each other.
In technique scheme, preferably, further comprise: the 3rd interface circuit; And linkage unit, described linkage unit passes the card body of smart card, is connected between control module 104 and the 3rd interface circuit; Wherein, second interface module 114 is connected to control module 104 by the 3rd interface circuit and linkage unit.
In technique scheme, preferably, described smart card further comprises flexible antennas 108, and intelligent integrated circuit unit 106 has antenna port, is used to connect flexible antennas 108, and described smart card communicates by described flexible antennas and external unit.
In technique scheme, preferably, external unit can comprise automated banking machine, point-of-sale terminal, gate inhibition's terminal, charge station's terminal etc.
In technique scheme, preferably, the shape of smart card and storage card coupling, the thickness of smart card depends on the size of the thickness and the slot that main frame holds storage card of storage card.
First signal in the embodiment of the invention is the general designation that main frame is issued the signal of smart card, secondary signal is the general designation that main frame is issued the signal of storage card, the 3rd signal is the general designation that storage card is issued the signal of main frame, the 4th signal is the general designation that storage card is issued the signal of smart card, the 5th signal is the general designation that smart card is issued the signal of main frame, the 6th signal is the general designation that smart card is issued the signal of storage card, and according to different application, above-mentioned six kinds of signals can be different signals.
Below by principle of work and the signal mutual situation of specific explanations that specifically should be used for according to technique scheme of the present invention according to the smart card in the embodiment of the invention:
When described smart card is provided with the small amount payment function, for example realize small amount payment functions such as mass transit card, market and supermarket.The user can arrive the recharge point of appointment and supplement with money, also can utilize main frames such as mobile phone, PC to carry out online recharge by network, and idiographic flow can be as follows:
S101, the user sends charging request by main frame to supplementing server with money;
Main frame at first will send the authentication information request (being equivalent to first signal) of reading to smart card, smart card receive described read the authentication information request after, the authentication information (being equivalent to the 5th signal) of smart cards for storage is sent to main frame, main frame is after receiving this authentication information, generate charging request according to information such as this authentication information and recharge amounts, and send to and supplement server with money.
S102, whether supplement the server authentication charging request with money legal;
S103 supplements server with money after the checking charging request is legal, finishes according to charging request and supplements with money, and send successful recharging message to main frame, can comprise information such as the time of supplementing with money, recharge amount in the described successful recharging message;
S104, main frame send to smart card with successful recharging message (being equivalent to first signal) after receiving successful recharging message;
S105, smart card is according to the balance amount information of this successful recharging message modification storage on it, and to main frame transmission remaining sum modification success message (being equivalent to the 5th signal), and generate according to the time of supplementing with money in this successful recharging message and recharge amount and to supplement recording messages with money, and supplement this with money recording messages (being equivalent to the 6th signal) and send to storage card;
S106, storage card receive supplement recording messages with money after, with its storage.
By aforesaid operations, just can finish once online supplementing with money.
After the user uses this smart card to finish small amount payment, this smart card can produce transaction record message, and this transaction record message (being equivalent to the 6th signal) sent to storage card, comprise information such as exchange hour and dealing money in this transaction record message, storage card is stored this transaction record message.
When need inquiring about, the user supplements record with money and/or during transaction record, the user sends to storage card by main frame and supplements record queries request and/or transaction record query requests (being equivalent to secondary signal) with money, storage card receive supplement record queries request and/or transaction record query requests with money after, return to main frame and to supplement recording messages with money and/or transaction record is looked into message (being equivalent to the 3rd signal).
Simultaneously, smart card also can with himself some data or procedure stores on storage card, when needs, read corresponding information (being equivalent to the 4th signal) from storage card.
Be that example describes with the smart card in the embodiment of the invention as the small amount payment instrument only below, this smart card can also be realized any one or the combination in the functions such as bank card, gate inhibition's card, credit card, member card.
By technique scheme, can guarantee that smart card is realized by main frame and background system carries out secure communication, and can realize contactless the communicating by letter of smart card and external unit, need not to replace present storage card, realize mobile payment function.
Fig. 2 shows the structured flowchart of the terminal that has above-mentioned smart card according to an embodiment of the invention.
As shown in Figure 2, embodiments of the invention provide a kind of terminal 200, comprise above-described smart card 100.
In this terminal, preferably, also comprise driver module 202, be used to set up the communication between described terminal and the described smart card, set up the communication between described terminal and the described storage card, and be respectively signal that sends to smart card and the different label of signal interpolation that sends to storage card.It should be appreciated by those skilled in the art that this driver module 202 both can be positioned at end side, also can be positioned at the smart card side.
In this terminal, preferably, driver module 202 also comprises first application programming interfaces that are used for described smart card and second application programming interfaces that are used for described storage card.
In this terminal, preferably, when the housing of terminal was metal, the flexible antennas of smart card was positioned at outside the housing.
Can guarantee that by terminal provided by the invention smart card is realized by main frame and the secure communication of background system, simultaneously can realize contactless the communicating by letter of smart card and external unit, mobile payment function will be realized, the storage card in the present terminal need not be replaced, easy to use.
Fig. 3 shows application of IC cards according to an embodiment of the invention and carries out mutual synoptic diagram in mobile phone and background system and POS machine.
As shown in Figure 3, smart card 300 is superimposed upon the upper surface place that storage card 302 has interface.Be connected with flexible antennas 304 on the smart card 300.The smart card 300 that stack is good inserts the slot 306 that being used in the main frame 308 place storage card 302 with storage card 302.If case material is nonmetallic materials, then flexible antennas 304 can be placed on and also can be placed on outside the housing of main frame 308 in the housing of main frame 308; If case material is a metal material, then flexible antennas 304 is placed on outside the housing of main frame 308.
Specifically describe smart card and main frame, POS machine and the mutual mode of operation of background system below.When the stack smart card 300 and storage card 302 be inserted into main frame 308 storage card slot 306 in the time, smart card 300 can be communicated by letter with main frame 308.By the communication channel of main frame 308 and main frame 308, smart card 300 can be communicated by letter with background system 312, carries out message exchange and renewal, and for example stored value card is supplemented with money, the download of on-line payment and information and uploading.
By flexible antennas 304, smart card 300 can be mutual with point-of-sale terminal (POS) machine 310, carries out mobile payment, for example riding public transport or pay a bill or obtain the right that enters as the restricted area of government department in retail shop.
As an example, main frame 308 can be mobile phone, personal digital assistant device (PDA), portable computer or any other device with the slot that is used for storage card and the communication channel of communicating by letter with background server.Storage card 302 can be secure digital SD card, mini secure digital SD card, miniature secure digital SD card or any storage card that can be inserted into the storage slot of main frame 308.
The communication channel of main frame includes but not limited to SMS, GPRS, WLAN, Wi-Fi, WiMax and any other communication channel.
Background system provides the server system of service, and this is served from the service provider, and the service provider can be Mobile Network Operator (MNO), financial institution, transportation operator etc.
POS machine 310 can be in the reception terminal on the POS of retail shop terminal, foreground, hotel, at the turnover station of subway station ticket checking machine etc.POS machine 310 also has the communication channel that the background system with the service provider communicates.
At this, it should be appreciated by those skilled in the art, except with application of IC cards in mobile phone, can also be with application of IC cards in PDA, portable computer, or have slot that is used for storage card and the communication channel of communicating by letter with background server any other the device.In addition, can comprise the reception terminal on POS terminal, the foreground, hotel of retail shop with the contactless mutual external unit of smart card, at turnover station ticket checking machine or other machines that needs authority of subway station.In addition, storage card can be secure digital SD card, mini secure digital SD card, miniature secure digital SD card or any storage card that can be inserted into the storage slot of main frame.
Pass through technique scheme, can guarantee that smart card and background system carry out safe communication, can be undertaken contactless mutual by flexible antennas and POS machine based on stable rf frequency channel simultaneously, need not replace present storage card, change main frame into mobile payment equipment, reduced dependence, made things convenient for the user storage card and mobile phone manufacturer.
Fig. 4 shows the upper surface and the lower surface synoptic diagram of smart card according to an embodiment of the invention, and Fig. 5 shows the side view of the smart card shown in Fig. 4.Describe the smart card of embodiments of the invention in detail below in conjunction with Fig. 4 and Fig. 5.On the upper surface 600a of smart card, smart card 600 comprises the interface unit with the first interface module 601a and second interface module 601b, control module 602 and intelligent integrated circuit 603.First interface circuit 605 is used for being connected respectively the first interface module 601a and control module 602 with second interface circuit 606, and control module 602 and intelligent integrated circuit 603.Intelligent integrated circuit 603 is connected to the flexible antennas (not shown) by the antenna port on the smart card 604.As shown in Figure 5, control module 702 is connected to the first interface module 701b on the lower surface 701a by comprising the 3rd interface circuit 707 on linkage unit 701c and the lower surface 701b.In this embodiment, linkage unit 701c is a metal throuth hole, but should be appreciated that linkage unit 701c can be any material that can conduct electricity.
The interface of the first interface module 701b and storage card (not shown) is superimposed, thereby can be transmitted to storage card from the signal that is used for storage card of main frame after the Be Controlled cell processing.
Be used for communicating by letter between main control system (not shown) and the intelligent integrated circuit 603 at the control module on the upper surface 600a 602, also be used for the communication between main control system and the storage card (not shown).Signal from main frame is divided into two types: a kind ofly be used for smart card 600, and another kind is used for storage card.At first, signal that is used for smart card 600 and the signal that is used for storage card are always selected and handled to control module 602 in the signal flow of main frame.Then, the conversion of signals that control module 602 will be used for smart card 600 becomes the form that can be received and handle by intelligent integrated circuit 603, and the interface of the signal that will handle by linkage unit 701c, interface circuit 607, the second interface module 601b and storage card is passed to storage card.Communication channel between control module 602 and intelligent integrated circuit 603 can be based on the common protocol of IS07816 for example and other public or proprietary protocol.
The smart card operation or the specific operation of intelligent integrated circuit 603 operative norms, for example bank card, transportation card, cash card, credit card, access card, ID card or other.Intelligent integrated circuit 603 is by based on agreement and other contactless communication channels public or proprietary protocol such as 14443a, 14443b, 14443c, and is mutual via flexible antennas and POS machine.
The shape of smart card 600 and thickness are that the size according to the type of storage card and the storage card slot in the main frame decides.All kinds of smart cards 600 with different-thickness and shape are produced, thereby it can be superimposed with the storage card with difformity and thickness.
At this, it should be appreciated by those skilled in the art, except with application of IC cards in mobile phone, can also be with application of IC cards in PDA, portable computer, or have slot that is used for storage card and the communication channel of communicating by letter with background server any other the device.In addition, can comprise the reception terminal on POS terminal, the foreground, hotel of retail shop with the contactless mutual external unit of smart card, at turnover station ticket checking machine or other machines that needs authority of subway station.In addition, storage card can be secure digital SD card, mini secure digital SD card, miniature secure digital SD card or any storage card that can be inserted into the storage slot of main frame.
Pass through technique scheme, can guarantee that equally smart card and background system carry out safe communication, can be undertaken contactless mutual by flexible antennas and POS machine based on stable rf frequency channel simultaneously, change main frame into mobile payment equipment, need not replace present storage card, reduced dependence, made things convenient for the user storage card and mobile phone manufacturer.
Fig. 6 shows the synoptic diagram of the driver module of main frame according to an embodiment of the invention.Driver module 802 is used to realize communication between main frame and the smart card and the communication between main frame and the storage card, and the signal that is respectively the signal that is used for smart card and is used for storage card adds different labels.Can on driver module 802, develop the application program 804 that is used for application of IC cards, set up communication between smart card and the background system with management smart card operation, the communication channel that provides by main frame.From the touch pad of custom menu or main frame, can easily enter the application program 804 of smart card.
Fig. 7 shows according to an embodiment of the invention when smart card and storage card are worked under serial mode, the mutual synoptic diagram of signal of host computer side and smart card side.
As shown in Figure 7, the driver module 1010 of host computer side has application programming interfaces 1001 that are used for application of IC cards and the application programming interfaces 1003 that are used for memory card applications.The signal flow 1002 that is used for application program of intelligent card and memory card applications program at first is transferred into smart card by interface circuit with serial mode, the control module of smart card is from being used for the signal of intelligent integrated circuit unit and handling from selecting the signal of interface unit, be sent to the intelligent integrated circuit unit then, and, be sent to storage card then from being used for the signal of storage card and handling from selecting the signal of interface unit.Driver module 1010 adds mark for being used for smart card and storage card signal, thereby these signals can be respectively by smart card and storage card selection and processing.
Under serial mode, the control module 1011 at smart card place has three functions, a function is to select to be used for the signal of intelligent integrated circuit, another function is to be used for the signal that smart card operation sends to intelligent integrated circuit for processing, and after finishing processing, send to intelligent integrated circuit, the 3rd function is reception and handles the signal that is used for storage card, and signal is passed to storage card.
Under serial mode, communication and operation between main frame and the storage card remain unchanged, and are not subjected to the interference from smart card.
In the superincumbent description, signal flow is two-way.For example, the driver module in main frame not only sends a signal to the control module in the smart card, also receives the signal from control module or storage card.
To sum up, describe the present invention in conjunction with Fig. 1 to Fig. 7.Technical scheme according to the present invention provides a kind of smart card that is used to be superimposed upon on the storage card, signal is selected and handled based on the control module of smart card, thereby realized the contactless mutual of smart card and external unit, and communication channel is stable, can also make the main frame with this smart card and the secure interactive of background system, and then convert main frame to mobile payment device, thereby realized mobile payment function, the manufacturer that depends on main frame and storage card within reason.Technical scheme of the present invention can be applied to mobile payment and security control field, especially can be used to use the mobile payment and the security control of the smart card that stacks storage card of mobile phone and other portable communication devices.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.