JPS6278381A - Electronic key apparatus - Google Patents

Electronic key apparatus

Info

Publication number
JPS6278381A
JPS6278381A JP60217344A JP21734485A JPS6278381A JP S6278381 A JPS6278381 A JP S6278381A JP 60217344 A JP60217344 A JP 60217344A JP 21734485 A JP21734485 A JP 21734485A JP S6278381 A JPS6278381 A JP S6278381A
Authority
JP
Japan
Prior art keywords
mode
code
pass data
key
display
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
JP60217344A
Other languages
Japanese (ja)
Other versions
JPH073134B2 (en
Inventor
克明 唐沢
庄司 秀行
智夫 粕尾
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 JP60217344A priority Critical patent/JPH073134B2/en
Priority to US06/910,649 priority patent/US4786900A/en
Publication of JPS6278381A publication Critical patent/JPS6278381A/en
Publication of JPH073134B2 publication Critical patent/JPH073134B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電波、光、超音波等を利用して非接触的に錠
を開閉する電子キー装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic key device that opens and closes a lock in a non-contact manner using radio waves, light, ultrasonic waves, etc.

〔従来の技術〕[Conventional technology]

従来、建物や部屋の戸や門扉、車のドア、金庫や机、ロ
ッカー等の扉や蓋、引出し等の保安装置として、機械式
による錠とキー(鍵)によるロック機構を備えたものが
ある。これは、錠内の形状的凹凸や、ピンやシリンダの
長さや位置或いはそれらの有無等の機械的情報の組み合
わせと、キーの形状的凹凸や長さや位置、或いはそれら
の有無機械的あるいは力学的に照合して、一致したとき
にだけロック機構が解除されて、錠が開くようにしたも
のである。
Traditionally, security devices such as doors and gates of buildings and rooms, car doors, doors and lids of safes, desks, lockers, drawers, etc. have been equipped with locking mechanisms using mechanical locks and keys. . This is a combination of mechanical information such as the unevenness inside the lock, the length and position of pins and cylinders, and the presence or absence of them, and the mechanical or mechanical information such as the unevenness, length and position of the key, and the presence or absence of them. The locking mechanism is released and the lock opens only when a match is found.

また近来、上記の錠とキーとによる機械的ロック機構の
代わりに、電子式制御によるロック装置が開発されてい
る。このようなロック装置としては、例えば錠側に複数
の数字ボタンを備え、所定の番号と対応するボタンを押
すことにより、電気的信号(例えば、電圧の高低、電流
の大小、あるいはオン・オフ等)による電子的情?u 
(r I J、「0」)を入力し、キー無しで電気的に
開閉しようとするものがある。また、無線電波等を使用
したリモートコントロールにより、遠方から非接触的に
開閉可能な装置や、暗号コードを磁気テープに記録した
磁気ストライプカードを利用した装置等も知られている
In addition, recently, instead of the above-mentioned mechanical locking mechanism using a lock and key, a locking device using electronic control has been developed. For example, such a lock device is equipped with a plurality of numeric buttons on the lock side, and by pressing the button corresponding to a predetermined number, electrical signals (e.g., voltage level, current level, on/off, etc.) can be transmitted. ) by electronic emotion? u
(r I J, "0") and try to open and close electrically without a key. Also known are devices that can be opened and closed contactlessly from a distance by remote control using radio waves, and devices that use magnetic stripe cards with encryption codes recorded on magnetic tape.

〔従来技術の問題点〕[Problems with conventional technology]

上記従来の装置において、機械的な照合手段を用いたも
のでは、キーを複製あるいは1疑造することが極めて容
易である。また、各々の錠ごとにキーが必要となるため
、たくさんのキーを持ち歩く必要が生じる。さらに、各
錠の開閉を全て手作業で実行する必要がある等、操作、
運用上、あるいは保安上多くの問題点があった。そして
また、錠を変更する場合はキーをも全て交換する必要が
あり、さらには統合あるいは集中制御しにくい等、互換
性やシステム化上でも問題があった。
In the above-mentioned conventional devices that use mechanical verification means, it is extremely easy to duplicate or fake a key. Furthermore, since a key is required for each lock, it becomes necessary to carry a large number of keys. Furthermore, each lock must be opened and closed manually, etc.
There were many operational and security problems. Furthermore, when changing the lock, all keys must be replaced, and furthermore, there are problems in terms of compatibility and systemization, such as difficulty in integrating or centralizing control.

