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
JPH0633690B2 - Card type electric lock device - Google Patents
[go: Go Back, main page]

JPH0633690B2 - Card type electric lock device - Google Patents

Card type electric lock device

Info

Publication number
JPH0633690B2
JPH0633690B2 JP61138154A JP13815486A JPH0633690B2 JP H0633690 B2 JPH0633690 B2 JP H0633690B2 JP 61138154 A JP61138154 A JP 61138154A JP 13815486 A JP13815486 A JP 13815486A JP H0633690 B2 JPH0633690 B2 JP H0633690B2
Authority
JP
Japan
Prior art keywords
card
reading
registration
signal
operated
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
JP61138154A
Other languages
Japanese (ja)
Other versions
JPS62296073A (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.)
Yazaki Corp
Original Assignee
Yazaki Corp
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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP61138154A priority Critical patent/JPH0633690B2/en
Publication of JPS62296073A publication Critical patent/JPS62296073A/en
Publication of JPH0633690B2 publication Critical patent/JPH0633690B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はカード式電気錠装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a card type electric lock device.

かかる電気錠装置では、カードを読み取り器に差し込む
ことによりカードに記録されているコードを読み取ら
せ、該読み取ったコードが予め登録してあるコードと一
致したとき電気錠の解錠、施錠を可能とするようになっ
ているため、複雑なコードを使用することができ、それ
丈安全性が高くなっている。
In such an electric lock device, a code recorded on the card is read by inserting the card into a reader, and when the read code matches a pre-registered code, the electric lock can be unlocked and locked. It allows you to use complex code, which makes it safer and more secure.

〔従来の技術及び発明が解決しようとする問題点〕[Problems to be Solved by Prior Art and Invention]

従来、このような電気錠装置として、カードリーダによ
って読み取られる専用の磁気カードを作成すると共に、
該磁気カードに記録したコードと同じコードをカードリ
ーダ側に例えばリードオンリーメモリ(ROM)又はデ
ィップスイッチにより設定しておくようにしたものがあ
った。この従来の装置の場合、電気錠の施解錠を行うた
めの専用の磁気カードを持ち歩かなければならない。
Conventionally, as such an electric lock device, while creating a dedicated magnetic card that can be read by a card reader,
In some cases, the same code as that recorded on the magnetic card is set on the card reader side by, for example, a read only memory (ROM) or a dip switch. In this conventional device, it is necessary to carry a dedicated magnetic card for locking and unlocking the electric lock.

最近、多くの人達が1人で多数のカードを保有している
のが現状である。従って、電気錠のための専用カードが
これに加わると、手持のカード枚数が更に増大するよう
にする。このように多くのカードを持ち歩くと、紛失し
ても気が付きにくくなり、それ丈安全性が損われるよう
になる。
Nowadays, many people have many cards by themselves. Therefore, if a dedicated card for the electric lock is added to this, the number of cards in hand is further increased. Carrying so many cards makes it difficult to notice even if they are lost, and this compromises safety.

よって本発明は、上述した従来の問題点に鑑み、既発行
済のカードをキーカードとして利用できるようにして専
用のカードを用意しなくても電気錠の解錠を行えるよう
にしたカード式電気錠装置を提供することを目的として
いる。
Therefore, in view of the above-mentioned conventional problems, the present invention makes it possible to use an already issued card as a key card so that the electric lock can be unlocked without preparing a dedicated card. The purpose is to provide a locking device.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するため本発明により成されたカード式
電気錠装置は、第1図の基本構成図に示すように、銀行
用、クレジット用、郵便局用などの予め記録が行われて
いる既存のカード状記憶媒体13と、該カード状記憶媒
体13の記録内容を読み取る読み取り手段14と、該読
み取り手段14により読み取った記録内容を登録する際
に手動操作される登録操作手段18aと、該登録操作手
段18aが操作されているとき前記読み取り手段により
読み取られた記録内容を記憶する記憶手段17と、前記
登録操作手段18aが操作されていないとき前記読み取
り手段14により読み取られた記録内容と前記記憶手段
17に記憶されている記録内容とを比較し、両者が所定
の関係にあるとき信号を出力する比較手段11aと、該
比較手段11aからの信号により作動される電気錠12
とを備えることを特徴としている。
As shown in the basic configuration diagram of FIG. 1, the card-type electric lock device according to the present invention for achieving the above object has been recorded in advance for banks, credits, post offices, etc. Card-shaped storage medium 13, reading means 14 for reading the recorded contents of the card-shaped storage medium 13, registration operation means 18a manually operated when registering the recorded contents read by the reading means 14, and the registration A storage unit 17 for storing the recording content read by the reading unit when the operating unit 18a is operated, and a recording content and the storage content read by the reading unit 14 when the registration operating unit 18a is not operated. The comparing means 11a for comparing the recorded contents stored in the means 17 and outputting a signal when the two have a predetermined relationship, and the comparing means 11a. Electric lock is activated by a signal 12
It is characterized by having and.

本発明によるカード式電気錠装置はまた、電話回線19
cを通じて入力される所定の信号に応じて前記記憶手段
17の記憶を消去する信号を発生する消去手段11b、
又は電話回線19cを通じて入力される所定の信号に応
じて前記電気錠を解錠する信号を発生する解錠手段11
cを更に備える。
The card-type electric lock device according to the present invention also has a telephone line 19
erasing means 11b for generating a signal for erasing the memory of the memory means 17 in response to a predetermined signal inputted through c,
Alternatively, unlocking means 11 for generating a signal for unlocking the electric lock in response to a predetermined signal input through the telephone line 19c.
c is further provided.

〔作用〕[Action]

上記構成において、登録操作手段が手動操作されている
とき、読み取り手段14により読み取った銀行用、クレ
ジット用、郵便局用などの予め記録が行われている既存
のカード状記憶媒体13の記録内容を記憶手段17に記
憶し、登録操作手段18aが操作されていないとき、比
較手段11aが読み取り手段14により読み取った記録
内容と記憶手段17に記憶されている記憶内容とを比較
し、両者が所定の関係にあるとき信号を出力して電気錠
12を作動するので、既存のカード状記憶媒体をキーカ
ードとして利用できる。
In the above-mentioned configuration, when the registration operation means is manually operated, the recorded contents of the existing card-shaped storage medium 13 which is read in advance by the reading means 14, such as for bank, credit, and post office, is recorded. When the registration operation means 18a is stored in the storage means 17 and the registration operation means 18a is not operated, the recording content read by the reading means 14 by the comparing means 11a is compared with the storage content stored in the storage means 17, and both are determined to be predetermined. Since the signal is output to operate the electric lock 12 when there is a relationship, the existing card-shaped storage medium can be used as a key card.

また、電話回線19cを通じて入力される所定の信号に
応じて消去手段11bが記憶手段17の記憶を消去する
信号を発生することができるので、キーカードとして利
用している既存のカード状記憶媒体を紛失した時点で任
意の場所から無効化処置をとることができる。
Further, since the erasing means 11b can generate a signal for erasing the memory of the memory means 17 in response to a predetermined signal input through the telephone line 19c, the existing card-shaped memory medium used as a key card can be used. When lost, invalidation can be taken from any place.

又は、電話回線19cを通じて入力される所定の信号に
応じて解錠手段11cが電気錠を解錠する信号を発生す
ることができるので、キーカードとして利用している既
存のカード状記憶媒体を紛失しても自宅に入れなくなる
ことがない。
Alternatively, since the unlocking means 11c can generate a signal for unlocking the electric lock in response to a predetermined signal input through the telephone line 19c, the existing card-shaped storage medium used as a key card is lost. Even if you don't stay home,

〔実施例〕〔Example〕

以下、本発明の実施例を図に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図は本発明によるカード式電気錠装置の一実施例を
示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of the card type electric lock device according to the present invention.

