Summary of the invention
This application provides smart card reader trunking, can realize carrying out read-write operation by mobile terminal device to smart card, smart card be used more convenient.
This application provides following scheme:
A kind of smart card reader trunking, comprising: inductive means, read-write operation chip and wireless communication module;
Described wireless communication module is connected with described read-write operation chip, and described read-write operation chip is connected with described inductive means;
Wherein, when needing the mobile terminal device by being provided with corresponding wireless communication module to carry out read-write operation to the data in described smart card, according to the position of described inductive means, described smart card is positioned over the specified location of described trunking;
When described wireless communication module receives the command word of described mobile terminal device transmission, by the format conversion of described command word according to described read-write operation chip, and be transferred to described read-write operation chip, so that described command word with the form of described smart card standard chip, is transferred to described smart card standard chip by described inductive means by described read-write operation chip;
Described read-write operation chip receives by described inductive means the response message that described smart card standard chip returns, described response message is transferred to described wireless communication module, and described response message is sent to described mobile terminal device by described wireless communication module;
Wherein, described mobile terminal device is used for carrying out data transmission between smart card server.
A kind of smart card reader trunking carries out the method for read-write operation to smart card, described smart card reader trunking comprises, read-write operation chip, inductive means and wireless communication module, described wireless communication module is connected with described read-write operation chip, and described read-write operation chip is connected with described inductive means;
Described wireless communication module proceeds as follows step:
Receive the command word of the mobile terminal device transmission being provided with corresponding wireless communication module;
By the format conversion of described command word according to described read-write operation chip, be transferred to described read-write operation chip, so that described command word is transferred to smart card standard chip by described read-write operation chip.
A kind of smart card reader trunking, comprise wireless communication module, smart card draw-in groove, described smart card draw-in groove is built-in with hard contact, and described wireless communication module is connected with described hard contact;
When needing the mobile terminal device by being provided with corresponding wireless communication module to carry out read-write operation to the data in described smart card, described hard contact contacts with contact intelligent card standard chips;
When described wireless communication module receives the command word of described mobile terminal device transmission, according to the reading and writing data standard of contact intelligent card, described command word is carried out format conversion, and the command word after conversion is transferred to the standard chips of described contact intelligent card by described hard contact;
When described wireless communication module receives by described hard contact the response message that described standard chips returns, after described response message being resolved according to the reading and writing data standard of contact intelligent card, be transferred to described mobile terminal device.
A kind of smart card reader trunking carries out the method for read-write operation to smart card, described read-write equipment for smart card comprises, wireless communication module, smart card draw-in groove, described smart card draw-in groove is built-in with hard contact, described wireless communication module is connected with described hard contact, is proceeded as follows by described radio operation module:
Receive the command word of the mobile terminal device transmission being provided with corresponding wireless communication module;
According to the reading and writing data standard of contact intelligent card, described command word is carried out format conversion, and the command word after conversion is transferred to described contact intelligent card standard chips, the command word that described mobile terminal device sends is transferred to institute's contact stating smart card standard chip.
According to the specific embodiment that the application provides, this application discloses following technique effect:
Pass through the embodiment of the present application, a kind of smart card reader can be provided to continue equipment for user, wireless communication module and inductive means is configured with in this trunking, when user needs to carry out read-write operation to its smart card, smart card can be placed on the ad-hoc location of trunking, the mobile terminal device (as mobile phone etc.) with wireless communication modules such as bluetooths just can be utilized afterwards to carry out read-write operation to smart card, and no longer need to use special service equipment to read and write, convenient and swift.
Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of the application's protection.
In embodiments of the present invention, a kind of smart card reader trunking is provided.This trunking can comprise inductive means, and this inductive means may be used for carrying out with smart card using when data are transmitted, and mainly plays the effect of building information channel.This trunking can also comprise wireless communication module, this wireless communication module may be used for smart card reader trunking to carry out using when data are transmitted with the mobile terminal device with corresponding wireless communication module, the wherein all right access intelligent card server of mobile terminal device, and obtain operating right and command information.Therefore mobile terminal device is utilized just can to carry out read-write operation to intelligent card chip by smart card reader trunking, such as utilize the mobile phone with corresponding wireless communication module to charging intelligent card etc., and be not limited only to specialized equipment and can carry out read-write operation to smart card, smart card is used more convenient.
Below specific implementation is introduced as follows.
Embodiment one
Shown in Figure 1, Fig. 1 is the structural representation of the smart card reader trunking that the embodiment of the present invention provides, and mainly comprises inductive means 101, read-write operation chip 102, wireless communication module 103.Wherein the first I/O pin of read-write operation chip 102 is connected with the input/output pin of wireless communication module 103 respectively.The second I/O pin in read-write operation chip 102 is connected with the input/output pin of inductive means 101 respectively.Such inductive means 101 can transfer data to read-write operation chip 102, and read-write operation chip transfers data to wireless communication module 103 again.Same wireless communication module 103 also can transfer data to read-write operation chip 102, and read-write operation chip 102 transfers data on inductive means 101 again.
The object of the present embodiment realizes carrying out read-write operation by the mobile terminal device of non-dedicated character to smart card, and the mobile terminal device of non-dedicated character here can be the mobile phone, panel computer, notebook computer etc. with wireless communication function.Wherein, the present embodiment non-immediate are read and write intelligent card chip, but are realized the transmission of reading writing information by this trunking of the present embodiment between intelligent card chip and mobile terminal device.That is, the major function of this trunking mainly comprises two stages: a stage carries out data communication between smart card, and another stage carries out data communication with mobile terminal device.Wherein and carry out data communication between smart card and realize mainly through inductive means 101 and read-write chip 102; And the data communication between mobile terminal device mainly relies on wireless communication module 103 to realize.
Wherein the concrete function of each parts of smart card reader trunking is as follows.
Inductive means 101 is wherein mainly used in identification intelligent card, and builds with smart card the passage that data transmit.Inductive means 101 can comprise hard contact, can also comprise coil.
Here hard contact is the use when needs carry out read-write operation to contact intelligent card mainly.Contact intelligent card wherein generally can use ISO7816 standard, such as, smart card shown in Fig. 2, is contact intelligent card, and comprise the chip 201 and card body 202 with eight hard contacts, chip 201 is arranged in card body 202.And the hard contact on smart card reader trunking can comprise three, C2-RST, C3-CLK, C7-I/O tri-contacts respectively in intelligent card corresponding eight hard contacts (C1 C2 C3 C4 C5 C6 C7 C8, C4 and C8 are designed to retain use in the future).Hard contact in smart card reader trunking only needs directly to contact with the hard contact on chip 201, and read-write operation chip 102 just can carry out read-write operation to smart card.More abundant in order to what make smart card contact with inductive means 101, smart card reader trunking can also comprise smart card draw-in groove, in draw-in groove, arrange hard contact, when smart card inserts draw-in groove, the hard contact in draw-in groove just contacts with the hard contact on intelligent card chip.
When needs carry out read-write operation by smart card reader trunking to contact intelligent card, can smart card be inserted in draw-in groove, the contact that hard contact is corresponding with on contact intelligent card standard chips, at this moment carries out the channel connection of data transmission between smart card standard chip and trunking read-write operation chip 102.Command word just can be transferred to smart card standard chip by hard contact by read-write operation chip 102; And return message also can be transferred to read-write operation chip 102 by hard contact by smart card standard chip.So just, the present embodiment can be made to be applicable to contact intelligent card sheet, to facilitate the use to contact intelligent card.
Here coil is the use when needs carry out read-write operation to contact type intelligent card mainly.Wherein contact type intelligent card can comprise the smart card utilizing RFID technique or NFC technique, generally standard coil is equipped with in this smart card, by this standard coil, contact type intelligent card need not directly contact with opertaing device end just can reach data communication object.Such as, Fig. 3 shows a kind of structure of contact type intelligent card, comprising standard chips 301, and standard coil 302.Therefore, the inductive means in smart card reader trunking can be realized by the form of coil, by the coupling between the standard coil in this coil and contact type intelligent card, plays the object of information transmission.
Wherein, when needs carry out read-write operation by smart card reader trunking to contact type intelligent card, contact type intelligent card can be placed on the region that inductive means coil can sense, at this time inductive means coil just can with the standard coil generation coupling phenomenon on smart card, read-write operation chip 102 carries the electromagnetic wave of command word by coil transmissions, by coupling, the standard coil generation on smart card carries the electromagnetic wave of command word and command word is transferred to smart card standard chip; And smart card standard chip also can launch by the standard coil on smart card the electromagnetic wave carrying response message, by coupling, inductive means coil can receive the electromagnetic wave carrying response message, and response message is transferred to read-write operation chip 102.So just, the present embodiment can be made to be applicable to contact type intelligent card, to facilitate the use to contact type intelligent card.
Because wireless communication module 103 can not the information transmitted of Direct Recognition smart card standard chip, same smart card standard chip can not the information transmitted of Direct Recognition wireless communication module 103, is used for realizing the communication between wireless communication module 103 and intelligent card chip so can increase read-write operation chip 102.This read-write operation chip 102 can be the chip realized in prior art, and this chip has the function of smart card standard chip being carried out to read-write operation.Wherein when read-write operation chip 102 receives the command word of wireless communication module 103 transmission, command word is converted to the form that smart card standard chip can identify, be transferred to intelligent card chip by inductive means 101; On the other hand, this response message is returned to wireless communication module 103 after receiving the response message of intelligent card chip transmission by read-write operation chip 102.The data achieved between wireless communication module 103 and smart card standard chip by above-mentioned technological means are transmitted.Wireless communication module 103 is wherein mainly used in carrying out information interaction between mobile terminal device, and wireless communication module 103 here can comprise bluetooth module, can also comprise WiFi module, etc.
Wherein, bluetooth module is mainly used in carrying out data transmission with the mobile terminal device with bluetooth transceiver therein, and this mobile terminal device can be the mobile phone, panel computer, notebook computer etc. with Bluetooth function.Common bluetooth, bluetooth 4.0 and higher version can be had in existing Bluetooth technology, due to bluetooth 4.0 and more the bluetooth of highest version and the principle of work of common bluetooth different, be described in detail respectively below.
Wherein, owing to needing pairing to connect between common bluetooth, therefore, in order to realize the pairing between common bluetooth, trunking can also comprise load module and display.This load module is for inputting the password of pairing, and this display is for showing the password of input equipment input.When needs carry out read-write operation to smart card, by equipment near the search of mobile terminal device Bluetooth function, in list, choose the bluetooth in this embodiment to send pairing request and generate pairing password, pairing password is inputted by load module, successful matching after bluetooth module receives pairing request.Then mobile terminal device just can carry out read-write operation by Bluetooth function to smart card.
Wherein bluetooth module can also be the bluetooth of bluetooth 4.0 or more highest version.Compared to common bluetooth, the bluetooth of bluetooth 4.0 or more highest version is without the need to matching, but can broadcast service information, this information on services comprises MAC (the Media Access Control of bluetooth module, medium access control) address etc., and then the bluetooth of the bluetooth 4.0 or more highest version that make to receive information on services is attached thereto.Therefore, this mode is more suitable for the embodiment of the present application.Concrete, when carrying out data communication, bluetooth module in trunking can periodically outwards broadcast bluetooth service information, mobile terminal device is connected with bluetooth module after receiving the information on services of bluetooth module broadcast, and mobile terminal device just can carry out data communication by corresponding bluetooth transceiver therein with bluetooth module.Certainly, in this manner, mobile terminal device also needs the bluetooth module being equipped with bluetooth 4.0 or more highest version.
When wireless communication module is WiFi module, here WiFi module and the difference of above-mentioned bluetooth module function are only that WiFi module is mainly used in carrying out data transmission with the mobile terminal device with corresponding WiFi R-T unit, here mobile terminal device can be the mobile phone, flat board, notebook computer etc. with WiFi function, thus expand the use scenes of smart card, facilitate the use to smart card.Mobile terminal device.
In a particular application, power module can also be comprised in smart card reader trunking.This power module is used for powering to wireless communication module, so that wireless communication module works normally, and namely transmitting/receiving wireless signal etc.In order to save the electricity of power module, in a preferred embodiment, energy supply control module can also be comprised in smart card reader trunking, this energy supply control module can realize in modes such as switches, for controlling the break-make that electric power source pair of module wireless communication module is powered, when needs wireless communication module works, control Power supply, on the contrary then power-off.The electricity that holding state consumes can be reduced so well, thus increase battery electric power storage or change interval time, facilitate the use of trunking.
In a word, pass through the embodiment of the present application, a trunking can be provided for user, wireless communication module and inductive means is configured with in this trunking, when user needs to carry out read-write operation to its smart card, smart card can be placed on the ad-hoc location of trunking, the mobile terminal device (as mobile phone etc.) with wireless communication modules such as bluetooths just can be utilized afterwards to carry out read-write operation to smart card, and no longer need to use special service equipment to read and write, convenient and swift.
Embodiment two
In above-described embodiment one, due to existing radio operation module can not directly and read-write operation chip carry out data transmission.For addressing this is that, a kind of smart card reader trunking is provided smart card to be carried out to the method for read-write operation in the present embodiment.Below specific implementation is described in detail.
When carrying out read-write operation with smart card reader trunking to smart card, this smart card trunking can comprise read-write operation chip, inductive means and wireless communication module, wherein wireless communication module is connected with read-write operation chip, and inductive means is connected with read-write operation chip.Wherein, as shown in Figure 4, wireless communication module can carry out following steps:
S401: the command word receiving the mobile terminal device transmission being provided with corresponding wireless communication module;
S402: by the format conversion of command word according to described read-write operation chip, is transferred to smart card reader operation chip, so that described command word is transferred to smart card standard chip by described read-write operation chip.
Such read-write operation chip just can receive and identify the command word that wireless communication module transmits, thus realizes mobile terminal device transmission command word to smart card standard chip.
In addition, in a particular application in order to obtain the response message of smart card standard chip passback, wireless communication module can also carry out following steps.
Receive the response message of described read-write operation chip transmission;
According to the form of described read-write operation chip, described response message is resolved, and the response message after resolving is transferred to described mobile terminal device.
So just can realize can carrying out data communication between wireless communication module and read-write operation chip.
Embodiment three
In the scheme that previous embodiment one is introduced, mainly through the mode of read-write operation chip transitional information form, reach the object that smart card standard chip and wireless communication module carry out communication.That is, be the read-write realizing standard chips by the mode of " hardware ".In this embodiment three, for contact intelligent card, in order to realize the read-write operation to its standard chips, directly read-write operation method can also be write in wireless communication module, also namely, be the equal of the read-write realizing standard chips by the mode of " software ".Like this, read-write operation chip can be saved in whole trunking, thus reduce cost of manufacture.Below concrete implementation is described in detail.
Shown in Figure 5, Fig. 5 is the another kind of smart card reader trunking structural representation that the embodiment of the present invention three provides, and mainly comprises wireless communication module 502, contact intelligent card hard contact 501 and smart card draw-in groove.Wherein, wireless communication module 502 is connected with hard contact 501, and hard contact 501 is placed in smart card draw-in groove.
The present embodiment can carry out read-write operation to the contact intelligent card with contact.When needs carry out read-write operation to smart card, smart card is inserted in smart card draw-in groove, the hard contact on smart card is contacted with hard contact 501.Data transmission channel at this time between wireless communication module 502 and intelligent card chip has been built.Mobile terminal device wireless communication module 502 can carry out data transmission with the standard chips on smart card.At this moment just can by carrying out on the mobile terminal device operating the read-write realized smart card.Concrete steps are as follows:
Mobile terminal device carries the wireless signal of command word to the wireless communication module 502 of smart card by wireless communication module transmission;
The command word received is carried out format conversion according to the read-write standard of smart card standard chip by wireless communication module 502, and the command word after conversion is transferred to smart card standard chip by hard contact 501.
Intelligent card chip operates according to the command word received, and generates response message, and response message is transferred to wireless communication module 502 by hard contact 501;
The reading and writing data standard of received response message according to contact intelligent card is resolved by wireless communication module 502, and sends on the bluetooth equipment of mobile terminal device by the response message after resolving;
Mobile terminal device receives response message, completes the read-write operation to smart card.
Wireless communication module 502 in the present embodiment can comprise bluetooth module, can also comprise WiFi module.The mobile terminal device that bluetooth module is corresponding has bluetooth module equally, and mobile terminal device corresponding to WiFi module has WiFi module equally.It is existing common in the electronic device that to be bluetooth module or WiFi module be all, such as, have Bluetooth function and or the mobile phone, notebook computer etc. of WiFi function.Greatly facilitate the use of smart card.
The present embodiment not only can reach mobile terminal device by the read-write of trunking to smart card information, thus reaches the transmission between smart card and server, can also save the cost of manufacture of trunking.Smart card is used more cheap, more convenient.
Embodiment four
In above-described embodiment three, due to existing radio operation module can not directly and contact intelligent card standard chips carry out data transmission.For addressing this is that, a kind of smart card reader trunking is provided smart card to be carried out to the method for read-write operation in the present embodiment.Below specific implementation is described in detail.
When carrying out read-write operation with smart card reader trunking to smart card, this smart card trunking can comprise wireless communication module, smart card draw-in groove, and described smart card draw-in groove is built-in with hard contact, and described wireless communication module is connected with described hard contact.Wherein, as shown in Figure 6, wireless communication module can carry out following steps:
S601: the command word receiving the mobile terminal device transmission being provided with corresponding wireless communication module;
S602: according to the reading and writing data standard of contact intelligent card, described command word is carried out format conversion, and the command word after conversion is transferred to described contact intelligent card standard chips, the command word that described mobile terminal device sends is transferred to institute's contact stating smart card standard chip.
Such contact intelligent card standard chips just can receive and identify the command word that wireless communication module transmits, thus realizes mobile terminal device transmission command word to smart card standard chip.
Wherein, in a particular application in order to obtain the response message of smart card standard chip passback, wireless communication module can also carry out following steps.
Receive the response message of contact intelligent card standard chips transmission;
According to the reading and writing data standard of described smart card standard chip, described response message is resolved, and the response message after resolving is transferred to described mobile terminal device.
So just can realize can carrying out data communication between wireless communication module and read-write operation chip.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add necessary software generic platform by hardware and realizes.Based on such understanding, the technical scheme of the application mainly embodies with the form of hardware and software combination the part that prior art contributes in essence in other words.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for equipment or apparatus embodiments, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Equipment described above and apparatus embodiments are only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Above to the smart card reader trunking that the application provides, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.