Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH073133B2 - Electronic key device - Google Patents
[go: Go Back, main page]

JPH073133B2 - Electronic key device - Google Patents

Electronic key device

Info

Publication number
JPH073133B2
JPH073133B2 JP21734385A JP21734385A JPH073133B2 JP H073133 B2 JPH073133 B2 JP H073133B2 JP 21734385 A JP21734385 A JP 21734385A JP 21734385 A JP21734385 A JP 21734385A JP H073133 B2 JPH073133 B2 JP H073133B2
Authority
JP
Japan
Prior art keywords
mode
item
encryption code
key
path data
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.)
Expired - Lifetime
Application number
JP21734385A
Other languages
Japanese (ja)
Other versions
JPS6278380A (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 JP21734385A priority Critical patent/JPH073133B2/en
Publication of JPS6278380A publication Critical patent/JPS6278380A/en
Publication of JPH073133B2 publication Critical patent/JPH073133B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電波、光、超音波等を利用して非接触的に錠
を開閉する電子キー装置に関する。
Description: TECHNICAL FIELD The present invention relates to an electronic key device that opens and closes a lock in a contactless manner by using radio waves, light, ultrasonic waves, or the like.

〔従来の技術〕[Conventional technology]

従来、建物や部屋の戸や門扉、車のドア、金庫や机、ロ
ッカー等の扉や蓋、引出し等の保安装置として、機械式
による錠とキー(鍵)によるロック機構を備えたものが
ある。これは、錠内の形状的凹凸や、ピンやシリンダの
長さや位置或いはそれらの有無等の機械的情報の組み合
わせと、キーの形状的凹凸や長さや位置、或いはそれら
の有無等の機械的情報の組み合わせとを、機械的或いは
力学的に照合して、一致したときにだけロック機構が解
除されて、錠が開くようにしたものである。
Conventionally, as a safety device such as a door or a gate of a building or a room, a door of a car, a door or a lid of a safe or a desk or a locker, or a drawer, there is a device having a mechanical lock and a lock mechanism by a key. . This is a combination of mechanical information such as the geometrical irregularity in the lock, the length and position of the pin or cylinder, or the presence or absence thereof, and the mechanical information such as the geometrical irregularity, length or position of the key, or the presence or absence thereof. The combination is mechanically or mechanically compared with each other, and only when they match, the lock mechanism is released and the lock is opened.

また近来、上記の錠とキーとによる機械的ロック機構の
代わりに、電子式制御によるロック装置が開発されてい
る。このようなロック装置としては、例えば錠側に複数
の数字ボタンを備え、所定の番号と対応するボタンを押
すことにより、電気的信号(例えば、電圧の高低、電流
の大小、あるいはオン・オフ等)による電子的情報
(「1」、「0」)を入力し、キー無しで電子的に開閉
しようとするものがある。また、無線電波等を使用した
リモートコントロールにより、遠方から非接触的に開閉
可能な装置や、暗号コードを磁気テープに記録した磁気
ストライプカードを利用した装置等も知られている。
Recently, electronically controlled locking devices have been developed in place of the mechanical locking mechanism using the lock and key described above. As such a lock device, for example, a plurality of numeric buttons are provided on the lock side, and by pressing a button corresponding to a predetermined number, an electrical signal (for example, high or low voltage, high or low current, on / off, etc.) ), The electronic information (“1”, “0”) is input, and there is an electronic device that attempts to open and close electronically without a key. Also known are devices that can be opened and closed in a contactless manner from a distance by remote control using radio waves, and devices that use a magnetic stripe card in which an encryption code is recorded on a magnetic tape.

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

上記従来の装置において、機械的な照合手段を用いたも
のでは、キーを複製あるいは擬造することが極めて容易
である。また、各々の錠ごとにキーが必要となるため、
たくさんのキーを持ち歩く必要が生じる。さらに、各錠
の開閉を全て手作業で実行する必要がある等、操作、運
用上、あるいは保安上多くの問題点があった。そしてま
た、錠を変更する場合はキーをも全て交換する必要があ
り、さらには統合あるいは集中制御しにくい等、互換性
やシステム化上でも問題があった。
In the above-mentioned conventional device using a mechanical collating means, it is extremely easy to duplicate or forge a key. Also, since a key is required for each lock,
It will be necessary to carry many keys. Further, there are many problems in terms of operation, operation, and security, such as the need to open and close each lock manually. Further, when changing the lock, it is necessary to replace all the keys, and it is difficult to perform integration or centralized control, and there is a problem in compatibility and systematization.

一方、電子式制御による装置においても、上述した数字
ボタンを備えたものでは、各々の錠ごとに入力すべき番
号を覚えておかなければならず、錠が複数ある場合には
それらの番号を忘れてしまい易いという欠点がある。リ
モートコントロールを利用した装置では、リモートコン
トロール装置を各錠ごとに用意しなければならないた
め、これらを多数持ち歩く必要があり、紛失する危険が
多くなる。磁気ストライプカードを利用した装置におい
ても、このカードを各錠と対応させて多数持ち歩く必要
があり、紛失し易いという問題がある。更にこれらの装
置では、錠を開けるための暗号コードが固定されている
ため、保安上の問題がある。
On the other hand, even in the electronically controlled device having the above-mentioned number buttons, it is necessary to remember the number to be input for each lock, and forget the numbers when there are multiple locks. There is a drawback that it is easy to get it. In a device using a remote control, since a remote control device must be prepared for each lock, it is necessary to carry a large number of these and there is a high risk of loss. Even in a device using a magnetic stripe card, it is necessary to carry a large number of these cards in association with each lock, and there is a problem that they are easily lost. Further, these devices have a security problem because the encryption code for opening the lock is fixed.