図示カード式電気錠装置は、JIS又はISO規格に基
づいて作成された既存の銀行カード、クレジットカー
ド、郵便局カードなどの任意の磁気カードを使用して電
気錠の施解錠を行うものであり、予め定められたプログ
ラムに従って動作するマイクロプロセッサにより構成さ
れた制御部11を有する。制御部11には、電気錠1
2、磁気カード13を読み取る読み取り手段としての磁
気カードリーダ14、扉連動スイッチ15a,15b、
磁気カードリーダ14の読み取りが可能であることを指
示するカードリーダ指示器15c、施錠スイッチ16
a、解錠スイッチ16b、記憶手段としてのランダムア
クセスメモリ(RAM)17、操作部18、電話用イン
ターフェース19、及び電源回路20が接続されてい
る。
The illustrated card-type electric lock device is for locking and unlocking an electric lock by using any magnetic card such as an existing bank card, credit card, or post office card created based on JIS or ISO standard. It has a control unit 11 composed of a microprocessor that operates according to a predetermined program. The control unit 11 has an electric lock 1
2, a magnetic card reader 14 as a reading means for reading the magnetic card 13, door interlocking switches 15a, 15b,
A card reader indicator 15c that indicates that the magnetic card reader 14 is readable, and a lock switch 16
a, an unlock switch 16b, a random access memory (RAM) 17 as a storage unit, an operation unit 18, a telephone interface 19, and a power supply circuit 20 are connected.

上記磁気カードリーダ14は、既存の磁気カード13を
キーカードとして登録するとき、或いは電気錠12を施
解錠するときに、カード挿入口から挿入される磁気カー
ド13の記録内容を読み取るようになっており、カード
読み取り部への磁気カードの移動は電動によって行われ
る(手動でもよい)。
When the existing magnetic card 13 is registered as a key card or when the electric lock 12 is locked / unlocked, the magnetic card reader 14 reads the recorded contents of the magnetic card 13 inserted from the card insertion slot. The magnetic card is moved to the card reading section electrically (or manually).

上記扉連動スイッチ15a,15bは、磁気カードリー
ダ14のカード差し込み口に設けられカード差し込み口
から内部への雨水、ほこり等の進入を防止する開閉扉の
開閉に連動してそれぞれオンする。カードリーダ指示器
15cは磁気カードリーダ14による磁気カードリーダ
の読み取りが可能であることを指示する。
The door interlocking switches 15a and 15b are turned on in association with opening / closing of an opening / closing door which is provided in the card insertion opening of the magnetic card reader 14 and prevents rainwater, dust, etc. from entering from the card insertion opening. The card reader indicator 15c indicates that the magnetic card reader 14 can read the magnetic card reader.

上記施錠スイッチ16a及び解錠スイッチ16bは室内
に設けられ、キーカードなしに電気錠12の施解錠を行
う際に手動操作されるものである。
The lock switch 16a and the unlock switch 16b are provided in the room and are manually operated when locking and unlocking the electric lock 12 without a key card.

上記RAM17は、CMOSメモリ又は無電源メモリに
より構成され、カード登録の際磁気カードリーダにより
読み取られた磁気カードの記録内容のうち所定の部分を
例えば10枚程度のカードについて記憶する記憶容量を
有する。
The RAM 17 is composed of a CMOS memory or a non-power supply memory, and has a storage capacity for storing a predetermined portion of the recorded contents of the magnetic card read by the magnetic card reader at the time of card registration, for example, about 10 cards.

上記操作部18は、磁気カードをキーカードとして登録
する際及び登録の確認をする際に使用する登録/確認
(WR/VER)キー18a、登録の消去の際及び登
録、消去操作の数量の際に使用する消去/終了(DEL
/END)キー18b、登録、消去及び確認の際RAM
17中のメモリポジションを指定するために使用するメ
モリポジション指定キー18c及び18dの他に、指定
されているメモリポジションの番号に対応する数字を登
録の有無により点滅又は常時点灯するメモリポジション
表示器18e、電源オン指示器18f、WR/VERキ
ー18aの操作により点灯し登録動作中を指示する登録
指示器18g並びにDEL/ENDキー18bの操作に
より点灯し消去動作中を指示する消去指示器18hを有
する。
The operation unit 18 is a registration / confirmation (WR / VER) key 18a used when registering a magnetic card as a key card and confirming the registration, when deleting the registration and when the number of registration and deletion operations is performed. Erase / End (DEL
/ END) key 18b, RAM for registration, deletion and confirmation
In addition to the memory position designating keys 18c and 18d used for designating the memory position in 17, a memory position indicator 18e which blinks or constantly lights a number corresponding to the designated memory position number depending on whether it is registered or not. A power-on indicator 18f, a registration indicator 18g that lights up by operating the WR / VER key 18a to indicate that the registration operation is in progress, and an erase indicator 18h that lights up by operating the DEL / END key 18b and indicates that the erase operation is in progress .

上記電話用インターフェース19は、任意の電話機19
aから宅内の電話機19bを呼び出すことに応答して任
意の電話機19aを電話回線19c、電話局19dを介
して制御部11に接続するためのものである。該インタ
ーフェース19を通じて任意の電話機19aに接続され
た制御部11は該任意の電話機19の例えば押ボタンダ
イヤル操作により発生されるダイヤル音の組合せにより
形成されるコードを識別して電気錠12の施解錠及びR
AM17内の任意の登録の消去を行う。
The telephone interface 19 is an arbitrary telephone 19
This is for connecting an arbitrary telephone 19a to the control unit 11 via a telephone line 19c and a telephone station 19d in response to calling a telephone 19b in the house from a. The control unit 11 connected to an arbitrary telephone 19a through the interface 19 identifies a code formed by a combination of dial sounds generated by, for example, a push button dial operation of the arbitrary telephone 19 to lock and unlock the electric lock 12. And R
Erase any registration in AM17.

電源回路20は商用電源AC100Vを整流平滑して安
定した直流電圧を磁気カードリーダ14、制御部11な
どに供給するためのもので、停電時に電気錠12の施解
錠が不能とならないようにバックアップ用電源としてバ
ッテリィ20aを備えている。
The power supply circuit 20 is for rectifying and smoothing the commercial power supply AC100V and supplying a stable DC voltage to the magnetic card reader 14, the control unit 11 and the like, and is for backup so that the electric lock 12 cannot be locked or unlocked in the event of a power failure. A battery 20a is provided as a power source.

上述した構成のカード式電気錠装置では、操作部18の
WR/VER18aを押圧操作した後磁気カードリーダ
14に手持ちの例えば銀行カード、クレジットカード等
のカードを順次挿入してそれらの記録内容を読み取らせ
る。これに応じて制御部11は、磁気カード1枚1枚が
読み取られる毎に、RAM17中に記録内容の所定の部
分を記憶させる。
In the card-type electric lock device having the above-described configuration, after pressing the WR / VER 18a of the operation unit 18, the card such as a bank card or a credit card that is in hand is sequentially inserted into the magnetic card reader 14 to read the recorded contents. Let In response to this, the control unit 11 causes the RAM 17 to store a predetermined portion of the recorded content each time each magnetic card is read.

因に、磁気カードの記録フォーマットはJIS、IOS
規格によって定められていて、所定数のバイトの所定位
置に記録すべき内容が予めある程度決められている。
The recording format of the magnetic card is JIS, IOS
It is defined by a standard, and the contents to be recorded at a predetermined position of a predetermined number of bytes are predetermined to some extent.

例えばJISII型と呼ばれる規格によって作成された銀
行カードでは、第3図(a)に示すように、1,71及び
72バイト目にそれぞれ開始符号、終了符号及びチェッ
クキャラクタが記録される他、8〜11バイトに銀行コ
ード、12〜15バイトに支店コード、16〜27バイ
トに口座番号が記録され、その他の部分を利用して暗証
番号、支払可能残高、支払限度額などの情報が記録され
ている。
For example, in a bank card created according to the standard called JISII type, as shown in FIG. 3 (a), a start code, an end code and a check character are recorded at bytes 1, 71 and 72, and A bank code is recorded in 11 bytes, a branch code is recorded in 12 to 15 bytes, an account number is recorded in 16 to 27 bytes, and information such as a personal identification number, a payable balance, and a payment limit is recorded by using other portions. .

一方、クレジットカードでは、第3図(b)に示すように
1,71及び72バイト目に開始符号、終了符号及びチ
ェックキャラクタがそれぞれ記録される他、8〜12バ
イトに会社コード、12〜27バイトに会員番号が記録
され、その他の部分に暗証番号、支払可能残高、支払限
度額などの記録が行われている。
On the other hand, in a credit card, a start code, an end code, and a check character are recorded at bytes 1, 71 and 72, respectively, as shown in FIG. The member number is recorded in the byte, and the personal identification number, payable balance, payment limit, etc. are recorded in other parts.

