JP2006104696A - Electronic key device and electronic key system - Google Patents

Electronic key device and electronic key system Download PDF

Info

Publication number
JP2006104696A
JP2006104696A JP2004289888A JP2004289888A JP2006104696A JP 2006104696 A JP2006104696 A JP 2006104696A JP 2004289888 A JP2004289888 A JP 2004289888A JP 2004289888 A JP2004289888 A JP 2004289888A JP 2006104696 A JP2006104696 A JP 2006104696A
Authority
JP
Japan
Prior art keywords
lock
mobile phone
electronic key
electronic
received
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.)
Pending
Application number
JP2004289888A
Other languages
Japanese (ja)
Inventor
Takashi Suzuki
孝 鈴木
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2004289888A priority Critical patent/JP2006104696A/en
Publication of JP2006104696A publication Critical patent/JP2006104696A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide electronic key devices enabling a user to unlock and lock a lock without delivering a key to the user and an electronic key system. <P>SOLUTION: This electronic key system comprises the electronic key device 201 unlocking and locking the lock when a lock ID received from the electronic key device 101 matches a lock ID stored beforehand and the electronic key device 101 connected to a cellular phone and transmitting/receiving signals with the cellular phone, capable of acquiring operation instructions accepted by the key switches of the cellular phone, and transmitting/receiving data with a server device connected to a cellular phone network as the communication network of the cellular phone by using the cellular phone. The electronic key device 101 transmits an ID change request to the server device by using the cellular phone when the ID change request for requesting the change of the lock ID of the electronic lock device is acquired from the cellular phone, and a new lock ID transmitted from the server device to the cellular phone is transmitted to store it in the electronic lock device. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、無線信号により電子錠を開閉することができる電子鍵装置、及び電子鍵システムに関する。   The present invention relates to an electronic key device and an electronic key system that can open and close an electronic lock by a radio signal.

従来、例えばウィークリーマンション等を賃貸する場合、マンションを管理する不動産業者は、賃貸契約を結んだユーザに賃貸するマンションの部屋の鍵を渡すことにより、ユーザがマンションの部屋を使用できるようになっている。   Conventionally, for example, when renting a weekly condominium, etc., a real estate agent who manages the condominium gives the user who has signed a lease contract the key of the condominium room to rent, so that the user can use the condominium room. Yes.

ところで、上述のような賃貸契約では、不動産業者がユーザに部屋の鍵を手渡しする必要があるため、賃貸契約に手間が掛かるという不都合があった。特に、ウィークリーマンション等賃貸期間が短く、頻繁にユーザが入れ替わるような場合には、鍵を手渡しする手間が増大するという不都合があった。   By the way, in the rental contract as described above, it is necessary for the real estate agent to hand over the room key to the user. In particular, when a rental period such as a weekly apartment is short and the user is frequently changed, there is an inconvenience that the time for handing over the keys increases.

本発明は、このような問題に鑑みて為された発明であり、ユーザに鍵を手渡しすることなくユーザが錠を解錠及び施錠することができる電子鍵装置、及び電子鍵システムを提供することを目的とする。   The present invention has been made in view of such problems, and provides an electronic key device and an electronic key system that allow a user to unlock and lock a lock without handing over the key to the user. With the goal.

上述の目的を達成するために、本発明の第1の手段に係る電子鍵装置は、錠を識別するための錠IDと前記錠の開閉を指示する開閉指示情報とを含む無線信号を受信し、当該受信した錠IDと予め設定されている錠IDとが一致した場合に当該受信した開閉指示情報に応じて前記錠の開閉を行う電子錠装置へ、前記無線信号を送信する電子鍵装置であって、前記電子錠装置へ前記無線信号を送信する送信部と、携帯電話機が備える外部インターフェイス部に接続可能に構成され、前記携帯電話機との間で信号の送受信を行う携帯電話インターフェイス部と、前記携帯電話機が備えるヒューマンインターフェイス部により受け付けられた操作指示を示す操作指示情報を、前記携帯電話インターフェイス部を介して受信し、前記携帯電話インターフェイス部を介して接続された前記携帯電話機を用いて前記携帯電話機の通信ネットワークである携帯電話ネットワークに接続されたサーバ装置との間でデータを送受信する制御部と、を備え、前記制御部は、前記携帯電話インターフェイス部を介して受信された操作指示情報が、前記電子錠装置に設定されている錠IDの変更を要求するID変更要求を示す場合に前記携帯電話機を用いて前記サーバ装置へ当該ID変更要求を送信させ、前記サーバ装置から前記携帯電話機へ送信された新たな錠IDを、前記携帯電話インターフェイス部を介して前記携帯電話機から受信し、前記携帯電話機から受信された新たな錠IDに前記電子錠装置に設定されている錠IDを変更させるID変更指示情報を含む無線信号を、前記送信部により前記電子錠装置へ送信させることを特徴としている。   To achieve the above object, an electronic key device according to the first means of the present invention receives a radio signal including a lock ID for identifying a lock and opening / closing instruction information for instructing opening / closing of the lock. An electronic key device that transmits the radio signal to an electronic lock device that opens and closes the lock according to the received opening / closing instruction information when the received lock ID matches a preset lock ID. A mobile phone interface unit configured to be connectable to an external interface unit included in the mobile phone, and to transmit and receive signals to and from the mobile phone; Operation instruction information indicating an operation instruction received by a human interface unit included in the mobile phone is received via the mobile phone interface unit, and the mobile phone interface A control unit that transmits and receives data to and from a server device connected to a mobile phone network, which is a communication network of the mobile phone, using the mobile phone connected via a chasing unit, When the operation instruction information received via the mobile phone interface unit indicates an ID change request for changing the lock ID set in the electronic lock device, the mobile phone is used to send the server device to the server device. The new lock ID transmitted from the server device to the mobile phone is received from the mobile phone via the mobile phone interface unit, and the new lock ID received from the mobile phone is transmitted. A radio signal including ID change instruction information for changing the lock ID set in the electronic lock device to an ID is sent by the transmitter to the electronic It is characterized in that to transmit to the device.

また、本発明の第2の手段に係る電子鍵システムは、錠と、前記錠を識別するための錠IDの設定を記憶するID記憶部と、動作を指示する指示情報と前記錠IDとを含む無線信号を受信する受信部と、前記受信部により受信された無線信号に含まれる錠IDと予め設定されている錠IDとが一致し、かつ当該無線信号に含まれる指示情報が前記ID記憶部に記憶されている錠IDを新たな錠IDに変更すべき旨を示すID変更指示情報であった場合に前記ID記憶部に記憶されている錠IDを新たな錠IDに変更すると共に、前記受信部により受信された無線信号に含まれる錠IDと予め設定されている錠IDとが一致し、かつ当該無線信号に含まれる指示情報が前記錠の開閉を指示する開閉指示情報であった場合に当該開閉指示情報に応じて前記錠に開閉動作を行わせる制御部と、を備える電子錠装置と、前記電子錠装置へ前記無線信号を送信する電子鍵装置と、前記電子鍵装置と接続される携帯電話機と、前記携帯電話機の通信ネットワークである携帯電話ネットワークに接続され、前記携帯電話機から前記電子錠装置に設定されている錠IDの変更を指示するID変更指示を示す信号を受信した場合に、前記携帯電話機へ新たな錠IDを送信するサーバ装置と、を備え、前記電子鍵装置は請求項1記載の電子鍵装置であることを特徴としている。   The electronic key system according to the second means of the present invention includes a lock, an ID storage unit for storing a lock ID setting for identifying the lock, instruction information for instructing an operation, and the lock ID. A receiving unit that receives a wireless signal including the lock ID included in the wireless signal received by the receiving unit matches a preset lock ID, and the instruction information included in the wireless signal is stored in the ID storage When the lock ID stored in the unit is ID change instruction information indicating that the lock ID should be changed to a new lock ID, the lock ID stored in the ID storage unit is changed to a new lock ID, The lock ID included in the wireless signal received by the receiving unit matches a preset lock ID, and the instruction information included in the wireless signal is opening / closing instruction information for instructing opening / closing of the lock. In response to the opening / closing instruction information. And an electronic lock device that controls the lock to open and close, an electronic key device that transmits the radio signal to the electronic lock device, a mobile phone connected to the electronic key device, and the portable When a signal indicating an ID change instruction for instructing to change the lock ID set in the electronic lock device is received from the mobile phone connected to a mobile phone network that is a communication network of the phone, And a server device that transmits a lock ID, wherein the electronic key device is the electronic key device according to claim 1.