〔発明の目的〕[Object of the Invention]

本発明は、上記従来の問題点に鑑み、多数の錠に対して
1個で対応でき、かつ保安および防犯機能に優れた電子
キー装置を提供することを目的とする。
In view of the above-mentioned conventional problems, it is an object of the present invention to provide an electronic key device which can deal with a large number of locks with one lock and which has excellent security and crime prevention functions.

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

本発明は上記目的を達成するために、電子錠のロックを
解除するための暗号コードを各電子錠と対応した項目と
ともに記憶でき、入力したパスデータが一致した時にの
み、指定した項目と対応する暗号コードを出力できるよ
うにしたものである。
In order to achieve the above object, the present invention can store an encryption code for unlocking an electronic lock together with an item corresponding to each electronic lock, and corresponds to a specified item only when input path data match. The encryption code can be output.

〔発明の実施例〕Example of Invention

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

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

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

さらに、蓋体12の内側には、4個のダイヤルを回転させ
て数字を合わせるディジタルスイッチ14が取り付けら
れ、上記のロック機構に電気的に接続されている。この
ディジタルスイッチ14で設定された番号(第2図では
「0425」)に相当する光信号が第1図の腕時計のLED4か
ら出力され、錠穴15を介して受光された場合、あるいは
所定のキー(鍵)によってのみ、上記のロック機構が解
除されるようになっている。
Further, a digital switch 14 for rotating the four dials to adjust the numbers is attached to the inside of the lid 12, and is electrically connected to the lock mechanism. When an optical signal corresponding to the number (“0425” in FIG. 2) set by the digital switch 14 is output from the LED 4 of the wristwatch in FIG. 1 and received through the lock hole 15, or when a predetermined key is pressed. The above lock mechanism can be released only by the (key).

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

まず、時計本体1について説明する。ROM21は、全体の
システムをコントロールするプログラムやデータを内蔵
している固定メモリである。アドレス制御部22は、プロ
グラムの流れを測定するROM21のアドレス部であり、ROM
21、演算部25および分周回路27の出力が入力されてい
る。RAM23は、ROM21で指定されたアドレスに記憶されて
いるデータを演算部25および変換回路29に出力し、また
演算部25で処理および加工された結果を入力して記憶す
るメモリである。インストラクションデコーダ24は、RO
M21の出力をデコードして、各ブロックにコントロール
信号を送るブロックである。演算部25は、ROM21および
キー入力部28の指示に基づき、RAM23内のデータを用い
て演算を行い、その結果をROM21によって指定されたRAM
23のアドレスに書込み、また表示部2に表示する。この
表示部2は、第1図に示したものと同一である。発振器
26は一定周期のクロック信号を出力し、分周回路27は上
記クロック信号を所定周波数まで分周して例えば1/16秒
毎の計時クロック信号をアドレス制御部22へ出力する。
キー入力部28は、各々の処理動作をシステムに指示する
ための信号を外部から送るブロックであり、第1図に示
したキーS1、S2、S3およびキー群3aを含んでいる。
First, the watch body 1 will be described. The ROM 21 is a fixed memory that contains programs and data that control the entire system. The address control unit 22 is an address unit of the ROM 21 that measures the flow of the program.
The outputs of 21, the calculation unit 25, and the frequency dividing circuit 27 are input. The RAM 23 is a memory that outputs the data stored at the address specified by the ROM 21 to the arithmetic unit 25 and the conversion circuit 29, and inputs and stores the result processed and processed by the arithmetic unit 25. Instruction decoder 24 is RO
This block decodes the output of M21 and sends control signals to each block. The arithmetic unit 25 performs an arithmetic operation using the data in the RAM 23 based on the instructions of the ROM 21 and the key input unit 28, and outputs the result to the RAM designated by the ROM 21.
Write to address 23 and display on display unit 2. The display unit 2 is the same as that shown in FIG. Oscillator
26 outputs a clock signal of a constant cycle, and the frequency dividing circuit 27 divides the clock signal to a predetermined frequency and outputs a clock signal for every 1/16 second to the address control unit 22, for example.
The key input unit 28 is a block for sending a signal for instructing each processing operation to the system from the outside, and includes the keys S 1 , S 2 , S 3 and the key group 3a shown in FIG.

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