一方、電子式制御による装置においても、上述した数字
ボタンを備えたものでは、各々の錠ごとに入力すべき番
号を覚えておかなければならず、錠が複数ある場合には
それらの番号を忘れてしまい易いという欠点がある。リ
モートコントロールを利用した装置では、リモートコン
トロール装置を各錠ごとに用怠しなければならないため
、これらを多数持ち歩く必要があり、紛失する危険が多
くなる。磁気ストライプカードを利用した装置において
も、このカードを各錠と対応させて多数持ち歩(必要が
あり、紛失し易いという問題がある。
On the other hand, even with electronically controlled devices that are equipped with the numeric buttons mentioned above, it is necessary to remember the number that must be entered for each lock, and if there are multiple locks, it is easy to forget those numbers. The disadvantage is that it is easy to get lost. In a device using a remote control, the remote control device must be used for each lock, so it is necessary to carry a large number of these devices, increasing the risk of losing them. Even in devices using magnetic stripe cards, there is a problem in that it is necessary to carry a large number of cards in correspondence with each lock, and the cards are easily lost.

更にこれらの装置では、錠を開けるための暗号コードが
固定されているため、保安上の問題がある。
Furthermore, these devices pose a security problem because the cryptographic code for opening the lock is fixed.

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

本発明は、上記従来の問題点に迄み、多数の錠に対して
1個で対応でき、かつ保安および防犯殿能に優れた電子
キー装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to overcome the above-mentioned conventional problems and provide an electronic key device that can be used with a large number of locks and has excellent security and crime prevention capabilities.

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

本発明は上記目的を達成するために、電子錠のロックを
解除するための暗号コードを記憶でき、その暗号コード
を電子錠に対して任意に出力できるようにし、更に上記
暗号コードの設定、変更または出力をバスデータが一致
したときにのみ可能にすることにより、−5保全性を高
めたものである。
In order to achieve the above object, the present invention is capable of storing an encryption code for unlocking an electronic lock, outputting the encryption code to the electronic lock at will, and further setting and changing the encryption code. Alternatively, -5 integrity is improved by enabling output only when the bus data match.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例について、図面を参照しながら説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明を腕時計を適用した場合の一実施例を示
ず外観斜視図である。同図において、腕時計本体1は、
液晶表示装置等からなる表示部2と、各種キ一群3aを
備えるキー操作部3とから構成されている。表示部2の
側端面にはキーS1、S2、S3およびLED4が設け
られており、このキーS1、S2.S3および上記キ一
群3a中のイコール(−)キー84、マイナス(−)キ
ー85、プラス(+)キーS6は、詳しくは後述するが
、表示部2の表示モードを切換える機能を持っている。
FIG. 1 is an external perspective view of an embodiment in which the present invention is applied to a wristwatch. In the figure, the wristwatch main body 1 is
It is comprised of a display section 2 consisting of a liquid crystal display or the like, and a key operation section 3 including a group of various keys 3a. Keys S1, S2, S3 and LED 4 are provided on the side end surface of the display section 2, and the keys S1, S2 . S3 and the equal (-) key 84, minus (-) key 85, and plus (+) key S6 in the key group 3a have the function of switching the display mode of the display section 2, as will be described in detail later.

次に、第2図は本実施例に係る電子キー機能によりロッ
ク機構が解除される宝石箱10の外観斜視図である。宝
石箱10は本体11と蓋体12とから構成され、蓋体1
2は本体11に対して不図示の蝶つがい等により開閉自
在に取り付けられている。また、蓋体12の内側には、
本体11の内側に設けられた不図示の係合部と係合する
ロック用の突部13が設けられている。これらは、蓋体
12が閉じると、上記係合部と突部13とが係合するこ
とにより自動的にロックされるようなロック機構となっ
ている。
Next, FIG. 2 is an external perspective view of the jewelry box 10 whose locking mechanism is released by the electronic key function according to this embodiment. The jewelry box 10 is composed of a main body 11 and a lid 12.
2 is attached to the main body 11 by a hinge or the like (not shown) so that it can be opened and closed. Moreover, inside the lid body 12,
A locking protrusion 13 is provided that engages with an engagement portion (not shown) provided inside the main body 11. These act as a locking mechanism in which when the lid body 12 is closed, the engaging portion and the protruding portion 13 are engaged with each other, thereby automatically locking.

さらに、蓋体12の内側には、4個のダイヤルを回転さ
せて数字を合わせるディジタルスイッチ14が取り付け
られ、上記のロック機構に電気的に接続されている。こ
のディジタルスイッチ14で設定された番号(第2図で
はro 425j )に相当する光信号が第1図の腕時
計のLED4がら出力され、錠穴15を介して受光され
た場合、あるいは所定のキー(鍵)によってのみ、上記
のロック機構が解除されるようになっている。
Furthermore, a digital switch 14 is attached to the inside of the lid 12 and is electrically connected to the locking mechanism described above, which rotates four dials to match the numbers. When a light signal corresponding to the number set by this digital switch 14 (RO 425j in FIG. 2) is output from the LED 4 of the wristwatch shown in FIG. The above locking mechanism can only be unlocked using a key.

第3図に、第1図および第2図に示した時計本体1およ
び宝石箱10の回路構成を示す。
FIG. 3 shows the circuit configuration of the watch body 1 and the jewelry box 10 shown in FIGS. 1 and 2.

まず、時計本体1について説明する。ROM21は、全
体のシステムをコントロールするプログラムやデータを
内蔵している固定メモリである。
First, the watch body 1 will be explained. The ROM 21 is a fixed memory that contains programs and data that control the entire system.

アドレス制御部22は、プログラムの流れを測定するR
OM21(7)7FL/ス部であり、ROM21、演算
部25および分周回路27の出力が入力されている。R
AM23は、ROM21で指定されたアドレスに記憶さ
れているデータを演算部25および変換回路29に出力
し、また演算部25で処理および加工された結果を入力
して記憶するメモリである。インストラクションデコー
ダ24は、ROM21の出力をデコードして、各プロ・
7りにコントロール信号を送るブロックである。演算部
25は、ROM21およびキー人力部28の指示に基づ
き、ROM23内のデータを用いて演算を行い、その結
果をROM21によって指定されたRAM23のアドレ
スに書込み、また表示部2に表示する。この表示部2は
、第1図に示したものと同一である。発振器26は一定
周期のクロック信号を出力し、タイミングジェネレータ
27は上記クロック信号を所定周波数まで分周して、各
ブロックを時系列にコントロールするタイミング信号を
出力する。キー人力部28は、各々の処理動作をシステ
ムに指示するための信号を外部から送るブロックであり
、第1図に示したキーS1、S2、S3およびキ一群3
aを含んでいる。
The address control unit 22 includes an R
OM21(7) is a 7FL/s unit, and the outputs of the ROM 21, the arithmetic unit 25, and the frequency dividing circuit 27 are input thereto. R
AM23 is a memory that outputs the data stored in the address specified in the ROM 21 to the arithmetic unit 25 and the conversion circuit 29, and inputs and stores the results processed and processed by the arithmetic unit 25. The instruction decoder 24 decodes the output of the ROM 21 and
This is a block that sends control signals to the controller. The calculation unit 25 performs calculations using the data in the ROM 23 based on instructions from the ROM 21 and the key input unit 28, writes the result to the address of the RAM 23 specified by the ROM 21, and displays it on the display unit 2. This display section 2 is the same as that shown in FIG. The oscillator 26 outputs a clock signal with a constant period, and the timing generator 27 divides the frequency of the clock signal to a predetermined frequency and outputs a timing signal for controlling each block in time series. The key manual unit 28 is a block that sends signals from the outside for instructing the system to perform various processing operations, and is a block that sends signals from the outside to instruct the system to perform various processing operations, and is used to control the keys S1, S2, S3 and the key group 3 shown in FIG.
Contains a.

変換回路29は、RAM23に書込まれた後述するよう
な暗号コードをH(ハイ)およびL(ロウ)の電気信号
に変換する。変換回路29の出力信号に従ってトランジ
スタ30がオン、オフし、それに伴いLED4がオン、
オフすることにより、所定のデータを含んだ光信号が出
力される。このLED4は、第1図に示したものと同一
のものである。
The conversion circuit 29 converts the cryptographic code written in the RAM 23, which will be described later, into H (high) and L (low) electrical signals. The transistor 30 turns on and off according to the output signal of the conversion circuit 29, and accordingly, the LED 4 turns on and off.
By turning it off, an optical signal containing predetermined data is output. This LED 4 is the same as that shown in FIG.

次に、宝石箱10の側の回路構成を説明する。Next, the circuit configuration on the jewelry box 10 side will be explained.

フォトダイオード31は、上記LIED4から光信号を
受けてオン、オフすることにより、光信号を電気信号に
変換する。なお、このフォトダイオード31は、第2図
中の鍵穴15の奥部に取り付けてあり、外部から鍵穴1
5を介して入ってきた光を検知できるようになっている
。また、フォトダイオード31の代わりにフォトトラン
ジスタであってもよい。増幅器32は、フォトダイオー
ド31によって得られた電気信号を増幅し、その出力の
中からローパスフィルタ33が低周波成分のみを取り出
す。変換回路34は、ローパスフィルタ33の出力信号
をディジタル信号(暗号コード)に変換する。一致検出
回路35は、上述したディジタルスイッチ14で設定さ
れた番号と、変換回路34から出力されたディジクル信
号(暗号コード)とを比較し、それらの内容が一致して
いるときに一致信号を出力する。ロック機構36は、第
2図中の突部13と本体11内の係合部とから構成され
、上記の一致信号を受けると、それらの係合がはずれ、
ロックが解除されるようになっている。
The photodiode 31 receives an optical signal from the LIED 4 and turns it on and off, thereby converting the optical signal into an electrical signal. Note that this photodiode 31 is attached to the back of the keyhole 15 in FIG.
It is now possible to detect the light that enters through 5. Furthermore, the photodiode 31 may be replaced by a phototransistor. The amplifier 32 amplifies the electrical signal obtained by the photodiode 31, and the low-pass filter 33 extracts only low frequency components from the output thereof. The conversion circuit 34 converts the output signal of the low-pass filter 33 into a digital signal (cipher code). The match detection circuit 35 compares the number set by the digital switch 14 described above with the digital signal (cipher code) output from the conversion circuit 34, and outputs a match signal when the contents match. do. The locking mechanism 36 is composed of the protrusion 13 in FIG. 2 and an engaging part in the main body 11, and upon receiving the above coincidence signal, the locking mechanism 36 releases the engagement.
The lock is now released.

次に、上述したRAM23の内部構成を第4図に示す。Next, FIG. 4 shows the internal configuration of the RAM 23 mentioned above.

同図において、RAM23は、時刻レジスタW、表示レ
ジスタX、項目記憶レジスタY、暗号コード記す、aレ
ジスタZ、パスデータ記憶レジスタH、パスデータ設定
フラグし、電子キー操作モードフラグM、パスデータ入
力モードフラグN、モード選択フラグ0、パスデータ変
更モードフラグP、項目・コード変更設定フラグQ、項
目入力モードフラグR1コード出力中モードフラグS、
タイマT等から構成されている。
In the same figure, the RAM 23 includes a time register W, a display register Mode flag N, mode selection flag 0, path data change mode flag P, item/code change setting flag Q, item input mode flag R1 code output mode flag S,
It consists of a timer T, etc.

時刻レジスタWは時、分、秒、 1/16秒等の時刻デ
ータを記憶するレジスタであり、表示レジスタXは上述
した表示部2に表示するデータを一時記憶するレジスタ
である。項目記憶レジスタYおよび暗号コード記憶レジ
スタZは、複数のレジスタで構成され、各レジスタはそ
れぞれ各種の錠と対応した項目および各項目ごとに設定
されたi1号コードを記憶している。例えば、第4図に
おいては、第2図に示したような宝石箱15に対しては
項目をrJEWELjとし、それに対応して暗号コード
を「0425」と設定しである。また、家のドア、自動
車のドア、オフィスのドアの場合には、項目をそれぞれ
rDOORコ、rCARJ、[○FFTCEJというよ
うにし、それぞれの項目に対して暗号コードを設定して
いる。パスデータ記憶レジスタ14は、パスデータ、す
なわち特定の人のみが知っている秘密の番号あるいは記
号等からなるデータを記憶するレジスタであり、第4図
ではroollJというパスデータを記憶している。
The time register W is a register that stores time data such as hours, minutes, seconds, and 1/16 seconds, and the display register X is a register that temporarily stores data to be displayed on the display section 2 described above. The item storage register Y and the cipher code storage register Z are composed of a plurality of registers, and each register stores items corresponding to various types of locks and an i1 code set for each item. For example, in FIG. 4, for the jewelry box 15 shown in FIG. 2, the item is set to rJEWELj, and the encryption code is set to "0425" correspondingly. Further, in the case of a house door, a car door, and an office door, the items are set as rDOOR, rCARJ, and [○FFTCEJ, respectively, and an encryption code is set for each item. The pass data storage register 14 is a register that stores pass data, that is, data consisting of a secret number or symbol known only to a specific person, and in FIG. 4, it stores pass data called rollJ.

パスデータ設定フラグLは、パスデータ記憶レジスタ■
]にパスデータが設定されている場合に“1”が設定さ
れるフラグである。電子キー操作モードフラグMは、時
刻表示モード以外の、以下にのべるような電子キー操作
に関する表示モード(電子キー操作モード)の場合“1
”が設定されるフラグである。バスデータ入力モードフ
ラグN1モード選択フラグ0、パスデータ変換モードフ
ラグP、項目・コード変更設定フラグQ、項目入力モー
ドフラグR、コード出力中モードフラグSは、前述した
表示部2の表示モードが、それぞれパスデータ入力モー
ド、モード選択モード、パスデータ変更モード、項目・
コード変更設定モード、項目入力モード、コード出力中
モードである場合に“1”が設定されるフラグである。
The pass data setting flag L is the pass data storage register■
] is a flag that is set to “1” when path data is set. The electronic key operation mode flag M is set to "1" in the case of a display mode related to electronic key operation (electronic key operation mode) other than the time display mode, as described below.
" is the flag to be set. Bus data input mode flag N1 mode selection flag 0, path data conversion mode flag P, item/code change setting flag Q, item input mode flag R, and code output mode flag S are as described above. The display mode of display section 2 that has been selected is path data input mode, mode selection mode, path data change mode, and item/item.
This flag is set to "1" when the mode is code change setting mode, item input mode, or code output mode.

タイマTは、秒刻みで時間を計測するタイマであり、こ
の計測結果は所定の表示モードの自動的な切り換えを行
うためのタイミングに使用される。
The timer T is a timer that measures time in seconds, and the measurement result is used for timing for automatically switching a predetermined display mode.

以上のような回路構成を有する本実施例の主要な動作を
、以下に説明する。
The main operations of this embodiment having the circuit configuration as described above will be explained below.

まず、第5図において、ホル)(HALT)状態(al
)からキー処理の指示がなければ、1/16秒ごとに、
計時関連処理が順次行われ(a2)。この計時関連処理
は、詳細は後述するが第3図に示した分周回路27から
 1/16秒ごとに出力される計時クロック信号によっ
