JPH0795667A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH0795667A
JPH0795667A JP26186893A JP26186893A JPH0795667A JP H0795667 A JPH0795667 A JP H0795667A JP 26186893 A JP26186893 A JP 26186893A JP 26186893 A JP26186893 A JP 26186893A JP H0795667 A JPH0795667 A JP H0795667A
Authority
JP
Japan
Prior art keywords
code
data
unit
section
memory
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.)
Withdrawn
Application number
JP26186893A
Other languages
Japanese (ja)
Inventor
Minoru Sekine
実 関根
Hitoshi Fukatsu
均 深津
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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP26186893A priority Critical patent/JPH0795667A/en
Publication of JPH0795667A publication Critical patent/JPH0795667A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To enhance the security of data communication against copied equipments such as a learning remote controller copied illegally. CONSTITUTION:When an operation key of an operation section 11 is operated in a remote control unit 1, a random code selection section 12c selects a random number code in a random code table of a 1st memory 12a in response to a key operation time detected by a key operation time detection section 12b and the unit 1 used the random number code to set prescribed data comprising 1st and 2nd codes by a data setting section 12d and sends the data. Every time of the transmission, a 1st code in the data is updated to a 2nd code and the 2nd code is updated to a new random code. A reception control section 2 receives the data and a comparison discrimination section 21b compares and discriminates the coincidence between a memory code of a 2nd memory 12a and the received 1st code and a predetermined operation is controlled depending on the content of the received data when the 1st code and the memory code are coincident. Furthermore, a memory code update section 21c updates a preceding memory code stored in the 2nd memory into a new memory code when the 1st code and the memory code are coincident.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ通信装置に係わ
り、特に学習リモコン等の複製装置による盗難を防止す
るためのデータ通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device, and more particularly to a data communication device for preventing theft by a copying device such as a learning remote controller.

【0002】[0002]

【従来の技術】リモコンユニットのキー操作により、自
動車のドアをロック及びアンロックしたり、あるいはエ
ンジンスタートをオン・オフするようにした自動車制御
システムがある。このようなリモコン操作機能を備えた
自動車では、自動車の盗難防止に役立つと共に、手持ち
の荷物が多くあってもリモコンユニットのキーを押すだ
けでドアのロックやアンロックが行え、また離れた位置
からエンジンスタートのオン・オフができ暖気運転等に
おいて便利である。
2. Description of the Related Art There is a vehicle control system in which a door of a vehicle is locked and unlocked or an engine start is turned on / off by operating a key of a remote control unit. In a car equipped with such a remote control function, it helps prevent the car from being stolen, and even if you have a lot of luggage on hand, you can lock and unlock the door by simply pressing the key on the remote control unit, and from a remote location. The engine start can be turned on and off, which is convenient for warm-up operation.

【0003】また、最近ではホームオートメーションが
実用化されつつあり、かかるシステムでは遠隔地にいな
がらにして電話回線等を介して炊飯器等家庭内のオート
メーション機器を制御でき、便利である。
In recent years, home automation has been put into practical use, and such a system is convenient because it is possible to control domestic automation equipment such as a rice cooker via a telephone line or the like while in a remote place.

【0004】[0004]

【発明が解決しようとする課題】ところが、制御データ
を送信して被制御装置を遠隔制御する従来のシステムで
は、盗聴により制御データを解読されると、同じデータ
を用いて盗難にあったり、いたずらされる危険性があっ
た。また、従来のシステム、特に自動車のドアのロック
・アンロック等を行うシステムでは、リモコン操作によ
り誤って別の車を制御したり、逆に別の車のリモコン操
作により自分の車が制御されてしまう危険性があった。
However, in a conventional system for transmitting control data to remotely control a controlled device, if the control data is decrypted by eavesdropping, the same data is used for theft or mischief. There was a risk of being In addition, in the conventional system, particularly in a system that locks and unlocks the door of a car, the remote control operation may accidentally control another vehicle, or conversely, the remote control operation of another vehicle may control one's own vehicle. There was a risk of it.

【0005】以上から本発明の目的は、不正に複製され
た学習リモコン等の複製装置に対するデータ通信装置の
安全性を高めることができるデータ通信装置を提供する
にある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a data communication device capable of improving the safety of the data communication device against a duplication device such as a learning remote controller that has been illegally duplicated.

【0006】[0006]