以上から明らかなように、JISII型の磁気カードは、
8〜27バイトには所持者に固有の番号を含む記録が行
われているため、磁気カードから読み取った記録内容の
うちこの固定の記録部分をRAM17が記憶することに
より、その磁気カードをキーカードとして登録すること
ができる。
As is clear from the above, the JISII type magnetic card
Since a record including a number unique to the holder is recorded in 8 to 27 bytes, the fixed recording portion of the recorded contents read from the magnetic card is stored in the RAM 17 so that the magnetic card can be used as a key card. Can be registered as.

なお、この登録に暗証番号も含めて記憶する方法も考え
られるが、安全上からこの部分は登録に使用しない方が
よい。
Although a method of storing the personal identification number in the registration is also conceivable, it is better not to use this part for registration for safety.

JISには、この他にI型と呼ばれるものもあるが、こ
の場合も、8〜27バイトに同様の内容が記録されるよ
うになっているため、I型及びII型の磁気カードを混用
しても何ら支障ない。
In addition to this, there is a type called JIS type I, but in this case as well, the same contents are recorded in 8 to 27 bytes. Therefore, type I and type II magnetic cards are mixed. But there is no problem.

第4図はRAM17の構成例を示し、1バイトからなり
0〜9メモリポジションを記憶する領域17aと各ポジ
ションに対応して設けられ登録の有無を示すキャラクタ
を記憶する領域17bと20バイトのデータを記憶する
領域17cとからなる。
FIG. 4 shows an example of the structure of the RAM 17, an area 17a consisting of 1 byte, which stores 0 to 9 memory positions, an area 17b which is provided corresponding to each position and which stores a character indicating the presence or absence of registration, and 20-byte data. Area 17c for storing

(動 作) 以上の構成において、制御部11が予め定めたプログラ
ムに従って行う動作の詳細を第5図乃至第10図に示す
フローチャートを参照して説明する。
(Operation) The details of the operation performed by the control unit 11 according to a predetermined program in the above configuration will be described with reference to the flowcharts shown in FIGS.

第5図は制御部11が通常動作しているメインルーチン
のフローチャートであり、電源の投入によりスタート
し、その最初のステップS1において初期化により各種
定数の設定を行い、続くステップS2において割込みの
解除を行って次の割込みの受付を行う。その後ステップ
S3において受付けた割込みが有るか否かを判定し、判
定がNOであればステップS2に戻り、再び割込みの受
け付けを行う。
FIG. 5 is a flow chart of the main routine in which the control unit 11 normally operates. The main routine starts when the power is turned on, various constants are set by initialization at the first step S1, and the interrupt is released at the subsequent step S2. To accept the next interrupt. After that, in step S3, it is determined whether or not there is an interrupt accepted. If the determination is NO, the process returns to step S2, and the interrupt is accepted again.

ステップS3の判定がYESであれば、続くステップS
4〜S7において、割込みが磁気カードの登録か、登録
の消去か、手動による施解錠か、カードによる自動施解
錠か否かを判定し、各判定においてYESのときには第
6図〜第9図の各割込みルーチンに進み、ステップS7
の判定がNOのときには電話による操作であると判断し
て第10図の割り込みルーチンに進む。
If the determination in step S3 is YES, the subsequent step S
In 4 to S7, it is determined whether the interruption is magnetic card registration, registration deletion, manual locking / unlocking, or automatic card locking / unlocking. When YES in each determination, the determination in FIGS. Go to each interrupt routine, step S7
When the determination is NO, it is determined that the operation is by telephone, and the process proceeds to the interrupt routine of FIG.

(1)登録動作 今、ステップS4の判定がYESのときには、第6図の
登録割込みルーチンに進む。このステップS4の判定
は、操作部19のWR/VERキー18aが押圧操作さ
れたことに応じて行われる。
(1) Registration Operation If the determination in step S4 is YES, the procedure goes to the registration interrupt routine of FIG. The determination in step S4 is made in response to the WR / VER key 18a of the operation unit 19 being pressed.

第6図の登録割込みルーチンでは、その最初のステップ
S401において登録指示器18gの点灯、120秒タ
イマの起動、メモリポジション表示器18eの数字表示
を行わせる。メモリポジション表示器18eの表示数字
はそれ以前に指定されているメモリポジションを表わ
し、そこに既に登録が行われていれば、点滅により、未
登録であれば常時点灯により表示が行われるようになっ
ている。
In the registration interrupt routine of FIG. 6, in the first step S401, the registration indicator 18g is turned on, the 120-second timer is activated, and the memory position indicator 18e is displayed numerically. The number displayed on the memory position indicator 18e indicates the memory position previously specified. If the registration has already been made there, the display blinks, and if it is not registered, the display is made constantly lit. ing.

今、メモリポジション表示器18eの表示が点滅により
行われているときには、そのメモリポジションが既に登
録に使用されていると判断し、未登録のメモリポジショ
ンをメモリポジション指定キー18c又は18dの押圧
操作により捜す。すなわち、指定キー18cを押圧操作
することで数字を大きくし、指定キー18dを押圧操作
することで数字を小さくし、このことによりRAMのメ
モリポジションを順次指定し、数字が常時点灯となる未
登録のメモリポジションを捜す。この表示器の数字を登
録しようとしている磁気カードの適当な位置に記録して
おくことにより、当該磁気カードについての登録を後に
消去する際に利用することができる。
Now, when the display of the memory position indicator 18e is blinking, it is determined that the memory position has already been used for registration, and an unregistered memory position is pressed by pressing the memory position designation key 18c or 18d. Look for. That is, the designated key 18c is pressed to increase the number, and the designated key 18d is pressed to decrease the number, whereby the RAM memory positions are sequentially designated, and the number is constantly illuminated. Search for memory positions. By recording the number on the display unit at an appropriate position of the magnetic card to be registered, it can be used when the registration of the magnetic card is deleted later.

上記ステップS401の終了後、ステップS402に進
みここでDEL/ENDキー18bが操作されたか否か
の判定を行う。このステップS402の判定がNOであ
れば、続くステップS403において磁気カードリーダ
14を動作状態にし磁気カードの記録内容を読み取った
か否かの判定を行う。この判定は読み取ったチェックキ
ャラクタにより読み取りが正常に行われたことを判断す
ることにより行われる。
After completion of step S401, the process proceeds to step S402 where it is determined whether or not the DEL / END key 18b has been operated. If the determination in step S402 is NO, in the following step S403, it is determined whether the magnetic card reader 14 is activated and the recorded contents of the magnetic card are read. This judgment is made by judging that the reading was normally performed by the read check character.

なお、磁気カードの登録に際し、磁気カードリーダ14
の開閉扉を開にすると、これに応じて扉連動スイッチ1
5aがオンするが、制御部11はこの扉連動スイッチ1
5aのオンに応じて磁気カードリーダ14の電源をオン
し、磁気カードリーダ14を使用可能にし、このことを
カードリーダ指示器15cの点灯により知らせる。
When registering the magnetic card, the magnetic card reader 14
When the opening / closing door of is opened, the door interlock switch 1
5a is turned on, but the control unit 11 uses the door interlock switch 1
In response to the turning on of 5a, the magnetic card reader 14 is turned on to enable the magnetic card reader 14, and this is notified by the lighting of the card reader indicator 15c.

磁気カードの記録内容が正常に読み取られステップS4
03の判定がYESとなると、次にステップS404に
進み、ここで読み取った記録内容のうちの所定の部分、
第3のフォーマットの磁気カードでは8〜27バイトの
記録部分をRAM17の指定されたメモリポジションに
書き込んで記憶すると共にメモリポジション表示器18
eを常時点灯から点滅点灯にする。
If the recorded contents of the magnetic card are normally read, step S4
When the determination result in 03 is YES, the process proceeds to step S404, and a predetermined portion of the recorded content read here,
In the magnetic card of the third format, the recording portion of 8 to 27 bytes is written and stored in the designated memory position of the RAM 17 and the memory position indicator 18
e is changed from the constant lighting to the flashing lighting.