て実行されるもので、この処理によって得られた時刻デ
ータは、第4図に示したRAM23の時刻レジスタWに
記憶される。
First, in FIG. 5, the HALT state (al
), every 1/16 seconds, if there is no key processing instruction from
Timing-related processing is performed sequentially (a2). This timekeeping-related process, which will be described in detail later, is executed by a timekeeping clock signal that is output every 1/16 seconds from the frequency dividing circuit 27 shown in FIG. 3, and the time data obtained by this process is , is stored in the time register W of the RAM 23 shown in FIG.

一方、Ii A L T状ra (a 1 )において
、第1図に示したようにキー81〜86等が押されると
、キー処理が行われる(a3)。このキー処理は、キー
が押されることにより、第3図に示したキー人力部28
から出力される信号に基づき、ROM21、RAM23
等の動作により行われる処理である。
On the other hand, in Ii AL T shape ra (a 1 ), when keys 81 to 86 are pressed as shown in FIG. 1, key processing is performed (a3). This key processing is performed by pressing the key in the key manual section 28 shown in FIG.
Based on the signal output from ROM21, RAM23
This is a process performed by operations such as.

以下、キーS!−S[、が操作された場合の処理と表示
モードの変化を説明する。
Key S below! -S [, will be explained about the process and change of display mode when is operated.

第6図はキー81が押された場合の処理のフローチャー
トであり、第16図は各キーが操作されたときの表示変
化を示している。然してキー81が押された場合は、第
6図に示す如くまず電子キ12作モードフラグMが1で
あるかどうかを判断する(bl)。上記フラグMは、第
16図に示す如く、0の時に時刻を表示させ、1の時に
電子キ−の各表示を行わせるモードであり、M≠1であ
れば、すなわち時刻表示モード(第16図中のモードm
 + )である場合はMに1を設定するとともに、タイ
マTをリセットしくb2)、さらに表示モードを電子キ
ーモード(第16図中のモードm2)に切り換える(b
3)。
FIG. 6 is a flowchart of the process when the key 81 is pressed, and FIG. 16 shows the display changes when each key is operated. However, if the key 81 is pressed, as shown in FIG. 6, it is first determined whether the electronic key 12 operation mode flag M is 1 (bl). As shown in FIG. 16, the flag M is a mode in which the time is displayed when it is 0, and each display on the electronic key is performed when it is 1. If M≠1, that is, the time display mode (16th Mode m in the diagram
+), set M to 1, reset timer T b2), and switch the display mode to electronic key mode (mode m2 in Figure 16) (b2).
3).