【課題を解決するための手段】上記課題は本発明におい
ては、所定のデータを第1の装置から第2の装置へ送信
するデータ通信装置であって、第1の装置は、複数のコ
ードからなるコード表を記憶する第1記憶部と、複数の
操作キーからなる操作部と、該操作部の操作キーが操作
されたときにそのキー操作時間を検出するキー操作時間
検出部と、該キー操作時間に応じて前記第1記憶部に記
憶されているコード表の中から所定のコードを選択する
コード選択部と、該コード選択部により選択された第1
記憶部からのコードを用いて第1コードと第2コードか
らなる所定のデータを設定するデータ設定部と、送信す
る度に前記データ設定部により設定されたデータの中の
第1コードのコードを第2コードのコードに更新し、第
2コードのコードを前記コード選択部により選択された
第1記憶部からの新たなコードに更新するデータ更新部
と、前記データ設定部から入力されたデータを第2の装
置に送信するためのデータ送信部とを有し、第2の装置
は、第1の装置からのデータを受信するためのデータ受
信部と、該データ受信部により受信されたデータの中の
第2コードを記憶コードとして記憶する第2記憶部と、
該第2記憶部に記憶されている記憶コードと受信したデ
ータの中の第1コードとの一致を比較判定する比較判定
部と、該比較判定部の比較判定により第1コードと記憶
コードが一致したときに受信したデータの内容に応じて
所定の動作制御を行う動作制御部と、第1コードと記憶
コードが一致したときに前記第2記憶部に記憶されてい
る前の記憶コードを受信した新たな記憶コードに更新す
る記憶コード更新部とを有することにより達成される。
According to the present invention, there is provided a data communication device for transmitting predetermined data from a first device to a second device, wherein the first device includes a plurality of codes. A first storage unit that stores a code table, an operation unit that includes a plurality of operation keys, a key operation time detection unit that detects a key operation time when the operation key of the operation unit is operated, and the key. A code selecting section for selecting a predetermined code from the code table stored in the first storage section according to the operation time, and a first code selected by the code selecting section.
A data setting unit that sets predetermined data composed of a first code and a second code using a code from the storage unit, and a code of the first code in the data set by the data setting unit each time transmission is performed. A data updating unit that updates the code of the second code and updates the code of the second code to a new code from the first storage unit selected by the code selecting unit, and the data input from the data setting unit. A second data transmission unit for transmitting data to the second device, wherein the second device has a data reception unit for receiving data from the first device and a data reception unit for receiving data from the data reception unit. A second storage unit for storing the second code in the storage unit as a storage code;
A comparison and determination unit that compares and compares the stored code stored in the second storage unit with the first code in the received data, and the first code and the stored code match according to the comparison and determination of the comparison and determination unit. An operation control unit for performing a predetermined operation control according to the content of the data received at the time, and a previous storage code stored in the second storage unit when the first code and the storage code match each other are received. It is achieved by having a storage code updating unit that updates to a new storage code.

【0007】[0007]

【作用】上記構成のデータ通信装置においては、第1の
装置は、複数のコードからなるコード表を記憶する第1
記憶部を備えており、操作部の操作キーが操作されたと
きにそのキー操作時間を検出し、そのキー操作時間に応
じて前記第1記憶部に記憶されているコード表の中から
コード選択部により所定のコードを選択する。そして、
選択された第1記憶部のコードを用いて第1コードと第
2コードからなる所定のデータをデータ設定部により設
定し、データ送信部がそのデータ設定部から入力された
データを第2の装置に送信する。そして、送信する度に
データ設定部により設定されたデータの中の第1コード
のコードを第2コードのコードに更新し、第2コードの
コードを前記コード選択部により選択された新たなコー
ドに更新する。
In the data communication apparatus having the above structure, the first apparatus stores the code table including a plurality of codes.
A code is provided from the code table stored in the first memory, which has a storage unit, detects a key operation time when an operation key of the operation unit is operated, and selects the code according to the key operation time. Select a predetermined code according to the section. And
The data setting unit sets predetermined data including the first code and the second code using the selected code of the first storage unit, and the data transmitting unit sets the data input from the data setting unit to the second device. Send to. Then, every time it is transmitted, the code of the first code in the data set by the data setting unit is updated to the code of the second code, and the code of the second code is changed to the new code selected by the code selecting unit. Update.

【0008】第2の装置は、第1の装置からのデータを
受信し、第2記憶部に記憶されている記憶コードと受信
した第1コードの一致を比較判定部により比較判定し、
該比較判定部の比較判定により第1コードと記憶コード
が一致したときに受信したデータの内容に応じて所定の
動作制御を行う。また、記憶コード更新部が第1コード
と記憶コードが一致したときに第2記憶部に記憶されて
いる前の記憶コードを受信した新たな記憶コードに更新
する。したがって、データ通信中に学習リモコン等の複
製装置を使用し、その送信データをコピーしても本物と
同様のリモコンユニットを複製することができない。
The second device receives the data from the first device, and compares the stored code stored in the second storage section with the received first code by the comparison and determination section to make a determination.
Predetermined operation control is performed according to the content of the data received when the first code and the stored code match according to the comparison determination of the comparison determination unit. Further, the memory code updating unit updates the previous memory code stored in the second memory unit to a new memory code received when the first code and the memory code match. Therefore, even if a copying device such as a learning remote controller is used during data communication and the transmitted data is copied, it is not possible to copy a remote control unit similar to the real one.

【0009】[0009]

【実施例】図1は本発明に係わるデータ通信装置の一実
施例を示す要部ブロック図である。まず、構成を説明す
ると、1はリモコンユニット、2は自動車等の被制御装
置に設けられた受信制御部、3は自動車のドアロック・
アンロック制御やエンジンオン・オフ制御を行う強電制
御部である。リモコンユニット1において、11は操作
部であり、例えばエンジンスタートのオンを指示するエ
ンジンオンキー11a、エンジンスタートのオフを指示
するエンジンオフキー11b、ドアのロックを指示する
ドアロックキー11c、およびドアのアンロックを指示
するドアアンロックキー11dを有している。12は制
御部であり、第1メモリ12a、キー操作時間検出部1
2b、乱数コード選択部12c、データ設定部12d、
およびデータ更新部12eを有している。13は送信デ
ータを変調する変調部、14は送信部、15は送信アン
テナである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of essential parts showing an embodiment of a data communication apparatus according to the present invention. First, the configuration will be described. 1 is a remote control unit, 2 is a reception control unit provided in a controlled device such as an automobile, and 3 is a door lock of the automobile.
This is a high-power control unit that performs unlock control and engine on / off control. In the remote control unit 1, reference numeral 11 denotes an operation unit, for example, an engine on key 11a for instructing to turn on engine start, an engine off key 11b for instructing to turn off engine start, a door lock key 11c for instructing door lock, and a door It has a door unlock key 11d for instructing to unlock. Reference numeral 12 is a control unit, which includes the first memory 12a and the key operation time detection unit
2b, random number code selection unit 12c, data setting unit 12d,
And a data updating unit 12e. Reference numeral 13 is a modulator for modulating transmission data, 14 is a transmitter, and 15 is a transmission antenna.

