JP4734069B2 - COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM - Google Patents
COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM Download PDFInfo
- Publication number
- JP4734069B2 JP4734069B2 JP2005266781A JP2005266781A JP4734069B2 JP 4734069 B2 JP4734069 B2 JP 4734069B2 JP 2005266781 A JP2005266781 A JP 2005266781A JP 2005266781 A JP2005266781 A JP 2005266781A JP 4734069 B2 JP4734069 B2 JP 4734069B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- document
- character
- display position
- target document
- 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
Links
Images
Description
本発明は、文字データを暗号化して送信する送信側装置と、受信した暗号データから文字データを復号する受信側装置とが通信接続されて構成される通信システム等に関する。 The present invention relates to a communication system or the like configured by communication-connecting a transmission-side device that encrypts and transmits character data and a reception-side device that decrypts character data from received encryption data.
従来から、データ管理やデータ通信の分野においては、データの漏洩等を防止してセキュリティ上の信頼性を向上させるため、様々な方式による暗号化の技術が用いられている。
例えば、複数の秘密鍵を共同して使用することにより暗号文の復号を行い、平文を解読する技術が知られている(特許文献1参照。)。
また一方で、平文と同じ長さのキー(乱数列)を1度だけ使用するワンタイムパッド(one−time−pad)と呼ばれる暗号化の技術が知られている。
For example, a technique for decrypting ciphertext by jointly using a plurality of secret keys to decrypt plaintext is known (see Patent Document 1).
On the other hand, an encryption technique called a one-time-pad using a key (random number sequence) having the same length as that of plain text is known.
しかしながら、複数の装置間でデータを暗号化してやり取りしても、暗号化に用いる鍵が固定である限り、鍵が見破られ、データが解読される危険性があった。
一方、前述のワンタイムパッド方式による暗号化では、暗号化に用いるキーが使い捨てられるためデータが解読される危険性は低いが、乱雑性の高いキーを生成する必要があるため、処理が煩雑であるという問題があった。
However, even when data is encrypted and exchanged between a plurality of devices, there is a risk that the key is overlooked and the data is decrypted as long as the key used for encryption is fixed.
On the other hand, in the encryption using the one-time pad method described above, since the key used for encryption is disposable, the risk of data decryption is low, but it is necessary to generate a highly messy key, which makes the processing complicated. There was a problem that there was.
そこで本発明は、秘匿性に優れた新たな暗号化の仕組みを実現することを目的とする。 Therefore, an object of the present invention is to realize a new encryption mechanism with excellent secrecy.
以上の課題を解決するための第1の発明は、
文字データを暗号化して送信する送信側装置と、受信した暗号データから文字データを復号する受信側装置とが通信接続されて構成される通信システムであって、
前記送信側装置は、
前記文字データを構成する各文字それぞれを、Webブラウザで表示可能な所定の文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより前記文字データを暗号データに暗号化する暗号化手段(例えば、図4に示す処理装置110)と、
前記暗号化された暗号データを送信する送信手段(例えば、図4に示す通信装置130)と、
を備え、
前記受信側装置は、
前記送信側装置から送信された暗号データを受信する受信手段(例えば、図4に示す通信装置530)と、
前記受信された暗号データを構成する各表示位置情報それぞれを、前記所定の文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより当該暗号データを復号する復号手段(例えば、図4に示す処理装置510)と、
を備える通信システムである。
The first invention for solving the above problems is:
A communication system comprising a transmission side device that encrypts and transmits character data and a reception side device that decrypts the character data from the received encryption data, and is connected to each other,
The transmitting device is:
Each character constituting the character data is displayed in the display position information indicating the display position when the document data is displayed on the Web browser of the same character in the predetermined document data that can be displayed on the Web browser. An encryption means (for example, the
Transmission means for transmitting the encrypted encrypted data (for example, the
With
The receiving side device
Receiving means (for example, the
Each of the display position information constituting the received encrypted data is converted into characters displayed at the display position when the same document data as the predetermined document data is displayed on the Web browser, thereby the encrypted data. Decoding means for decoding (for example, the
It is a communication system provided with.
この第1の発明によれば、送信側装置は、文字データを構成する各文字それぞれを、Webブラウザで表示可能な文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより、前記文字データを暗号化することができる。一方受信側装置は、送信側装置から受信した暗号データを構成する各表示位置情報それぞれを、送信側装置において暗号化に用いた文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより、前記暗号データを復号することができる。
これによれば、文字データを構成する各文字を、文書データ中のどの文字の表示位置を示す表示位置情報に変換するかに応じて変換結果が同一の文字で異なるため、暗号データの秘匿性を保持することが可能となる。したがって、文字データを表示位置情報の羅列に変換する簡単な処理によって、秘匿性に優れた暗号化の仕組みを実現することができる。
According to the first aspect, the transmission side device displays the document data on the Web browser for each character constituting the character data in the same character as the character in the document data that can be displayed on the Web browser. The character data can be encrypted by converting it into display position information indicating the display position at the time. On the other hand, the receiving device displays each display position information constituting the encrypted data received from the transmitting device when the same document data as the document data used for encryption in the transmitting device is displayed on the Web browser. The encrypted data can be decrypted by converting it into a character displayed at a position.
According to this, since the conversion result is different for the same character depending on whether each character constituting the character data is converted into display position information indicating which character display position in the document data, the confidentiality of the encrypted data Can be held. Therefore, an encryption mechanism with excellent secrecy can be realized by a simple process of converting character data into a list of display position information.
第2の発明は、第1の発明の通信システムであって、
前記送信側装置は、
複数のURL情報を所定順に記憶する送信側URL記憶手段(例えば、図10に示すURL一覧(A)165)と、
前記送信側URL記憶手段の記憶順に従って、前記送信側URL記憶手段に記憶されたURL情報によって特定される文書データを、前記暗号化手段の暗号化に用いる文書データとして取得する送信側文書取得手段(例えば、図10に示す処理装置110,通信装置130)と、
を更に備え、
前記暗号化手段は、所定のタイミングで、暗号化に用いる文書データを、前記送信側URL記憶手段の記憶順に従って前記送信側文書取得手段により取得された文書データに変更し、
前記受信側装置は、
前記送信側URL記憶手段により記憶されたURL情報を同順序で記憶する受信側URL記憶手段(例えば、図11に示すURL一覧(A)5633)と、
前記受信側URL記憶手段の記憶順に従って、前記受信側URL記憶手段に記憶されたURL情報によって特定される文書データを、前記復号手段の復号に用いる文書データとして取得する受信側文書取得手段(例えば、図10に示す処理装置510,通信装置530)と、
を更に備え、
前記復号手段は、所定のタイミングで、復号に用いる文書データを、前記受信側URL記憶手段の記憶順に従って前記受信側文書取得手段により取得された文書データに変更する通信システムである。
The second invention is the communication system of the first invention,
The transmitting device is:
Transmitting-side URL storage means for storing a plurality of URL information in a predetermined order (for example, URL list (A) 165 shown in FIG. 10);
Transmission-side document acquisition means for acquiring document data specified by the URL information stored in the transmission-side URL storage means according to the storage order of the transmission-side URL storage means as document data used for encryption of the encryption means (For example, the
Further comprising
The encryption unit changes the document data used for encryption to document data acquired by the transmission side document acquisition unit according to the storage order of the transmission side URL storage unit at a predetermined timing,
The receiving side device
Receiving URL storage means (for example, URL list (A) 5633 shown in FIG. 11) for storing the URL information stored by the transmitting URL storage means in the same order;
Receiving-side document acquisition means (for example, receiving document data specified by URL information stored in the receiving-side URL storage means as document data used for decoding by the decoding means in accordance with the storage order of the receiving-side URL storage means) ,
Further comprising
The decryption means is a communication system that changes document data used for decryption to document data acquired by the reception-side document acquisition means in accordance with the storage order of the reception-side URL storage means at a predetermined timing.
この第2の発明によれば、送信側装置は、順番が定義された複数のURL情報を記憶する。そして、当該URL情報の記憶順に従って、URL情報によって特定される文書データを暗号化に用いる文書データとして取得するとともに、暗号化を行う際に、所定のタイミングにおいて暗号化に用いる文書データを当該取得した文書データに変更することができる。一方受信側装置は、URL情報を送信側装置と同順序で記憶する。そして、当該URL情報の記憶順に従って、URL情報によって特定される文書データを復号に用いる文書データとして取得するとともに、復号を行う際に、所定のタイミングにおいて復号に用いる文書データを当該取得した文書データに変更することができる。したがって、暗号化に用いる文書データに応じて、変換後の表示位置情報が同一の文字で異なるため、通信文の秘匿性を高めることができる。 According to the second aspect of the invention, the transmission side device stores a plurality of URL information in which the order is defined. Then, according to the storage order of the URL information, the document data specified by the URL information is acquired as the document data used for encryption, and the document data used for encryption is acquired at a predetermined timing when encryption is performed. The document data can be changed. On the other hand, the receiving device stores the URL information in the same order as the transmitting device. Then, in accordance with the storage order of the URL information, the document data specified by the URL information is acquired as the document data used for the decryption, and the document data used for the decryption at a predetermined timing when decrypting is obtained. Can be changed. Therefore, since the converted display position information differs depending on the document data used for encryption, the confidentiality of the communication text can be improved.
第3の発明は、第2の発明の通信システムであって、
前記暗号化手段が、前記文字データを構成する各文字それぞれを順番に表示位置情報に変換していくとともに、変換した表示位置情報が前回までに変換した表示位置情報と重複した場合に暗号化に用いる文書データを変更し、引き続いて前記文字データを構成する文字を暗号化していき、
前記復号手段が、前記受信された暗号データを構成する各表示位置情報それぞれを順番に文字に変換していくとともに、同一の表示位置情報を再度変換した場合に復号に用いる文書データを変更し、引き続いて前記暗号データを構成する表示位置情報を復号していく通信システムである。
The third invention is the communication system of the second invention,
The encryption unit sequentially converts each character constituting the character data into display position information, and encrypts when the converted display position information overlaps with the display position information converted so far. Change the document data to be used, and continue to encrypt the characters that make up the character data,
The decryption means sequentially converts each display position information constituting the received encrypted data into characters, and changes the document data used for decryption when the same display position information is converted again, In the communication system, display position information constituting the encrypted data is subsequently decrypted.
この第3の発明によれば、送信側装置は、文字データの暗号化を行う際、当該文字データを構成する各文字それぞれを順番に表示位置情報に変換していくが、変換した表示位置情報が前回までに変換した表示位置情報と重複した場合に、暗号化に用いる文書データを変更することができる。一方受信側装置は、暗号データの復号を行う際、当該暗号データを構成する各表示位置情報それぞれを順番に文字に変換していくが、同一の表示位置情報を再度変換した場合に、復号に用いる文書データを変更することができる。 According to the third aspect of the invention, when the transmitting side apparatus encrypts the character data, each character constituting the character data is sequentially converted into the display position information. Can overlap the display position information converted up to the previous time, the document data used for encryption can be changed. On the other hand, when decrypting the encrypted data, the receiving side device sequentially converts each display position information constituting the encrypted data into characters. However, when the same display position information is converted again, the receiving side device decrypts the encrypted data. The document data to be used can be changed.
第4の発明は、第2の発明の通信システムであって、
前記暗号化手段が、前記文字データを構成する各文字それぞれを順番に表示位置情報に変換していくとともに、暗号化に用いる文書データを変更した場合に、変更したことを表す変更通知コードを、変更する前後に変換した表示位置情報の間に設定して暗号データを作成し、
前記復号手段が、前記受信された暗号データを構成する各表示位置情報それぞれを順番に復号していくとともに、暗号データ中に変更通知コードが設定されていることを検出したタイミングで復号に用いる文書データを変更し、引き続いて前記暗号データを構成する表示位置情報を復号していく通信システムである。
The fourth invention is the communication system of the second invention,
The encryption means sequentially converts each character constituting the character data into display position information, and when the document data used for encryption is changed, a change notification code indicating that the character data has been changed, Set between the display position information converted before and after the change, create encrypted data,
Document used for decryption at the timing when the decryption means sequentially decrypts each display position information constituting the received encrypted data and detects that a change notification code is set in the encrypted data. This is a communication system in which data is changed and subsequently display position information constituting the encrypted data is decrypted.
この第4の発明によれば、送信側装置は、文字データの暗号化を行う際、当該文字データを構成する各文字それぞれを順番に表示位置情報に変換していくとともに、暗号化に用いる文書データを変更した場合に、変更したことを表す変更通知コードを変更する前後に変換した表示位置情報の間に設定して暗号データを作成することができる。一方受信側装置は、暗号データの復号を行う際、当該暗号データを構成する各表示位置情報それぞれを順番に復号してくとともに、暗号データ中に変更通知コードが設定されていることを検出したタイミングで復号に用いる文書データを変更することができる。 According to the fourth aspect of the invention, when the transmission side apparatus encrypts the character data, each of the characters constituting the character data is sequentially converted into the display position information, and the document used for the encryption. When the data is changed, the change notification code indicating the change can be set between the display position information converted before and after the change, and the encrypted data can be created. On the other hand, when the receiving side apparatus decrypts the encrypted data, the receiving side apparatus sequentially decrypts each display position information constituting the encrypted data and detects that the change notification code is set in the encrypted data. The document data used for decryption can be changed.
第5の発明は、第2の発明の通信システムであって、
前記暗号化手段が、所定数の文字データの暗号化を行う毎に暗号化に用いる文書データを変更し、
前記復号手段が、前記所定数と同数の暗号データの復号を行う毎に復号に用いる文書データを変更する通信システムである。
The fifth invention is the communication system of the second invention,
The encryption means changes document data used for encryption every time a predetermined number of character data is encrypted,
In the communication system, the decryption unit changes document data used for decryption each time decryption of the same number of encrypted data as the predetermined number is performed.
この第5の発明によれば、送信側装置は、暗号化を行う際に、所定数の文字データの暗号化を行う毎に暗号化に用いる文書データを変更することができる。一方受信側装置は、復号を行う際に、前記所定数と同数の暗号データの復号を行う毎に復号に用いる文書データを変更することができる。 According to the fifth aspect of the present invention, the transmission side apparatus can change the document data used for encryption every time a predetermined number of character data is encrypted when performing the encryption. On the other hand, when performing decryption, the receiving-side apparatus can change document data used for decryption each time decryption of the same number of encrypted data as the predetermined number is performed.
第6の発明は、第1の発明の通信システムであって、
前記暗号化手段は、暗号化に用いる文書データを変更する送信側文書変更手段(例えば、図4に示す処理装置110)を有し、
前記送信側装置は、文書データを特定するための文書特定情報であって、前記送信側文書変更手段により変更された文書データの文書特定情報を前記受信側装置に送信する文書特定情報送信手段(例えば、図4に示す処理装置110,通信装置130)を更に備え、
前記受信側装置は、前記送信側装置から送信された文書特定情報を受信する文書特定情報受信手段(例えば、図4に示す処理装置110,通信装置130)を更に備え、
前記復号手段は、前記受信された文書特定情報に従って特定される文書データを用いて前記受信された暗号データを復号する通信システムである。
The sixth invention is the communication system of the first invention,
The encryption unit includes a transmission-side document change unit (for example, the
The transmission side device is document specification information for specifying the document data, and is a document specification information transmission unit for transmitting the document specification information of the document data changed by the transmission side document change unit to the reception side device ( For example, the
The receiving device further includes document specifying information receiving means (for example, the
The decrypting means is a communication system that decrypts the received encrypted data using document data specified in accordance with the received document specifying information.
この第6の発明によれば、送信側装置は、暗号化に用いる文書データを変更することができる。そして、当該変更された文書データを特定するための文字特定情報を受信側装置に送信することができる。一方受信側装置は、送信側装置から受信した文字特定情報に従って特定される文書データを用いて、暗号データを復号することができる。 According to the sixth aspect, the transmission side apparatus can change the document data used for encryption. Then, the character specifying information for specifying the changed document data can be transmitted to the receiving device. On the other hand, the receiving side device can decrypt the encrypted data by using the document data specified according to the character specifying information received from the transmitting side device.
第7の発明は、第1〜第6の何れかの発明の通信システムであって、
前記文書データには、他の文書データとのリンクを示すリンク情報が設定された文字が含まれており、
前記暗号化手段は、前記文字データを構成する各文字それぞれを順番に文書データ中の表示位置を示す表示位置情報に変換して暗号化していくとともに、当該表示位置の文字にリンク情報が設定されている場合に、暗号化に用いる文書データを、当該リンク情報に従ったリンク先の文書データに変更し、引き続いて前記文字データを構成する文字を暗号化していき、
前記復号手段は、前記受信された暗号データを構成する各表示位置情報それぞれを順番に文書データ中の当該表示位置情報が示す表示位置に表示される文字に変換して復号していくとともに、当該表示位置の文字にリンク情報が設定されている場合に、復号に用いる文書データを、当該リンク情報に従ったリンク先の文書データに変更し、引き続いて前記暗号データを構成する表示位置情報を復号していく通信システムである。
A seventh invention is a communication system according to any one of the first to sixth inventions,
The document data includes characters set with link information indicating a link with other document data,
The encryption means sequentially converts each character constituting the character data into display position information indicating the display position in the document data and encrypts it, and link information is set for the character at the display position. The document data used for encryption is changed to the document data of the link destination according to the link information, and subsequently the characters constituting the character data are encrypted,
The decrypting means sequentially converts each display position information constituting the received encrypted data into a character displayed at a display position indicated by the display position information in the document data, and decrypts the information. When link information is set for the character at the display position, the document data used for decryption is changed to the document data at the link destination according to the link information, and subsequently the display position information constituting the encrypted data is decrypted. It is a communication system.
この第7の発明によれば、送信側装置は、文字データの暗号化を行う際に、当該文字データを構成する各文字それぞれを順番に文書データ中の表示位置を示す表示位置情報に変換して暗号化していくが、当該表示位置の文字に他の文書データとのリンクを示すリンク情報が設定されている場合に、暗号化に用いる文書データをリンク先の文書データに変更することができる。一方受信側装置は、暗号データの復号を行う際に、当該暗号データを構成する各表示位置情報それぞれを順番に文書データ中の当該表示位置情報が示す表示位置に表示される文字に変換して復号していくが、当該表示位置の文字にリンク情報が設定されている場合に、復号に用いる文書データをリンク先の文書データに変更することができる。 According to the seventh aspect, when the transmission side apparatus encrypts the character data, each of the characters constituting the character data is sequentially converted into display position information indicating the display position in the document data. If the link information indicating the link with other document data is set in the character at the display position, the document data used for encryption can be changed to the link destination document data. . On the other hand, when decrypting the encrypted data, the receiving device converts each display position information constituting the encrypted data into characters displayed at the display position indicated by the display position information in the document data in order. Decoding is performed, but when link information is set for the character at the display position, the document data used for decoding can be changed to the linked document data.
第8の発明は、第1〜第7の何れかの発明の通信システムであって、
前記文書データは、インターネット上で公開されているWebページの内容を記述した文書データである通信システムである。
The eighth invention is the communication system of any one of the first to seventh inventions,
The document data is a communication system that is document data describing the contents of a Web page published on the Internet.
この第8の発明によれば、インターネット上で公開されているWebページの内容を記述した文書データを用いて文字データの暗号化及び復号を実現することができる。 According to the eighth aspect of the invention, it is possible to realize encryption and decryption of character data using document data describing the contents of a Web page published on the Internet.
第9の発明は、
文字データを暗号化して受信側装置に送信する送信側装置であって、
前記文字データを構成する各文字それぞれを、Webブラウザで表示可能な所定の文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより前記文字データを暗号データに暗号化する暗号化手段(例えば、図4に示す処理装置110)を備え、
暗号データを構成する各表示位置情報それぞれを、前記所定の文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより当該暗号データを復号する復号手段(例えば、図4に示す処理装置510)を備えた受信側装置と通信可能に接続された送信側装置である。
The ninth invention
A transmitting device that encrypts character data and transmits the encrypted data to the receiving device;
Each character constituting the character data is displayed in the display position information indicating the display position when the document data is displayed on the Web browser of the same character in the predetermined document data that can be displayed on the Web browser. An encryption unit (for example, the
Decryption for decrypting the encrypted data by converting each display position information constituting the encrypted data into characters displayed at the display position when the same document data as the predetermined document data is displayed on the Web browser A transmission-side apparatus communicably connected to a reception-side apparatus including means (for example, the
また第11の発明は、
コンピュータを、
文字データを構成する各文字それぞれを、Webブラウザで表示可能な所定の文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより前記文字データを暗号データに暗号化する暗号化手段(例えば、図4に示す処理装置110)として機能させるためのプログラムであって、
前記コンピュータが当該プログラムを実行することにより暗号化された暗号データが、
暗号データを構成する各表示位置情報それぞれを、前記所定の文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより当該暗号データを復号する復号手段(例えば、図4に示す処理装置510)を備えた受信側装置によって復号されるプログラムである。
The eleventh invention
Computer
Each character constituting the character data is converted into display position information indicating the display position when the document data is displayed with the Web browser, in the same character as the character in the predetermined document data that can be displayed with the Web browser. A program for causing the character data to function as encryption means (for example, the
The encrypted data encrypted by the computer executing the program is
Decryption for decrypting the encrypted data by converting each display position information constituting the encrypted data into characters displayed at the display position when the same document data as the predetermined document data is displayed on the Web browser This is a program that is decoded by a receiving-side device that includes means (for example, the
この第9又は第11の発明によれば、文字データを構成する各文字それぞれを、Webブラウザで表示可能な文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することによって前記文字データを暗号化することができる。 According to the ninth or eleventh invention, when each character constituting the character data is the same character as the character in the document data that can be displayed by the Web browser, the document data is displayed by the Web browser. The character data can be encrypted by converting it into display position information indicating the display position.
第10の発明は、
文字データを構成する各文字それぞれを、Webブラウザで表示可能な所定の文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより前記文字データを暗号データに暗号化する暗号化手段(例えば、図4に示す処理装置110)を備えた送信側装置から送信されてきた暗号データから文字データを復号する受信側装置であって、
暗号データを構成する各表示位置情報それぞれを、前記所定の文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより当該暗号データを復号する復号手段(例えば、図4に示す処理装置510)を備えた受信側装置である。
The tenth invention is
Each character constituting the character data is converted into display position information indicating the display position when the document data is displayed with the Web browser, in the same character as the character in the predetermined document data that can be displayed with the Web browser. In this way, the receiving side device decrypts the character data from the encrypted data transmitted from the transmitting side device provided with the encryption means (for example, the
Decryption for decrypting the encrypted data by converting each display position information constituting the encrypted data into characters displayed at the display position when the same document data as the predetermined document data is displayed on the Web browser It is a receiving side apparatus provided with a means (for example, the
また第12の発明は、
文字データを構成する各文字それぞれを、Webブラウザで表示可能な所定の文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより前記文字データを暗号データに暗号化する暗号化手段(例えば、図4に示す処理装置110)を備えた送信側装置と通信可能に接続されたコンピュータを、
暗号データを構成する各表示位置情報それぞれを、前記所定の文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより当該暗号データを復号する復号手段(例えば、図4に示す処理装置510)として機能させるためのプログラムである。
In addition, the twelfth invention
Each character constituting the character data is converted into display position information indicating the display position when the document data is displayed with the Web browser, in the same character as the character in the predetermined document data that can be displayed with the Web browser. A computer that is communicably connected to a transmission-side apparatus including an encryption unit (for example, the
Decryption for decrypting the encrypted data by converting each display position information constituting the encrypted data into characters displayed at the display position when the same document data as the predetermined document data is displayed on the Web browser It is a program for making it function as a means (for example, processing
この第10又は第12の発明によれば、送信側装置で暗号化された暗号データを構成する各表示位置情報それぞれを、送信側装置において暗号化に用いた文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することによって前記暗号データを復号することができる。 According to the tenth or twelfth invention, each display position information constituting the encrypted data encrypted by the transmission side apparatus is stored in the same document data as the document data used for encryption in the transmission side apparatus. The encrypted data can be decrypted by converting the characters to be displayed at the display position when displayed on the browser.
本発明によれば、送信側装置は、文字データを構成する各文字それぞれを、Webブラウザで表示可能な文書データ中の当該文字と同一の文字の、Webブラウザで当該文書データを表示した際の表示位置を示す表示位置情報に変換することにより、前記文字データを暗号化することができる。一方受信側装置は、送信側装置から受信した暗号データを構成する各表示位置情報それぞれを、送信側装置において暗号化に用いた文書データと同一の文書データをWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより、前記暗号データを復号することができる。
これによれば、文字データを構成する各文字を、文書データ中のどの文字の表示位置を示す表示位置情報に変換するかに応じて変換結果が同一の文字で異なるため、暗号データの秘匿性を保持することが可能となる。したがって、文字データを表示位置情報の羅列に変換する簡単な処理によって、秘匿性に優れた暗号化の仕組みを実現することができる。
According to the present invention, the transmitting-side device displays each character constituting the character data when the document data is displayed on the Web browser in the same character as the character in the document data that can be displayed on the Web browser. The character data can be encrypted by converting into display position information indicating the display position. On the other hand, the receiving device displays each display position information constituting the encrypted data received from the transmitting device when the same document data as the document data used for encryption in the transmitting device is displayed on the Web browser. The encrypted data can be decrypted by converting it into a character displayed at a position.
According to this, since the conversion result is different for the same character depending on whether each character constituting the character data is converted into display position information indicating which character display position in the document data, the confidentiality of the encrypted data Can be held. Therefore, an encryption mechanism with excellent secrecy can be realized by a simple process of converting character data into a list of display position information.
以下、図面を参照し、本発明を適用した通信システムの好適な実施形態について詳細に説明する。 DESCRIPTION OF EMBODIMENTS Hereinafter, a preferred embodiment of a communication system to which the present invention is applied will be described in detail with reference to the drawings.
[概要]
本実施形態の通信システムは、例えばユーザ操作により入力された平文(文字データ)を通信文(暗号データ)に暗号化する送信側装置と、送信側装置で暗号化された通信文を復号して平文を解読する受信側装置とを備えて構成されている。
[Overview]
The communication system according to the present embodiment includes, for example, a transmission-side device that encrypts plain text (character data) input by a user operation into communication text (encrypted data), and decrypts the communication text encrypted by the transmission-side apparatus. And a receiving side device for decoding plaintext.
送信側装置は、平文を構成する各文字それぞれを、所定のHTML文書をWebブラウザで表示した際の当該文字と同一の文字の表示位置を示す表示位置情報に変換することにより通信文に暗号化する。一方受信側装置は、通信文を構成する各表示位置情報それぞれを、暗号化に用いられた前記所定のHTML文書と同一のHTML文書をWebブラウザで表示した際の当該表示位置に表示される文字に変換することにより復号する。 The sending side device encrypts each character constituting the plain text into a communication text by converting each character constituting the plain text into display position information indicating the same character display position when the predetermined HTML document is displayed on the Web browser. To do. On the other hand, the receiving device displays each display position information constituting the communication text as a character displayed at the display position when the same HTML document as the predetermined HTML document used for encryption is displayed on the Web browser. Decoding by converting to
先ず、HTML文書をWebブラウザで表示した際の当該HTML文書に含まれる各文字の表示位置を示す表示位置情報について説明する。図1(a)は、ディスプレイの概略図であり、ブラウザ画面BWを含む複数のウィンドウが起動されている様子を示している。また図1(b)はブラウザ画面BWの拡大図、(c)はブラウザ画面BWに表示されるWebページの一例を示す図である。 First, display position information indicating the display position of each character included in the HTML document when the HTML document is displayed on a Web browser will be described. FIG. 1A is a schematic diagram of a display, and shows a state in which a plurality of windows including a browser screen BW are activated. FIG. 1B is an enlarged view of the browser screen BW, and FIG. 1C is a diagram illustrating an example of a Web page displayed on the browser screen BW.
図1(b)では、ブラウザ画面BWは、アドレスバーABやページ表示領域PW等を備えて構成されており、アドレスバーABには、ページ表示領域PWに表示されるWebページ(HTML文書)の格納場所を示す情報が設定される。具体的には、例えばURLや、装置内の格納場所を示すパス等が設定される。Webブラウザは、アドレスバーABにおいて指定されたHTML文書を読み込み、当該HTML文書に従って文字や画像を配したWebページとしてページ表示領域PWに表示する。 In FIG. 1B, the browser screen BW includes an address bar AB, a page display area PW, and the like. The address bar AB includes a Web page (HTML document) displayed in the page display area PW. Information indicating the storage location is set. Specifically, for example, a URL or a path indicating a storage location in the apparatus is set. The Web browser reads the HTML document designated in the address bar AB, and displays it in the page display area PW as a Web page in which characters and images are arranged according to the HTML document.
HTML文書に含まれる各文字それぞれのWebページ上での配置位置は、当該HTML文書中に定義されるページのレイアウト設定や書式設定等により特定される。例えば、図1(c)に示すWebページ中の文字列「abc」のレイアウト設定として定義される配置位置P1に従い、当該文字列「abc」の文字サイズ等をもとに文字「b」,「c」の配置位置P2,P3が特定される。 The arrangement position of each character included in the HTML document on the Web page is specified by the layout setting, format setting, etc. of the page defined in the HTML document. For example, according to the arrangement position P1 defined as the layout setting of the character string “abc” in the Web page shown in FIG. 1C, the characters “b”, “ The arrangement positions P2 and P3 of “c” are specified.
HTML文書に含まれる各文字の表示位置を示す表示位置情報は、前述のように特定されるWebページ上での配置位置であってもよいし、以下のようにしてもよい。 The display position information indicating the display position of each character included in the HTML document may be an arrangement position on the Web page specified as described above, or may be as follows.
すなわち、特定した配置位置をブラウザ画面BWの表示設定等をもとに座標変換し、得られたページ表示領域PW上での各文字の表示位置を表示位置情報としてもよい。例えば、図1(c)に示すWebページ上での文字「a」の配置位置P1に着目すれば、座標変換の結果得られたページ表示領域PW上での表示位置P11を表示位置情報とする。 That is, the coordinates of the specified arrangement position may be converted based on the display setting of the browser screen BW, and the display position of each character on the obtained page display area PW may be used as display position information. For example, if attention is paid to the arrangement position P1 of the character “a” on the Web page shown in FIG. 1C, the display position P11 on the page display area PW obtained as a result of the coordinate conversion is used as the display position information. .
或いは、特定したページ表示領域PW上での各文字の表示位置をディスプレイ上でのブラウザ画面BWの配置位置等をもとに座標変換し、得られたディスプレイ上での各文字の表示位置を表示位置情報としてもよい。例えば、図1(b)に示すページ表示領域PW上の文字「a」の表示位置P11に着目すれば、座標変換の結果得られたディスプレイ上での表示位置P21を表示位置情報とする。 Alternatively, coordinate conversion of the display position of each character on the specified page display area PW is performed based on the arrangement position of the browser screen BW on the display, and the display position of each character on the obtained display is displayed. It may be position information. For example, when attention is focused on the display position P11 of the character “a” on the page display area PW shown in FIG. 1B, the display position P21 on the display obtained as a result of the coordinate conversion is used as the display position information.
尚、以下では、表示位置情報をWebページ上での配置位置とし、平文を構成する各文字それぞれをWebページ上での配置位置に変換して暗号化することとして説明する。 In the following description, it is assumed that the display position information is an arrangement position on the Web page, and each character constituting the plain text is converted into an arrangement position on the Web page and encrypted.
図2は、平文として文字列「ggfh4cmkt」が入力された場合の暗号化について説明するための図であり、(a)はHTML文書の一例を示す図、(b)は(a)に示すHTML文書中の文字列Mにリンク付けされたリンク先ページのHTML文書の一例を示す図、(c)は暗号化された通信文の一例を示す図である。 2A and 2B are diagrams for explaining encryption when a character string “ggfh4cmkt” is input as plain text. FIG. 2A is a diagram illustrating an example of an HTML document, and FIG. 2B is an HTML diagram illustrated in FIG. FIG. 6 is a diagram showing an example of an HTML document of a linked page linked to a character string M in the document, and FIG. 5C is a diagram showing an example of an encrypted communication message.
図2(a)に示すように、本実施形態では、平文を構成する各文字それぞれを、前述のように特定される、HTML文書中の当該文字と同一の文字のWebページ上での配置位置に変換することにより、通信文を生成する。すなわち、例えば平文中の文字「ggfh4c」を、文字g1,g2,f3,h4,45,c6の配置位置にそれぞれ変換する。また本実施形態では、変換した配置位置に他のHTML文書がリンク付けされている場合には、暗号化に用いるHTML文書をリンク先ページのHTML文書に変更する。例えば、平文中の文字「m」を文字m7の配置位置に変換したならば、暗号化に用いるHTML文書を図2(b)に示すHTML文書に変更する。そして、引き続き平文中の文字「kt」を、当該HTML文書を表示したWebページ上での例えば文字k8,t9の配置位置に変換して、通信文(図2(c))を生成する。 As shown in FIG. 2A, in the present embodiment, each character constituting the plain text is identified as described above, and the arrangement position on the Web page of the same character as the character in the HTML document is specified. A communication sentence is generated by converting to. That is, for example, the character “ggfh4c” in the plain text is converted into the arrangement positions of the characters g1, g2, f3, h4, 45, c6, respectively. In the present embodiment, when another HTML document is linked to the converted arrangement position, the HTML document used for encryption is changed to the HTML document of the link destination page. For example, if the character “m” in plain text is converted into the arrangement position of the character m7, the HTML document used for encryption is changed to the HTML document shown in FIG. Then, the character “kt” in the plain text is continuously converted into the arrangement position of, for example, the characters k8 and t9 on the Web page displaying the HTML document, and the communication text (FIG. 2C) is generated.
〔第1実施形態〕
先ず、第1実施形態について説明する。
[First Embodiment]
First, the first embodiment will be described.
[全体構成]
図3は、第1実施形態における通信システム1aの全体構成の一例を示す図である。第1実施形態では、通信文を送受する送信側装置10a及び受信側装置50aが通信回線Nを介して接続されて通信システム1aを構成している。ここで、通信回線Nとは、データ授受が可能な通信路を意味する。すなわち、通信回線Nとは、直接接続のための専用線(専用ケーブル)やイーサネット(登録商標)等によるLANの他、電話通信網やケーブル網、インターネット等の通信網を含む意味であり、また、通信方法については有線/無線を問わない。
[overall structure]
FIG. 3 is a diagram illustrating an example of the overall configuration of the communication system 1a according to the first embodiment. In the first embodiment, a transmission-
第1実施形態の通信システム1aでは、送信側装置10a及び受信側装置50aの記憶装置に、予め同じHTML文書群(例えば「HTML文書群(A)」とする。)がそれぞれ格納されており、暗号化及び復号を行う際にこのHTML文書群(A)が用いられる。
In the communication system 1a of the first embodiment, the same HTML document group (for example, “HTML document group (A)”) is stored in advance in the storage devices of the
[機能構成]
図4は、第1実施形態における送信側装置10a及び受信側装置50aの主要機能ブロックを示す図である。
[Function configuration]
FIG. 4 is a diagram illustrating main functional blocks of the
(送信側装置)
図4に示すように、送信側装置10aは、入力装置100、処理装置110、表示装置120、通信装置130、記憶装置140a等を備えて構成されている。
(Sending device)
As shown in FIG. 4, the
入力装置100は、カーソルキー、テンキー、各種ファンクションキー等を備えたキーボード、タッチパネルやマウス等のポインティングデバイス等により実現されるものであり、これらが操作された場合には、その操作に応じた操作信号を処理装置110に出力する。
The
処理装置110は、CPU等で構成され、送信側装置10aを構成する各機能部への指示やデータの転送等を行って送信側装置10aを統括的に制御する。具体的には、入力装置100から入力される操作信号等に応じた処理プログラムを記憶装置140aから読み出して実行し、処理結果を記憶装置140aに保存する。
The
表示装置120は、例えば、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等の表示装置であり、処理装置110から入力される表示信号に基づく各種画面を表示する。
The
通信装置130は、装置内部で利用される情報を、通信回線Nを介して外部とやり取りするための装置であり、他の装置(例えば受信側装置50a)との通信を制御する。この通信装置130の機能は、無線通信モジュール、モデム、TA、有線用の通信ケーブルのジャックや制御回路等によって実現される。
The
記憶装置140aは、更新記憶可能なフラッシュメモリ等のROMやRAMといった各種ICメモリ、或いはハードディスク等で構成され、送信側装置10aの動作に係る各種処理プログラムや当該処理プログラムによる処理結果等のデータが格納される。処理装置110はこの記憶装置140aから読み出した処理プログラムやデータに基づいて種々の処理を実行する。特に、第1実施形態を実現するため、第1暗号化プログラム151と、変換テーブル作成プログラム153と、HTML文書群(A)155と、変換テーブル情報157とが格納される。
The
第1暗号化プログラム151は、ユーザ操作によって入力された平文を暗号化して通信文を生成し、受信側装置50aに送信するためのプログラムであり、処理装置110は、この第1暗号化プログラム151に従って第1暗号化処理を実行する。
The
具体的には、処理装置110は、平文を構成する各文字を、それぞれ変換対象のHTML文書(以下、「暗号化対象文書」という。)中の当該文字と同一の文字のWebページ上での配置位置に順次変換して通信文を生成する。暗号化対象文書としては、HTML文書群(A)155のうち、予めトップページとして定められているHTML文書が先ず選択される。そして、変換した配置位置に他のHTML文書がリンク付けされている場合には、暗号化対象文書がリンク先ページに変更されるようになっている。
Specifically, the
変換テーブル作成プログラム153は、変換テーブル情報157を作成するためのプログラムであり、処理装置110は、平文を暗号化する前の準備段階として、この変換テーブル作成プログラム153に従って変換テーブル作成処理を実行する。具体的には、処理装置110は、暗号化対象文書に含まれる文字のWebページ上での配置位置及び他のHTML文書がリンク付けされた当該暗号化対象文書中の位置(リンク位置)を特定し、変換テーブル情報157として記憶装置140a内に格納する。
The conversion
HTML文書群(A)155は、ページのレイアウト設定を定義したレイアウト情報、フォントの種類や文字サイズといった書式設定を定義した書式情報、リンク先のHTML文書を定義したリンク情報等が記述された複数のHTML文書を記憶する。 The HTML document group (A) 155 includes a plurality of descriptions in which layout information defining page layout settings, format information defining format settings such as font type and character size, link information defining link destination HTML documents, and the like are described. The HTML document is stored.
変換テーブル情報157は、前述の変換テーブル作成処理の結果生成されるものであり、HTML文書毎に格納される。図5は、変換テーブル情報157のデータ構成例である。図5に示すように、変換テーブル情報157には、HTML文書を識別するための文書特定情報1571とともに、当該HTML文書に基づいて生成された文字位置テーブル1573及びリンク位置データ1575が格納される。
The
文書特定情報1571には、例えば当該HTML文書の格納場所を示すパスや、ファイル名等が適宜設定される。
For example, a path indicating the storage location of the HTML document, a file name, and the like are appropriately set in the
文字位置テーブル1573は、当該HTML文書に含まれる文字のWebページ上での配置位置を文字毎に記憶する。図6は、文字位置テーブル1573のデータ構成例を示す図である。図6に示すように、文字位置テーブル1573には、当該HTML文書中の文字とそのWebページ上での配置位置との対応関係が設定されている。処理装置110は、当該HTML文書に含まれる全ての文字のWebページ上での配置位置をレイアウト情報や書式情報により特定し、文字位置テーブル1573を生成する。したがって、文字位置テーブル1573には、当該HTML文書中に同一の文字が複数含まれる場合には、当該文字に対応する配置位置が複数登録される。このため、平文中に同一の文字が複数含まれている場合であっても、異なる配置位置に変換することができるので、通信文の秘匿性を保持し、頻度分析による平文の推定・解読を防止することが可能となる。
The character position table 1573 stores, for each character, an arrangement position on the Web page of characters included in the HTML document. FIG. 6 is a diagram showing a data configuration example of the character position table 1573. As shown in FIG. 6, in the character position table 1573, the correspondence between the characters in the HTML document and the arrangement positions on the Web page is set. The
リンク位置データ1575は、他のHTML文書とのリンク付けが設定された当該HTML文書中のリンク位置を記憶する。処理装置110は、当該HTML文書中のリンク位置をリンク情報により特定し、リンク先ページの文書特定情報と対応付けてリンク位置データ1575を生成する。
The
(受信側装置)
図4に示すように、受信側装置50aは、入力装置500、処理装置510、表示装置520、通信装置530、記憶装置540a等を備えて構成されている。
(Receiving device)
As shown in FIG. 4, the receiving-
入力装置500は、カーソルキー、テンキー、各種ファンクションキー等を備えたキーボード、タッチパネルやマウス等のポインティングデバイス等により実現されるものであり、これらが操作された場合には、その操作に応じた操作信号を処理装置510に出力する。
The
処理装置510は、CPU等で構成され、受信側装置50aを構成する各機能部への指示やデータの転送等を行って受信側装置50aを統括的に制御する。具体的には、入力装置500から入力される操作信号等に応じた処理プログラムを記憶装置540aから読み出して実行し、処理結果を記憶装置540aに保存する。
The
表示装置520は、例えば、LCD(Liquid Crystal Display)やELD(Electronic Luminescent Display)等の表示装置であり、処理装置510から入力される表示信号に基づく各種画面を表示する。
The
通信装置530は、装置内部で利用される情報を、通信回線Nを介して外部とやり取りするための装置であり、他の装置(例えば送信側装置10a)との通信を制御する。この通信装置530の機能は、無線通信モジュール、モデム、TA、有線用の通信ケーブルのジャックや制御回路等によって実現される。
The
記憶装置540aは、更新記憶可能なフラッシュメモリ等のROMやRAMといった各種ICメモリ、或いはハードディスク等で構成され、受信側装置50aの動作に係る各種処理プログラムや当該処理プログラムによる処理結果等のデータが格納される。処理装置510はこの記憶装置540aから読み出した処理プログラムやデータに基づいて種々の処理を実行する。特に、第1実施形態を実現するため、第1復号プログラム551と、送信側装置10aに格納されたものと同一のHTML文書群(A)553とが格納されており、HTML文書群(A)553のうち、送信側装置10aにおいてトップページとして定められたHTML文書と同一のHTML文書がトップページとして定められている。
The
第1復号プログラム551は、送信側装置10aから受信した通信文を復号して平文を解読するためのプログラムであり、処理装置510は、この第1復号プログラム551に従って第1復号処理を実行する。
The
具体的には、処理装置510は、通信文を構成する各配置位置それぞれを、変換対象のHTML文書(以下、「復号対象文書」という。)をWebブラウザで表示したWebページ上での当該配置位置における文字に、順次変換して通信文を復号する。復号対象文書としては、トップページのHTML文書が先ず選択される。そして、当該配置位置に他のHTML文書がリンク付けされている場合には、暗号化対象文書がリンク先のHTML文書に変更されるようになっている。
Specifically, the
[処理の流れ]
次に、第1実施形態における通信システム1aの処理の流れについて説明する。
[Process flow]
Next, the flow of processing of the communication system 1a in the first embodiment will be described.
(第1暗号化処理)
先ず、送信側装置10aにおいて実行される第1暗号化処理の流れについて、図7を参照して説明する。尚ここで説明する処理は、送信側装置10aの処理装置110が第1暗号化プログラム151及び変換テーブル作成プログラム153を読み出して実行することにより実現される。
(First encryption process)
First, the flow of the first encryption process executed in the
この第1暗号化処理では、処理装置110は、先ずユーザ操作に従って平文を入力する(ステップs101)。続いて処理装置110は、トップページの変換テーブル情報157が作成済みか否かを判定する。そして、処理装置110は、既に作成されているならば(ステップs103:YES)、ステップs107に移行する。
In the first encryption process, the
一方処理装置110は、トップページの変換テーブル情報157が作成されていない場合には(ステップs103:NO)、変換テーブル作成プログラム153に従って変換テーブル作成処理を実行し、変換テーブル情報157を生成した後(ステップs105)、ステップs107に移行する。
On the other hand, if the top page
変換テーブル作成処理では、処理装置110は、HTML文書群(A)155から読み出したトップページのHTML文書に含まれる各文字それぞれのWebページ上での配置位置を特定して文字位置テーブル1573を生成するとともに、当該HTML文書中のリンク位置を特定してリンク位置データ1575を生成する。そして、処理装置110は、生成した文字位置テーブル1573及びリンク位置データ1575を、当該HTML文書の文書特定情報1571とともに変換テーブル情報157として記憶装置140aに格納する。
In the conversion table creation process, the
ステップs107では、処理装置110は、暗号化対象文書にトップページを設定する。そして、処理装置110は、ステップs101で入力された平文を構成する文字を先頭文字から順番にそれぞれ処理対象とし、ループAの処理を実行する(ステップs109〜ステップs121)。以下、ループAで処理の対象とする文字を「当文字」という。
In step s107, the
ループAでは、処理装置110は、先ず、暗号化対象文書の変換テーブル情報157に設定されている文字位置テーブル1573を参照して当文字に登録された配置位置を選択し、当文字を選択した配置位置に変換する(ステップs111)。このとき、当文字に複数の配置位置が登録されている場合には、処理装置110は、例えばランダムに一の配置位置を選択する。
In the loop A, the
次いで、処理装置110は、暗号化対象文書の変換テーブル情報157に設定されているリンク位置データ1575を参照し、変換した配置位置がリンク位置か否かを判定する。そして、処理装置110は、リンク位置でないならば(ステップs113:NO)、当文字に関するループA内の処理を終了する。
Next, the
一方リンク位置の場合には(ステップs113:YES)、処理装置110は、続いてリンク先ページの変換テーブル情報157が作成済みか否かを判定する。そして、処理装置110は、既に作成されているならば(ステップs115:YES)、ステップs119に移行する。
On the other hand, in the case of the link position (step s113: YES), the
一方処理装置110は、リンク先ページの変換テーブル情報が作成されていない場合には(ステップs115:NO)、変換テーブル作成プログラム153に従って変換テーブル作成処理を実行し、変換テーブル情報157を生成した後(ステップs117)、ステップs119に移行する。すなわち、処理装置110は、HTML文書群(A)155から読み出したリンク先ページのHTML文書に基づき、ステップs105で説明した変換テーブル作成処理と同様の処理を行って、リンク先ページの変換テーブル情報157を作成する。
On the other hand, if the conversion table information of the link destination page has not been generated (step s115: NO), the
ステップs119では、処理装置110は、暗号化対象文書をリンク先ページに変更する。そして、ステップs119の処理を実行したならば、処理装置110は、当文字に関するループAの処理を終了する。
In step s119, the
そして、処理装置110は、平文を構成する全ての文字を配置位置に変換したならばループAを終了し、続いて生成した通信文を受信側装置50aに送信して(ステップs123)、本処理を終了する。
Then, when all the characters constituting the plaintext are converted into the arrangement positions, the
(第1復号処理)
次に、受信側装置50aにおいて実行される第1復号処理の流れについて、図8を参照して説明する。尚ここで説明する処理は、受信側装置50aの処理装置510が第1復号プログラム551を読み出して実行することにより実現される。
(First decoding process)
Next, the flow of the first decoding process executed in the receiving
この第1復号処理では、処理装置510は、送信側装置10aから通信文を受信した場合に(ステップs201)、先ず、HTML文書群(A)553のトップページを復号対象文書に設定する(ステップs203)。そして、処理装置510は、ステップs201で受信した通信文を構成する配置位置を通信文の先頭から順番にそれぞれ処理対象とし、ループBの処理を実行する(ステップs205〜ステップs213)。以下、ループBで処理の対象とする配置位置を「当配置位置」という。
In this first decryption process, when the
ループBでは、先ず処理装置510は、HTML文書群(A)553を参照し、復号対象文書中に定義されているレイアウト情報や書式情報をもとに、複合対象文書をWebブラウザで表示したWebページ上での当配置位置における文字を特定し、当配置位置を特定した文字に変換する(ステップs207)。
In the loop B, first, the
次いで、処理装置510は、復号対象文書中に定義されているリンク情報をもとに、当配置位置がリンク位置か否かを判定する。そして、処理装置510は、リンク位置でないならば(ステップs209:NO)、当文字に関するループB内の処理を終了する。
Next, the
一方リンク位置の場合には(ステップs209:YES)、処理装置510は、復号対象文書をリンク先ページに変更した後(ステップs211)、当文字に関するループBの処理を終了する。
On the other hand, in the case of the link position (step s209: YES), the
そして、処理装置510は、通信文を構成する全ての配置位置を文字に変換したならばループBを終了し、本処理を終了する。この第1復号処理の結果通信文が復号され、平文が解読される。
Then, the
以上説明したように、第1実施形態によれば、送信側装置10aにおいて、平文を構成する各文字を、それぞれ暗号化対象文書中の当該文字と同一の文字のWebページ上での配置位置に順次変換して平文を通信文に暗号化することができる。一方受信側装置50aでは、通信文を構成する各配置位置それぞれを、復号対象文書中の当該配置位置における文字に順次変換して通信文を復号し、平文を解読することができる。
As described above, according to the first embodiment, in the transmission-
これによれば、平文を構成する各文字を、HTML文書を表示したWebページ上での配置位置に変換する際に、当該HTML文書中のどの文字の配置位置を選択するかによって変換結果が同一の文字で異なることとなり、暗号データの秘匿性を保持することが可能となる。 According to this, when each character constituting the plain text is converted into an arrangement position on the Web page on which the HTML document is displayed, the conversion result is the same depending on which character arrangement position in the HTML document is selected. Therefore, the confidentiality of the encrypted data can be maintained.
また、暗号化を行う場合に、平文を構成する文字をリンク位置である配置位置に変換したタイミングで暗号化対象文書を変更することができる。一方復号を行う際には、通信文を構成する配置位置をリンク位置の文字に変換したタイミングで復号対象文書を変更することができる。したがって、暗号化対象文書としたHTML文書の特定を困難なものとし、通信文の秘匿性を高めることができる。 In addition, when encryption is performed, the encryption target document can be changed at the timing when the characters constituting the plain text are converted into the arrangement position that is the link position. On the other hand, when performing decoding, the decoding target document can be changed at the timing when the arrangement position constituting the communication sentence is converted into the character at the link position. Therefore, it is difficult to specify the HTML document as the encryption target document, and the confidentiality of the communication text can be improved.
〔第2実施形態〕
次に、第2実施形態について説明する。尚、以下では、第1実施形態と同様の部分については同一の符号を付して説明は省略する。
[Second Embodiment]
Next, a second embodiment will be described. In addition, below, the same code | symbol is attached | subjected about the part similar to 1st Embodiment, and description is abbreviate | omitted.
[全体構成]
図9は、第2実施形態における通信システム1bの全体構成の一例を示す図である。第2実施形態では、通信文を送信する複数の送信側装置10b(10b−1,10b−2,・・・)が、受信側装置50bと通信回線Nを介して接続されて通信システム1bを構成している。
[overall structure]
FIG. 9 is a diagram illustrating an example of the overall configuration of the
第2実施形態の通信システム1bでは、各送信側装置10bの記憶装置に、それぞれインターネット上に公開されているWebページのURL情報を固有の順番で記憶したURL一覧が格納されている。一方受信側装置50bの記憶装置には、通信接続される各送信側装置10bに格納されているものと同じURL一覧が格納されている。
In the
例えば送信側装置10b―1の記憶装置には、URL一覧(A)が格納されており、このURL一覧(A)に設定されているURL情報の記憶順に従ってWebページの内容を記述したHTML文書を取得し、平文の暗号化に用いる。一方受信側装置50bでは、送信側装置10b−1から通信文を受信したならば、URL一覧(A)を参照し、当該URL一覧(A)に設定されているURL情報の記憶順に従ってWebページの内容を記述したHTML文書を取得し、通信文の復号に用いる。
For example, a URL list (A) is stored in the storage device of the sending
[機能構成]
図10は、第2実施形態における送信側装置10b及び受信側装置50bの主要機能ブロックを示す図である。
[Function configuration]
FIG. 10 is a diagram illustrating main functional blocks of the
(送信側装置)
図10に示すように、送信側装置10bは、第1実施形態と同様に、入力装置100、処理装置110、表示装置120、通信装置130、記憶装置140b等を備えて構成されている。
(Sending device)
As shown in FIG. 10, the transmission-
送信側装置10bの記憶装置140bには、第2実施形態を実現するため、第2暗号化プログラム161と、変換テーブル作成プログラム163と、URL一覧(例えば、URL一覧(A))165と、変換テーブル情報167と、当該送信側装置10bを識別するためのID情報等である送信側装置ID169とが格納される。
In order to realize the second embodiment, the
第2暗号化プログラム161は、ユーザ操作によって入力された平文を暗号化して受信側装置50bに送信するためのプログラムであり、処理装置110は、この第2暗号化プログラム161に従って第2暗号化処理を実行する。
The
具体的には、処理装置110は、平文を構成する各文字を、変換対象のHTML文書(暗号化対象文書)を表示したWebページ上での当該文字と同一の文字の配置位置に順次変換して通信文を生成する。暗号化対象文書は、URL一覧(A)165に設定されているURL情報の記憶順に従って取得される。詳細には、平文を構成する文字を配置位置に変換していく過程で、変換した配置位置が同一の暗号化対象文書を対象として前回までに変換した配置位置と同一となる配置位置の重複が生じた場合に、次順のURL情報に従って新たにHTML文書が取得されて暗号化対象文書が変更される。また、変換した配置位置に他のHTML文書がリンク付けされている場合には、第1実施形態と同様に暗号化対象文書がリンク先ページに変更される。
Specifically, the
変換テーブル作成プログラム163は、変換テーブル情報167を作成するためのプログラムであり、処理装置110は、第1実施形態と同様に、平文を暗号化する前の準備段階として、この変換テーブル作成プログラム163に従って変換テーブル作成処理を実行する。具体的には、処理装置110は、暗号化対象文書に含まれる文字のWebページ上での配置位置及び他のHTML文書がリンク付けされた当該暗号化対象文書中の位置(リンク位置)を特定し、変換テーブル情報167として記憶装置140b内に格納する。
The conversion
URL一覧(A)165は、上述した通り、インターネット上に公開されているWebページのURL情報を当該送信側装置10bに固有の順番で記憶する。尚、URL情報は、暗号化対象文書を取得するために使用された時点で当該URL一覧(A)165から削除されるようになっており、一度使用されたURL情報は再度使用されない仕組みとなっている。
As described above, the URL list (A) 165 stores URL information of Web pages published on the Internet in an order specific to the transmitting
変換テーブル情報167は、変換テーブル作成処理の結果生成されるものであり、現時点での暗号化対象文書に基づいて生成された文字位置テーブル167a及びリンク位置データ167bを含む。
The
文字位置テーブル167aは、暗号化対象文書中に含まれる文字のWebページ上での配置位置を文字毎に記憶するものであり、文字位置テーブル167aには、第1実施形態において図6に示して説明した文字位置テーブル1573と同様に、当該暗号化対象文書中の文字とそのWebページ上での配置位置との対応関係が設定される。
リンク位置データ167bは、他のHTML文書とのリンク付けが設定された当該暗号化対象文書中のリンク位置を記憶するものであり、リンク位置データ167bには、第1実施形態で説明したリンク位置データ1575と同様に、当該暗号化対象文書中のリンク位置とリンク先ページとの対応関係が設定される。
The character position table 167a stores, for each character, an arrangement position on the Web page of characters included in the document to be encrypted. The character position table 167a is shown in FIG. 6 in the first embodiment. Similar to the character position table 1573 described, the correspondence between the characters in the document to be encrypted and the arrangement positions on the Web page is set.
The
(受信側装置)
図10に示すように、受信側装置50bは、第1実施形態と同様に、入力装置500、処理装置510、表示装置520、通信装置530、記憶装置540b等を備えて構成されている。
(Receiving device)
As shown in FIG. 10, the receiving-
受信側装置50bの記憶装置540bには、第2実施形態を実現するため、第2復号プログラム561と、URL一覧情報563とが格納される。
The
第2復号プログラム561は、送信側装置10bから受信した通信文を復号して平文を解読するためのプログラムであり、処理装置510は、この第2復号プログラム561に従って第2復号処理を実行する。
The
具体的には、処理装置510は、通信文を構成する各配置位置を、変換対象のHTML文書(復号対象文書)中の当該配置位置における文字に順次変換して通信文を復号する。復号対象文書は、通信文を送信した送信側装置10bの送信側装置ID169と同じ送信側装置ID5631と対応付けられたURL一覧5633(図11参照)に設定されているURL情報の記憶順に従って取得される。詳細には、通信文を構成する配置位置を文字に変換していく過程で、同一の復号対象文書を対象として同一の配置位置を再度変換した場合に、次順のURL情報に従って新たにHTML文書が取得されて復号対象文書が変更される。また、通信文を構成する配置位置に他のHTML文書がリンク付けされている場合には、第1実施形態と同様に復号対象文書がリンク先ページに変更される。
Specifically, the
URL一覧情報563は、通信接続される各送信側装置10bに格納されたURL一覧を送信側装置10b毎に記憶する。図11は、URL一覧情報563のデータ構成例を示す図である。図11に示すように、URL一覧情報563は、送信側装置10bを識別するための送信側装置ID5631と、URL一覧(図11では、URL一覧(A))5633とを含み、URL一覧5633は、該当する送信側装置10bに格納されているURL一覧と同順序に同一のURL情報を記憶する。尚、URL情報は、復号対象文書を取得するために使用された時点で当該URL一覧5633から削除されるようになっており、一度使用されたURL情報は再度使用されない仕組みとなっている。
The
[処理の流れ]
次に、第2実施形態における通信システム1bの処理の流れについて説明する。
[Process flow]
Next, the flow of processing of the
(第2暗号化処理)
先ず、送信側装置10bにおいて実行される第2暗号化処理の流れについて、図12を参照して説明する。尚ここで説明する処理は、送信側装置10bの処理装置110が第2暗号化プログラム161及び変換テーブル作成プログラム163を読み出して実行することにより実現される。
(Second encryption process)
First, the flow of the second encryption process executed in the
この第2暗号化処理では、処理装置110は、先ずユーザ操作に従って平文を入力する(ステップs301)。続いて、処理装置110は、URL一覧(A)165に設定されている先頭のURL情報に従ってHTML文書を取得して暗号化対象文書を設定するとともに(ステップs303)、当該先頭のURL情報をURL一覧(A)165から削除する(ステップs305)。
In the second encryption process, the
続いて、処理装置110は、変換テーブル作成プログラム163に従って変換テーブル作成処理を実行し、変換テーブル情報167を作成する(ステップs307)。
この変換テーブル作成処理では、処理装置110は、暗号化対象文書に含まれる各文字それぞれのWebページ上での配置位置を特定して文字位置テーブル167aを生成するとともに、当該暗号化対象文書中のリンク位置を特定してリンク位置データ167bを生成する。そして、処理装置110は、生成した文字位置テーブル167a及びリンク位置データ167bを、変換テーブル情報167として記憶装置140bに格納する。
Subsequently, the
In this conversion table creation process, the
そして、処理装置110は、ステップs301で入力された平文を構成する文字を先頭文字から順番にそれぞれ処理対象とし、ループCの処理を実行する(ステップs309〜ステップs329)。以下、ループCで処理の対象とする文字を「当文字」という。
Then, the
ループCでは、処理装置110は、先ず、変換テーブル情報167に設定されている文字位置テーブル167aを参照して当文字に登録されている配置位置を選択し、当文字を選択した配置位置に変換する(ステップs311)。このとき、当文字に複数の配置位置が登録されている場合には、処理装置110は、例えばランダムに一の配置位置を選択する。
In the loop C, the
次に、処理装置110は、ステップs311で変換した配置位置が、同一の暗号化対象文書を対象として前回までに変換した配置位置と重複しているか否かを判定する。そして、重複していないならば(ステップs313:NO)、処理装置110は、後述するステップs323に移行する。
Next, the
一方、重複している場合には(ステップs313:YES)、処理装置110は、URL一覧(A)165に設定されている先頭のURL情報に従ってHTML文書を取得して暗号化対象文書を変更するとともに(ステップs317)、当該先頭のURL情報をURL一覧(A)165から削除する(ステップs319)。
On the other hand, if they are duplicated (step s313: YES), the
そして、処理装置110は、変換テーブル作成プログラム163に従って変換テーブル作成処理を実行し、変換テーブル情報167を更新する(ステップs321)。すなわち、処理装置110は、変更した暗号化対象文書に基づき、ステップs307で説明した変換テーブル作成処理と同様の処理を行って、当該暗号化対象文書の変換テーブル情報167を作成する。そして、ステップs311に戻り、当文字について上記した処理を再度実行する。
Then, the
ステップs323では、処理装置110は、変換テーブル情報167に設定されているリンク位置データ167bを参照し、変換した配置位置がリンク位置か否かを判定する。そして、処理装置110は、リンク位置でないならば(ステップs323:NO)、当文字に関するループC内の処理を終了する。
In step s323, the
一方リンク位置の場合には(ステップs323:YES)、処理装置110は、続いてリンク先ページのHTML文書を取得して暗号化対象文書を変更する(ステップs325)。
On the other hand, in the case of the link position (step s323: YES), the
そして、処理装置110は、変換テーブル作成プログラム163に従って変換テーブル作成処理を実行し、変換テーブル情報167を更新する(ステップs327)。すなわち、処理装置110は、変更した暗号化対象文書に基づき、ステップs307で説明した変換テーブル作成処理と同様の処理を行って、暗号化対象文書の変換テーブル情報167を作成する。ステップs327の処理を終了したならば、当文字に関するループC内の処理を終了する。
Then, the
そして、処理装置110は、平文を構成する全ての文字を配置位置に変換したならばループCを終了し、続いて生成した通信文を、送信側装置ID169とともに受信側装置50bに送信して(ステップs331)、本処理を終了する。
Then, when all the characters constituting the plain text are converted into the arrangement positions, the
(第2復号処理)
次に、受信側装置50bにおいて実行される第2復号処理の流れについて、図13を参照して説明する。尚ここで説明する処理は、受信側装置50bの処理装置510が第2復号プログラム561を読み出して実行することにより実現される。
(Second decoding process)
Next, the flow of the second decoding process executed in the receiving
この第2復号処理では、処理装置510は、送信側装置10bから通信文を受信した場合に(ステップs401)、先ず、通信文とともに受信した送信側装置IDをもとに、URL一覧情報563を選択する(ステップs403)。
In this second decryption process, when the
続いて、処理装置510は、ステップs401で選択したURL一覧情報563のURL一覧(URL一覧(A))5633に設定されている先頭のURL情報に従ってHTML文書を取得して復号対象文書に設定し(ステップs405)、当該先頭のURL情報をURL一覧(A)5633から削除する(ステップs407)。
Subsequently, the
そして、処理装置510は、ステップs401で受信した通信文を構成する配置位置を通信文の先頭から順番にそれぞれ処理対象とし、ループDの処理を実行する(ステップs409〜ステップs423)。以下、ループDで処理の対象とする配置位置を「当配置位置」という。
Then, the
ループDでは、処理装置510は、先ず、当配置位置が前回までに同一の復号対象文書を対象として文字に変換した配置位置と重複しているか否かを判定する。そして、重複していないならば(ステップs411:NO)、処理装置510は、復号対象文書中に定義されているレイアウト情報や書式情報をもとに当配置位置における文字を特定し、当配置位置を特定した文字に変換する(ステップs413)。
In the loop D, the
続いて、処理装置510は、復号対象文書中に定義されているリンク情報をもとに、当配置位置がリンク位置か否かを判定する。そして、処理装置510は、リンク位置でないならば(ステップs415:NO)、当文字に関するループDの処理を終了する。一方リンク位置の場合には(ステップs415:YES)、処理装置510は、リンク先ページのHTML文書を取得して復号対象文書を変更し(ステップs417)、当文字に関するループDの処理を終了する。
Subsequently, the
一方、ステップs411において重複していると判定した場合には、処理装置510は、URL一覧(A)5633に設定されている先頭のURL情報に従って新たにHTML文書を取得して復号対象文書を変更する(ステップs419)。そして、処理装置510は、当該先頭のURL情報をURL一覧(A)5633から削除し(ステップs421)、当位置座標に関するループD内の処理を終了する。
On the other hand, if it is determined in step s411 that they are duplicated, the
そして、処理装置510は、通信文を構成する全ての配置位置を文字に変換したならばループDを終了し、本処理を終了する。この第2復号処理の結果通信文が復号され、平文が解読される。
Then, the
以上説明したように、第2実施形態によれば、送信側装置10bは、URL一覧(A)165に設定されているURL情報の記憶順に従ってWebページの内容を記述したHTML文書を取得し、平文の暗号化に用いることができる。一方受信側装置50bでは、送信側装置10bから通信文を受信したならば、当該送信側装置10bと同順序でURL情報を記憶するURL一覧(A)5633を参照し、当該URL一覧(A)に設定されているURL情報の記憶順に従ってWebページの内容を記述したHTML文書を取得し、通信文の復号に用いることができる。
As described above, according to the second embodiment, the transmission-
また、送信側装置10bは、平文を構成する文字を配置位置に変換していく過程で変換した配置位置が同一の暗号化対象文書を対象として前回までに変換した配置位置と重複した場合に、次順のURL情報に従って新たにHTML文書を取得し、暗号化対象文書を変更することができる。一方受信側装置50bでは、通信文を構成する配置位置を文字に変換していく過程で同一の配置位置を再度変換した場合に、次順のURL情報に従って新たにHTML文書を取得し、復号対象文書を変更することができる。
Further, when the arrangement position converted in the process of converting the characters constituting the plaintext into the arrangement position overlaps with the arrangement position converted up to the previous time for the same encryption target document, An HTML document can be newly acquired according to the URL information in the next order, and the encryption target document can be changed. On the other hand, when the same arrangement position is converted again in the process of converting the arrangement position constituting the communication sentence into characters, the receiving
すなわち、暗号化を行う際、同一の配置位置に変換した場合を検出して暗号化対象文書を変更し、当該文字を変更後の暗号化対象文書を表示したWebページ上での配置位置に変換するので、平文中に同一の文字が含まれている場合であっても、当該文字が同一の配置位置に変換されることはない。さらに、送信側装置10b及び受信側装置50bに共通するURL一覧(A)に設定されているURL情報は、HTML文書を取得するために使用された時点で削除されて再度使用されない仕組みとなっている。したがって、ワンタイムパッド方式と同様の暗号化を簡単に実現することができ、暗号データの秘匿性を高めることができる。
That is, when performing encryption, the case where the document is converted to the same arrangement position is detected, the encryption target document is changed, and the character is converted into the arrangement position on the Web page displaying the changed encryption target document. Therefore, even if the same character is included in the plain text, the character is not converted to the same arrangement position. Furthermore, the URL information set in the URL list (A) common to the
尚、送信側装置10b及び受信側装置50bで共通するURL一覧(A)に設定されているURL情報は、上記したように送信側装置10bでの暗号化及び受信側装置50bでの復号に用いるHTML文書を取得するために使用されると削除されるため、以下のようにしてURL一覧(A)にURL情報を追加することとしてもよい。
Note that the URL information set in the URL list (A) common to the
すなわち、送信側装置10bが、平文を構成する文字を配置位置に変換していく過程で変換した配置位置が前回までに変換した配置位置と重複した場合に、例えばインターネット上に公開されているWebページのURL情報をランダムに取得する。或いは、ユーザ操作による入力を受け付けてURL情報を取得する。そして、取得したURL情報を最後尾に追加してURL一覧(A)165を更新するとともに、当該URL情報を構成する各文字を、例えば当該時点での暗号化対象文書を用いて暗号化し、通信文中に挿入する。 In other words, when the arrangement position converted in the process of converting the characters constituting the plain text into the arrangement position overlaps with the arrangement position converted up to the previous time, for example, the Web published on the Internet The URL information of the page is acquired at random. Alternatively, the URL information is acquired by receiving an input by a user operation. Then, the URL information (A) 165 is updated by adding the acquired URL information to the tail, and each character constituting the URL information is encrypted using, for example, the document to be encrypted at the time, and communication is performed. Insert in the sentence.
一方受信側装置50bでは、通信文を構成する配置位置を文字に変換していく過程で同一の配置位置を再度変換した場合には、直後に挿入されているURL情報を抽出して当該時点での復号対象文書を用いてURL情報を復号する。そして、該当するURL一覧(A)5633の最後尾に追加してURL一覧情報563を更新する。
On the other hand, in the receiving
また、前述のようにURL情報を通信文中に挿入して受信側装置50bに送信する場合には、例えば“http”や“www”、“com”、“ne”、“jp”といった文字列に相当するコード情報を予め設定しておき、URL情報中に含まれるこれらの文字列を該当するコード情報に変換した上で暗号化し、通信文に挿入することとしてもよい。
Further, as described above, when URL information is inserted into a communication sentence and transmitted to the receiving-
[変形例]
以上、本発明についての好適な実施形態について説明したが、本発明は、上記したものに限らず、発明の趣旨を逸脱しない限りにおいて適宜変更可能である。
[Modification]
The preferred embodiments of the present invention have been described above, but the present invention is not limited to those described above, and can be changed as appropriate without departing from the spirit of the invention.
例えば、第1実施形態では、送信側装置10aでの暗号化及び受信側装置50aでの復号においてHTML文書群(A)のトップページを最初に用いることとしたが、以下のようにしてもよい。
For example, in the first embodiment, the top page of the HTML document group (A) is used first in the encryption at the
すなわち、送信側装置10aにおいて、暗号化の際に最初に用いるHTML文書をランダムに選択することとしてもよい。この場合には、送信側装置10aは、当該ランダムに選択したHTML文書を特定する例えばファイル名等の文書特定情報を、通信文とともに受信側装置50aに送信する。またこの際、文書特定情報を構成する各文字を、例えばHTML文書群(A)155のトップページのHTML文書を用いて暗号化する。一方受信側装置50aでは、通信文とともに受信した文書特定情報を、HTML文書群(A)553のトップページのHTML文書を用いて復号し、復号の際に最初に用いるHTML文書を特定する。
That is, the
或いは、送信側装置10aにおいて、各HTML文書に含まれる文字の出現傾向を算出し、暗号化の際に最初に用いるHTML文書として、平文に含まれる文字の出現傾向が高いHTML文書を選択することとしてもよい。これによれば、頻度分析等による不正な解読を防止することができ、通信文の秘匿性をより一層高めることができる。
Alternatively, the transmitting
また、第2実施形態では、送信側装置10bにおいて平文を構成する文字を配置位置に変換していく過程で、変換した配置位置が重複した場合に暗号化対象文書を変更することとしたが、暗号化対象文書の変更タイミングはこれに限定されるものではない。
In the second embodiment, in the process of converting the characters constituting the plain text into the arrangement position in the
例えば、送信側装置10bにおいて、予め設定した所定数の文字を配置位置に変換した時点で次順のURL情報に従って新たにHTML文書を取得し、暗号化対象文書を変更することとしてもよい。この場合には、受信側装置50bでは、前記所定数の配置位置を文字に変換した時点で次順のURL情報に従って新たにHTML文書を取得し、復号対象文書を変更する。
For example, in the
或いは、送信側装置10bにおいて、ランダムなタイミングで通信文中に所定の変更通知コードを挿入することとしてもよい。そして、変更通知コードを通信文中に挿入した時点で、次順のURL情報に従って新たにHTML文書を取得し、暗号化対象文書を変更することとしてもよい。すなわち、通信文において、変更通知コードは、暗号化対象文書を変更する前後に変換した配置位置の間に設定される。この場合には、受信側装置50bでは、通信文中の変更通知コードを検出したタイミングで次順のURL情報に従ってHTML文書を取得し、復号対象文書を変更する。
Alternatively, the
このようにすれば、通信文の暗号化を行う際、所定のタイミングで暗号化対象文書を変更することができるので、暗号化対象としたHTML文書の特定を困難なものとし、通信文の秘匿性をより一層高めることができる。 In this way, when encrypting a message, the document to be encrypted can be changed at a predetermined timing. Therefore, it is difficult to specify an HTML document to be encrypted, and the message is concealed. The sex can be further enhanced.
また、第1実施形態及び第2実施形態では、送信側装置が、平文を構成する文字をリンク位置である配置位置に変換した場合に、暗号化対象文書をリンク先ページのHTML文書に変更することとしたが、次のようにしてもよい。すなわち、配置位置がリンク位置の場合に、一のHTML文書を例えばランダムに選択又は取得して暗号化対象文書を変更することとしてもよい。これによれば、暗号化対象としたHTML文書の特定をより困難にすることができるので、通信文の秘匿性を高めることができる。この場合には、送信側装置は、当該選択したHTML文書のファイル名又はURL情報といった文書特定情報を変更前の暗号化対象文書を用いて暗号化し、通信文中に挿入する。 In the first embodiment and the second embodiment, when the transmission side device converts the characters constituting the plain text into the arrangement position which is the link position, the encryption target document is changed to the HTML document of the link destination page. However, it may be as follows. That is, when the arrangement position is the link position, the encryption target document may be changed by selecting or acquiring one HTML document at random, for example. According to this, since it is possible to make it more difficult to specify the HTML document to be encrypted, the confidentiality of the communication text can be improved. In this case, the transmission side apparatus encrypts the document specifying information such as the file name or URL information of the selected HTML document using the encryption target document before the change, and inserts it in the communication text.
一方受信側装置では、通信文中の配置位置がリンク位置の場合には、直後に挿入されている文書特定情報を抽出し、当該時点での復号対象文書を用いて復号する。そして、復号対象文書を、抽出した文字特定情報によって特定されるHTML文書に変更する。 On the other hand, when the arrangement position in the communication text is the link position, the receiving side apparatus extracts the document specifying information inserted immediately after, and decodes it using the decoding target document at that time. Then, the decoding target document is changed to an HTML document specified by the extracted character specifying information.
また、上記したように、送信側装置において、ディスプレイ上の表示位置を表示位置情報とした通信文を生成することとしてもよい。この場合には、例えばディスプレイ上の選択操作によって平文の入力を受け付けることとしてもよい。ユーザは、ブラウザ画面上に表示されたWebページ中の文字をマウス等の入力装置によって選択(クリック)していくことにより、平文の各文字に対応する位置情報を入力する。送信側装置は、入力されたディスプレイ上の選択操作位置の座標値を羅列して通信文を生成し、受信側装置に送信する。一方受信側装置では、選択操作位置の座標値をブラウザ画面のページ表示領域上での表示位置に座標変換し、当該ページ表示領域上での表示位置をWebページ上での配置位置に座標変換する。そして、復号対象文書を表示したWebページ上での当該配置位置の文字を特定して通信文を復号し、平文を解読する。 In addition, as described above, the transmission side device may generate a communication sentence using the display position on the display as the display position information. In this case, for example, a plain text input may be received by a selection operation on the display. The user selects (clicks) a character in the Web page displayed on the browser screen with an input device such as a mouse, thereby inputting position information corresponding to each plaintext character. The transmission side device enumerates the input coordinate values of the selection operation position on the display to generate a communication sentence, and transmits it to the reception side device. On the other hand, the receiving side device converts the coordinate value of the selection operation position into a display position on the page display area of the browser screen, and converts the display position on the page display area to the arrangement position on the Web page. . Then, the communication text is decrypted by identifying the character at the arrangement position on the Web page displaying the decryption target document, and the plain text is decrypted.
また、第1実施形態及び第2実施形態では、暗号化及び復号に用いる文書データとしてHTML文書を用いることとして説明したが、SGML(Standard Generalized Markup Language)、TEX等のマークアップ言語で記述された文書データを用いることとしても勿論構わない。 In the first embodiment and the second embodiment has been described as using an HTML document as document data to be used for encryption and decryption, SGML (Standard Generalized Markup Language) , described in a markup language such as T E X Of course, it is also possible to use the document data.
1 通信システム
10a 送信側装置
100 入力装置
110 処理装置
120 表示装置
130 通信装置
140 記憶装置
151 第1暗号化プログラム
153 変換テーブル作成プログラム
155 HTML文書群(A)
157 変換テーブル情報
50a 受信側装置
500 入力装置
510 処理装置
520 表示装置
530 通信装置
540 記憶装置
551 第1復号プログラム
553 HTML文書群(A)
N 通信回線
DESCRIPTION OF
157
N communication line
Claims (10)
前記送信側装置の前記暗号化手段は、
Webブラウザで表示可能な所定の文書データを対象文書として、前記文字データを構成する各文字を前記対象文書中にある同一文字の表示位置を表わす表示位置情報へ順番に変換する第1変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第1変換処理を引き続き行っていくことで、前記文字データを前記暗号データへ暗号化し、
前記受信側装置の前記復号手段は、
前記所定の文書データを対象文書として、前記暗号データを構成する前記各表示位置情報を、前記対象文書を表示した際の当該表示位置情報に対応する表示位置の文字に順番に変換する第2変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第2変換処理を引き続き行っていくことで、前記暗号データを前記文字データへ復号する
ことを特徴とする通信システム。 A communication system comprising a transmission side device having an encryption means for encrypting character data and a reception side device having a decryption means for decrypting character data from the encryption data,
The encryption unit of the transmission side device includes:
First conversion processing for converting, in order, predetermined character data that can be displayed by a Web browser into display position information representing a display position of the same character in the target document, with each character constituting the character data as the target document. And when there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is used as a new target document. By continuing the first conversion process, the character data is encrypted into the encrypted data,
The decoding means of the receiving device is
Second conversion for sequentially converting each display position information constituting the encrypted data into characters at a display position corresponding to the display position information when the target document is displayed, using the predetermined document data as a target document. When processing is performed and there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is set as a new target document. The communication system is characterized in that the encrypted data is decrypted into the character data by continuously performing the second conversion process.
文字データを前記暗号データへ暗号化する暗号化手段を有し、
前記暗号化手段は、
前記所定の文書データを対象文書として、前記文字データを構成する各文字を前記対象文書中にある同一文字の表示位置を表わす表示位置情報へ順番に変換する第1変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第1変換処理を引き続き行っていくことで、前記文字データを前記暗号データへ暗号化することを特徴とする送信側装置。 Using predetermined document data that can be displayed by a Web browser as a target document, each display position information constituting the encrypted data is sequentially converted into characters at a display position corresponding to the display position information when the target document is displayed. When the second conversion process is performed and there is link information representing a link with other document data in the character at the display position of the target document, the document data at the link destination according to the link information is updated. A transmission-side device that transmits encrypted data that can be decrypted by a reception-side device that includes decryption means for decrypting the encrypted data by continuing the second conversion process as a target document,
Character data have a encryption means for encrypting to the encrypted data,
The encryption means includes
With the predetermined document data as a target document, a first conversion process for sequentially converting each character constituting the character data into display position information representing the display position of the same character in the target document, When there is link information representing a link with other document data in the character at the display position of the target document, the first conversion process is performed using the linked document data according to the link information as a new target document. A transmitting-side apparatus, wherein the character data is encrypted into the encrypted data by continuing.
前記暗号データから前記文字データを復号する復号手段を有し、
前記復号手段は、
前記所定の文書データを対象文書として、前記暗号データを構成する前記各表示位置情報を、前記対象文書を表示した際の当該表示位置情報に対応する表示位置の文字に順番に変換する第2変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第2変換処理を引き続き行っていくことで、前記暗号データを前記文字データへ復号することを特徴とする受信側装置。 A first conversion process is performed in which predetermined document data that can be displayed by a Web browser is used as a target document, and each character constituting the character data is sequentially converted into display position information representing the display position of the same character in the target document. When there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is used as a new target document. A receiving-side apparatus that receives encrypted data encrypted by a transmitting-side apparatus that includes an encryption unit that encrypts the character data by continuously performing one conversion process;
A decoding means for decoding the character data from the encrypted data,
The decoding means includes
As target document the predetermined document data, said each of said display position information which constitute the encrypted data, the second conversion for converting the order to letters display position corresponding to the display position information at the time of displaying the target document When processing is performed and there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is set as a new target document. The reception-side apparatus, wherein the encrypted data is decrypted into the character data by continuing the second conversion process.
前記所定の文書データを対象文書として、文字データを構成する各文字を前記対象文書中にある同一文字の表示位置を表わす表示位置情報へ順番に変換する第1変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第1変換処理を引き続き行っていくことで、前記文字データを前記暗号データへ暗号化する暗号化手段として機能させるためのプログラム。 Using predetermined document data that can be displayed by a Web browser as a target document, each display position information constituting the encrypted data is sequentially converted into characters at a display position corresponding to the display position information when the target document is displayed. When the second conversion process is performed and there is link information representing a link with other document data in the character at the display position of the target document, the document data at the link destination according to the link information is updated. As a target document, by continuing the second conversion process, a computer connected to be able to communicate with a receiving-side apparatus including a decrypting unit that decrypts the encrypted data ,
With the predetermined document data as a target document, a first conversion process for sequentially converting each character constituting character data into display position information representing the display position of the same character in the target document is performed. When there is link information representing a link with other document data in the character at the display position of the target document, the first conversion process is continued using the linked document data according to the link information as a new target document. A program for causing the character data to function as encryption means for encrypting the character data into the encrypted data .
前記所定の文書データを対象文書として、前記暗号データを構成する前記各表示位置情報を、前記対象文書を表示した際の当該表示位置情報に対応する表示位置の文字に順番に変換する第2変換処理を行っていくとともに、当該対象文書の当該表示位置の文字に他の文書データとのリンクを表わすリンク情報がある場合に、当該リンク情報に従ったリンク先の文書データを新たな対象文書として、前記第2変換処理を引き続き行っていくことで、前記暗号データを前記文字データへ復号する復号手段として機能させるためのプログラム。 A first conversion process is performed in which predetermined document data that can be displayed by a Web browser is used as a target document, and each character constituting character data is sequentially converted into display position information representing the display position of the same character in the target document. When there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is used as a new target document. (1) A computer capable of receiving encrypted data encrypted by a transmission-side apparatus having an encryption means for encrypting the character data by continuing the conversion process ,
As target document the predetermined document data, said each of said display position information which constitute the encrypted data, the second conversion for converting the order to letters display position corresponding to the display position information at the time of displaying the target document When processing is performed and there is link information representing a link with other document data in the character at the display position of the target document, the link destination document data according to the link information is set as a new target document. A program for causing the encrypted data to function as a decrypting means for decrypting the encrypted data by continuing the second conversion process.
前記送信側装置は、
複数のURL情報を所定順に記憶する送信側URL記憶手段と、
前記送信側URL記憶手段の記憶順に従って、前記送信側URL記憶手段に記憶されたURL情報によって特定されるWebブラウザで表示可能な文書データを、前記暗号化手段の暗号化に用いる文書データとして取得する送信側文書取得手段と、
を備え、
前記送信側装置の暗号化手段は、
前記送信側文書取得手段により取得される文書データを対象文書として、前記文字データを構成する各文字を前記対象文書中にある同一文字の表示位置を表わす表示位置情報へ順番に変換する第1変換処理を行っていくとともに、所定のタイミングで、前記対象文書を前記送信側ERL記憶手段の記憶順に従って前記送信側文書取得手段により取得される文書データに変更して、前記第1変換処理を引き続き行っていくことで、前記文字データを前記暗号データへ暗号化し、
前記受信側装置は、
前記送信側URL記憶手段により記憶されたURL情報を同順序で記憶する受信側URL記憶手段と、
前記受信側URL記憶手段の記憶順に従って、前記受信側URL記憶手段に記憶されたURL情報によって特定される文書データを、前記復号手段の復号に用いる文書データとして取得する受信側文書取得手段と、
を備え、
前記受信側装置の復号手段は、
前記受信側文書取得手段により取得される文書データを対象文書として、前記暗号データを構成する前記各表示位置情報を、前記対象文書を表示した際の当該表示位置情報に対応する表示位置の文字に順番に変換する第2変換処理を行っていくとともに、所定のタイミングで、前記対象文書を前記送信側URL記憶手段の記憶順に従って前記送信側文書取得手段により取得された文書データに変更して、前記第2変換処理を引き続き行っていくことで、前記暗号データを前記文字データへ復号する
ことを特徴とする通信システム。 A communication system comprising a transmission side device having encryption means for encrypting character data, and a reception side device having decryption means for decrypting character data from received encryption data,
The transmitting device is:
Transmitting-side URL storage means for storing a plurality of URL information in a predetermined order;
Acquires document data that can be displayed by a Web browser specified by the URL information stored in the transmission-side URL storage unit as document data used for encryption by the encryption unit in accordance with the storage order of the transmission-side URL storage unit Sending document acquisition means for
With
The encryption means of the transmission side device is:
First conversion for sequentially converting each character constituting the character data into display position information representing the display position of the same character in the target document, using the document data acquired by the transmission side document acquisition means as a target document While performing the process, at a predetermined timing, the target document is changed to the document data acquired by the transmission side document acquisition unit according to the storage order of the transmission side ERL storage unit, and the first conversion process is continued. By going, the character data is encrypted into the encrypted data,
The receiving side device
Receiving URL storage means for storing the URL information stored in the transmitting URL storage means in the same order;
Receiving-side document acquisition means for acquiring document data specified by the URL information stored in the receiving-side URL storage means according to the storage order of the receiving-side URL storage means, as document data used for decoding by the decoding means;
With
The decoding means of the receiving side device
Using the document data acquired by the receiving-side document acquisition means as a target document, the display position information constituting the encrypted data is changed to a character at a display position corresponding to the display position information when the target document is displayed. While performing the second conversion processing to convert in order, at a predetermined timing, the target document is changed to the document data acquired by the transmission side document acquisition means according to the storage order of the transmission side URL storage means, A communication system, wherein the encrypted data is decrypted into the character data by continuing the second conversion process.
前記復号手段が、前記受信された暗号データを構成する各表示位置情報それぞれを順番に文字に変換していくとともに、同一の表示位置情報を再度変換した場合に復号に用いる文書データを変更し、引き続いて前記暗号データを構成する表示位置情報を復号していく、
ことを特徴とする請求項6に記載の通信システム。 The encryption unit sequentially converts each character constituting the character data into display position information, and encrypts when the converted display position information overlaps with the display position information converted so far. Change the document data to be used, and continue to encrypt the characters that make up the character data,
The decryption means sequentially converts each display position information constituting the received encrypted data into characters, and changes the document data used for decryption when the same display position information is converted again, Subsequently, the display position information constituting the encrypted data is decrypted.
The communication system according to claim 6.
前記復号手段が、前記受信された暗号データを構成する各表示位置情報それぞれを順番に復号していくとともに、暗号データ中に変更通知コードが設定されていることを検出したタイミングで復号に用いる文書データを変更し、引き続いて前記暗号データを構成する表示位置情報を復号していく、
ことを特徴とする請求項6に記載の通信システム。 The encryption means sequentially converts each character constituting the character data into display position information, and when the document data used for encryption is changed, a change notification code indicating that the character data has been changed, Set between the display position information converted before and after the change, create encrypted data,
Document used for decryption at the timing when the decryption means sequentially decrypts each display position information constituting the received encrypted data and detects that a change notification code is set in the encrypted data. Changing the data and subsequently decrypting the display position information constituting the encrypted data,
The communication system according to claim 6.
前記復号手段が、前記所定数と同数の暗号データの復号を行う毎に復号に用いる文書データを変更する、
ことを特徴とする請求項6に記載の通信システム。 The encryption means changes document data used for encryption every time a predetermined number of character data is encrypted,
The decryption means changes document data used for decryption every time decryption of the same number of encrypted data as the predetermined number is performed.
The communication system according to claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005266781A JP4734069B2 (en) | 2005-09-14 | 2005-09-14 | COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005266781A JP4734069B2 (en) | 2005-09-14 | 2005-09-14 | COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007079123A JP2007079123A (en) | 2007-03-29 |
JP4734069B2 true JP4734069B2 (en) | 2011-07-27 |
Family
ID=37939500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005266781A Expired - Fee Related JP4734069B2 (en) | 2005-09-14 | 2005-09-14 | COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4734069B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5228532B2 (en) * | 2008-02-28 | 2013-07-03 | セイコーエプソン株式会社 | Information display device and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005534965A (en) * | 2002-07-27 | 2005-11-17 | エクストリーム セキュリティー ソリューションズ リミテッド リミテッド ライアビリティ カンパニー | Encryption and decryption apparatus and method |
-
2005
- 2005-09-14 JP JP2005266781A patent/JP4734069B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005534965A (en) * | 2002-07-27 | 2005-11-17 | エクストリーム セキュリティー ソリューションズ リミテッド リミテッド ライアビリティ カンパニー | Encryption and decryption apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
JP2007079123A (en) | 2007-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2927802B1 (en) | Image forming apparatus and method of cloning using mobile device | |
JP4994752B2 (en) | Information processing system | |
CN106570405B (en) | Method and device for encrypting/decrypting characters in input method | |
JP4920804B1 (en) | Communication device, reminder device, and information recording medium | |
JP5969716B1 (en) | Data management system, data management program, communication terminal, and data management server | |
JP4734069B2 (en) | COMMUNICATION SYSTEM, TRANSMITTER DEVICE, RECEPTION DEVICE, AND PROGRAM | |
WO2021006313A1 (en) | Data processing device, data processing method, and computer program | |
CN109074229B (en) | Printing of encrypted documents using multiple networks | |
JP2012043242A (en) | Encryption document forming apparatus and encryption document forming program | |
JP2006191509A (en) | Communication system, and communication method | |
JP2008262282A (en) | Encryption/decryption device and electronic mail system | |
JP4222132B2 (en) | Software providing method and system | |
JP2013101479A (en) | Information processing apparatus, and its control method and program | |
CN108459798A (en) | Printing equipment and content display method | |
JP2008269043A (en) | Content protection system and display device | |
CN107241185A (en) | Data transmitting and receiving method and transmission and reception device | |
JP2005199627A (en) | Image processor having authentication function for outputting confidential print data | |
EP4391446A1 (en) | Privacy shield | |
JP2006253739A (en) | Image processing apparatus and image processing method | |
KR101619843B1 (en) | Method, terminal and computer program for encrypting message | |
JP6451080B2 (en) | Information management system, information processing apparatus, and program | |
Braniscan et al. | Secure PHP OpenSSL crypto online tool | |
JP2008299367A (en) | Retrieval system | |
JP2023155773A (en) | Encrypted data transmission/reception system, encrypted data transmission/reception program, and encrypted data transmission/reception method | |
JP4447084B2 (en) | Cryptographic communication method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101130 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110105 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110208 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110221 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110331 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110419 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110425 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140428 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |