JP2670019B2 - Communication device and communication method - Google Patents

Communication device and communication method

Info

Publication number
JP2670019B2
JP2670019B2 JP6286602A JP28660294A JP2670019B2 JP 2670019 B2 JP2670019 B2 JP 2670019B2 JP 6286602 A JP6286602 A JP 6286602A JP 28660294 A JP28660294 A JP 28660294A JP 2670019 B2 JP2670019 B2 JP 2670019B2
Authority
JP
Japan
Prior art keywords
data
rounding
value
encryption
encryption key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6286602A
Other languages
Japanese (ja)
Other versions
JPH08149125A (en
Inventor
洋一郎 西川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6286602A priority Critical patent/JP2670019B2/en
Publication of JPH08149125A publication Critical patent/JPH08149125A/en
Application granted granted Critical
Publication of JP2670019B2 publication Critical patent/JP2670019B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、無線または有線のネッ
トワークにおいて通信データを暗号化して送受信する通
信装置および通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device and a communication method for encrypting and transmitting communication data in a wireless or wired network.

【0002】[0002]

【従来の技術】図5は無線または有線の通信システムの
一例を示す図である。図5において、複数の端末装置1
00a,100b,100cがネットワーク線101で
接続されている。このネットワーク線101を介して複
数の端末装置100a,100b,100c間でデータ
の送受信が行われる。なお、無線の通信システムの場合
にはネットワーク線101は存在しない。
2. Description of the Related Art FIG. 5 is a diagram showing an example of a wireless or wired communication system. In FIG. 5, a plurality of terminal devices 1
00a, 100b, 100c are connected by a network line 101. Data is transmitted and received between the plurality of terminal devices 100a, 100b, 100c via the network line 101. In the case of a wireless communication system, the network line 101 does not exist.

【0003】このような通信システムにおいて通信内容
の秘密を保ちつつ通信を行うためには、送信側でデータ
を所定の暗号化アルゴリズムに従って暗号化し、暗号化
データを送信する。一方、受信側では、受信した暗号化
データを上記暗号化アルゴリズムに対応する解読アルゴ
リズムに従って解読する。
In order to perform communication in such a communication system while keeping the communication contents secret, the transmitting side encrypts the data according to a predetermined encryption algorithm and transmits the encrypted data. On the other hand, on the receiving side, the received encrypted data is decrypted according to the decryption algorithm corresponding to the above encryption algorithm.

【0004】図6はデータを暗号化して通信する従来の
通信方法の一例を示す図である。図6において、送信側
では、通信データ22a,22b,22cが、固定の暗
号化キー21を用いて所定の暗号化アルゴリズムに従っ
て暗号化される。それにより、暗号化データ23a,2
3b,23cが得られ、受信側に送信される。
FIG. 6 is a diagram showing an example of a conventional communication method for encrypting and communicating data. In FIG. 6, on the transmitting side, the communication data 22a, 22b, 22c are encrypted using a fixed encryption key 21 according to a predetermined encryption algorithm. Thereby, the encrypted data 23a, 2
3b and 23c are obtained and transmitted to the receiving side.

【0005】受信側では、受信された暗号化データ23
a,23b,23cが、送信側と同じ固定の暗号化キー
24を用いて所定の解読アルゴリズムに従って解読され
る。それにより、解読データ25a,25b,25cが
得られる。
On the receiving side, the received encrypted data 23
a, 23b, and 23c are decrypted according to a predetermined decryption algorithm using the same fixed encryption key 24 as that of the transmitting side. Thereby, the decrypted data 25a, 25b, 25c are obtained.

【0006】このように、送信側および受信側において
同一の固定の暗号化キー21,24を用いることにより
通信データを暗号化して送受信することができる。
As described above, by using the same fixed encryption keys 21 and 24 on the transmitting side and the receiving side, communication data can be encrypted and transmitted / received.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記の
従来の通信方法においては、暗号化および解読に固定の
暗号化キー21,24を用いているので、通信データの
内容が例えばコマンドのように数種類に定型化されたも
のである場合、暗号化データも定型化されたものとなっ
てしまう。そのため、暗号化キー自体の内容を知ること
なく、通信データの内容を把握することが可能な場合が
生じる。
However, in the above-mentioned conventional communication method, since the fixed encryption keys 21 and 24 are used for encryption and decryption, the contents of communication data are several kinds such as a command. If the data is stylized, the encrypted data will also be stylized. Therefore, there may be a case where the content of the communication data can be grasped without knowing the content of the encryption key itself.

【0008】これを防止するために、暗号化キーの内容
を適当な時間間隔で変更する方法が用いられる。しかし
ながら、このような変更は、通常、数日または数カ月に
渡る長期の間隔で行われるため、その間に通信内容が漏
洩する可能性がある。また、暗号化キーの変更時には、
変更後の暗号化キーを全ての端末装置に通知する手順が
必要であるため、暗号化キーを頻繁に変更することは煩
わしい。
In order to prevent this, a method of changing the contents of the encryption key at an appropriate time interval is used. However, since such a change is usually performed at a long time interval of several days or months, communication contents may be leaked during that time. Also, when changing the encryption key,
Since it is necessary to notify all terminal devices of the changed encryption key, it is troublesome to change the encryption key frequently.

【0009】本発明の目的は、煩雑な手順を必要とする
ことなく、暗号化キーを動的に変更することにより、通
信内容の漏洩を確実に防止することができる通信装置お
よび通信方法を提供することである。
An object of the present invention is to provide a communication device and a communication method capable of reliably preventing leakage of communication contents by dynamically changing an encryption key without requiring a complicated procedure. It is to be.

【0010】[0010]

【課題を解決するための手段】(1)第1の発明 第1の発明に係る通信装置は、時刻を計る計時手段と、
計時手段の値を任意の精度に丸める丸め手段と、丸め手
段により得られた値に基づく暗号化キーを用いて送信デ
ータを暗号化する暗号化手段と、暗号化手段により得ら
れた暗号化データを送信する送信手段と、暗号化データ
を受信する受信手段と、丸め手段により得られた値に基
づく暗号化キーを用いて受信手段により受信された暗号
化データを解読する解読手段と、丸め量を決定するため
の丸め量決定手段とを備える。
Means for Solving the Problems (1) First Invention A communication device according to the first invention comprises a time measuring means for measuring time,
Rounding means for rounding the value of the timekeeping means to an arbitrary precision, encryption means for encrypting the transmission data using the encryption key based on the value obtained by the rounding means, and encrypted data obtained by the encryption means , A receiving means for receiving the encrypted data, a decrypting means for decrypting the encrypted data received by the receiving means by using the encryption key based on the value obtained by the rounding means, and a rounding amount. To determine
Rounding amount determining means .

【0011】暗号化手段は、丸め量決定用データの送信
時に、丸め手段により複数段階の精度に丸められた値に
基づく複数の暗号化キーを用いて送信データを暗号化
し、複 数の暗号化データを丸め量決定用データとして送
信手段を介して送信する。解読手段は、丸め量決定用デ
ータの受信時に、丸め手段により複数段階の精度に丸め
られた値に基づく複数の暗号化キーを用いて受信された
丸め量決定用データを解読する。丸め量決定手段は、解
読手段による丸め量決定用データの解読結果に基づいて
丸め量を決定する。
The encryption means sends the rounding amount determination data.
Sometimes, rounding means rounds the value to multiple levels of precision.
Data using multiple encryption keys
And, sending the data rounding amount determining multiple encrypted data
Transmit via communication means. The decoding means is a
When receiving data, it is rounded to multiple levels of precision by the rounding means.
Received with multiple encryption keys based on the assigned value
Decrypt the rounding amount determination data. The rounding amount determining means
Based on the decoding result of the rounding amount determination data by the reading means
Determine the amount of rounding.

【0012】(2)第2の発明の発明に係る通信方法は、丸め量決定用データの送
信時に、複数段階の精度に丸められた値に基づく複数の
暗号化キーを用いて送信データを暗号化し、複数の暗号
化データを丸め量決定用データとして送信し、丸め量決
定用データの受信時に、複数段階の精度に丸められた値
に基づく複数の暗号化キーを用いて受信された丸め量決
定用データを解読し、丸め量決定用データの解読結果に
基づいて丸め量を決定し、データの送信時に、計時手段
の値を決定された丸め量に対応する精度に丸め、丸めら
れた値に基づく暗号化キーを用いてデータを暗号化して
送信し、データの受信時に、計時手段の値を前記精度に
丸め、丸められた値に基づく暗号化キーを用いて受信デ
ータを解読するものである。
(2) Second Invention A communication method according to the second invention is to send rounding amount determination data.
At the time of delivery, multiple values based on rounded values
The transmitted data is encrypted using the encryption key, and multiple encrypted
The converted data is sent as data for determining the rounding amount, and the rounding amount is determined.
Value rounded to multiple levels of accuracy when receiving regular data
Rounding received with multiple encryption keys based on
Decode the regular data and use it as the decryption result of the rounding amount determination data.
The amount of rounding is determined based on the rounded value of the timekeeping means to the precision corresponding to the determined amount of rounding when the data is sent, and the data is encrypted using the encryption key based on the rounded value and sent. When data is received, the value of the timer is rounded to the above precision, and the received data is decrypted using an encryption key based on the rounded value.

【0013】[0013]

【作用】第1の発明に係る通信装置および第2の発明に
係る通信方法においては、計時手段の値が任意の精度に
丸められ、データの送信時には、丸められた値に基づく
暗号化キーを用いて送信データの暗号化が行われ、デー
タの受信時には、丸められた値に基づく暗号化キーを用
いて暗号化データの解読が行われる。
In the communication device according to the first invention and the second invention,
In such a communication method , the value of the timekeeping means is rounded to an arbitrary precision, the transmitted data is encrypted using the encryption key based on the rounded value when transmitting the data, and the rounding is performed when receiving the data. The encrypted data is decrypted using the encryption key based on the obtained value.

【0014】このように、送信側および受信側におい
て、それぞれ動的に変化しかつ互いに同期した暗号化デ
ータを用いてデータの暗号化および解読が行われる。そ
れにより、通信内容が定型化している場合でも、送信さ
れる暗号化データが常に動的に変化する。したがって、
煩雑な手順を必要とすることなく、通信内容の漏洩を確
実に防止することができる。
In this way, on the transmitting side and the receiving side, the data is encrypted and decrypted by using the encrypted data which are dynamically changed and synchronized with each other. Thereby, even if the communication content is standardized, the encrypted data to be transmitted constantly changes dynamically. Therefore,
It is possible to reliably prevent the leakage of communication contents without requiring a complicated procedure.

【0015】しかも、送信側と受信側とで計時手段の値
に誤差があっても、受信側で送信データに対応する解読
データを正確に得ることができる。
In addition, even if there is an error in the value of the clock means between the transmitting side and the receiving side, the receiving side can accurately obtain the decoded data corresponding to the transmitted data.

【0016】特に丸め量決定用データの送信時に、複
数段階の精度に丸められた値に基づく複数の暗号化キー
を用いて送信データが暗号化され、複数の暗号化データ
が丸め量決定用データとして送信される。また、丸め量
決定用データの受信時に、複数段階の精度に丸められた
値に基づく複数の暗号化キーを用いて受信された丸め量
決定用データが解読される。そして、丸め量決定用デー
タの解読結果に基づいて丸め量が決定される。
Particularly , when transmitting the rounding amount determination data, the transmission data is encrypted using a plurality of encryption keys based on the values rounded to a plurality of levels of precision, and the plurality of encrypted data are used for the rounding amount determination. Sent as data. Further, when the rounding amount determination data is received, the received rounding amount determination data is decrypted by using the plurality of encryption keys based on the values rounded to a plurality of levels of accuracy. Then, the rounding amount is determined based on the decoding result of the rounding amount determination data.

【0017】このように、実際のデータの通信の前に、
送信側と受信側との間で丸め量決定用データを交換する
ことにより、送信側と受信側とで計時手段の値に誤差が
あった場合に暗号化データを正確に解読可能な最小の丸
め量を決定することができる。したがって、送信側およ
び受信側における計時手段の値の誤差に応じて通信内容
の漏洩を確実に防止しつつ正確なデータ通信を行うこと
ができる。
Thus, before the actual data communication,
By exchanging the rounding amount determination data between the sending side and the receiving side, the minimum rounding that can accurately decrypt the encrypted data when there is an error in the value of the time measuring means between the sending side and the receiving side. The amount can be determined. Therefore, it is possible to perform accurate data communication while surely preventing the leakage of communication contents according to the error of the value of the time measuring means on the transmitting side and the receiving side.

【0018】[0018]

【実施例】図1は本発明の第1の実施例による通信方法
を示す図である。本実施例では、送信側および受信側に
おいて暗号化キーとして内部タイマの値が用いられる。
1 is a diagram showing a communication method according to a first embodiment of the present invention. In this embodiment, the value of the internal timer is used as the encryption key on the transmitting side and the receiving side.

【0019】送信側において、内部タイマの値が199
4年10月17日18時を示しているときには、「19
94101718」の値を有する暗号化キー1aを用い
て所定の暗号化アルゴリズムに従って、送信データ2
a,2b,2cが暗号化される。それにより、暗号化デ
ータ3a,3b,3cが得られ、受信側に送信される。
また、内部タイマの値が1994年10月17日19時
を示しているときには、「1994101719」の値
を有する暗号化キー1bを用いて所定の暗号化アルゴリ
ズムに従って、送信データ2a,2b,2cが暗号化さ
れる。それにより、暗号化データ4a,4b,4cが得
られ、受信側に送信される。
On the transmitting side, the value of the internal timer is 199.
When it is 18:00 on October 17, 4th, "19
Transmission data 2 according to a predetermined encryption algorithm using the encryption key 1a having the value of "94101718".
a, 2b, and 2c are encrypted. Thereby, the encrypted data 3a, 3b, 3c are obtained and transmitted to the receiving side.
Further, when the value of the internal timer indicates 19:00 on October 17, 1994, the transmission data 2a, 2b, 2c are transmitted according to a predetermined encryption algorithm using the encryption key 1b having the value "1994101719". Encrypted. Thereby, the encrypted data 4a, 4b, 4c is obtained and transmitted to the receiving side.

【0020】このように、送信データが同一でも、暗号
化の時刻によって暗号化データの内容が動的に変化す
る。
As described above, even if the transmission data is the same, the content of the encrypted data dynamically changes depending on the time of encryption.

【0021】一方、受信側では、内部タイマの値が19
94年10月17日18時を示しているときには、「1
994101718」の値を有する暗号化キー5aを用
いて所定の解読アルゴリズムに従って、受信した暗号化
データ3a,3b,3cが解読される。それにより、解
読データ6a,6b,6cが得られる。また、内部タイ
マの値が1994年10月17日19時を示していると
きには、「1994101719」の値を有する暗号化
キー5bを用いて所定の解読アルゴリズムに従って、受
信した暗号化データ4a,4b,4cが解読される。そ
れにより、解読データ6a,6b,6cが得られる。
On the other hand, on the receiving side, the value of the internal timer is 19
When it is 18:00 on October 17, 1994, "1
The received encrypted data 3a, 3b, 3c is decrypted according to a predetermined decryption algorithm using the encryption key 5a having a value of "994101718". Thereby, the decrypted data 6a, 6b, 6c is obtained. When the value of the internal timer indicates 19:00 on October 17, 1994, the received encrypted data 4a, 4b, 4c is decrypted. Thereby, the decrypted data 6a, 6b, 6c is obtained.

【0022】このように、内部タイマの値を暗号化キー
として用いることにより、暗号化キーが動的に変化する
とともに、受信側において、送信データに一致する解読
データが得られる。
As described above, by using the value of the internal timer as the encryption key, the encryption key changes dynamically, and decryption data matching the transmission data can be obtained on the receiving side.

【0023】図2は本発明の第2の実施例による通信方
法を示す図である。本実施例では、送信側および受信側
において内部タイマの値を設定された丸め幅で丸めるこ
とにより得られた値が暗号化キーとして用いられる。
FIG. 2 is a diagram showing a communication method according to the second embodiment of the present invention. In the present embodiment, the value obtained by rounding the value of the internal timer on the transmitting side and the receiving side by the set rounding width is used as the encryption key.

【0024】ここで、送信側の内部タイマの値11と受
信側の内部タイマの値17との間には1時間の誤差があ
るものとする。
Here, it is assumed that there is a one-hour error between the value 11 of the internal timer on the transmitting side and the value 17 of the internal timer on the receiving side.

【0025】送信側では、内部タイマの値11が、段階
的に設定された複数の丸め幅13a,13b,13c,
13dで丸められる。丸め幅13aは内部タイマの値1
1の下位4桁を丸めることを意味し、丸め幅13bは内
部タイマの値11の下位3桁を丸めることを意味し、丸
め幅13cは内部タイマの値11の下位2桁を丸めるこ
とを意味し、丸め幅13dは内部タイマの値11の下位
1桁を丸めることを意味する。
On the transmitting side, the value 11 of the internal timer is set to a plurality of rounding widths 13a, 13b, 13c, which are set in stages.
Rounded at 13d. Rounding width 13a is the internal timer value 1
1 means rounding the lower 4 digits, rounding width 13b means rounding the lower 3 digits of the internal timer value 11, rounding width 13c means rounding the lower 2 digits of the internal timer value 11. However, the rounding width 13d means that the lower 1 digit of the value 11 of the internal timer is rounded.

【0026】内部タイマの値11が94年10月17日
18時05分を示しているときには、丸め幅13aによ
り「941017」の値を有する暗号化キー14aが得
られ、丸め幅13bにより「9410171」の値を有
する暗号化キー14bが得られる。また、丸め幅13c
により「94101718」の値を有する暗号化キー1
4cが得られ、丸め幅13dにより「94101718
0」の値を有する暗号化キー14dが得られる。
When the value 11 of the internal timer indicates 18:05 on October 17, 1994, the rounding width 13a gives the encryption key 14a having the value "941017", and the rounding width 13b gives "9410171". An encryption key 14b having a value of "" is obtained. In addition, rounding width 13c
Encryption key 1 having a value of "94101718" by
4c is obtained, and the rounding width 13d causes "94101718".
An encryption key 14d having a value of "0" is obtained.

【0027】このようにして得られた複数の暗号化キー
14a,14b,14c,14dを用いて所定の暗号化
アルゴリズムに従って、丸め幅設定用のデータ12が暗
号化される。それにより、複数の暗号化データ15a,
15b,15c,15dが得られる。これらの暗号化デ
ータ15a,15b,15c,15dは合成されて丸め
幅設定用の暗号化コード16として送信される。
Using the plurality of encryption keys 14a, 14b, 14c, 14d thus obtained, the rounding width setting data 12 is encrypted according to a predetermined encryption algorithm. Thereby, a plurality of encrypted data 15a,
15b, 15c and 15d are obtained. These encrypted data 15a, 15b, 15c, 15d are combined and transmitted as the encryption code 16 for setting the rounding width.

【0028】受信側では、内部タイマの値17が、送信
側と同様に段階的に設定された複数の丸め幅18a,1
8b,18c,18dで丸められる。丸め幅18aは内
部タイマの値17の下位4桁を丸めることを意味し、丸
め幅18bは内部タイマの値17の下位3桁を丸めるこ
とを意味し、丸め幅18cは内部タイマの値17の下位
2桁を丸めることを意味し、丸め幅18dは内部タイマ
の値17の下位1桁を丸めることを意味する。
On the receiving side, the value 17 of the internal timer is the same as that on the transmitting side.
It is rounded by 8b, 18c and 18d. The rounding width 18a means that the lower 4 digits of the internal timer value 17 are rounded, the rounding width 18b means that the lower 3 digits of the internal timer value 17 are rounded, and the rounding width 18c is the internal timer value 17 of the internal timer value 17. This means that the lower 2 digits are rounded, and the rounding width 18d means that the lower 1 digit of the value 17 of the internal timer is rounded.

【0029】内部タイマの値17が94年10月17日
19時05分を示しているときには、丸め幅18aによ
り「941017」の値を有する暗号化キー19aが得
られ、丸め幅18bにより「9410171」の値を有
する暗号化キー19bが得られる。また、丸め幅18c
により「94101719」の値を有する暗号化キー1
9cが得られ、丸め幅18dにより「94101719
0」の値を有する暗号化キー19dが得られる。
When the value 17 of the internal timer indicates 19:05 on October 17, 1994, the rounding width 18a gives the encryption key 19a having the value "941017", and the rounding width 18b gives "9410171". An encryption key 19b having a value of "" is obtained. In addition, rounding width 18c
Encryption key 1 having a value of "94101719" by
9c is obtained, and with the rounding width 18d, "94101719"
An encryption key 19d having a value of "0" is obtained.

【0030】このようにして得られた複数の暗号化キー
19a,19b,19c,19dを用いて所定の解読ア
ルゴリズムに従って、受信した丸め幅設定用の暗号化コ
ード16が解読される。それにより、解読データ20
a,20b,20c,20dが得られる。これらの解読
データ20a,20b,20c,20dを既知の丸め幅
設定用のデータと比較することにより、送信側および受
信側において最適な丸め幅を求めることができる。
Using the plurality of encryption keys 19a, 19b, 19c and 19d thus obtained, the received encryption code 16 for setting the rounding width is decrypted according to a predetermined decryption algorithm. Thereby, the decrypted data 20
a, 20b, 20c, 20d are obtained. By comparing these decrypted data 20a, 20b, 20c, and 20d with known rounding width setting data, the optimum rounding width can be obtained on the transmitting side and the receiving side.

【0031】図2の例では、丸め幅13a,13bで得
られた暗号化キー14a,14bを用いて送信データ1
2を暗号化した場合のみ、受信側で正確な解読データ2
0a,20bが得られている。すなわち、送信側の内部
タイマの値11と受信側の内部タイマの値17との間で
1時間の誤差がある場合に、受信側で暗号化データを正
確に解読するためには、送信側および受信側においてそ
れぞれ丸め幅13b,18bが最小の丸め幅であると決
定される。
In the example of FIG. 2, the transmission data 1 is transmitted using the encryption keys 14a and 14b obtained with the rounding widths 13a and 13b.
Only when 2 is encrypted, the correct decryption data 2 on the receiving side
0a and 20b are obtained. That is, when there is an error of one hour between the value 11 of the internal timer on the transmitting side and the value 17 of the internal timer on the receiving side, in order to correctly decrypt the encrypted data on the receiving side, the transmitting side and the On the receiving side, the rounding widths 13b and 18b are determined to be the minimum rounding widths, respectively.

【0032】以後は、送信側では丸め幅13bによる暗
号化キー14bを用いて送信データの暗号化が行われ、
受信側では丸め幅18bによる暗号化キー19bを用い
て受信した暗号化データの解読が行われる。
After that, the transmission side encrypts the transmission data using the encryption key 14b with the rounding width 13b,
The reception side decrypts the received encrypted data using the encryption key 19b having the rounding width 18b.

【0033】図3は図2の通信方法を実行するための通
信装置の構成を示す機能ブロック図である。
FIG. 3 is a functional block diagram showing the structure of a communication device for executing the communication method of FIG.

【0034】図3の通信装置100において、内部タイ
マ31は現在の時刻を計時する。丸め幅設定手段32は
複数の丸め幅に対応する複数の除算器32a,32b,
32c,32dを含む。除算器32a,32b,32
c,32dには段階的な丸め幅がそれぞれ設定される。
除算器32a,32b,32c,32dの各々は、内部
タイマ31の値を設定された丸め幅で除算することによ
り内部タイマ31の値を丸める。暗号化キー設定部33
は、各除算器32a,32b,32c,32dにより丸
められた値を暗号化キーとして設定する。
In the communication device 100 of FIG. 3, the internal timer 31 measures the current time. The rounding width setting means 32 includes a plurality of dividers 32a, 32b corresponding to a plurality of rounding widths.
32c and 32d. Dividers 32a, 32b, 32
Stepwise rounding widths are set in c and 32d, respectively.
Each of the dividers 32a, 32b, 32c, and 32d rounds the value of the internal timer 31 by dividing the value of the internal timer 31 by the set rounding width. Encryption key setting unit 33
Sets the value rounded by each of the dividers 32a, 32b, 32c, 32d as an encryption key.

【0035】暗号化/解読部35は、丸め幅設定処理時
に、暗号化キー設定部33に設定された複数の暗号化キ
ーを用いて所定の暗号化アルゴリズムに従って、予め設
定された丸め幅設定用のデータを暗号化し、複数の暗号
化データを送信バッファ36に格納する。送信バッファ
36に格納された複数の暗号化データは丸め幅設定用の
暗号化コードとして合成されて送信される。
During the rounding width setting process, the encryption / decryption unit 35 uses a plurality of encryption keys set in the encryption key setting unit 33 according to a predetermined encryption algorithm to set a preset rounding width. Data is encrypted and a plurality of encrypted data is stored in the transmission buffer 36. The plurality of encrypted data stored in the transmission buffer 36 are combined and transmitted as an encryption code for setting the rounding width.

【0036】また、暗号化/解読部35は、丸め幅設定
処理時に、受信バッファ37を介して丸め幅設定用の暗
号化コードを受信すると、暗号化キー設定部33に設定
された複数の暗号化キーを用いて所定の解読アルゴリズ
ムに従って、受信した丸め幅設定用の暗号化コードを解
読し、複数の解読データを受信データ格納メモリ38に
格納する。
Further, when the encryption / decryption unit 35 receives the encryption code for setting the rounding width via the receiving buffer 37 during the rounding width setting processing, the encryption / decryption unit 35 sets a plurality of encryption codes set in the encryption key setting unit 33. The received encryption code for setting the rounding width is decrypted according to a predetermined decryption algorithm using the encryption key, and a plurality of decrypted data are stored in the received data storage memory 38.

【0037】最適丸め幅決定部39は、受信データ格納
メモリ38に格納された複数の解読データを既知の丸め
幅設定用のデータと比較することにより最適丸め幅を決
定し、決定した最適丸め幅を暗号化/解読部35に通知
するとともに最適丸め幅データとして送信バッファ36
を介して相手側の通信装置に送信する。
The optimum rounding width determination unit 39 determines the optimum rounding width by comparing the plurality of pieces of decoded data stored in the received data storage memory 38 with the known data for setting the rounding width, and determines the determined optimum rounding width. Is sent to the encryption / decryption unit 35 and the transmission buffer 36 stores the optimum rounding width data.
To the communication device of the other party via.

【0038】以後、暗号化/解読部35は、データの送
信時に、暗号化キー設定部33に設定された暗号化キー
のうち決定された丸め幅により得られた暗号化キーを用
いて送信データ格納メモリ34に格納された送信データ
を暗号化する。また、暗号化/解読部35は、データの
受信時に、暗号化キー設定部33に設定された暗号化キ
ーのうち決定された丸め幅により得られた暗号化キーを
用いて受信データの解読を行い、解読データを受信デー
タ格納メモリ38に格納する。
After that, the encryption / decryption unit 35 uses the encryption key obtained by the determined rounding width among the encryption keys set in the encryption key setting unit 33 at the time of data transmission, to transmit data. The transmission data stored in the storage memory 34 is encrypted. Also, the encryption / decryption unit 35, when receiving the data, decrypts the received data using the encryption key obtained by the determined rounding width among the encryption keys set in the encryption key setting unit 33. Then, the decoded data is stored in the received data storage memory 38.

【0039】なお、図3の通信装置は、ハードウエアで
実現することもでき、ソフトウエアで実現することもで
き、ハードウエアおよびソフトウエアの両方で実現する
こともできる。
The communication device shown in FIG. 3 can be realized by hardware, can be realized by software, and can be realized by both hardware and software.

【0040】図4は図3の通信装置100を用いた通信
システムにおける通信処理を示すシーケンス図である。
FIG. 4 is a sequence diagram showing communication processing in the communication system using the communication device 100 of FIG.

【0041】まず、送信側通信装置が丸め幅設定用の暗
号化コードを受信側通信装置に送信する(ステップS
1)。受信側通信装置は、受信した暗号化コードに基づ
いて丸め幅設定処理を行い、最適な丸め幅を決定し(ス
テップS2)、決定された丸め幅を示す丸め幅データを
送信側通信装置に通知する(ステップS3)。
First, the transmitting communication device transmits an encryption code for setting the rounding width to the receiving communication device (step S).
1). The reception-side communication device performs rounding width setting processing based on the received encryption code, determines the optimum rounding width (step S2), and notifies the transmission side communication device of the rounding width data indicating the determined rounding width. (Step S3).