その後続くステップS405においてタイマが起動から
120秒経過してオーバーフローしたか否かの判定を行
う。120秒タイマはその起動から120秒の間に登録
する磁気カードの記録を記憶するメモリポジションの指
定を行い、磁気カードリーダ14による磁気カードの正
常な読み取りを終わらせない限り、登録割込み動作を終
了させ元のメインルーチンに自動的に戻らせるためのも
のである。
In the subsequent step S405, it is determined whether or not the timer has overflowed 120 seconds after starting. The 120-second timer specifies the memory position for storing the record of the magnetic card to be registered within 120 seconds after its activation, and ends the registration interrupt operation unless the magnetic card reader 14 finishes the normal reading of the magnetic card. This is for automatically returning to the original main routine.

上記ステップS405の判定がNOのときは、ステップ
S406に進み、メモリポジション指定キー18cの操
作があったか否かの判定を行い、該ステップS406の
判定がNOのときにはステップS407に進みここでメ
モリポジション指定キー18dの操作が行われたか否か
の判定を行う。登録する磁気カードが1枚のときにはメ
モリポジション指定キー18c又は18dによるメモリ
ポジションの指定が行われることなく、登録の終了の
後、消去/終了キー18bを押圧操作するか、又は何の
操作も行われずに放置する。
When the determination in step S405 is NO, the process proceeds to step S406, and it is determined whether or not the memory position designation key 18c is operated. When the determination in step S406 is NO, the process proceeds to step S407, where the memory position designation is performed. It is determined whether or not the key 18d is operated. When the number of magnetic cards to be registered is one, the memory position is not designated by the memory position designation key 18c or 18d, and after the registration is completed, the erase / end key 18b is pressed or any operation is performed. Leave without leaving.

前者の場合には、ステップS406、S407の判定が
NOでステップS402に戻ったところで、このステッ
プS402での判定がYESとなり、この結果ステップ
S408に進みここで登録指示器18gを消灯し、続く
ステップS409において表示器18eを消灯した後、
メインルーチンのステップS2に戻り、割込みの解除を
行う。
In the former case, when the determinations in steps S406 and S407 are NO and the process returns to step S402, the determination in step S402 is YES, and as a result, the process proceeds to step S408 where the registration indicator 18g is turned off and the subsequent step After turning off the display 18e in S409,
Returning to step S2 of the main routine, the interrupt is released.

一方後者の場合には、ステップS407からステップS
402、S403、S405及びS406を繰返し実行
し、120秒経過し途中ステップS405における判定
がYESとなったところでステップS408、S409
を経てメインルーチンに戻る。
On the other hand, in the latter case, steps S407 to S407
When 402, S403, S405 and S406 are repeatedly executed and 120 seconds have passed and the determination in step S405 becomes YES on the way, steps S408 and S409.
Return to the main routine via.

複数枚の磁気カードを登録するときには、1枚目の磁気
カードの登録終了をメモリポジション表示器18eの点
滅点灯により知った後、次に登録する磁気カードの記録
内容を記憶するメモリポジションを捜すためメモリポジ
ション指定キー18c又は18dを押圧操作することに
なる。今、メモリポジション指定キー18cが操作され
たとすると、ステップS406の判定がYESとなり、
この結果ステップS410に進み、ここでポジション表
示器18eの数字を1増加する。そして次のステップS
411においてそのメモリポジションに登録が既に行わ
れているか否かによりメモリポジション表器18eの表
示を常時点灯又は点滅点灯させ、続くステップS412
において120秒タイマを再起動し、2枚目以降の登録
操作に必要な時間をセットする。メモリポジション指定
キー18dが操作されたときには、ステップS407の
判定YESとなり、続くステップS413においてポジ
ション表示器18eの数字を1減少した後、ステップS
411、S412を経てステップS402に戻り、上述
した各ステップを再び実行する。
When registering a plurality of magnetic cards, after the completion of registration of the first magnetic card is known by blinking lighting of the memory position indicator 18e, the memory position for storing the recorded content of the magnetic card to be registered next is searched for. The memory position designation key 18c or 18d is pressed. Now, if the memory position designation key 18c is operated, the determination in step S406 is YES,
As a result, the process proceeds to step S410, where the number on the position indicator 18e is incremented by 1. And the next step S
At 411, the display of the memory position indicator 18e is constantly turned on or blinked depending on whether or not the memory position has already been registered, and the subsequent step S412.
At, the 120-second timer is restarted and the time required for the registration operation for the second and subsequent sheets is set. When the memory position designation key 18d is operated, the determination in step S407 is YES, and in the subsequent step S413, the number on the position indicator 18e is decremented by 1 and then step S407.
After 411 and S412, the process returns to step S402, and the above steps are executed again.

(2)登録確認動作 以上は登録の場合について述べたが、各メモリポジショ
ンへの磁気カードの登録の確認を行うだけの場合にも上
述の割込みルーチンが使用できる。すなわち、WR/V
ERキー18aを押圧操作後メモリポジション指定キー
18c又は18dを操作し、メモリポジション表示器1
8eの表示数字の点滅の有無によりそのメモリポジショ
ンに登録がなされていないか否かの確認を行うことがで
きる。
(2) Registration Confirmation Operation So far, the case of registration has been described, but the above interrupt routine can also be used when only confirming the registration of the magnetic card at each memory position. That is, WR / V
After pressing the ER key 18a, the memory position designation key 18c or 18d is operated, and the memory position display 1
It is possible to confirm whether or not the memory position is not registered by checking whether or not the display numeral 8e blinks.

(3)消去動作 次に、ステップS5の判定がYESのときには、第7図
の消去割込みルーチンに進む。このステップS5の判定
は、操作部18のDEL/ENDキー18dが押圧操作
されたことの検知に応じて行われる。
(3) Erase Operation Next, if the determination in step S5 is YES, the process proceeds to the erase interrupt routine of FIG. The determination in step S5 is performed in response to the detection that the DEL / END key 18d of the operation unit 18 has been pressed.

第7図の消去割込みルーチンでは、その最初のステップ
S501において、消去指示器18hの点灯、120秒
タイマの起動、メモリポジション表器18eの数字表示
を行わせる。その後ステップS502においてDEL/
ENDキー18bが操作されたか否かの判定を行う。こ
のステップS502の判定がNOであれば続くステップ
S503において、登録消去のためのWR/VERキー
18a及びDEL/ENDキー18bの同時操作があっ
たか否かの判定を行う。この判定がYESのときは続く
ステップS504においてメモリポジション表示器18
eに表示されている数字のメモリポジションの記憶内容
をクリアして登録を消去すると共に点滅点灯していたメ
モリポジション表示器18eを常時点灯し、該ポジショ
ンに磁気カードの登録がないことを表示する。
In the erase interrupt routine of FIG. 7, in the first step S501, the erase indicator 18h is turned on, the 120-second timer is activated, and the memory position indicator 18e is displayed numerically. Then in step S502, DEL /
It is determined whether the END key 18b has been operated. If the determination in step S502 is NO, in a succeeding step S503, it is determined whether or not the WR / VER key 18a and the DEL / END key 18b for deleting registration are simultaneously operated. If this determination is YES, in the subsequent step S504, the memory position indicator 18
The stored contents of the memory position indicated by e are cleared to delete the registration and the memory position indicator 18e which is flashing and lit is constantly lit to indicate that the magnetic card is not registered at that position. .

上記ステップS503の判定がNOのときは、ステップ
S504を飛ばしステップS505に進み、ここでタイ
マが起動から120秒経過してオーバーフローしたか否
かの判定を行う。120秒タイマはその起動から20秒
の間消去すべきメモリポジションの変更がないときに消
去割込み動作を終了し、第5図のメインルーチンに自動
的に戻るためのものである。
When the determination in step S503 is NO, step S504 is skipped and the process proceeds to step S505, in which it is determined whether the timer has overflowed 120 seconds after starting. The 120-second timer is for ending the erase interrupt operation when there is no change in the memory position to be erased for 20 seconds after its activation, and automatically returning to the main routine of FIG.

上記ステップS505の判定がNOのときは、ステップ
S506に進み、メモリポジション指定キー18cの操
作があったか否かの判定を行い、該ステップS506の
判定がNOのときにはステップS507に進みここでメ
モリポジション指定キー18dの操作が行われたか否か
の判定を行う。
When the determination in step S505 is NO, the process proceeds to step S506, and it is determined whether or not the memory position designation key 18c is operated. When the determination in step S506 is NO, the process proceeds to step S507, where the memory position designation is performed. It is determined whether or not the key 18d is operated.

