JPH07959B2 - Electronic key device - Google Patents

Electronic key device

Info

Publication number
JPH07959B2
JPH07959B2 JP23562485A JP23562485A JPH07959B2 JP H07959 B2 JPH07959 B2 JP H07959B2 JP 23562485 A JP23562485 A JP 23562485A JP 23562485 A JP23562485 A JP 23562485A JP H07959 B2 JPH07959 B2 JP H07959B2
Authority
JP
Japan
Prior art keywords
mode
encryption code
key
display
flag
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
JP23562485A
Other languages
Japanese (ja)
Other versions
JPS6294678A (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 JP23562485A priority Critical patent/JPH07959B2/en
Priority to US06/910,649 priority patent/US4786900A/en
Publication of JPS6294678A publication Critical patent/JPS6294678A/en
Publication of JPH07959B2 publication Critical patent/JPH07959B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (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 irregularities in the lock, the length and position of the pin or cylinder, or the presence or absence of these, and the mechanical irregularity or the position of the key, or the mechanical presence or absence of these. The combination of information is checked mechanically or mechanically, 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 attempt to open and close electrically 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 conventional device described above, particularly in the electronic key device that opens and closes the electronic lock in a non-contact manner by sending the encryption code for unlocking to the electronic lock using radio waves, light, etc., If the lock mechanism is not released even after performing the operation, why does the operator not release it, that is, the transmitted encryption code does not match the predetermined encryption code, or the encryption code There was a problem that I could not know if it was because the transmission itself was not done properly.

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

本発明は、上記従来の問題点に鑑み、ロック機構が解除
されない場合等におけるその原因理由等を知ることので
きる電子キー装置を提供することを目的とする。
In view of the above conventional problems, it is an object of the present invention to provide an electronic key device capable of knowing the cause and the like when the lock mechanism is not released.

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

本発明は上記目的を達成するために、電子錠に対して暗
号コード送信した場合、その暗号コードの送信が適切に
なされなかった場合にはその旨を報知し、また、暗号コ
ードの送信が適切になされた場合には暗号コードの適、
不適を報知するようにしたものである。
In order to achieve the above-mentioned object, the present invention notifies that when a cryptographic code is transmitted to an electronic lock and the transmission of the cryptographic code is not performed properly, and the transmission of the cryptographic code is appropriate. If it is done, the encryption code is suitable,
This is a notification of the inadequacy.

〔発明の実施例〕Example of Invention

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

第1図は本発明を腕時計に適用した場合の一実施例を示
す外観斜視図である。同図において、腕時計本体1は、
液晶表示装置等からなる表示部2と、各種キー群3aを備
えるキー操作部3とから構成されている。表示部2の側
端面にはキーS1,S2,S3,LED4aおよびフォトダイオード
5aが設けられている。これらのキー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 , LEDs 4a and photodiodes are provided on the side end surface of the display unit 2.
5a is provided. These keys S 1, S 2, S 3 and equol in the key group 3a (=) key S 4, minus (-)
The key S 5 and the plus (+) key S 6 will be described in detail later,
It 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が取り付けら
れ、上記のロック機構に電気的に接続されている。ま
た、鍵穴15の両側に、上記腕時計のLED4aおよびフォト
ダイオード5aの間隔と等しくなるように、フォトダイオ
ード16aおよびLED17aが設けられている。このような宝
石箱10では、上記ディジタルスイッチ14で設定された暗
号コード(第2図では「0425」)に相当する光信号が第
1図の腕時計のLED4aから出力され、上記フォトダイオ
ード16aによって受光された場合、あるいは鍵穴15にあ
った所定のキー(鍵)によってのみ、上記のロック機構
が解除されるようになっている。更に、上記暗号コード
を出力した場合の出力結果がLED17aによって送信され、
腕時計のフォトダイオード5aで受信されるようになって
いる。
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. Further, on both sides of the keyhole 15, a photodiode 16a and an LED 17a are provided so as to be equal to the interval between the LED 4a and the photodiode 5a of the wristwatch. In such a jewelry box 10, an optical signal corresponding to the code code (“0425” in FIG. 2) set by the digital switch 14 is output from the LED 4a of the wristwatch in FIG. 1 and received by the photodiode 16a. When the lock is released or only by a predetermined key (key) in the keyhole 15, the lock mechanism is released. Furthermore, the output result when the above encryption code is output is transmitted by the LED 17a,
It is designed to be received by the photodiode 5a of the wristwatch.

第3図に、第1図に示した腕時計本体1の回路構成を示
す。
FIG. 3 shows a circuit configuration of the wristwatch body 1 shown in FIG.

第3図において、ROM21は、全体のシステムをコントロ
ールするプログラムやデータを内蔵している固定メモリ
である。アドレス制御部22は、プログラムの流れを測定
するROM21のアドレス部であり、ROM21、演算部25および
分周回路27の出力が入力されている。RAM23は、ROM21で
指定されたアドレスに記憶されているデータを演算部25
および変換回路29に出力し、また演算部25で処理および
加工された結果を入力して記憶するメモリである。イン
ストラクションデコーダ24は、ROM21の出力をデコード
して、各ブロックにはコントロール信号を送るブロック
である。演算部25は、ROM21およびキー入力部28の指示
に基づき、RAM23内のデータあるいは受信回路5から出
力されたデータを用いて演算を行い、その結果をROM21
によって指定されたRAM23のアドレスに書込み、また表
示部2に表示する。この表示部2は、第1図に示したも
のと同一である。発振器26は一定周期のクロック信号を
出力し、分周回路27は上記クロック信号を所定周波数ま
で分周して例えば1/16秒毎の計時クロック信号をダドレ
ス制御部22へ出力する。キー入力部28は、各々の処理動
作をシステムに指示するための信号を外部から送るブロ
ックであり、第1図に示したキーS1,S2,S3および上記
キー群3aを含んでいる。
In FIG. 3, the ROM 21 is a fixed memory that contains programs and data for controlling the entire system. The address control unit 22 is an address unit of the ROM 21 that measures the flow of the program, and inputs the outputs of the ROM 21, the arithmetic unit 25, and the frequency dividing circuit 27. The RAM 23 stores the data stored in the address specified by the ROM 21 in the arithmetic unit 25.
And a memory which outputs the result processed and processed by the arithmetic unit 25 to the conversion circuit 29 and stores it. The instruction decoder 24 is a block that decodes the output of the ROM 21 and sends a control signal to each block. The arithmetic unit 25 performs an arithmetic operation using the data in the RAM 23 or the data output from the receiving circuit 5 based on the instructions of the ROM 21 and the key input unit 28, and outputs the result to the ROM 21.
It is written in the address of the RAM 23 designated by and displayed on the display unit 2. The display unit 2 is the same as that shown in FIG. The 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 seconds to the daddle 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 shown in FIG. 1 and the key group 3a. .

変換回路29は、RAM23に書込まれた後述するような暗号
コードをH(ハイ)およびL(ロウ)のシリアルな電気
信号に変換して、送信回路4に送る。この送信回路4
は、第1図示した下LED4aとトランジスタ4bとから構成
され、変換回路29の出力信号に従ってトランジスタ4bが
オン、オフし、それに伴いLED4aがオン、オフすること
により、所定のデータを含んだ光信号が出力される。
The conversion circuit 29 converts an encryption code, which will be described later, written in the RAM 23 into a serial electric signal of H (high) and L (low), and sends the serial electric signal to the transmission circuit 4. This transmission circuit 4
Is composed of the lower LED 4a and the transistor 4b shown in the first figure, and the transistor 4b is turned on and off according to the output signal of the conversion circuit 29, and the LED 4a is turned on and off accordingly, so that an optical signal including predetermined data is generated. Is output.

受信回路5は、第1図にしめしたフォトダイオード5a、
増幅器5bおよびローパスフィルタ5c等から構成され、宝
石箱10の上記LED17aから送信された、後述するような応
答信号を受信して、電気信号に変換して出力する。
The receiving circuit 5 is a photodiode 5a shown in FIG.
It is composed of an amplifier 5b, a low-pass filter 5c, and the like, and receives a response signal, which will be described later, transmitted from the LED 17a of the jewelry box 10, converts it into an electric signal, and outputs it.

次に、第4図に宝石箱10の回路構成を示す。受信回路16
は、第2図に示したフォトダイオード16a、増幅器16bお
よびローパスフィルタ16c等から構成され、上記LED4か
ら光信号を受けることにより、この光信号を電気信号に
変換する。変換回路31は、上記受信回路16の出力信号を
パラレルなディジタル信号(暗号コード)に変換する。
一致検出回路32は、上述したディジタルスイッチ14で設
定された暗号コードと、変換回路31から出力された暗号
コードとを比較し、それらの内容が一致しているときに
一致信号を出力し、一致していないときには不一致信号
を出力する。ロック機構33は、第2図中の突部13と本体
11内の係合部とから構成され、上記の一致信号を受ける
と、それらの係合がはずれ、ロックが解除されるように
なっている。
Next, FIG. 4 shows a circuit configuration of the jewelry box 10. Receiver circuit 16
Is composed of the photodiode 16a, the amplifier 16b, the low-pass filter 16c and the like shown in FIG. 2, and receives an optical signal from the LED 4 to convert the optical signal into an electric signal. The conversion circuit 31 converts the output signal of the reception circuit 16 into a parallel digital signal (encryption code).
The coincidence detection circuit 32 compares the cipher code set by the digital switch 14 described above with the cipher code output from the conversion circuit 31, and outputs a coincidence signal when the contents match, If not, a mismatch signal is output. The lock mechanism 33 includes the protrusion 13 and the main body in FIG.
It is composed of an engaging portion inside 11, and when the above coincidence signal is received, the engagement is disengaged and the lock is released.

また、上記一致信号または不一致信号は、遅延回路34に
よって遅延された後、変換回路35に送られる。変換回路
35は、上記一致信号または不一致信号をシリアルなオ
ン、オフ信号に変換して、送信回路17に送る。送信回路
17は、第2図に示したLED17aおよびトランジスタ17bか
ら構成され、変換回路35の出力信号を応答信号として、
光信号に変換して出力する。この応答信号は、上述した
ように腕時計の受信回路5で受信されるようになってい
る。
The coincidence signal or the non-coincidence signal is delayed by the delay circuit 34 and then sent to the conversion circuit 35. Conversion circuit
The reference numeral 35 converts the coincidence signal or the non-coincidence signal into a serial ON / OFF signal and sends it to the transmission circuit 17. Transmission circuit
17 is composed of the LED 17a and the transistor 17b shown in FIG. 2, and uses the output signal of the conversion circuit 35 as a response signal.
It is converted into an optical signal and output. This response signal is received by the receiving circuit 5 of the wristwatch as described above.

次に、第3図に示したRAM23の内部構成を第5図に示
す。同図において、RAM23は、時刻レジスタW、表示レ
ジスタX、項目記載レジスタY、暗号コード記憶レジス
タZ、パスデータ記憶レジスタH、パスデータ設定フラ
グL、電気キー操作モードフラグM、パスデータ入力モ
ードフラグN、モード選択フラグO、パスデータ変更モ
ードフラグP、項目・コード変更設定フラグQ、項目入
力モードフラグR、コード出力中モードフラグS、状態
表示フラグV、タイマT,U等から構成されている。
Next, FIG. 5 shows the internal structure of the RAM 23 shown in FIG. In the figure, the RAM 23 includes a time register W, a display register X, an item description register Y, an encryption code storage register Z, a pass data storage register H, a pass data setting flag L, an electric key operation mode flag M, and a 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, status display flag V, timer T, U, etc. .

上記時刻レジスタWは時、分、秒、1/16秒等の時刻デー
タを記憶するレジスタであり、表示レジスタXは上述し
た表示部2に表示するデータを一時記憶するレジスタで
ある。項目記載レジスタYおよび暗号コード記憶レジス
タZは、複数のレジスタで構成され、各レジスタはそれ
ぞれ各種の電子錠と対応した項目および各項目ごとに設
定された暗号コードを記憶している。例えば、第5図に
おいては、第2図に示したような宝石箱10に対しては項
目を「JEWEL」とし、それに対応して暗号コードを「042
5」と設定してある。また、家のドア、自動車のドア、
オフィスのドアの場合には、項目をそれぞれ「DOOR」、
「CAR」、「OFFICE」というようにし、それぞれの項目
に対して暗号コードを設定している。パスデータ記憶レ
ジスタHは、パスデータ、すなわち特性の人のみが知っ
ている秘密の番号あるいは記号等からなるデータを記憶
するレジスタであり、第5図では「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 description register Y and the encryption code storage register Z are composed of a plurality of registers, and each register stores an item corresponding to each electronic lock and an encryption code set for each item. For example, in FIG. 5, the item is “JEWEL” for the jewelry box 10 as shown in FIG. 2, and the encryption code is “042” corresponding to it.
5 ”is set. Also, home doors, car doors,
In the case of office doors, the item is "DOOR",
"CAR" 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 a symbol known only to the person having the characteristic, and stores the pass data "0011" in FIG. .

パスデータ設定フラグLは、パスデータ記憶レジスタH
にパスデータが設定されている場合に“1"が設定される
フラグである。電子キー操作モードフラグMは、時刻表
示モード以外の、以下にのべるような電子キー操作に関
する表示モード(電子キー操作モード)の場合“1"が設
定されるフラグである。パスデータ入力モードフラグ
N、モード選択フラグO、パスデータ変更モードフラグ
P、項目・コード変更設定フラグQ、項目入力モードフ
ラグR、コード出力中モードフラグS、状態表示フラグ
Vは、前述した表示部2の表示モードが、それぞれ第17
図に示すようなパスデータ入力モード、モード選択モー
ド、パスデータ変更モード、項目・コード変更設定モー
ド、項目入力モード、コード出力中モード、状態表示モ
ードである場合に“1"が設定されているフラグである。
タイマT,Uは、秒刻みで時間を計測するタイマであり、
タイマTの計測結果は所定の表示モードの自動的な切り
換えを行うためのタイミングに使用され、タイマUの計
測結果は、宝石箱10からの前記応答信号の有無を判断す
る際に使用される。
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, the code outputting mode flag S, and the status display flag V are the above-mentioned display units. The second display mode is the 17th
"1" is set in the pass data input mode, mode selection mode, pass data change mode, item / code change setting mode, item input mode, code output mode, and status display mode as shown in the figure. It is a flag.
The timers T and U are timers that measure time in seconds,
The measurement result of the timer T is used as a timing for automatically switching a predetermined display mode, and the measurement result of the timer U is used when determining the presence or absence of the response signal from the jewelry box 10.

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

まず、第6図において、ホルト(HALT)状態(a1)から
キー処理の指示がなければ、1/16秒ごとに、計時関連処
理が順次行わる(a2)。この計時関連処理は、詳細は後
述するが、第3図に示した分周回路27から1/16秒ごとに
出力される計時クロック信号によって実行されるもの
で、この処理によって得られた時刻データは、第5図に
示したRAM23の時刻レジスタWに記憶される。
First, in FIG. 6, 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 ). The 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, and the time data obtained by this processing, which will be described in detail later. Is stored in the time register W of the RAM 23 shown in FIG.

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

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

第7図はキーS1が押された場合の処理のフローチャート
であり、第17図は各キーが操作されたときの表示変化を
示している。然してキーS1が押された場合は、第7図に
示す如くまず電子キー操作モードフラグMが1であるか
どうかを判断する(b1)。上記フラグMは、第17図に示
す如く、0の時に時刻を表示させ、1の時に電子キーの
各表示を行わせるモードであり、M≠1であれば、すな
わち時刻表示モード(第17図中のモードm1)である場合
はMに1を設定するとともに、タイマTをリセットし
(b2)、さらに表示モードを電子キーモード(第17図中
のモードm2)に切り換える(b3)。
FIG. 7 is a flow chart of the processing when the key S 1 is pressed, and FIG. 17 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. 7 (b 1 ). The flag M is a mode in which the time is displayed when 0 and each electronic key is displayed when 1 as shown in FIG. 17, and when M ≠ 1, that is, the time display mode (see FIG. 17). 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. 17) (b 3 ). ).