【0010】図2は送信データ構成の一例である。この
構成例では第1ブロックに8ビットの第1コード(ID
コード)、第2ブロックに8ビットの第2コード(メモ
リコード)が配置されており、送信時には操作部11の
各操作キーにそれぞれ対応した8ビットのコマンドコー
ドが第3ブロックに付加される。図3は送信データを構
成するコマンドコードの一例である。例えば、リモコン
ユニット1のエンジンオンキー11aが押圧されたとき
には、エンジンスタートオンを意味するコマンドコード
(00000001)が付加される。
FIG. 2 shows an example of the transmission data structure. In this configuration example, the first block has an 8-bit first code (ID
Code), and an 8-bit second code (memory code) is arranged in the second block, and an 8-bit command code corresponding to each operation key of the operation unit 11 is added to the third block during transmission. FIG. 3 is an example of a command code forming the transmission data. For example, when the engine on key 11a of the remote control unit 1 is pressed, a command code (00000001) meaning engine start on is added.

【0011】図4は送信ユニット1における一例の乱数
コード選択を説明するための説明図である。図4を参照
すると、送信ユニット1の操作部11のいずれかの操作
キーが押されると、キー入力がL(Low)からH(H
igh)となり、離すとふたたびLとなるようにしてい
る。そして、キー操作時間検出部12bがこのキー入力
区間を押圧時点から所定周期でサンプリングし、キー入
力がHのときにはサンプリングデータとして1を検出
し、Lのときには0を検出するようにしている。そこ
で、この検出されたサンプリング数に応じて乱数コード
選択部12cが第1メモリ12aに記憶されている乱数
コード表の中からサンプリング数に対応した乱数コード
を選択する。
FIG. 4 is an explanatory diagram for explaining an example of random number code selection in the transmission unit 1. Referring to FIG. 4, when any operation key of the operation unit 11 of the transmission unit 1 is pressed, the key input changes from L (Low) to H (H).
It becomes "high" and becomes L again when it is released. Then, the key operation time detection unit 12b samples this key input section at a predetermined cycle from the time of pressing, and detects 1 as sampling data when the key input is H and 0 when it is L. Therefore, the random number code selection unit 12c selects a random number code corresponding to the sampling number from the random number code table stored in the first memory 12a according to the detected sampling number.

【0012】図5は第1メモリ12aに予め記憶されて
いる乱数コード表である。図5で例えば上記乱数コード
選択でキー操作時間検出部12bによって検出されたサ
ンプリング数が8であったならば、乱数コード選択部1
2cにより乱数コード表から乱数コード(010101
01)を選択する。
FIG. 5 is a random number code table stored in advance in the first memory 12a. In FIG. 5, for example, if the number of samplings detected by the key operation time detection unit 12b in the above random number code selection is 8, the random number code selection unit 1
2c from the random number code table to the random number code (010101
01) is selected.

【0013】さて、制御部12に関して詳細に説明をす
ると、第1メモリ12aは、複数の乱数コードからなる
乱数コード表が記憶されており、キー操作時間検出部1
2bは操作部11の操作キーが操作されたときにそのキ
ー操作時間を検出する。キー操作時間検出に関しては、
図4のところで説明したので省略する。乱数コード選択
部12cは操作部11のキー操作時間に応じて第1メモ
リ12aに記憶されている乱数コード表の中から所定の
乱数コードを選択する。そして、データ設定部12dは
乱数コード選択部12cにより選択された第1メモリ1
2aからの乱数コードを用いて第1コードと第2コード
からなる所定のデータを設定する。データ更新部12e
は送信する度にデータ設定部12dにより設定されたデ
ータの中の第1コードの乱数コードを第2コードの乱数
コードに更新し、第2コードの乱数コードを乱数コード
選択部12cにより選択された第1メモリ12aからの
新たな乱数コードに更新する。
Now, the control unit 12 will be described in detail. The first memory 12a stores a random number code table composed of a plurality of random number codes, and the key operation time detecting unit 1
2b detects the key operation time when the operation key of the operation unit 11 is operated. Regarding key operation time detection,
Since it has been described with reference to FIG. The random number code selection unit 12c selects a predetermined random number code from the random number code table stored in the first memory 12a according to the key operation time of the operation unit 11. Then, the data setting unit 12d uses the first memory 1 selected by the random number code selecting unit 12c.
Predetermined data composed of the first code and the second code is set using the random number code from 2a. Data updating unit 12e
Each time it is transmitted, the random number code of the first code in the data set by the data setting unit 12d is updated to the random number code of the second code, and the random number code of the second code is selected by the random number code selecting unit 12c. The new random number code from the first memory 12a is updated.

【0014】また、被制御装置の受信制御部2におい
て、21は制御部であり、第2メモリ21a、比較判定
部21b、およびメモリコード更新部21cを有してい
る。また、22は受信アンテナ、23はリモコンユニッ
ト1からの所定のデータを受信するための受信部、24
は受信信号からデータを復調する復調部である。
In the reception control unit 2 of the controlled device, 21 is a control unit, which has a second memory 21a, a comparison / determination unit 21b, and a memory code updating unit 21c. Further, 22 is a receiving antenna, 23 is a receiving section for receiving predetermined data from the remote control unit 1, 24
Is a demodulator for demodulating data from a received signal.