上記ステップb1においてM=1の場合、すなわち電子
キー操作モード(第16図中のモードm o )の場合
は、項目・コード変更設定フラグQが1であるかどうか
を判断しくba)、Q=1であれば、すなわち項目・コ
ード変更設定モード(第16図中のモードm+o)であ
れば、QにOを設定するとともに、モード選択フラグO
に1を設定しくbi)、モード選択モード(第16図中
のモードm s )に切り換える。一方、ステップb4
においてQ≠1の場合は、0玉1かどうかを判断しくb
 6) 、O=1である場合、すなわちモード選択モー
ドm6である場合はOに0を設定するとともに、Qに1
を設定して(bv)、項目・コード変更設定モードml
Gに切り換える。また、ステップb5において07′−
1の場合は、Mに0を設定して(b、、)、時刻表示モ
ー1.’ m 1に切り喚える。
If M=1 in step b1 above, that is, in the electronic key operation mode (mode m o in FIG. 16), it is determined whether the item/code change setting flag Q is 1 (ba), Q= If it is 1, that is, if it is the item/code change setting mode (mode m+o in FIG. 16), set O to Q and set the mode selection flag O.
Set 1 to bi) and switch to the mode selection mode (mode m s in FIG. 16). Meanwhile, step b4
If Q≠1, it is necessary to judge whether there are 0 balls or 1.
6) If O=1, that is, mode selection mode m6, set O to 0 and set Q to 1.
(bv) and enter item/code change setting mode ml
Switch to G. Also, in step b5, 07'-
In the case of 1, set M to 0 (b, ,) and switch to time display mode 1. ' m 1 yells.

キー82が押された場合の処理を第7図に示す。FIG. 7 shows the processing when the key 82 is pressed.

キー82が押されると、まず電子キー操作モードフラグ
Mが1かどうかを判断しくc+)、M≠1の場合は処理
を行わず、M=1の場合にはバスデータ変更モーl”フ
ラグPが1かどうかを判断する(c2)。P=1であれ
ば、すなわちパスデータ変更モード(第16図中のモー
ドm 9 )であればPをOにするとともに、モード選
択フラグOに1を設定しくC3)、モード選択モードm
6に切り換える。一方、ステップC2において、P≠1
の場合は、O=1かどうかを’PII4frシ(C−)
 、O=1の場合は0を0にするとともに、パスデータ
変更モードフラグPに1を設定しくci)、パスデータ
変更モードm9に切り換える。
When the key 82 is pressed, it is first determined whether the electronic key operation mode flag M is 1 (c+), and if M≠1, no processing is performed, and if M=1, the bus data change mode flag P is 1 (c2). If P=1, that is, if the path data change mode (mode m 9 in FIG. 16), P is set to O and the mode selection flag O is set to 1. Setting C3), mode selection mode m
Switch to 6. On the other hand, in step C2, P≠1
In this case, check whether O=1 or not by
, if O=1, set 0 to 0, set the path data change mode flag P to 1 (ci), and switch to the path data change mode m9.

キー83が押された場合の処理を第8図に示す。FIG. 8 shows the processing when the key 83 is pressed.

キー83が押されると、まず電子キー操作モードフラグ
Mが1であるかどうかを判断しくdl)、M≠1の場合
は処理を行わず、M=1の場合にはパスデータ入力モー
ドフラグNが1かどうかを判断する(d2)。N=1の
場合、すなわちパスデータ入力モード(第6図中のモー
ドm 3 )であれば、Nに0を設定しくd3)、電子
キーモードm2に切り換える(d4)。
When the key 83 is pressed, it is first determined whether the electronic key operation mode flag M is 1 (dl), and if M≠1, no processing is performed, and if M=1, the pass data input mode flag N is 1 (d2). If N=1, that is, in the pass data input mode (mode m 3 in FIG. 6), set N to 0 (d3) and switch to the electronic key mode m2 (d4).

上記ステップd2においてN≠1の場合は、パスデータ
設定フラグLが1かどうか、すなわちパスデータがパス
データ記憶レジスタ11に設定されているかどうかを判
断する(d5)。L=1の場合はNに1を設定して(d
6)、パスデータ入力モードm3に切り換える。一方、
ステップd5においてL≠1の場合は、モード選択フラ
グ0が1かどうかを判断しくd 7) 、O=1の場合
にはOを0にするとともに、Nに1を設定して(d8)
、パスデータ入力モードm3に切り換える。
If N≠1 in step d2, it is determined whether the path data setting flag L is 1, that is, whether the path data is set in the path data storage register 11 (d5). If L=1, set N to 1 and (d
6) Switch to path data input mode m3. on the other hand,
If L≠1 in step d5, determine whether mode selection flag 0 is 1 (d7), and if O=1, set O to 0 and set N to 1 (d8).
, switch to path data input mode m3.

キー84が押された場合の処理を第9図に示す。FIG. 9 shows the processing when the key 84 is pressed.

キー84が押されると、まずM=1かどうかを判断しく
e+)、M≠1の場合は処理を行わず、M=1の場合に
項目入力モードフラグRが1かどうかを判断する(e2
)。R≠1の場合は処理を行わず、R=1の場合、すな
わち項目入力モード(第6図中のm ? )である場合
に、RをOにするとともにコード出力中モードフラグS
に1を設定しくe:+)、コード出力中モード(第6図
中のモードm e )に切り換える。そして、入力され
た項目に対応する暗号コードを第4図中の暗奮コード記
憶レジスタZから取出し、この暗号コードを第3図に示
した変換回路29に送る(e4)。
When the key 84 is pressed, it is first determined whether M=1 (e+), and if M≠1, no processing is performed, and if M=1, it is determined whether the item input mode flag R is 1 (e2
). If R≠1, no processing is performed, and if R=1, that is, in the item input mode (m? in Figure 6), set R to O and set the code output mode flag S.
Set 1 to e:+) and switch to the code output mode (mode m e in FIG. 6). Then, the encrypted code corresponding to the input item is taken out from the memory code storage register Z shown in FIG. 4, and this encrypted code is sent to the conversion circuit 29 shown in FIG. 3 (e4).

キーS5が押された場合の処理を第10図に示す。キー
85が押されると、同様にしてM=1かどうかの判断が
行われCf l) 、M=1の場合には、モード選択フ
ラグOが1であるかどうかを判断しくf2)、O=1で
あれば、すなわちモード選択モードm5である場合はO
をOにするとともに頃日入力モードフラグRに1を設定
しくf3)、項目入力モードm7に切り換える。
FIG. 10 shows the processing when the key S5 is pressed. When the key 85 is pressed, it is similarly determined whether M=1 or not, and if M=1, it is determined whether the mode selection flag O is 1 or not. 1, that is, mode selection mode m5, O
is set to O, and the approximate date input mode flag R is set to 1 (f3), and the mode is switched to the item input mode m7.