上記ステップb1においてM=1の場合、すなわち電子キ
ー操作モード(第17図中もモードm0)の場合、項目・コ
ード変更設定フラグQが1であるかどうかを判断し
(b4)、Q=1であれば、すなわち項目・コード変更設
定モード(第17図中のモードm10)であれば、Qに0を
設定するとともに、モード選択フラグOに1を設定し
(b5)、モード選択モード(第17図中のモードm6)に切
り換える。一方、ステップb4においてQ≠1の場合は、
O=1かどうかを判断し(b6)、O=1である場合、す
なわちモード選択モードm6である場合はOに0を設定す
るとともに、Qに1を設定して(b7)、項目・コード変
更設定モードm10に切り換える。また、ステップb6にお
いてO≠1の場合は、Mに0を設定して(b8)、時刻表
示モードm1に切り換える。
When M = 1 in step b 1 , that is, in the electronic key operation mode (mode m 0 in FIG. 17), it is determined whether the item / code change setting flag Q is 1 (b 4 ), If Q = 1, that is, in the item / code change setting mode (mode m 10 in FIG. 17), Q is set to 0 and the mode selection flag O is set to 1 (b 5 ), Switch to the mode selection mode (mode m 6 in Fig. 17). 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が押された場合の処理を第8図に示す。キーS2
押されると、まず電子キー操作モードフラグMが1かど
うかを判断し(c1)、M≠1の場合は処理を行わず、M
=1の場合にはパスデータ変更モードフラグPが1かど
うかを判断する(c2)。P=1であれば、すなわちパス
データ変更モード(第17図中のモード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 pressed is shown in FIG. 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 the path data change mode (mode m 9 in FIG. 17), P is set to 0 and the mode selection flag O is set to 1 (c 3 ), and the mode selection mode m is set. 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が押された場合の処理を第9図に示す。キーS3
押されると、まず電子キー操作モードフラグMが1であ
るかどうかを判断し(d1)、M≠1の場合は処理を行わ
ず、M=1の場合にはパスデータ入力モードフラグNが
1かどうかを判断する(d2)。N=1の場合、すなわち
パスデータ入力モード(第17図中のモードm3)であれ
ば、Nに0を設定し(d3)、電子キーモードm2に切り換
える(d4)。
The processing when the key S 3 is pressed is shown in Figure 9. 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. 17), N is set to 0 (d 3 ) and the mode is switched to the electronic key mode m 2 (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が押された場合の処理を第10図に示す。キーS4
押されると、まずM=1かどうかを判断し(e1)、M≠
1の場合は処理を行わず、M=1の場合に項目入力モー
ドフラグRが1かどうかを判断する。(e2)。R≠1の
場合は処理を行わず、R=1の場合、すなわち項目入力
モード(第17図中のモードm7)である場合に、Rを0に
するとともにコード出力中モードフラグSに1を設定し
(e3)、コード出力中モード(第17図中のモードm8)に
切り換える。
FIG. 10 shows the processing when the key S 4 is pressed. 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. 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 (mode m 7 in FIG. 17), R is set to 0 and the code output mode flag S is set to 1 Set (e 3 ) and switch to the code output mode (mode m 8 in Fig. 17).

キーS5が押された場合の処理を第11図に示す。キーS5
押されると、上記と同様にしてM=1かどうかの判断が
行われ(f1)、M=1の場合には、モード選択フラグO
が1であるかどうかを判断し(f2)、O=1であれば、
すなわちモード選択モードm6である場合はOを0にする
と共に項目入力モードフラグRに1を設定し(f3)、項
目入力モードm7に切り換える。
The processing when the key S 5 is pressed is shown in FIG. When the key S 5 is pressed, it is determined whether or not M = 1 (f 1 ) in the same manner as above, and when M = 1, the mode selection flag O
Is determined to be 1 (f 2 ), and if O = 1, then
That is, in the case of 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の場合には=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, and if R = 1, = 0 and O is set to 1 (f 5 ). Switch to m 6 .

キーS6が押された場合の処理を第12図に示す。キーS6
押されると、同様にM=1であるかどうかを判断し
(g1)、M=1の場合には項目・コード変更設定フラグ
Qが1かどうかを判断する(g2)。Q≠1の場合は処理
が行われず、またQ=1の場合には次の項目および暗号
コードが読出される(g3)。
FIG. 12 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秒のタイ
ミング毎に行われる計時関連処理では第13図に示すよう
に計時処理(h1)モード検出処理(h2)、表示処理
(h3)が順次行われる。
The key processing is performed as described above, but in the timing-related processing performed at every 1/16 second timing, as shown in FIG. 13, the timing processing (h 1 ) mode detection processing (h 2 ) and the display processing ( h 3 ) are sequentially performed.

上記計時処理(h1)を具体的に第14図に示す。まず1/16
秒ごとの計時クロック信号があるかないかを見ており
(i1)、計時クロック信号があった場合に第5図に示し
た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を加
算し(i8)、その後に他の計時処理を行う(i9)。
The above timing process (h 1 ) is specifically shown in FIG. First 1/16
Whether or not there is a clock signal for every second (i 1 ), if there is a clock signal for a clock, a 1/16 second counter (not shown) in the time register W of the RAM 23 shown in FIG. 5 is displayed. Add 1 (i 2 ). Then, it is judged whether or not the 1 / 16-second counter has counted 16, that is, whether or not 1 second has elapsed (i 3 ), and when 1 second has elapsed, the above 1 /
The 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 10 seconds in the time register W are reset. Add 1 to a counter (not shown) (i 6 ). Then, see if the 10-second counter has counted 6, that is, if 1 minute has elapsed (i 7 ), 1
If the minutes have elapsed, the 10-second counter is reset, 1 is added to the minute counter (not shown) in the time register W (i 8 ), and then another timing process is performed (i 9 ).

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

第15図において、まず電子キー操作モードフラグMが1
かどうかを判断し(j1)、M≠1の場合は時刻表示を行
う(j2)。この時刻表示は、第14図に示した計時処理に
よって時刻レジスタWに書込まれた時刻データを一旦表
示レジスタXに書込んだ後に表示部2に表示部2に表示
することにより行う。第18図(a)にその表示例を示
す。
In FIG. 15, 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. 14 in the display register X and then displaying it on the display unit 2 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)。この表示例を第18図(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). This display example is shown in FIG. 18 (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 ). When 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であればパスデータ設定モードm4
にあたるので、パスデータの設定処理を行うとともにL
に1を設定する(j14)。そして、この設定されたパス
データを表示する(j13)。
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 4
Since it corresponds to this, the path data setting process is performed and L
Is set to 1 (j 14 ). Then, the set path data is displayed (j 13 ).