次に、宝石箱10の側の回路構成を説明する。フォトダイ
オード31は、上記LED4から光信号を受けてオン、オフす
ることにより、光信号を電気信号に変換する。なお、こ
のフォトダイオード31は、第2図中の鍵穴15の奥部に取
り付けてあり、外部から鍵穴15を介して入ってきた光を
検知できるようになっている。また、フォトダイオード
31の代わりにフォトトランジスタであってもよい。増幅
器32は、フォトダイオード31によって得られた電気信号
を増幅し、その出力の中からローパスフィルタ33が低周
波成分のみを取り出す。変換回路34は、ローパスフィル
タ33の出力信号をディジタル信号(暗号コード)に変換
する。一致検出回路35は、上述したディジタルスイッチ
14で設定された番号と、変換回路34から出力されたディ
ジタル信号(暗号コード)とを比較し、それらの内容が
一致しているときに一致信号を出力する。ロック機構36
は、第2図中の突部13と本体11内の係合部とから構成さ
れ、上記の一致信号を受けると、それらの係合がはず
れ、ロックが解除されるようになっている。
Next, the circuit configuration of the jewelry box 10 side will be described. The photodiode 31 receives an optical signal from the LED 4 and turns on and off to convert the optical signal into an electrical signal. The photodiode 31 is attached to the inner part of the keyhole 15 in FIG. 2 so that light entering from the outside through the keyhole 15 can be detected. Also, the photodiode
A phototransistor may be used instead of 31. The amplifier 32 amplifies the electric signal obtained by the photodiode 31, and the low pass filter 33 extracts only the low frequency component from the output thereof. The conversion circuit 34 converts the output signal of the low-pass filter 33 into a digital signal (encryption code). The coincidence detection circuit 35 is the digital switch described above.
The number set in 14 is compared with the digital signal (encryption code) output from the conversion circuit 34, and when the contents match, a match signal is output. Lock mechanism 36
2 is composed of the protrusion 13 in FIG. 2 and the engaging portion in the main body 11, and when the above-mentioned coincidence signal is received, the engagement is disengaged and the lock is released.

次に、上述したRAM23の内部構成を第4図に示す。同図
において、RAM23は、時刻レジスタW、表示レジスタ
X、項目記憶レジスタY、暗号コード記憶レジスタZ、
パスデータ記憶レジスタH、パスデータ設定フラグL、
電子キー操作モードフラグM、パスデータ入力モードフ
ラグN、モード選択フラグO、パスデータ変更モードフ
ラグP、項目・コード変更設定フラグQ、項目入力モー
ドフラグR、コード出力中モードフラグS、タイマT等
から構成されている。
Next, FIG. 4 shows the internal structure of the RAM 23 described above. In the figure, the RAM 23 includes a time register W, a display register X, an item storage register Y, an encryption code storage register Z,
Pass data storage register H, pass data setting flag L,
Electronic key operation mode flag M, pass data input mode flag N, mode selection flag O, pass data change mode flag P, item / code change setting flag Q, item input mode flag R, code output mode flag S, timer T, etc. It consists of

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

パスデータ設定フラグLは、パスデータ記憶レジスタH
にパスデータが設定されている場合に“1"が設定される
フラグである。電子キー操作モードフラグMは、時刻表
示モード以外の、以下にのべるような電子キー操作に関
する表示モード(電子キー操作モード)の場合“1"が設
定されるフラグである。パスデータ入力モードフラグ
N、モード選択フラグO、パスデータ変更モードフラグ
P、項目・コード変更設定フラグQ、項目入力モードフ
ラグR、コード出力中モードフラグSは、前述した表示
部2の表示モードが、それぞれパスデータ入力モード、
モード選択モード、パスデータ変更モード、項目・コー
ド変更設定モード、項目入力モード、コード出力中モー
ドである場合に“1"が設定されるフラグである。タイマ
Tは、秒刻みで時間を計測するタイマであり、この計測
結果は所定の表示モードの自動的な切り換えを行うため
のタイミングに使用される。
The pass data setting flag L is a pass data storage register H.
This is a flag that is set to "1" when path data is set in. The electronic key operation mode flag M is a flag that is set to "1" in the display modes (electronic key operation mode) other than the time display mode related to the electronic key operation described below. The pass data input mode flag N, the mode selection flag O, the pass data change mode flag P, the item / code change setting flag Q, the item input mode flag R, and the code outputting mode flag S are the same as the display mode of the display unit 2 described above. , Each pass data input mode,
This flag is set to "1" in the mode selection mode, pass data change mode, item / code change setting mode, item input mode, and code output mode. The timer T is a timer that measures time in units of seconds, and the measurement result is used as a timing for automatically switching a predetermined display mode.

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

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

一方、HALT状態(a1)において、第1図に示したように
キーS1〜S6等が押されると、キー処理が行われる
(a3)。このキー処理は、キーが押されることにより、
第3図に示したキー入力部28から出力される信号に基づ
き、ROM21、RAM23等の動作により行われる処理である。
On the other hand, in the HALT state (a 1 ), when the keys S 1 to S 6 etc. are pressed as shown in FIG. 1 , key processing is performed (a 3 ). This key processing, by pressing the key,
This is processing performed by the operation of the ROM 21, RAM 23, etc. based on the signal output from the key input unit 28 shown in FIG.

以下、キーS1〜S6が操作された場合の処理と表示モード
の変化を説明する。
Hereinafter will be described a change in the processing and display mode when the key S 1 to S 6 is operated.

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