【0042】その後、送信側通信装置は、決定された丸
め幅により得られた暗号化キーを用いて送信データの暗
号化処理を行い(ステップS4)、得られた暗号化デー
タを受信側通信装置に送信する(ステップS5)。受信
側通信装置は、決定された丸め幅により得られた暗号化
キーを用いて暗号化データの解読処理を行い、解読デー
タを得る(ステップS6)。
After that, the transmission side communication device performs the encryption process of the transmission data using the encryption key obtained by the determined rounding width (step S4), and the obtained encrypted data is processed by the reception side communication device. (Step S5). The receiving-side communication device performs decryption processing of the encrypted data using the encryption key obtained by the determined rounding width to obtain decrypted data (step S6).

【0043】また、受信側通信装置は、決定された丸め
幅により得られた暗号化キーを用いて送信データの暗号
化処理を行い(ステップS7)、暗号化データを送信側
通信装置に送信する(ステップS8)。送信側通信装置
は、決定された丸め幅により得られた暗号化データを用
いて受信した暗号化データの解読処理を行い、解読デー
タを得る(ステップS9)。
Further, the receiving side communication device performs the encryption process of the transmission data using the encryption key obtained by the determined rounding width (step S7), and transmits the encrypted data to the transmitting side communication device. (Step S8). The transmitting communication device performs decryption processing of the received encrypted data by using the encrypted data obtained by the determined rounding width, and obtains decrypted data (step S9).