例えば現在のメモリポジション表示器18eの表示数字
が“4”のとき、消去すべきメモリポジションが“5”
のときにはメモリポジション指定キー18cが、“3”
のときにはメモリポジション指定キー18dがそれぞれ
操作されるので、ステップS506又はS507の判定
がYESとなり、それぞれステップS508又はS50
9に進み、ここでメモリポジション表示器18eの数字
を1増加又は1減少し、続くステップS510に進み、
ここで登録の有無を調べてその結果によりメモリポジシ
ョン表示器18eを点滅点灯又は常時点灯する。そして
次のステップS511においてタイマを再起動する。
For example, when the display number of the current memory position indicator 18e is "4", the memory position to be erased is "5".
, The memory position designation key 18c is "3"
, The memory position designation key 18d is operated, so that the determination in step S506 or S507 is YES, and step S508 or S50, respectively.
9, the number on the memory position indicator 18e is incremented or decremented by 1, and the process proceeds to step S510,
The presence / absence of registration is checked here, and the memory position indicator 18e is blinked or constantly illuminated depending on the result. Then, in the next step S511, the timer is restarted.

消去すべきメモリポジションを指定した後、WR/VE
Rキー18aとDEL/ENDキー18bの同時押圧に
より消去操作が行われることになるが、この操作が行わ
れるとステップS503の判定がYESとなり続くステ
ップS504において登録の消去とメモリポジション表
示器18eの表示が常時点灯に切換えられる。
After specifying the memory position to be erased, WR / VE
The erasing operation is performed by pressing the R key 18a and the DEL / END key 18b at the same time. If this operation is performed, the determination in step S503 is YES, and in step S504, the registration is erased and the memory position indicator 18e is displayed. The display is switched to constant lighting.

消去すべきメモリポジションが1つのときには、その後
ポジション指定キー18c又は18dによるポジション
の指定が行われることなく、消去の終了の後DEL/E
NDキー18bが押圧操作されるか、又は何の操作も行
われずに放置される。
When there is one memory position to be erased, the position is not designated by the position designation key 18c or 18d thereafter, and DEL / E is set after the erasing is completed.
The ND key 18b is pressed or left without any operation.

前者の場合には、ステップS506、S507の判定が
NOでステップS502に戻ったところで、このステッ
プS502での判定がYESとなり、この結果ステップ
S512に進みここで消去指示器18hを消灯し、続く
ステップ513において表示器18eを消灯した後、メ
インルーチンのステップ2に戻り、割込みの解除を行
う。
In the former case, when the determinations in steps S506 and S507 are NO and the process returns to step S502, the determination in step S502 is YES, and as a result, the process proceeds to step S512 where the erase indicator 18h is turned off, and the subsequent step After turning off the indicator 18e at 513, the process returns to step 2 of the main routine to cancel the interrupt.

一方後者の場合には、ステップS507からステップS
502、S503、S505及びS506を繰返し実行
し、途中ステップS505における判定がYESとなっ
たところでステップS512、S513を経て第5図の
メインルーチンに戻る。
On the other hand, in the latter case, steps S507 to S507
502, S503, S505 and S506 are repeatedly executed, and when the determination in step S505 becomes YES on the way, the process returns to the main routine of FIG. 5 via steps S512 and S513.

複数枚の登録消去するときには、1つ目の消去終了をポ
ジション表示器18eの常時点灯により知った後、次に
消去するメモリポジションを捜すためメモリポジション
指定キー18c又は18dが押圧操作されることにな
り、上述のステップS506又はS507の判定及び以
降の動作が繰返される。
When erasing a plurality of registrations, after the completion of the first erasure is known by constantly lighting the position indicator 18e, the memory position designation key 18c or 18d is pressed to search for the memory position to be erased next. Then, the determination in step S506 or S507 and the subsequent operation are repeated.

(4)手動施解錠 メインルーチン(第5図)中ステップS6の判定がYE
Sのときには、第8図の手動施解錠割込みルーチンに進
む。このステップS6の判定は、宅内に設けられた施錠
スイッチ16a又は解錠スイッチ16bの押圧操作によ
り行われる。
(4) Manual locking / unlocking The main routine (Fig. 5) is determined to be YES in step S6.
In the case of S, the routine proceeds to the manual locking / unlocking interrupt routine of FIG. The determination in step S6 is performed by pressing the lock switch 16a or the unlock switch 16b provided in the house.

第8図の手動施解錠割込みルーチンでは、その最初のス
テップS601において、操作されたスイッチが施錠ス
イッチ16aであるか否かの判定を行い、YESであれ
ばステップS602に進み施錠信号を出力し、NOであ
ればステップS603に進み解錠信号を出力した後、第
5図のメインルーチンに戻る。
In the manual locking / unlocking interrupt routine of FIG. 8, in the first step S601, it is determined whether or not the operated switch is the locking switch 16a, and if YES, the process proceeds to step S602 to output the locking signal, If NO, the process proceeds to step S603, the unlocking signal is output, and then the process returns to the main routine of FIG.

施錠信号又は解錠信号は電気錠12に送られ、これに応
じて電気錠12はこれら信号に応じた状態になる。な
お、例えば施錠状態にあるとき施錠信号を受けても電気
錠12はその状態が変わることがない。
The locking signal or the unlocking signal is sent to the electric lock 12, and the electric lock 12 is accordingly brought into a state corresponding to these signals. Note that, for example, even when the electric lock 12 receives a lock signal in the locked state, the electric lock 12 does not change its state.

(5)自動カード施解錠 第5図のメインルーチン中のステップS7の判定がYE
Sのときには、第9図の自動カード施解錠割込みルーチ
ンに進む。このステップS7の判定は磁気カードリーダ
14の開閉扉に連動した扉連動スイッチ15aのオンに
応答して行われる。
(5) Automatic card locking / unlocking The judgment in step S7 in the main routine of FIG. 5 is YE.
In the case of S, the routine proceeds to the automatic card locking / unlocking interrupt routine of FIG. The determination in step S7 is made in response to the turning on of the door interlocking switch 15a interlocking with the opening / closing door of the magnetic card reader 14.

第9図の自動カード施解錠割込みルーチンの最初のステ
ップS701において、磁気カードリーダ14の電源を
オンし、続くステップS702においてカードリーダ指
示器15cを点灯して磁気カードリーダ14が読み取り
可能であることを指示する。その後ステップS703に
おいて30秒タイマを起動する。
In the first step S701 of the automatic card locking / unlocking interrupt routine of FIG. 9, the magnetic card reader 14 is turned on, and in the subsequent step S702, the card reader indicator 15c is turned on so that the magnetic card reader 14 can read. Instruct. Then, in step S703, a 30-second timer is started.

30秒タイマを起動した後ステップS704に進みここ
で磁気カードリーダ14が磁気カードの読み取りを終了
したか否かの判定を行う。ステップS704の判定がY
ESの場合には続くステップS705において読み取り
が正常に行われたか否かを判定する。この判定は読み取
った磁気カードのチェックキャラクタに基づいて行われ
る。
After activating the 30-second timer, the process proceeds to step S704, where it is determined whether the magnetic card reader 14 has finished reading the magnetic card. The determination in step S704 is Y
In the case of ES, it is determined in subsequent step S705 whether or not the reading is normally performed. This determination is made based on the read check character of the magnetic card.

磁気カードの読み取りが正常に行われステップS705
の判定がYESのときはステップS706に進み、ここ
で読み取った磁気カードの記録内容のうち登録の際キー
項目として用いた8〜27バイトの部分を抜き出す。該
抜き出した項目をRAM17に記憶している登録データ
と順次比較してその結果一致するものが有るか否かをス
テップS707において判定する。YESであればステ
ップS708に進みここで一致する登録データを記憶し
ているメモリポジションをメモリポジション表示器18
eに点灯することにより表示する。その後、ステップS
709において施錠スイッチ15a、解錠スイッチ15
bのいずれが押圧操作されたかを判定し、施錠スイッチ
15aの場合にはステップS710に進み施錠信号を出
力し、解錠スイッチ15bの場合にはステップS11に
進み解錠信号を出力する。
The reading of the magnetic card is normally performed, and step S705 is performed.
If the determination is YES, the process proceeds to step S706, and the portion of 8 to 27 bytes used as a key item for registration is extracted from the recorded contents of the magnetic card read here. The extracted items are sequentially compared with the registration data stored in the RAM 17, and it is determined in step S707 whether or not there is a match. If YES, the process proceeds to step S708, where the memory position storing the matching registration data is set to the memory position display 18
Displayed by turning on e. After that, step S
709, lock switch 15a, unlock switch 15
It is determined which of the keys b is pressed, and if it is the lock switch 15a, the process proceeds to step S710 to output the lock signal, and if it is the unlock switch 15b, the process proceeds to step S11 to output the unlock signal.