一方、上記ステ、プf2において0≠1の場合は、R=
1であるかどうかを判断しくr4) 、R≠1の場合は
処理をおこなわず、またR=1の場合にはRを0にする
とともにOに1を設定しくf5)、モード選択モードm
5に切り換える。
On the other hand, if 0≠1 in step f2 above, R=
1, r4), if R≠1, do not process, and if R=1, set R to 0 and set O to 1 f5), mode selection mode m
Switch to 5.

キー86が押された場合の処理を第11図に示す。キー
86が押されると、同様にM=1であるかどうかを判断
しく2口、M−1の場合には項目・コード変更設定フラ
グQカ月かどうかを判断する(g?)。Q≠1の場合は
処理が行われず、またQ=1の場合には次の項目および
暗号コードが読出される(g3)。
FIG. 11 shows the processing when the key 86 is pressed. When the key 86 is pressed, it is similarly determined whether M=1 or not, and if M-1, it is determined whether the item/code change setting flag Q months have passed (g?). If Q≠1, no processing is performed, and if Q=1, the next item and encryption code are read (g3).

以上のようにしてキー処理が行われるが、1/16秒の
タイミング毎に行われる計時関連処理では第12図に示
すように計時処理(h+)、モード検出処理(h2)、
表示処理(h3)が順次行われる。
The key processing is performed as described above, but in the time-related processing performed at every 1/16 second timing, as shown in FIG.
Display processing (h3) is performed sequentially.

上記計時処理(h暑を具体的に第13図に示す。まず1
/16秒ごとの計時クロック信号があるかないかを見て
おり(1口、あった場合に第4図に示したRAM23の
時刻レジスタW中の1/16秒カウンタ(不図示)に1
を加算する(12)。そして、この 1716秒カウン
タが16をカランI・したかどうか、すなわち1秒経過
したかどうかを判断しくi3)、1秒経過した場合に上
記の 1/16秒カウンタをリセットするとともに、上
記時刻レジスタW中の秒カウンタ(不図示)に1を加算
する(i4)。次に、上記秒カウンタが10をカランl
−したかどうか、すなわち10秒経過したかどうかを判
断しくi5)、10秒経過した場合に上記秒カウンタを
リセ・7トするとともに、時刻レジスタW中の10秒カ
ウンタ(不図示)に1を加算する(i6)。そして、1
0秒カウンタが6をカウントしたかどうか、すなわち1
分経過したかどうかを見て(i7)、1分経過しておれ
ば10秒カウンタをリセットするとともに、時刻レジス
タW中の分カウンタ(不図示)に1を加算しくi e)
、その後に他の計時処理を行う(19)。
The above timing process (h heat is specifically shown in FIG. 13. First 1
It checks whether or not there is a clock signal every 16 seconds.
(12). Then, it is determined whether this 1716 second counter has reached 16, that is, whether 1 second has elapsed. If 1 second has elapsed, the above 1/16 second counter is reset, and the above time register is 1 is added to the second counter (not shown) in W (i4). Next, the second counter reads 10.
i5), and if 10 seconds have elapsed, reset the second counter and set 1 to the 10 second counter (not shown) in the time register W. Add (i6). And 1
Whether the 0 second counter has counted 6, i.e. 1
Check whether a minute has passed (i7), and if one minute has passed, reset the 10 second counter and add 1 to the minute counter (not shown) in the time register W.
, and then performs other time measurement processing (19).

第12図に示したモード検出処理(h2)心よび表示処
理(h3)を具体的に第14図およず第15図に示す。
The mode detection processing (h2), centering and display processing (h3) shown in FIG. 12 are specifically shown in FIGS. 14 and 15.

第14図において、まず電子キー操作モードフラグMが
1かどうかを判断しくj +) 、M≠1の場合は時刻
表示を行う(j2)。この時刻表示は、第13図に示し
た計時処理によって時刻レジスフWに書込まれた時刻デ
ータを一旦表示しジスタXに書込んだ後に表示部2に表
示することにより行う。第17図(alにその表示例を
示す。
In FIG. 14, it is first determined whether the electronic key operation mode flag M is 1 (j+), and if M≠1, the time is displayed (j2). This time display is performed by displaying the time data written in the time register W by the time counting process shown in FIG. An example of the display is shown in FIG. 17 (al).

上記ステップj1においてM=1の場合、パスデータ入
力モードフラグNが1かどうかを判断しくj ]) 、
N=1の場合はパスデータ設定フラグLが1かどうか、
すなわちパスデータが設定済みであるかどうかを判断す
る(j4)。L=1であれば、パスデータの入力処理を
行い(j5)、設定されているパスデータと入力された
パスデータとが一致するかを判断する(j6)。一致し
た場合は、パスデータ入力モードフラグNをOにすると
ともに、モード選択フラグOに1を設定して(j ?)
 、モード選択モードm6に切り換え、モード選択表示
を行う(j8)。この表示例を第17図(d)に示す。
If M=1 in step j1 above, it is determined whether the path data input mode flag N is 1 or not.
If N=1, check whether the path data setting flag L is 1 or not.
That is, it is determined whether the path data has been set (j4). If L=1, input processing of path data is performed (j5), and it is determined whether the set path data and the inputted path data match (j6). If they match, set the pass data input mode flag N to O and set the mode selection flag O to 1 (j?).
, switches to mode selection mode m6 and displays mode selection (j8). An example of this display is shown in FIG. 17(d).

一方、ステップj6において不一致の場合は、エラー処
理を行い(j9)、エラー表示モードm5に切り換えて
エラー表示を行う (j + o)。
On the other hand, if there is a mismatch in step j6, error processing is performed (j9), and the error display mode is switched to m5 to display an error (j+o).

ステップj4においてL≠1の場合は、Nを0にして(
jll)、パスデータ設定モードm4に切り換えてパス
データ設定表示を行う(j + 2)。
If L≠1 in step j4, set N to 0 (
jll), switches to the pass data setting mode m4 and displays the pass data setting (j+2).

ステップj3においてN≠1の場合は、L=1かどうか
を判断しくj I 3) 、L≠1であればバスデータ
設定モードm4にあたるので、パスデータの設定処理を
行うとともにLに1を設定する(j’+a)。そして、
この設定されたパスデータを表示する(j+ 2)。
If N≠1 in step j3, judge whether L=1 or not. If L≠1, it corresponds to bus data setting mode m4, so perform path data setting processing and set L to 1. (j'+a). and,
This set path data is displayed (j+2).

ステ、プj+3においてL=1の場合は、モード選択フ
ラグ0が1かどうかを判断しくj + 5)、0=1の
場合はモード選択表示を行う(j+6)。
If L=1 in step j+3, it is determined whether the mode selection flag 0 is 1 (j+5), and if 0=1, a mode selection display is performed (j+6).