上記ステップb1においてM=1の場合、すなわち電子キ
ー操作モード(第16図中のモードm0)の場合は、項目・
コード変更設定フラグQが1であるかどうかを判断し
(b4)、Q=1であれば、すなわち項目・コード変更設
定モード(第16図中のモードm10)であれば、Qに0を
設定するとともに、モード選択フラグOに1を設定し
(b5)、モード選択モード(第16図中のモードm6)に切
り換える。一方、ステップb4においてQ≠1の場合は、
O=1かどうかを判断し(b6)、O=1である場合、す
なわちモード選択モードm6である場合はOに0を設定す
るとともに、Qに1を設定して(b7)、項目・コード変
更設定モードm10に切り換える。また、ステップb6にお
いてO≠1の場合は、Mに0を設定して(b8)、時刻表
示モードm1に切り換える。
If M = 1 in step b 1 , that is, the electronic key operation mode (mode m 0 in FIG. 16),
It is judged whether or not the code change setting flag Q is 1 (b 4 ), and if Q = 1, that is, if it is the item / code change setting mode (mode m 10 in FIG. 16), Q is 0. And the mode selection flag O is set to 1 (b 5 ), and the mode is switched to the mode selection mode (mode m 6 in FIG. 16). On the other hand, if Q ≠ 1 in step b 4 ,
It is judged whether or not O = 1 (b 6 ), and when O = 1, that is, when the mode selection mode is m 6 , 0 is set to O and 1 is set to Q (b 7 ). Switch to item / code change setting mode m 10 . If O ≠ 1 in step b 6 , M is set to 0 (b 8 ), and the mode is switched to the time display mode m 1 .

キーS2が押された場合の処理を第7図に示す。キーS2
押されると、まず電子キー操作モードフラグMが1かど
うかを判断し(c1)、M≠1の場合は処理を行わず、M
=1の場合にはパスデータ変更モードフラグPが1かど
うかを判断する(c2)。P=1であれば、すなわちパス
データ変更モード(第16図中のモードm9)であればPを
0にするとともに、モード選択フラグOに1を設定し
(c3)、モード選択モードm6に切り換える。一方、ステ
ップC2において、P≠1の場合は、O=1かどうかを判
断し(C4)、O=1の場合はOを0にするとともに、パ
スデータ変更モードフラグPに1を設定し(c5)、パス
データ変更モードm9に切り換える。
The processing when the key S 2 is depressed is shown in Figure 7. When the key S 2 is pressed, it is first determined whether or not the electronic key operation mode flag M is 1 (c 1 ), and if M ≠ 1, the process is not performed and M
When = 1, it is determined whether the pass data change mode flag P is 1 (c 2 ). If P = 1, that is, if it is the pass data change mode (mode m 9 in FIG. 16), P is set to 0 and the mode selection flag O is set to 1 (c 3 ). Switch to 6 . On the other hand, in step C 2 , if P ≠ 1, it is determined whether or not O = 1 (C 4 ), and if O = 1, O is set to 0 and the path data change mode flag P is set to 1. (C 5 ) and switch to pass data change mode m 9 .

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

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

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

キーS5が押された場合の処理を第10図に示す。キーS5
押されると、同様にしてM=1かどうかの判断が行われ
(f1)、M=1の場合には、モード選択フラグOが1で
あるかどうかを判断し(f2)、O=1であれば、すなわ
ちモード選択モードm6である場合はOを0にするととも
に項目入力モードフラグRに1を設定し(f3)、項目入
力モードm7に切り換える。
FIG. 10 shows the processing when the key S 5 is pressed. When the key S 5 is pressed, it is similarly determined whether or not M = 1 (f 1 ), and when M = 1, it is determined whether or not the mode selection flag O is 1 (f 2 ), If O = 1, that is, in the mode selection mode m 6 , O is set to 0 and the item input mode flag R is set to 1 (f 3 ) to switch to the item input mode m 7 .

一方、上記ステップf2においてO≠1の場合は、R=1
であるかどうかを判断し(f4)、R≠1の場合は処理を
おこなわず、またR=1の場合にはRを0にするととも
にOに1を設定し(f5)、モード選択モードm6に切り換
える。
On the other hand, if O ≠ 1 in step f 2 above, R = 1
(F 4 ), if R ≠ 1, no processing is performed. If R = 1, R is set to 0 and O is set to 1 (f 5 ) to select the mode. Switch to mode m 6 .

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

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

上記計時処理(h1)を具体的に第13図に示す。まず1/16
秒ごとの計時クロック信号があるかないかを見ており
(i1)、あった場合に第4図に示したRAM23の時刻レジ
スタW中の1/16秒カウンタ(不図示)に1を加算する
(i2)。そして、この1/16秒カウンタが16をカウントし
たかどうか、すなわち1秒経過したかどうかを判断し
(i3)、1秒経過した場合に上記の1/16秒カウンタをリ
セットするとともに、上記時刻レジスタW中の秒カウン
タ(不図示)に1を加算する(i4)。次に、上記秒カウ
ンタが10をカウントしたかどうか、すなわち10秒経過し
たかどうかを判断し(i5)、10秒経過した場合に上記秒
カウンタをリセットするとともに、時刻レジスタW中の
10秒カウンタ(不図示)に1を加算する(i6)。そし
て、10秒カウンタが6をカウントしたかどうか、すなわ
ち1分経過したかどうかを見て(i7)、1分経過してお
れば10秒カウンタをリセットするとともに、時刻レジス
タW中の分カウンタ(不図示)に1を加算し(i6)、そ
の後に他の計時処理を行う(i9)。
The above timing process (h 1 ) is specifically shown in FIG. First 1/16
Whether or not there is a clock signal for each second is checked (i 1 ), and if there is, a 1/16 is added to the 1/16 second counter (not shown) in the time register W of the RAM 23 shown in FIG. (I 2 ). Then, it is judged whether or not this 1/16 second counter has counted 16, that is, whether 1 second has elapsed (i 3 ), and when 1 second has elapsed, the 1/16 second counter is reset and 1 is added to the second counter (not shown) in the time register W (i 4 ). Next, it is judged whether or not the second counter has counted 10, that is, whether 10 seconds have elapsed (i 5 ), and when 10 seconds have elapsed, the second counter is reset and the time register W
Add 1 to the 10-second counter (not shown) (i 6 ). Then, looking at whether the 10-second counter has counted 6, ie, whether 1 minute has elapsed (i 7 ), if 1 minute has elapsed, the 10-second counter is reset and the minute counter in the time register W is reset. 1 is added to (not shown) (i 6 ), and then another timing process is performed (i 9 ).

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

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

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