以上は30秒以内に適正なキーカードを磁気カードリー
ダ14に読み取らせ、施錠スイッチ15a又は解錠スイ
ッチ15bを押圧操作したときの動作であるが、30秒
以内に磁気カードの読み取りが行われず、ステップS7
04の判定がNOとなると、ステップS713、S71
4に進み、カードリーダ指示器15cの消灯、磁気カー
ドリーダ14の電源オフをそれぞれ行った後、第5図の
メインルーチンに戻る。
The above is the operation when the proper key card is read by the magnetic card reader 14 within 30 seconds and the lock switch 15a or the unlock switch 15b is pressed, but the magnetic card is not read within 30 seconds, Step S7
If the determination of 04 is NO, steps S713 and S71.
4, the card reader indicator 15c is turned off and the magnetic card reader 14 is turned off, and then the process returns to the main routine of FIG.

磁気カードリーダ14により磁気カードの読取りが正常
に行われずエラーが生じた場合には、ステップS705
の判定がNOになり、ステップS715に進み、それ以
前にエラーが3回以上生じているか否かを判定する。エ
ラーが3回発生しておらず判定がNOであればステップ
S116に進みエラーカウンタに+1計数させてステッ
プS704に戻る。読み取り動作を4回行ってもエラー
が生じる場合にはステップS716の判定がYESとな
り、ステップS717に進みここで磁気カードリーダ1
4に磁気カードの排出を行わせた後ステップS713、
S714を経て第5図のメインルーチンに戻る。
If the magnetic card reader 14 does not read the magnetic card normally and an error occurs, step S705.
The determination is NO, the process proceeds to step S715, and it is determined whether an error has occurred three times or more before that. If the error has not occurred three times and the determination is NO, the process proceeds to step S116, the error counter is incremented by 1, and the process returns to step S704. If an error occurs even after performing the reading operation four times, the determination in step S716 becomes YES, and the flow advances to step S717, where the magnetic card reader 1
4 after ejecting the magnetic card to step S713,
After S714, the process returns to the main routine of FIG.

磁気カードリーダ14による磁気カードの読み取りが正
常に行われても読み取った磁気カードと一致する登録が
なくステップS707の判定がNOである場合には、ス
テップS717、S713、S714を経て第5図のメ
インルーチンに戻る。
Even if the magnetic card reader 14 normally reads the magnetic card, if there is no registration corresponding to the read magnetic card and the determination in step S707 is NO, the steps in steps S717, S713, and S714 of FIG. Return to the main routine.

(6)電話による操作 第5図のメインルーチン中のステップS7の判定がNO
のときには、第10図の電話操作割込みルーチンに進
む。これはステップS3において割込み有りとの判定が
行われたにも拘らず、ステップS4〜S7の判定がいず
れもNOであることによって行われる。なお、ステップ
S3の判定は電話用のインターフェース19が電話回線
19cを制御部11に接続することに応答して行う。
(6) Telephone operation No in step S7 in the main routine of FIG. 5
In case of, the routine proceeds to the telephone operation interruption routine of FIG. This is performed because the determinations in steps S4 to S7 are all NO although the determination that there is an interrupt is performed in step S3. The determination in step S3 is made in response to the telephone interface 19 connecting the telephone line 19c to the control unit 11.

第10図の電話操作割込みルーチンでは、その最初のス
テップS801において予め定められたパスワードの入
力が有るか否かを判定する。パスワードが例えば120
秒程度の所定時間内に入力されず判定がNOであれば、
他の目的で宅内の電話機19bが呼び出されたとして第
5図のメインルーチンに戻る。なお、パスワードは、電
話用インターフェース19として留守番電話が兼用され
ている場合には、「御用件をお話し下さい。ピー」とい
う音声に続いて押ボタン電話機19aの12個のテンキ
ーを所定の順序で押圧操作することにより入力できる。
In the telephone operation interruption routine of FIG. 10, it is determined in the first step S801 whether or not a predetermined password has been input. Password is 120
If it is not input within the predetermined time of about second and the judgment is NO,
Returning to the main routine of FIG. 5 assuming that the telephone set 19b in the home is called for another purpose. If the answering machine is also used as the telephone interface 19, the password is to press the 12 numeric keys of the push-button telephone 19a in a predetermined order following the voice "Please tell us what you need. It can be input by operating.

このパスワードの後、例えば*キー、#キーに続いて2
つのテンキーの押圧操作によって操作コードが入力さ
れ、これをステップS802〜S804において判断す
る。
After this password, for example, * key, # key followed by 2
An operation code is input by pressing one of the ten keys, and this is determined in steps S802 to S804.

まず、ステップS802において操作コードが施解錠コ
ードであるか否かを判定し、判定がYESであればステ
ップS803に進み施錠コードであるか否かを判定す
る。ステップS803の判定がYESであれば施錠信号
をステップS804において出力すると共にステップS
805において例えば「施錠しました」というような該
当する音声を設定し、続くステップS806において該
設定した音声による音声信号を電話用インターフェース
19に出力した後、第5図のメインルーチンに戻る。
First, in step S802, it is determined whether or not the operation code is the lock / unlock code, and if the determination is YES, the process proceeds to step S803 to determine whether or not the lock / unlock code. If the determination in step S803 is yes, a lock signal is output in step S804 and step S804.
In 805, a corresponding voice such as “locked” is set, and in the subsequent step S806, a voice signal with the set voice is output to the telephone interface 19, and then the process returns to the main routine of FIG.

上記ステップS803の判定がNOであるときには、解
錠コードであると判断してステップS807に進みここ
で解錠信号を出力した後、ステップS808において例
えば「解錠しました」というような音声を設定し、その
後ステップS806を経て第5図のメインルーチンに戻
る。
If the determination in step S803 is NO, it is determined that the code is an unlock code, the process proceeds to step S807, where an unlock signal is output, and then a voice such as "unlocked" is set in step S808. Then, after step S806, the process returns to the main routine of FIG.

上記ステップS802の判定がNOであるときにはステ
ップS809に進みここでパスワードに続くコードが消
去コードであるか否かを判定する。ステップS809の
判定がYESであるときにはステップS810において
消去コードに続いて入力される番号がメモリポジション
内のものか否かを判定し、YESであれば続くステップ
S811においてその番号に対応するメモリポジション
の記憶をクリアして登録を消去する。その後続くステッ
プS812において、例えば「メモリポジション○の登
録を消去しました」というような音声を設定し、該設定
した音声に基づきステップS806において音声信号を
出力した後第5図のメインルーチンに戻る。
When the determination in step S802 is NO, the process proceeds to step S809, in which it is determined whether the code following the password is an erase code. When the determination in step S809 is YES, it is determined in step S810 whether or not the number input after the erase code is within the memory position. If YES, in step S811, the memory position corresponding to the number is determined. Clear the memory and delete the registration. In the subsequent step S812, a voice such as "The registration of the memory position ○ has been deleted" is set, and a voice signal is output in step S806 based on the set voice, and then the process returns to the main routine of FIG.

消去コードが違っていたり、該当するメモリポジション
がなかったり、或いは指定されたメモリポジションに登
録がないときには、ステップS809、S810の判定
がNOとなり、これに応じてステップS813に進みこ
こでコード又はメモリポジション指定に誤りがある旨の
音声を設定した上でステップS806で該設定音声に基
づく音声信号を出力した後第5図のメインルーチン戻
る。
If the erase code is different, there is no corresponding memory position, or there is no registration in the specified memory position, the determinations in steps S809 and S810 are NO, and accordingly, the process proceeds to step S813 where the code or memory is stored. After the voice indicating that the position designation is erroneous is set, a voice signal based on the set voice is output in step S806, and then the process returns to the main routine of FIG.

なお、制御部11が音声信号発生機能を有していない場
合には、操作コードの受入れと拒否とを識別できる長音
又は短音の繰返し音により簡単に応答するようにするこ
ともできる。
If the control unit 11 does not have a voice signal generating function, it is possible to easily respond by a long sound or a short sound that can be used to discriminate between acceptance and rejection of the operation code.

