Electronic appliance capable of storing secret data

Abstract: In an electronic appliance (H) capable of storing secret data to be kept secret and data other than the secret data in distinction from each other, only the secret data can be erased upon a first reset operation and the data other than the secret data can be erased upon a second reset operation.

Description: Field of the Invention The present invention generally relates to an electronic appliance such as an electronic memory device or the like capable of storing therein secret data which can not be outputted without input of a password, and more particularly, to an electronic appliance capable of erasing not only all data stored therein, but also only the secret data stored therein. Description of the Prior Art Conventionally, an electronic appliance such as an electronic memory device or the like has a function for storing secret data to be kept secret and other data into a memory. In the conventional electronic appliance having the features of the preamble of appended claim 1, however, when reset operation has once been executed to erase the data stored in the memory, all the data stored in the memory are entirely erased through a single operation. Because of this, in the case where an operator has forgotten a password required for outputting the secret data, not only the secret data but any other data are simultaneously erased by the execution of a single reset operation. This is disadvantageous in that the operator is inevitably requested to input again the data other than the secret data. The document EP-A-0 205 020 describes a portable electronic memorandum device comprising a special switch by which, when it is operated in an error display mode, all secret data and a pass word are cleared. This document does not describe how the non-secret data are cleared. The US-patent US-A-4,005,386 describes a clearing system by which a clear signal is developed by a combination of key switch inputs or by a combination of a key switch input and a dial switch input which dial switch is spatially separated from a clear unit. By said clear signal, the entire content of a memory is cleared. SUMMARY OF THE INVENTION Accordingly, the present invention has been developed with a view to substantially eliminate the above described disadvantage inherent in the prior art electronic appliance, and has for its essential object to provide an improved electronic appliance which is capable of selectively erasing all data or only secret data to be kept secret. This object is achieved by providing an electronic appliance as claimed in claim 1. According to one preferred embodiment of the present invention, there is provided an electronic appliance capable of storing therein the secret data to be kept secret and data other than the secret data in distinction from each other, which has means for erasing only the secret data upon a first reset operation and for erasing the data other than the secret data upon a second reset operation. By the above described construction of the present invention, when an operator has forgotten a password required to call the secret data, he can erase only the secret data so that any other person can not view the secret data or memory for storing therein the data can not be unnecessarily used. The data other than the secret data can, therefore, be stored or left as they are when the secret data are erased. Accordingly, the electronic appliance of the present invention is advantageous in that the operator is free from time-consuming work of inputting again the data other than the secret data. BRIEF DESCRIPTION OF THE DRAWINGS This and other objects and features of the present invention will become more apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, throughout which like parts are designated by like reference numerals, and in which: Fig. 1 is a perspective view of an electronic appliance on its front side according to one preferred embodiment of the present invention; Fig. 2 is a perspective view of the electronic appliance of Fig. 1 on its rear side; Fig. 3 is a circuit diagram for the electronic appliance of Fig. 1; Figs. 4 and 5 are flow-charts each showing the process to be executed in the electronic appliance of Fig. 1; Figs. 6a to 6c and Figs. 7a to 7c are views each showing various displays in a display unit provided in the electronic appliance of Fig. 1; Figs. 8 and 9 are views explanatory of the change in memory content with data erasure; Fig. 10 is a flow-chart showing the process for data input; and Fig. 11 is a flow-chart showing the process to be executed in another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Fig. 1 depicts an electronic pocket calculator H according to one preferred embodiment of the present invention. The electronic pocket calculator H is provided on its body 1 with a two-stage display type liquid crystal display unit 2 for displaying inputted data or the like, a keyboard (key unit) 3 having a plurality of alphanumeric keys for inputting numerals and alphabets and various other keys such as an ENTER key 3a, a SECRET key 3b, two SEARCH keys 4a and 4b etc.. The calculator body 1 accommodates a memory (not shown) for storing therein data inputted by the operation of the keyboard 3 and has a function for storing the inputted data as secret data into the memory. More specifically, when the data inputted by the keyboard 3 are required to be stored into the memory, the ENTER key 3a is operated. If an operator wants to store the data inputted by the operation of the ENTER key 3a as the secret data, the SECRET key 3b is operated. The inputted data are stored in the memory distinctly as either the secret data or the data other than the secret data in accordance with whether or not the SECRET key 3b has been operated. The operator can call the data stored in the memory by the operation of the SEARCH key 4a or 4b. The data stored in the memory are called, in response to the operation of the SEARCH key 4a or 4b, in a direction of order of respective addresses or in a direction opposite thereto. However, when only the SEARCH key 4a or 4b has been depressed, only the data other than the secret data are called and displayed in the display unit 2. The operator can call the secret data by inputting a certain password and then depressing the SEARCH key 4a or 4b. In this case, the secret data are called at first, and subsequently, the data other than the secret data are called. Fig. 2 depicts the rear side of the electronic pocket calculator H of the present invention. As shown in Fig. 2, a relatively small opening accommodating a reset switch 6 is formed in the rear surface of the calculator body 1. Reset operation can be executed upon depression of the reset switch 6 by inserting the nib of a pen 5 or the like into the opening. The reset operation is executed to erase the data stored in the memory. In this embodiment, however, the electronic pocket calculator H is constructed so that all the data can not be erased by a single reset operation. More specifically, the first reset operation can erase no data but the entire secret data and the second reset operation can erase all the remaining data other than the secret data. Accordingly, a single reset operation can erase only the secret data but not the data other than the secret data. It is, therefore, not necessary to input the data other than the secret data again, since the data other than the secret data are still stored in the memory even after a single reset operation. It is to be noted here that the single reset operation can erase all the data in the case where no secret data are stored in the memory. As shown in a circuit diagram of Fig. 3, the display unit 2, the keyboard 3 and the reset key 6 are electrically coupled with an LSI chip 7 accommodated in the calculator body 1. The LSI chip 7 is provided with the following circuits: a clock generating circuit 7a for generating a system clock required to control the entire system; a dividing circuit 7b for obtaining a timer output and a signal required for liquid crystal display; a display control circuit 7c for controlling the display unit 2; a common buffer 7d and a segment buffer 7e for temporarily storing therein a signal which drives a segment used in the display unit 2; a ROM 7f in which data, under normal conditions, can only be read to control the entire system; an instruction decoder 7g which is a circuit for outputting a µ-order; a logic operation unit 7h which is a circuit for executing the logic operation; a RAM 7i for storing therein all of data for operation use, those for storage use and those for display use; a strobe signal generating circuit 7j for generating a strobe signal by connecting the LSI chip 7 with the external keyboard 3; a key input circuit 7k for receiving a key input signal by connecting the LSI chip 7 with the external keyboard 3; a power control circuit 7ℓ for controlling a power source of the entire system, this circuit 7ℓ including a control portion for executing the predetermined reset operation by outputting an ACL signal when the reset switch 6 has been depressed which is turned on in response to the reset operation or at the time of exchange of a power battery 8; a program counter 7m which is a counter circuit for addressing the ROM 7f; a flag 7n which is a circuit for inputting the result of a judge order into the instruction decoder 7g; and an accumulator 7o which is a circuit provided with a register for operation use and the like. Figs. 4 and 5 depict flow-charts each showing the process to be executed in this embodiment whereas Figs. 6a to 6c and Figs. 7a to 7c depict display conditions of the display unit 2 at the time of respective processes. When the reset switch 6 has initially been operated, it is judged at step s1 whether or not a password has been inputted. The presence or absence of the input of password is executed with the use of a flag PW which is set when the password is inputted and is reset when no password is inputted. The flag PW is provided in the RAM 7i. When it is judged at step s1 that the password has been inputted to set the flag PW, the preparation for display as shown in Fig. 6a is executed at step s2, and simultaneously, flags FS and FD provided in the RAM 7i are set and reset, respectively. The flag FS stores therein whether or not the password has been inputted. This flag FS is, therefore, set when the password has been inputted and is reset when no password has been inputted. The flag FD stores therein whether or not the reset switch 6 has been operated prior to the operation of the ENTER key 3a. This flag FD is, therefore, set when the reset switch 6 has been operated and is reset when the reset switch 6 has not been operated. These two flags FS and FD discriminate between the case in which only the secret data are erased and the case in which all the data are erased. On the other hand, when it is judged at step s1 that no password has been inputted (the flag PW is in the reset condition), the preparation for display as shown in Fig. 7a is executed at step s3, and simultaneously, the flags FS and FD are reset and set, respectively. After completion of the above described process, each display is executed and awaits the next key operation. Upon operation of the ENTER key 3a, the flow-chart of Fig. 5 is initiated. In this flow-chart, it is judged at step n1 whether or not the flag FS has been set. In the case where it is judged at step n1 that the flag FS has been set, the procedure proceeds to step n2 at which the secret data with the password are erased, followed by step n3 at which the preparation for the displays shown in Figs. 6b and 6c is executed and the flag FS is reset. In the case where it is judged at step n1 that the flag FS has been reset, the procedure proceeds to step n4 at which it is judged whether or not the flag FD has been set. When it is judged at step n4 that the flag FD has been set, all the data are erased at step n5 followed by step n6 at which the preparation for the displays as shown in Figs. 7b and 7c is executed and the flag FD is reset. In contrast, when it is judged at step n4 that the flag FD has been reset, the procedure proceeds to step n7 at which the normal input process routine is executed. After completion of the aforementioned process, the predetermined display is executed upon completion of the preparation therefor and awaits the next key operation. Figs. 6a to 6c illustrate the display in the case where the password has been created. As shown in Fig. 6a, upon operation of the reset switch 6, a message "RESET OK?" is displayed in the display unit 2 to ask the operator whether or not the secret data including the password may be erased or reset. The display shown in Fig. 6b is executed in response to the operation of the ENTER key 3a, and approximately one second later, the display shown in Fig. 6c is executed to inform the operator that the secret data including the password have been erased. The procedure then returns to a mode to be set when the reset switch 6 has just been depressed. On the contrary, Figs. 7a to 7c each illustrate the display in the case where no password has been created. As shown in Fig. 7a, upon operation of the reset switch 6, the message "RESET OK?" is displayed in the display unit 2 to ask the operator whether or not the data other than the secret data may be erased or reset. The display shown in Fig. 7b is executed in response to the operation of the ENTER key 3a, and approximately one second later, the display shown in Fig. 7c is executed to inform the operator that the data other than the secret data have been erased. The procedure then returns to the mode to be set when the reset switch 6 has just been depressed. Figs. 8 and 9 are each an illustration explanatory of the change in memory content with data erasure. In Figs. 8 and 9, a reference letter A represents an area for control data for storing therein the number of registered data, the remaining capacity in the memory and the like. A reference letter B represents an area for the password. A reference letter C represents an area for registered data. In the area C, a numeral "1" in the first column indicates that the registered data are the secret data to be kept secret whereas a numeral "0" in the first column indicates that the registered data are the data other than the secret data. For example, a personal identification number of a cash card used in a bank is considered as the secret data. Under the storage conditions shown in Fig. 8, when the secret data including the password are erased upon the reset operation, the memory content changes into the storage condition as shown in Fig. 9. When a predetermined password ("HIMITU" in this embodiment) has been inputted and the SEARCH key 4a or 4b has been depressed under the storage condition of Fig. 8, the secret data are called in order of respective addresses in accordance with the number of times of the operation. In the case of Fig. 8, the data such as "BANK-1 21345", "BANK-2 69321" and the like are called in this order. The data other than the secret data are then called in order of respective addresses, for example, in order of "AOKI 07435-2-1123", "C. JOHN 06-343-1125" and the like in this embodiment. Each of the data is in turn displayed in the display unit 2. In contrast, in the case where the predetermined password has not been inputted, only the data other than the secret data are called in order of respective addresses in accordance with the number of times of the operation of the SEARCH key 4a or 4b. Each of the data is in turn displayed in the display unit 2. Fig. 10 shows an input process of the secret data and the password. When an operator inputs data at step m1 after the power source has been turned on, it is judged at step m2 whether or not the SECRET key 3b has been depressed. When the SECRET key 3b has been depressed, it is judged at step m3 whether or not the password is stored in the RAM 7i. If it is judged at step m3 that the password is stored in the RAM 7i, "1" is stored at step m4 in the first column of a data storage region in the registered data area C. It is to be noted that all of the first columns of the data storage regions in the registered data area C are initially set to "0" in advance. Inputted data are then stored at step m5. If the SECRET key 3b has not been depressed at step m2, the procedure directly proceeds to step m5. If the password is not stored in the RAM 7i at step m3, a word "PASSWORD" is displayed in the display unit as shown in Fig. 1 to render the operator to input the password at step m6. Upon input of the password, the inputted password is stored in the RAM 7i at step m7 followed by step m4. Different from the above described embodiment, the secret data or the data other than the secret data may be erased through program processing according to another embodiment of the present invention, as shown in a flow-chart of Fig. 11. In the flow-chart of Fig. 11, it is judged at step ℓ1 whether or not the reset switch switch 6 has been depressed. Upon depression of the reset switch 6, the procedure proceeds to step ℓ2 at which the presence or absence of the password is judged. In the case where there exists the password, it is judged at step ℓ4 whether or not a certain key depressed at step ℓ3 is the ENTER key 3a. When the judgment at step ℓ4 is YES, all the data having "1" in respective first columns are erased at step ℓ5 together with the password. On the other hand, in the case where these exists no password at step ℓ2, it is judged at step ℓ7 whether or not a key depressed at step ℓ6 is the ENTER key 3a. If the ENTER key 3a has been depressed, all the data are erased at step ℓ8. In the electronic appliance according to the present invention, when the data including the secret data are stored therein, only the secret data can be erased upon the first reset operation and all of the remaining data other than the secret data can be erased upon the subsequent second reset operation. Furthermore, when no secret data are stored, all the data can be entirely erased upon a single reset operation.

