The application requires to submit on March 15th, 2005 " METHOD; APPARATUS; AND SYSTEM FOR CONTACTLESS ICCCONNECTIVITY; " by name U.S. Provisional Patent Application 60/662173, the right of priority of Attorney DocketNumber O2-0234, it has been transferred to the application's assignee, and is at this that its content is incorporated by reference.
Embodiment
Below by with reference to the accompanying drawings embodiments of the invention being stated detailed description,, will be appreciated that the present invention is not limited to these embodiment though detailed description of the present invention will be in conjunction with the preferred embodiments.On the contrary, the invention is intended to comprise variously substitute, revise and equivalent embodiment that they also should be included in the spirit and scope of the present invention that limited by appended claim.In addition, for the following detailed description of the embodiment of the invention, many specific detail of illustrating are in order to understand the present invention more completely.Yet those skilled in the art will be appreciated that does not have these specific detail can implement the present invention yet.Under other situations, the method for knowing, program, element and circuit do not describe in detail at this, avoid making feature of the present invention smudgy.
Generally speaking, embodiments of the invention can be expanded the CCID device to support noncontact integrated chip cartoon letters, it can be implemented by comprising a virtual automatic response (ATR) that resets of controller generation that is used for non-contact card, uses the CCID standard to support and implement noncontact integrated chip cartoon letters.And controller detects the outside existence of supporting the radio circuit of noncontact integrated chip card connection, and the running that comes correcting device based on described testing result.In addition, embodiments of the invention provide a modular approach that the noncontact chipcard is connected by a connector.And poll (polling) technology that the virtual automatic look-up table that resets response and the sequence number by making the noncontact chipcard and have the known card feature that the embodiment of the invention also provides use to be provided by controller is complementary is discerned the method for noncontact chipcard.Therefore, embodiments of the invention can adopt general CCID software configuration to support to contact chipcard interface arrangement and noncontact chipcard interface arrangement.The embodiment of the invention and other advantage will further describe below.
Embodiments of the invention are at supporting, design and make chipcard interface arrangement, " smart card " as known.Though the embodiment that describes in instructions is at the chipcard interface arrangement, described term " chipcard interface arrangement " and " smart card " can use in whole instructions exchange.
Embodiments of the invention are described and are adopted USB chip/intelligent card interface device standard or support noncontact chipcard interface arrangement by its derivative standard.Yet other embodiments of the invention also can adopt any interface except described CCID standard, support noncontact chipcard interface arrangement.
According to the process that the data bit in the computer memory is operated, step, logical block, processing, and other symbolic expression, have some part of following detailed description.These descriptions and expression are the means that the data processing field technician uses for the purport that they work is more effectively conveyed to other those skilled in the art.At this, the step that process, computing machine are carried out, logical block etc. are envisioned for the step and the instruction of the result's who the reaches desired order of group certainly usually.These steps are to need physical quantity to carry out the step of physical operation.Usually, though be unnecessary, these physical quantitys can take to be stored, send, in conjunction with, relatively and the form of the electrical or magnetic signal of in other computer system, operating.Prove repeatedly that for the ease of using, described signal refers to these signals as bit, value, code element, symbol, character, term, quantity etc.
Yet, should be noted that all these or similar terms and suitable physical quantity are associated, and only are the labels that is applied to this tittle.Unless concrete description, otherwise from following discussion as seen, in the present invention, to adopt as discussion that " detections ", " conversion ", " comparison " etc. are carried out refers to computer system (as the computer system among Fig. 3 300) or the similarly running and the processing of computing electronics, operate and with in the RS in the computer system be shown as data-switching one-tenth that physics (electronics) measures, other is similarly at computer system memory reservoir, register or other is as the data that physics (electronics) is measured that are shown as in information stores, transmission or the display device.
Fig. 1 is the calcspar of the noncontact integrated chip card controller 100 of one embodiment of the invention, and a noncontact chipcard interface arrangement can be discerned and support to this noncontact integrated chip card controller 100.Controller 100 is realized a usb 1 01 is connected to a computer system, computer system for example shown in Figure 3.Described USB interface is a double-wire signal structure, and a packing of its operation agreement transmits control, state and data message, and described information is included in USB device specifier (descriptor) information that defines in USB standard and the derivative standard thereof.Other embodiment is highly suitable for having the controller 100 that the interface of any kind is connected to computer system 300.
Interface and the class declaration symbol transmitting function performance of noncontact integrated chip card controller 100 by stipulating in USB CCID standard, it comprises the general purpose logical one 02 of CCID that the CCID standard is compatible required.The general purpose logical one 02 of this CCID takes orders and is transmitted in the response of stipulating in the CCID standard, and in one embodiment, instruction herein and response are used for the control of chipcard and the transmission of data.
According to one embodiment of present invention, noncontact integrated chip card controller 100 comprises that is used to discern the radio circuit detection logical one 08 whether an external radio frequency circuit (not shown) exists.In the present embodiment, it can pass through an external input signal 110, and for example detection signal DETECT# implements, and in one embodiment, a low input is used to discern the external radio frequency circuit.Described external radio frequency circuit is provided at the radio communication between described integrated chip card controller 100 and the chipcard interface arrangement (not shown).
In an embodiment of the present invention, when the external radio frequency circuit did not exist, described controller 100 can be discerned this situation.In one embodiment, controller 100 can report that the USB device is disconnected by usb protocol.In another embodiment, controller 100 is reported by selectable mode and is not connected usb bus.In another embodiment, controller 100 can be removed by chipcard of general purpose logical one 02 report of CCID, but perhaps sends this information to mainframe computer system 300 by the system of selection that comprises standard, manufacturer's standard and CCID visit.
In one embodiment, radio circuit detects logical one 08 detection noncontact integrated chip card controller 100 and whether is connected to radio circuit, and this radio circuit is used for communicating by letter with the chipcard interface arrangement and controlling the chipcard interface arrangement.In another embodiment, implementing optional mode is used to discern noncontact integrated chip card controller 100 and whether is connected to a radio circuit that is used to control the chipcard interface arrangement.
In either case, determine noncontact integrated chip card controller 100 when present embodiment and be connected to one when being used to control the radio circuit of chipcard interface arrangement, the general purpose logical one 02 of CCID can be determined the fixedly existence of a chipcard interface arrangement by the CCID method, and it is reported to the chipcard application software, for example in the standard of an embodiment, report by the RDR_to_PC_SlotStatus message that in CCID, defines.Selectively, in another embodiment, the information of above-mentioned definite existence can be transmitted by manufacturer's method for normalizing, for example transmits by CCID escape (Escape) command communication of being handled by CCID escape (Escape) logical one 04.In the optional embodiment of an employing polling method, card detection poll logical one 09 or chipcard application software are repeatedly confirmed the existence of contactless smart card by the described radio circuit interface 107 of direct visit.
In general, the CCID standard is designed to control contact chipcard interface arrangement, and does not support the operation of non-contact card.In another embodiment, described CCID escape (Escape) logical one 04 can be mapped to other manufacturer's standard register 106 to CCID escape (Escape) structured data.For example manufacturer's standard register 106 comprises the register of Configuration Control Unit 100 performances, as performance that power supply is offered external circuit or the performance of discerning the external radio frequency circuit types.
In an embodiment of the present invention, non-contact data converter logical one 05 generally is used to be controlled at the information flow of being made up of standard CC id command structured data usually between general purpose logical one 02 of CCID and the radio circuit interface 107.Use standard CC ID data structure in the chipcard application software that above-mentioned data stream allows to move on operating in mainframe computer system 300, and do not allow to use manufacturer's standard, unique, escape (Escape) structured data of above-mentioned noncontact integrated chip card controller.
For example, noncontact integrated chip card controller 100 comprises the enhancing that allows a complete standard CC ID software interface, standard CC ID software interface is used for the chipcard application software, comprise the predefined virtual automatic response logic 103 that resets, this virtual automatic response logic 103 that resets produces traditional response data structure that automatically resets, and this data structure comprises pre-defined data cell in integrated chip card controller 100.Classic method is to obtain to automatically reset response data by contacting directly from the chipcard interface arrangement; Yet noncontact chipcard interface arrangement does not generally comprise the response data structure that automatically resets, and changes into using a sequence number method to discern.Similarly, in the present embodiment, the response logic 103 that automatically resets in the noncontact integrated chip card controller 100 is communicated by letter with host computer 300 with response method by a traditional CCID order, as following description relevant for Fig. 4.
In another alternate embodiments, described standard comprises manufacturer's standard order, is called escape (Escape) order in the CCID standard, and it can be used to expand chipcard control or other unspecified element.In one embodiment, noncontact integrated chip card controller 100 adopts CCID escape (Escape) instruction to make noncontact integrated chip card connection.By handling CCID escape (Escape) instruction with CCID escape (Escape) logical one 04, CCID escape (Escape) logical one 04 transmits and is used for noncontact integrated chip card control and CCID escape (Escape) structured data of communicating by letter with a data converter 105, described data converter 105 possesses such logic, that is, described CCID escape (Escape) structured data is mapped to the form that is applicable to radio circuit interface 107.That is to say, use CCID escape (Escape) order in legacy system mapped, thereby be provided for controlling the order of noncontact chipcard interface arrangement (not shown) by data converter 105.
Radio circuit interface 107 is traditional three types: integrated, attached universal asynchronous receiver (UART), attached serial peripheral interface (SPI).In one embodiment, described integrated type is included in the radio circuit in the noncontact integrated chip card controller 100, is used to transmit and receive the radiofrequency signal that is suitable for noncontact integrated chip cartoon letters.In an embodiment of the present invention, the radio frequency requirement of integrated radio-frequency circuit is by ISO14443 and ISO15693 standard definition.An embodiment in the UART pattern, send and receive two signals and between described controller 100 and an external radio frequency circuit, provide an Asynchronous data-paths.In the case, described transmission signal is a sendaisle, and described received signal is a receiving cable.In attached SPI pattern, at least three signals provide a synchronous data path between described controller 100 and an external radio frequency circuit, and for example, a clock (CLK) provides the timing base of an input and output signal.
Figure 2 shows that the radio-frequency module equipment 200 that is connected to mainframe computer system (for example computer system among Fig. 3 300) by a front end cable 209.This radio-frequency module equipment 200 is used for carrying out radio communication with a noncontact chipcard interface arrangement.Front end cable 209 shown in Figure 2 inserts radio-frequency module 200 by a main connector 208 (for example flexible flat cable [FFC] or flexible print circuit [FPC] connector etc.).In the present embodiment, front end cable 209 is delivered to radio-frequency module equipment 200 with power from computer system 300.Similarly, main connector 208 comprises suitable connector unit, and for example power cell 213, ground unit 211 and data cell 212 make that power is able to be delivered to radio-frequency module 200 from mainframe computer system 300.
In the present embodiment, front end cable 209 comprises a module detection signal 210, in order to the existence of identification radio-frequency module 200.That is to say that front end cable 209 can support detection signal unit 210 suitable on the main connector 208, so that module detection signal 210 is connected with radio-frequency module 200.In one embodiment, when passing through on radio-frequency module equipment 200, (for example to connect (for example short circuit 311), when ground unit 211 is connected to module detecting unit 210), main system can be judged the existence of described radio-frequency module 200 by sampling module detection signal 210.For example, in one embodiment, module detection signal 210 can be concluded a logic low on the pull-up resistor that is included in the computer system 300.Similarly, by this program, when module detection signal 210 sampled a logic low, radio-frequency module 200 existed.
In addition, described radio-frequency module 200 comprises and is used to the radio frequency integrated circuit 201 controlling noncontact chipcard interface arrangement (for example meeting ISO14443, ISO15693 standard or other any industry of noncontact integrated chip card connection or specific chipcard interface arrangement of propriety standard of being used for) and communicate with.In one embodiment, radio frequency integrated circuit 201 comprises one or more signals of communicating by letter with mainframe computer system 300.The communication that these signals provide between radio-frequency module 200 and the mainframe computer system 300 through front end cable 209.Main connector 208 connects data cell 212 by suitable cable and adapts to described communication protocol.This data-interface can be above-mentioned UART or SPI type.
In one embodiment, radio-frequency module 200 comprises a printed circuit board (PCB) 202.Printed circuit board (PCB) among Fig. 2 comprises radio frequency integrated circuit 201, main connector 208, antenna connector 205 and other radio-frequency module element 206, and for example those are used for the element at particular antenna 214 and environmental baseline tuned radio frequency circuit.In one embodiment, by traditional solder technology these elements are fixed on the printed circuit board (PCB), all elements in an embodiment all are unleaded, so that described module meets worldwide health and the environmental standard that relates to lead, and are introduced into other embodiments of the invention.
In one embodiment, antenna connector 205 starts the attached antenna 214 of cable, is used to be separated in radio-frequency module position limit and aerial position restriction on the computer system 300.For example, antenna 214 is made by the flexible print circuit material, comprise with radio-frequency module 200 on the tie point terminal 204 that directly matches of FPC antenna connector 205.In another embodiment, the structure of antenna 214 comprises a slice ferrite thin slice 203, as a magnetic insulator, thereby limits the influence of other environmental baseline to noncontact radio communication, for example near the influence of the element other.The typical thickness of described ferrite thin slice 203 at 0.5mm between the 1.5mm.
Figure 3 shows that the computer system 300 that noncontact integrated chip card connection is housed.Computer system 300 comprises a central processing unit (CPU) 301, the data structure of its operation store in system dynamics random access storage device (DRAM) 302, and by a central nucleus chip group logic element 305 other computer subsystems of connection.Chipset 305 generally is connected to one by Accelerated Graphics Port (AGP) bus and is used for the graphic process unit 303 that user video shows.Described graphics subsystem comprises set of diagrams shape dynamic RAM (DRAM), in order to the store video related data structures.Chipset 305 is typically connected to system disk driver (HDD) 306, and HDD306 partly is used for storage operating system, application and subscriber data file.Chipset 305 is typically connected to audio subsystem.For example, audio subsystem comprises that is used for the audio codec (CODEC) 307 that loudspeaker is connected with microphone audio.Chipset 305 is also connected to network connecting portion 308, thereby realizes wired and/or WLAN (wireless local area network) (LAN) connection, and for example, described connection can realize and carry out Internet Protocol.Chipset 305 also by host bus interface for example USB serial bus interface 309 be connected 310 with other IO and be connected to various peripheral cells, other IO connects 310 can comprise peripherals interconnected (PCI), PCI-Express and IEEE1394 standard.
In one embodiment,, other IO in other optional embodiment, can be used though connecting 310,, computer system 300 is connected to noncontact integrated chip card controller 100 by USB serial bus interface 309.Controller 100 can detect the existence of the radio-frequency module 200 that comprises the external radio frequency circuit.Radio-frequency module 200 carries out radio communication with noncontact chipcard interface arrangement.For example, in one embodiment, the signal wire that controller 100 sampling is called DETECT#110 is judged the existence of the external radio frequency circuit of radio-frequency module 200, as previously described.Specifically, radio-frequency module 200 comprises main connector 208, and main connector 208 comprises ground unit 211 and detecting unit 210.Radio-frequency module 200 also is included in the short circuit 311 that connects ground and DETECT#110 on this module.In one embodiment, by above-mentioned setting, noncontact integrated chip card controller 100 can use direct detection signal existing with identification radio-frequency module 200 from cable 209.More particularly, in one embodiment, mainframe computer system 300 comprises a pull-up resistor that is connected to the DETECT# signal.Similarly, when radio-frequency module 200 was not connected to mainframe computer system 300, a high-voltage level appearred in the DETECT# signal, and when radio-frequency module 200 was connected to mainframe computer system 300, a low voltage level appearred in the DETECT# signal.
Main connector 208 on the radio-frequency module 200 also comprises at least one power cell 213 and at least one ground unit 211, with thinking radio-frequency module 200 delivering powers and benchmark ground connection being provided.In addition, also distribute at least one data unit 212 in the main connector 208, be used to show one by the shared communication protocol of the radio frequency integrated circuit 201 of radio-frequency module 200 and noncontact integrated chip card controller 100.
In one embodiment, antenna 214 is positioned on the printed circuit board (PCB) that separates with radio-frequency module 200, and for example, antenna is produced on the printed circuit board material.Though any amount of Antenna Design all is suitable, in one embodiment, adopt traditional differential antennae 214 structures.Described differential antennae 214 has two linkage units, is positioned at the antenna connector 205 on the radio-frequency module 200.By more detailed description, based on the restriction of environmental baseline, antenna PCB design and tuned cell 206, embodiment antenna to the distance limit of radio-frequency module 200 for being up to 5cm.Another program also can be established and/or adjust more accurately meter by relatively large antenna and surpass 5cm.In the embodiment of reality, ferrite thin slice 203 is attached on the antenna 214, and a magnetic insulator is provided.
Figure 4 shows that the noncontact chipcard software application flow process that is used for determining identification noncontact chipcard interface arrangement according to an embodiment of the invention.In the present embodiment, the software application of described noncontact chipcard is specific chipcard control device.In step 400, present embodiment obtains the ID of described integrated chip card controller.In step 401, present embodiment is visited a value that is called VALUE based on the ID of the integrated chip card controller that obtains in the first step 400.For example, present embodiment is visited a look-up table by the ID with reference to the chipcard controller, to determine above-mentioned value VALUE.Similarly, the software application of described noncontact chipcard can be discerned the chipcard control device and communicate by letter with the chipcard control device.
In step 402, present embodiment waits noncontact integrated chip card controller 100 and transmits a card insertion incident.After card insertion incident is transmitted, present embodiment execution in step 403, promptly slave controller 100 reads the response data that automatically resets.Because general foregoing noncontact chipcard interface arrangement does not provide the response data that automatically resets, response data is provided by controller 100 so this automatically resets.The response data that automatically resets normally comprises by the initial information that resets, inserts or start on the chipcard interface arrangement.
In the present embodiment, rely on the output of decision block 404 and produce a trend.Decision block 404 judges whether the response data that automatically resets is complementary with the value VALUE that is stored in the step 401.When the two did not match, present embodiment returned step 402 and waits a new card and insert incident.Alternatively, present embodiment also can select to stop to attempt the described card of identification.
On the other hand, in step 404, when the response data that automatically resets was complementary with value VALUE, present embodiment continued execution in step 405, reads sequence number (SSN#) by calliper model agreement from the noncontact chipcard.In step 406, each in more described SSN# of present embodiment and the known array number.For example, in order to mate known card, compare SSN# and known sequence number in a form.
In step 407, when the two was complementary, present embodiment was opened a communication port, began and described cartoon letters based on the card parameter of having known that obtains from above-mentioned SSN# look-up table.
On the other hand, when the two was not complementary, present embodiment was carried out a fail count relatively in step 409.That is to say, determine to attempt the number of times of failure.For example, in step 407, when SSN# and known array number did not match, the inferior numerical value that present embodiment will be attempted failure added 1.Thereafter, present embodiment determines whether the described trial frequency of failure exceeds predetermined number of failed attempts.If number of failed attempts surpasses predetermined number of failed attempts, then present embodiment continues execution in step 410, and closes above-mentioned communication port to stop and any cartoon letters of opening.In one embodiment, described fail count can be preestablished into 1.
On the other hand, in step 409, if the described trial frequency of failure does not exceed predetermined number of failed attempts, present embodiment turns back to step 405, after first comparison step 404 produces a definite results, the SSN# (for example, using a traditional polling method) that repeatedly reads described chipcard is to judge existing of noncontact chipcard interface arrangement.
In addition, in present embodiment execution in step 405 after step 408 is opened communication port.And, can also after the communication port that step 410 is closed, turn back to step 405 at present embodiment.
Embodiments of the invention are applicable to expansion CCID device, make it support to communicate noncontact integrated chip cartoon letters by described traditional C CID method by comprising a virtual automatic response that resets of controller generation that is used for non-contact card.In addition, comprise that in another embodiment the controller whether radio circuit exists is supported in the outside of a detection support noncontact integrated chip card connection, and the running that comes correcting device based on described testing result.
Embodiments of the invention provide a unique modular approach, permission is carried out noncontact integrated chip card connection by a connector, and embodiments of the invention comprise several be used for module itself with the unique radio-frequency module designing requirement and the separable antenna that are connected of mainframe computer system.And, the embodiment of the invention also is applicable to noncontact chipcard software application method, employing is discerned noncontact chipcard interface arrangement or smart card by virtual automatic response and the sequence number by making the noncontact chipcard and have poll (polling) technology that the look-up table of known card feature is complementary of resetting that controller provides.
Therefore, CCID software configuration of the present invention had both gone for contacting the chipcard interface arrangement, also went for new noncontact chipcard interface arrangement (for example smart card).In addition, embodiments of the invention also provide a kind of modular approach, make noncontact integrated chip card connection, and the connection of this noncontact chipcard is consistent with traditional software approach, and comprise the radio system with the contactless smart card compatibility.
Though description before and description of drawings the preferred embodiments of the present invention, it should be understood that also to have various interpolations, modification and the replacement that does not break away from the present invention's spirit scope essence, as the definition of appended claim.It will be understood by those skilled in the art that, many forms, structure, arrangement, ratio, material, element, assembly or other aspects also can be used for the present invention through revising, especially be useful under the specific environment and specific operation is implemented the present invention when needing, these do not break away from essence of the present invention.Therefore, the embodiment of Jie Shiing should be as the explanation of all aspects of the scope of the invention here, rather than restrictive, and the present invention is represented by accompanying Claim and legal equivalent thereof, the description before being not limited to.