(変形例) 上述の実施例では電話による操作は専用に設けた電話用
インターフェース19を介して行われるようになってい
るが、第2図で破線で示すように多くの端末がホームバ
ス30を介して接続されているホームコントローラ31
が設けられている場合には、電話用インターフェース1
9に代えて、ホームバスインターフェース32を介して
制御部11をホームバス30に接続し、ホームコントロ
ーラ用の電話用インターフェース33を介して電話によ
る操作を行うことも可能である。
(Modification) In the above-described embodiment, the telephone operation is performed via the telephone interface 19 provided exclusively, but as shown by the broken line in FIG. 2, many terminals use the home bus 30. Home controller 31 connected via
Telephone interface 1 if
Instead of 9, it is also possible to connect the control unit 11 to the home bus 30 via the home bus interface 32 and perform a telephone operation via the telephone interface 33 for the home controller.

第11図はホームバスからの操作の場合の制御部11の
動作のフローチャートを示す。すなわち、ホームバス3
0から何らかのコードが制御部11に入力されると制御
部11はメインルーチンからホームバス割込みルーチン
に飛び、その最初のステップS901においてコードが
施解錠コードであるか否かの判定を行う。判定がYES
のときは続くステップS902においてそれが解錠コー
ドであるか否かの判定を行う。ステップS902の判定
がYESのときはステップS903に進みここで解錠信
号を出力し、続くステップS904でホームコントロー
ラに対する回答のための解錠コードを設定し、ステップ
S905でこれを送信し、その後第5図のメインルーチ
ンのステップS2に戻る。
FIG. 11 shows a flowchart of the operation of the control unit 11 when operating from the home bus. That is, home bus 3
When some code is input to the control unit 11 from 0, the control unit 11 jumps from the main routine to the home bus interrupt routine, and in the first step S901, the control unit 11 determines whether or not the code is the locking / unlocking code. Judgment is YES
If it is, it is determined in step S902 whether or not it is an unlock code. When the determination in step S902 is YES, the process proceeds to step S903, an unlocking signal is output here, an unlocking code for reply to the home controller is set in subsequent step S904, and this is transmitted in step S905, and then the It returns to step S2 of the main routine of FIG.

上記ステップS902の判定がNOのときは施錠コード
であると判断してステップS906に進み、ここで施錠
信号を出力した後、続くステップS907で施錠コード
を設定し、これをステップS905でホームコントロー
ラに送信する。
If the determination in step S902 is NO, it is determined that the code is a lock code, the process proceeds to step S906, after outputting a lock signal here, the lock code is set in the following step S907, and this is set in the home controller in step S905. Send.

上記ステップS901の判定がNOのときは、ステップ
S908に進み、ここで消去コードであるか否かを判定
する。この判定かYESのときはステップS909に進
み、指定されたメモリポジションの記憶を消去し、その
後ステップS910で消去コードを設定し、これをステ
ップS905においてホームコントローラに送信する。
When the determination in step S901 is NO, the process proceeds to step S908, where it is determined whether the code is an erase code. If this determination is YES, the process proceeds to step S909, the memory of the designated memory position is erased, then the erase code is set in step S910, and this is transmitted to the home controller in step S905.

上記ステップS908の判定がNOのときはコードが誤
っているとしてステップS911でエラーコードを設定
し、これをステップS905においてホームコントロー
ラに送信する。
If the determination in step S908 is NO, it is determined that the code is incorrect and an error code is set in step S911, and this is transmitted to the home controller in step S905.

なお、上述の例では電話による操作のみをホームバスを
介して行っているが、登録、消去のための操作部18を
制御部11に直接接続せずホームバス30に接続すると
共に、制御部11もインターフェースを介してホームバ
ス30に接続し、ホームコントローラの制御のもとで電
気錠12の施解錠、登録、消去などを行うようにするこ
ともできる。
In the above example, only the telephone operation is performed via the home bus, but the operation unit 18 for registration and deletion is not directly connected to the control unit 11 but is connected to the home bus 30 and the control unit 11 is also connected. It is also possible to connect to the home bus 30 via the interface so that the electric lock 12 can be locked / unlocked, registered, erased, etc. under the control of the home controller.

〔効 果〕[Effect]

以上説明したように本発明によるカード式電気錠装置で
は、登録操作手段を手動操作しているとき、読み取り手
段で読み取った銀行用、クレジット用、郵便局用などの
予め記録が行われている既存のカード状記憶媒体の記録
内容を記憶できる記憶手段を有するので、既存のカード
をキーカードとして登録することが自由に行うことがで
きるようになり、このカードの兼用によってキーカード
を新たに作る必要がなくその分持ち歩くカード数を増や
さなくてもすむ。
As described above, in the card-type electric lock device according to the present invention, when the registration operation means is manually operated, pre-recorded data for the bank, the credit, the post office, etc. read by the reading means is already recorded. Since it has a storage means that can store the recorded contents of the card-shaped storage medium, it becomes possible to freely register an existing card as a key card, and it is necessary to newly create a key card by also using this card. There is no need to increase the number of cards to carry around.

また本発明による装置では、記録のため記憶した記憶手
段の内容を電話回線を介して消去することができるた
め、キーカードの紛失による事故を紛失に気付いた時点
で未然に防ぐことができる。
Further, in the device according to the present invention, the contents of the storage means stored for recording can be erased via the telephone line, so that an accident due to the loss of the key card can be prevented when the loss is noticed.

更にまた、本発明の装置では、電気錠の解錠を電話回線
を通じて行えるためキーカード紛失により解錠が行えな
くなることを防ぐことができるなどの効果が得られる。
Furthermore, in the device of the present invention, since the electric lock can be unlocked through the telephone line, it is possible to prevent the lock from being lost due to the loss of the key card.

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