そして、上述の電子鍵システムにおいて、前記携帯電話機は、前記電子鍵装置からの前記ID変更指示を示す信号と共に当該携帯電話機を識別するための携帯IDを前記サーバ装置へ送信するものであり、前記サーバ装置は、登録ユーザの携帯電話機を識別するための携帯IDを記憶する携帯ID記憶部を備え、前記携帯電話機からID変更指示と当該携帯電話機の携帯IDとを示す信号を受信し、かつ当該受信した携帯IDと携帯ID記憶部に記憶されている携帯IDとが一致した場合に、前記携帯電話機へ新たな錠IDを送信することを特徴としている。   In the electronic key system, the mobile phone transmits a mobile ID for identifying the mobile phone to the server device together with a signal indicating the ID change instruction from the electronic key device, The server device includes a mobile ID storage unit that stores a mobile ID for identifying a mobile phone of a registered user, receives a signal indicating an ID change instruction and a mobile ID of the mobile phone from the mobile phone, and When the received mobile ID matches the mobile ID stored in the mobile ID storage unit, a new lock ID is transmitted to the mobile phone.

さらに、上述の電子鍵システムにおいて、前記電子鍵装置は、前記ID変更指示と前記錠の錠IDとを前記携帯電話機によって前記サーバ装置へ送信し、前記携帯ID記憶部は、前記錠IDをさらに予め記憶し、前記サーバ装置は、前記携帯電話機からID変更指示と前記錠の錠IDと当該携帯電話機の携帯IDとを示す信号を受信し、かつ当該受信した携帯ID及び錠IDと携帯ID記憶部に記憶されている携帯ID及び錠IDとが一致した場合に、前記携帯電話機へ新たな錠IDを送信することを特徴としている。   Furthermore, in the above electronic key system, the electronic key device transmits the ID change instruction and the lock ID of the lock to the server device by the mobile phone, and the mobile ID storage unit further transmits the lock ID. The server device stores in advance, the server device receives an ID change instruction, a signal indicating the lock ID of the lock, and a mobile ID of the mobile phone from the mobile phone, and stores the received mobile ID, lock ID, and mobile ID. When the mobile ID and the lock ID stored in the unit coincide with each other, a new lock ID is transmitted to the mobile phone.

このような構成の電子鍵装置及び電子鍵システムは、電子鍵装置における制御部によって、携帯電話インターフェイス部を介して受信された操作指示情報が電子錠装置に設定されている錠IDの変更を要求するID変更要求を示す場合に携帯電話機を用いてサーバ装置へ当該ID変更要求が送信される。そして、制御部によって、サーバ装置から携帯電話機へ送信された新たな錠IDが、携帯電話インターフェイス部を介して携帯電話機から受信され、携帯電話機から受信された新たな錠IDに電子錠装置に設定されている錠IDを変更させるID変更指示情報を含む無線信号が、送信部により電子錠装置へ送信される。さらに、電子錠装置によって、変更された新たな錠IDと開閉指示情報とが受信された場合に、開閉指示情報に応じて錠の開閉が行われるので、ユーザは、鍵を直接受け取ることなく携帯電話機と電子鍵装置とを用いて新たな錠IDを取得することにより、当該新たな錠IDを用いて錠を解錠及び施錠することができる。   In the electronic key device and the electronic key system configured as described above, the operation instruction information received via the mobile phone interface unit is requested by the control unit in the electronic key device to change the lock ID set in the electronic lock device. The ID change request is transmitted to the server device using the mobile phone when indicating the ID change request to be performed. Then, the new lock ID transmitted from the server device to the mobile phone by the control unit is received from the mobile phone via the mobile phone interface unit, and set to the new lock ID received from the mobile phone in the electronic lock device. A wireless signal including ID change instruction information for changing the lock ID being sent is transmitted to the electronic lock device by the transmission unit. Further, when a new changed lock ID and opening / closing instruction information are received by the electronic lock device, the lock is opened / closed according to the opening / closing instruction information, so that the user can carry the mobile phone without receiving the key directly. By acquiring a new lock ID using the telephone and the electronic key device, the lock can be unlocked and locked using the new lock ID.

以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の符号を付した構成は、同一の構成であることを示し、その説明を省略する。図1は、本発明の一実施形態に係る電子鍵システムの構成の一例を示すブロック図である。図1に示す電子鍵システム1は、電子鍵装置101と、電子錠装置201とを備えている。そして、電子鍵装置101は、携帯電話機301に接続されている。携帯電話機301の携帯電話事業者が管理する携帯電話ネットワーク401には、例えばルータ402を介してLAN(Local Area Network)403が接続され、LAN403にはID管理サーバ404が接続されている。電子錠装置201は、例えばウィークリーマンションの部屋の鍵として用いられており、予め電子錠装置201を識別するための初期ID(identification)が設定されている。   Embodiments according to the present invention will be described below with reference to the drawings. In addition, the structure which attached | subjected the same code | symbol in each figure shows that it is the same structure, The description is abbreviate | omitted. FIG. 1 is a block diagram showing an example of the configuration of an electronic key system according to an embodiment of the present invention. The electronic key system 1 shown in FIG. 1 includes an electronic key device 101 and an electronic lock device 201. The electronic key device 101 is connected to the mobile phone 301. For example, a LAN (Local Area Network) 403 is connected to a mobile phone network 401 managed by a mobile phone carrier of the mobile phone 301 via a router 402, and an ID management server 404 is connected to the LAN 403. The electronic lock device 201 is used, for example, as a key of a weekly apartment room, and an initial ID (identification) for identifying the electronic lock device 201 is set in advance.

図2は、電子鍵装置101と携帯電話機301との構成の一例を示すブロック図である。図2に示す電子鍵装置101は、例えば不揮発性のメモリであるROM(Read Only Memory)や書き換え可能なEEPROM(Electrically Erasable and Programmable Read Only Memory)等を用いて構成された記憶部105と、例えばマイクロコンピュータを用いて構成された制御部106と、例えばステートマシンやマイクロコンピュータ等を用いて構成されたCRC計算部107と、制御部106から出力された送信信号を例えばHF帯、VHF帯、UHF帯、マイクロ波及びミリ波帯等の無線信号に変換する送信部108と、送信部108からの無線信号を放射すると共に電子錠装置201から放射された無線信号を受信するアンテナ109と、アンテナ109で受信された無線信号を復調して制御部106へ出力する受信部111と、携帯電話インターフェイス部112と、を備えている。   FIG. 2 is a block diagram illustrating an example of the configuration of the electronic key device 101 and the mobile phone 301. An electronic key device 101 shown in FIG. 2 includes a storage unit 105 configured using, for example, a ROM (Read Only Memory) that is a nonvolatile memory, a rewritable EEPROM (Electrically Erasable and Programmable Read Only Memory), and the like, A control unit 106 configured using a microcomputer, a CRC calculation unit 107 configured using, for example, a state machine or a microcomputer, and a transmission signal output from the control unit 106 are transmitted to, for example, HF band, VHF band, UHF A transmitter 108 for converting the radio signal into a band, a microwave, a millimeter wave band, or the like; an antenna 109 that radiates a radio signal from the transmitter 108 and receives a radio signal radiated from the electronic lock device 201; A reception unit 111 that demodulates the radio signal received by the mobile phone and outputs the demodulated signal to the control unit 106; It includes a chair unit 112, a.

送信部108は、例えば変調回路、周波数変換回路、ローカル信号発振回路、バンドパスフィルタ回路等を用いて構成される公知の送信回路である。受信部111は、例えばローノイズアンプ、周波数変換回路、ローカル信号発振回路、バンドパスフィルタ回路、中間周波数増幅回路、及び復調回路等を用いて構成される公知の受信回路である。携帯電話インターフェイス部112は、制御部106によって入出力される信号を、携帯電話機301の外部インターフェイス部302により入出力される信号形式に変換し、制御部106と携帯電話機301との間でデータ送受信を可能にするインターフェイス回路である。具体的には、携帯電話インターフェイス部112は、例えば制御部106の入出力信号をシリアル変換したり、信号レベルを変換したり、データバス幅を変換したり、タイミングを調整したりする等、外部インターフェイス部302により入出力可能な信号形式に変換するものであればよい。   The transmission unit 108 is a known transmission circuit configured using, for example, a modulation circuit, a frequency conversion circuit, a local signal oscillation circuit, a band pass filter circuit, and the like. The reception unit 111 is a known reception circuit configured using, for example, a low noise amplifier, a frequency conversion circuit, a local signal oscillation circuit, a bandpass filter circuit, an intermediate frequency amplification circuit, and a demodulation circuit. The mobile phone interface unit 112 converts a signal input / output by the control unit 106 into a signal format input / output by the external interface unit 302 of the mobile phone 301, and transmits / receives data between the control unit 106 and the mobile phone 301. It is an interface circuit that makes possible. Specifically, the mobile phone interface unit 112 converts the input / output signal of the control unit 106 serially, converts the signal level, converts the data bus width, adjusts the timing, etc. Any signal may be used as long as it can be converted into a signal format that can be input / output by the interface unit 302.