一方、ステップj6において不一致の場合は、エラー処理
を行い(j9)、エラー表示モードm5に切り換えてエラー
表示を行う(j10)。ステップj4においてL≠1の場合
は、Nを0にして(j11)、パスデータ設定モードm4
切り換えてパスデータ設定表示を行う(j12)。
On the other hand, if they do not match in step j 6 , error processing is performed (j 9 ), and the error display mode m 5 is switched to and error display is performed (j 10 ). If L ≠ 1 at step j 4 , N is set to 0 (j 11 ), and the mode is switched to the path data setting mode m 4 to display the path data setting (j 12 ).

ステップj3においてN≠1の場合は、L=1かどうかを
判断し〔j13)、L≠1であればパスデータ設定モードm
4にあたるので、パスデータの設定処理を行うとともに
Lに1を設定する(j14)。そして、この設定されたパ
スデータを表示する(j12)。
If N ≠ 1 at step j 3 , it is judged whether L = 1 [j 13 ], and if L ≠ 1, the path data setting mode m
Since it corresponds to 4 , the path data is set and L is set to 1 (j 14 ). Then, the set path data is displayed (j 12 ).

ステップj13においてL=1の場合は、モード選択フラ
グOが1かどうかを判断し(j15)、O=1の場合はモ
ード選択表示を行う(j16)。この表示例を第17図
(d)に示す。
For L = 1 in step j 13, the mode selection flag O is determined whether 1 (j 15), in the case of O = 1 the mode selection display (j 16). An example of this display is shown in FIG. 17 (d).

ステップj15においてO≠1であれば、パスデータ変更
モードフラグPが1かどうかを判断する(j17)。P=
1であればパスデータの変更処理を行い(j18)、変更
されたパスデータを表示する(j19)。
If O ≠ 1 at step j 15 , it is judged whether the pass data change mode flag P is 1 (j 17 ). P =
If it is 1, the path data is changed (j 18 ), and the changed path data is displayed (j 19 ).

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

ステップk1においてQ≠1であれば、項目入力モードフ
ラグRが1かどうかを判断し(k4)、R=1であれば項
目の入力処理を行う(k5)。この処理は、入力された項
目データを表示レジスタXに書込むことにより行われ
る。次に、表示レジスタXに書込まれた項目を表示する
(k6)。その表示例を第17図(e)に示す。同図におい
ては、宝石箱を示す「JEWEL」という項目が入力されて
いる。
If Q ≠ 1 in step k 1 , it is determined whether the item input mode flag R is 1 (k 4 ), and if R = 1, the item input processing is performed (k 5 ). This processing is performed by writing the input item data in the display register X. Next, the item written in the display register X is displayed (k 6 ). The display example is shown in FIG. 17 (e). In the figure, an item "JEWEL" indicating a jewelry box is entered.

ステップk4においてR≠1であれば、コード出力中モー
ドフラグSが1かどうかを判断する(k7)。S=1の場
合は、ステップk5で入力された項目と対応する暗号コー
ドを第3図に示した変換回路29に出力して、LED4を駆動
する処理を行う(k8)。そして、暗号コードの出力が終
了したかどうかを判断し(k9)、まだ出力中であれば、
第17図(f)に示すように点滅により出力中表示を行う
(k10)。上記暗号コードは第3図に示したLED4から光
信号として出力され、宝石箱10のフォトダイオード31に
よって受信される。ディジタルスイッチ14の番号と暗号
コードとが一致していれば、ロックが解除される。ステ
ップk9においてコード出力が終了した場合は、コード出
力中モードフラグSを0にするとともに項目入力モード
フラグRに1を設定し(k11)、項目入力表示を行う(k
6)。
If R ≠ 1 in step k 4 , it is determined whether the code output mode flag S is 1 (k 7 ). When S = 1, the cryptographic code corresponding to the item input in step k 5 is output to the conversion circuit 29 shown in FIG. 3 to perform the process of driving the LED 4 (k 8 ). Then, it is judged whether the output of the cipher code is completed (k 9 ), and if the output is still in progress,
As shown in FIG. 17 (f), the output is displayed by blinking (k 10 ). 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 digital switch 14 number and the encryption code match, the lock is released. If the code output is completed in step k 9, sets 1 to item input mode flag R with a code output in mode flag S to 0 (k 11), performs the item input display (k
6 ).