【0015】ここで、制御部21に関して詳細に説明を
すると、第2メモリ12aは受信したデータの中の第2
コードをメモリコードとして記憶する。比較判定部21
bは第2メモリ21aに記憶されているメモリコードと
受信したデータの中の第1コードとの一致を比較判定
し、後述する動作制御部へ動作指令を出力する。また、
メモリコード更新部21cは第1コードとメモリコード
が一致したときに第2メモリ21aに記憶されている前
のメモリコードを受信した新たなメモリコード(第2コ
ード)に更新する。
Here, the control unit 21 will be described in detail. The second memory 12a stores the second data in the received data.
Store the code as a memory code. Comparison determination unit 21
b compares and judges the match between the memory code stored in the second memory 21a and the first code in the received data, and outputs an operation command to the operation control unit described later. Also,
The memory code updating unit 21c updates the previous memory code stored in the second memory 21a to the new received memory code (second code) when the first code and the memory code match.

【0016】強電制御部3は比較判定部21bの比較判
定により第1コードとメモリコードが一致したときに受
信したデータの内容に応じて所定の動作制御を行うもの
であり、自動車のドアのロック/アンロックを制御する
ドア鎖錠制御部31、エンジンスタートのオン/オフ制
御を行うエンジンスタート制御部32、ホーンの鳴動を
制御するホーン制御部33を有している。ホーン制御部
33は受信制御部2のON/OFFキー(図示せず)に
より制御され、例えばドアのロック・アンロックすると
きに同期して鳴動させるようにしている。
The high-voltage control unit 3 controls the predetermined operation according to the content of the data received when the first code and the memory code match according to the comparison judgment of the comparison judgment unit 21b, and locks the door of the automobile. A door lock control unit 31 that controls unlocking / locking, an engine start control unit 32 that controls on / off of engine start, and a horn control unit 33 that controls ringing of the horn. The horn control unit 33 is controlled by an ON / OFF key (not shown) of the reception control unit 2 and is made to ring in synchronization when the door is locked / unlocked, for example.

【0017】図6はデータ送信の一例を説明するための
説明図である。図6を参照すると、例えば、まず第1回
目の送信のときには、データ設定部12dが第1メモリ
12aに記憶されている乱数コード表からキー操作時間
に応じて乱数コード選択部12cにより選択された乱数
コード(10100110)を用いて第1コードとし、
同様に第2コードも同じ乱数コード(1010011
0)とする。そして、第1コードはIDコードとして、
第2コードはメモリコードとして使用する。第1回目の
送信ではこの実施例では第1メモリ12aからの乱数コ
ードを用いて第1コードと第2コードは同じコードとし
ているが第1コードは予め第2コードとは違うコードを
設定しておき、そのコードと同じコードを被制御装置側
に受付可能コードとして予め設定させておいてもよい。
そして、第2回目の送信のときには第1回目の第1コー
ド(10100110)を第1回目の第2コード(10
100110)に更新し、第2コード(1010011
0)を第1メモリ12aからの新たな乱数コード(01
000001)に更新する。さらに、第3回目の送信の
ときには第2回目の第1コード(10100110)を
第2回目のときの第2コード(01000001)に更
新し、第2回目の第2コード(10100110)は第
1メモリ12aからの新たな乱数コード(011110
10)に更新する。以上のように、送信時には上記処理
が繰り返されるので、ランダム送信が可能となる。
FIG. 6 is an explanatory diagram for explaining an example of data transmission. Referring to FIG. 6, for example, in the first transmission, the data setting unit 12d is selected by the random number code selecting unit 12c from the random number code table stored in the first memory 12a according to the key operation time. Using the random number code (10100110) as the first code,
Similarly, the second code has the same random number code (1010011).
0). And the first code is the ID code,
The second code is used as a memory code. In the first transmission, in this embodiment, the random number code from the first memory 12a is used and the first code and the second code are the same code, but the first code is set to a code different from the second code in advance. Alternatively, the same code as that code may be set in advance as a receivable code on the controlled device side.
Then, at the time of the second transmission, the first code (10100110) of the first time is changed to the second code (10
100110) and the second code (1010011)
0) is a new random number code (01
00000)). Further, at the time of the third transmission, the first code (10100110) of the second time is updated to the second code (01000001) of the second time, and the second code (10100110) of the second time is stored in the first memory. New random number code from 12a (011110
Update to 10). As described above, since the above processing is repeated during transmission, random transmission is possible.

【0018】図7は本発明に係るデータ通信装置のデー
タ送受信状態を説明するための説明図であり、この図7
を参照しながら、図1のデータ通信装置におけるリモコ
ンユニット1と受信制御部2とのデータ上の設定及びや
り取りを詳細に説明する。まず、はじめにユーザーによ
り送信ユニット1の操作部11のうち何らかの操作キー
が押されると、キー操作時間検出部12bがキー操作時
間をサンプリングし、そのサンプリング数に応じて乱数
コード選択部12cにより第1メモリ12aからサンプ
リング数に対応する乱数コードを選択する。そして、デ
ータ設定部12dがその乱数コードを用いて送信データ
を設定する。送信データ設定の説明は図6で説明したの
で、ここでは省略する。
FIG. 7 is an explanatory diagram for explaining the data transmission / reception state of the data communication apparatus according to the present invention.
With reference to FIG. 2, data setting and exchange between the remote control unit 1 and the reception control unit 2 in the data communication apparatus of FIG. 1 will be described in detail. First, when the user first presses any operation key of the operation unit 11 of the transmission unit 1, the key operation time detection unit 12b samples the key operation time, and the random number code selection unit 12c determines the first operation time according to the sampling number. A random number code corresponding to the sampling number is selected from the memory 12a. Then, the data setting unit 12d sets transmission data using the random number code. The transmission data setting has been described with reference to FIG. 6, and will not be repeated here.

