Summary of the invention
One of the object of the 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, a kind of smart card is provided, has 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 receiving host signal stream from main frame through first interface module; 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 said storage card through second interface module; The intelligent integrated circuit unit is used for communicating with control module, receives said first signal from control module.
In technique scheme; Preferably; Said control module also is used for said first signal and said secondary signal are handled; Send said first signal and said secondary signal after handling to said intelligent integrated circuit unit and said storage card respectively, said control module also is used for receiving the storage card signal flow from storage card through second interface module, and the 3rd signal of issuing main frame in the storage card signal flow and the 4th signal of issuing the intelligent integrated circuit unit are distinguished; Send the 3rd signal to main frame through 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, sent the 5th signal to said main frame through first interface module, send the 6th signal to said storage card.
In technique scheme, preferably, further comprise: first interface circuit is connected between said first interface module and the said control module; Second interface circuit is connected between said control module and the said intelligent integrated circuit unit.
In technique scheme; Preferably; Said first interface module is positioned on the first surface of card body of said smart card, and said second interface module is positioned on the second surface of card body of said smart card, and said first surface and said 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 said smart card, is connected between said control module and the 3rd interface circuit; Wherein, second interface module is connected to said control module through 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 said smart card communicates through flexible antennas and external unit.
In technique scheme, preferably, external unit can comprise automated banking machine, point-of-sale terminal, gate inhibition terminal, charge station terminal.
In technique scheme, preferably, the shape of smart card and said storage card coupling, the thickness of smart card depends on the size of slot that is used to hold storage card of thickness and the main frame of storage card.
Through technical scheme of the present invention; On existing smart card that is used for SIM 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, a kind of terminal is provided, has comprised above-mentioned smart card.
In technique scheme; Preferably; Also comprise driver module; Be used to make to communicate between said main frame and the said smart card, make to communicate between said main frame and the said storage card, and be respectively signal that is used for said smart card and the different label of signal interpolation that is used for said storage card.
In technique scheme, preferably, said driver module also comprises first application programming interfaces that are used for said smart card and second application programming interfaces that are used for said storage card.
In technique scheme, preferably, the housing at said terminal is a metal, and the said flexible antennas of said smart card is positioned at outside the said housing.
According to technical scheme of the present invention; Not only can guarantee that main frame carries out secure communication through 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 accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of 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 disclosed specific embodiment.
Fig. 1 is the structured flowchart of smart card according to an embodiment of the invention.
As shown in Figure 1, a kind of smart card 100 is provided, comprising:
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 receiving host signal stream from main frame through first interface module 112; 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 said storage card through said second interface module 114;
Intelligent integrated circuit unit 106 is used for communicating with control module 104, receives said 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; Said control module 104 also is used for said first signal and said secondary signal are handled; Send said first signal and said secondary signal after handling to said intelligent integrated circuit unit and said storage card respectively, said control module 104 also is used for through 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 and the 4th signal of issuing intelligent integrated circuit unit 106 being distinguished; Send the 3rd signal to main frame through 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, sent the 5th signal to said main frame through first interface module 112, send the 6th signal to said storage card through 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 said 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, said 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 through the 3rd interface circuit and linkage unit.
In technique scheme, preferably, said smart card further comprises flexible antennas 108, and intelligent integrated circuit unit 106 has antenna port, is used to connect flexible antennas 108, and said smart card communicates through said flexible antennas and external unit.
In technique scheme, preferably, external unit can comprise automated banking machine, point-of-sale terminal, gate inhibition terminal, charge station 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, and the 3rd signal is the general designation that storage card is issued the signal of main frame, and 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 various signals.
Below through 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 said 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 through network, and idiographic flow can be following:
S101, the user sends charging request through 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 said 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 generates charging request according to information such as this authentication information and recharge amounts after receiving this authentication information, and sends 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, accomplishes 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 said 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 send remaining sum to main frame and revise 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.
Through aforesaid operations, just can accomplish once online supplementing with money.
After the user uses small amount payment of this smart card completion; 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, this transaction record message of storage card storage.
When need inquiring about, the user supplements record with money and/or during transaction record; The user sends to storage card through 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 when needs, read corresponding information (being equivalent to the 4th signal) from storage card with himself some data or procedure stores on 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.
Through technique scheme, can guarantee that smart card is realized through 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 at 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 said terminal and the said smart card; Set up the communication between said terminal and the said 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 said smart card and second application programming interfaces that are used for said storage card.
In this terminal, preferably, when the housing at the terminal was metal, the flexible antennas of smart card was positioned at outside the housing.
Can guarantee that through terminal provided by the invention smart card passes through the secure communication of main frame realization and 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 smart card 300 of stack and storage card 302 were inserted in the storage card slot 306 of main frame 308, smart card 300 can be communicated by letter with main frame 308.Through 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.
Through 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 gets into like the restricted area of government department in retail shop.
As giving 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 the reception terminal on POS terminal, foreground, hotel in retail shop, ticket checking machine etc. at the turnover station of subway station.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; While can carry out contactless mutual through flexible antennas and POS machine based on stable rf frequency channel, need not replace present storage card, changes 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) through 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 through 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 after the Be Controlled cell processing, can be transmitted to storage card from the signal that is used for storage card of main frame.
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 received and handle by intelligent integrated circuit 603, and the interface of the signal that will handle through 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 through 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; While can carry out contactless mutual through flexible antennas and POS machine based on stable rf frequency channel, 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 and the communication between main frame and the storage card between main frame and the smart 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 the communication between smart card and the background system with management smart card operation, the communication channel that provides through main frame.From the touch pad of custom menu or main frame, can easily get into 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 through 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, and another function is for processing is used for the signal that smart card operation sends to intelligent integrated circuit, and after accomplishing processing, sends 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 do not receive 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 merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.