【0044】このように、実際のデータの通信の前に、
送信側と受信側との間で丸め幅設定用のデータを交換す
ることにより、送信側通信装置および受信側通信装置に
おける内部タイマの値の誤差に応じた最適な丸め幅が設
定され、以後は、設定された丸め幅による暗号化キーを
用いてデータの暗号化および解読が行われる。したがっ
て、通信内容の漏洩を確実に防止しながら内部タイマの
値の誤差を吸収して正確なデータ通信を行うことができ
る。
Thus, before the actual data communication,
By exchanging rounding width setting data between the transmitting side and the receiving side, the optimal rounding width is set according to the error in the value of the internal timer in the transmitting side communication device and the receiving side communication device. Data is encrypted and decrypted using the encryption key with the set rounding width. Therefore, it is possible to reliably prevent the leakage of communication contents and absorb the error in the value of the internal timer to perform accurate data communication.

【0045】[0045]

【発明の効果】第1および第2の発明によれば、送信側
および受信側において、それぞれ動的に変化しかつ互い
に同期した暗号化データを用いてデータの暗号化および
解読が行われ、暗号化データが常に動的に変化するの
で、第三者による暗号化データの解読が困難になる。し
たがって、煩雑な手順を必要とすることなく、通信内容
の漏洩を確実に防止することができる。
According to the first and second aspects of the present invention, on the transmitting side and the receiving side, data encryption and decryption are performed using encrypted data which are dynamically changed and synchronized with each other, and the encryption is performed. Since the encrypted data constantly changes dynamically, it becomes difficult for a third party to decrypt the encrypted data. Therefore, it is possible to reliably prevent the leakage of communication contents without requiring a complicated procedure.