【0019】ここで、図7を参照して、例えば第3回目
の送受信を説明すると、第3回目の送信データ構成は第
1コード(IDコード)が(01000001)、第2
コード(メモリコード)が(01111010)となっ
ている。そこで、制御部12は第1コード、および第2
コードに図3で説明したような操作キーに対応したコマ
ンドコードを付加して送信データとし、そのデータを変
調回路13、送信部14、送信アンテナ15を介して受
信制御部2へ送信する。
Now, referring to FIG. 7, for example, the third transmission / reception will be described. In the third transmission data structure, the first code (ID code) is (01000001) and the second code is second.
The code (memory code) is (01111010). Therefore, the control unit 12 controls the first code and the second code.
A command code corresponding to the operation key as described in FIG. 3 is added to the code as transmission data, and the data is transmitted to the reception control unit 2 via the modulation circuit 13, the transmission unit 14, and the transmission antenna 15.

【0020】そこで、受信制御部2の制御部21が受信
アンテナ22、受信部23、および復調部24を介して
送信ユニット1からの送信データを受信すると、制御部
21の比較判定部21bが受付可能コードとして、第2
メモリ21aから第2回目のときに受信したメモリコー
ド(01000001)をIDコードとして読み込み、
受信した送信データの中の第1コード(IDコード)と
一致しているかの比較判定処理を行う。ただし、第1回
目受信時はIDコード一致は比較判定はせずに無視し、
一致とみなす。すなわち、比較判定部21bにより第2
メモリ21aから読み込まれたメモリコード(IDコー
ド)が送信データの中の第1コード(IDコード)と一
致したときに受付可能となる。
Therefore, when the control unit 21 of the reception control unit 2 receives the transmission data from the transmission unit 1 via the reception antenna 22, the reception unit 23, and the demodulation unit 24, the comparison / determination unit 21b of the control unit 21 receives the transmission data. The second possible code
The memory code (01000001) received from the memory 21a at the second time is read as an ID code,
A comparison / determination process is performed to determine whether or not the first code (ID code) in the received transmission data matches. However, during the first reception, ID code coincidence is ignored without making a comparison judgment,
Consider a match. That is, the second determination is made by the comparison / determination unit 21b.
It can be accepted when the memory code (ID code) read from the memory 21a matches the first code (ID code) in the transmission data.

【0021】また、制御部21は第3回目受信において
IDコードが一致していれば、メモリコード更新部21
cにより第2メモリ21aに記憶されている前のメモリ
コードを新たな第3回目の送信データの中の第2コード
(メモリコード)へ更新する。以下、同様の更新処理が
IDコードが一致する度に繰り返される。
Further, if the ID code is the same in the third reception, the control unit 21 updates the memory code updating unit 21.
The previous memory code stored in the second memory 21a is updated by c to the second code (memory code) in the new third transmission data. Hereinafter, the same update process is repeated every time the ID code matches.

【0022】つぎに、空押しされた場合を説明すると、
例えば第4回目、第5回目、第6回目が空押しされ、第
7回目に通常の送信が行われたとする。ここで、図7を
参照すると、送信データの第1コードは(100110
11)、第2コードは(01011010)である。一
方、受信制御部2は第3回目に送信されたメモリコード
(01111010)を記憶し続けている。したがっ
て、送信データの第1コード(10011011)とは
一致しないので、受付はしない。そこで、リモコンユニ
ット1は送信された送信データを所定数記憶しており、
例えば操作キーを押し続けると順に第1メモリ12aに
記憶されている過去の送信データを送信する。すなわ
ち、第4回目の送信データまでさかのぼって送信するこ
ととなる。
Next, description will be given of a case where the button is pressed by the air.
For example, it is assumed that the fourth time, the fifth time, and the sixth time are pressed empty and the normal transmission is performed at the seventh time. Here, referring to FIG. 7, the first code of the transmission data is (100110
11) and the second code is (01011010). On the other hand, the reception control unit 2 continues to store the memory code (01111010) transmitted for the third time. Therefore, since it does not match the first code (10011011) of the transmission data, it is not accepted. Therefore, the remote control unit 1 stores a predetermined number of transmitted transmission data,
For example, if the operation key is kept pressed, the past transmission data stored in the first memory 12a is transmitted in order. That is, the data is sent back to the fourth transmission data.

【0023】図8は本発明に係るデータ通信装置におけ
るリモコンユニット1の制御部12の処理の流れ図であ
る。この流れ図に従って、リモコンユニット1の動作を
説明する。まず、はじめにユーザーにより操作部11の
操作キーが押され、そのキーに該当するキー入力が制御
部12に入力されると(ステップ101)、制御部12
は操作キー時間検出部12dにより操作キー時間をサン
プリングする。そして、乱数コード選択部12cが検出
されたサンプリング数に対応した乱数コードを第1メモ
リ12aの乱数コード表から選択する(ステップ10
2)。
FIG. 8 is a flow chart of processing of the control unit 12 of the remote control unit 1 in the data communication apparatus according to the present invention. The operation of the remote control unit 1 will be described with reference to this flowchart. First, when the user first presses the operation key of the operation unit 11 and a key input corresponding to the key is input to the control unit 12 (step 101), the control unit 12
The operation key time detector 12d samples the operation key time. Then, the random number code selection unit 12c selects a random number code corresponding to the detected sampling number from the random number code table of the first memory 12a (step 10).
2).