ステップk7においてS≠1であれば、すなわち時刻表示
モードm1から電子キーモードm2に切り換わったばかりの
状態である。この場合には、第4図に示したタイマTに
よりタイマ処理が行われ(k12)、2秒経過したかどう
かが判断される(k13)。2秒経過前であれば、第17図
(b)に示すような電子キーモード表示を行う
(k14)。一方、2秒経過した場合はタイマTをリセッ
トするとともに、パスデータ入力モードフラグNに1を
設定し(k15)、パスデータの入力表示を行う(k16)。
この表示例を第17図(c)に示す。同図では、「0011」
というパスデータを入力したところである。
If S ≠ 1 at step k 7 , that is, the state has just been switched from the time display mode m 1 to the electronic key mode m 2 . In this case, timer processing shown in FIG. 4 is performed by the timer T (k 12 ), and it is determined whether 2 seconds have elapsed (k 13 ). If 2 seconds have not passed, the electronic key mode display as shown in FIG. 17 (b) is displayed (k 14 ). On the other hand, the case where after two seconds to reset the timer T, 1 is set in the path data input mode flag N (k 15), for inputting display of path data (k 16).
This display example is shown in FIG. 17 (c). In the figure, "0011"
I just entered the path data.

次に上述したキーS1〜S6の操作に基づく表示モードの変
化を第16図で再度説明する。
Next, the change of the display mode based on the operation of the keys S 1 to S 6 described above will be described again with reference to FIG.

まず、時刻表示モードm1の状態では、前述したように第
17図(a)のような時刻表示が行われている。そこで、
電子キー操作を行う場合は、この状態でキーS1を押す。
すると、電子キーモードm2に切り換わり、第17図(b)
のような電子キー表示が行われる。
First, in the state of the time display mode m 1 , as described above,
The time is displayed as shown in Fig. 17 (a). Therefore,
When operating the electronic keys, press key S 1 in this state.
Then, the mode is switched to the electronic key mode m 2, and FIG. 17 (b) is displayed.
The electronic key display such as

電気キーモードm2に切り換ってから2秒経過すると、パ
スデータ入力モードm3に切り換わる。この状態でパスデ
ータ、例えば「0011」を入力すると、第17図(c)に示
すような入力表示が行われる。ここで、この入力された
パスデータと予め設定されているパスデータとが一致し
た場合にだけモード選択モードm6に切り換わり、電子キ
ー操作を行うことができる。もし不一致の場合はエラー
表示モードm5に切り換って、エラー表示が行われる。そ
の後1秒経過すると、再びパスデータ入力モードm3に切
り換わるが、3回エラーがあった場合は時刻表示モード
m1に戻ってしまう。このように、設定されているパスデ
ータを知らない者は、電子キー操作、すなわち暗号コー
ドの出力、項目および暗号コードの変更設定、パスデー
タの変更等を行うことができない。なお、パスデータが
未設定であった場合は、パスデータ設定モードm4に切り
換わるので、この状態でパスデータを任意に設定してか
らキーS3を押せば、パスデータ入力モードm3になる。
Two seconds after switching to the electric key mode m 2 , the mode is switched to the pass data input mode m 3 . When the pass data, for example, "0011" is input in this state, the input display as shown in FIG. 17 (c) is performed. Here, only when the input pass data and the preset pass data match, the mode is switched to the mode selection mode m 6 , and the electronic key operation can be performed. If in the case of disagreement I conversion cut the error display mode m 5, error display is performed. After 1 second has passed, the mode switches to pass data input mode m 3 again, but if there are three errors, time display mode
Return to m 1 . As described above, a person who does not know the set pass data cannot perform the electronic key operation, that is, the output of the encryption code, the setting change of the item and the encryption code, the change of the pass data, and the like. If the pass data has not been set, it will switch to the pass data setting mode m 4 , so if you set the pass data arbitrarily in this state and then press the key S 3 , the pass data input mode m 3 will appear. Become.

パスデータが一致してモード選択モードm6に切り換わる
と、第17図(d)のような表示が行われる。そこでも
し、電子錠のロックを解除したい場合は,キーS5を押
す。すると項目入力モードm7に切り換わる。この状態
で、所望の電子錠に相当する項目、例えば宝石箱の場合
は「JEWEL」を入力すると、その入力表示が第17図
(e)のように行われる。その暗号コードを出力したい
場合は、例えば第1図中のLED4の光出力方向を第2図中
の鍵穴15に向けて、キーS4を押すだけでよい。すると、
暗号コードの出力中はコード出力中モードm8に切り換わ
り、第17図(f)のうに点滅表示が行われる。暗号コー
ドの出力が終了すると、再度項目入力モードm7に切り換
わる。このように、暗号コードを電子錠に対して出力し
たい場合は、その場でわざわざ暗号コードを入力する必
要はなく、所望の電子錠の項目を入力するだけでよい。
When the pass data match and the mode is switched to the mode selection mode m 6 , a display as shown in FIG. 17 (d) is performed. So If you want to unlock the electronic lock, press the key S 5. Then, it switches to item input mode m 7 . In this state, when an item corresponding to a desired electronic lock, for example, "JEWEL" in the case of a jewelry box is input, the input display is performed as shown in Fig. 17 (e). In order to output the code, for example, the light output direction of the LED 4 in FIG. 1 may be directed to the keyhole 15 in FIG. 2 and the key S 4 may be pressed. Then,
In the output of the cipher code is switched to the code output in mode m 8, urchin flashing of Figure No. 17 (f) is performed. When the output of the encryption code is completed, the mode is switched to the item input mode m 7 again. As described above, when it is desired to output the encryption code to the electronic lock, it is not necessary to enter the encryption code on the spot, and only the desired electronic lock item is input.