【0046】特に計時手段の値が任意の精度に丸めら
れ、丸められた値に基づく暗号化キーが用いられるの
で、送信側と受信側とで計時手段の値に誤差がある場合
でも誤差を吸収することが可能となり、受信側で暗号化
データを正確に解読することができる。
In particular , since the value of the time measuring means is rounded to an arbitrary precision and the encryption key based on the rounded value is used, even if there is an error in the value of the time measuring means on the transmitting side and the receiving side, an error is generated. It becomes possible to absorb, and the encrypted data can be accurately decrypted on the receiving side.

【0047】また実際のデータの通信の前に、正確な
データ通信が可能な最小の丸め量が決定されるので、送
信側および受信側における計時手段の値の誤差に応じて
通信内容の漏洩を確実に防止しつつ正確なデータ通信を
行うことができる。
Further , since the minimum rounding amount that enables accurate data communication is determined before the actual data communication, the content of communication is leaked according to the error of the value of the time measuring means on the transmitting side and the receiving side. It is possible to perform accurate data communication while surely preventing this.

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

【図1】本発明の第1の実施例による通信方法を示す図
である。
FIG. 1 is a diagram showing a communication method according to a first embodiment of the present invention.

【図2】本発明の第2の実施例による通信方法を示す図
である。
FIG. 2 is a diagram showing a communication method according to a second embodiment of the present invention.