ステップj13においてL=1の場合は、モード選択フラ
グOが1かどうかを判断し(j15)、O=1の場合はモ
ード選択表示を行う(j16)。この表示例を第18図
(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). This display example is shown in FIG. 18 (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の場合は、第16図において
項目・コード変更設定フラグ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. 16 (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)。その表示例を第18図(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. In the figure, an item "JEWEL" indicating a jewelry box is entered.

ステップk4においてR≠1であれば、コード出力中モー
ドフラグSが1かどうかを判断する(k7)。S=1の場
合は、ステップk5で入力された項目と対応する暗号コー
ドを第3図に示した変換回路29に出力して、LED4aを駆
動する処理を行う(k8)。そして、暗号コードの出力が
終了したかどうかを判断し(k9)、まだ出力中であれ
ば、第18図(f)に示すように点滅により出力表示を行
う(k10)。上記暗号コードは第3図に示したLED4aから
光信号として出力され、宝石箱10のフォトダイオード16
aによって受信される。ディジタルスイッチ14の番号と
暗号コードとが一致していれば、ロックが解除される。
ステップk9において暗号コードの出力が終了した場合
は、コード出力中モードフラグSを0にするとともに状
態表示モードフラグVに1を設定し(k11)、宝石箱か
らの前述した応答信号を受信するための受信モードに切
換える(k12)。
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 4a (k 8 ). Then, it is judged whether or not the output of the cipher code is completed (k 9 ), and if it is still being output, the output is displayed by blinking as shown in FIG. 18 (f) (k 10 ). The above code is output as an optical signal from the LED 4a shown in FIG. 3, and the photodiode 16 of the jewelry box 10
received by a. If the digital switch 14 number and the encryption code match, the lock is released.
When the output of the cipher code is completed in step k 9 , the code output mode flag S is set to 0 and the status display mode flag V is set to 1 (k 11 ) to receive the above-mentioned response signal from the jewelry box. Switch to the reception mode for the operation (k 12 ).

ステップk7においてS≠1であれば、状態指示モードフ
ラグVが1であるかどうか、すなわち上述した受信モー
ドにあるかどうかを判断する(k13)。V=1であれ
ば、タイマUをスタートさせ(k15)、その後タイマU
が5かどうか、すなわち5秒経過したかどうかを判断す
る(k15)。U=5であれば上記受信モードを終了し、
Vを0にするとともに項目入力モードフラグRに1を設
定する(k16)。
If S ≠ 1 in step k 7 , it is determined whether the state instruction mode flag V is 1, that is, the above-mentioned reception mode (k 13 ). If V = 1, timer U is started (k 15 ) and then timer U
Is 5, that is, whether 5 seconds have elapsed (k 15 ). If U = 5, the reception mode is terminated,
V is set to 0 and the item input mode flag R is set to 1 (k 16 ).

ステップk15においてU≠5の場合、すなわちタイマU
のスタート後5秒経過前であれば、上記応答信号があっ
た場合は、それが一致信号かどうか、すなわち送信され
た暗号コードとディジタルスイッチ14(第4図)で設定
された暗号コードとが一致したのかどうかを判断し(k
16)、一致信号である場合は第18図(g)に示すような
一致表示を行う(k19)。同図では、ロックが解除され
たことを示す「OPENED」が表示されている。一方、不一
致信号が受信された場合は、第18図(h)に示すような
不一致表示を行う(k20)。
If U ≠ 5 at step k 15 , ie timer U
5 seconds after the start of, if there is the response signal, whether it is a coincidence signal, that is, the transmitted encryption code and the encryption code set by the digital switch 14 (Fig. 4) are Judge whether they match (k
16 ) If it is a coincidence signal, the coincidence display as shown in FIG. 18 (g) is performed (k 19 ). In the figure, “OPENED” indicating that the lock has been released is displayed. On the other hand, when the mismatch signal is received, the mismatch display as shown in FIG. 18 (h) is displayed (k 20 ).

ステップk17において応答信号がない場合は、タイマU
が2よりも大きいか、すなわち2秒を経過しているかど
うかを判断し(k21)、U>2の場合は応答信号の返っ
てくるのが遅過ぎるものとして、第18図(i)に示すよ
うな入力不良表示を行う(k22)。一方、U<2の場合
は、応答信号が受信されるのを待つために出力中表示
(k10)をする。
If there is no response signal in step k 17, timer U
Is larger than 2, that is, 2 seconds have elapsed (k 21 ), and if U> 2, the response signal is returned too late, and it is shown in FIG. 18 (i). Input failure display as shown (k 22 ). On the other hand, when U <2, the output display (k 10 ) is displayed in order to wait until the response signal is received.

ステップk13においてV≠1であれば、時刻表示モードm
1から電子キーモードm2に切り換わったばかりの状態で
ある。この場合には、第5図に示したタイマTによりタ
イマ処理が行われ((k23)、2秒経過したかどうかが
判断される(k24)。タイマTが2秒経過前であれば、
第18図(b)に示すような電子キーモード表示を行う
(k25)。一方、2秒経過した場合はタイマTをリセッ
トするとともに、パスデータ入力モードフラグNに1を
設定し(k26)、パスデータの入力表示を行う(k27)。
この表示例を第18図(c)に示す。同図では、「0011」
というパスデータを入力したところである。
If V ≠ 1 in step k 13 , time display mode m
It is a state where the mode has just been switched from 1 to the electronic key mode m 2 . In this case, the timer T shown in FIG. 5 timer processing is performed ((k 23), whether or not after two seconds is determined (k 24). If the timer T is before elapse of two seconds ,
The electronic key mode display as shown in FIG. 18 (b) is displayed (k 25 ). 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 26), to input display of path data (k 27).
An example of this display is shown in FIG. 18 (c). In the figure, "0011"
I just entered the path data.

次に上述したキーS1〜S6の操作に基づく表示モードの変
化を第17図で再度説明する。
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の状態では、前述したように第
18図(a)のような時刻表示が行われている。そこで、
電子キー操作を行う場合は、この状態でキーS1を押す。
すると、電子キーボードm2に切り換わり、第18図(b)
のような電子キー表示が行われる。
First, in the state of the time display mode m 1 , as described above,
The time is displayed as shown in Fig. 18 (a). Therefore,
When operating the electronic keys, press key S 1 in this state.
Then, the keyboard is switched to the electronic keyboard m 2, and FIG. 18 (b) is displayed.
The electronic key display such as

電気キーモードm2に切り換ってから2秒経過すると、パ
スデータ入力モードm3に切り換わる。この状態でパスデ
ータ、例えば「0011」を入力すと、第18図(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. 18 (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, it switches to the pass data input mode m 3 again, but if there are three errors, the time display mode m 1
Will return to. 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に切り換わる
と、第18図(d)のような表示が行われる。そこでも
し、電子錠のロックを解除したい場合は,キーS5を押
す。すると項目入力モードm7に切り換わる。この状態
で、所望の電子錠に相当する項目、例えば宝石箱の場合
は「JEWEL」を入力すると、その入力表示が第18図
(e)のように行われる。その暗号コードを出力したい
場合は、例えば第1図中のLED4aおよびフォトダイオー
ド5aを第2図中のフォトダイオード16aおよびLED17aと
一致させて、キーS4を押すだけでよい。すると、暗号コ
ードの出力中はコード出力中モードm6に切り換わり、第
18図(f)のように点滅表示が行われる。暗号コードの
出力が終了すると、宝石箱10の上記LED17aから応答信号
が送られるのを待って状態表示モードm11に切換り、応
答信号に応じて上述したような一致表示、不一致表示ま
たは入力表示が行われる。これらの状態表示が終了する
と、再度項目入力モードm7に切り換わる。このようにし
て、暗号コードを送信するごとにその送信結果を表示で
きるようにしたので、もしロックが解除しないような場
合であっても、その原因として、暗号コードが誤ってい
るのか、あるいは暗号コードの送信の仕方が悪かったの
かを簡単に知ることができる。
When the pass data match and the mode is switched to the mode selection mode m 6 , a display as shown in FIG. 18 (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 the desired electronic lock, for example, "JEWEL" in the case of a jewelry box is input, the input display is performed as shown in Fig. 18 (e). If the user wants to output the code, it is sufficient to match the LED 4a and the photodiode 5a in FIG. 1 with the photodiode 16a and the LED 17a in FIG. 2 and press the key S 4 . Then, in the output of the cipher code is switched to the code output in mode m 6, the
A blinking display is performed as shown in FIG. When the output of the encryption code is completed, it waits for the response signal from the LED 17a of the jewelry box 10 to switch to the status display mode m 11 , and depending on the response signal, the match display, the mismatch display or the input display as described above. Is done. When these status displays are completed, the mode is switched to the item input mode m 7 again. In this way, the transmission result can be displayed each time the encryption code is transmitted, so even if the lock is not released, the cause is whether the encryption code is wrong or the encryption code is You can easily know if the code was sent incorrectly.

項目および暗号コードを変更もしくは設定したい場合
は、モード選択モード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.

なお、本発明が適用されるのは上述した腕時計に限られ
ず、ポケットタイプの小型計算機や、その他身に着ける
ようなものであってもよい。また上記実施例では、電子
錠装置として宝石箱を示したが、これに限られることは
全くなく、例えば家、オフィス、車のドア等に組込まれ
た電子錠に対しても適用できる。
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の報
知手段により報知され、また、暗号コードの送信が適切
になされた場合(すなわち電子錠からの応答信号が受信
された場合)には暗号コードの適、不適が第2の報知手
段により報知されるのでロックが解除されないような場
合であっても、それは暗号コードが不適当だからなの
か、あるいは暗号コードの送信ミスだからなのか等の原
因理由を容易かつ正確に知ることができ、実用性および
操作性が非常に高いものとなる。
As described above, according to the present invention, when the encryption code is not properly transmitted (that is, when the response signal from the electronic lock is not received), the fact is notified by the first notification means. Also, when the encryption code is properly transmitted (that is, when the response signal from the electronic lock is received), the second notification means notifies whether the encryption code is suitable or not, so the lock is not released. Even in such cases, the reason for the cause, such as whether the encryption code is inappropriate or because the encryption code was sent incorrectly, can be easily and accurately known, and its practicality and operability are extremely high. Will be things.

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

第1図は本発明の一実施例を示す外観斜視図、 第2図は同実施例によりロック機構が解除される宝石箱
の外観斜視図、 第3図は第1図に示した実施例の回路構成を示す回路
図、 第4図は第2図に示した宝石箱の回路構成を示す回路
図、 第5図は第3図に示したRAMの内部構成を示す図、 第6図〜第16図は上記実施例の処理動作を示すフローチ
ャート、 第17図は上記実施例におけるキー操作に伴う表示モード
の変化を示す図、 第18図(a)〜(i)は上記実施例における各表示例を
示す図である。 4……送信回路、5……受信回路、21……ROM、23……R
AM、29……変換回路、Y……項目記憶レジスタ、Z……
暗号コード記憶レジスタ、H……パスデータ記憶レジス
タ、L……パスデータ設定フラグ、M……電子キー操作
モードフラグ、N……パスデータ入力モードフラグ、O
……モード選択フラグ、P……パスデータ変更モードフ
ラグ、Q……項目・コード変更設定フラグ、R……項目
入力モードフラグ、S……コード出力中モードフラグ、
V……状態表示モードフラグ.
FIG. 1 is an external perspective view showing an embodiment of the present invention, FIG. 2 is an external perspective view of a jewelry box whose lock mechanism is unlocked by the same embodiment, and FIG. 3 is an external view of the embodiment shown in FIG. FIG. 4 is a circuit diagram showing the circuit configuration, FIG. 4 is a circuit diagram showing the circuit configuration of the jewelry box shown in FIG. 2, and FIG. 5 is a diagram showing the internal structure of the RAM shown in FIG. FIG. 16 is a flow chart showing the processing operation of the above embodiment, FIG. 17 is a view showing the change of the display mode due to the key operation in the above embodiment, and FIGS. 18 (a) to (i) are the tables in the above embodiment. It is a figure which shows an example. 4 ... Transmission circuit, 5 ... Reception circuit, 21 ... ROM, 23 ... R
AM, 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 …… Code output mode flag,
V: Status display mode flag.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】電子錠のロックを解除するための暗号コー
ドを記憶する暗号コード記憶手段と、 該暗号コード記憶手段に記憶された暗号コードを前記電
子錠に対して送信する暗号コード送信手段と、 該暗号コード送信手段による前記暗号コードの送信に応
答して該暗号コードと前記電子錠に予め記憶されている
暗号コードとの一致・不一致を知らせる情報である、前
記電子錠からの応答信号を受信する応答信号受信手段
と、 該応答信号受信手段による前記応答信号の受信がなされ
なかった際に報知を行う第1の報知手段と、 前記応答信号受信手段による前記応答信号の受信がなさ
れた際には前記暗号コードとの一致・不一致を知らせる
情報を前記暗号コードの送信結果として報知する第2の
報知手段と、 を具備したことを特徴とする電子キー装置。
1. An encryption code storage means for storing an encryption code for unlocking an electronic lock, and an encryption code transmission means for transmitting the encryption code stored in the encryption code storage means to the electronic lock. A response signal from the electronic lock, which is information indicating whether or not the encryption code and the encryption code stored in advance in the electronic lock are notified in response to the transmission of the encryption code by the encryption code transmitting means. Response signal receiving means for receiving, first notifying means for notifying when the response signal receiving means does not receive the response signal, and when the response signal receiving means receives the response signal The electronic key is provided with a second notifying means for notifying information indicating the match / mismatch with the encryption code as a transmission result of the encryption code. Apparatus.
JP23562485A 1985-09-30 1985-10-22 Electronic key device Expired - Lifetime JPH07959B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP23562485A JPH07959B2 (en) 1985-10-22 1985-10-22 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
JP23562485A JPH07959B2 (en) 1985-10-22 1985-10-22 Electronic key device

Publications (2)

Publication Number Publication Date
JPS6294678A JPS6294678A (en) 1987-05-01
JPH07959B2 true JPH07959B2 (en) 1995-01-11

Family

ID=16988765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23562485A Expired - Lifetime JPH07959B2 (en) 1985-09-30 1985-10-22 Electronic key device

Country Status (1)

Country Link
JP (1) JPH07959B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2343355T3 (en) 2005-12-16 2010-07-29 Iloq Oy ELECTROMECHANICAL LOCK AND ITS OPERATING METHOD.

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0633691B2 (en) * 1985-05-27 1994-05-02 マツダ株式会社 Wireless vehicle security device

Also Published As

Publication number Publication date
JPS6294678A (en) 1987-05-01

Similar Documents

Publication Publication Date Title
US4786900A (en) Electronic key apparatus
JP2767816B2 (en) Remote control transmitter / receiver
JP3562178B2 (en) Non-contact medium processing device and entry / exit management device, and non-contact medium processing method and entry / exit management method
US20020186620A1 (en) Security system with portable timepiece and methods for use therewith
KR970005637B1 (en) Remote control self response type electronic opening system
JPH07959B2 (en) Electronic key device
JP3043015B2 (en) Electronic clock with analog time display
US20040047241A1 (en) Wearable wrist watch means having function for detecting unlawful recorded radio audio/video signals
JPH073133B2 (en) Electronic key device
JPH07961B2 (en) Electronic key device
JPH073134B2 (en) Electronic key device
JPH0658023B2 (en) Electronic key device
GB2238146A (en) Remote controller
JPH07962B2 (en) Electronic lock device
JPH082345Y2 (en) PIN code input type locker device
JPS6276482A (en) Electronic clock with electronic key function
JPH0747908B2 (en) Electronic key device
JP2701677B2 (en) Locking and unlocking method for multiple rooms
JPS6294679A (en) electronic key device
JPS6290483A (en) electronic locking device
JPS6016680A (en) Infrared ray type unlocking apparatus of electric lock
JP3018475B2 (en) Electronics
JPS5961665A (en) Electronic lock method
JPH053648Y2 (en)
JPH0210477Y2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term