図3は、図1に示す電子錠装置201の構成の一例を示すブロック図である。図3に示す電子錠装置201は、例えばウィークリーマンションのドアに取り付けられており、電子鍵装置101との間で無線信号を送受信するアンテナ202と、アンテナ202で受信された無線信号を復調してシフトレジスタ204とCRC計算部205とに出力する受信部203と、受信部203からの受信信号をパラレル変換して記憶するシフトレジスタ204と、受信信号のCRC(Cyclic Redundancy Check)を計算するCRC計算部205と、例えば不揮発性のメモリであるROMや書き換え可能なEEPROM等を用いて構成され、当該電子錠装置201に固有の初期IDや現在時点において当該電子錠装置201を識別するために用いられているカレントID(錠ID)等のID番号を記憶する記憶部206と、シフトレジスタ204によりパラレル変換されたID番号と記憶部206に記憶されているカレントIDとを比較するマッチング部207と、例えばマイクロコンピュータを用いて構成された制御部208と、電子錠装置201内の各部に動作用電源電圧を供給する例えば電池や商用電源を用いて構成された電源部210と、アクチュエータ211と、錠機構部212とを備えている。   FIG. 3 is a block diagram showing an example of the configuration of the electronic lock device 201 shown in FIG. An electronic lock device 201 shown in FIG. 3 is attached to a door of a weekly apartment, for example, and demodulates a radio signal received by the antenna 202 that transmits / receives a radio signal to / from the electronic key device 101. Receiving unit 203 that outputs to shift register 204 and CRC calculating unit 205, shift register 204 that converts and stores the received signal from receiving unit 203 in parallel, and CRC calculation that calculates a CRC (Cyclic Redundancy Check) of the received signal The unit 205 is configured using, for example, a ROM that is a non-volatile memory, a rewritable EEPROM, or the like, and is used to identify the electronic lock device 201 at an initial ID unique to the electronic lock device 201 or at the current time point. A storage unit 206 for storing an ID number such as a current ID (lock ID) and a shift register 2 4, the matching unit 207 that compares the ID number converted in parallel with the current ID stored in the storage unit 206, the control unit 208 configured using, for example, a microcomputer, and each unit in the electronic lock device 201 For example, a power supply unit 210 configured using a battery or a commercial power supply for supplying an operation power supply voltage, an actuator 211, and a lock mechanism unit 212 are provided.

受信部203及び送信部209は、例えば図2に示す受信部111及び送信部108と同様に構成されている。錠機構部212は、例えばウィークリーマンションのドアに取り付けられたデッドボルト等の錠前機構である。アクチュエータ211は、例えばソレノイドやモータ等の駆動部であり、制御部208からの制御信号に応じて錠機構部212を駆動し、錠の開閉を行う。なお、電子錠装置201は、例えば図4に示すドア221のようにウィークリーマンションのドアに取り付けられる例に限られず、例えばロッカー222の錠前として用いられたり、例えば南京錠223のように個別の錠前装置として用いられてもよい。   The reception unit 203 and the transmission unit 209 are configured similarly to the reception unit 111 and the transmission unit 108 illustrated in FIG. 2, for example. The lock mechanism 212 is a lock mechanism such as a dead bolt attached to a door of a weekly apartment. The actuator 211 is a drive unit such as a solenoid or a motor, for example, and drives the lock mechanism unit 212 according to a control signal from the control unit 208 to open and close the lock. The electronic lock device 201 is not limited to an example of being attached to a door of a weekly apartment such as the door 221 shown in FIG. 4. For example, the electronic lock device 201 is used as a lock of the locker 222 or an individual lock device such as a padlock 223. May be used as

携帯電話機301は、図4に示すように、ヒューマンインターフェイス部の一例である例えば液晶表示器を用いて構成された表示部303と例えば複数のキースイッチを用いて構成された操作部304と、前述した図2に示す外部インターフェイス部302とを備えている。   As shown in FIG. 4, the mobile phone 301 is an example of a human interface unit, for example, a display unit 303 configured using a liquid crystal display, an operation unit 304 configured using a plurality of key switches, and the like. The external interface unit 302 shown in FIG. 2 is provided.

図1に戻って携帯電話ネットワーク401は、携帯電話事業者が管理する携帯電話機301からアクセス可能な通信ネットワークであり、例えば(株)NTTドコモが提供するDoPa(登録商標)を用いることができる。ルータ402は、通信信号の経路選択(ルーティング)を行って、携帯電話ネットワーク401をユーザが管理するLAN403へ接続するためのルータ装置である。ID管理サーバ404は、例えばパーソナルコンピュータやハードディスク装置等を用いて構成されたサーバ装置で、例えばハードディスク装置に予め記憶された制御プログラムを実行することにより、電子錠装置201に設定されるカレントIDを管理する。   Returning to FIG. 1, the mobile phone network 401 is a communication network that can be accessed from the mobile phone 301 managed by the mobile phone operator. For example, DoPa (registered trademark) provided by NTT DoCoMo, Inc. can be used. The router 402 is a router device for selecting a communication signal route and connecting the cellular phone network 401 to the LAN 403 managed by the user. The ID management server 404 is a server device configured using, for example, a personal computer or a hard disk device, and the current ID set in the electronic lock device 201 by executing a control program stored in advance in the hard disk device, for example. to manage.

また、ID管理サーバ404は、例えばハードディスク装置を用いて構成されたID管理記憶部405を備えている。ID管理記憶部405には、例えば図5に示すように、管理対象となる電子錠装置201毎に付与されている固有の初期ID451と、電子鍵装置101を識別するためのカレントID452と、その初期ID451を有する電子錠装置201を使用するユーザ(例えばウィークリーマンションを契約したユーザ)の携帯電話機301の電話番号453とが対応付けられて記憶されている。また、初期状態では、初期ID451とカレントID452とは等しくされている。この場合、電話番号453は携帯IDの一例である。   The ID management server 404 includes an ID management storage unit 405 configured using, for example, a hard disk device. In the ID management storage unit 405, for example, as shown in FIG. 5, a unique initial ID 451 assigned to each electronic lock device 201 to be managed, a current ID 452 for identifying the electronic key device 101, and its The telephone number 453 of the mobile phone 301 of the user who uses the electronic lock device 201 having the initial ID 451 (for example, the user who contracts the weekly apartment) is stored in association with each other. In the initial state, the initial ID 451 and the current ID 452 are equal. In this case, the telephone number 453 is an example of a mobile ID.

次に、図1に示す電子鍵システム1の動作を説明する。まず、電子錠装置201へのカレントIDの登録処理を説明する。電子鍵システム1は、例えばウィークリーマンションを契約したユーザが、賃貸契約を行った部屋のドア221に取り付けられた電子錠装置201を解錠及び施錠することができるようにするシステムである。そして、例えば、電子錠装置201がウィークリーマンションのドアの錠前として用いられている。また、電子錠装置201における記憶部206には、予め電子錠装置201毎に固有の初期IDと、電子鍵装置101を識別するためのカレントIDとが記憶されている。カレントIDは、初期状態では初期IDと等しくされている。   Next, the operation of the electronic key system 1 shown in FIG. 1 will be described. First, a process for registering a current ID in the electronic lock device 201 will be described. The electronic key system 1 is a system that enables a user who has contracted a weekly apartment, for example, to unlock and lock the electronic lock device 201 attached to the door 221 of the room in which the lease contract was made. For example, an electronic lock device 201 is used as a lock for a door of a weekly apartment. The storage unit 206 of the electronic lock device 201 stores an initial ID unique to each electronic lock device 201 and a current ID for identifying the electronic key device 101 in advance. The current ID is equal to the initial ID in the initial state.

また、ウィークリーマンションを管理する管理者は、例えば賃貸契約を結んだ部屋のドア221に取り付けられた電子錠装置201の初期ID451と、初期ID451に等しいカレントID452と、契約ユーザが所有する携帯電話機301の電話番号453とを、例えばID管理サーバ404が備えるキーボードを用いて入力し、ID管理記憶部405に記憶させる。また、ウィークリーマンションを契約したユーザは、自分の携帯電話機301が備える外部インターフェイス部302に、電子鍵装置101を接続する。   Further, the manager who manages the weekly apartment, for example, the initial ID 451 of the electronic lock device 201 attached to the door 221 of the room in which the rental contract is concluded, the current ID 452 equal to the initial ID 451, and the mobile phone 301 owned by the contract user. Is entered using the keyboard of the ID management server 404 and stored in the ID management storage unit 405. In addition, the user who has contracted the weekly apartment connects the electronic key device 101 to the external interface unit 302 provided in his / her mobile phone 301.