この表示例を第17図(dlに示す。An example of this display is shown in FIG. 17 (dl).

ステップj+5においてO≠1であれば、パスデータ変
更モードフラグPが1かどうかを判断する(j l 7
)。P=1であればパスデータの変更処理を行い(J 
+ [1) 、変更されたパスデータを表示する(j 
l 9)。
If O≠1 in step j+5, it is determined whether the path data change mode flag P is 1 (j l 7
). If P=1, perform path data change processing (J
+ [1), Display the changed path data (j
l9).

ステップj17においてP≠1の場合は、第15図にお
いて項目・コード変更設定フラグQが1かどうかを判断
する(k+)。Q=1の場合は、項目および暗号コード
の変更設定処理を行い(k2)、変更設定された項目お
よび暗号コードの表示を行う(k3)。
If P≠1 in step j17, it is determined whether the item/code change setting flag Q is 1 in FIG. 15 (k+). If Q=1, the item and encryption code are changed and set (k2), and the changed items and encryption code are displayed (k3).

ステップに1においてQ≠1であれば、項目入力モード
フラグRが1かどうかを判断しくk4)、R=1であれ
ば項目の入力処理を行う(k5)。
If Q≠1 in step 1, it is determined whether the item input mode flag R is 1 (k4), and if R=1, the item input process is performed (k5).

この処理は、入力された項目データを表示レジスフXに
書込むことにより行われる。次に、表示レジスタXに書
込まれた項目を表示す°る(k6)。
This process is performed by writing the input item data to the display register X. Next, the items written in the display register X are displayed (k6).

その表示例を第17図(e)に示す。同図においては、
宝石箱を示すrJEWELJという項目が入力されてい
る。
An example of the display is shown in FIG. 17(e). In the same figure,
An item rJEWELJ indicating a jewelry box has been input.

ステップに4においてR≠1であれば、コード出力中モ
ードフラグSが1かどうかを判断する(k))。S=1
の場合は、ステップに5で入力された項目と対応する。
If R≠1 in step 4, it is determined whether the code outputting mode flag S is 1 (k)). S=1
In the case of , it corresponds to the item input in step 5.

暗号コードを第3図に示した変換回路29に出力して、
LED4を駆動する処理を行う(k6)。そして、暗号
コードの出力が終了したかどうかを判断しくkg)、ま
だ出力中であれば、第17図(f)に示すように点滅に
より出力中表示を行う(k+o)。上記暗号コードは第
3図に示したLED4から光信号として出力され、宝石
箱10のフォトダイオード31によって受信される。デ
ィジタルスイッチ14の番号と暗号コードとが一致して
いれば、ロックが解除される。ステップに9においてコ
ード出力が終了した場合は、コード出力中モードフラグ
Sを0にするとともに項目入力モードフラグRに1を設
定しくk++)、項目入力表示を行う(k6)。
Outputting the encryption code to the conversion circuit 29 shown in FIG.
Processing for driving the LED 4 is performed (k6). Then, it is determined whether the output of the cipher code has been completed or not (k+o), and if it is still being output, a blinking display is performed as shown in FIG. 17(f) (k+o). The encryption code is output as an optical signal from the LED 4 shown in FIG. 3, and is received by the photodiode 31 of the jewelry box 10. If the number on the digital switch 14 and the encryption code match, the lock is released. If the code output is completed in step 9, the code output mode flag S is set to 0 and the item input mode flag R is set to 1 (k++), and item input display is performed (k6).

ステップに7においてS≠1であれば、すなわち時刻表
示モードm1から電子キーモードm2に切り換わったば
かりの状態である。この場合には、第4図に示したタイ
マTによりタイマ処理が行われ(k12)、2秒経過し
たかどうかが判断される(k13)。2秒経過前であれ
ば、第17図(b)に示すような電子キーモード表示を
行う (k+a)一方、2秒経過した場合はタイマTを
リセットするとともに、パスデータ入力モードフラグN
にlを設定しくk+a)、パスデータの入力表示を行う
(k+s)。この表示例を第17図(C)に示す。
If S≠1 in step 7, it means that the time display mode m1 has just been switched to the electronic key mode m2. In this case, timer processing is performed by the timer T shown in FIG. 4 (k12), and it is determined whether two seconds have elapsed (k13). If 2 seconds have not elapsed, the electronic key mode display as shown in FIG.
Set l to k+a) and input and display the path data (k+s). An example of this display is shown in FIG. 17(C).

同図では、roollJというパスデータを入力したと
ころである。
In the figure, path data called rollJ has been input.

次に上述したキーS+”Saの操作に基づく表示モード
の変化を第16図で再度説明する。
Next, changes in the display mode based on the operation of the keys S+"Sa mentioned above will be explained again with reference to FIG. 16.

