Background technology
At present, plurality of devices includes intellignet card fetch.Smart card is the object that is associated with individual or service usually, and has integrated circuit, is particularly useful for security purpose.Smart card be used for mobile phone with the identification subscriber, be used for banking system and authenticate with authority the subscriber to confirm payment and to be used for TV set-top box.In more common smart card, microprocessor card comprises CPU (central processing unit), comprises the ROM storer of executable program, work RAM storer and be used for the eeprom memory of permanent storage data.Microprocessor card is connected with reader via contact terminal, and these terminals are used for power supply, reset signal, microprocessor is carried out clock signal regularly and the bi-directional communication links that is called I/O.The another terminal that is called I/O2 is standardization and can be used for communicating by letter, but current use.In standard ISO 7816-1,2 and 3, to the location of all terminals, carry out standardization, and announce by ISO by the attribute of the electric signal of I/O circuit transmission and by the data of I/O circuit switched.Usually use five terminals, only one of them is used for two-way transfer of data.
It is enough pliable and tough that plastic clip needs, and to leave in pocket or the wallet, is integrated in circuit in the card and need stands to a certain degree bending.For this reason, with the size restrictions of single circuit at about 20 square millimeters.For this reason, the performance of computing power and storage space aspect all is restricted.At present, the use of smart card is increasingly extensive, needs to improve its performance really.Can improve performance level by the circuit quantity that increases in the smart card.This solution is adopted by how tame smart card manufacturer, and they have realized nearly four circuit, and each circuit is near one in four angles of smart card.Suitable screen printing technique makes the user can know the application that realizes in each circuit, thereby the user can insert reader with smart card, when smart card being offered card reader when input, the circuit that hope is powered on is placed under the terminal of right hand end upside of smart card.Like this, the user has single smart card but not four.This solution has following shortcoming: two circuit can not communicate with reader simultaneously.In order to switch to another circuit from a circuit, the user must shift out smart card and it be inserted again, and changes direction and/or changes the side.Therefore the user must be on the scene always, carrying out these operations, in any case, if two circuit of smart card need communicate with one another, then can not consider this solution.
Another kind method be to smart card provide with a circuit contact communication and with the contactless communication of another circuit.The smart card circuitry that links to each other with coil in embedding smart card thickness is known.Coil provides supply of electrical energy and communicates by letter.Yet, with in the circuit one or another communicate by letter need to reader be equipped with connector and coil, and the signal of carefully guaranteeing to exchange by communication channel can not destroy signal with other communication channel exchange.For this reason, this solution is very expensive and be difficult to realize.
The known microprocessor card that is called super smart card, except the splicing ear of being realized by the standardization electric contact, microprocessor card also comprises lcd screen, keypad, self-energizing device and radio communication channel.For example, in the patent EP 203683 that submits to by VISA INTERNATIONAL, this microprocessor card is disclosed.When the user inserted these smart cards in the reader, talked with they and contact, but no longer can insert keypad.In the reader outside, these smart cards are by radio and devices communicating.Yet these smart cards are very frangible and expensive, really do not put goods on the market as yet.
TV set-top box is used to receive the signal that produces from antenna, and these signals are decoded and they are sent to TV screen.Set-top box does not have many panel buttons, is less than five usually.Use a teleswitch, the user is control break channel, adjusting sound, activation program guide etc. remotely.Can on television screen, carry out the multiple adjustment of adjusting and so on as picture, thereby the telepilot of set-top box comprises less function, and thereby have a less button.Then, if expectation provides additional function to set-top box, then must make guide complicated more.In addition, do not avoid damage, a small amount of panel button on the set-top box only allows minimum function.Significantly like this reduced the service that set-top box provides.The present invention is directed to novel communicator, the equipment with intellignet card fetch is provided, this communicator cost is low, and can not destroy and normally the carrying out of the exchange of smart card.
Summary of the invention
Theme of the present invention is a kind of method of switching communication channel, is used to make intellignet card fetch to communicate with a plurality of circuit of the card that inserts reader, and each circuit all has communication channel; It is characterized in that, said method comprising the steps of:
-by connecting the electric contact that button (button) upward is provided with, apply supply voltage to card,
-will be used for controlling that control signal that communication channel switches transfers to the insertion portion that is positioned at card but the electric contact on button not by reader,
The communication channel of-commutation circuit can communicate described circuit via connecting button.
By this way, reader can be selected to have inserted and the circuit of the card wanting to communicate with it.By switching signal being transferred to the electric contact that is positioned at the card insertion portion but not button, can not use that it uses standardized terminal in the card.
According to first improvement, said method comprising the steps of: the signal on the electric contact of the card of the existence of detection indication switch unit.By this way, whether the card that inserts of reader identification has one or more circuit and makes the switching device shifter that can engage in the dialogue with each circuit.Improve according to another, control signal comprises a plurality of independent signals, and the number of described independent signal is determined switching position.By this way, by being counted, these independent signals carry out switching.
Improve according to another, also with switch application in such as clock with the Control on Communication signal resetting.Like this, reader can activate each circuit individually.
In addition, theme of the present invention is a kind of removable equipment that is designed to insert intellignet card fetch, and described equipment comprises: first is used to insert reader, and comprises the electrical connection button; Described removable equipment is characterised in that, comprise from the second portion of reader accessible outside, described second portion comprises: a plurality of circuit, be designed for the outside of data transmission to described reader, pair manage by administrative unit with communicating by letter of a plurality of circuit, described administrative unit is used by the signal that connects the button transmission, and via the insertion portion that is positioned at described equipment but do not communicate at the electric contact and the reader that connect on the button.
According to first improvement, described equipment comprises: be used for the device to the electric contact transmission signals of the existence of indicating commutation circuit.By this way, whether card can have the relevant indication of commutation circuit to external transmission and this card.According to another improvement, switch unit comprises at least one second circuit, and this circuit is used to switch such as clock and the control signal resetting.By this way, can activate card individually and go up the circuit that exists.
Improve according to another, described equipment comprises a plurality of grooves (recess) that are used to insert smart card.Described groove has the connector with the smart card communications that is inserted.The I/O pin of each connector is connected with the switched terminal of commutation circuit.By this way, described equipment can communicate with one another reader and a plurality of smart card.According to improvement, each in these grooves comprises the detecting device that is used for test card.Management circuit is handled the signal that comes self-detector, and transmits the information after handling via the terminal that connects button.
Improve according to another, described equipment comprises the device and/or the display device of input command, and the position of switch makes between the terminal of described button (I/O) and described input and/or the display device and can communicate.Improve according to another, the position of electric contact has showed the feature of device class.By this way, can limit is the pairing of interoperable reader and card.
In addition, theme of the present invention is a kind of intellignet card fetch equipment with groove, and described groove comprises: have the connector of electric contact, described electric contact is cooperated each other with the terminal that is connected button on the card that inserts described groove; And there is detecting device in card, and when inserting card, described card exists the voltage of detecting device to change; Described equipment is characterised in that, described detecting device has and is designed to the metal part that contacts with the metal part branch of insertion card, and described equipment comprises the communicator that has detecting device transmission data via card.
Embodiment
Fig. 1 shows the structured flowchart with the main reader that is connected 2 of smart card 1.Reader 2 has the slit that allows to reach groove, and this groove comprises one group of connector of cooperating with the terminal of card when described card is inserted groove fully.
Chip card 1 has the connection button, and this connection button is equipped with according to ISO 7816-3 standardized as lower terminal:
-GND and+Vcc: power supply (5 volts or 3 volts),
-reset: the microprocessor reset signal,
-clock: microprocessor is carried out clock signal regularly,
-Vpp: at the voltage (21 to 25 volts) of EPROM card (not using),
-I/O: bidirectional data transfers circuit
-AUX1, AUX2: the signal that is used for NDS type safety card.
Because the connector of cooperate with button is sliding contact normally, and terminal is positioned on two row, so when insertion blocked, the electric signal that put on terminal was damaging for microprocessor.The card that is positioned at the groove rear portion exists switch 10 to detect and when blocks insertion fully.ISO 7816-3 standard code, the signal that switch 10 is transmitted triggers+activation of Vcc, clock and reset signal with accurate order.After this, the microprocessor of card is activated, and transmission " response resets " on the I/O circuit.It is also conceivable that other agreement, especially for sync card.
Adopt economical especially and widely used mode, card exists switch 10 to comprise two sheet metals, and when not blocking, described sheet metal is in electric contact state.When blocking when inserting fully, the edge of card turns back one of sheets, thereby has blocked and the contacting of another sheet.With contacted of card with reader+" on draw " resistor electrical links that Vcc is connected, and with the formating circuit electrical links that is used to detect level so that described level is handled by CPU (central processing unit).The disappearance of GND level (0 volt) is the indication that card exists.It has or does not have the card of the electric contact of cooperating with switch 10 the level indication that is detected.When will blocking when removing from reader, sheet metal recovers the contact with another sheet metal of same GND (that is electrical zero value) link immediately.When not blocking, the signal that is generated is 0 volt.
Fig. 2 shows the card 1 according to the first preferred exemplary embodiments.This card has been equipped with the button 3 that comprises according to the splicing ear of ISO 7816 standards.2.5mm bonding jumper 4 be positioned on the edge of card, to exist switch to contact with the card that is positioned at intellignet card fetch rear portion place.This card also has a plurality of integrated circuit, the four position switch circuit that comprise the microprocessor 6 that is called CP1, CP2, CP3 and CP4 and be called SWITCH.Each microprocessor 6 has the I/O circuit that is used for unidirectional or two-way communication.GND ,+Vcc, reset and clock signal to the power supply of all CPU (central processing unit).As various communication line I/Oi, link from the I/O circuit and the switch SW ITCH of terminal from microprocessor 6 CP1, CP2, CP3 etc.Switch have can with the as many position of number of the circuit 6 of reader communication.According to first exemplary embodiments, provide the switching signal that to select with the circuit I/Oi of reader communication by the supplementary contact 4 on OSI standard terminal not.With the control input electrical links of supplementary contact 4 with switch SW ITCH.
According to improving shown in figure 2, switch SW ITCH has three commutation circuits, thereby can be to clock, reset and the I/O circuit switches.Therefore, clock is connected with the terminal of button 4 no longer as previously with reset pin, but links with the second and the 3rd terminal of second and tertiary circuit of switch 5.In order to keep level constant, the clock of circuit 6 and all level of reset pin are remained on 0 volt by resistor.Utilize this improvement, reader can activate each circuit 6 individually.
Various elements are specified, will describe described element and how to cooperate by means of Fig. 3 sequential chart now.
The CPU (central processing unit) of reader exists the level that occurs on the switch 10 to analyze to card always.If this card does not electrically contact, have at card then that detected voltage is+Vcc on the switch.Then, in a conventional manner this card is powered on.Detected voltage is medium voltage on the switch if exist at card, and for example 2.5 volts, then there is the pullup resistor by reader in this expression and the electric current of the resistor realized on card.Then, the CPU (central processing unit) of reader applies supply voltage+VCC to the terminal of card 1.At this moment, switch SW ITCH is powered, and its default position when powering on can be connected the I/O1 of circuit CP1 with the I/O terminal of button.If reader is wanted the dialogue with circuit CP1, it does not need to send switching signal.If reader is wanted and the dialogue of another microprocessor, then it exists switch 10 to send the sequence that the pulse by predetermined number constitutes to card.In each pulse place, switch all changes the position: after two I/O pulses, terminal links with the I/O2 of CP2; After three I/O pulses, terminal links with the I/O3 of CP3, and the rest may be inferred.Because there is the use of switch in metal card, the transmission of communication channel switching signal does not need to revise the ardware feature of reader.
The embodiment variant of first exemplary embodiments comprises to card and exists switch 10 to apply predetermined voltage.The magnitude of voltage that is applied is directly depended in the position of switch.For example, if voltage between 1 and 2 volt, then switch is electrically connected the I/O1 of circuit CP1 with the I/O terminal of button.If voltage is between 2 and 3 volts, then switch is electrically connected the I/O2 of circuit CP2 with the I/O terminal of button; If voltage is between 3 and 4 volts, then switch is electrically connected the I/O3 of circuit CP3 with the I/O terminal of button; And if voltage is between 4 and 5 volts, then switch is electrically connected the I/O4 of circuit CP4 with the I/O terminal of button.The advantage of this variant is that new voltage application changes the position of switch immediately.
The improvement of first exemplary embodiments comprises: the card that inserts reader is the backpack card that comprises with the interface of user interactions and a plurality of connectors of communicating by letter with a plurality of chip cards.
Show to Fig. 4 n-lustrative another exemplary embodiments of backpack card.The backpack jig has and the identical reference number 1 of card described in Fig. 3, and is made of the thickness epoxy wafer identical with the thickness (0.9mm) of microprocessor card.First difference is, replaces the whole of microprocessor 6 or some by chip card 11.The boundary of representing to insert the part of reader by dotted line.Button 3 supports ISO 7816 standardization to connect.The bonding jumper 4 that is fixed on the 2.5mm on the card-edge puts on the card that is positioned at place, intellignet card fetch groove rear portion and has switch.The backpack jig has the first that inserts reader, and the still addressable second portion of user.Represent boundary between two parts by the dotted line among Fig. 3.This second portion comprises that the keypad with button 7, display 8 and 9 one of 9, three grooves of three grooves with user-accessible are stacked on another, and this makes and can insert three microprocessor cards 11 at most.The terminal GND of button 3 ,+Vcc, reset and the respective terminal electrical links of three connectors of clock and three groove 9 inside, thus the respective terminal electrical links of these terminals and the card 11 that inserts groove 9.The I/O circuit of button 3 links with the I/O pin of three connectors of switch SW ITCH 5 and three inside grooves.Switch 5 has four positions, links to keypad management circuit 12 with the corresponding terminal of primary importance, and advantageously, this circuit is a microcontroller.Other three terminals each with three connectors of three groove 9 inside in each I/O pin link.The control input electrical links of supplementary contact 4 and switch SW ITCH, thus select to want the circuit-line I/Oi that communicates by letter with it by the switching signal of reader transmission.
Each groove has card and has switch 13.A terminal of switch links with GND, another with link with+resistor that Vcc links.When not blocking, switch closure, and the voltage at switch terminal place is 0 volt.Have on the switch 13+the appearance indicating card of the signal of Vcc level inserts in the groove 9 fully.Three switches 13 link with keypad management circuit 12.By this way, whether management circuit receiving card inserts the information in the groove, and can provide this information to reader when described reader request information.
The backpack card can also support to listen (audible) transmitting device, as loudspeaker and hummer.Keypad management circuit 12 is in charge of keypad 7, screen 8 and is blocked 11 existence, and is preferably located in the outside of inserting the zone in the reader, does not have thickness limits herein.If observe the maximum ga(u)ge of 0.9mm, then this does not hinder it to be positioned at and inserts the zone.Preferably, realize the connecting line between the connector of button 3, electronic component 4, switch 5, management circuit 12 and groove 9 with the form of deposited copper on the epoxy wafer, cover described deposition with insulation component then.The backpack card can also be supported security module.Security module is the circuit identical with the type of microprocessor card, has additional security function.
A kind of use-pattern of backpack card comprises that making reader carry out TV shopping under the help of payment transmission network uses.First groove comprises dedicated transmissions network insertion card, and this card comprises the authority of watching audiovisual material.Second groove design is used to receive bank card, thereby can be selected object payment in the TV shopping program.
For the described card of Fig. 3, a kind of improvement comprises the switch SW ITCH with three commutation circuits.Like this, the clock of connector 9 is connected with the respective terminal of button 4 no longer as previously with reset pin, but with second and tertiary circuit electrical links of switch 5.In order to keep level constant, will be installed in the clock of the connector in each groove 9 and all level of reset pin remain on GND by resistor.Utilize this improvement, reader can activate each card 11 that inserts each groove 9 separately.
Improve according to another, the electric marginal position of card and the position that there is switch in card are set in the pre-position.The straight line portion of card width is 48mm, can have an electric edge by every 3mm, has obtained 16 possible positions like this.Strictly speaking, in order to carry out switching, must there be the metal part of switch towards card in the contact of card.Otherwise, can't realize electrically contacting, and will handle this card in a conventional manner.Use this improvement, can limit a pairing of the reader of cooperating with the particular model of backpack card.
Show to Fig. 5 n-lustrative another exemplary embodiments of backpack card.Be to replace switches 5 by card management circuit 14 with first difference that goes out example shown in Figure 4, this circuit is via bonding jumper 4 received communication data.Button 3 supports ISO 7816-standardization to connect.Existing on the position of switch 10,2.5mm bonding jumper 4 is fixed to the edge of card when card is affacted card when inserting reader fully.Still addressable part also has the groove 9 that is used to insert microprocessor card 11 in the backpack card.This groove has card and has switch 13.This switch links with electric contact 4 on the one hand, links with the resistor that is connected with GND on the other hand.When existence blocks 11 in the groove 9, Closing Switch 13, thus the level drops that occurs on the electric contact 4 is low to moderate particular value, typically, if+Vcc equals 5 volts, then is 1.5 volts.
ISO 7816-standardization contact element in the groove and provide the microprocessor card 11 that inserted and the electric continuity between the button 3 with electric wire that the terminal of button 3 links.By this way, reader can read chip card 11, just as directly inserting chip card 11.Backpack card 1 has the keypad 7 (may be serigraphy) that comprises button.Also can be that other order is obtained or is worth input element (switch, small outline dual straight cutting encapsulation switch, pot, decimal system pad (decimal pad) etc.).According to improvement, backpack card 1 also has display 8, and the typical case is a lcd screen.Card 1 listened to the transmitting device that can also support such as loudspeaker and hummer.Preferably, the management and the microcontroller of handling via communicating by letter of electronic component 4 14 of keypad 7, screen 8 is arranged in the outside that reader inserts the zone, so there is not thickness limits.If observe the maximum ga(u)ge of 0.9mm, then this does not hinder it to be positioned at and inserts the zone.Deposit the connecting line between the connector of realizing button 3, electronic component 4, microcontroller 14 and groove 9 by the copper on the epoxy wafer, cover described line by insulation component.
Fig. 6 shows the various electrical links between the electric assembly of backpack card.Microcontroller 14 links with the terminal of button 3, with to user interface element 7 and 8 and put forward supply of electrical energy, clock and reset signal to hardware 4.May need the assembly between microcontroller and the hardware 4 to carry out level match and short-circuit protection.If if link is two-way and microcontroller has two communication lines, then described circuit links with two assemblies that are used for level match, and " half-duplex " communication line is provided.
How will pay close attention to reader now detects according to the existence of the backpack card of this novel exemplary embodiments and the existence of groove chips card.Fig. 7,8 and 9 has described to appear at the sequential chart that card exists on the switch and transfers to the electric signal trend of reader administrative unit.Fig. 7 has described the insertion of conventional microprocessor card.Beginning, level is 0 volt, card is not inserted in this expression.Electrical level rising is to+Vcc, the insertion of indicating card then.Level remains on+Vcc then, and there is not the backpack card in this expression.At last, level drops is gone back to " 0 " when card is removed.
Fig. 8 has described and has inserted the backpack card and electric signal trend when chip card not being inserted groove.For Fig. 7, level reaches+Vcc when inserting the backpack card, and level vibrates between+Vcc and value+V2 then, represents that microcontroller is transmitting data, perhaps more generally, is illustrated in and is setting up communication between reader and the microcontroller.Only comprise in the simplified embodiment of keypad at the backpack card, on the determined duration+appearance of V2 level indicated the transmission of start bit, transmitted eight data bit then serially.Advantageously, the transmission of parity check bit and stop bit end data.
Fig. 9 described with the backpack card insert, electric signal trend when then chip card being inserted groove.Level reaches+Vcc when inserting the backpack card, reaches+V2 when inserting chip card then.From+Vcc to+it is because card exists the closure of switch 13 and the resistor that is connected with GND that the voltage of V2 descends.Going up maintenance+V2 level in the long period (be at least transmission a required time ten times) has indicated just to reader microprocessor card has been inserted groove.When reader detected this transformation to+V2, it was known chip card is inserted groove, and triggers new resetting.After this, if all carry out finely, then should chain from splicing ear and receive the byte that resets at I/O.Because safety blocking-up or card failure, if the I/O circuit does not transmit byte, then card is quiet (mute) that covers.When microcontroller and reader communication, level value vibrates between maximal value+V2 and minimum value+V1.When voltage rise back+during Vcc, reader knows that microprocessor card is removed.
Various in order to detect+Vcc ,+V2 and+the V1 threshold value, be connected with threshold dector with the sheet that clamping is touched.According to a simplified embodiment, threshold value is made as three medium voltage V
A, V
BAnd V
CV
ABe 0 volt and+level between the V1, V
BBe+V1 and+level between the V2, and V
CBe+V2 and+level between the Vcc.With the comparer cascade on two circuits that are connected with the administrative unit of reader, to provide binary value.Article two, there is the magnitude of voltage of switch in the binary value of circuit to the coupling mechanism announcement card.Voltage by considering to put on ISO 7816 splicing ears and signal carry out the analysis to this value.At first, do not apply voltage." 00 " value representation that comparer transmitted does not insert card, otherwise, be stuck in the reader.Under latter event, the administrative unit of reader puts on splicing ear according to ISO 7816 standards with signal.Then, following value is adopted in the output of comparer: if " 01 ", then level is greater than V
AAnd less than V
B, indication backpack card and microprocessor are positioned in the reader, and are transmitting the position that is in " 0 ".If " 10 ", then level is greater than V
BAnd less than V
C, indication backpack card and microprocessor are positioned in the reader and link is idle or transmitting the position that is in " 1 ", and perhaps indicating does not have microprocessor card and has only backpack to be positioned in the reader and transmitting the position that is in " 0 ".If " 11 ", then level is greater than V
C, indication microprocessor card individualism does not perhaps have microprocessor card and has only the backpack card to exist and link is idle or transmitting the position that is in " 1 ".When the value of comparer when changing between " 01 " and " 10 " or between " 10 " and " 11 ", then reader can therefrom be inferred the existence of backpack card or do not existed, and the existence of microprocessor card or do not exist.
According to last exemplary embodiments, if the backpack jig has signal transmitting apparatus, for example, lcd screen or LED diode or even hummer, be two-way then with linking of microcontroller.By this way, reader can receive from the code that is pushed button, and transmits the information that will show.
According to another improvement of last exemplary embodiments, the electric marginal position of card and the position that there is switch in card are set in determined position.The straight line portion of card width is 48mm, can have an electric edge by every 3mm, has obtained 16 possible positions like this.Strictly speaking, for communication is provided, these positions must face with each other, but needn't only detect the existence that blocks.Therefore, can realize the different reader model of cooperating with specific backpack snap gauge type.
Described embodiment should be considered as example, and can in the field that scope limited of claims, make amendment.Particularly, under the situation that does not depart from scope of the present invention, it is contemplated that the alternate manner that electrically contacting on the chip card detected.Particularly, the invention is not restricted to TV set-top box, but can be applied to have any equipment of microprocessor card reader.