そして、ユーザは、例えば携帯電話事業者が提供する通信サービスを利用して、携帯電話機301に例えばJavaアプレット(Javaは登録商標)で作成された、ユーザの操作指示を受け付けたり、携帯電話ネットワーク401を介してID管理サーバ404との間でデータ送受信を行ったりするための携帯電話制御用プログラムを、例えば携帯電話事業者が管理するプログラムダウンロード用のサーバ装置からダウンロードする。あるいは、携帯電話制御用プログラムは、電子鍵装置101が備える記憶部105に記憶されており、携帯電話機301は、記憶部105に記憶されている携帯電話制御用プログラムを実行する構成であってもよい。   Then, the user receives a user's operation instruction created by, for example, a Java applet (Java is a registered trademark) on the mobile phone 301 by using a communication service provided by a mobile phone provider, or the mobile phone network 401. For example, a mobile phone control program for transmitting and receiving data to and from the ID management server 404 is downloaded from, for example, a program download server device managed by a mobile phone operator. Alternatively, the mobile phone control program is stored in the storage unit 105 included in the electronic key device 101, and the mobile phone 301 is configured to execute the mobile phone control program stored in the storage unit 105. Good.

図6は、電子鍵システム1の動作を説明するためのフローチャートである。まず、ユーザによって、電子鍵装置101を取り付けた携帯電話機301の操作部304が操作され、操作部304によって、電子錠装置201の初期IDと電子錠装置201におけるカレントIDの変更を要求するID変更要求とが受付られる(ステップS101)。初期IDは、例えばウィークリーマンションの賃貸契約書に記載されていたり、あるいは電子錠装置201が南京錠223のような形態であれば南京錠223の筐体に記載される等により、ユーザが取得可能にされている。   FIG. 6 is a flowchart for explaining the operation of the electronic key system 1. First, the user operates the operation unit 304 of the mobile phone 301 to which the electronic key device 101 is attached, and the operation unit 304 changes the initial ID of the electronic lock device 201 and the ID change requesting the change of the current ID in the electronic lock device 201. The request is accepted (step S101). The initial ID can be acquired by the user, for example, by being described in a rental contract of a weekly apartment or by being described in the case of the padlock 223 if the electronic lock device 201 has a form such as a padlock 223. ing.

そして、操作部304によって受け付けられた初期IDとID変更要求とを示す指示信号(操作指示情報)が、図2に示す携帯電話機301における外部インターフェイス部302と電子鍵装置101における携帯電話インターフェイス部112とを介して制御部106によって取得され、制御部106により、初期IDと、電子錠装置201のカレントIDを要求するカレントID要求コマンドと、CRC計算部107で算出されたCRCとを含む通信フレームが生成されて送信部108へ出力され、送信部108によって、通信フレームが無線信号に変換され、アンテナ109から空間へ放出される(ステップS102)。   Then, the instruction signal (operation instruction information) indicating the initial ID and the ID change request received by the operation unit 304 is sent to the external interface unit 302 in the mobile phone 301 and the mobile phone interface unit 112 in the electronic key device 101 shown in FIG. The communication frame including the initial ID, the current ID request command for requesting the current ID of the electronic lock device 201, and the CRC calculated by the CRC calculation unit 107. Is generated and output to the transmission unit 108, and the transmission unit 108 converts the communication frame into a radio signal, which is emitted from the antenna 109 to the space (step S102).

次に、図3に示す電子錠装置201において、電子鍵装置101におけるアンテナ109から空間へ放出された無線信号が、電子錠装置201におけるアンテナ202により受信され、受信部203により無線信号が通信フレームに復調される。そして、復調された通信フレームが、1ビットずつシフトしながらシフトレジスタ204で記憶されると共にCRC計算部205でCRCが計算される。   Next, in the electronic lock device 201 shown in FIG. 3, the wireless signal emitted from the antenna 109 in the electronic key device 101 to the space is received by the antenna 202 in the electronic lock device 201, and the wireless signal is transmitted to the communication frame by the receiving unit 203. Demodulated. The demodulated communication frame is stored in the shift register 204 while being shifted bit by bit, and the CRC calculation unit 205 calculates the CRC.

そして、シフトレジスタ204に初期IDが格納されると、マッチング部207によって、シフトレジスタ204に格納された初期IDと記憶部206に記憶されている電子錠装置201のカレントIDとが比較され、その比較結果を示す信号が制御部208へ送信される。この場合、カレントIDは初期状態であるので、カレントIDと初期IDは等しくされている。   When the initial ID is stored in the shift register 204, the matching unit 207 compares the initial ID stored in the shift register 204 with the current ID of the electronic lock device 201 stored in the storage unit 206. A signal indicating the comparison result is transmitted to the control unit 208. In this case, since the current ID is in an initial state, the current ID is equal to the initial ID.

次に、制御部208によって、マッチング部207からの信号が不一致を示す場合、受信した通信フレームは自分宛ではないので受信動作が終了される(ステップS103でNO)一方、マッチング部207からの信号が一致を示す場合(ステップS103でYES)、受信した通信フレームは自分宛であるので、受信動作が継続されてシフトレジスタ204にカレントID要求コマンドが格納され、CRC計算部205によって、データ誤りの有無が確認される。   Next, if the control unit 208 indicates that the signal from the matching unit 207 does not match, the received communication frame is not addressed to itself, so the reception operation is terminated (NO in step S103), while the signal from the matching unit 207 is Indicates a match (YES in step S103), since the received communication frame is addressed to itself, the reception operation is continued and the current ID request command is stored in the shift register 204. Existence is confirmed.

次に、制御部208によって、記憶部206に記憶されている初期IDとカレントIDとが等しいか否かが確認され、等しくなければ(ステップS104でNO)カレントIDは初期状態ではなく既に新たなIDが登録されているので、電子鍵装置101から送信されたカレントID要求コマンドをキャンセルするべく処理を終了する一方、等しければ(ステップS104でYES)、制御部208によって、電子錠装置201が初期状態(カレントIDを変更可能)であることを示すべく記憶部206に記憶されている初期IDを含む通信フレームが送信部209へ出力され、送信部108によって、その通信フレームが無線信号に変換され、アンテナ202から空間へ放出される(ステップS106)。   Next, the control unit 208 checks whether or not the initial ID stored in the storage unit 206 is equal to the current ID (NO in step S104), and the current ID is not in the initial state but is already a new one. Since the ID is registered, the process is terminated to cancel the current ID request command transmitted from the electronic key device 101. If the IDs are equal (YES in step S104), the electronic lock device 201 is initialized by the control unit 208. A communication frame including the initial ID stored in the storage unit 206 is output to the transmission unit 209 to indicate that the state (current ID can be changed), and the communication unit converts the communication frame into a radio signal. Then, it is emitted from the antenna 202 to the space (step S106).

この場合、電子錠装置201に新たなIDが登録され、カレントIDが初期IDと異なるIDに変更された後は、ステップS104において制御部208によってカレントID要求コマンドがキャンセルされるので、適正なユーザによって電子錠装置201に新たなIDが登録された後、第三者によって不当に電子錠装置201のカレントIDが変更されることが防止される。   In this case, after a new ID is registered in the electronic lock device 201 and the current ID is changed to an ID different from the initial ID, the current ID request command is canceled by the control unit 208 in step S104. Thus, after a new ID is registered in the electronic lock device 201, the current ID of the electronic lock device 201 is prevented from being illegally changed by a third party.

次に、電子錠装置201におけるアンテナ202から空間へ放出された無線信号が、図2に示す電子鍵装置101におけるアンテナ109により受信され、受信部111により無線信号が通信フレームに復調される。そして、復調された通信フレームから制御部106により取得された電子錠装置201の初期IDが、携帯電話インターフェイス部112と外部インターフェイス部302とを介して携帯電話機301へ出力される。そして、携帯電話機301から携帯電話ネットワーク401、ルータ402、及びLAN403を介してID管理サーバ404へ、電子錠装置201の初期IDと、携帯電話機301の電話番号(携帯ID)と、電子錠装置201の新たなIDの発行を要求する新ID発行要求コマンドとが送信される(ステップS107)。   Next, a radio signal emitted from the antenna 202 in the electronic lock device 201 to the space is received by the antenna 109 in the electronic key device 101 shown in FIG. 2, and the radio signal is demodulated into a communication frame by the receiving unit 111. Then, the initial ID of the electronic lock device 201 acquired by the control unit 106 from the demodulated communication frame is output to the mobile phone 301 via the mobile phone interface unit 112 and the external interface unit 302. Then, the initial ID of the electronic lock device 201, the telephone number (mobile ID) of the mobile phone 301, and the electronic lock device 201 are transferred from the mobile phone 301 to the ID management server 404 via the mobile phone network 401, the router 402, and the LAN 403. A new ID issuance request command requesting issuance of a new ID is transmitted (step S107).