項目および暗号コードを変更もしくは設定したい場合
は、モード選択モードm6においてキーS1を押す。する
と、項目・コード変更設定モードm10に切り換わり、こ
の状態で項目および暗号コードの変更もしくは設定を行
うことができる。キーS6を押すごとに、順次項目および
暗号コードが切り換わっていく。もう一度キーS1を押せ
ば、モード選択モードm6に戻る。
If you want to change or set the item and encryption code, press the key S 1 in the mode selection mode m 6 . Then, the mode / code change setting mode m 10 is switched to, and the item and the encryption code can be changed or set in this state. Each time you press the key S 6, go switched sequentially item and the encryption code. Press key S 1 again to return to mode selection mode m 6 .

パスデータを変更したい場合は、モード選択モードm6
おいてキーS2を押す。すると、パスデータ変更モードm9
に切り換わるので、この状態でパスデータを変更するこ
とができる。モード選択モードm6に戻したい場合は、も
う一度キーS2を押せばよい。
To change the pass data, press key S 2 in mode selection mode m 6 . Then, pass data change mode m 9
The path data can be changed in this state. If you want to return to the mode selection mode m 6, may press the key again S 2.

電子キー操作モードm0、すなわち電子キー操作に関係す
る各モードm2〜m10から時刻表示モードm1に切り換えた
い場合は、キーS1を押す。
When it is desired to switch from the electronic key operation mode m 0 , that is, the modes m 2 to m 10 related to the electronic key operation to the time display mode m 1 , the key S 1 is pressed.

なお、本発明が適用されるのは上述した腕時計に限られ
ず、ポケットタイプの小型計算機や、その他身に着ける
ようなものであってもよい。また上記実施例では、電子
錠装置として宝石箱を示したが、これに限られることは
全くなく、例えば家、オフィス、車のドア等に組込まれ
た電子錠に対しても適用できる。
The present invention is not limited to the above-described wristwatch, but may be a pocket-type small computer or other wearable device. Further, in the above-mentioned embodiment, the jewelry box is shown as the electronic lock device, but the present invention is not limited to this and can be applied to an electronic lock built in a door of a house, an office, a car or the like.

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

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

また、前記項目は、フルネームを使用してもよいが、頭
文字のみ、または頭文字より2〜3字のみであってもよ
い。項目指定も、1つのスイッチで順次指定できるよう
にしてもよい。
Further, although the full name may be used for the item, only the initial letters or only two to three letters from the initial letters may be used. The items may be sequentially specified with one switch.

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

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、各電子錠をこれら
に対応した項目ごとに暗号コードを出力することで開閉
できるようにしたことにより、この装置1個で多数の錠
に対応できるため携帯に便利であり、かつ多数のキー
(鍵)やカードを持ち歩く必要がないため、紛失したり
置き忘れたりする心配がほとんどなくなる。また、項目
を指定するだけで所望の暗号コードが即座に得られるの
で、誤操作がなく、迅速な操作を行うことができる。更
に、暗号コードを任意に設定、変更可能なので、従来の
ように暗号コードを1つに固定することによる保安上の
問題が解消され、しかも、入力したパスデータが一致し
た時にのみ暗号コードの出力を可能にしたので、パスデ
ータを知らない第三者は暗号コードを出力することがで
きず、従って保安および防犯機能に優れ、非常に実用性
が高い。
As described above, according to the present invention, since each electronic lock can be opened and closed by outputting the encryption code for each item corresponding to these, a single device can handle a large number of locks. It's convenient, and you don't have to carry a lot of keys or cards, so you don't have to worry about losing it or leaving it behind. In addition, a desired encryption code can be immediately obtained only by designating an item, so that a quick operation can be performed without an erroneous operation. Furthermore, since the encryption code can be set and changed arbitrarily, the security problem due to fixing one encryption code as before is solved, and the encryption code is output only when the input path data match. Since a third party who does not know the pass data cannot output the encryption code, the security and crime prevention functions are excellent and the utility is very high.

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