【0024】そこで、制御部12はデータ設定部12d
により第1メモリ12aから選択された乱数コードを取
り込む(ステップ103)。そして、データ更新部12
eにより第1メモリ12aに記憶されている送信データ
のうち第1コードを第2コードに更新し、第2コードを
新たに選択された乱数コードに更新する(ステップ10
4)。そこで、更新されて設定された第1コードと第2
コードに、さらに操作キーに対応したコマンドコードを
付加し送信データを設定する(ステップ105)。そし
て、制御部12は設定された送信データを変調部13、
送信部14、送信アンテナ15を介して被制御装置側へ
送信するとともに送信データを第1メモリ12aに記憶
する(ステップ106)。
Therefore, the control unit 12 has the data setting unit 12d.
Then, the selected random number code is fetched from the first memory 12a (step 103). Then, the data updating unit 12
By e, the first code of the transmission data stored in the first memory 12a is updated to the second code, and the second code is updated to the newly selected random number code (step 10).
4). Therefore, the updated and set first code and second code
A command code corresponding to the operation key is further added to the code to set transmission data (step 105). Then, the control unit 12 transmits the set transmission data to the modulation unit 13,
The data is transmitted to the controlled device side via the transmission unit 14 and the transmission antenna 15, and the transmission data is stored in the first memory 12a (step 106).

【0025】図9は本発明に係るデータ通信装置におけ
る被制御装置側の制御部21の処理の流れ図である。こ
の流れ図に従って、被制御装置側の制御部21の動作を
説明する。まず、ユーザーにより、例えば送信ユニット
1の操作部11の操作キーが押されたとして、送信ユニ
ット1から送信データが送信され、制御部21が受信ア
ンテナ22、受信部23、および復調部24を介して送
信データを受信すると(ステップ201)、制御部21
の比較判定部23bが送信データの中の第1コード、第
2コード、コマンドコードを読み取る(ステップ20
2)。
FIG. 9 is a flow chart of processing of the control unit 21 on the controlled device side in the data communication device according to the present invention. The operation of the control unit 21 on the controlled device side will be described with reference to this flowchart. First, assuming that the operation key of the operation unit 11 of the transmission unit 1 is pressed by the user, the transmission data is transmitted from the transmission unit 1, and the control unit 21 causes the reception antenna 22, the reception unit 23, and the demodulation unit 24 to intervene. When the transmission data is received (step 201), the control unit 21
The comparison / determination unit 23b reads the first code, the second code, and the command code in the transmission data (step 20).
2).

【0026】そこで、比較判定部23bは第2メモリ2
1aから記憶されているメモリコードを読み込み(ステ
ップ203)、読み込んだメモリコードをIDコードと
して設定し(ステップ204)、設定されたIDコード
と受信した第1コード(IDコード)とが一致している
かどうかの比較判定を行う(ステップ205)。そし
て、一致していれば、第2メモリ21aの前のメモリコ
ードを新たなメモリコードに更新するとともに、コマン
ドコードに応じた動作指令を出力する(ステップ20
6)。ステップ205で送信データの中の第1コードと
第2メモリ21aに記憶されているメモリコードとが一
致していなければ動作指令の受付はしない(ステップ2
07)。
Therefore, the comparison / determination unit 23b is operated by the second memory 2
The memory code stored in 1a is read (step 203), the read memory code is set as an ID code (step 204), and the set ID code matches the received first code (ID code). Whether or not there is a comparison is determined (step 205). If they match, the previous memory code of the second memory 21a is updated to a new memory code, and an operation command corresponding to the command code is output (step 20).
6). If the first code in the transmission data does not match the memory code stored in the second memory 21a in step 205, the operation command is not accepted (step 2).
07).

【0027】したがって、泥棒により送信データ信号を
複製装置によりコピーされても送信するたびに送信デー
タ内容が違っているので、泥棒は被制御装置側をコント
ロールすることができない。実施例では車載用データ通
信装置に言及したが、家庭用データ通信装置等にも適用
できる。また、送受信は媒体として無線の他に、光、あ
るいは有線等としてもよい。また、各コードは8ビット
としたがビット数は8ビットでなくてもよい。
Therefore, even if the transmission data signal is copied by the duplication device by the thief, the transmission data content is different each time it is transmitted, so that the thief cannot control the controlled device side. Although the embodiment refers to the on-vehicle data communication device, it can be applied to a home data communication device and the like. Further, the transmission / reception may be optical, wired, or the like in addition to wireless as a medium. Although each code is 8 bits, the number of bits may not be 8 bits.

【0028】[0028]