次に、図1に示すID管理サーバ404によって、携帯電話機301から送信された初期ID、携帯電話機301の電話番号、及び新ID発行要求コマンドが受信され、当該新ID発行要求コマンドを送信したユーザがウィークリーマンションの賃貸契約を行った適正なユーザであるか否かを確認するべく当該受信された携帯電話機301の電話番号と、ID管理記憶部405に記憶されている電話番号453とが比較される(ステップS108)。   Next, the user who received the initial ID transmitted from the mobile phone 301, the telephone number of the mobile phone 301, and the new ID issue request command by the ID management server 404 shown in FIG. 1, and transmitted the new ID issue request command. The received telephone number of the mobile phone 301 is compared with the telephone number 453 stored in the ID management storage unit 405 to confirm whether or not the user is an appropriate user who has made a lease agreement for a weekly apartment. (Step S108).

そして、ID管理サーバ404による当該比較の結果、不一致であればID管理サーバ404によって、当該新ID発行要求コマンドを送信したユーザはウィークリーマンションの賃貸契約を行った適正なユーザではないと判断され、処理を終了する(ステップS108でNO)一方、一致すればID管理サーバ404によって、当該新ID発行要求コマンドを送信したユーザはウィークリーマンションの賃貸契約を行った適正なユーザであると判断され(ステップS108でYES)、電子錠装置201が初期状態(新たなIDを登録可能な状態)であるか否かを確認するべくステップS110へ移行する。   If the result of the comparison by the ID management server 404 is a mismatch, the ID management server 404 determines that the user who transmitted the new ID issuance request command is not an appropriate user who has made a lease agreement for a weekly apartment, When the processing ends (NO in step S108), the ID management server 404 determines that the user who transmitted the new ID issuance request command is an appropriate user who has executed a lease contract for the weekly apartment (step NO). The process proceeds to step S110 to confirm whether or not the electronic lock device 201 is in an initial state (a state where a new ID can be registered).

このように、予めID管理記憶部405に記憶されているウィークリーマンションを契約したユーザの携帯電話機301の電話番号453と、新ID発行要求コマンドを送信した携帯電話機301の電話番号とが一致しなければ、ID管理サーバ404によって新ID発行要求コマンドがキャンセルされ、処理が終了するので、ウィークリーマンションを契約した適正なユーザ以外の第三者によって、電子錠装置201のカレントIDが変更されることを防止することができる。なお、携帯電話機301の電話番号の代わりに、各携帯電話機301に固有のいわゆる携帯電話無線IDとして知られているIDを携帯IDとして用いてもよい。   As described above, the telephone number 453 of the cellular phone 301 of the user who has previously contracted the weekly apartment stored in the ID management storage unit 405 and the telephone number of the cellular phone 301 that has transmitted the new ID issue request command must match. For example, the new ID issue request command is canceled by the ID management server 404, and the process ends, so that the current ID of the electronic lock device 201 is changed by a third party other than the appropriate user who contracts the weekly apartment. Can be prevented. Instead of the phone number of the mobile phone 301, an ID known as a so-called mobile phone wireless ID unique to each mobile phone 301 may be used as the mobile ID.

次に、ステップS110において、ID管理サーバ404によって、ID管理記憶部405に記憶されている初期ID451とカレントID452とが等しいか否かが確認され、等しくなければ(ステップS110でNO)カレントIDは初期状態ではなく既に新たなIDが登録されているので、携帯電話機301から送信された新ID発行要求コマンドをキャンセルするべく処理を終了する一方、等しければ(ステップS110でYES)ID管理サーバ404によって新たなカレントIDが生成され、カレントID452としてID管理記憶部405に記憶される。そして、ID管理サーバ404によって、新たなカレントIDと、携帯電話機301から送信された初期ID及び電話番号と、電子錠装置201に新たなカレントIDの登録を指示するカレントID変更コマンド(ID変更指示情報)とが、LAN403、ルータ402、及び携帯電話ネットワーク401を介して携帯電話機301へ送信される(ステップS111)。   Next, in step S110, the ID management server 404 checks whether or not the initial ID 451 stored in the ID management storage unit 405 is equal to the current ID 452, and if not equal (NO in step S110), the current ID is Since the new ID is already registered instead of the initial state, the process ends to cancel the new ID issuance request command transmitted from the mobile phone 301, while if equal (YES in step S110), the ID management server 404 A new current ID is generated and stored in the ID management storage unit 405 as a current ID 452. Then, by the ID management server 404, a new current ID, an initial ID and a telephone number transmitted from the mobile phone 301, and a current ID change command (ID change instruction) that instructs the electronic lock device 201 to register a new current ID. Information) is transmitted to the mobile phone 301 via the LAN 403, the router 402, and the mobile phone network 401 (step S111).

この場合、ID管理サーバ404によって新たなカレントIDがカレントID452としてID管理記憶部405に記憶され、カレントID452が初期ID451と異なるIDに変更された後は、ステップS110においてID管理サーバ404によってカレントID要求コマンドがキャンセルされるので、ID管理サーバ404によって適正なユーザにより送信されたカレントID要求コマンドに応じて新たなカレントIDがカレントID452としてID管理記憶部405に記憶された後、第三者によって送信されたカレントID要求コマンドに応じて、新たなカレントIDが不当に発行されることが防止される。   In this case, the ID management server 404 stores the new current ID as the current ID 452 in the ID management storage unit 405, and after the current ID 452 is changed to an ID different from the initial ID 451, the ID management server 404 performs the current ID in step S110. Since the request command is canceled, a new current ID is stored as the current ID 452 in the ID management storage unit 405 in response to the current ID request command transmitted by the appropriate user by the ID management server 404, and then by a third party. In response to the transmitted current ID request command, a new current ID is prevented from being issued illegally.

次に、図2に示す携帯電話機301によってID管理サーバ404から送信された新たなカレントID、初期ID、電話番号、及びカレントID変更コマンドが受信され、携帯電話機301から外部インターフェイス部302と携帯電話インターフェイス部112とを介して制御部106へ初期IDと新たなカレントIDとカレントID変更コマンドとが出力され、制御部106により新たなカレントIDが記憶部105に記憶されると共に、制御部106から送信部108及びアンテナ109を介して電子錠装置201へ、新たなカレントIDの登録を要求するべく初期IDと新たなカレントIDとカレントID変更コマンドとがステップS102と同様にして無線信号で送信される(ステップS112)。   Next, a new current ID, initial ID, telephone number, and current ID change command transmitted from the ID management server 404 by the mobile phone 301 shown in FIG. 2 are received, and the external interface unit 302 and the mobile phone are received from the mobile phone 301. An initial ID, a new current ID, and a current ID change command are output to the control unit 106 via the interface unit 112, and the new current ID is stored in the storage unit 105 by the control unit 106. An initial ID, a new current ID, and a current ID change command are transmitted as a radio signal to the electronic lock device 201 via the transmitting unit 108 and the antenna 109 in order to request registration of a new current ID as in step S102. (Step S112).

次に、電子鍵装置101におけるアンテナ109から空間へ放出された無線信号が、ステップS103と同様にして図3に示す電子錠装置201におけるアンテナ202により受信され、受信部203により無線信号から初期IDと新たなカレントIDとカレントID変更コマンドとが復調されて制御部208へ出力される。そして、制御部208によって、カレントID変更コマンドに応じて新たなカレントIDが、当該電子錠装置201のカレントIDとして記憶部206に記憶される(ステップS113)。   Next, the wireless signal emitted from the antenna 109 in the electronic key device 101 to the space is received by the antenna 202 in the electronic lock device 201 shown in FIG. The new current ID and the current ID change command are demodulated and output to the control unit 208. Then, the control unit 208 stores a new current ID in the storage unit 206 as the current ID of the electronic lock device 201 in accordance with the current ID change command (step S113).

次に、電子鍵システム1における錠開閉動作について説明する。図7は、電子鍵システム1における錠開閉動作の一例を示すフローチャートである。まず、ユーザによって、電子鍵装置101を取り付けた携帯電話機301の操作部304が操作され、操作部304によって電子錠装置201への錠開閉動作を指示する錠開閉指示が受付けられる(ステップS201)。   Next, the lock opening / closing operation in the electronic key system 1 will be described. FIG. 7 is a flowchart showing an example of the lock opening / closing operation in the electronic key system 1. First, the user operates the operation unit 304 of the mobile phone 301 to which the electronic key device 101 is attached, and the operation unit 304 receives a lock opening / closing instruction for instructing the lock opening / closing operation to the electronic lock device 201 (step S201).

