Data entry keyboard apparatus

Abstract: Data entry keyboard apparatus includes a key switch array (18) in a keyboard unit (12) connected via a cable (14) to a tamper-resistant module (28) which contains control circuitry (16). The control circuitry (16) includes a random pattern generator (30) which generates successive random patterns, causing the selection of a single column and a random pattern of rows, thereby effecting the simulation of key actuations. An EXCLUSIVE-OR gating network (56a-56d) is effective to distinguish a genuine key actuation from simulated key actuations. The invention prevents the ascertainment of actuated keys by unauthorized tapping connections applied to the keyboard unit (12) or the cable (14).

Description: This invention relates to data entry key-board apparatus of the kind including an array of key switches connected between row and column conductors, and associated control means connected to said row and column conductors for detecting the actuation of a key switch and providing an output signal representing an actuated key switch. Data entry keyboard apparatus of the kind specified are generally known and find application in various devices, for example, computer entry terminals, ATM's (Automated Teller Machines) and EFTPOS (Electronic Funds Transfer at Point of Sale) terminals. Frequently, such known data entry keyboard apparatus are utilized for the entry of information which should remain confidential to the person entering the information on the keyboard, for example a customer PIN (Personal Identification Number) which may be used to identify the customer by a keyboard entry in an ATM or EFTPOS terminal. However, the known apparatus has the disadvantage that it is possible for an unauthorized person to attach electrical "tapping" connections to the keyboard conductors or to the electrical leads which connect the keyboard to the control circuitry, and by monitoring such tapping connections, the unauthorized person may ascertain confidential information subsequently entered into the keyboard. It is the object of the present invention to provide keyboard apparatus of the kind specified wherein the aforementioned disadvantage is alleviated. Therefore, according to the present invention, there is provided data entry keyboard apparatus, including an array of key switches connected between row and column conductors, and associated control means connected to said row and column conductor for detecting the actuation of a key switch and providing an output signal representing an actuated key switch, characterized in that said control means includes: random pattern generating means adapted to generate successive random patterns of first and second value binary signals; a plurality of first logic circuit means coupled to a plurality of first outputs of said random pattern generating means and to respective ones of said row conductors, decoding means coupled to a plurality of second outputs of said random pattern generating means and to a plurality of second logic circuit means coupled respectively to said column conductors, and a plurality of detection means respectively coupled to said plurality of first outputs of said random pattern generating means and to respective outputs of said plurality of first logic circuit means, whereby, in operation, each generated random pattern operates said decoding means to cause said second logic circuit means to provide a first value binary signal to a selected one of said column conductors in dependence on the binary pattern applied by said second outputs to said decoding means and a second value binary signal to all remaining ones of said column conductors, and operates said plurality of first logic circuit means in dependence on the binary pattern applied by said first outputs, such that a row conductor associated with an actuated key switch in the selected column has a first value binary signal applied thereto, whereas all remaining row conductors have binary signals applied thereto corresponding to the generated random pattern; on said first outputs; and in that said plurality of detection means is adapted to detect that first logic circuit means which has a second value binary signal applied thereto by the generated random pattern and which is coupled to a row conductor having a first value binary signal thereon, thereby enabling the provision of said output signal representing the actuated key switch. It will be appreciated that in data entry keyboard apparatus according to the invention, the successive random patterns result in the generation of simulated key actuations, and render it extremely difficult, or effectively impossible, for an unauthorized person to distinguish, by using tapping connections, between a genuine key actuation and a simulated key actuation. Two embodiments of the invention will now be described by way of example, with reference to the accompanying drawings, in which:- Figs. 1A to 1D show a schematic diagram of data entry keyboard apparatus according to a first embodiment of the invention; and Fig. 2 is a diagram showing the manner in which Figs. 1A to 1D are arranged; Figs. 3A to 3F show a schematic diagram of data entry keyboard entry apparatus according to a second embodiment of the invention; and Fig. 4 is a diagram showing the manner in which Figs. 3A to 3F are arranged. Referring first to Figs. 1A to 1D, there is shown keyboard apparatus 10 including a keyboard 12 connected by a cable 14 to control circuitry 16 which is adapted to provide a signal representing an actuated key in the keyboard 12. In the preferred embodiment, the keyboard apparatus 10 is a customer identification module (CIM) which is utilized as part of a data entry unit (not shown) for use with an EFTPOS system or an ATM system. It should be understood that a customer identifies himself to the system by entering his PIN in the keyboard of the CIM. it is highly desirable that the customer PIN remains a secret known only to the customer since unauthorized use of a customer PIN could compromise the system. In the present embodiment, the possibility of identifying actuated keys by tapping the cable 14 or the row and column conductors within the keyboard 12, is substantially obviated. The keyboard 12 includes a conventional key switch array 18 of key switches K0-K15 arranged in rows and columns. Although sixteen key switches K0-K15 arranged in four rows R0-R3 and four columns C0-C3 are shown, it will be appreciated that in other applications a different number of key switches arranged in different numbers of rows and columns could be utilized. In the present embodiment, however, the key switches K0-K15 are connected between four row conductors 20a to 20d and four column conductors 22a to 22d. The row and column conductors 20a to 20d and 22a to 22d are connected to terminals 24a to 24h of the keyboard 12. The keyboard terminals 24a-24h are coupled to eight individual conductors 14a to 14h, forming the cable 14. The other ends of the eight conductors 14a to 14h are coupled to terminals 26a to 26h of a tamper-resistant module 28. A tamper-resistant module is a box-like device which is extremely difficult to penetrate in a manner which can enable the circuitry within the module to be sensed or interfered with. An example of a tamper-resistant module is a security module such as is disclosed in U.S. Patent No. 4,593,384. The keyboard 12, cable 14 and tamper-resistant module 28 are all located within the CIM containing the keyboard apparatus 10. The control circuitry 16 within the tamper-resistant module 28 includes a 6-bit random pattern generator 30, a column decoder 32, a latch 34 and a timing and control circuit 36. The random pattern generator 30 has six output lines 40, 42, 44, 46, 48 and 50 and is effective to generate, at a rate of approximately 1000 patterns per second, sequences of random binary bit patterns on the output lines 40-50, such that in a complete cycle of operation of the random pattern generator 30, all possible 6-bit binary patterns are generated in a random order. The random patterns are generated in response to clock signals applied over an input line 52 from a clock generator (not shown) included in the timing and control circuit 36. The output lines 40 and 42 of the random pattern generator 30, are connected to the column decoder 32 and to the latch 34. The output lines 44, 46, 48, 50 are connected to respective row port circuits 54a to 54d and to first inputs of respective EXCLUSIVE-OR gates 56a to 56d. The row port circuit 54a includes an inverter 60a having an input connected to the line 44 and an output connected to the gate electrode of an n-channel FET (field effect transistor) 62a having its source electrode connected to ground and its drain electrode connected to a line 64a which is also connected to the terminal 26a of the tamper-resistant module 28 and to one terminal of a resistor 66a, the other terminal of which is connected to a +5V power supply. The line 64a is further connected to the input of a buffer circuit 68a, the output of which is connected over a line 70a to a second input of the EXCLUSIVE-OR gate 56a. The row port circuits 54b to 54d are of identical construction to the row port circuit 54a, and have correspondingly referenced components included therein. Output lines 70b to 70d of the row port circuits 54b to 54d are connected to respective second inputs of the EXCLUSIVE-OR gates 56b to 56d. Output lines 72a to 72d of the EXCLUSIVE-OR gates 56a to 56d are connected to inputs of an OR gate 74 and to inputs of the latch 34. The column decoder 32 has four output lines 78a to 78d which are connected to respective column port circuits 80a to 80d. The column port circuit 80a includes an inverter 82a having an input connected to the line 78a and an output connected to the gate electrode of an n-channel FET 84a. The source electrode of the FET 84a is connected to ground and the drain electrode is connected to a line 86a which is connected to one terminal of a resistor 88a, the other terminal of which is connected to the +5V power supply. The line 86a is further connected to the terminal 26e of the tamper-resistant module 28. The remaining column port circuits 80b, 80c and 80d are of identical construction to the column port circuit 80a, and have correspondingly referenced components included therein. The latch 34 has, in addition to the inputs connected to the lines 40, 42 and 72a to 72d, a further input connected via a line 90 to an output of the timing and control circuit 36. The latch 34 also has an output bus 92 on which is provided a signal representing an actuated key in the keyboard 12. The operation of the keyboard apparatus 10 will now be described. it will be assumed by way of example that the keyboard key switch K8, located in row R2 and column C0 is actuated (closed). As mentioned above, the random pattern generator 30 generates successive binary bit patterns. Assume by way of example, that the bit pattern 000110 is generated on lines 40, 42, 44, 46, 48 and 50, respectively. It should be understood that binary "0" corresponds to a low logic level (0V in the present embodiment) and binary "1" corresponds to a high voltage level (+5V in the present embodiment). The binary bits 00 applied over the lines 40 and 42 to the column decoder 32 cause a low level signal to be applied to the output line 78a and high level signals to be applied to the output lines 78b to 78d, thereby rendering the transistor 84a conducting and the transistors 84b to 84d non-conducting. This causes a low level signal to be applied to the column conductor 22a and high level signals to be applied to the column conductor 22b to 22d. Thus the column C0 is selected when the random pattern generator 30 generates the bit pair 00 on its output lines 40 and 42. Similarly, of course, generated 01, 10 and 11 bit pairs result in the selection of the columns C1, C2 and C3, respectively. With the assumed bit pattern, binary signals corresponding to a binary pattern 0110 are applied to the output lines 44, 46, 48 and 50, respectively, such signals rendering transistors 62a and 62d conducting and transistors 62b and 62c non-conducting. Thus, low level signals are applied to row conductors 20a and 20d of rows R0 and R3. With regard to row R2, although the transistor 62c is non-conducting, the presence of the actuated key switch K8 connects the row conductor 20c to the column conductor 22a and, since the transistor 84a is conducting, causes a low level signal to be applied to the row conductor 20c. Thus, it will be appreciated that unauthorized tapping of the cable 14 or the row and column conductors 20a to 20d and 22a to 22d will result in the detection of three key switches, namely key switches K0, K8 and K12 as being "actuated", including the genuinely actuated key switch K8 and two simulated actuated key switches K0 and K12. In other words, the actuation of the key switch K8 is "hidden" by the interposition of the simulated actuated key switches K0 and K12. The operation of the apparatus in response to different random patterns generated by the random pattern generator 30 will be apparent from the above-described specific pattern. The identification of the genuinely actuated key switch K8 is detected using the EXCLUSIVE-OR gates 56a to 56d located within the tamper-resistant module 28. Thus, in the present example, the EXCLUSIVE-OR gates 56a to 56d have binary signals 00, 11, 10 and 00 applied to their respective inputs, whereby only the gate 56c produces an output signal, on its output line 72c. The signal on the output line 72c is applied via the OR gate 74 to the timing and control circuit 36, which responds by supplying a latch control signal over the line 90 to the latch 34 thereby latching the signals on the lines 40, 42 and 72a to 72d into the latch 34. Thus the binary pattern 000010 is latched, the first two bits identifying the column C0 and the last four bits identifying the row R2. Thus, data corresponding to the genuinely actuated key switch K8 in row R2 and column C0 is latched into the latch 34 and available on the latch output bus 92. It will be appreciated that since the control circuitry 16, including the EXCLUSIVE-OR gates 56a to 56d, is enclosed within the tamper-resistant module 28, the operating condition of the gates 56a to 56d is protected from unauthorized detection. With the above in mind, it will be appreciated that a very high degree of protection against unauthorized tapping of the keyboard 12 and associated cable 14 is achieved. Since the random pattern generator 30 generates random patterns at a high rate, such as 1000 per second, a genuine key entry is effectively "hidden" since the very high proportion of simulated key entries renders the ascertainment of a genuine key entry extremely difficult, and indeed substantially impossible for persons of limited technical knowledge, such as shop personnel, sales clerks or the like. It is found that if random patterns are generated at the aforementioned rate of 1000 patterns per second, then key actuations, including both genuine and simulated key actuations, are generated at the rate of approximately 2000 per second. In connection with the above-described embodiment, it will be appreciated that the row and column port circuits 54a to 54d and 80a to 80d are constructed using open-collector type outputs with pull-up resistors 66a to 66d and 88a to 88d. The minimum pull-up resistor value should be approximately 50 Kohm to prevent currents and voltage drop levels which might be detectable. The higher the value of the pull-up resistors, the lower the current and hence the more difficult is the detection of currents and voltage drops caused by the difference between a genuine key actuation and a simulated key actuation. Thus, for a 50 Kohm pull-up resister, the current which flows for a genuine key actuation is 5V/50 Kohm = 100 microamps, whereas with a simulated key actuation, a zero current flows. Similarly, the voltage difference between a simulated and a genuine key actuation is less than abut 10 milivolts, depending on the parameters of the field effect transistors. By the use of sophisticated techniques it could be possible for an unauthorized person to distinguish genuine and simulated key actuations on the basis of such voltage and/or current differences. A second embodiment of the invention, which will now be described, substantially prevents this possibility. In the second embodiment of the invention, which will be described with reference to Figs. 3A to 3F, the row and column port circuits 54a to 54d and 80a to 80d are modified by omitting the pull-up resistors and utilizing additional transistors and associated control circuitry. Parts and components in Figs. 3A to 3F which correspond to parts and components in Figs. 1A to 1D have been given references differing by the value 100, from those of Figs. 1A to 1D. Thus, the keyboard 112, which includes a key switch array 118 is connected by a cable 114 to control circuitry 116 located within a tamper-resistant module 128. The second embodiment will best be understood by directing attention to features which differ from those of the first embodiment. In this regard the row port circuits 202a to 202d, Fig. 3E, differ to some extent from the row port circuits 54a to 54d, Fig. 1B, and the column port 204a to 204d in Fig. 3B differ to some extent from the column port circuits 80a to 80d in Fig. 1B. Referring again to Fig. 3A and 3D, the random pattern generator 130 has a strobe output connected to an output line 206. The strobe output supplies a short duration pulse, having a duration of approximately 50 nanoseconds, immediately prior to each new random pattern supplied by the random pattern generator 130. The output line 206 is connected to OR gates 208a to 208d and inverters 210a to 120d in the respective row port circuits 202a to 202d, the outputs of the inverters 210a to 210d being connected to the gate electrodes of respective p-channel transistors 212a to 212d. The source electrodes of the transistor 212a to 212d are connected to the +5V voltage supply and the drain electrodes are connected to the lines 164a to 164d, respectively. The output line 206 is further connected to OR gates 214a to 214d and inverters 216a to 216d in the respective column port circuits 204a to 204d, the outputs of the inverters 216a to 216d being connected to the gate electrodes of respective p-channel transistors 218a to 218d. The source electrodes of the transistors 218a to 218d are connected to the +5V voltage supply and the drain electrodes are connected to the lines 186a to 186d respectively. In operation of the second embodiment, the strobe pulse on the line 206 is effective to render the transistors 162a to 162d and 184a to 184d non-conducting and the transistors 212a to 212d and 218a to 218d conducting, thereby charging the inherent capacitances of the row and column conductors 120a to 120d and 122a to 122d. Following the strobe pulse, the pattern supplied by the random pattern generator 130 is effective to apply a low level logic signal to one of the column conductors 122a to 122d and a random number of the row conductors 120a to 120d, as in the first embodiment. The remaining row and column conductors, to which high logic level signals were applied during the period of the strobe pulse, will remain high for a period dependent on the capacitance values of the row and column conductors. In the preferred embodiment, this period is in the range of approximately 100 to 500 nanoseconds. During the initial portion of this period, the EXCLUSIVE-OR gates 156a to 156d and the OR gate 174 are operative to cause the timing and control circuit 136 to provide a latch control signal over the line 190, thereby latching the binary representation of the actuated key switch in the key switch array 118 into the latch 134 for provision on the latch output bus 192. It will be appreciated that, in the second embodiment, the current and voltage levels are the same for a simulated key activation as for a genuine key actuation, and hence a genuine key actuation cannot be distinguished from a simulated key actuation on the basis of a current or voltage level difference.