【発明の効果】以上本発明によれば、第1の装置は、複
数のコードからなるコード表を記憶する第1記憶部を備
えており、操作部の操作キーが操作されたときにそのキ
ー操作時間を検出し、そのキー操作時間に応じて前記第
1記憶部に記憶されているコード表の中からコード選択
部により所定のコードを選択し、選択された第1記憶部
のコードを用いて第1コードと第2コードからなる所定
のデータをデータ設定部により設定し、データ送信部が
そのデータ設定部から入力されたデータを第2の装置に
送信するとともに、送信する度にデータ設定部により設
定されたデータの中の第1コードのコードを第2コード
のコードに更新し、第2コードのコードを前記コード選
択部により選択された新たなコードに更新し、第2の装
置は、第1の装置からのデータを受信し、第2記憶部に
記憶されている記憶コードと受信した第1コードの一致
を比較判定部により比較判定し、該比較判定部の比較判
定により第1コードと記憶コードが一致したときに受信
したデータの内容に応じて所定の動作制御を行い、記憶
コード更新部が第1コードと記憶コードが一致したとき
に第2記憶部に記憶されている前の記憶コードを受信し
た新たな記憶コードに更新することができるので、通信
中に学習リモコン等の複製装置を使用し、その送信デー
タをコピーしても本物と同様のリモコンユニットを複製
することができない。
As described above, according to the present invention, the first device is provided with the first storage section for storing the code table composed of a plurality of codes, and when the operation key of the operation section is operated, that key is operated. The operation time is detected, a predetermined code is selected by the code selection unit from the code table stored in the first storage unit according to the key operation time, and the selected code in the first storage unit is used. The predetermined data including the first code and the second code is set by the data setting unit, and the data transmission unit transmits the data input from the data setting unit to the second device and sets the data each time the data is transmitted. The code of the first code in the data set by the unit is updated to the code of the second code, the code of the second code is updated to the new code selected by the code selection unit, and the second device , First device These data are received, the comparison determination unit compares and determines whether the stored code stored in the second storage unit and the received first code match, and the comparison determination unit compares the first code and the stored code. When the stored code update unit performs a predetermined operation control according to the content of the received data when the data matches, and when the stored code update unit receives the previous code stored in the second storage unit when the first code and the stored code match. Since the new stored code can be updated, even if a copying device such as a learning remote controller is used during communication and the transmitted data is copied, a remote controller unit similar to the real one cannot be copied.

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

【図1】本発明に係わるデータ通信装置の一実施例を示
す要部ブロック図である。
FIG. 1 is a principal block diagram showing an embodiment of a data communication apparatus according to the present invention.

【図2】送信データ構成の一例である。FIG. 2 is an example of a transmission data structure.

【図3】送信データを構成するコマンドコードの一例で
ある。
FIG. 3 is an example of a command code forming transmission data.

【図4】送信ユニット1における一例の乱数コード選択
を説明するための説明図である。
FIG. 4 is an explanatory diagram for explaining an example of random number code selection in the transmission unit 1.

【図5】第1メモリ12aに記憶された乱数コード表で
ある。
FIG. 5 is a random number code table stored in a first memory 12a.

【図6】データ送信の一例を説明するための説明図であ
る。
FIG. 6 is an explanatory diagram illustrating an example of data transmission.

【図7】本発明に係るデータ通信装置のデータ送受信状
態を説明するための説明図である。
FIG. 7 is an explanatory diagram for explaining a data transmission / reception state of the data communication device according to the present invention.

【図8】本発明に係るデータ通信装置におけるリモコン
ユニット1の制御部12の処理の流れ図である。
FIG. 8 is a flowchart of processing of the control unit 12 of the remote control unit 1 in the data communication device according to the present invention.

【図9】本発明に係るデータ通信装置における被制御装
置側の制御部21の処理の流れ図である。
FIG. 9 is a flowchart of the process of the control unit 21 on the controlled device side in the data communication device according to the present invention.

【符号の説明】[Explanation of symbols]

1 リモコンユニット 11 操作部 12 制御部 12a 第1メモリ 12b キー操作時間検出部 12c 乱数コード選択部 12d データ設定部 12e データ更新部 13 変調部 14 送信部 2 受信制御部 21 制御部 21a 第2メモリ 21b 比較判定部 21c メモリコード更新部 23 受信部 24 復調部 3 強電制御部 DESCRIPTION OF SYMBOLS 1 Remote control unit 11 Operation part 12 Control part 12a First memory 12b Key operation time detection part 12c Random code selection part 12d Data setting part 12e Data update part 13 Modulation part 14 Transmission part 2 Reception control part 21 Control part 21a Second memory 21b Comparison / determination unit 21c Memory code updating unit 23 Receiving unit 24 Demodulating unit 3 High voltage control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所定のデータを第1の装置から第2の装
置へ送信するデータ通信装置であって、 第1の装置は、複数のコードからなるコード表を記憶す
る第1記憶部と、 複数の操作キーからなる操作部と、 該操作部の操作キーが操作されたときにそのキー操作時
間を検出するキー操作時間検出部と、 該キー操作時間に応じて前記第1記憶部に記憶されてい
るコード表の中から所定のコードを選択するコード選択
部と、 該コード選択部により選択された第1記憶部からのコー
ドを用いて第1コードと第2コードからなる所定のデー
タを設定するデータ設定部と、 送信する度に前記データ設定部により設定されたデータ
の中の第1コードのコードを第2コードのコードに更新
し、第2コードのコードを前記コード選択部により選択
された第1記憶部からの新たなコードに更新するデータ
更新部と、 前記データ設定部から入力されたデータを第2の装置に
送信するためのデータ送信部とを有し、 第2の装置は、第1の装置からのデータを受信するため
のデータ受信部と、 該データ受信部により受信されたデータの中の第2コー
ドを記憶コードとして記憶する第2記憶部と、 該第2記憶部に記憶されている記憶コードと受信したデ
ータの中の第1コードとの一致を比較判定する比較判定
部と、 該比較判定部の比較判定により第1コードと記憶コード
が一致したときに受信したデータの内容に応じて所定の
動作制御を行う動作制御部と、 第1コードと記憶コードが一致したときに前記第2記憶
部に記憶されている前の記憶コードを受信した新たな記
憶コードに更新する記憶コード更新部とを有することを
特徴とするデータ通信装置。
1. A data communication device for transmitting predetermined data from a first device to a second device, wherein the first device includes a first storage section for storing a code table including a plurality of codes. An operation unit including a plurality of operation keys, a key operation time detection unit that detects a key operation time when the operation key of the operation unit is operated, and a storage in the first storage unit according to the key operation time. A code selecting section for selecting a predetermined code from the code table stored in the table and a code from the first storage section selected by the code selecting section is used to generate predetermined data including the first code and the second code. The data setting section to be set and the code of the first code in the data set by the data setting section is updated to the code of the second code each time the data is transmitted, and the code of the second code is selected by the code selecting section. The first note The data updating unit that updates the new code from the storage unit, and the data transmitting unit that transmits the data input from the data setting unit to the second device, the second device is the first device. A data receiving section for receiving data from the device, a second storage section for storing a second code in the data received by the data receiving section as a storage code, and a second storage section stored in the second storage section. A comparison determination unit that compares and compares the stored code with the first code in the received data, and the content of the data received when the first code and the stored code match by the comparison determination of the comparison determination unit. And an operation control section for performing a predetermined operation control according to the above, and a memory for updating the previous storage code stored in the second storage section to a new storage code received when the first code and the storage code match. Code update section Data communication apparatus characterized by having a.
JP26186893A 1993-09-25 1993-09-25 Data communication equipment Withdrawn JPH0795667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26186893A JPH0795667A (en) 1993-09-25 1993-09-25 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26186893A JPH0795667A (en) 1993-09-25 1993-09-25 Data communication equipment