第1図は本発明の一実施例を示す外観斜視図、 第2図は同実施例によりロック機構が解除される宝石箱
の外観斜視図、 第3図は同実施例および第2図に示した宝石箱の回路構
成を示す回路図、 第4図は第3図に示したRAMの内部構成を示す図、 第5図〜第15図は同実施例の処理動作を示すフローチャ
ート、 第16図は同実施例におけるキー操作に伴う表示モードの
変化を示す図、 第17(a)〜(f)は同実施例における各表示例を示す
図である。 4……LED、21……ROM、23……RAM、29……変換回路、
Y……項目記憶レジスタ、Z……暗号コード記憶レジス
タ、H……パスデータ記憶レジスタ、L……パスデータ
設定フラグ、M……電子キー操作モードフラグ、N……
パスデータ入力モードフラグ、O……モード選択フラ
グ、P……パスデータ変更モードフラグ、Q……項目・
コード変更設定フラグ、R……項目入力モードフラグ、
S……コード出力中モードフラグ.
1 is an external perspective view showing an embodiment of the present invention, FIG. 2 is an external perspective view of a jewelry box in which the lock mechanism is released by the same embodiment, and FIG. 3 is shown in the same embodiment and FIG. FIG. 4 is a circuit diagram showing the circuit configuration of the jewelry box, FIG. 4 is a diagram showing the internal configuration of the RAM shown in FIG. 3, and FIGS. 5 to 15 are flowcharts showing the processing operation of the same embodiment. FIG. 17 is a diagram showing a change in display mode associated with a key operation in the same embodiment, and 17 (a) to 17 (f) are diagrams showing respective display examples in the same embodiment. 4 ... LED, 21 ... ROM, 23 ... RAM, 29 ... conversion circuit,
Y ... Item storage register, Z ... Encryption code storage register, H ... Pass data storage register, L ... Pass data setting flag, M ... Electronic key operation mode flag, N ...
Pass data input mode flag, O ... Mode selection flag, P ... Pass data change mode flag, Q ... Item
Code change setting flag, R ... Item input mode flag,
S …… Mode flag during code output.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】各電子錠に対応した項目を記憶する項目記
憶手段と、 該項目記憶手段に記憶されている各項目に対応した電子
錠のロックを解除するための暗号コードを記憶する暗号
コード記憶手段と、 任意のパスデータを予め記憶するパスデータ記憶手段
と、 任意のパスデータを入力するパスデータ入力手段と、 該パスデータ入力手段で入力されたパスデータと前記パ
スデータ記憶手段に記憶されたパスデータとの一致を検
出する一致検出手段と、 前記項目記憶手段に記憶されている項目の中から所望の
項目を指定する項目指定手段と、 前記一致検出手段によって一致が検出された場合にのみ
前記項目指定手段によって指定された項目に対応する暗
号コードを電子錠に対して送出する暗号コード送出手段
とを具備することを特徴とする電子キー装置。
1. An item storage means for storing an item corresponding to each electronic lock, and an encryption code for storing an encryption code for unlocking the electronic lock corresponding to each item stored in the item storage means. Storage means, path data storage means for storing arbitrary path data in advance, path data input means for inputting arbitrary path data, path data input by the path data input means, and storage in the path data storage means Match detection means for detecting a match with the generated path data, item designating means for designating a desired item from the items stored in the item storage means, and when a match is detected by the match detecting means And an encryption code sending means for sending an encryption code corresponding to the item designated by the item designation means to the electronic lock. Over apparatus.
【請求項2】前記暗号コード送出手段はLEDを備え、該L
EDから前記暗号コードを光信号として送出することを特
徴とする特許請求の範囲第1項記載の電子キー装置。
2. The encryption code transmitting means comprises an LED,
The electronic key device according to claim 1, wherein the encryption code is transmitted as an optical signal from the ED.
【請求項3】前記暗号コード記憶手段は不揮発性メモリ
であることを特徴とする特許請求の範囲第1項または第
2項記載の電子キー装置。
3. The electronic key device according to claim 1, wherein the encryption code storage means is a non-volatile memory.
JP21734385A 1985-09-30 1985-09-30 Electronic key device Expired - Lifetime JPH073133B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS6278380A JPS6278380A (en) 1987-04-10
JPH073133B2 true JPH073133B2 (en) 1995-01-18

Family

ID=16702688

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH073133B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6178971A (en) * 1984-09-25 1986-04-22 神鋼電機株式会社 Unlocking apparatus of car
JPS61183749U (en) * 1985-05-09 1986-11-15

Also Published As

Publication number Publication date
JPS6278380A (en) 1987-04-10

Similar Documents

Publication Publication Date Title
US4786900A (en) Electronic key apparatus
US3587051A (en) Electronic combination switching device
EP0311112A2 (en) Remote control transmitting/receiving system
US5025426A (en) Reminder apparatus
JP3562178B2 (en) Non-contact medium processing device and entry / exit management device, and non-contact medium processing method and entry / exit management method
KR970005637B1 (en) Remote control self response type electronic opening system
JP3043015B2 (en) Electronic clock with analog time display
JPH073133B2 (en) Electronic key device
JPH073134B2 (en) Electronic key device
JPH07959B2 (en) Electronic key device
JPH0658023B2 (en) Electronic key device
JPH07961B2 (en) Electronic key device
JPS6294679A (en) electronic key device
JPH07962B2 (en) Electronic lock device
JPS6276482A (en) Electronic clock with electronic key function
JPS6290480A (en) electronic key device
JP2701677B2 (en) Locking and unlocking method for multiple rooms
JPS6290483A (en) electronic locking device
JPS62107181A (en) Electronic key device
JPS6016680A (en) Infrared ray type unlocking apparatus of electric lock
JPS59118967A (en) Keyless type door lock for vehicle
JPH053648Y2 (en)
JPS5961665A (en) Electronic lock system
JPS5851593B2 (en) How to unlock using a card
JPH05133149A (en) Registered identification code retrieving device for electric lock

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term