そして、操作部304によって受け付けられた錠開閉指示を示す指示信号が、図2に示す携帯電話機301における外部インターフェイス部302と電子鍵装置101における携帯電話インターフェイス部112とを介して制御部106によって取得される。さらに、制御部106により、ステップS112において記憶部105に記憶されている電子錠装置201のカレントIDと、操作部304によって受け付けられた錠開閉指示に応じた錠開閉コマンド(開閉指示情報)とが、制御部106から送信部108及びアンテナ109を介して電子錠装置201へ、ステップS102と同様にして無線信号で送信される(ステップS202)。   Then, the instruction signal indicating the lock opening / closing instruction received by the operation unit 304 is acquired by the control unit 106 via the external interface unit 302 in the cellular phone 301 and the cellular phone interface unit 112 in the electronic key device 101 shown in FIG. Is done. Further, the control unit 106 obtains the current ID of the electronic lock device 201 stored in the storage unit 105 in step S112 and the lock opening / closing command (opening / closing instruction information) corresponding to the lock opening / closing instruction received by the operation unit 304. The wireless signal is transmitted from the control unit 106 to the electronic lock device 201 via the transmission unit 108 and the antenna 109 in the same manner as in step S102 (step S202).

なお、制御部106によって、記憶部105に記憶されている電子錠装置201のカレントIDと錠開閉コマンドとが電子錠装置201へ送信される例を示したが、ユーザが操作部304を用いて入力したIDをカレントIDとして送信するようにしてもよい。また、電子錠装置201が複数有る場合に、制御部106は、各電子錠装置201のカレントIDをそれぞれステップS101〜S113の処理により記憶部105に記憶させておき、ユーザが錠開閉操作を行う際に、記憶部105に記憶されている複数のカレントIDを表示部303に一覧表示させてユーザが操作部304を操作することにより表示部303に表示された中から選択されたカレントIDを送信するようにしてもよい。これにより、一つの携帯電話機301及び電子鍵装置101を用いて複数の電子錠装置201に対して錠開閉コマンドを送信することができる。   In addition, although the example in which the current ID of the electronic lock device 201 and the lock opening / closing command stored in the storage unit 105 are transmitted to the electronic lock device 201 by the control unit 106 has been shown, the user uses the operation unit 304 to The input ID may be transmitted as the current ID. When there are a plurality of electronic lock devices 201, the control unit 106 stores the current ID of each electronic lock device 201 in the storage unit 105 through the processing of steps S101 to S113, and the user performs a lock opening / closing operation. At this time, a plurality of current IDs stored in the storage unit 105 are displayed in a list on the display unit 303, and the current ID selected from the ones displayed on the display unit 303 is transmitted when the user operates the operation unit 304. You may make it do. Accordingly, a lock opening / closing command can be transmitted to a plurality of electronic lock devices 201 using one mobile phone 301 and electronic key device 101.

また、制御部106は、複数のカレントIDを記憶部105に記憶させる場合に、ユーザが理解しやすいように設定された各電子錠装置201の名称である錠名称と各カレントIDとを対応付けて記憶させ、ユーザが錠開閉操作を行う際に、記憶部105に記憶されている複数の錠名称を表示部303に一覧表示させてユーザが操作部304を操作することにより表示部303に表示された中から選択された錠名称を取得し、記憶部105に記憶されている対応関係に基づき当該取得した錠名称と対応付けて記憶されているカレントIDを送信するようにしてもよい。これにより、ユーザが理解しやすいように設定された名称によって、錠開閉操作を行おうとする電子錠装置201を選択することができるので、操作性を向上させることができる。   Further, when the control unit 106 stores a plurality of current IDs in the storage unit 105, the control unit 106 associates each lock ID with the current ID, which is the name of each electronic lock device 201 set so as to be easily understood by the user. When the user performs a lock opening / closing operation, a plurality of lock names stored in the storage unit 105 are displayed in a list on the display unit 303 and displayed on the display unit 303 by the user operating the operation unit 304. The lock name selected from the obtained lock names may be acquired, and the current ID stored in association with the acquired lock name may be transmitted based on the correspondence stored in the storage unit 105. Thus, the electronic lock device 201 that is to perform the lock opening / closing operation can be selected by the name set so that the user can easily understand, and the operability can be improved.

次に、電子鍵装置101におけるアンテナ109から空間へ放出された無線信号が、図3に示す電子錠装置201におけるアンテナ202により受信され、受信部203により無線信号からカレントIDと錠開閉コマンドとが復調されて制御部208へ出力される。そして、ステップS103と同様にして、マッチング部207によって、受信部203により復調されたカレントIDと記憶部206に記憶されている電子錠装置201のカレントIDとが比較され、その比較結果を示す信号が制御部208へ送信される。   Next, the radio signal emitted from the antenna 109 in the electronic key device 101 to the space is received by the antenna 202 in the electronic lock device 201 shown in FIG. 3, and the current ID and the lock opening / closing command are received from the radio signal by the receiving unit 203. Demodulated and output to the control unit 208. Similarly to step S103, the matching unit 207 compares the current ID demodulated by the receiving unit 203 with the current ID of the electronic lock device 201 stored in the storage unit 206, and a signal indicating the comparison result. Is transmitted to the control unit 208.

次に、制御部208によって、マッチング部207からの信号が不一致を示す場合(ステップS203でNO)、受信した通信フレームは自分宛ではないので受信動作が終了される一方、マッチング部207からの信号が一致を示す場合(ステップS203でYES)、受信した通信フレームは自分宛であるので、カレントIDが初期IDから変更されて当該電子錠装置201が鍵開閉コマンドを受付可能な状態になっているか否かを確認するべくステップS204へ移行する。   Next, when the control unit 208 indicates that the signal from the matching unit 207 does not match (NO in step S203), the received communication frame is not addressed to itself, so the reception operation is terminated, while the signal from the matching unit 207 is Indicates a match (YES in step S203), since the received communication frame is addressed to itself, is the current ID changed from the initial ID and is the electronic lock device 201 ready to accept the key opening / closing command? The process proceeds to step S204 to confirm whether or not.

次に、ステップS204において、制御部208によって、記憶部206に記憶されている初期IDとカレントIDとが等しいか否かが確認され、等しければ(ステップS204でYES)カレントIDとしてID管理サーバ404により発行されたIDが登録されていないと判断され、電子鍵装置101から送信された錠開閉コマンドをキャンセルするべく処理を終了する一方、等しくなければ(ステップS204でNO)カレントIDとしてID管理サーバ404により発行されたIDが登録されて鍵開閉コマンドを受付可能な状態になっていると判断され、鍵開閉コマンドを実行するべくステップS206へ移行する。   Next, in step S204, the control unit 208 confirms whether or not the initial ID stored in the storage unit 206 is equal to the current ID. If they are equal (YES in step S204), the ID management server 404 is set as the current ID. The ID management server determines that the issued ID is not registered and terminates the process to cancel the lock opening / closing command transmitted from the electronic key device 101, but if not equal (NO in step S204), the ID management server as the current ID It is determined that the ID issued by 404 is registered and the key opening / closing command can be accepted, and the process proceeds to step S206 to execute the key opening / closing command.

次に、ステップS206において、制御部208によって、錠開閉コマンドが実行される。すなわち、錠開閉コマンドが錠を開く旨の指示を示すものであった場合、制御部208によって錠機構部212を解錠させるべくアクチュエータ211が駆動される一方、錠開閉コマンドが錠を閉じる旨の指示を示すものであった場合、制御部208によって錠機構部212を施錠させるべくアクチュエータ211が駆動される。   Next, in step S206, the controller 208 executes a lock opening / closing command. That is, when the lock opening / closing command indicates an instruction to open the lock, the actuator 211 is driven by the control unit 208 to unlock the lock mechanism 212, while the lock opening / closing command closes the lock. When the instruction is given, the actuator 211 is driven by the control unit 208 to lock the lock mechanism unit 212.

以上、ステップS203の処理により、電子錠装置201における記憶部206に、カレントIDとしてID管理サーバ404により発行された新たなIDが記憶された後は、その新たなIDを含む無線信号以外は受信されないので、その新たなIDが記憶部105に記憶されている電子鍵装置101を所持しているユーザのみが電子錠装置201へ錠開閉コマンドを送信して錠機構部212の解錠、施錠を行うことができ、電子錠装置201の錠前としての信頼性を向上させることができる。   As described above, after the new ID issued by the ID management server 404 is stored as the current ID in the storage unit 206 of the electronic lock device 201 by the process of step S203, the radio signals other than the radio signal including the new ID are received. Therefore, only a user who possesses the electronic key device 101 whose new ID is stored in the storage unit 105 transmits a lock open / close command to the electronic lock device 201 to unlock and lock the lock mechanism unit 212. It is possible to improve the reliability of the electronic lock device 201 as a lock.

