Title of Invention | "APPLIANCE WITH A SMART CARD READER" |
---|---|
Abstract | For testing of the appliance (1), a test adapter (2) is used as an interface, which is inserted into the smart card reader (4) of the appliance. Advantageously, a contact (C6) of the smart card reader is used for testing of the appliance, which is not used by the appliance, when operating with a smart card. One of the contacts used for testing of the appliance is in particularly the contact for the programming voltage VPP according to the ISO/TEC 7816-3:1997(E) standard. In a preferred embodiment, the test adapter (2) comprises a serial adapter interface (5) to a RS232 plug, which is coupled to a computer (3) for testing of the appliance (1). This allows to use the XON/XOFF protocol via two data lines for testing of the appliance (1). The electronics part of the test adapter (2) is powered via the smart card reader interface, when the test adapter is inserted into the smart card reader (4) of the appliance. The appliance (1) is especially a set-top box or a digital satellite receiver. |
Full Text | Method and test adapter for testing an appliance having a smart card reader, and a respective appliance The invention relates to a method for testing an appliance having a smart card reader for operation with a smart card, and a respective appliance. Appliances of this kind are known for example from pay television broadcast (Pay TV), electronic payment, or banking services. Smart cards, also known as IC cards, are portable information media, having the size of about a credit card. They comprise an integrated card controller, or at least an integrated memory, for a data exchange with a respective appliance. A portable device of this kind is known for example from EP-A-0 633 544. As a general term for this data media the expression "smart card" will be used throughout in this description. Usually, smart cards are provided with contacts being mechanically contacted by a smart card reader for an electrical connection, for a data exchange with the respective appliance, but smart cards with wireless contact means, having no direct mechanical contact connection, are known also. The communication between smart cards and respective appliances is described for example in WO 97/25685 and EP-A-0 814 427. An international standard, which describes and defines smart cards having contacts and the operation procedures of smart cards, is ISO/IEC 7816-3:1997(E). This standard is used particularly for pay television systems, which use a set-top box, or a digital satellite receiver, with a smart card reader and respective smart cards for authorizing the reception of pay television broadcasts. The respective smart cards comprise data, which enable the set-top box to unscramble received coded video signals. It is known to provide digital set-top boxes with a so-called FFT interface for allowing Factory Functional Tests (FFT). This is a tool, which gives the capability to drive the set-top box hardware through its low level drivers, by using an external computer, for example a PC. The computer is coupled via a standard EIA-RS232 communication port to the set-top box, the set-top box comprising a respective port for example at the rear side. This test method uses a FFT commands library, which is common to all the respective appliances. The main idea of this tool is to provide easy access during the factory process, especially for the consumer test after production of the appliance, when the box is closed. This feature is also very useful for after-sales diagnostics or development diagnostics too. It is an object of the invention to provide a method for testing of an appliance having a smart card reader for operation with a smart card, which allows to reduce the costs for the appliance, and a respective appliance. This object is achieved for a method as specified in claim 1. Further, a respective test adapter is specified in claim 5 and a respective appliance in claim 7. Advantageous developments of the invention are specified in the subclaims. According to the invention, a test adapter is used as an interface, which is inserted into the smart card reader of the appliance for testing of the appliance. Advantageously, a contact of the smart card reader is used for testing of the appliance, which is not used by the appliance, when operating with a smart card. One of the contacts used for testing of the appliance is in particularly the smart card contact for the programming voltage VPP according to the ISO/IEC 7816-3:1997(E). In a preferred embodiment, the test adapter comprises a serial interface to a RS232 plug, which is coupled to a computer for testing of the appliance. The test adapter comprises the respective hardware to convert the signals according to the smart card standard into the RS232 standard. This allows especially to use the XON/XOFF protocol via two data lines for testing of the appliance. The electronics part on the test adapter is powered via the smart card reader interface, when the test adapter is inserted into the smart card reader of the appliance. Only four contacts are necessary for testing of the appliance: Two contacts for the power connection, one line for transmitting signals, and one line for receiving signals. For the receiving signals, the already available IN/OUT contact of the smart card reader can be used. With this method, the often used RS232 connector with the respective interface in the appliance, a set-top box or a digital satellite receiver, can be avoided. Only a few modifications of the electrical layout inside the appliance are necessary. A preferred embodiment of the invention is now explained in more detail with reference to schematic drawings, which show: Fig. 1 a system with a test adapter for testing a digital set-top box, Fig. 2 a flow chart showing the method steps for testing of a set-top box, and Fig. 3 the smart card reader interface of a digital set- top box, which is suitable for testing with a test adapter. In Fig. 1 a system is shown for testing a digital set-top box 1 comprising a test adapter 2, which is inserted into a smart card reader 4 of the digital set-top box 1 for testing purposes. The test adapter 2 is coupled to a desktop PC 3, which provides commands via the test adapter 2 to the set-top box 1 and checks the respective responses from the set-top box 1. The smart card reader 4 complies in this embodiment with the ISO/IEC 7816-3 standard, and the part 6 of the test adapter 2, which is designed for insertion into the smart card reader 4, comprises respective contacts CI - C8 according to this standard. For this purpose the part 6 is made from a printed circuit board having the same thickness and width as a smart card, which is used normally together with the set-top box 1. The smart card reader 4 therefore sees no difference between a smart card and the test adapter 2, when the test adapter 2 is inserted into the smart card reader 4. On the remaining part 7 of the test adapter 2 a RS232 plug 5 is arranged, also a circuit for providing a conversion of the data signals between the RS232 interface and the signals according to the ISO 7816-3 standard, which are used for the data exchange via the contacts CI - C8 with the smart card reader 4. As a respective circuit, which provides this conversion, an integrated circuit like MAX2 02 or ST2 02 may be used. The test adapter 2 can be coupled therefore via a conventional RS232 cable 10 to the desktop PC 3, the desktop PC 3 having for example a 9-pin male SUB-D connector and the test adapter 2 a 9-pin female SUB-D connector. With the test adapter 2 the set-top box 1 is tested therefore in the same manner as been done before, when using the test adapter 9 arranged at the rear side of the set-top box together with the respective EIA-RS 232 interface 8. Only a few modifications inside the set-top box 1 have to be done, when the test adapter 2 is used for testing, as will be described below together with regard to Figure 3. When the plug 9 and the interface 8 are avoided in the set-top box 1, the costs for the set-top box 1 are reduced by about 0.5 Euro. The costs for the test adapter 2 are negligible, because only a few specimens are necessary for testing a complete production in the factory, for performing the Factory Functional Tests. As a test adapter 2 a simple printed circuit board may be used, on which all the parts are arranged, the contacts C1 - C8, plug 5, and the respective interface from EIA-RS232 to ISO 7816-3. For the printed circuit board a thickness of 0.8 mm has to be used. The new method with the test adapter 2 allows therefore an easy testing of all the respective set-top boxes, even for the low-end set-top boxes, because a smart card reader 4 is always implemented. The only disadvantage is, that service personal outside of the factory has no access for testing the set-top box, when they don't have the test adapter 2. But there is still the possibility to provide the set-top box 1 in addition with a RS232 interface 8 and plug 9, to be able to perform tests via the test adapter 2 as well as with the interface 8 and plug 9. The steps of the new method are now described with reference to a flow chart as shown in Figure 2. In step S1, the test adapter 2 is inserted into the smart card reader 4 of the set-top box 1. The digital controller of the set-top box 1 assumes then that a smart card has been inserted because the smart card switch 11, see Figure 1, is actuated. In step S2, the set-top box 1 provides a reset signal for a cold reset for an activation of the assumed smart card. In step S3, the set-top box 1 waits for an answer to the reset signal of step S2. When a valid smart card has been inserted into the smart card reader 4, the answer to the reset is positive, and then a normal operation with the smart card is starting, step S4, for example the reception and descrambling of a television broadcast, as wanted by a user of the set-top box 1. If there is no valid answer to the reset signal of step S2, then the set-top box 1 begins with the initialization for a Factory Functional Test (FFT), step S5. The set-top box 1 assumes then, that a test adapter 2 has been inserted into the smart card reader 4. When the set-top box 1 in the next step S6 receives a positive answer from a computer, for example desktop PC 3, the set-top box 1 is ready for the Factory Functional Test, step S7. When the set-top box 1 does not receive a positive signal from a PC, the set-top box 1 displays an error message on it's display: "no valid smart card", step S8. In Figure 3 the relevant part of the set-top box 1 for operation with the test adapter 2 is shown. The smart card reader 4 comprises inside the set-top box 1 a smart card connector 12 with contacts C1 - C8, for operation with a smart card according to the IEC 7816-3:1997(E) standard. The contacts C1 - C8 provide the following connections to a smart card: C1 for supply voltage VCC, C2 for a reset of the smart card, C3 for providing a clock signal to the smart card, C4, C5 and C8 for providing ground terminal connections to the smart card, C6 for providing the programming voltage VPP and C7 for providing a data Input/Output connection for a data exchange between the smart card and the set-top box 1. The set-top 1 comprises further an integrated circuit IC1, a buffer and line driver for the digital signals used for operation with the smart card, which are in this embodiment the reset signal RST for contact C2, the clock signal CLK for contact C3, and the data input and output signals I/O of contact C7. The integrated circuit IC1 is for example an integrated circuit 74HCT244 from Texas Instruments. For the IC1, also for the smart card and the electronics of the smart card reader 4, a supply voltage of 5 Volts is used. The smart card reader 4 comprises further switch contacts SW of a switch 11 for a smart card detection, see also Figure 1. When a smart card, or a test adapter 2, is inserted into the smart card reader 4, the switch contacts SW are open. To one of the switch contacts, PRES, a supply voltage of 5 Volts is coupled via a resistor R1. Also a transistor T1 is coupled with its base terminal to the switch contact PRES, the transistor Tl providing a "low" output signal, when the switch 11 is open, and a "high" output signal, when the switch 11 is closed. To the transistor Tl a NAND gate IC2 is coupled, arranged as an inverter, for providing a signal "Card-detected" for a micro-controller, not shown, of the set-top box 1. The output of IC2 is also coupled to an input of a NAND circuit IC3, for providing the supply voltage VCC to a smart card, or to the test adapter 2. The other input of the NAND gate IC3 is used for a control signal "Command VCC". Therefore, when a "Card-detected" signal is provided, and also from the micro-controller of the set-top box 1 the signal "Command VCC", the output of IC3 goes to "low", then providing via a transistor T2 the 5 Volts supply voltage VCC to the contact C1 of the card connector 12. The set-top box 1 may comprise in addition a RS232 interface 8 and a plug 9, see also Fig. 1. As described before, this interface allows to test the set-top box 1, providing especially a Factory Functional Test FFT. This interface provides two signal lines for testing of the set-top box 1, RXRS232 for receive signals and TXRS232 for transmit signals. These lines are coupled to the microcontroller of the set-top box. Therefore, for testing of the set-top box only RX/TX signals are used, and for example the XON/XOFF protocol may be used as a protocol for data exchange, which is well known in telecommunication systems, for example for modem operation. As described before, the test adapter 2 comprises the same circuitry as the RS232 interface 8, for example an integrated circuit MAX202, IC4. To operate a computer 3 in the same way when connected to plug 5 of the test adapter 2, as has been done before, when the computer 3 is coupled to the plug 9 of the set-top 1, only a few circuit amendments inside the set-top box 1 are necessary. The TXRS232 line has to be connected to contact C6, which is according to the ISO 7816-3 standard the contact for the programming voltage VPP. The contact C6 is therefore used by the test adapter 2 for the transmit signals TXRS232. As a second contact for testing of the set-top box, the contact C7 for data In/Out is used, as has been done already before. This contact C7 is coupled therefore after the buffer integrated circuit IC1 to the contact DIN, for a normal operation of the set-top box 1 together with a smart card, for example descrambling a television signal, and also to the contact RXRS232, for the Factory Functional Test of the set-top box 1. The set-top box 1 can be tested therefore via the test adapter 2 with a computer 3 in the same way, as has been done before with the RS232 interface 8 and the plug 9. The interface 8 and the plug 9 are therefore no more necessary for a set-top box, which leads to a considerable cost reduction. Of course, interface 8 and plug 9 may be equipped also, as described before, but their use is exclusive with testing through the smart card reader 4. Therefore, when the test adapter 2 is inserted into the smart card reader 4, the set-top box 1 assumes first, that a smart card has been inserted. The set-top box 1 performs then the respective initialization steps for operation with a smart card according to the ISO/IEC 7816/3 standard. But the test adapter 2 does not provide a respective positive signal after the reset signal, which is applied to contact C2. Then, in a further step the set-top box 1 assumes that a test adapter 2 has been inserted into the smart card reader 4, and it provides then internally the necessary set-up for the test procedures. Therefore, for the operation of the test adapter 2 only four contacts are necessary: C1, input for voltage VCC, for providing a supply voltage from the smart card reader 4 to the test adapter 2, C7, data I/O output which is used as a serial port to provide data signals to the RXRS232 connection of the set-top box 1, C6, reserved for the programming voltage VPP and to be used as input for signals from the serial port TXRS232, and C8 as a ground input. The electronics of the test adapter 2 is powered via the contact C1, voltage VCC. The power for the test adapter 2 therefore should not be too high, for example, it should be limited to 50 mA for a supply voltage of 5 Volts. The software of the set-top box 1 requires therefore only minor changes for working properly with the test adapter 2. Essentially, it has to be avoided, that the set-top box 1 remains in an error mode, when the set-top box 1 recognizes, that not valid smart cart has been inserted into the smart card reader 4. As an alternative, the computer 3 may send a control code after step S3 in which the set-top box 1 waits for an answer to the activation of a smart card, step S2. The control code can be command known to the set-top box 1, which requests the initialization of the set-top box 1 for test procedures. Because the computer 3 uses the same data lines TXRS232 and RXRS232 with the test adapter 2 as with the interface 8, the test programs of the computer 3 have not to be changed. The printed circuit board of the test adapter 2, which has to be inserted into the smart card reader 4, should have the respective size of a smart card, which is used for normal operation of the set-top box 1. Especially, the thickness of the circuit board should be limited to 0,8 mm and the card contacts C1-C8 have to be arranged according to the ISO/IEC 7816/3 standard, or at least the contacts C1, C6, C7 and C8, to provide the necessary connections between the test adapter 2 and the smart card reader 4. The remaining part of the test adapter 2, which is outside of the smart card reader 4, may be supported at the backside with an additional board, or may be equipped with a housing, to provide the necessary stability for the test adapter 2, when being operated via the cable 10 with a computer 3. The embodiment as described with regard to Figs. 1-3 complies with the specification according to ISO/IEC 7816/3, but other applications lie also within the range of the invention. Wireless contacts may be used also by the test adapter 2 and the appliance 1, therefore not requiring a mechanical contacting. The appliance can be integrated also into a television receiver, a personal computer or any other unit. As described before, the test adapter 2 needs only two contacts for providing a supply voltage and ground, and two contacts, one for receiving data signals and one for transmitting data signals. As one of the contacts for data signals therefore an already available contact for input/output signals is used, and as the second contact for data transmission any reserved or unused contact of the smart card connector is used. New Claims 1-9 (Shall replace all present claims) 1. Method for testing an appliance (1) having a smart card reader (4) for an operation with a smart card by using a test adapter (2) being inserted into the smart card reader (4) for testing of the appliance (1), the test adapter (2) having contacts (C1 - C8) being used as an interface to the smart card reader (4), and using a contact (C6) of the smart card reader (4) as a serial interface for testing of the appliance (1), which is not used by the appliance (1) during operation with a smart card, wherein one of the smart card contacts (C6) used for testing of the appliance (1) is the smart card contact for the programming voltage VPP, said contact (C6) being used as an input for transmit signals in accordance with a RS 232 serial port, 2. Method according to claim 2, characterized in that the test adapter (2) is coupled via a cable (10) to a computer (3), and that as a further smart card contact (C7) for testing of the appliance (1) a contact for data in/out (C7) is used, for operation of the test adapter (2) as a serial interface in connection with the computer (3). 3. Method according to claim 1 or 2, characterized in that the appliance (1) is a digital set-top box or a digital satellite receiver and the method for testing of the appliance is a Factory Functional Test or an aftersales diagnostics test. 4. Appliance with a smart card reader (4) for an operation with a smart card, characterized in that one contact (C6) of the smart card reader (4), which is not used by the appliance (1) during normal operation with a smart card, is being used as a serial port for testing of the appliance (1). 5. Appliance according to claim 4, characterized in that one of the smart card contacts (C6) used for testing of the appliance (1) is the smart card contact for the programming voltage VPP. 6. Appliance according to claim 5, characterized in that the contacts used for testing of the appliance (1) are a supply voltage input (C1), the programming voltage v VPP (C6), a data In/Out contact (C7) and ground (C8) . 7. Appliance according to claim 6, characterized in that the contact (C7) for data In/Out is coupled to a buffer circuit (IC1), and after amplification by the buffer circuit (IC1) is coupled to a DIN contact (DIN) as well as to a receive contact of a RS32 internal interface. 8. Appliance according to one of the preceding claim 4 to 7, characterized in that the appliance (1), after insertion of a smart card (S1), provides a smart card activation with a reset (S2), and in a further step, when the answer to the reset is negative (S3), the appliance (1) provides a test mode initialisation (S5) for a test with a computer (3) via a test adapter (2) to be inserted into the smart card reader (4) . 9. Appliance according to one of the preceding claims 4 to 8, characterized in that the appliance (1) is a digital set-top box or a digital satellite receiver and the method for testing of the appliance is a Factory Functional Test or an aftersales diagnostics test. |
---|
4190-delnp-2004-4190-delnp-2004-Claims-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Correspondence Others-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Drawings-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Form-2-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Form-3-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Form-5-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-GPA-(04-01-2013).pdf
4190-delnp-2004-4190-delnp-2004-Petition-137-(04-01-2013).pdf
4190-delnp-2004-correspondence-others.pdf
4190-delnp-2004-description (complete).pdf
Patent Number | 264009 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Indian Patent Application Number | 4190/DELNP/2004 | |||||||||||||||
PG Journal Number | 49/2014 | |||||||||||||||
Publication Date | 05-Dec-2014 | |||||||||||||||
Grant Date | 28-Nov-2014 | |||||||||||||||
Date of Filing | 30-Dec-2004 | |||||||||||||||
Name of Patentee | THOMSON LICENSING S.A. | |||||||||||||||
Applicant Address | 46 QUAI A. LE GALLO, F-92100 BOULOGNE-BILLANCOURT, FRANCE | |||||||||||||||
Inventors:
|
||||||||||||||||
PCT International Classification Number | G01R 31/28 | |||||||||||||||
PCT International Application Number | PCT/EP2003/007209 | |||||||||||||||
PCT International Filing date | 2003-07-05 | |||||||||||||||
PCT Conventions:
|