【図3】図2の通信方法を実行するための通信装置の構
成を示す機能ブロック図である。
3 is a functional block diagram showing the configuration of a communication device for executing the communication method of FIG.

【図4】図3の通信装置を用いた通信システムにおける
通信処理を示すシーケンス図である。
FIG. 4 is a sequence diagram showing communication processing in a communication system using the communication device of FIG.

【図5】ネットワークで接続された複数の端末装置から
なる通信システムを示すブロック図である。
FIG. 5 is a block diagram showing a communication system including a plurality of terminal devices connected by a network.

【図6】固定の暗号化キーを用いた従来の通信方法を示
す図である。
FIG. 6 is a diagram showing a conventional communication method using a fixed encryption key.

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

1a,1b,5a,5b,14a,14b,14c,1
4d,19a,19b,19c,19d 暗号化キー 2a,2b,2c,送信データ 3a,3b,3c,4a,4b,4c,15a,15
b,15c,15d 暗号化データ 6a,6b,6c,20a,20b,20c,20d
解読データ 11,17 内部タイマの値 12 丸め幅設定用のデータ 13a,13b,13c,13d,18a,18b,1
8c,18d 丸め幅 16 丸め幅設定用の暗号化コード 31 内部タイマ 32 丸め幅設定部 33 暗号化キー設定部 35 暗号化/解読部 39 最適丸め幅決定部 100 通信装置
1a, 1b, 5a, 5b, 14a, 14b, 14c, 1
4d, 19a, 19b, 19c, 19d Encryption key 2a, 2b, 2c, transmission data 3a, 3b, 3c, 4a, 4b, 4c, 15a, 15
b, 15c, 15d Encrypted data 6a, 6b, 6c, 20a, 20b, 20c, 20d
Decoded data 11,17 Internal timer value 12 Rounding width setting data 13a, 13b, 13c, 13d, 18a, 18b, 1
8c, 18d Rounding width 16 Encryption code for setting rounding width 31 Internal timer 32 Rounding width setting unit 33 Encryption key setting unit 35 Encryption / decryption unit 39 Optimal rounding width determination unit 100 Communication device

