JPS61262864A - Data storage unit - Google Patents

Data storage unit

Info

Publication number
JPS61262864A
JPS61262864A JP60102713A JP10271385A JPS61262864A JP S61262864 A JPS61262864 A JP S61262864A JP 60102713 A JP60102713 A JP 60102713A JP 10271385 A JP10271385 A JP 10271385A JP S61262864 A JPS61262864 A JP S61262864A
Authority
JP
Japan
Prior art keywords
password
data
display
mode
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60102713A
Other languages
Japanese (ja)
Other versions
JPH031695B2 (en
Inventor
Hiroshi Fujii
啓史 藤井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60102713A priority Critical patent/JPS61262864A/en
Publication of JPS61262864A publication Critical patent/JPS61262864A/en
Publication of JPH031695B2 publication Critical patent/JPH031695B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To make it possible to read data simply and quickly by comparing preset password with input password and reading and displaying prescribed data when coincidence of them is detected. CONSTITUTION:In case of timer timing, it is examined whether it is present data bank mode or not after timer processing is made, and when it is so, examination is made as to whether ER or OK is displayed at present or not. When ER display is made for more than 1.5sec, password input request is displayed, and made to the state of password inputting. When ER display disappeared within 1.5sec, a page read out finally last time is displayed. When there is key inputting, it is examined whether it is data bank reading mode or not, and if so, examination is made further as to whether it is the state of password inputting. When it is so, examination is made as to whether the input coincides with the password. When they coincide, it becomes a secret mode. If not, ER display is made.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、データバンク等のデータ記憶装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data storage device such as a data bank.

〔従来技術およびその問題点〕[Prior art and its problems]

近年、電話番号、スケジュール等のデータを予めメモリ
に記憶しておき、このメモリから任意にデータを読み出
して表示する所謂データバンクと呼ばれるデータ記憶装
置が実用化されている。そして、この種のデータ記憶装
置においては、他人に知られた(ないデータを確実に秘
密保持する為に、特定のパスワードを入力しなければメ
モリの内容が読み出せないようになっている。この場合
においてメモリ内のシークレットデータを陪りみ出す際
には、先ず、データ入力モードを指定する為のキーを操
作し、次で、アルファベットキー、数字キー等で使用者
固有のパスワードを入力したのち、シークレットキーを
操作する一連のキー操作手順にしたがって行なわなけれ
ばならず、キー操作回数が多くなって面倒なものとなっ
ていた。
2. Description of the Related Art In recent years, data storage devices called data banks have been put into practical use, in which data such as telephone numbers and schedules are stored in advance in a memory, and data is arbitrarily read out from the memory and displayed. In this type of data storage device, the contents of the memory cannot be read unless a specific password is entered in order to ensure that data that is not known to others is kept secret. To retrieve secret data in memory, first operate the keys to specify the data input mode, then enter the user's unique password using the alphabet keys, numeric keys, etc. The secret key has to be operated in accordance with a series of key operation procedures, which increases the number of key operations and becomes cumbersome.

〔発明の目的〕[Purpose of the invention]

この発明は、上述した事情を背景になされたもので、そ
の目的とするところは、キー操作回数が少なく簡単かつ
迅速にシークレットデータの読み出しを可能としたデー
タ記憶装置を提供することにある。
The present invention was made against the background of the above-mentioned circumstances, and its purpose is to provide a data storage device that allows secret data to be read easily and quickly with a small number of key operations.

〔発明の要点〕[Key points of the invention]

この発明は、上述した目的を達成するために、予め設定
されているパスワードと入力されたパスワードとを比較
してそれらが一致した際に所定のデータを読み出して表
示させるようにした点を要旨とするものである。
In order to achieve the above-mentioned object, the gist of the present invention is that a preset password and an input password are compared, and when they match, predetermined data is read out and displayed. It is something to do.

〔実施例の構成〕[Configuration of Example]

以下、この発明を図面に示す一実施例に基づいて具体的
に説明する。第1図はデータバンク機能付電子腕時計の
外観図である。この時計ケースの前面部には、キーボー
ド1、表示装置2が配設されている。キーボード1上に
はアルファベットキーおよびテンキー等として機能する
各種のキーの他、カーソルキー日2日、データバンクを
構成するメモリから電話番号等を1ペ一ジ分ずつアルフ
ァベット順(順方向)に読み出すフォーワードキー  
m  、逆アルファベット順(逆方向)1(読み出すリ
バースキー El  が設けられている。また、時計ケ
ースの側部にはスイッチS1゜S3が設けられている。
Hereinafter, the present invention will be specifically described based on an embodiment shown in the drawings. FIG. 1 is an external view of an electronic wristwatch with a data bank function. A keyboard 1 and a display device 2 are arranged on the front side of the watch case. On the keyboard 1, in addition to various keys that function as alphabet keys and numeric keys, there is also a cursor key 2, which reads phone numbers, etc. one page at a time from the memory that makes up the data bank in alphabetical order (forward direction). forward key
m, reverse alphabetical order (reverse direction) 1 (a reverse key El for reading is provided. Switches S1 and S3 are also provided on the side of the watch case.

このスイッチS1はデータバンクを構成するメモリ1の
うち秘密にしたいデータを記憶するシークレットデータ
記憶エリアと通常のノーマルデータな記憶するノーマル
データ記1.はエリアを指定すを)ンークレツトモード
、ノーマルモード切替スイッチ、スイッチS3は時開モ
ード、データバンク書込みモード、データバンク読出し
モードをサイクリックに指定するモード切替スイッチで
ある。
This switch S1 is connected to a secret data storage area for storing data to be kept secret out of the memory 1 constituting the data bank, and a normal data storage area 1 for storing normal data. The switch S3 is a mode changeover switch that cyclically specifies the time-open mode, data bank write mode, and data bank read mode.

また、表示装置2は液晶表パ装置によって構成され、そ
の下部表示領穢テは8桁のHの字形表示体で構成された
主デジタル表示部2Aが設げられている。また、上部表
示領域には図中右側から4桁の日の字形表示体で構成さ
れた副デジタル表示部2Bと、5桁構成のマトリックス
表示部2Cと、AM表示体、PM表示体の他、シークレ
ットモードマーク2Dが設けられている。
The display device 2 is constituted by a liquid crystal display device, and its lower display area is provided with a main digital display portion 2A constituted by an 8-digit H-shaped display. In addition, in the upper display area, there is a sub-digital display section 2B consisting of a 4-digit day-shaped display from the right side of the figure, a matrix display section 2C consisting of 5 digits, an AM display, a PM display, and other displays. A secret mode mark 2D is provided.

次に、この電子腕時計の回路構成を第1(ズに基づいて
説明する。この′電子腕時計はマイクロプロダラム制御
方式で動作するもので、ROM(IJ−ドオンリメモリ
)11はこの電子腕時計の全ての動作を制御するマイク
ロプログラムを記憶し、マイクロ命令OP、DO,NA
を並列的に出力する。
Next, the circuit configuration of this electronic wristwatch will be explained based on the first part. Stores microprograms that control operations and uses microinstructions OP, DO, NA
Output in parallel.

ここで、マイクロ命令OPは命令デコーダ12に入力さ
れ、この命令デコーダ12はこれを解読してR,AM(
ランダムアクセスメモリ)13のR/W入力端子にデー
タの読み込み/書き込み指令として与え、また演算部1
4のS入力端子に演算命令として与える。また、マイク
ロ命令Doはデータバスを介してRAM13のA 6 
(l r入力端子にアドレスデータとして入力されると
共に、演算部14のDI2入力端子に数値データとして
入力され、更にアドレス制御部15に入力される。また
、マイクロ命令NAはアドレス制御部15に入力される
ネクストアドレスデータで、このアドレス制御部15か
ら出力されるアドレスデータはROM11のA d d
 r入力端子に与えられる。
Here, the microinstruction OP is input to the instruction decoder 12, and the instruction decoder 12 decodes it to R, AM (
It is given as a data read/write command to the R/W input terminal of random access memory) 13, and
It is given to the S input terminal of 4 as an arithmetic command. Further, the microinstruction Do is sent to A6 of the RAM 13 via the data bus.
(The microinstruction NA is input to the lr input terminal as address data, and is also input to the DI2 input terminal of the calculation unit 14 as numerical data, and is further input to the address control unit 15.) The address data output from the address control unit 15 is the next address data stored in the ROM 11.
r input terminal.

RAM13は置数レジスタ、演算レジスタ等ヲ有する構
成で、計時処理、キー人力処理、演算処理等において利
用され、命令デコーダ120制御下でデータの書き込み
および読み出し動作を実行し、そして、RAM13のD
O出力端子から読み出されたデータは演算部14のD1
1入力端子およびDI2入力端子に与えられると共に表
示制御部16を介1.て表示部17に表示される。演算
部14は命令デコーダ12からの演算指令にしたがって
各種の演算を実行するもので、その演算結果データはR
AM13のDI入力端子に与えられ、RA、M13に読
み込まれる。また、演算部14はジャッジ演算実行の際
、その演算結果のデータ有無を示す信号およびキャリー
発生有無を示す信号を夫々出力してアドレス制御部15
に与え、ROM1lのアドレスを変換させる。また、ア
ドレス制御部15には発振器18からの基準クロック信
号が分周回路19で分周されることによって得られた1
6■Zの計時クロックが入力され、この%Hzの信号に
したがって屋秒毎に1回ずつ割込みで計時処理を実行さ
せる。また、分周回路19から出力される所定周波数信
号はタイミングジエネレータ20に与えられ、タイミン
グジェネレータ2゜から各種のタイミング信号を出力さ
せ、各回路に供給する。また、キー人力部21から出方
されるキーコードは演算部14のDI2入力端子に与え
られる。
The RAM 13 has a configuration including a numeric register, an arithmetic register, etc., and is used for timekeeping processing, key manual processing, arithmetic processing, etc., and executes data writing and reading operations under the control of the instruction decoder 120.
The data read from the O output terminal is D1 of the calculation unit 14.
1 input terminal and DI2 input terminal, and via the display control section 16. is displayed on the display section 17. The calculation unit 14 executes various calculations according to calculation instructions from the instruction decoder 12, and the calculation result data is R.
It is applied to the DI input terminal of AM13 and read into RA and M13. Furthermore, when executing a judgment operation, the calculation unit 14 outputs a signal indicating the presence or absence of data as a result of the operation and a signal indicating the presence or absence of carry generation, and outputs a signal to the address control unit 15.
to convert the address of ROM1l. In addition, the address control unit 15 also receives a signal of
A clock clock of 6.Z is input, and according to this %Hz signal, a clock process is executed by interrupting once every second. Further, the predetermined frequency signal outputted from the frequency dividing circuit 19 is given to a timing generator 20, which causes the timing generator 2° to output various timing signals and supply them to each circuit. Further, the key code output from the key input unit 21 is given to the DI2 input terminal of the calculation unit 14.

第4図はRA、M13の主要部を示し、RAMl3には
計時データ、システム制御用データの他、使用者がキー
操作に応じて自由に書込むことができる記憶エリアを有
している。即ち、RAM13には第4図に示す如(、シ
ークレットデータ記憶エリアとノーマルデータ記憶エリ
アが設けられている。また、RA、M13には計時デー
タを記憶するTレジスタ、上記ノーマルモードとシーク
レットモードとを指定するフラグが記憶されるフラグレ
ジスタF m、パスワード入力可能状態とするフラグが
言己1意されるフラグレジスタFa、パスワードの入力
桁数をカウントするカウンタC,パスワード未登録、パ
スワード登録を示すフラグが記憶されるフラグレジスタ
PW、予め設定されるパスワードが記憶されるパスワー
ド記憶部Z、シークレットデータ記憶エリアのデータ数
を記憶するメモリn 1ノーマルデータ記憶エリアのデ
ータ数を記憶するメモリ”N、シークレットモードの表
示ページ数を記憶するメモIJPEI、ノーマルモード
の表示ページ数を記憶するメモlJp、、置数しジスタ
X1演算用レジスタYおよび表示時間を計測する表示時
間タイマが設けられている。なお、本実施例において、
シークレットデータ記憶エリアおよびノーマルデータ記
憶エリアには、使用者の必要とする電話番号が記憶され
るもので、他人に知られた(ない電話番号はシークレッ
トデータ記憶エリア、その他の電話番号はノーマルデー
タ記憶エリアに書込まれている。そして、両記憶エリア
に書込まれたデータは名前(アルファベット4文字)、
電話番号(市外局番、局番、番号)を1ページとするも
ので、名前のアルファベット順に編集されて記憶されて
いる。
FIG. 4 shows the main parts of the RA and M13, and the RAM 13 has a storage area in which clock data, system control data, and other data can be freely written by the user in response to key operations. That is, the RAM 13 is provided with a secret data storage area and a normal data storage area as shown in FIG. A flag register Fm stores a flag specifying a password, a flag register Fa stores a flag to enable password input, a counter C counts the number of digits input for a password, and indicates whether a password is not registered or a password is registered. A flag register PW in which a flag is stored, a password storage section Z in which a preset password is stored, a memory "N" that stores the number of data in the secret data storage area, a memory "N" that stores the number of data in the 1 normal data storage area, There are provided a memo IJPEI for storing the number of displayed pages in secret mode, a memo IJP for storing the number of displayed pages in normal mode, a register Y for calculating the register X1, and a display time timer for measuring the display time. , in this example,
The secret data storage area and the normal data storage area store phone numbers required by the user. Phone numbers that are not known to others are stored in the secret data storage area, and other phone numbers are stored in the normal data storage area. The data written to both storage areas are names (4 alphabetic characters),
One page contains telephone numbers (area code, area code, number), and is edited and stored in alphabetical order of name.

〔実施例の動作〕[Operation of the embodiment]

次に、第5図〜第9図を参照してこの電子腕時計の動作
について説明する。第5図〜第8図は動作を説明する為
のフローチャート、第9図は表示状態図である。なお、
第9図において、破線で囲んだAは、ノーマルモードに
おいて、リバースキー 冗I■ 、フォーワードキー 
匿W何 の操作に伴って変遷する表示状態を示し、また
破線で囲んだBはシークレットモードにおいて、リバー
スキー m  、フォーワードキー 国W回の操作に伴
って変遷する表示状態を示し、更にC−1〜C−4は、
スイッチSlの操作でノーマルモードからシークレット
モードあるいはシークレツ)%−ドからノーマルモード
へ切替た時における表示状態を示している。そして、第
9図の破線矢印はスイッチ操作での切替、実線矢印は自
動切替を示している。
Next, the operation of this electronic wristwatch will be explained with reference to FIGS. 5 to 9. 5 to 8 are flowcharts for explaining the operation, and FIG. 9 is a display state diagram. In addition,
In Figure 9, A surrounded by a broken line indicates the reverse key, the forward key, and the forward key in normal mode.
In addition, B surrounded by a broken line indicates the display state that changes according to the operation of the reverse key m and the forward key W in secret mode, and furthermore, C -1 to C-4 are
This shows the display state when switching from the normal mode to the secret mode or from the secret mode to the normal mode by operating the switch Sl. In FIG. 9, broken line arrows indicate switching by switch operation, and solid line arrows indicate automatic switching.

先ず、第5図のジェネラルフローを参照して全体動作の
概要について説明する。このジェネラルフローに入ると
、ステップS1が実行され、計時タイミングまたはキー
人力の要求があるまで待機状態となる。いま、分周回路
19がら16Hzの計時クロックが出力されると、ステ
ップS2に進み、計時処理および表示処理が尾秒毎に実
行される。
First, an overview of the overall operation will be explained with reference to the general flow shown in FIG. When entering this general flow, step S1 is executed, and the system is in a standby state until there is a request for timing or key manual input. Now, when a 16 Hz time clock is output from the frequency dividing circuit 19, the process proceeds to step S2, and time measurement processing and display processing are executed every second.

また、キー人力部21から操作キーに対応するキーコー
ドが出力されると、それに応じたキー処理プログラムが
指定され、スイッチ処理および表示処理が実行される(
ステップSs  )。
Furthermore, when the key code corresponding to the operation key is output from the key human power unit 21, a corresponding key processing program is specified, and switch processing and display processing are executed (
Step Ss).

第6図は第5図で示した計時処理および表示処理(ステ
ップS2  )の具体的内容を示したフローチャートで
ある。このフローに入ると、RAMIa内のTレジスタ
から計時データが読み出されて所定単位の時間データが
加算されて現在時間が求められ、新たな計時データとし
てTレジスタに転送される(ステップ811 )。そし
て、次のステップ812ではデータバンクモード(デー
タバンクの書込みおよび読出しモード)かが判別され、
データバンクモードであれば、現在″E RROR”ま
たは”OK’”表示中かが調べられる(ステップ513
)。ここで、”ERROR″は予め設定されているパス
ワードと入力されたパスワードとの不一致が検出された
場合のエラー表示であり、また、’OK”は予め設定さ
れているパスワードと入力されたパスワードとの一致が
検出された場合の表示シンボルである(第9図C−3,
C−4参照)。
FIG. 6 is a flowchart showing specific details of the time measurement process and display process (step S2) shown in FIG. When entering this flow, time measurement data is read from the T register in RAMIa, time data of a predetermined unit is added to obtain the current time, and the current time is transferred as new time measurement data to the T register (step 811). Then, in the next step 812, it is determined whether the mode is data bank mode (data bank write and read mode).
If it is in the data bank mode, it is checked whether "E RROR" or "OK" is currently displayed (step 513).
). Here, "ERROR" is an error display when a mismatch between the preset password and the input password is detected, and "OK" is the error display when a mismatch between the preset password and the input password is detected. This is the display symbol when a match is detected (Figure 9 C-3,
(See C-4).

しかして、いまERROR”、”OK”の何れも表示さ
れていない状態では、そのままこの処理フローの終了と
なるが、その何れかが表示されている状態では、次のス
テップ814に進み、RAM13内の表示時間タイマの
計測動作が開始される。
However, if neither "ERROR" nor "OK" is currently displayed, this process flow ends, but if either of them is displayed, the process advances to the next step 814 and the RAM 13 is The measurement operation of the display time timer is started.

そして、この表示時間タイマの計測時間(表示時間)が
1.5秒経過したかが判別される(ステップ815 )
。ここで、ERROR”、”OK”表示が15秒経過し
ていなげれば、その時間が経過するまで表示時間タイマ
の計測動作が続行されるが、1.5秒経過すると、次の
ステップS16に進み、表示の種類が判別される。いま
、表示シンボル「OK」が1.5秒表示されたときには
、ステップS17に進み、RAM13のシークレットデ
ータ記憶エリアから前回最後に読み出したページのデー
タが表示される。即ち、データバンクモードにおいて表
示シンボル“OK”が1.5秒表示された時には、表示
内容が自動的に切替り、前回最後に読み出したページの
シークレットデータが表示されることになる。また、表
示シンボル”ERROR’”が1゜5秒表示されたとき
にはステップS1で”NO’i”’が表示され、次でス
テップS19でパスワード入力状態初期表示が行なわれ
る。第9図C−2はこの状態を示しており、パスワード
(本実施例では数字4桁)の入力を指令する他、入力術
を示す為に各桁に対応してカーソル「−」表示が行なわ
れると共に、1桁目のカーソル「−」表示が111zで
点滅される。しかして、ステップS20に進み、フラグ
レジスタFaにパスワード入力可能状態を示すフラグ″
1″がセットされる。一方、時計モードであれば、ステ
ップ812でそのことが検出されてステップ821に進
み、時刻表示処理が実行される。
Then, it is determined whether the measured time (display time) of this display time timer has elapsed for 1.5 seconds (step 815).
. Here, if 15 seconds have not elapsed before the "ERROR" or "OK" display has elapsed, the display time timer continues to measure until that time elapses, but when 1.5 seconds have elapsed, the process moves to the next step S16. When the display symbol "OK" is displayed for 1.5 seconds, the process advances to step S17, and the data of the last page read from the secret data storage area of the RAM 13 is displayed. Ru. That is, when the display symbol "OK" is displayed for 1.5 seconds in the data bank mode, the display contents are automatically switched to display the secret data of the last page read last time. Further, when the display symbol "ERROR'" is displayed for 1.5 seconds, "NO'i"' is displayed in step S1, and then, in step S19, an initial password input state is displayed. Figure 9 C-2 shows this state, and in addition to instructing the input of a password (four digits in this example), a cursor "-" is displayed corresponding to each digit to indicate the input method. At the same time, the first digit cursor "-" flashes at 111z. Then, the process proceeds to step S20, and a flag ``indicating a state in which password input is possible is set in the flag register Fa.''
1'' is set. On the other hand, if the clock mode is selected, this is detected in step 812 and the process proceeds to step 821, where time display processing is executed.

第7図は第5図で示したスイッチ処理表示処J」(ステ
ップS3 )の具体的内容を示したフローチャートであ
る。先ず、このフローに入ると、操作キーに対応したキ
ーコードがXレジスタに取り込まれる(ステップS3□
)。そして、データバンク読出しモードかが調べられる
(ステップ532)。
FIG. 7 is a flowchart showing the specific contents of the switch processing display process J' (step S3) shown in FIG. First, when entering this flow, the key code corresponding to the operation key is loaded into the X register (step S3□
). Then, it is checked whether the data bank read mode is present (step 532).

いま、データパンク読出しモードであれば、次のステッ
プS33でフラグレジスタpaの内容に基づいてパスワ
ード入力可能状態かが調べられるが、最初は、レジスタ
paはクリアされており、その結果、ステップS34に
進み、スイッチS1が操作されたかの判別が行なわれる
。ここで、スイッチ81は上述の如く、ノーマルモード
とシークレットモードとを切替るもので、このスイッチ
S1が操作されたときに、設定モードがノーマルモード
かシークレットモードかが判別される(ステップ535
)。いま、ノーマルモードからシークレットモードへ切
替えられた時には、パスワード入力フラグがレジスタp
aにセットされる(ステップ836)。このようにパス
ワード入力可能状態にセットされると、次に、レジスタ
PWの内容に応じてパスワードが既に登録されているか
、未登録かが判別され、未登録であればステップSSS
に進み、1’−8ETJ表示が行なわれたのち、パスワ
ード入力状態初期表示が行なわれる(ステップ840)
If the mode is data puncture read mode, it is checked in the next step S33 whether the password can be entered based on the contents of the flag register pa, but initially, the register pa is cleared, and as a result, the process goes to step S34. Then, it is determined whether the switch S1 has been operated. Here, the switch 81 is used to switch between normal mode and secret mode as described above, and when this switch S1 is operated, it is determined whether the setting mode is normal mode or secret mode (step 535).
). Now, when switching from normal mode to secret mode, the password input flag is set to register p.
a (step 836). Once the password input is possible, it is then determined whether the password has already been registered or not registered according to the contents of the register PW, and if the password has not been registered, step SSS is performed.
After the 1'-8 ETJ display is performed, the password input state initial display is performed (step 840).
.

第9図C−1はこのときの表示状態を示し、パスワード
を登録すべきことが指示される。また、パスワードが既
に登録されていればステップSSaに進み、NO?”表
示が行なわれたのち、上述の場合と同様にステップ84
0に進む。第9図C−2はこのときの表示状態を示し、
パスワードを入力すべきことが指示される。このような
表示処理が実行されると、次のステップ841に進み、
カウンタCに初期値「1」がセットされ、これによって
、パスワードの1桁目の入力可能状態にセットされるこ
とになる。
FIG. 9C-1 shows the display state at this time, and it is instructed that a password should be registered. Also, if the password has already been registered, proceed to step SSa and enter NO? ” After the display is performed, step 84 is performed as in the case described above.
Go to 0. Figure 9 C-2 shows the display state at this time,
You will be prompted to enter your password. When such display processing is executed, the process advances to the next step 841.
The initial value "1" is set in the counter C, and thereby the first digit of the password is set to be inputtable.

しかして、上述のようなSET”表示あるいはNo?”
表示を確認したらパスワードを入力する。いま、パスワ
ード入力可能状態にセットされているので、ステップS
SSからステップS45に進み、レジスタXに「0」〜
「9」の数値が置数されたか、つまり、テンキーが操作
されたかが判別される。パスワードは4桁の数字で入力
するものとし、先ず最初にその1桁目の数字が入力され
たものとすると、ステップS45からステップ846に
進み、カウンタCの値が「4」になったかが調ベられる
が、最初は「1」であるので、ステップ847に進む。
However, the above-mentioned "SET" display or "No?"
After confirming the display, enter the password. The password is now set to be ready for input, so go to step S.
Proceeding from SS to step S45, register X is set to "0" ~
It is determined whether the numerical value "9" has been entered, that is, whether the numeric keypad has been operated. It is assumed that the password is entered as a four-digit number, and that the first digit is entered first, then the process advances from step S45 to step 846, and a check is made to see if the value of counter C has become "4". However, since it is initially "1", the process advances to step 847.

ここでは、レジスタXK置赦された数値がカウンタCの
値に対応するレジスタYの桁YQ%最初は1桁目に転送
される。そして、カウンタCの値を+1するインクリメ
ント処理(ステップ848)が実行されたのち、入力数
字が表示されると共に、カーソル位置が次桁に移動して
点滅表示される(ステップ549)。最初は1桁目の数
字が表示されると共に2桁目のカーソルが点滅表示され
る。しかして、2桁目〜4桁目の数字を順次入力すると
、上述の処理(ステップ847〜549)が繰り返し実
行される結果、カウンタCの値は「4」となると共に、
4桁の数字のパスワードがレジスタYの対応相に順次セ
ットされると共に、表示部17にデジタル表示される。
Here, the digit YQ% of the register Y corresponding to the value of the counter C is initially transferred to the first digit. After incrementing the value of the counter C by 1 (step 848), the input number is displayed, and the cursor position moves to the next digit and is displayed blinking (step 549). Initially, the first digit number is displayed and the second digit cursor is displayed blinking. When the numbers from the second to fourth digits are input in sequence, the above-mentioned process (steps 847 to 549) is repeatedly executed, and the value of the counter C becomes "4".
A four-digit numerical password is sequentially set in the corresponding phase of the register Y, and is digitally displayed on the display section 17.

このようにしてパスワードの入力が終了した時点では、
カウンタCの値が「4」となっているので、ステップS
46からステップ350に進み、レジスタpaの内容が
クリアされてパスワード入力可能状態が解除される。そ
の後、カウンタCに初期値「1」がセットされる(ステ
ップ551)。そして、レジスタPWO内容に基づいて
パスワードの登録、未登録が判別される(ステップ55
2)。いま、既にパスワードが登録されているものとす
ると、レジスタY01桁目〜4桁目(Yl〜Y4)に記
憶されている入力パスワードとパスワード記憶部Zの1
桁目〜4桁目(Z1〜Z4  )に予め設定登録されて
いるパスワードとが比較され、それらの一致が検出され
る(ステップ554)。ここで、入力パスワードの番号
が設定パスワードと異なる時には、ステップS54に進
み、ERROR”表示が行なわれたのち、表示時間タイ
マの計測動作が開始される(ステップ555)。第9[
11JC−4はこのときの表示状態を示している。また
、ステップS、R3で不一致が検出されると、ステップ
857に進み、OK”表示が行なわれる。第9図C−3
はこのときの表示状態を示している。そして、次のステ
ップSSaではレジスタFmに「1」がセットされてシ
ークレットモードに切替られたのち、表示時間タイマの
計測動作が開始される(ステップ559)。
When you have finished entering your password in this way,
Since the value of counter C is "4", step S
The process advances from step 46 to step 350, where the contents of the register pa are cleared and the password entry enabled state is released. Thereafter, the initial value "1" is set in the counter C (step 551). Then, it is determined whether the password is registered or unregistered based on the contents of the register PWO (step 55).
2). Assuming that a password has already been registered, the input password stored in the 1st to 4th digits of register Y0 (Yl to Y4) and 1 in password storage Z
The passwords set and registered in advance in the digits 1 to 4 (Z1 to Z4) are compared, and a match is detected (step 554). Here, if the number of the input password is different from the set password, the process advances to step S54, where "ERROR" is displayed, and then the measurement operation of the display time timer is started (step 555).
11JC-4 shows the display state at this time. Furthermore, if a mismatch is detected in steps S and R3, the process advances to step 857, where "OK" is displayed. FIG. 9C-3
indicates the display state at this time. Then, in the next step SSa, "1" is set in the register Fm to switch to the secret mode, and then the measurement operation of the display time timer is started (step 559).

一方、ステップS52でパスワードの未登録状態が検出
されると、ステップSSSに進み、Y1〜Y4内の入力
パスワードがZ1〜Z4に転送されて登録される。この
ようにしてパスワードの登録が終了すると、−h述した
パスワードの一致と同様にステップS5□が実行されて
第9図C−3と同様の表示状態となり、そして、ステッ
プ858+  859が順次実行される。
On the other hand, if an unregistered password is detected in step S52, the process proceeds to step SSS, and the input passwords in Y1 to Y4 are transferred to Z1 to Z4 and registered. When the password registration is completed in this way, step S5□ is executed in the same way as when the passwords match as described above, and the display state is similar to that shown in FIG. 9 C-3. Then, steps 858+859 are sequentially executed Ru.

なお、第6図で説明したように、E’RROf″’OK
”表示は1,5秒経過するまで行なわれるが、その表示
が1.5秒表示されると、OK”表示ではシークレット
データの表示状態に自動的に切替るが、”ERROR”
表示では第9図C−3の表示状態に戻って再びパスワー
ド入力状態初期表示が行なわれると共に、レジスタFL
LK″1”がセットされることになる。したがって、−
展間違ってパスワードを入力したとしても再度正しいパ
スワードを入力すれば、第9図C−3の表示状態から自
動的にシークレットデータの表示状態となる。
Furthermore, as explained in Fig. 6, E'RROf''OK
"The display will continue until 1.5 seconds have elapsed, but when the display is displayed for 1.5 seconds, the OK display will automatically switch to the secret data display state, but the "ERROR"
The display returns to the display state shown in FIG. 9 C-3, and the initial display of the password input state is performed again, and the register FL
LK"1" will be set. Therefore, −
Even if the password is entered incorrectly, if the correct password is entered again, the secret data display state will automatically change from the display state shown in FIG. 9C-3.

このとき、前回最初に読出されたページのデータが表示
されることは上述した通りである。
At this time, as described above, the data of the page that was first read last time is displayed.

他方、第7図のフローにおいて、シークレットモードで
スイッチS、が操作されると、ステップS35からステ
ップS42に進み、レジスタFmの内容がクリアされて
ノーマルモードにセットされ、次でその表示処理(ステ
ップ543)が実行される。
On the other hand, in the flow of FIG. 7, when the switch S is operated in the secret mode, the process proceeds from step S35 to step S42, the contents of the register Fm are cleared and set to normal mode, and then the display processing (step 543) is executed.

また、データバンク読出しモードにおいてスイッチS1
以外のキー、例えば、フォーワードキーd  、IJ 
ハースキー 区■囚 が操作されたものとすると、ステ
ップ834からステップS44に進み、後で詳述するパ
スワード入力以外のキー処理、表示処理が実行される。
Also, in the data bank read mode, the switch S1
keys other than, for example, forward keys d, IJ
If it is assumed that the key is operated, the process proceeds from step 834 to step S44, where key processing and display processing other than password input, which will be described in detail later, are executed.

更に、データバンク読出しモード以外のモード、即ち時
計モード、データバンク書込モードではステップS32
からステップSaOに進み、他モードスイッチ処理、例
えば、モード切替処理やRAMl3内のシークレットデ
ータ記憶エリア、ノーマルデータ記憶エリアに対するデ
ータの誓込処理等が実行される。
Further, in a mode other than the data bank read mode, that is, the clock mode or the data bank write mode, step S32 is performed.
The process then proceeds to step SaO, where other mode switching processing, such as mode switching processing and data pledge processing for the secret data storage area and normal data storage area in the RAM 13, is executed.

第8図は第7図で示したパスワード入力以外のキー処理
、表示処理(ステップ544)の具体的内容を示したフ
ローチャートである。先ず、このフローに入ると、ステ
ップS71でフォーワードキーd  の操作状態が判別
され、フォーワードキー m  が操作されると、シー
クレットモードかノーマルモードかの判別が行なわれる
1fステツプ872)。いま、シークレットモードであ
れば、メモリPs内の表示ページ数が+1される(ステ
ップ873)。この結果、メモIJ P Bのページ数
がメモリn のデータ数と一致するか、つまり最終ペー
ジとなったかが判断され(ステップ574)、その結果
、最終ページでなければ、そのページのシークレットデ
ータが読み出されて表示されるが、最終ページであれば
、ステップS7sに進み、メモリP8に「1」が転送さ
れ、これによって1ページ目のシークレットデータが読
み出されて表示される(ステップ876)。このように
フォーワードキー IWl が操作される毎に上述した
動作が繰り返し実行される結果、第9図B−1〜B−4
に示すようにシークレットデータ記憶エリア内のシーク
レットデータが1ページづつアルファベット順VC読み
出されてサイクリックに表示される。一方、ノーマルモ
ードでフォーワードキーTW■ が操作されると、上述
したステップ873〜S76に夫々対応するステップ8
77〜Ssoが順次実行される。その結果、第9ffi
A−1〜A−5に示す如く、ノーマルデータ記憶エリア
内のノーマルデータが1ページづつアルファベット順に
読み出されてサイクリックに表示される。
FIG. 8 is a flowchart showing specific details of key processing and display processing (step 544) other than password input shown in FIG. First, when entering this flow, the operation state of the forward key d is determined in step S71, and when the forward key m is operated, it is determined whether the mode is secret mode or normal mode (1f step 872). If the mode is currently secret mode, the number of displayed pages in the memory Ps is incremented by 1 (step 873). As a result, it is determined whether the number of pages in the memo IJPB matches the number of data in the memory n, that is, whether it is the last page (step 574). As a result, if it is not the last page, the secret data on that page is readable. If it is the last page, the process advances to step S7s, and "1" is transferred to the memory P8, whereby the secret data of the first page is read out and displayed (step 876). In this way, each time the forward key IWl is operated, the above-mentioned operation is repeatedly executed, and as a result, as shown in FIG.
As shown in the figure, the secret data in the secret data storage area is read out alphabetically one page at a time and displayed cyclically. On the other hand, when the forward key TW■ is operated in the normal mode, step 8 corresponds to steps 873 to S76 described above.
77 to Sso are sequentially executed. As a result, the 9th ffi
As shown in A-1 to A-5, normal data in the normal data storage area is read out one page at a time in alphabetical order and cyclically displayed.

マタ、リバースキー 1m  が操作されると、そのこ
とがステップSalで検出されてステップS82に進み
、シークレットモードかノーマルモードかの判別が行な
われる。いま、シークレットモードであれば、メモIJ
 P sのページ数が−1され(ステップ583)、そ
の結果、メモIJ P sの内容が10」かの判断が行
なわれ、rOJでなげればそのページのシークレットデ
ータが表示されるが、「0」であればメモリn 内のデ
ータ数がメモリP日に転送されてそのページのシークレ
ットデータが表示される(ステップ884〜586)。
When the reverse key 1m is operated, this is detected in step Sal, and the process proceeds to step S82, where it is determined whether the mode is secret mode or normal mode. If you are currently in secret mode, use Memo IJ
The page number of Ps is decremented by 1 (step 583), and as a result, it is determined whether the content of the memo IJPs is 10. If you roll it with rOJ, the secret data of that page will be displayed, but 0'', the number of data in memory n is transferred to memory P, and the secret data of that page is displayed (steps 884-586).

このように、リバースキー 匝 が操作される毎に上述
した動作が実行される結果、第9[MB−4〜B−1に
示す如く、シークレットデータ記憶エリアの内容が1ペ
ージづつ逆アルファベット順に読み出されてサイクリッ
ク1に順次表示される。一方、ノーマルモードでリバー
スキー 匝 が操作されると、上述したステップSa3
〜S86に夫々対応するステップ887〜890が実行
される結果、ノーマルデータ記憶エリアの内容が第9図
A、−5〜A−1に示す如く、逆アルファベット順に読
み出されてサイクリックに順次表示される。
As a result of the above-mentioned operation being executed each time the reverse key is operated, the contents of the secret data storage area are read page by page in reverse alphabetical order, as shown in MB-4 to B-1. and displayed in cyclic 1 sequentially. On the other hand, when the reverse key 匝 is operated in the normal mode, the step Sa3 described above is
As a result of executing steps 887 to 890 corresponding to S86, respectively, the contents of the normal data storage area are read out in reverse alphabetical order and displayed cyclically and sequentially, as shown in FIG. 9A, -5 to A-1. be done.

他方、フォーワードキー m  、リバースキーm  
以外のキーが操作された場合には、ステップ891に進
み、そのキーに対応するキー処理、表示処理が実行され
る。
On the other hand, forward key m, reverse key m
If a key other than the key is operated, the process advances to step 891, and key processing and display processing corresponding to that key are executed.

このように本実施例にあっては、データバンク読出しモ
ードにおいて、シークレットデータを読み出す場合には
、スイッチS1を操作してノーマルモードからシークレ
ットモードに切替えた後、パスワードを入力する。この
とき、予め設定されたパスワードと入力されたパスワー
ドとが一致した際には、一定時間経過後、前回最後に読
み出されたページのシークレットデータが自動的に表示
されることになる。このため、従来に比べてキー操作回
数および使用するキーの数が少な(なるので、簡単かつ
迅速にシークレットデータの表示に切替えることができ
ると共に、11を子腕時計の如くスイッチの実装スペー
スに制約があるものには好都合である。
As described above, in this embodiment, when reading secret data in the data bank read mode, the password is input after operating the switch S1 to switch from the normal mode to the secret mode. At this time, when the preset password and the input password match, the secret data of the last page read last time will be automatically displayed after a certain period of time has passed. For this reason, the number of key operations and the number of keys used are fewer than in the past (as a result, it is possible to easily and quickly switch to displaying secret data, and there is no restriction on the mounting space of the switch when using the 11 as a child watch). It's good for some things.

また、パスワード入力後、即シークレットデータが表示
されるのではな(、所定時間人カパスワ      ゛
−ドが表示されるので、入力されたパスワードを最後の
桁まで十分確認することができる。
Also, after entering the password, the secret data is not displayed immediately (the secret password is displayed for a predetermined period of time, so you can fully confirm the entered password down to the last digit).

また、パスワードを誤って入力した場合にはエラー表示
が所定時間性なわれたのち、自動的に再度パスワード入
力可能状態に自動的に切替わるので、誤入力の場合のキ
ー操作が不要となり、簡単かつ迅速にパスワードの訂正
が可能となる。
In addition, if a password is entered incorrectly, the error display remains for a predetermined period of time and then automatically switches to a state in which the password can be entered again, eliminating the need for key operations in the event of an incorrect entry. In addition, it becomes possible to quickly correct the password.

なお、この発明は、上記実施例に限定されず、この発明
を逸脱しない範囲内において種々変形応用可能である。
Note that the present invention is not limited to the above-described embodiments, and can be modified and applied in various ways without departing from the scope of the present invention.

例えば、上記実施例ではシークレットデータ記憶エリア
とノーマルデータ記憶エリアとを別の領域に分けたが、
このように領域を分けずにデータの夫々にフラグを設け
、フラグが”0″ならばノーマルデータ、′1″ならば
シークレットデータとして区別してもよい。
For example, in the above embodiment, the secret data storage area and the normal data storage area are separated into separate areas.
In this way, a flag may be provided for each piece of data without dividing the area, and if the flag is "0", it is normal data, and if the flag is "1", it is classified as secret data.

〔発明の効果〕〔Effect of the invention〕

この発明は、以上詳細に説明したように、予め設定され
ているパスワードと入力されたパスワードとを比較して
それらの一致が検出された際には、所定のデータを読み
出して表示させるようにしたから、従来のようにシーク
レットデータを読み出して表示させる為の一連のキー操
作に比べて簡単かつ迅速にデータの読み出しが可能とな
る等の効果を奏する。
As explained in detail above, this invention compares a preset password with an input password, and when a match is detected, predetermined data is read out and displayed. Therefore, it is possible to read out data easily and quickly compared to the conventional method of reading and displaying secret data using a series of key operations.

【図面の簡単な説明】[Brief explanation of the drawing]

図面はこの発明の一実施例を示し、第1図はこの発明を
適用したデータバンク機能付電子腕時計のブロック回路
図、第2図はその外観平面図、第6図は表示部の構成図
、第4図はRA Mの主要構成図、第5図〜第8図は動
作を説明する為のフローチャート、第9図は表示状態図
である。 11・・・・・・ROM、13・・・・・・RAM、1
4・・・・・・演算部、17・・・・・・表示部、21
・・・・・・キー人力部。 2A 第3図 第4図 第5図 1力 第6図
The drawings show an embodiment of the present invention, FIG. 1 is a block circuit diagram of an electronic wristwatch with a data bank function to which the present invention is applied, FIG. 2 is a plan view of its external appearance, and FIG. 6 is a configuration diagram of a display section. FIG. 4 is a main configuration diagram of the RAM, FIGS. 5 to 8 are flowcharts for explaining the operation, and FIG. 9 is a display state diagram. 11...ROM, 13...RAM, 1
4... Arithmetic unit, 17... Display unit, 21
...Key human resources department. 2A Figure 3 Figure 4 Figure 5 Figure 1 Power Figure 6

Claims (1)

【特許請求の範囲】[Claims] 複数のデータを記憶するデータ記憶手段と、このデータ
記憶手段に記憶されているデータを表示する表示手段と
、パスワード入力手段と、予め設定されたパスワードを
記憶するパスワード記憶手段と、前記パスワード入力手
段で入力されたパスワードと前記パスワード記憶手段に
記憶されているパスワードとを比較する比較手段と、こ
の比較手段でパスワードの一致が検出された際に前記デ
ータ記憶手段から所定のデータを読み出して前記表示手
段に表示させる読出制御手段とを具備したことを特徴と
するデータ記憶装置。
a data storage means for storing a plurality of data; a display means for displaying the data stored in the data storage means; a password input means; a password storage means for storing a preset password; and the password input means. a comparison means for comparing the password inputted in the password storage means with a password stored in the password storage means; and when a match between the passwords is detected by the comparison means, predetermined data is read from the data storage means and displayed on the display. 1. A data storage device comprising read control means for displaying information on a data storage device.
JP60102713A 1985-05-16 1985-05-16 Data storage unit Granted JPS61262864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60102713A JPS61262864A (en) 1985-05-16 1985-05-16 Data storage unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60102713A JPS61262864A (en) 1985-05-16 1985-05-16 Data storage unit

Publications (2)

Publication Number Publication Date
JPS61262864A true JPS61262864A (en) 1986-11-20
JPH031695B2 JPH031695B2 (en) 1991-01-11

Family

ID=14334905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60102713A Granted JPS61262864A (en) 1985-05-16 1985-05-16 Data storage unit

Country Status (1)

Country Link
JP (1) JPS61262864A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225364A (en) * 1985-07-25 1987-02-03 Sharp Corp Electronic device
US5430867A (en) * 1989-04-28 1995-07-04 Kabushiki Kaisha Toshiba Data processing system having a resume function and an operating method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6225364A (en) * 1985-07-25 1987-02-03 Sharp Corp Electronic device
US5430867A (en) * 1989-04-28 1995-07-04 Kabushiki Kaisha Toshiba Data processing system having a resume function and an operating method thereof

Also Published As

Publication number Publication date
JPH031695B2 (en) 1991-01-11

Similar Documents

Publication Publication Date Title
JPS61275948A (en) Data storage device
JPS6247577A (en) Schedule display device
JPS61275691A (en) Alarm timepiece
JPS63293664A (en) Electronic equipment
JPS6367158B2 (en)
JPS61262864A (en) Data storage unit
US4181963A (en) Electronic calculator with time counting function
JPH09231003A (en) Pen input electronic unit
JPH052878Y2 (en)
JPS6234224A (en) Data input device
JP2560279B2 (en) Data storage device
JP3203669B2 (en) Learning time display control device
JPS6310553Y2 (en)
JPH0615313Y2 (en) Data storage device
JPH0628718Y2 (en) Stopwatch
JPS61275689A (en) Data storage device
JP2513600Y2 (en) Data bank device
JPS62153793A (en) Electronic time-piece with data storing apparatus
JPH0426919Y2 (en)
JPS61230075A (en) Miniature electronic apparatus provided with time data storage function
JPH0318221B2 (en)
JPH0531185B2 (en)
JPH0622014B2 (en) Data processing device password calling method
JPS59140556A (en) Display control system
JPS61153584A (en) Correction system of electronic timepiece

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term