また、ステップS204の処理により、電子錠装置201における記憶部206に、カレントIDとしてID管理サーバ404により発行された新たなIDが記憶されていない状態では錠開閉コマンドが実行されず、従って電子錠装置201へ初期IDを用いて錠開閉コマンドを送信しても錠機構部212の解錠、施錠を行うことができないので電子錠装置201の錠前としての信頼性を向上させることができる。   Further, by the processing in step S204, the lock opening / closing command is not executed when the new ID issued by the ID management server 404 is not stored as the current ID in the storage unit 206 of the electronic lock device 201. Even if a lock opening / closing command is transmitted to the device 201 using the initial ID, the lock mechanism 212 cannot be unlocked or locked, so that the reliability of the electronic lock device 201 as a lock can be improved.

また、ユーザは、ステップS101〜S113のカレントID登録処理を電子鍵システム1に実行させることにより、自分の携帯電話機301に接続された電子鍵装置101を用いて電子錠装置201が取り付けられたウィークリーマンションのドアを解錠及び施錠することができるので、ユーザは不動産業者等の管理者から直接ウィークリーマンションの部屋の鍵を受け取る必要がなく、賃貸契約の手間を削減することができる。   In addition, the user causes the electronic key system 1 to execute the current ID registration process in steps S101 to S113, thereby using the electronic key device 101 connected to his / her mobile phone 301 to connect the weekly device to which the electronic lock device 201 is attached. Since the door of the apartment can be unlocked and locked, the user does not need to receive the key of the weekly apartment room directly from an administrator such as a real estate agent, and the labor of the rental contract can be reduced.

次に、ユーザがウィークリーマンションの賃貸契約を解約した場合には、マンションの管理者は、電子鍵装置101と携帯電話機301とを用いてカレントIDを初期IDに戻すカレントID初期化コマンドを電子錠装置201へ送信させるようにすればよい。電子錠装置201は、カレントID初期化コマンドを受信した場合に、記憶部206に記憶されている初期IDを、カレントIDとして記憶することにより、新たにウィークリーマンションを契約したユーザが新たなIDの登録処理を実行可能となる一方、契約を解約したユーザが使用していたカレントIDを用いて錠の解錠を行うことができなくなるので、電子錠装置201の鍵としての信頼性を向上させることができる。   Next, when the user cancels the lease agreement for the weekly apartment, the apartment manager uses the electronic key device 101 and the mobile phone 301 to issue a current ID initialization command for returning the current ID to the initial ID. What is necessary is just to make it transmit to the apparatus 201. FIG. When the electronic lock device 201 receives the current ID initialization command, the electronic lock device 201 stores the initial ID stored in the storage unit 206 as the current ID, so that the user who newly contracts the weekly apartment has a new ID. While the registration process can be executed, it becomes impossible to unlock the lock using the current ID used by the user who has canceled the contract, so that the reliability of the electronic lock device 201 as a key is improved. Can do.

本発明の一実施形態に係る電子鍵システムの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the electronic key system which concerns on one Embodiment of this invention. 図1に示す電子鍵装置と携帯電話機との構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure with the electronic key apparatus shown in FIG. 1, and a mobile telephone. 図1に示す電子錠装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the electronic lock apparatus shown in FIG. 図1に示す電子鍵システムのアプリケーションへの応用例を示す概念図である。It is a conceptual diagram which shows the example of application to the application of the electronic key system shown in FIG. 図1に示すID管理記憶部に記憶されている情報テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the information table memorize | stored in the ID management memory | storage part shown in FIG. 図1に示す電子鍵システムの動作の一例を説明するためのフローチャートである。3 is a flowchart for explaining an example of the operation of the electronic key system shown in FIG. 1. 図1に示す電子鍵システムの動作の一例を説明するためのフローチャートである。3 is a flowchart for explaining an example of the operation of the electronic key system shown in FIG. 1.

符号の説明Explanation of symbols

1 電子鍵システム
101 電子鍵装置
105,206 記憶部
106,208 制御部
108,209 送信部
109,202 アンテナ
111,203 受信部
112 携帯電話インターフェイス部
201 電子錠装置
211 アクチュエータ
212 錠機構部
221 ドア
222 ロッカー
223 南京錠
301 携帯電話機
302 外部インターフェイス部
303 表示部
304 操作部
401 携帯電話ネットワーク
404 ID管理サーバ
405 ID管理記憶部
DESCRIPTION OF SYMBOLS 1 Electronic key system 101 Electronic key apparatus 105,206 Storage part 106,208 Control part 108,209 Transmission part 109,202 Antenna 111,203 Reception part 112 Cell-phone interface part 201 Electronic lock apparatus 211 Actuator 212 Locking mechanism part 221 Door 222 Locker 223 Padlock 301 Mobile phone 302 External interface unit 303 Display unit 304 Operation unit 401 Mobile phone network 404 ID management server 405 ID management storage unit

Claims (4)