まず、時刻表示モードm1の状態では、前述したように
第17図(alのような時刻表示が行われている。そこ
で、電子キー操作を行う場合は、この状態でキーS1を
押す。すると、電子キーモードm2に切り換わり、第1
7図(b)のような電子キー表示が行われる。
First, in the state of time display mode m1, the time is displayed as shown in FIG. Switches to electronic key mode m2, and
An electronic key display as shown in FIG. 7(b) is performed.

電気キーモードm2に切り換ってから2秒経過すると、
パスデータ入力モードm3に切り換わる。
2 seconds after switching to electric key mode m2,
Switches to pass data input mode m3.

この状態でパスデータ、例えばrOOllJを入力する
と、第17図(C)に示すような入力表示が行われる。
When path data, for example rOOllJ, is input in this state, an input display as shown in FIG. 17(C) is performed.

ここで、この入力されたパスデータと予め設定されてい
るパスデータとが一致した場合にだけモード選択モード
m6に切り換わり、電子キー操作を行うことができる。
Here, only when the input pass data matches the preset pass data, the mode is switched to mode selection mode m6, and electronic key operations can be performed.

もし不一致の場合はエラー表示モードm5に切り換って
、エラー表示が行われる。その後1秒経過すると、再び
パスデータ入力モードm3に切り換わるが、3回エラー
があった場合は時刻表示モードm1に戻ってしまう。こ
のように、設定されているパスデータを知らない者は、
電子キー操作、すなわち暗号コードの出力、項目および
lllf号コードの変更設定、パスデータの変更等を行
うことができない。なお、パスデータが未設定であった
場合は、パスデータ設定モードm4に切り換わるので、
この状態でパスデータを任意に設定してからキー83を
押せば、バスデータ入力モードm3になる。
If they do not match, the mode is switched to error display mode m5 and an error display is performed. After one second has passed, the mode switches again to the pass data input mode m3, but if an error occurs three times, the mode returns to the time display mode m1. In this way, those who do not know the set pass data,
It is not possible to perform electronic key operations, ie, output encryption codes, change settings of items and LLLF code, change pass data, etc. Note that if the pass data has not been set, the mode will switch to pass data setting mode m4, so
In this state, if the key 83 is pressed after setting the path data arbitrarily, the bus data input mode m3 is entered.

パスデータが一致してモード選択モードm6に切り換わ
ると、第17図(d)のような表示が行われる。そこで
もし、電子錠のロックを解除したい場合は、キーS5を
押す。すると項目入力モードm7に切り換わる。この状
態で、所望の電子錠に相当する項目、例えば宝石箱の場
合はrJEWEL」を入力すると、その入力表示が第1
7図(e)のように行われる。その暗号コードを出力し
たい場合は、例えば第1図中のLED4の光出力方向を
第2図中の鍵穴15に向けて、キーSaを押すだけでよ
い。すると、暗号コードの出力中はコード出力中モード
mθに切り換わり、第17図mのうに点滅表示が行われ
る。暗号コードの出力が終了すると、再度項目入力モー
ドm7に切り換わる。
When the path data match and the mode is switched to mode selection mode m6, a display as shown in FIG. 17(d) is displayed. If the user wishes to unlock the electronic lock, press the key S5. Then, the mode switches to item input mode m7. In this state, if you input an item corresponding to the desired electronic lock, for example, rJEWEL for a jewelry box, the input display will change to the first
This is done as shown in Figure 7(e). If you wish to output the encryption code, all you have to do is, for example, point the light output direction of the LED 4 in FIG. 1 toward the keyhole 15 in FIG. 2 and press the key Sa. Then, while the encryption code is being output, the mode is switched to the code outputting mode mθ, and a blinking display is performed as shown in FIG. 17m. When the output of the encryption code is completed, the mode is switched to item input mode m7 again.

このように、暗号コードを電子錠に対して出力したい場
合は、その場でわざわざ暗号コードを入力する必要はな
く、所望の電子錠の項目を入力するだけでよい。
In this way, when it is desired to output an encryption code to an electronic lock, there is no need to take the trouble to enter the encryption code on the spot, and it is only necessary to input the desired electronic lock items.

項目および暗号コードを変更もしくは設定したい場合は
、モード選択モードm6においてキーS1を押す。する
と、項目・コード変更設定モードm1oに切り換わり、
この状態で項目および暗号コードの変更もしくは設定を
行うことができる。
If you wish to change or set an item or code, press key S1 in mode selection mode m6. Then, it switches to item/code change setting mode m1o,
In this state, items and encryption codes can be changed or set.

キーS6を押すごとに、順次項目および暗号コードが切
り換わっていく。もう一度キー81を押せば、モード選
択モードm6に戻る。
Each time the key S6 is pressed, the items and code are sequentially switched. If the key 81 is pressed again, the mode returns to mode selection mode m6.

パスデータを変更したい場合は、モード選択モードm6
においてキー82を押す。すると、バスデータ変更モー
ドm9に切り換わるので、この状態でパスデータを変更
することができる。モード選択モードrrzに戻したい
場合は、もう一度キー82を押せばよい。
If you want to change the pass data, select mode selection mode m6
key 82 is pressed. Then, the mode switches to the bus data change mode m9, so the path data can be changed in this state. If you want to return to the mode selection mode rrz, just press the key 82 again.

電子キー操作モードmo、ずなわち電子キー操作に関係
する各モードm2〜m1θから時刻表示モードm)に切
り換えたい場合は、キー81を押す。
If it is desired to switch from the electronic key operation mode mo, that is, each mode m2 to m1θ related to electronic key operation, to the time display mode m), the key 81 is pressed.

なお、本発明が通用されるのは上述した腕時計に限られ
ず、ポケットタイプの小型計算機や、その他身に着ける
ようなものであってもよい。また上記実施例では、電子
錠装置として宝石箱を示したが、これに限られることは
全くなく、例えば家、オフィス、車のドア等に組込まれ
た電子錠に対しても通用できる。
Note that the present invention is applicable not only to the above-mentioned wristwatch, but also to pocket-type small calculators and other items that can be worn on the body. Further, in the above embodiment, a jewelry box is shown as the electronic lock device, but the present invention is not limited to this at all, and can also be applied to electronic locks built into the doors of houses, offices, cars, etc., for example.

また、上述したRAMは不揮発性メモリ、特にはEEP
ROMであることが望ましい。このようにすれば、腕時
計等の電池が切れた場合であっても、暗号コードが消え
てしまうことがなくなる。
In addition, the RAM mentioned above is a non-volatile memory, especially an EEP
Preferably, it is a ROM. In this way, even if the battery of a wristwatch or the like runs out, the encryption code will not be lost.

さらに、暗号コードを送出するための媒体としては、L
EDによる光でなく、電波、音波等であってもよい。
Furthermore, as a medium for transmitting the encryption code, L
Instead of light from the ED, radio waves, sound waves, etc. may be used.

また、前記項目は、フルネームを使用してもよいが、頭
文字のみ、または頭文字より2〜3字のみであってもよ
い。項目指定も、1つのスイッチで!1石次指定できる
ようにしてもよい。
Further, the item may use the full name, but may also include only the initial letter or only 2 to 3 letters from the initial letter. You can also specify items with just one switch! It may be possible to specify the number of stones.