Publications (1)

Publication Number Publication Date
JPH0795667A true JPH0795667A (en) 1995-04-07

Family

ID=17367878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26186893A Withdrawn JPH0795667A (en) 1993-09-25 1993-09-25 Data communication equipment

Country Status (1)

Country Link
JP (1) JPH0795667A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093826A1 (en) * 2001-05-14 2002-11-21 Matsushita Electric Industrial Co., Ltd. Electronic device control apparatus
JP2003509970A (en) * 1999-09-16 2003-03-11 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Packet authentication
US7609837B2 (en) * 2005-09-01 2009-10-27 Sharp Laboratories Of America, Inc. System and method for automatic setup of a network device with secure network transmission of setup parameters
JP2011031797A (en) * 2009-08-04 2011-02-17 Alpha Corp Steering lock system and random number generating method thereof
CN103241215A (en) * 2013-04-28 2013-08-14 江苏大学 QR-code-based (quick response code-based) vehicle operation authorization and burglary protection system and method
CN113609134A (en) * 2021-08-23 2021-11-05 广州品唯软件有限公司 Method and device for acquiring unique random code

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003509970A (en) * 1999-09-16 2003-03-11 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Packet authentication
WO2002093826A1 (en) * 2001-05-14 2002-11-21 Matsushita Electric Industrial Co., Ltd. Electronic device control apparatus
US7609837B2 (en) * 2005-09-01 2009-10-27 Sharp Laboratories Of America, Inc. System and method for automatic setup of a network device with secure network transmission of setup parameters
JP2011031797A (en) * 2009-08-04 2011-02-17 Alpha Corp Steering lock system and random number generating method thereof
CN103241215A (en) * 2013-04-28 2013-08-14 江苏大学 QR-code-based (quick response code-based) vehicle operation authorization and burglary protection system and method
CN103241215B (en) * 2013-04-28 2016-12-28 江苏大学 Automobile based on Quick Response Code uses mandate, burglary-resisting system and method
CN113609134A (en) * 2021-08-23 2021-11-05 广州品唯软件有限公司 Method and device for acquiring unique random code
CN113609134B (en) * 2021-08-23 2024-05-24 广州品唯软件有限公司 Method and device for acquiring unique random code

Similar Documents

Publication Publication Date Title
US5055701A (en) Operator responsive keyless entry system with variable random codes
US5937065A (en) Keyless motor vehicle entry and ignition system
US5594429A (en) Transmission and reception system and signal generation method for same
JP2784309B2 (en) Remote control security system
JPH0781521A (en) Security device
US7129816B2 (en) Remote control system
JPH1098777A (en) Communication device
JPH0586759A (en) Device to get access to a plurality of stations
JPS63574A (en) Unlocking control apparatus
US7328044B2 (en) Mobile device registration system
US20110153121A1 (en) Secured area access system, apparatus, and method
EP1000826B1 (en) Remote control system for a motor vehicle
JP2914211B2 (en) Keyless entry system
JPH0795667A (en) Data communication equipment
US5828317A (en) Remote control method and remote control system
JP3864300B2 (en) Unlocking method
JP3312405B2 (en) Keyless entry device
JP2003064920A (en) Vehicle key system, vehicle side key device and electronic key
JPH08150902A (en) Engine starter
KR20060036981A (en) The materializing method and system for an electric-key
JP2000129977A (en) Autolock mechanism control transmitter and receiver, and operation method thereof
JPH0750885A (en) Data communication equipment
US20050268088A1 (en) Vehicle control system, and in-vehicle control apparatus and mobile device used therefor
JPH05287947A (en) Protective device by wireless remote control
JPH1030367A (en) Identification signal checking device and identification signal checking method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001128