Claims: An electronic appliance (H) capable of storing therein secret data to be kept secret and non-secret data in distinction from each other, comprising input means (3) for inputting alphanumeric and code data; memory means (7i) for storing said input data; means (3a, 3b) for writing said input data into said memory means (7i) as secret data, non-secret data, and secret code data; display means (2) for displaying said secret and non-secret data; reset means (6) for resetting said electronic appliance (H); and reading means to recall only said secret data from said memory means (7i) by an input of said secret code data followed by bi-directional searching of memory contents; recall only said non-secret data from said memory means (7i) by bi-directional searching of the memory contents; characterized by a flag means (FS, FD) for distinguishing between a first actuation and a second actuation of said reset means (6); and a control means (71) responsive to the state of said flag means (FS, FD) to clear only said secret data and said secret code data by the first actuation of said reset means (6); and clear said non-secret data by the second actuation of said reset means (6). The electronic appliance (H) according to claim 1, wherein when no secret data is stored in said memory means (7i) said non-secret data can be cleared by a single actuation of said reset means (6). The electronic appliance (H) according to claim 1 or claim 2, wherein said memory means (7i) includes a first memory area (C) for storing said secret data and said non-secret data and a second memory area (B) for storing said secret code data. The electronic appliance (H) according to one of the preceding claims, wherein said display means (2) is a two-stage liquid crystal display unit.

Inventors: KUNITA HISAO, MATSUDA EICHIKA, MORITA AKITAKA, KUNITA, HISAO, MATSUDA, EICHIKA, MORITA, AKITAKA
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1988
Main classification: G06F1
IPC codes: G06F21, G06F15, G06F12