第1図は本発明によるカード式電気錠装置の基本構成を
示すブロック図、第2図は本発明によるカード式電気錠
装置の一実施例を示す回路図、第3図(a)及び(b)は銀
行、クレジット用の磁気カードのフォーマットをそれそ
れ示す図、第4図はRAMの記憶領域の構成を示す図、
第5図乃至第10図は制御部の動作を示すフローチャー
ト図であり、第5図はメインルーチン、第6図は登録割
込みルーチン、第7図は消去割込みルーチン、第8図は
手動施解錠割込みルーチン、第9図は自動カード施解錠
割込みルーチン、第10図は電話操作割込みルーチンで
あり、及び第11図は一部変形例であるホームバス操作
割込みルーチンを示すフローチャート図である。 11a……比較手段(制御部)、11b……消去手段
(制御部)、11c……解錠手段(制御部)、12……
電気錠、13……カード状記憶媒体(磁気カード)、1
4……読み取り手段(磁気カードリーダ)、17……記
憶手段(RAM)、18a……登録操作手段(登録/確
認キー)、19c……電話回線。
FIG. 1 is a block diagram showing a basic configuration of a card type electric lock device according to the present invention, FIG. 2 is a circuit diagram showing an embodiment of a card type electric lock device according to the present invention, and FIGS. 3 (a) and 3 (b). ) Is a diagram showing the formats of magnetic cards for banks and credits, and FIG. 4 is a diagram showing the configuration of the storage area of the RAM.
5 to 10 are flowcharts showing the operation of the control unit. FIG. 5 is a main routine, FIG. 6 is a registration interrupt routine, FIG. 7 is an erase interrupt routine, and FIG. 8 is a manual locking / unlocking interrupt. Routine, FIG. 9 is an automatic card locking / unlocking interrupt routine, FIG. 10 is a telephone operation interrupt routine, and FIG. 11 is a flowchart showing a partially modified home bus operation interrupt routine. 11a ... Comparison means (control section), 11b ... Erasing means (control section), 11c ... Unlocking means (control section), 12 ...
Electric lock, 13 ... Card-shaped storage medium (magnetic card), 1
4 ... Reading means (magnetic card reader), 17 ... Storage means (RAM), 18a ... Registration operation means (registration / confirmation key), 19c ... Telephone line.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】銀行用、クレジット用、郵便局用などの予
め記録が行われている既存のカード状記憶媒体と、 該カード状記憶媒体の記録内容を読み取る読み取り手段
と、 該読み取り手段により読み取った記録内容を登録する際
に手動操作される登録手動手段と、 該登録手動手段が操作されているとき前記読み取り手段
により読み取られた記録内容を記憶する記憶手段と、 前記登録手動手段が操作されていないとき前記読み取り
手段により読み取られた記録内容と前記記憶手段に記憶
されている記録内容とを比較し、両者が所定の関係にあ
るとき信号を出力する比較手段と、 該比較手段からの信号により作動される電気錠と を備えることを特徴とするカード式電気錠装置。
1. An existing card-shaped storage medium in which recording is performed in advance for banks, credits, post offices, etc., a reading unit for reading the recorded contents of the card-shaped storage medium, and a reading unit for reading the recorded contents. Registration manual means that is manually operated when registering the recorded contents, storage means that stores the recorded contents read by the reading means when the registration manual means is operated, and the registration manual means is operated. If not, the recording content read by the reading means is compared with the recording content stored in the storage means, and a signal is output from the comparing means for outputting a signal when the two have a predetermined relationship. A card-type electric lock device, comprising:
【請求項2】予め記録が行われている既存のカード状記
憶媒体と、 該カード状記憶媒体の記録内容を読み取る読み取り手段
と、 該読み取り手段により読み取った記録内容を登録する際
に手動操作される登録操作手段と、 該登録操作手段が操作されているとき前記読み取り手段
により読み取られた記録内容を記憶する記憶手段と、 前記登録操作手段が操作されていないとき前記読み取り
手段により読み取られた記録内容と前記記憶手段に記憶
されている記録内容とを比較し、両者が所定の関係にあ
るとき信号を出力する比較手段と、 該比較手段からの信号により作動される電気錠と 電話回線を通じて入力される所定の信号に応じて前記記
憶手段の記憶を消去する信号を発生する消去手段と を備えることを特徴とするカード式電気錠装置。
2. An existing card-shaped storage medium in which recording is performed in advance, a reading unit for reading the recorded content of the card-shaped storage medium, and a manual operation for registering the recorded content read by the reading unit. Registration operation means, storage means for storing the record content read by the reading means when the registration operation means is operated, and record read by the reading means when the registration operation means is not operated The contents are compared with the recorded contents stored in the storage means, and the comparing means outputs a signal when the two have a predetermined relationship, and the electric lock operated by the signal from the comparing means and the input through the telephone line. Erasing means for generating a signal for erasing the memory of the memory means according to a predetermined signal.
【請求項3】予め記録が行われている既存のカード状記
憶媒体と、 該カード状記憶媒体の記録内容を読み取る読み取り手段
と、 該読み取り手段により読み取った記録内容を登録する際
に手動操作される登録操作手段と、 該登録操作手段が操作されているとき前記読み取り手段
により読み取られた記録内容を記憶する記憶手段と、 前記登録操作手段が操作されていないとき前記読み取り
手段により読み取られた記録内容と前記記憶手段に記憶
されている記録内容とを比較し、両者が所定の関係にあ
るとき信号を出力する比較手段と、 該比較手段からの信号により作動される電気錠と 電話回線を通じて入力される所定の信号に応じて前記電
気錠を解錠する信号を発生する解錠手段と を備えることを特徴とするカード式電気錠装置。
3. An existing card-shaped storage medium in which recording is performed in advance, a reading unit for reading the recorded content of the card-shaped storage medium, and a manual operation when registering the recorded content read by the reading unit. Registration operation means, storage means for storing the record content read by the reading means when the registration operation means is operated, and record read by the reading means when the registration operation means is not operated The contents are compared with the recorded contents stored in the storage means, and the comparing means outputs a signal when the two have a predetermined relationship, and the electric lock operated by the signal from the comparing means and the input through the telephone line. An unlocking means for generating a signal for unlocking the electric lock according to a predetermined signal.
【請求項4】前記カード状記録媒体が磁気カードからな
ることを特徴とする特許請求の範囲第(1)乃至第(3)項記
載のカード式電気錠装置。
4. The card-type electric lock device according to claim 1, wherein the card-shaped recording medium is a magnetic card.
JP61138154A 1986-06-16 1986-06-16 Card type electric lock device Expired - Lifetime JPH0633690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61138154A JPH0633690B2 (en) 1986-06-16 1986-06-16 Card type electric lock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61138154A JPH0633690B2 (en) 1986-06-16 1986-06-16 Card type electric lock device

Publications (2)

Publication Number Publication Date
JPS62296073A JPS62296073A (en) 1987-12-23
JPH0633690B2 true JPH0633690B2 (en) 1994-05-02

Family

ID=15215282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61138154A Expired - Lifetime JPH0633690B2 (en) 1986-06-16 1986-06-16 Card type electric lock device

Country Status (1)

Country Link
JP (1) JPH0633690B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009024427A (en) * 2007-07-20 2009-02-05 Panasonic Electric Works Co Ltd Electric lock control system, intercom system with electric lock control function

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2573710B2 (en) * 1990-02-22 1997-01-22 三菱電機株式会社 Access control system
JP2573709B2 (en) * 1990-02-22 1997-01-22 三菱電機株式会社 Access control system
JP2573714B2 (en) * 1990-03-26 1997-01-22 三菱電機株式会社 Access control system
JP2573724B2 (en) * 1990-06-05 1997-01-22 三菱電機株式会社 Access control system
JP2000356058A (en) * 1999-06-16 2000-12-26 Mitsubishi Electric Corp Traffic control device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5419167B2 (en) * 1973-06-28 1979-07-13
JPS5419167A (en) * 1977-07-14 1979-02-13 Tokyo Shibaura Electric Co Resin molded electric device
JPS5545944A (en) * 1978-09-29 1980-03-31 Hitachi Ltd Remotely controlled device for opening closing door
JPS5723300A (en) * 1980-07-17 1982-02-06 Hitachi Ltd Method of insulating metallic core of metallic core filled printed circuit board
JPS57127080A (en) * 1981-01-26 1982-08-07 Sharp Kk Electronic lock apparatus
JPS57169179A (en) * 1981-04-10 1982-10-18 Sanyo Electric Co Door controller
JPS5925064A (en) * 1982-07-31 1984-02-08 Keihin Seiki Mfg Co Ltd Starting system in multiple carburetor
JPS5980871A (en) * 1982-10-27 1984-05-10 日本警備保障株式会社 Key code register system for guard
JPS603376A (en) * 1983-05-31 1985-01-09 美和ロツク株式会社 Card lock apparatus in common door opening
JPS6158525A (en) * 1984-08-31 1986-03-25 井関農機株式会社 How to raise pot seedlings
JPS61138155A (en) * 1984-12-10 1986-06-25 Mitsubishi Electric Corp Air-fuel ratio detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009024427A (en) * 2007-07-20 2009-02-05 Panasonic Electric Works Co Ltd Electric lock control system, intercom system with electric lock control function

Also Published As

Publication number Publication date
JPS62296073A (en) 1987-12-23

Similar Documents

Publication Publication Date Title
US5225825A (en) Electronic interlock for storage assemblies
US4283710A (en) Security system
US4801787A (en) IC card identification system having first and second data identification functions
CA2429586C (en) An intelligent lock that can set a key code by itself, a key which can be used for many locks and a setting tool thereof
JP3557181B2 (en) IC card issuing system
JPH0633690B2 (en) Card type electric lock device
JPS584634A (en) Unlicensed driving preventive device
JPH10121805A (en) Card type electric lock device
GB2092862A (en) Recording and playback apparatus
KR20120007578A (en) Access control device of digital door lock and its control method
JPS58132859A (en) Magnetic card producing device
JP2608516B2 (en) Key storage device with key ring
JP2005078443A (en) Fingerprint verification device
KR200178476Y1 (en) Electric locking apparatus
JP2009133061A (en) Door unlocking device
EP0042699A1 (en) Improvements in recording and playback apparatus
JPS58575A (en) Electronic lock
CA2053544C (en) Electronic interlock for storage assemblies
JPS6048794B2 (en) Operator management registration method
JP2816738B2 (en) Time clock with entry control function
CN213069927U (en) Control circuit of intelligent door lock and intelligent door lock
JP2858835B2 (en) Information reading control device and registration / deletion method of individual information
JPH06203032A (en) Gate device and access control device
JPS6121281A (en) electric lock device
JPS594349Y2 (en) electronic register