フロントページの続き (56)参考文献 特開 昭63−161745(JP,A) 特開 平1−212041(JP,A) 特開 平5−41704(JP,A) 特開 平5−304614(JP,A) 一松信「暗号の数理」ブルーバックス B−421,講談社(1980年3月20日), p.108 トランジスタ技術編集部編「実用電子 回路ハンドブック(2)」CQ出版(昭 和50年10月20日),p.170Continuation of the front page (56) Reference JP-A 63-161745 (JP, A) JP-A 1-212041 (JP, A) JP-A 5-41704 (JP, A) JP-A 5-304614 (JP , A) Shin Ichimatsu "Mathematics of Cryptography" Bluebacks B-421, Kodansha (March 20, 1980), p. 108 Transistor Technology Editor, “Practical Electronic Circuit Handbook (2),” CQ Publishing (October 20, 1975), p. 170

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 時刻を計る計時手段と、前記計時手段の
値を任意の精度に丸める丸め手段と、前記丸め手段によ
り得られた値に基づく暗号化キーを用いて送信データを
暗号化する暗号化手段と、前記暗号化手段により得られ
た暗号化データを送信する送信手段と、暗号化データを
受信する受信手段と、前記丸め手段により得られた値に
基づく暗号化キーを用いて前記受信手段により受信され
た暗号化データを解読する解読手段と、丸め量を決定す
るための丸め量決定手段とを備え、前記暗号化手段は、丸め量決定用データの送信時に、前
記丸め手段により複数段階の精度に丸められた値に基づ
く複数の暗号化キーを用いて送信データを暗号化し、複
数の暗号化データを丸め量決定用データとして前記送信
手段を介して送信し、 前記解読手段は、丸め量決定用データの受信時に、前記
丸め手段により複数段階の精度に丸められた値に基づく
複数の暗号化キーを用いて受信された丸め量決定用デー
タを解読し、 前記丸め量決定手段は、前記解読手段による前記丸め量
決定用データの解読結果に基づいて丸め量を決定する
とを特徴とする通信装置。
1. A cipher for encrypting transmission data using a time measuring means for measuring time, a rounding means for rounding the value of the time measuring means to an arbitrary precision, and an encryption key based on the value obtained by the rounding means. Encrypting means, transmitting means for transmitting the encrypted data obtained by the encrypting means, receiving means for receiving the encrypted data, and receiving by using an encryption key based on the value obtained by the rounding means. Decryption means to decrypt the encrypted data received by the means, and determine the rounding amount
Rounding amount determining means for storing the rounding amount determining data.
Based on the value rounded to multiple levels of precision by the rounding means.
Data to be encrypted by using multiple encryption keys.
Number of encrypted data is sent as data for rounding amount determination
And the decoding means receives the rounding amount determination data upon receiving the rounding amount determination data.
Based on values rounded to multiple levels of precision by rounding means
The rounding amount determination data received using multiple encryption keys.
Data, and the rounding amount determining means determines the rounding amount by the decrypting means.
A communication device, wherein a rounding amount is determined based on a result of decoding the determination data .
【請求項2】 丸め量決定用データの送信時に、複数段
階の精度に丸められた値に基づく複数の暗号化キーを用
いて送信データを暗号化し、複数の暗号化データを丸め
量決定用データとして送信し、丸め量決定用データの受
信時に、前記複数段階の精度に丸められた値に基づく複
数の暗号化キーを用いて受信された丸め量決定用データ
を解読し、前記丸め量決定用データの解読結果に基づい
て丸め量を決定し、データの送信時に、計時手段の値を
前記決定された丸め量に対応する精度に丸め、前記丸め
られた値に基づく暗号化キーを用いてデータを暗号化し
て送信し、データの受信時に、前記計時手段の値を前記
精度に丸め、前記丸められた値に基づく暗号化キーを用
いて受信データを解読することを特徴とする通信方法。
2. A plurality of stages when transmitting the rounding amount determination data.
Uses multiple encryption keys based on rounded values to floor precision
Encryption of transmitted data and rounding of multiple encrypted data
Send as the data for determining the amount and receive the data for determining the rounding amount.
At the time of delivery, the number of duplicates based on the value
Rounding amount determination data received using a number of encryption keys
Based on the decoding result of the rounding amount determination data
Determine the rounding amount, and when transmitting the data, set the value of the timekeeping means.
Rounding to a precision corresponding to the determined rounding amount, encrypting and transmitting data using an encryption key based on the rounded value, when receiving data, rounding the value of the clocking means to the precision, A communication method characterized by decrypting received data using an encryption key based on the rounded value.
JP6286602A 1994-11-21 1994-11-21 Communication device and communication method Expired - Fee Related JP2670019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6286602A JP2670019B2 (en) 1994-11-21 1994-11-21 Communication device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6286602A JP2670019B2 (en) 1994-11-21 1994-11-21 Communication device and communication method