錠を識別するための錠IDと前記錠の開閉を指示する開閉指示情報とを含む無線信号を受信し、当該受信した錠IDと予め設定されている錠IDとが一致した場合に当該受信した開閉指示情報に応じて前記錠の開閉を行う電子錠装置へ、前記無線信号を送信する電子鍵装置であって、
前記電子錠装置へ前記無線信号を送信する送信部と、
携帯電話機が備える外部インターフェイス部に接続可能に構成され、前記携帯電話機との間で信号の送受信を行う携帯電話インターフェイス部と、
前記携帯電話機が備えるヒューマンインターフェイス部により受け付けられた操作指示を示す操作指示情報を、前記携帯電話インターフェイス部を介して受信し、前記携帯電話インターフェイス部を介して接続された前記携帯電話機を用いて前記携帯電話機の通信ネットワークである携帯電話ネットワークに接続されたサーバ装置との間でデータを送受信する制御部と、
を備え、
前記制御部は、
前記携帯電話インターフェイス部を介して受信された操作指示情報が、前記電子錠装置に設定されている錠IDの変更を要求するID変更要求を示す場合に前記携帯電話機を用いて前記サーバ装置へ当該ID変更要求を送信させ、
前記サーバ装置から前記携帯電話機へ送信された新たな錠IDを、前記携帯電話インターフェイス部を介して前記携帯電話機から受信し、
前記携帯電話機から受信された新たな錠IDに前記電子錠装置に設定されている錠IDを変更させるID変更指示情報を含む無線信号を、前記送信部により前記電子錠装置へ送信させることを特徴とする電子鍵装置。
A radio signal including a lock ID for identifying a lock and opening / closing instruction information for instructing opening / closing of the lock is received, and the received signal is received when the received lock ID matches a preset lock ID. An electronic key device that transmits the wireless signal to an electronic lock device that opens and closes the lock according to open / close instruction information,
A transmission unit for transmitting the wireless signal to the electronic lock device;
A mobile phone interface unit configured to be connectable to an external interface unit included in the mobile phone, and for transmitting and receiving signals to and from the mobile phone;
Operation instruction information indicating an operation instruction received by a human interface unit included in the mobile phone is received via the mobile phone interface unit, and the mobile phone connected via the mobile phone interface unit is used to A control unit that transmits and receives data to and from a server device connected to a mobile phone network that is a communication network of a mobile phone;
With
The controller is
When the operation instruction information received via the mobile phone interface unit indicates an ID change request for requesting a change of the lock ID set in the electronic lock device, the mobile phone is used for the server device. Send ID change request,
A new lock ID transmitted from the server device to the mobile phone is received from the mobile phone via the mobile phone interface unit,
A radio signal including ID change instruction information for changing a lock ID set in the electronic lock device to a new lock ID received from the mobile phone is transmitted to the electronic lock device by the transmission unit. An electronic key device.
錠と、前記錠を識別するための錠IDの設定を記憶するID記憶部と、動作を指示する指示情報と前記錠IDとを含む無線信号を受信する受信部と、前記受信部により受信された無線信号に含まれる錠IDと予め設定されている錠IDとが一致し、かつ当該無線信号に含まれる指示情報が前記ID記憶部に記憶されている錠IDを新たな錠IDに変更すべき旨を示すID変更指示情報であった場合に前記ID記憶部に記憶されている錠IDを新たな錠IDに変更すると共に、前記受信部により受信された無線信号に含まれる錠IDと予め設定されている錠IDとが一致し、かつ当該無線信号に含まれる指示情報が前記錠の開閉を指示する開閉指示情報であった場合に当該開閉指示情報に応じて前記錠に開閉動作を行わせる制御部と、を備える電子錠装置と、
前記電子錠装置へ前記無線信号を送信する電子鍵装置と、
前記電子鍵装置と接続される携帯電話機と、
前記携帯電話機の通信ネットワークである携帯電話ネットワークに接続され、前記携帯電話機から前記電子錠装置に設定されている錠IDの変更を指示するID変更指示を示す信号を受信した場合に、前記携帯電話機へ新たな錠IDを送信するサーバ装置と、
を備え、
前記電子鍵装置は請求項1記載の電子鍵装置であることを特徴とする電子鍵システム。
An ID storage unit that stores a lock, a lock ID setting for identifying the lock, a reception unit that receives a radio signal including instruction information for instructing an operation, and the lock ID, and is received by the reception unit. The lock ID included in the wireless signal matches the preset lock ID, and the instruction information included in the wireless signal changes the lock ID stored in the ID storage unit to a new lock ID. When it is ID change instruction information indicating the power, the lock ID stored in the ID storage unit is changed to a new lock ID, and the lock ID included in the wireless signal received by the receiving unit When the set lock ID matches and the instruction information included in the wireless signal is the opening / closing instruction information for instructing opening / closing of the lock, the lock is opened / closed according to the opening / closing instruction information. A control unit And the child lock device,
An electronic key device that transmits the wireless signal to the electronic lock device;
A mobile phone connected to the electronic key device;
When the mobile phone is connected to a mobile phone network that is a communication network of the mobile phone and receives a signal indicating an ID change instruction for changing the lock ID set in the electronic lock device from the mobile phone, the mobile phone A server device for transmitting a new lock ID to
With
The electronic key system according to claim 1, wherein the electronic key apparatus is an electronic key device according to claim 1.
前記携帯電話機は、前記電子鍵装置からの前記ID変更指示を示す信号と共に当該携帯電話機を識別するための携帯IDを前記サーバ装置へ送信するものであり、
前記サーバ装置は、登録ユーザの携帯電話機を識別するための携帯IDを記憶する携帯ID記憶部を備え、前記携帯電話機からID変更指示と当該携帯電話機の携帯IDとを示す信号を受信し、かつ当該受信した携帯IDと携帯ID記憶部に記憶されている携帯IDとが一致した場合に、前記携帯電話機へ新たな錠IDを送信することを特徴とする請求項2記載の電子鍵システム。
The mobile phone transmits a mobile ID for identifying the mobile phone together with a signal indicating the ID change instruction from the electronic key device to the server device,
The server device includes a mobile ID storage unit that stores a mobile ID for identifying a mobile phone of a registered user, receives a signal indicating an ID change instruction and the mobile ID of the mobile phone from the mobile phone, and 3. The electronic key system according to claim 2, wherein when the received mobile ID matches the mobile ID stored in the mobile ID storage unit, a new lock ID is transmitted to the mobile phone.
前記電子鍵装置は、前記ID変更指示と前記錠の錠IDとを前記携帯電話機によって前記サーバ装置へ送信し、
前記携帯ID記憶部は、前記錠IDをさらに予め記憶し、
前記サーバ装置は、前記携帯電話機からID変更指示と前記錠の錠IDと当該携帯電話機の携帯IDとを示す信号を受信し、かつ当該受信した携帯ID及び錠IDと携帯ID記憶部に記憶されている携帯ID及び錠IDとが一致した場合に、前記携帯電話機へ新たな錠IDを送信することを特徴とする請求項3記載の電子鍵システム。
The electronic key device transmits the ID change instruction and the lock ID of the lock to the server device by the mobile phone,
The portable ID storage unit further stores the lock ID in advance,
The server device receives an ID change instruction, a signal indicating the lock ID of the lock, and a mobile ID of the mobile phone from the mobile phone, and is stored in the received mobile ID and lock ID and mobile ID storage unit. 4. The electronic key system according to claim 3, wherein a new lock ID is transmitted to the mobile phone when the mobile ID and the lock ID match.
JP2004289888A 2004-10-01 2004-10-01 Electronic key device and electronic key system Pending JP2006104696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004289888A JP2006104696A (en) 2004-10-01 2004-10-01 Electronic key device and electronic key system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004289888A JP2006104696A (en) 2004-10-01 2004-10-01 Electronic key device and electronic key system

Publications (1)

Publication Number Publication Date
JP2006104696A true JP2006104696A (en) 2006-04-20

Family

ID=36374750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004289888A Pending JP2006104696A (en) 2004-10-01 2004-10-01 Electronic key device and electronic key system

Country Status (1)

Country Link
JP (1) JP2006104696A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008196258A (en) * 2007-02-15 2008-08-28 Dainippon Printing Co Ltd Key information managing system
JP2011511350A (en) * 2008-01-30 2011-04-07 エバ ズィヒェルハイツテクノロジー ゲーエムベーハー Access control management method and apparatus
US9542785B2 (en) 2014-05-19 2017-01-10 Acsys Ip Holding, Inc. Mobile key devices systems and methods for programming and communicating with an electronic programmable key
US9672674B2 (en) 2015-07-06 2017-06-06 Acsys Ip Holding, Inc. Systems and methods for secure lock systems with redundant access control
US9679429B2 (en) 2012-12-03 2017-06-13 13876 Yukon Inc. Wireless portable lock system
US9852562B2 (en) 2015-07-06 2017-12-26 Acsys Ip Holding, Inc. Systems and methods for redundant access control systems based on mobile devices and removable wireless buttons
US10013825B2 (en) 2015-03-03 2018-07-03 Acsys Ip Holding, Inc. Systems and methods for redundant access control systems based on mobile devices
CN108397046A (en) * 2018-04-23 2018-08-14 深圳市易联网络技术有限公司 Intelligent key chain corporate management System and method for

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008196258A (en) * 2007-02-15 2008-08-28 Dainippon Printing Co Ltd Key information managing system
JP2011511350A (en) * 2008-01-30 2011-04-07 エバ ズィヒェルハイツテクノロジー ゲーエムベーハー Access control management method and apparatus
EP2238576B1 (en) 2008-01-30 2018-06-06 Evva Sicherheitstechnologie GmbH Method and device for regulating access control
US9679429B2 (en) 2012-12-03 2017-06-13 13876 Yukon Inc. Wireless portable lock system
US9542785B2 (en) 2014-05-19 2017-01-10 Acsys Ip Holding, Inc. Mobile key devices systems and methods for programming and communicating with an electronic programmable key
US10013825B2 (en) 2015-03-03 2018-07-03 Acsys Ip Holding, Inc. Systems and methods for redundant access control systems based on mobile devices
US9672674B2 (en) 2015-07-06 2017-06-06 Acsys Ip Holding, Inc. Systems and methods for secure lock systems with redundant access control
US9852562B2 (en) 2015-07-06 2017-12-26 Acsys Ip Holding, Inc. Systems and methods for redundant access control systems based on mobile devices and removable wireless buttons
CN108397046A (en) * 2018-04-23 2018-08-14 深圳市易联网络技术有限公司 Intelligent key chain corporate management System and method for
CN108397046B (en) * 2018-04-23 2023-08-29 深圳市易联网络技术有限公司 Intelligent key ring joint management system and method

Similar Documents

Publication Publication Date Title
RU2669715C1 (en) Blocking and unlocking system and key block
US9106271B2 (en) System for programming a lock comprising contactless NFC communication means
EP2804153B1 (en) Electronic lock, locking system and method of operating an electronic lock
KR102012276B1 (en) Digital door lock system and the control method thereof
CA2888971C (en) Electronic lock having a mobile device user interface
US8635462B2 (en) Method and device for managing access control
KR101829018B1 (en) Digital doorlock system
CN114220202A (en) Electronic access control device and access control method
US20120114122A1 (en) Source programming and management system for locks comprising contactless communication means that can be controlled by a portable nfc telephone
US11472372B2 (en) Control system and control method for construction machinery
JP2009030312A (en) Keyless system capable of selecting a plurality of vehicles with one portable unit
JP2006104696A (en) Electronic key device and electronic key system
JP3580788B2 (en) Unlocking method and lock control device
JP3669893B2 (en) Information processing system and method, and storage medium used therefor
JP6811426B2 (en) Electric lock system, electric lock device, and program for electric lock
JP6956378B2 (en) Electric lock control system
JP2009174224A (en) Door locking/unlocking control device and door locking/unlocking control system
KR100597482B1 (en) Method for authenticate in/out using wireless telecommunication terminal
JP7054784B2 (en) Electric lock control system, communication method, and program
JP2012133463A (en) Tag device
JP3922678B2 (en) Remote control device for building door lock
JP4458688B2 (en) Locking / unlocking system and locking / unlocking method
JP2006274574A (en) Data updating system, master terminal, slave terminal, server, data updating method, program, and recording medium
US20220150067A1 (en) Construction machine control system and construction machine control method
JP2012070167A (en) Communication device