Claims: Data entry keyboard apparatus, including an array of key switches (18,118) connected between row and column conductors (20a-20d, 22a-22d; 120a-120d, 122a-122d), and associated control means (16,116) connected to said row and column conductors (20a-20d,22a-22d; 120a-120d, 122a-122d) for detecting the actuation of a key switch and providing an output signal representing an actuated key switch, characterized in that said control means (16,116) includes: random pattern generating means (30,130) adapted to generate successive random patterns of first and second value binary signals; a plurality of first logic circuit means (54a-54d;202a-202d) coupled to a plurality of first outputs (44,46,48,50; 144,146,148,150) of said random pattern generating means (30,130) and to respective ones of said row conductors (20a-20d; 120a-120d), decoding means (32,132) coupled to a plurality of second outputs (40,42;140,142) of said random pattern generating means (30,130) and to a plurality of second logic circuit means (80a-80d;204a-204d) coupled respectively to said column conductors (22a-22d;122a-122d), and a plurality of detection means (56a-56d; 156a-156d) respectively coupled to said plurality of first outputs (44,46,48,50;144,146,148,150) of said random pattern generating means (30,130) and to respective outputs (70a-70d) of said plurality of first logic circuit means 54a-54d;202a-202d), whereby, in operation, each generated random pattern operates said decoding means (32,132) to cause said second logic circuit means (80a-80d; 204a-204d) to provide a first value binary signal to a selected one of said column conductors (22a-22d; 122a-122d) in dependence on the binary pattern applied by said second outputs (40,42;140,142) to said decoding means (32,132) and a second value binary signal to all remaining ones of said column conductors (22a-22d;122a-122d), and operates said plurality of first logic circuit means (54a-54d;202a-202d) in dependence on the binary pattern applied by said first outputs (44,46,48,50;144,146,148,150), such that a row conductor associated with an actuated key switch in the selected column has a first value binary signal applied thereto, whereas all remaining row conductors (20a-20d;120a-120d) have binary signals applied thereto corresponding to the generated random pattern on said first outputs (44,46,48,50;144,146,148,150); and in that said plurality of detection means (56a-56d;156a-156d) is adapted to detect that first logic circuit means (54a-54d;202a-202d) which has a second value binary signal applied thereto by the generated random pattern and which is coupled to a row conductor having a first value binary signal thereon, thereby enabling the provision of said output signal representing the actuated key switch. Data entry keyboard apparatus according to claim 1, characterized in that said plurality of detection means includes a plurality of EXCLUSIVE-OR gates (56a-56d; 156a-156d) having inputs coupled respectively to said first outputs (44, 46, 48, 50) of said random pattern generating means (30, 130) and to outputs of said first logic circuit means (54a-54d; 202a-202d). Data entry keyboard apparatus according to claim 2, characterized in that said EXCLUSIVE-OR gates (56a-56d; 156a-156d) have outputs coupled to latch means (34, 134) and to an OR gate (74, 174), and in that said second outputs (40, 42,; 140, 142) of said random pattern generating means (30, 130) are coupled to said latch means (34, 134), said OR gate (74, 174) having an output adapted to cause the provision of a latching control signal effective to enable said latch means (34, 134) to latch the signals applied thereto. Data entry keyboard apparatus according to claim 3, characterized in that each said first logic circuit means (54a) includes: a first field effect transistor (62a) having a gate electrode coupled via an inverter (60a) to the associated first output (44) of said random pattern generating means (30) and a source-to-drain path connected between a row interface line (64a) and a reference potential; and a first resistor (66a) coupled between a supply potential and said row interface line (64a), said row interface line (64a) being coupled to the associated row conductor (20a) and to the respective EXCLUSIVE-OR gate (56a), and in that each second logic circuit means (80a;80d) includes: a second field effect transistor (84a) having a gate electrode coupled via an inverter (82a) to the associated output of said decoding means (32) and a source-to-drain path connected between a column interface line (86a) and a reference potential; and a second resistor (88a) connected between said supply potential and said column interface line (86a), said column port line being coupled to the associated column conductor (22a). Data entry keyboard apparatus according to claim 3, characterized in that said row and column conductors (120a-120d; 122a-122d) have respective capacitive means associated therewith; in that said first logic circuit means (202a-202d) and said second logic circuit means (204a-204d) include respective charging means (212a-212d; 218a-218d) adapted to charge the associated capacitive means, and in that said random pattern generating means (130) is adapted to provide a strobe signal effective to cause said charging means (212a-212d; 218a-218d) to charge said capactive means prior to each generation of a random pattern. Data entry keyboard apparatus according to any one of the preceding claims, characterized in that said control means (16, 116) is enclosed within a tamper-resistant module (28, 128).

Inventors: FRIELINK FRANCISCUS JOHANNES, FRIELINK, FRANCISCUS JOHANNES
Applicants: NCR INT INC, NCR INTERNATIONAL INC.
Application year: 1989
Main classification: H03M11
IPC codes: H03M11, G07F7