Publications (2)

Publication Number Publication Date
JPH08149125A JPH08149125A (en) 1996-06-07
JP2670019B2 true JP2670019B2 (en) 1997-10-29

Family

ID=17706545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6286602A Expired - Fee Related JP2670019B2 (en) 1994-11-21 1994-11-21 Communication device and communication method

Country Status (1)

Country Link
JP (1) JP2670019B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4666943B2 (en) * 2004-04-23 2011-04-06 株式会社エヌ・ティ・ティ・ドコモ ID tag, tag reader, ID tag security system, and ID tag transmission restoration method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63161745A (en) * 1986-12-24 1988-07-05 Matsushita Electric Ind Co Ltd Terminal equipment for cryptographic communication
JP2689383B2 (en) * 1988-02-18 1997-12-10 株式会社 日立製作所 Encrypted communication system
JP2713318B2 (en) * 1991-08-06 1998-02-16 株式会社富士通ゼネラル Cordless phone scrambler
JPH05304614A (en) * 1992-04-06 1993-11-16 Nec Corp Picture information ciphering method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
トランジスタ技術編集部編「実用電子回路ハンドブック(2)」CQ出版(昭和50年10月20日),p.170
一松信「暗号の数理」ブルーバックスB−421,講談社(1980年3月20日),p.108