さらにまた、パスデータも上述したような番号に限られ
ることはなく、例えば所定のキーの操作回数や操作時間
、あるいは各[操作用のキーの組合せ、または音声認識
機能を組込んで特定の声や言葉を認識できるようにした
ものであってもよい。
Furthermore, the pass data is not limited to the above-mentioned numbers; for example, the number of times a predetermined key is operated, the operation time, or the combination of keys for each operation, or a specific voice by incorporating a voice recognition function. It may also be one that allows recognition of words.

〔発明の効果〕− 以上説明したように本発明によれば、各電子錠をそれら
に対応した暗号コードを出力することで開閉できるよう
にしたことにより、この装置11固で多数の錠に対応で
きるため携帯に便利であり、かつ多数のキー(鍵)やカ
ードを持ち歩く必要がなくなったため、紛失したり置き
忘れたりする心配がほとんどなくなる。又、パスデータ
が一致したときのみ暗号コードの設定、変更または出方
を可能にしているため、このパスデータを知らない者は
操作できず、従って紛失した場合でも、他人によって暗
号コードの設定、変更または出力が行われるのを防止で
きるため、保安および防犯機能に非常に優れている。
[Effects of the Invention] - As explained above, according to the present invention, each electronic lock can be opened and closed by outputting the corresponding code code, so that this device 11 can be used with a large number of locks. This makes it convenient to carry around, and since there is no need to carry around multiple keys or cards, there is almost no need to worry about losing or misplacing them. In addition, since the encryption code can only be set, changed, or generated when the pass data matches, a person who does not know the pass data cannot operate it. It has excellent security and crime prevention functions because it can prevent changes or output from being made.

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

第1図は本発明の一実施例を示す外観斜視図、第2図は
同実施例によりロック機構が解除される宝石箱の外観斜
視図、 第3図は同実施例および第2図に示した宝石箱の回路構
成を示す回路図、 第4図は第3図に示したRAMの内部構成を示す図、 第5図〜第15図は同実施例の処理動作を示すフローチ
ャート、 第16図は同実施例におけるキー操作に伴う表示モード
の変化を示す図、 第17fal〜(「)は同実施例における各表示例を示
す図である。 4・・・LED。 21 ・ ・ ・ ROM。 23・・・RAM、 29・・・変換回路、 Y・・・項目記憶レジスタ、 Z・・・暗号コード記憶レジスタ、 ■(・・・パスデータ記憶レジスタ、 ■、・・・パスデータ設定フラグ、 M・・・電子キー操作モードフラグ、 N・・・パスデータ入力モードフラグ、0・・・モード
選択フラグ、 P・・・パスデータ変更モードフラグ、Q・・・項目・
コード変更設定フラグ、R・・・項目入力モードフラグ
、 S・・・コード出力中モードフラグ。 特許 出願人  カシオ計算機株式会社RAM星 ブ 第4図 第5図 S+ 第7図 第10図 第13図 ((り              (d)第17図
Fig. 1 is an external perspective view showing one embodiment of the present invention, Fig. 2 is an external perspective view of a jewelry box whose locking mechanism is released according to the same embodiment, and Fig. 3 is an external perspective view showing the same embodiment and Fig. 2. FIG. 4 is a diagram showing the internal structure of the RAM shown in FIG. 3; FIGS. 5 to 15 are flow charts showing the processing operations of the same embodiment; FIG. 17 is a diagram showing a change in display mode due to a key operation in the same embodiment, and 17th fal to (') are diagrams showing each display example in the same embodiment. 4... LED. 21 . . . ROM. 23 ...RAM, 29...conversion circuit, Y...item storage register, Z...cipher code storage register, ■(...pass data storage register, ■,...pass data setting flag, M ...Electronic key operation mode flag, N...Pass data input mode flag, 0...Mode selection flag, P...Pass data change mode flag, Q...Item...
Code change setting flag, R...Item input mode flag, S...Code output mode flag. Patent Applicant Casio Computer Co., Ltd. RAM Hoshibu Figure 4 Figure 5 S+ Figure 7 Figure 10 Figure 13

Claims (6)

【特許請求の範囲】[Claims] (1)電子錠のロックを解除するための少なくとも1つ
の暗号コードを記憶する暗号コード記憶手段と、 任意のパスデータを予め記憶するパスデータ記憶手段と
、 任意のパスデータを入力するパスデータ入力手段と、 該パスデータ入力手段で入力されたパスデータと前記パ
スデータ記憶手段に記憶されたパスデータとの一致を検
出する一致検出手段と、 該一致検出手段によって一致が検出された場合に前記暗
号コードを前記電子錠に対して送出する暗号コード送出
手段とを具備することを特徴とする電子キー装置。
(1) Encrypted code storage means for storing at least one encrypted code for unlocking the electronic lock; Pass data storage means for storing arbitrary pass data in advance; Pass data input for inputting arbitrary pass data. means, a match detecting means for detecting a match between the pass data input by the pass data input means and the pass data stored in the pass data storage means; An electronic key device comprising: cryptographic code sending means for transmitting a cryptographic code to the electronic lock.
(2)前記暗号コード送出手段はLEDを備え、該LE
Dから前記暗号コードを光信号として送出することを特
徴とする特許請求の範囲第1項記載の電子キー装置。
(2) The encryption code sending means includes an LED, and the LE
2. The electronic key device according to claim 1, wherein the cryptographic code is sent from D as an optical signal.
(3)前記暗号コード記憶手段は不揮発性メモリである
ことを特徴とする特許請求の範囲第1項または第2項記
載の電子キー装置。
(3) The electronic key device according to claim 1 or 2, wherein the encryption code storage means is a nonvolatile memory.
(4)電子錠のロックを解除するための少なくとも1つ
の暗号コードを記憶する暗号コード記憶手段と、 任意のパスデータを予め記憶するパスデータ記憶手段と
、 任意のパスデータを入力するパスデータ入力手段と、 該パスデータ入力手段で入力されたパスデータと前記パ
スデータ記憶手段に記憶されたパスデータとの一致を検
出する一致検出手段と、 該一致検出手段によって一致が検出された場合に前記暗
号コード記憶手段への前記暗号コードの設定または変更
を可能にする手段と、 前記暗号コードを前記電子錠に対して送出するための暗
号コード送出手段とを具備することを特徴とする電子キ
ー装置。
(4) Encrypted code storage means that stores at least one encrypted code for unlocking the electronic lock; Pass data storage means that stores arbitrary pass data in advance; Pass data input that inputs arbitrary pass data. means, a match detecting means for detecting a match between the pass data input by the pass data input means and the pass data stored in the pass data storage means; An electronic key device comprising: means for enabling setting or changing of the cryptographic code in a cryptographic code storage means; and cryptographic code sending means for transmitting the cryptographic code to the electronic lock. .
(5)前記暗号コード送出手段はLEDを備え、該LE
Dから前記暗号コードを光信号として送出することを特
徴とする特許請求の範囲第4項記載の電子キー装置。
(5) The encryption code sending means includes an LED, and the cipher code sending means includes an LED.
5. The electronic key device according to claim 4, wherein the cryptographic code is sent from D as an optical signal.
(6)前記暗号コード記憶手段は不揮発性メモリである
ことを特徴とする特許請求の範囲第4項または第5項記
載の電子キー装置。
(6) The electronic key device according to claim 4 or 5, wherein the encryption code storage means is a nonvolatile memory.
JP60217344A 1985-09-30 1985-09-30 Electronic key device Expired - Lifetime JPH073134B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60217344A JPH073134B2 (en) 1985-09-30 1985-09-30 Electronic key device
US06/910,649 US4786900A (en) 1985-09-30 1986-09-23 Electronic key apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60217344A JPH073134B2 (en) 1985-09-30 1985-09-30 Electronic key device

Publications (2)

Publication Number Publication Date
JPS6278381A true JPS6278381A (en) 1987-04-10
JPH073134B2 JPH073134B2 (en) 1995-01-18

Family

ID=16702705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60217344A Expired - Lifetime JPH073134B2 (en) 1985-09-30 1985-09-30 Electronic key device

Country Status (1)

Country Link
JP (1) JPH073134B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5852073A (en) * 1981-09-08 1983-03-28 石川島播磨重工業株式会社 Vent device for floating roof of tank

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5852073A (en) * 1981-09-08 1983-03-28 石川島播磨重工業株式会社 Vent device for floating roof of tank

Also Published As

Publication number Publication date
JPH073134B2 (en) 1995-01-18

Similar Documents

Publication Publication Date Title
US4786900A (en) Electronic key apparatus
CA1122682A (en) Tap-actuated lock and method of actuating the lock
EP0311112A2 (en) Remote control transmitting/receiving system
JPS6278381A (en) Electronic key apparatus
JPS6278380A (en) Electronic key apparatus
JPS6294679A (en) Electronic key apparatus
JPS6294678A (en) Electronic key apparatus
JPS6276482A (en) Electronic timepiece with electronic key function
JPH0658023B2 (en) Electronic key device
JPS6290481A (en) Electronic key apparatus
JPS6290480A (en) Electronic key apparatus
WO1989001673A1 (en) Recording locks
KR970005637B1 (en) Remote control self response type electronic opening system
JPS62107181A (en) Electronic key device
JPH07962B2 (en) Electronic lock device
JPS61266783A (en) Electric lock apparatus
JPS6290483A (en) Electronic lock apparatus
JPH0332116B2 (en)
JPH07247745A (en) Electronic lock
JPH0448297Y2 (en)
JPS6016680A (en) Infrared ray type unlocking apparatus of electric lock
JPH053648Y2 (en)
JPH0127475B2 (en)
JPH04143386A (en) Electronic key device
JPH04120383A (en) Electric latch system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term