Also Published As

Publication number Publication date
JPH08149125A (en) 1996-06-07

Similar Documents

Publication Publication Date Title
US4484025A (en) System for enciphering and deciphering data
US6073236A (en) Authentication method, communication method, and information processing apparatus
US5297208A (en) Secure file transfer system and method
US5301247A (en) Method for ensuring secure communications
US5239584A (en) Method and apparatus for encryption/authentication of data in energy metering applications
US5612682A (en) Method and apparatus for controlling utilization of a process added to a portable communication device
US4670857A (en) Cartridge-controlled system whose use is limited to authorized cartridges
US4322576A (en) Message format for secure communication over data links
EP0905942B1 (en) Decrypting device
JP3917679B2 (en) High bandwidth cryptographic system with low bandwidth cryptographic module
EP0720326A2 (en) Method for secure session key generation
US5444781A (en) Method and apparatus for decryption using cache storage
RU2146421C1 (en) Decoding of data subjected to repeated transmission in encoding communication system
JPS62198237A (en) Method and apparatus for confidential communication
KR20020091059A (en) Method of authenticating anonymous users while reducing potential for “middleman” fraud
JPH1022994A (en) Ciphering device, deciphering device, ciphering method, deciphering method and communication system using the same
KR20030019344A (en) Confidential data communication method
US4805216A (en) Method and apparatus for continuously acknowledged link encrypting
JPH07312593A (en) On-line telegraph encoding device
CN115529587A (en) Wireless Bluetooth keyboard data transmission equipment, method and system thereof
JP2670019B2 (en) Communication device and communication method
US5765106A (en) Authorized cellular telephone communication access and verification control system
US5768383A (en) Authorized cellular voice messaging and/or analog or digital data communication access and verification control system
US6802001B1 (en) Method of incrementally establishing an encryption key
US20060282668A1 (en) Data encryption method and apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees