JP4337474B2 - Printer and printing system - Google Patents
Printer and printing system Download PDFInfo
- Publication number
- JP4337474B2 JP4337474B2 JP2003300458A JP2003300458A JP4337474B2 JP 4337474 B2 JP4337474 B2 JP 4337474B2 JP 2003300458 A JP2003300458 A JP 2003300458A JP 2003300458 A JP2003300458 A JP 2003300458A JP 4337474 B2 JP4337474 B2 JP 4337474B2
- Authority
- JP
- Japan
- Prior art keywords
- printer
- public key
- position information
- printer position
- print data
- 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
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Description
本発明は、プリンタ及び印刷システムに関し、特に、印刷できる場所を制限したプリンタ及び印刷システムに関する。 The present invention relates to a printer and a printing system, and more particularly, to a printer and a printing system in which printing places are limited.
近年、プリンタを用いたビジネスモデルとして、プリンタメーカがユーザにプリンタを無償で貸し出し、ユーザがこのプリンタを用いて印刷した枚数だけ、そのプリンタメーカに使用料を支払うという形態が、注目されてきている。このようなビジネスモデルにおいては、印刷枚数に応じた課金の他に、使用期間に応じた課金や、使用インク量に応じた課金などが考えられる。
しかしながら、このようなビジネスモデルでは、プリンタメーカから貸し出されたプリンタを、ユーザが無断で転売したり、他人に貸し出したりしてしまうと、プリンタメーカがプリンタの使用に応じた課金をすることができなくなってしまう。このため、プリンタメーカとしては、貸し出したプリンタが使用できる場所、つまり、正常な印刷ができる場所を、その貸し出したユーザの場所に限定したい。 However, in such a business model, if a user rents out a printer lent by a printer maker without permission, or rents it out to another person, the printer maker can charge for the use of the printer. It will disappear. For this reason, the printer manufacturer wants to limit the place where the lent printer can be used, that is, the place where normal printing can be performed to the rented user's place.
そこで本発明は、前記課題に鑑みてなされたものであり、予め登録した場所でしか正常に印刷することのできないプリンタ及び印刷システムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides a printer and a printing system that can normally print only at a location registered in advance.
上記課題を解決するため、本発明に係るプリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、前記公開鍵生成手段で生成した公開鍵が格納される、公開鍵格納手段と、前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、を備えることを特徴とする。 In order to solve the above-described problems, a printer according to the present invention requested printer position information acquisition means for acquiring printer position information for specifying a place where the printer is installed, and a person having a valid authority. In this case, the printer position information is acquired from the printer position information acquisition unit, and this is used as the first printer position information, and a public key is generated using a passphrase including at least the first printer position information. A key generation unit, a public key storage unit that stores the public key generated by the public key generation unit, a print data reception unit that receives print data encrypted with the public key, and the print data When received, the printer position information is acquired from the printer position information acquisition means, and this is used as the second printer position information. And a secret key generating means for generating a secret key using a passphrase including at least the second printer position information, and decrypting the print data received by the print data receiving means using the secret key. And a decoding means.
この場合、印刷クライアントから公開鍵取得要求を受信する、公開鍵取得要求受信手段と、前記公開鍵格納手段に格納されている前記公開鍵を読み出して、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、をさらに備えるようにしてもよい。 In this case, the public key acquisition request receiving unit that receives the public key acquisition request from the print client, and the public key stored in the public key storage unit are read out to the print client that has transmitted the public key acquisition request. You may make it further provide the public key transmission means to transmit.
また、本発明に係るプリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、前記プリンタ位置情報格納手段から前記第1プリンタ位置情報を読み出して、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、を備えることを特徴とする。 In addition, the printer according to the present invention provides a printer position information acquisition unit that acquires printer position information for specifying a place where the printer is installed, and the printer when requested by a person having a valid authority. First printer position information acquisition and storage means for acquiring printer position information from the position information acquisition means and using it as first printer position information, and storing the first printer position information in printer position information storage means; Public key generation means for reading the first printer position information from the printer position information storage means and generating a public key using a passphrase including at least the first printer position information; and encrypted with the public key The print data receiving means for receiving the print data, and the printer position information obtaining means when the print data is received. A secret key generation unit that acquires printer position information and uses the second printer position information as a second printer position information, and generates a secret key using a passphrase including at least the second printer position information. And decrypting means for decrypting the print data received by the print data receiving means using the secret key.
この場合、印刷クライアントから公開鍵取得要求を受信する、公開鍵取得要求受信手段をさらに備えるとともに、前記公開鍵生成手段は、前記公開鍵取得要求受信手段が公開鍵取得要求を受信した際に、公開鍵を生成するようにしてもよい。 In this case, the apparatus further includes a public key acquisition request receiving unit that receives a public key acquisition request from the print client, and the public key generation unit receives the public key acquisition request when the public key acquisition request receiving unit receives the public key acquisition request. A public key may be generated.
この場合、前記公開鍵生成手段が生成した前記公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段を、さらに備えるようにしてもよい。 In this case, a public key transmission unit that transmits the public key generated by the public key generation unit to the print client that transmitted the public key acquisition request may be further provided.
本発明に係るプリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、公開鍵の取得を要求する公開鍵取得要求を受信する、公開鍵取得要求受信手段と、前記公開鍵取得要求を前記公開鍵取得要求受信手段が受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記プリンタ位置情報格納手段に格納されている第1プリンタ位置情報と、前記第2プリンタ位置情報取得手段で取得した第2プリンタ位置情報とを比較して、両者が一致する場合に、前記第1プリンタ位置情報又は前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、を備えることを特徴とする。 The printer according to the present invention obtains the printer position information for specifying the location where the printer is installed, and the printer position information when requested by a person having a legitimate authority. Printer position information is acquired from the acquisition means, and this is used as the first printer position information, and the first printer position information is stored in the printer position information storage means; A public key acquisition request receiving unit that receives a public key acquisition request for requesting acquisition, and when the public key acquisition request receiving unit receives the public key acquisition request, obtains printer position information from the printer position information acquisition unit. Acquired and used as second printer position information, stored in the second printer position information acquisition means and the printer position information storage means. When the first printer position information and the second printer position information acquired by the second printer position information acquisition unit are compared, and the two match, the first printer position information or the second printer position information is determined. Public key generation means for generating a public key using at least a passphrase including the public key.
この場合、前記公開鍵生成手段で生成した公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段を、さらに備えるようにしてもよい。 In this case, a public key transmission unit that transmits the public key generated by the public key generation unit to the print client that transmitted the public key acquisition request may be further provided.
この場合、前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第3プリンタ位置情報とする、第3プリンタ位置情報取得手段と、前記第3プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、を備えるようにしてもよい。 In this case, the print data receiving means for receiving the print data encrypted with the public key, and when the print data is received, the printer position information is obtained from the printer position information obtaining means. Using the third printer position information acquisition means as the printer position information, a secret key generation means for generating a secret key using a passphrase including at least the third printer position information, and using the secret key, Decoding means for decoding the print data received by the print data receiving means may be provided.
上述したプリンタでは、操作者に認証情報を要求する、認証情報要求手段と、認証情報が入力された場合に、入力された認証情報が登録されている認証情報と一致するかどうかを判断し、両者が一致した場合には、操作者が正当な権限を有する者であると判断する、認証判断手段と、をさらに備えるようにしてもよい。 In the printer described above, authentication information requesting means for requesting authentication information from the operator, and when the authentication information is input, it is determined whether or not the input authentication information matches the registered authentication information, An authentication determination means for determining that the operator is a person having a legitimate authority when the two coincide with each other may be further provided.
また、前記公開鍵生成手段が公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄するようにしてもよい。 Further, even when a secret key is generated when the public key generating means generates the public key, the secret key may be discarded.
また、前記秘密鍵を用いて前記印刷データが復号できた場合には、前記印刷データに基づく印刷を実行し、前記秘密鍵を用いて前記印刷データが復号できなかった場合には、前記印刷データに基づく印刷を実行しない、選択印刷実行手段を、さらに備えるようにしてもよい。 Further, when the print data can be decrypted using the secret key, printing based on the print data is executed, and when the print data cannot be decrypted using the secret key, the print data A selective printing execution unit that does not execute printing based on the above may be further provided.
本発明に係る印刷システムは、プリンタと印刷クライアントとを有する、印刷システムであって、前記プリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、前記公開鍵生成手段で生成した公開鍵が格納される、公開鍵格納手段と、を備えており、前記印刷クライアントは、前記プリンタで印刷を行うための印刷データを生成する、印刷データ生成手段と、前記公開鍵で前記印刷データを暗号化し、この暗号化した印刷データを、前記プリンタに送信する、印刷データ送信手段と、を備えており、前記プリンタは、さらに、前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、を備えることを特徴とする。 The printing system according to the present invention is a printing system having a printer and a print client, wherein the printer acquires printer position information for specifying a location where the printer is installed. And a path including at least the first printer position information, when the printer position information is obtained from the printer position information acquisition means when requested by a person having a right authority A public key generation unit that generates a public key using a phrase; and a public key storage unit that stores a public key generated by the public key generation unit, wherein the print client includes the printer The print data is generated by the print data generation means for generating print data for printing with the public key, and this encryption is performed. Print data transmitting means for transmitting the converted print data to the printer, and the printer further receives print data encrypted with the public key, and the print data receiving means, When the print data is received, the printer position information is acquired from the printer position information acquisition means, and this is used as the second printer position information, and at least the second printer position information is included. A secret key generating unit that generates a secret key using a passphrase; and a decrypting unit that decrypts the print data received by the print data receiving unit using the secret key. To do.
本発明に係る印刷システムは、プリンタと印刷クライアントとを有する、印刷システムであって、前記プリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、前記プリンタ位置情報格納手段から前記第1プリンタ位置情報を読み出して、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、を備えており、前記印刷クライアントは、前記プリンタで印刷を行うための印刷データを生成する、印刷データ生成手段と、前記公開鍵で前記印刷データを暗号化し、この暗号化した印刷データを、前記プリンタに送信する、印刷データ送信手段と、を備えており、前記プリンタは、さらに、前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、を備えることを特徴とする。 The printing system according to the present invention is a printing system having a printer and a print client, wherein the printer acquires printer position information for specifying a location where the printer is installed. The printer position information is obtained from the printer position information obtaining means, and this is used as the first printer position information, and the first printer position information is used as the printer position information. A first printer position information acquisition storage means stored in the storage means; and the first printer position information is read from the printer position information storage means, and a public key is used by using a passphrase including at least the first printer position information. Public key generation means for generating the print client, and the print client prints with the printer. Print data generation means for generating print data for performing printing, and print data transmission means for encrypting the print data with the public key and transmitting the encrypted print data to the printer. The printer further receives print data encrypted with the public key, and receives printer position information from the printer position information acquisition means when receiving the print data. A second printer position information acquisition unit that uses this as second printer position information; a secret key generation unit that generates a secret key using a passphrase that includes at least the second printer position information; and the secret key And a decoding means for decoding the print data received by the print data receiving means.
本発明に係る印刷システムは、プリンタと印刷クライアントとを有する、印刷システムであって、前記プリンタは、当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、とを備えており、前記印刷クライアントは、公開鍵の取得を要求する公開鍵取得要求を送信する、公開鍵取得要求送信手段を、備えており、前記プリンタは、さらに、前記公開鍵取得要求を受信する、公開鍵取得要求受信手段と、前記公開鍵取得要求を前記公開鍵取得要求受信手段が受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、前記プリンタ位置情報格納手段に格納されている第1プリンタ位置情報と、前記第2プリンタ位置情報取得手段で取得した第2プリンタ位置情報とを比較して、両者が一致する場合に、前記第1プリンタ位置情報又は前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段と、を備えることを特徴とする。 The printing system according to the present invention is a printing system having a printer and a print client, wherein the printer acquires printer position information for specifying a location where the printer is installed. The printer position information is obtained from the printer position information obtaining means, and this is used as the first printer position information, and the first printer position information is used as the printer position information. First printer position information acquisition storage means for storing in the storage means, wherein the print client transmits a public key acquisition request transmission means for requesting acquisition of a public key, The printer further includes a public key acquisition request receiving means for receiving the public key acquisition request, and the public key acquisition request. When the public key acquisition request receiving unit receives the printer position information, the printer position information is acquired from the printer position information acquisition unit, and this is used as the second printer position information, and the printer position The first printer position information stored in the information storage means is compared with the second printer position information acquired by the second printer position information acquisition means. Or a public key generating means for generating a public key using a passphrase including at least the second printer position information.
なお、本発明は、プリンタを制御するための制御方法、及び、印刷システムを制御するための制御方法として実現することもできる。さらには、そのようにプリンタ、及び、印刷システムを制御するためのプログラムやそのプログラムを記録した記録媒体として実現することもできる。 Note that the present invention can also be realized as a control method for controlling a printer and a control method for controlling a printing system. Further, it can be realized as a program for controlling the printer and the printing system and a recording medium recording the program.
本発明に係るプリンタ及び印刷システムによれば、プリンタが印刷を行える位置を、所定の場所に制限することができる。 According to the printer and the printing system according to the present invention, the position where the printer can perform printing can be limited to a predetermined place.
〔第1実施形態〕
第1実施形態に係る印刷システムは、プリンタがその時点で設置されている位置を表すプリンタ位置情報を少なくとも含むパスフレーズを用いて公開鍵を生成し、この公開鍵をプリンタに格納しておく。この公開鍵の生成は、公開鍵生成認証情報が一致した特定の者が要求した場合にのみ、プリンタで実行される。
[First Embodiment]
The printing system according to the first embodiment generates a public key using a passphrase including at least printer position information indicating a position where the printer is installed at that time, and stores the public key in the printer. The generation of the public key is executed by the printer only when a specific person who matches the public key generation authentication information requests.
そして、印刷クライアントから公開鍵の送信を要求された場合には、プリンタは、格納しておいた公開鍵を読み出して、印刷クライアントに送信する。印刷クライアントが印刷データをこのプリンタに送信する際には、この取得した公開鍵を用いて印刷データを暗号化して生成した印刷送信用データとして送信する。この印刷送信用データを受信したプリンタでは、受信時に再度、その時点におけるプリンタ位置情報を少なくとも含むパスフレーズを用いて秘密鍵を生成し、この秘密鍵で印刷送信用データが復号できた場合にのみ印刷を実行する。このようにすることにより、正当な権限のある者がプリンタに公開鍵を登録した位置でしか、正常な印刷ができないようにしたものである。より詳しくを、以下に説明する。 When the print client requests transmission of the public key, the printer reads out the stored public key and transmits it to the print client. When the print client transmits print data to the printer, the print client transmits the print data as print transmission data generated by encrypting the print data using the acquired public key. In the printer that has received the print transmission data, a secret key is generated again using a passphrase that includes at least the printer position information at that time, and only when the print transmission data can be decrypted with this secret key. Execute printing. In this way, normal printing can be performed only at a position where a person with a legitimate authority has registered the public key in the printer. More details will be described below.
まず、図1に基づいて、本実施形態に係る印刷システムの構成を説明する。図1は、本実施形態に係る印刷システムのハードウェア構成を示すブロック図である。 First, the configuration of a printing system according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a hardware configuration of a printing system according to the present embodiment.
この図1に示すように、本実施形態に係る印刷システムは、プリンタケーブル10を介して接続された印刷クライアント20とプリンタ30とを備えている。すなわち、プリンタ30は印刷クライアント20にローカル接続されている。但し、印刷クライアント20とプリンタ30との間は、無線やイーサネット(登録商標)等を用いたネットワークにより接続されるようにしてもよい。この場合には、1つのプリンタ30に複数の印刷クライアント20が接続されてもよい。
As shown in FIG. 1, the printing system according to the present embodiment includes a
印刷クライアント20は、例えば、ホストコンピュータやパーソナルコンピュータと呼ばれる各種のコンピュータにより構成されている。本実施形態では、特に印刷クライアント20は、印刷データを公開鍵で暗号化した印刷送信用データを生成し、この印刷送信用データをプリンタケーブル10を介してプリンタ30に送信する。また、この印刷クライアント20は、コンピュータに限られるものではなく、例えば、撮影した画像を印刷する必要のあるデジタルカメラや、印刷画像データをコンテンツとして蓄積してあるコンテンツサーバ等でもよい。
The
また本実施形態においては、プリンタ30は、正当な権限を有する者が操作した場合に限り、公開鍵暗号法により公開鍵を生成することができるプリンタである。生成した公開鍵は、このプリンタ30に格納され、保持される。そして、プリンタ30は、印刷送信用データを印刷クライアント20から受信し、この印刷送信用データを、少なくともその時点のプリンタ位置情報を含むパスフレーズを用いて生成した秘密鍵で、復号する。そして、印刷送信用データの復号ができた場合には、その印刷送信用データに基づく印刷を行い、印刷送信用データの復号ができなかった場合には、その印刷送信用データに基づく印刷は行わない。
In this embodiment, the
また、本実施形態においては、プリンタ30は、公開鍵で暗号化されていない印刷データでは、正常な印刷結果が得られないように構成されている。すなわち、暗号化されていない印刷データは、プリンタ30では、秘密鍵を用いて復号できない印刷送信用データとして扱われる。
In the present embodiment, the
図2は、プリンタ30の内部構成を説明するためのブロック図である。この図2に示すように、プリンタ30は、CPU(Central Processing Unit)40と、RAM(Random Access Memory)42と、ROM(Read Only Memory)44と、EEPROM(Electrically Erasable Programmable ROM)45を備えており、これらは互いに内部バス46を介して接続されている。また、この内部バス46には、通信用のインターフェース48が接続されており、この通信用のインターフェース48を介して、上述したプリンタケーブル10にプリンタ30が接続されている。さらに、内部バス46には、インターフェース50が接続されており、このインターフェース50には印刷エンジン52が接続されている。本実施形態においては、EEPROM45は、書き換え可能な不揮発性記憶装置として機能する。
FIG. 2 is a block diagram for explaining the internal configuration of the
また、内部バス46には、位置検出部54が接続されている。この位置検出部54は、プリンタ30が設置されている位置を特定する機能を有する。本実施形態においては、例えば、GPS(global positioning system)により構成されており、このプリンタ30が設置されている位置の緯度、経度、高度が特定できるようになっている。現時点におけるGPSの精度は、緯度、経度、高度において、それぞれ±10m程度であると言われている。
In addition, a
但し、この位置検出部54は、GPSを用いた構成に限らず、例えば、PHS(Personal Handyphone System)などの移動体通信技術を利用して、プリンタ30の位置を特定するようにしてもよい。
However, the
さらに、内部バス46には、インターフェース56を介して、ハードディスク58が接続されている。本実施形態においては、このハードディスク58は、書き換え可能な不揮発性記憶装置として機能する。
Further, a
図3は、印刷クライアント20の内部構成を説明するためのブロック図である。この図3に示すように、本実施形態に係る印刷クライアント20は、コンピュータ本体60とディスプレイ62とを備えて構成されている。
FIG. 3 is a block diagram for explaining the internal configuration of the
コンピュータ本体60は、CPU64と、RAM66と、ROM68とを備えており、これらは互いに内部バス70を介して接続されている。また、この内部バス70には、通信用のインターフェース72が接続されており、この通信用のインターフェース72を介して、上述したプリンタケーブル10に印刷クライアント20が接続されている。
The computer main body 60 includes a
さらに、内部バス70には、インターフェース74が接続されており、このインターフェース74には大容量記憶装置であるハードディスク76が接続されている。本実施形態においては、このハードディスク76は、書き換え可能な不揮発性記憶装置として機能する。また、内部バス70には、インターフェース78が接続されており、このインターフェース78から延びるケーブル80を介して、上述したディスプレイ62が接続されている。
Further, an
次に、本実施形態に係る印刷システムにおいて、印刷クライアント20がプリンタ30で印刷を行う場合の処理を、概略的に説明する。
Next, in the printing system according to the present embodiment, processing when the
本実施形態においては、プリンタ30は、正当な権限のある者の要求に基づいて公開鍵を生成し、EEPROM45に格納する。本実施形態においては、正当な権限のある者であるかどうかは、プリンタ30のコントロールパネルから、操作者に公開鍵生成認証情報を入力させることにより、判断する。また、本実施形態においては、この公開鍵生成認証情報は、IDとパスワードの組み合わせから構成されている。また、公開鍵生成認証情報の入力は、印刷クライアント20で入力させて、プリンタケーブル10を介して、プリンタ30に送信するようにしてもよい。また、プリンタ30がネットワークプリンタである場合には、このネットワークを介して、別の場所から公開鍵生成認証情報をこのプリンタ30に送信するようにしてもよい。
In the present embodiment, the
プリンタ30では、このプリンタ30の設置されている位置を示すプリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を、公開鍵暗号法により生成する。但し、この際、秘密鍵は生成しないか、生成されたとしても破棄する。そして、プリンタ30は、印刷クライアント20から公開鍵取得要求を受け付けた場合には、この公開鍵をEEPROM45から読み出して、プリンタケーブル10を介して印刷クライアント20に送信する。
In the
但し、プリンタ30の公開鍵は、必ずしもプリンタケーブル10を介して印刷クライアント20に通知する必要はない。例えば、印刷クライアント20のユーザが、正当な権限を有する者であれば、プリンタ30を操作することができるのであるから、ユーザがプリンタ30のコントロールパネルを操作して、プリンタ30の公開鍵を取得するようにしてもよい。この場合、ユーザはプリンタ30の公開鍵をフレキシブルディスク等の記録媒体に記録し、これを印刷クライアント20に読み込ませてもよい。
However, it is not always necessary to notify the
次に、印刷クライアント20のユーザは、図4に示すように、印刷するべきデータである印刷データD05を作成し、印刷クライアント20に対してプリンタ30を指定して印刷を指示する。
Next, as shown in FIG. 4, the user of the
印刷クライアント20は、印刷データD05を、予め取得しておいたプリンタ30の公開鍵を用いて暗号化し、印刷送信用データD10を生成する。ここで、印刷データD05は、プリンタ30で印刷エンジン52を駆動した印刷を行うのに必要となる本来の印刷データを示している。なお、印刷送信用データD10は、この図4に示した印刷データD05以外のデータを含んでいてもよい。
The
この印刷送信用データD10を受信したプリンタ30は、図2に示すように、この受信した印刷送信用データD10をRAM42に一旦格納する。そして、プリンタ30は、この暗号化された印刷送信用データD10を、秘密鍵を用いて復号する。すなわち、プリンタ30は、その時点におけるプリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵暗号法により、秘密鍵を生成する。このように、印刷送信用データD10の復号を行おうとする度に、秘密鍵を生成することにより、このプリンタ30の設置場所が移動された場合には、移動前に生成された公開鍵で暗号化された印刷送信用データが、移動後のプリンタ30で復号できないようにしている。
The
続いて、プリンタ30は、印刷送信用データD10が復号できたかどうかを判断する。印刷送信用データD10の復号ができた場合には、印刷送信用データD10を復号することにより取得した印刷データD05に基づいて印刷を行い、復号できなかった場合には、印刷は行わない。
Subsequently, the
次に、上述した処理の内容について、フローチャートを用いて詳しく説明する。図5は、プリンタ30で実行される公開鍵生成処理を説明するフローチャートである。この公開鍵生成処理は、プリンタ30のROM44又はハードディスク58に格納されている公開鍵生成プログラムをCPU40が読み込んで実行することにより実現される処理である。また、本実施形態においては、この公開鍵生成処理は、操作者(例えば、プリンタ30のメーカのメンテナンスをする者)がプリンタ30のコントロールパネルを操作して、公開鍵生成処理を実行するように指示した場合に、起動され、実行される処理である。
Next, the contents of the above-described processing will be described in detail using a flowchart. FIG. 5 is a flowchart for explaining public key generation processing executed by the
図5に示すように、公開鍵生成処理が実行された場合、プリンタ30はまず、操作者に、公開鍵生成認証情報を入力するように要求する(ステップS46)。本実施形態においては、操作者は、プリンタ30のコントロールパネルから、IDとパスワードを公開鍵生成認証情報として入力する。
As shown in FIG. 5, when the public key generation process is executed, the
次に、プリンタ30は、公開鍵生成認証情報が入力されたかどうかを判断する(ステップS48)。この公開鍵生成認証情報が入力されていない場合(ステップS48:No)には、ステップS48の処理を繰り返して待機する。
Next, the
一方、公開鍵生成認証情報が入力された場合(ステップS48:Yes)には、入力された公開鍵生成認証情報が、登録されている公開鍵生成認証情報と一致するかどうかを判断する(ステップS50)。本実施形態においては、登録された公開鍵生成認証情報は、ROM44、EEPROM45、又は、ハードディスク58などに予め格納されている。このため、プリンタ30は、格納されている公開鍵生成認証情報を読み出して、操作者が入力した公開鍵生成認証情報と一致するかどうかを判断する。具体的には、登録されているID及びパスワードが、操作者が入力したID及びパスワードと一致するかどうかを判断する。
On the other hand, when the public key generation authentication information is input (step S48: Yes), it is determined whether or not the input public key generation authentication information matches the registered public key generation authentication information (step S48: Yes). S50). In the present embodiment, the registered public key generation authentication information is stored in advance in the
公開鍵生成認証情報が一致しなかった場合(ステップS50:No)には、新たに公開鍵を生成することなく、この公開鍵生成処理を終了する。 If the public key generation authentication information does not match (step S50: No), this public key generation process is terminated without generating a new public key.
一方、公開鍵生成認証情報が一致した場合(ステップS50:Yes)には、プリンタ30は、このプリンタ30の機器固有情報を取得する(ステップS52)。ここで、機器固有情報とは、このプリンタ30に関して、固有に割り当てられている識別情報であり、例えば、プリンタ30の製造シリアルナンバー、MACアドレス等がある。
On the other hand, if the public key generation authentication information matches (step S50: Yes), the
次に、プリンタ30は、位置検出部54から、その時点におけるプリンタ30のプリンタ位置情報を取得する(ステップS54)。これにより、プリンタ30のその時点における設置位置に関する情報を取得することができる。
Next, the
次に、プリンタ30は、機器固有情報とプリンタ位置情報とを用いてパスフレーズを作成する(ステップS56)。このパスフレーズの作成手法は種々のものが考えられるが、本実施形態においては、単純に機器固有情報の後ろにプリンタ位置情報をつなげることにより、パスフレーズを作成する。なお、パスフレーズは、これら機器固有情報及びプリンタ位置情報以外のデータを含んでいてもよい。
Next, the
次に、プリンタ30は、ステップS56で作成したパスフレーズを用いて、公開鍵暗号法により、公開鍵を生成する(ステップS58)。続いて、プリンタ30は、この生成した公開鍵をEEPROM45に格納する(ステップS60)。図6は、EEPROM45の一部の領域に形成される公開鍵格納部EP10の構成を示す図である。この図6に示すように、公開鍵格納部EP10に、生成した公開鍵を格納して、保持する。なお、公開鍵を生成する際に、秘密鍵も生成された場合には、この秘密鍵は格納されずに破棄される。
Next, the
これにより、本実施形態に係る公開鍵生成処理が終了する。 Thereby, the public key generation process according to the present embodiment ends.
次に、公開鍵を印刷クライアント20が取得する場合における、印刷クライアント20及びプリンタ30の処理について説明する。
Next, processing of the
図7は、印刷クライアント20で実行される公開鍵要求処理を説明するフローチャートである。この公開鍵要求処理は、印刷クライアントのROM68又はハードディスク76に格納されている公開鍵要求プログラムをCPU64が読み込んで実行することにより実現される処理である。また、本実施形態においては、この公開鍵要求処理は、ユーザが印刷クライアントに公開鍵を要求する処理を起動するように指示入力した場合に、起動され、実行される処理である。
FIG. 7 is a flowchart for explaining public key request processing executed by the
図7に示すように、この公開鍵要求処理においては、まず印刷クライアント20は、プリンタ30との接続を確立する(ステップS100)。続いて、印刷クライアント20は、プリンタ30へ認証情報を送信する(ステップS102)。本実施形態においては、この認証情報として、印刷クライアントを特定するための印刷クライアントIDと、パスワードとの組み合わせを用いている。したがって、印刷クライアント20は、印刷クライアントIDとパスワードとを、プリンタ30へ送信する。
As shown in FIG. 7, in this public key request process, first, the
これに続いて、印刷クライアント20は、プリンタ30から認証が受け入れられたか否かを示す認証結果を受信するので、この認証結果に基づいて、プリンタ30で認証が認められたかどうかを判断する(ステップS104)。認証が認められなかった場合(ステップS104:No)には、上述したステップS102からを繰り返す。
Following this, the
一方、認証が認められた場合(ステップS104:Yes)には、印刷クライアント20は、公開鍵取得要求をプリンタ30へ送信する(ステップS106)。そして、プリンタ30から公開鍵を受信したかどうかを判断する(ステップS108)。プリンタ30から公開鍵を受信していない場合(ステップS108:No)には、このステップS108を繰り返して待機する。
On the other hand, if the authentication is approved (step S104: Yes), the
一方、プリンタ30から公開鍵を受信した場合(ステップS108:Yes)には、この公開鍵を格納する(ステップS110)。本実施形態においては、印刷クライアント20は、ハードディスク76に公開鍵テーブルTB10を設けており、取得した公開鍵は、この公開鍵テーブルTB10に格納され保持される。
On the other hand, when the public key is received from the printer 30 (step S108: Yes), the public key is stored (step S110). In the present embodiment, the
図8は、この公開鍵テーブルTB10の構成の一例を示す図である。この図8に示すように、公開鍵テーブルTB10は、プリンタを特定するための情報を格納する項目TD10と、取得した公開鍵をプリンタに対応させて格納する項目TD11とを備えている。このように、公開鍵テーブルTB10は、複数のプリンタに関する公開鍵を、各プリンタ毎に保持することができるようになっている。また、このようにハードディスク78の公開鍵テーブルTB10に公開鍵を格納することにより、印刷クライアント20の電源がオフされて再び電源が投入された場合でも、それ以前に取得した公開鍵をそのままハードディスク78から読み出して使用することができるようになっている。
FIG. 8 is a diagram showing an example of the configuration of this public key table TB10. As shown in FIG. 8, the public key table TB10 includes an item TD10 for storing information for specifying a printer, and an item TD11 for storing the acquired public key in association with the printer. In this way, the public key table TB10 can hold public keys relating to a plurality of printers for each printer. Further, by storing the public key in the public key table TB10 of the
図7に示すように、次に、印刷クライアント20は、プリンタ30との接続を切断する(ステップS112)。これにより、図7に示した公開鍵要求処理は終了する。
As shown in FIG. 7, next, the
次に、図9に基づいて、印刷クライアント20の公開鍵要求処理に対応して、プリンタ30で実行される公開鍵送信処理について説明する。この図9は、プリンタ30で実行される公開鍵送信処理を説明するフローチャートである。この公開鍵送信処理は、プリンタのROM44又はハードディスク58に格納されている公開鍵送信プログラムをCPU40が読み込んで実行することにより実現される処理である。本実施形態においては、この公開鍵送信処理は、一定の時間間隔で定常的に実行されている処理である。また、この公開鍵送信処理は、上述した公開鍵要求処理に対応した処理である。
Next, a public key transmission process executed by the
図9に示すように、プリンタ30は、印刷クライアント20からの接続を待っており、印刷クライアント20から接続を要求された場合に、印刷クライアント20と接続を確立する(ステップS120)。これは上述した印刷クライアント20側のステップS100に対応している。続いて、プリンタ30は、印刷クライアント20から認証情報を受信したかどうかを判断する(ステップS122)。認証情報を受信していない場合(ステップS122:No)には、このステップS122の処理を繰り返して待機する。
As shown in FIG. 9, the
一方、認証情報を印刷クライアント20から受信した場合(ステップS122:Yes)には、その認証情報がこのプリンタ30に予め登録してある認証情報と一致するかどうかを判断する(ステップS124)。具体的には、上述したように、印刷クライアント20から印刷クライアントIDとパスワードが認証情報として送信されてくるので、この印刷クライアントIDとパスワードが、このプリンタ30に予め登録されている印刷クライアントIDとパスワードと一致するかどうかを判断する。
On the other hand, when the authentication information is received from the print client 20 (step S122: Yes), it is determined whether or not the authentication information matches the authentication information registered in advance in the printer 30 (step S124). Specifically, as described above, since the print client ID and password are transmitted as authentication information from the
認証情報が一致しなかった場合(ステップS124:No)には、プリンタ30は印刷クライアント20に、認証が受け入れられなかった旨の認証結果を送信し(ステップS126)、後述するステップS136において、印刷クライアント20との接続を終了する(ステップS136)。一方、認証が一致した場合(ステップS124:Yes)には、プリンタ30は印刷クライアント20に、認証が受け入れられた旨の認証結果を送信する(ステップS128)。
If the authentication information does not match (step S124: No), the
次に、プリンタ30は、印刷クライアント20から公開鍵取得要求を受信したかどうかを判断する(ステップS130)。この公開鍵取得要求を受信していない場合(ステップS130:No)には、このステップS130の処理を繰り返して待機する。
Next, the
公開鍵取得要求を受信した場合(ステップS130:Yes)には、プリンタ30は、EEPROM45の公開鍵格納部EP10から、公開鍵を読み出して取得する(ステップS132)。続いて、プリンタ30は、取得した公開鍵を、印刷クライアント20に送信する(ステップS134)。そして、印刷クライアント20との接続を終了し(ステップS136)、上述したステップS120に戻る。
When the public key acquisition request is received (step S130: Yes), the
次に、印刷クライアント20が印刷を行いたいときに、その印刷要求をプリンタ30に送信する場合の印刷クライアント20及びプリンタ30の処理について、詳しく説明する。
Next, processing of the
図10は、印刷クライアント20で実行される印刷要求処理を説明するフローチャートである。この印刷要求処理は、印刷クライアントのROM68又はハードディスク76に格納されている印刷要求プログラムをCPU64が読み込んで実行することにより実現される処理である。本実施形態においては、この印刷要求処理は、ユーザが印刷クライアントに印刷指示を入力した場合に、起動され、実行される処理である。
FIG. 10 is a flowchart illustrating print request processing executed by the
この図10に示すように、印刷クライアント20は、ユーザの印刷要求に基づいて、印刷データD05を作成する(ステップS160)。この印刷データD05は、プリンタ30が通常のプリンタである場合に、印刷を実際に行うのに必要となるデータである。
As shown in FIG. 10, the
次に、印刷クライアント20は、ハードディスク76の公開鍵テーブルTB10から、プリンタ30の公開鍵を読み出す(ステップS162)。続いて、印刷クライアント20は、プリンタ30の公開鍵を用いて、印刷データD05を暗号化して、印刷送信用データD10を生成する(ステップS164)。なお、印刷送信用データD10は、印刷データ以外のデータを含んでいてもよい。
Next, the
次に、印刷クライアント20は、プリンタ30との接続を確立する(ステップS165)。続いて、印刷クライアント20は、この暗号化した印刷送信用データD10を、プリンタ30に送信する(ステップS166)。
Next, the
次に、印刷クライアント20は、プリンタ30から印刷結果情報を受信したかどうかを判断する(ステップS168)。印刷結果情報を受信していない場合(ステップS168:No)には、このステップS168の処理を繰り返して待機する。一方、印刷結果情報を受信した場合(ステップS168:Yes)には、その印刷結果情報が印刷完了通知であるかどうかを判断する(ステップS170)。
Next, the
この印刷結果情報が印刷完了通知である場合(ステップS170:Yes)には、プリンタ30で印刷が正常に終了したことを意味しているので、ユーザにプリンタ30で印刷が完了した旨を通知する(ステップS172)。一方、受信した印刷結果情報が印刷完了通知でない場合(ステップS170:No)には、その印刷結果情報が解読不能通知であるかどうかを判断する(ステップS174)。
If this print result information is a print completion notification (step S170: Yes), this means that the
印刷結果情報が解読不能通知である場合(ステップS174:Yes)には、ユーザに、プリンタ30で印刷送信用データD10の復号ができなかったため、印刷が行われなかった旨を通知する(ステップS176)。一方、印刷結果情報が解読不能通知でない場合(ステップS174:No)には、その他の何らかのエラーであると考えられるので、ユーザに、そのエラーの種類に応じた通知を行う(ステップS178)。
If the print result information is an unreadable notification (step S174: Yes), the user is informed that printing has not been performed because the
これらステップS172、ステップS176、及び、ステップS178の通知の後、印刷クライアント20は、プリンタ30との接続を切断する(ステップS179)。これにより、この印刷クライアント20における印刷要求処理は終了する。
After the notification in step S172, step S176, and step S178, the
次に、図11に基づいて、印刷クライアント20の印刷要求処理に対応して、プリンタ30で実行される印刷実行処理について説明する。図11は、プリンタ30で実行される印刷実行処理を説明するフローチャートである。この印刷実行処理は、プリンタ30のROM44又はハードディスク58に格納されている印刷実行プログラムをCPU40が読み込んで実行することにより実現される処理である。本実施形態においては、この印刷実行処理は、一定の時間間隔で定常的に実行されている処理である。
Next, a print execution process executed by the
図11に示すように、プリンタ30は、印刷クライアント20からの接続を待っており、印刷クライアント20から接続を要求された場合には、プリンタ30は、プリンタケーブル10を介した印刷クライアント20と接続を確立する(ステップS180)。印刷クライアント20と接続が確立した後、プリンタ30は、印刷送信用データD10を受信したかどうかを判断する(ステップS182)。何ら印刷送信用データD10を受信していない場合(ステップS182:No)には、このステップS182の処理を繰り返して待機する。
As shown in FIG. 11, the
一方、印刷送信用データD10を受信した場合(ステップS182:Yes)には、プリンタ30は自らの機器固有情報を取得する(ステップS184)。続いて、プリンタ30は、位置検出部54から、その時点におけるプリンタ30のプリンタ位置情報を取得する(ステップS186)。このようにプリンタ位置情報を、その都度、位置検出部54から取得することとしているのは、プリンタ30が、公開鍵を登録したときの場所から別の場所に移動された場合には、このプリンタ30で印刷が行われないようにするためである。
On the other hand, when the print transmission data D10 is received (step S182: Yes), the
次に、プリンタ30は、機器固有情報とプリンタ位置情報とに基づいて、パスフレーズを作成する(ステップS188)。このパスフレーズの作成手法は、上述した公開鍵生成処理におけるステップS56と同じ手法である必要がある。なぜなら、パスフレーズが異なると、EEPROM45に格納した公開鍵で暗号化された印刷送信用データを復号できる秘密鍵が、生成できなくなってしまうからである。
Next, the
次に、プリンタ30は、生成したパスフレーズを用いて、公開鍵暗号法により秘密鍵を生成する(ステップS190)。このステップS190で使用するパスフレーズは、プリンタ30の設置位置が移動されていなければ、上述した公開鍵生成処理におけるステップS58で使用したパスフレーズと同じである。このため、ステップS58で生成した公開鍵に対応する秘密鍵が生成される。続いて、プリンタ30は、生成された秘密鍵を用いて、受信した印刷送信用データD10を復号して、印刷データD05を取得する(ステップS192)。
Next, the
次に、プリンタ30は、秘密鍵を用いて印刷送信用データD10の復号ができたかどうかを判断する(ステップS194)。復号ができた場合(ステップS194:Yes)には、得られた印刷データD05に基づいて、印刷エンジン52を駆動した印刷を実行する(ステップS196)。具体的には、印刷データD05の言語解釈を行い、印刷エンジン52に適合した印刷要求データを生成する。そして、この印刷要求データを印刷エンジン52に送信することにより、印刷エンジン52で印刷用紙等に印刷が行われる。
Next, the
この印刷が正常に完了した時点で、プリンタ30は、印刷が正常に終了した旨の印刷完了通知を、印刷結果情報として、印刷クライアント20に送信する(ステップS198)。
When this printing is normally completed, the
これに対して、ステップS194において、印刷送信用データD10の復号ができなかったと判断した場合(ステップS194:No)には、解読不能通知を印刷結果情報として、印刷クライアント20に送信する(ステップS200)。 On the other hand, if it is determined in step S194 that the print transmission data D10 could not be decrypted (step S194: No), an undecipherable notification is transmitted as print result information to the print client 20 (step S200). ).
これらステップS198又はステップS200の後、プリンタ30は、印刷クライアント20との接続を終了する(ステップS202)。そして、上述したステップS180の処理に戻る。
After these step S198 or step S200, the
以上のように、本実施形態に係る印刷システムによれば、プリンタ30は、正当な権限を有する者が指示をした場合に限り、公開鍵を生成して、EEPROM45に登録できるようにしたので、プリンタ30が正常な印刷をできる設置位置を限定することができる。
As described above, according to the printing system according to the present embodiment, the
すなわち、プリンタ30は、正当な権限を有する操作者が公開鍵の生成をプリンタ30に要求した場合には、プリンタ30は、その時点におけるプリンタ位置情報を含むパスフレーズを用いて、公開鍵を生成し、EEPROM45に格納する。一方、正当な権限を有する操作者でない場合には、プリンタ30は、公開鍵を生成しない。そして、プリンタ30が印刷クライアント20に公開鍵を送信する場合には、EEPROM45に格納されている公開鍵を読み出して、送信する。
That is, when an operator having a valid authority requests the
印刷クライアント20がプリンタ30に印刷データD05を送信する際には、この公開鍵を用いて暗号化した印刷送信用データD10として送信する。プリンタ30では、印刷送信用データD10を受信する都度、その時点におけるプリンタ位置情報を取得し、このプリンタ位置情報を含むパスフレーズを用いて秘密鍵を生成する。そして、プリンタ30は、この秘密鍵で印刷送信用データD10を復号し、復号できた場合は印刷を行い、復号できなかった場合には印刷を行わない。このため、EEPROM45に公開鍵を格納した際のプリンタ位置情報と、秘密鍵を生成する際のプリンタ位置情報が異なると、受信した印刷送信用データD10の復号が適正にできないこととなり、正常な印刷結果を得ることができない。これにより、プリンタ30が使用できる位置を、正当な権限を有する者が、プリンタ30に公開鍵の生成を指示した場所に限定することができる。
When the
また、正当な権限を有する操作者であれば、EEPROM45に格納されている公開鍵を変更することができるので、プリンタメーカ等の正当な理由でプリンタ30の設置場所を変更する場合でも、このプリンタ30を引き続き、使用することができる。すなわち、正当な権限を有する操作者が、プリンタ30の新たな設置場所で、再度、プリンタ30に公開鍵の生成を指示すれば、その場所のプリンタ位置情報に基づいて、新たな公開鍵が生成され、EEPROM45に格納される。このため、プリンタ30を有効に活用することができるようになる。
Further, since an operator having a legitimate authority can change the public key stored in the
〔第2実施形態〕
第2実施形態は、上述した第1実施形態を変形して、プリンタ30が公開鍵の代わりにプリンタ位置情報をEEPROM45に格納しておくようにしたものである。より詳しくを、以下に説明する。
[Second Embodiment]
In the second embodiment, the first embodiment described above is modified so that the
なお、本実施形態に係る印刷システムの構成は、上述した第1実施形態における図1と同様であり、プリンタ30の構成は、上述した図2と同様であり、印刷クライアント20の構成は、上述した図3と同様である。また、本実施形態に係る公開鍵要求処理、印刷要求処理、及び、印刷実行処理も、上述した第1実施形態と同様である。
The configuration of the printing system according to the present embodiment is the same as that in FIG. 1 in the first embodiment described above, the configuration of the
但し、本実施形態に係るプリンタ30では、公開鍵生成処理の代わりに、プリンタ位置情報登録処理が実行される。
However, in the
図12は、本実施形態に係るプリンタ30が実行するプリンタ位置情報登録処理を説明するフローチャートを示す図である。このプリンタ位置情報登録処理は、プリンタ30のROM44又はハードディスク58に格納されているプリンタ位置情報登録プログラムをCPU40が読み込んで実行することにより実現される処理である。また、本実施形態においては、このプリンタ位置情報登録処理は、操作者(例えば、プリンタ30のメーカのメンテナンスをする者)がプリンタ30のコントロールパネルを操作して、プリンタ位置情報登録処理を実行するように指示した場合に、起動され、実行される処理である。
FIG. 12 is a flowchart illustrating printer position information registration processing executed by the
この図12に示すように、公開鍵生成処理が実行された場合、プリンタ30はまず、操作者に、プリンタ位置情報登録認証情報を入力するように要求する(ステップS206)。本実施形態においては、操作者は、プリンタ30のコントロールパネルから、IDとパスワードをプリンタ位置情報登録認証情報として入力する。
As shown in FIG. 12, when the public key generation process is executed, the
次に、プリンタ30は、プリンタ位置情報登録認証情報が入力されたかどうかを判断する(ステップS208)。このプリンタ位置情報登録認証情報が入力されていない場合(ステップS208:No)には、ステップS208の処理を繰り返して待機する。
Next, the
一方、プリンタ位置情報登録認証情報が入力された場合(ステップS208:Yes)には、入力されたプリンタ位置情報登録認証情報が、登録されているプリンタ位置情報登録認証情報と一致するかどうかを判断する(ステップS210)。本実施形態においては、登録されたプリンタ位置情報登録認証情報は、ROM44、EEPROM45、又は、ハードディスク58などに予め格納されている。このため、プリンタ30は、格納されているプリンタ位置情報登録認証情報を読み出して、操作者が入力したプリンタ位置情報登録認証情報と一致するかどうかを判断する。具体的には、登録されているID及びパスワードが、操作者が入力したID及びパスワードと一致するかどうかを判断する。
On the other hand, if the printer position information registration authentication information has been input (step S208: Yes), it is determined whether the input printer position information registration authentication information matches the registered printer position information registration authentication information. (Step S210). In the present embodiment, the registered printer position information registration authentication information is stored in advance in the
プリンタ位置情報登録認証情報が一致しなかった場合(ステップS210:No)には、新たにプリンタ位置情報を登録を生成することなく、このプリンタ位置情報登録処理を終了する。 If the printer position information registration authentication information does not match (step S210: No), the printer position information registration process is terminated without newly generating registration of the printer position information.
一方、プリンタ位置情報登録認証情報が一致した場合(ステップS210:Yes)には、プリンタ30は位置検出部54から、その時点におけるプリンタ30のプリンタ位置情報を取得する(ステップS212)。これにより、プリンタ30のその時点における設置位置に関する情報を取得することができる。
On the other hand, if the printer position information registration authentication information matches (step S210: Yes), the
次に、プリンタ30は、この取得したプリンタ位置情報を、EEPROM45に格納する(ステップS214)。図13は、EEPROM45の一部の領域に形成されるプリンタ位置情報格納部EP20の構成を示す図である。この図13に示すように、プリンタ位置情報格納部EP20に、取得したプリンタ位置情報を格納して、保持する。
Next, the
これにより、本実施形態に係るプリンタ位置情報登録処理が終了する。 Thereby, the printer position information registration process according to the present embodiment is completed.
図14及び図15は、本実施形態に係る公開鍵送信処理を説明するフローチャートである。図14に示すように、本実施形態に係る公開鍵送信処理は、ステップS130までは上述した第1実施形態と同様である。 14 and 15 are flowcharts for explaining public key transmission processing according to the present embodiment. As shown in FIG. 14, the public key transmission process according to the present embodiment is the same as that of the first embodiment described above until step S130.
このステップS130の後、本実施形態に係る公開鍵送信処理では、プリンタ30は、機器固有情報を取得する(ステップS218)。ここで、機器固有情報とは、上述した第1実施形態と同様であり、このプリンタ30に関して、固有に割り当てられている識別情報であり、例えば、プリンタ30の製造シリアルナンバー、MACアドレス等がある。
After step S130, in the public key transmission process according to the present embodiment, the
次に、図15に示すように、プリンタ30は、EEPROM45から、プリンタ位置情報格納部EP20に格納されているプリンタ位置情報を読み出す(ステップS220)。すなわち、本実施形態においては、公開鍵の送信を印刷クライアント20から要求される都度、秘密鍵暗号法により公開鍵を生成するが、そのパスフレーズに使用するプリンタ位置情報は、固定的なものになる。このため、公開鍵を生成する度に、同じ公開鍵が得られることとなる。
Next, as shown in FIG. 15, the
次に、プリンタ30は、機器固有情報とプリンタ位置情報とを用いてパスフレーズを作成する(ステップS222)。このパスフレーズの作成手法は種々のものが考えられるが、本実施形態においては、単純に機器固有情報の後ろにプリンタ位置情報をつなげることにより、パスフレーズを作成する。なお、パスフレーズは、これら機器固有情報及びプリンタ位置情報以外のデータを含んでいてもよい。
Next, the
次に、プリンタ30は、ステップS222で作成したパスフレーズを用いて、公開鍵暗号法により、公開鍵を生成する(ステップS224)。続いて、プリンタ30は、この生成した公開鍵を印刷クライアント20に送信する(ステップS226)。そして、印刷クライアント20との接続を終了し(ステップS228)、図14のステップS120に戻る。
Next, the
以上のように、本実施形態に係る印刷システムによれば、プリンタ30は、正当な権限を有する者が指示をした場合に限り、その時点のプリンタ位置情報をEEPROM45に格納するようにしたので、プリンタ30が正常な印刷をできる設置位置を限定することができる。
As described above, according to the printing system according to the present embodiment, the
すなわち、プリンタ30は、正当な権限を有する操作者が新たなプリンタ位置情報の登録を要求した場合には、プリンタ30は、その時点におけるプリンタ位置情報をEEPROM45に格納する。一方、正当な権限を有する操作者でない場合には、プリンタ30は、プリンタ位置情報をEEPROM45に格納しない。そして、プリンタ30が印刷クライアント20に公開鍵を送信する場合には、EEPROM45に格納されているプリンタ位置情報を少なくとも含むパスフレーズを用いて公開鍵を生成し、送信する。
That is, the
印刷クライアント20がプリンタ30に印刷データD05を送信する際には、この公開鍵を用いて暗号化した印刷送信用データD10として送信する。プリンタ30では、印刷送信用データD10を受信する都度、その時点におけるプリンタ位置情報を取得し、このプリンタ位置情報を含むパスフレーズを用いて秘密鍵を生成する。そして、プリンタ30は、この秘密鍵で印刷送信用データD10を復号し、復号できた場合は印刷を行い、復号できなかった場合には印刷を行わない。このため、EEPROM45に格納したプリンタ位置情報と、秘密鍵を生成する際のプリンタ位置情報が異なると、受信した印刷送信用データD10の復号が適正にできないこととなり、正常な印刷結果を得ることができない。これにより、プリンタ30が使用できる位置を、正当な権限を有する者が、プリンタ30にプリンタ位置情報の登録した場所に限定することができる。
When the
また、正当な権限を有する操作者であれば、EEPROM45に格納されているプリンタ位置情報を変更することができるので、プリンタメーカ等の正当な理由でプリンタ30の設置場所を変更する場合でも、このプリンタ30を引き続き、使用することができる。すなわち、正当な権限を有する操作者が、プリンタ30の新たな設置場所で、再度、プリンタ30にプリンタ位置情報の登録を指示すれば、その場所のプリンタ位置情報がEEPROM45に格納される。このため、プリンタ30を有効に活用することができるようになる。
In addition, since an operator having a legitimate authority can change the printer position information stored in the
〔第3実施形態〕
第3実施形態は、上述した第2実施形態を変形して、正当な権限を有する者がプリンタ位置情報を登録した位置から、プリンタ30が移動された場合には、公開鍵の生成を停止するようにしたものである。より詳しくを、以下に説明する。
[Third Embodiment]
The third embodiment is a modification of the second embodiment described above, and stops the generation of the public key when the
なお、本実施形態に係る印刷システムの構成は、上述した第1実施形態における図1と同様であり、プリンタ30の構成は、上述した図2と同様であり、印刷クライアント20の構成は、上述した図3と同様である。また、本実施形態に係る印刷要求処理、印刷実行処理、及び、プリンタ位置情報登録処理も、上述した第2実施形態と同様である。
The configuration of the printing system according to the present embodiment is the same as that in FIG. 1 in the first embodiment described above, the configuration of the
但し、本実施形態に係る公開鍵要求処理は、上述した第2実施形態と多少異なる。図16は、本実施形態に係る公開鍵要求処理の内容を説明するフローチャートを示す図である。 However, the public key request processing according to the present embodiment is slightly different from the second embodiment described above. FIG. 16 is a flowchart illustrating the contents of the public key request process according to the present embodiment.
この図16に示すように、ステップS100〜ステップS112までの処理は、上述した第2実施形態と同様であるが、ステップS108で、公開鍵を受信していないと判断した場合(ステップS108:No)には、プリンタ移動情報をプリンタ30から受信したかどうかを判断する(ステップS300)。プリンタ移動情報を受信していない場合(ステップS300:No)には、ステップS108からを繰り返す。 As shown in FIG. 16, the processing from step S100 to step S112 is the same as that of the second embodiment described above, but when it is determined in step S108 that the public key has not been received (step S108: No). ), It is determined whether or not the printer movement information is received from the printer 30 (step S300). If the printer movement information has not been received (step S300: No), the process from step S108 is repeated.
一方、プリンタ移動情報を受信した場合(ステップS300:Yes)には、正当な権限を有する者がプリンタ位置情報を登録した場所からプリンタ30が移動されてしまい公開鍵の生成ができない旨をユーザに通知する(ステップS302)。そして、プリンタ30との接続を切断し(ステップS112)、この公開鍵要求処理を終了する。
On the other hand, when the printer movement information is received (step S300: Yes), the user is notified that the
図17及び図18は、本実施形態に係る公開鍵送信処理の内容を説明するフローチャートを示す図である。図17に示すように、本実施形態に係る公開鍵送信処理は、ステップS130までは上述した第1実施形態と同様である。 17 and 18 are flowcharts for explaining the contents of the public key transmission process according to this embodiment. As shown in FIG. 17, the public key transmission process according to the present embodiment is the same as that of the first embodiment described above until step S130.
このステップS130の後、本実施形態に係る公開鍵送信処理では、プリンタ30は、プリンタ位置情報格納部EP20に格納されているプリンタ位置情報を取得する(ステップS310)。続いて、プリンタ30は、位置検出部54から、この時点のプリンタ30のプリンタ位置情報を取得する(ステップS312)。
After this step S130, in the public key transmission process according to the present embodiment, the
次に、プリンタ30は、プリンタ位置情報格納部EP20から取得したプリンタ位置情報と、位置検出部54から取得したプリンタ位置情報とが一致するかどうかを判断する(ステップS314)。両者が一致しない場合(ステップS314:No)には、正当な権限を有する者がプリンタ位置情報登録処理によりプリンタ位置情報を登録したときと比べて、プリンタ30が移動されたことを示しているので、プリンタ30は、公開鍵を生成することなく、印刷クライアント20に、プリンタ移動情報を送信する(ステップS316)。そして、図18に示すように、印刷クライアント20との接続を切断して(ステップS328)、この公開鍵送信処理を終了する。
Next, the
一方、図17に示すように、プリンタ位置情報格納部EP20から取得したプリンタ位置情報と、位置検出部54から取得したプリンタ位置情報とが一致した場合(ステップS314:Yes)には、図18に示すように、プリンタ30は、機器固有情報を取得する(ステップS320)。
On the other hand, as shown in FIG. 17, when the printer position information acquired from the printer position information storage unit EP20 matches the printer position information acquired from the position detection unit 54 (step S314: Yes), FIG. As shown, the
次に、プリンタ30は、機器固有情報と、ステップS310又はステップS312で取得したプリンタ位置情報とを用いてパスフレーズを作成する(ステップS322)。このパスフレーズの作成手法は種々のものが考えられるが、本実施形態においては、単純に機器固有情報の後ろにプリンタ位置情報をつなげることにより、パスフレーズを作成する。なお、パスフレーズは、これら機器固有情報及びプリンタ位置情報以外のデータを含んでいてもよい。
Next, the
次に、プリンタ30は、ステップS322で作成したパスフレーズを用いて、公開鍵暗号法により、公開鍵を生成する(ステップS324)。続いて、プリンタ30は、この生成した公開鍵を印刷クライアント20に送信する(ステップS326)。そして、印刷クライアント20との接続を終了し(ステップS328)、図17のステップS120に戻る。
Next, the
以上のように、本実施形態に係る印刷システムによれば、正当な権限を有する者がプリンタ30にプリンタ位置情報を登録した位置と、公開鍵を生成しようとした際におけるプリンタ30の位置とが異なる場合には、公開鍵の生成を行わないようにしたので、プリンタ30が公開鍵を生成して印刷クライアント20に送信する位置を制限することができる。これにより、プリンタ30が正常に使用できる位置を、限定することができる。
As described above, according to the printing system according to the present embodiment, the position where the authorized person has registered the printer position information in the
また、正当な権限を有する操作者であれば、EEPROM45に格納されているプリンタ位置情報を変更することができるので、プリンタメーカ等の正当な理由でプリンタ30の設置場所を変更する場合でも、このプリンタ30を引き続き、使用することができる。すなわち、正当な権限を有する操作者が、プリンタ30の新たな設置場所で、再度、プリンタ30にプリンタ位置情報の登録を指示すれば、その場所のプリンタ位置情報がEEPROM45に格納され、再び公開鍵の生成を可能にすることができる。このため、プリンタ30を有効に活用することができるようになる。
In addition, since an operator having a legitimate authority can change the printer position information stored in the
なお本発明は上記実施形態に限定されずに種々に変形可能である。例えば、上述した第1実施形態においては、正当な権限を有する操作者であるかどうかを示す公開鍵生成認証情報をIDとパスワードの組み合わせで構成し、第2実施形態及び第3実施形態においては、正当な権限を有する操作者であるかどうかを示すプリンタ位置情報登録認証情報をIDとパスワードの組み合わせで構成したが、公開鍵生成認証情報及びプリンタ位置情報登録認証情報は、IDとパスワードの組み合わせに限るものではない。例えば、プリンタ30に、正当な権限を有する者の指紋を登録しておき、操作者の指紋を読み取って、指紋が一致した場合に、正当な権限を有する者であると判断するようにしてもよい。
The present invention is not limited to the above embodiment and can be variously modified. For example, in the first embodiment described above, public key generation authentication information indicating whether or not the operator has a legitimate authority is configured by a combination of an ID and a password. In the second embodiment and the third embodiment, The printer location information registration authentication information indicating whether or not the operator has a legitimate authority is configured by a combination of ID and password, but the public key generation authentication information and the printer location information registration authentication information are a combination of ID and password. It is not limited to. For example, a fingerprint of a person having a legitimate authority is registered in the
また、使用できる位置を制限するデータ受信装置としてプリンタを例示して説明したが、本発明はプリンタに限定されるものではない。さらに、データ送信装置も、印刷クライアントに限定されるものではない。 Further, although the printer has been described as an example of the data receiving device that restricts the usable position, the present invention is not limited to the printer. Further, the data transmission apparatus is not limited to the print client.
例えば、データ送受信システムにおけるデータ送信装置が画像撮影用のデジタルカメラであり、データ受信装置がデジタルカメラで撮影した画像データを蓄積するデータサーバであってもよい。この場合、デジタルカメラから送信されるデータはデータサーバから受信した公開鍵を用いて暗号化されており、このデータを受信したデータサーバでは、上述した手法により秘密鍵を生成し、このデータの復号を行うこととなる。そして、受信したデータの復号ができた場合には、そのデータを蓄積し、復号できなかった場合には、そのデータを蓄積しないこととなる。 For example, the data transmission device in the data transmission / reception system may be a digital camera for photographing an image, and the data reception device may be a data server that stores image data captured by the digital camera. In this case, data transmitted from the digital camera is encrypted using the public key received from the data server, and the data server receiving this data generates a secret key by the above-described method and decrypts this data. Will be performed. If the received data can be decrypted, the data is stored. If the received data cannot be decrypted, the data is not stored.
また、データ送受信システムにおけるデータ送信装置がパーソナルコンピュータであり、データ受信装置がそのパーソナルコンピュータから送信された画像データを投影するプロジェクタであってもよい。この場合、パーソナルコンピュータから送信されるデータはプロジェクタから受信した公開鍵を用いて暗号化されており、このデータを受信したプロジェクタでは、上述した手法により秘密鍵を生成し、このデータの復号を行うこととなる。そして、受信したデータの復号ができた場合には、そのデータを投影し、復号できなかった場合には、そのデータを投影しないこととなる。 Further, the data transmission device in the data transmission / reception system may be a personal computer, and the data reception device may be a projector that projects image data transmitted from the personal computer. In this case, data transmitted from the personal computer is encrypted using the public key received from the projector, and the projector that receives this data generates a secret key by the above-described method and decrypts this data. It will be. If the received data can be decoded, the data is projected. If the received data cannot be decoded, the data is not projected.
さらには、データ送受信システムにおけるデータ送信装置が音楽等のコンテンツサーバであり、データ受信装置がコンテンツサーバから送信された音楽等のコンテンツデータの再生装置であってもよい。この場合、コンテンツサーバから送信されるデータは再生装置から受信した公開鍵を用いて暗号化されており、このデータを受信した再生装置では、上述した手法により秘密鍵を生成し、このデータの復号を行うこととなる。そして、受信したデータの復号ができた場合には、そのデータを再生し、復号できなかった場合には、そのデータを再生しないこととなる。 Furthermore, the data transmission device in the data transmission / reception system may be a content server such as music, and the data reception device may be a playback device for content data such as music transmitted from the content server. In this case, the data transmitted from the content server is encrypted using the public key received from the playback device, and the playback device that has received this data generates a secret key by the above-described method and decrypts this data. Will be performed. If the received data can be decoded, the data is reproduced. If the received data cannot be decoded, the data is not reproduced.
また、上述した実施形態では、プリンタ30の印刷媒体が印刷用紙である場合を例に説明したが、印刷媒体はこれに限るものではなく、例えば、OHPシート等の他の印刷媒体であっても本発明を適用することができる。
In the above-described embodiment, the case where the print medium of the
さらに、上述の実施形態で説明した各処理については、これら各処理を実行するためのプログラムをフレキシブルディスク、CD−ROM(Compact Disc-Read Only Memory)、ROM、メモリカード等の記録媒体に記録して、記録媒体の形で頒布することが可能である。この場合、このプログラムが記録された記録媒体を印刷クライアント20及び/又はプリンタ30に読み込ませ、実行させることにより、上述した実施形態を実現することができる。
Further, for each process described in the above embodiment, a program for executing each process is recorded on a recording medium such as a flexible disk, a CD-ROM (Compact Disc-Read Only Memory), a ROM, or a memory card. Thus, it can be distributed in the form of a recording medium. In this case, the above-described embodiment can be realized by causing the
また、印刷クライアント20及び/又はプリンタ30は、オペレーティングシステムや別のアプリケーションプログラム等の他のプログラムを備える場合がある。この場合、印刷クライアント20及び/又はプリンタ30の備える他のプログラムを活用し、記録媒体には印刷クライアント20及び/又はプリンタ30が備えるプログラムの中から、上述した実施形態と同等の処理を実現するプログラムを呼び出すような命令を記録するようにしてもよい。
The
さらに、このようなプログラムは、記録媒体の形ではなく、ネットワークを通じて搬送波として頒布することも可能である。ネットワーク上を搬送波の形で伝送されたプログラムは、印刷クライアント20及び/又はプリンタ30に取り込まれて、このプログラムを実行することにより上述した実施形態を実現することができる。
Furthermore, such a program can be distributed not as a recording medium but as a carrier wave through a network. The program transmitted in the form of a carrier wave on the network is taken into the
また、記録媒体にプログラムを記録する際や、ネットワーク上を搬送波として伝送される際に、プログラムの暗号化や圧縮化がなされている場合がある。この場合には、これら記録媒体や搬送波からプログラムを読み込んだ印刷クライアント20及び/又はプリンタ30は、そのプログラムの復号や伸張を行った上で、実行する必要がある。
Also, when a program is recorded on a recording medium or transmitted as a carrier wave on a network, the program may be encrypted or compressed. In this case, the
10 ネットワーク
20 印刷クライアント
30 プリンタ
40 CPU
42 RAM
44 ROM
45 EEPROM
46 内部バス
48、50、56 インターフェース
52 印刷エンジン
54 位置検出部
58 ハードディスク
60 コンピュータ本体
62 ディスプレイ
64 CPU
66 RAM
68 ROM
70 内部バス
72、74、78 インターフェース
76 ハードディスク
10
42 RAM
44 ROM
45 EEPROM
46
66 RAM
68 ROM
70
Claims (8)
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段であって、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段で生成した公開鍵が格納される、公開鍵格納手段と、
印刷クライアントから公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求受信手段が前記公開鍵取得要求を受信した場合に、前記公開鍵格納手段に格納されている前記公開鍵を読み出して、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、
前記印刷クライアントから前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とするプリンタ。 Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When requested by a person with a legitimate authority, the printer position information is acquired from the printer position information acquisition unit, and this is used as the first printer position information, and a passphrase including at least the first printer position information is used. A public key generating means for generating a public key, wherein the secret key is discarded even when the secret key is generated when generating the public key; and
Public key storage means for storing the public key generated by the public key generation means;
A public key acquisition request receiving means for receiving a public key acquisition request from the print client;
When the public key acquisition request receiving unit receives the public key acquisition request, the public key stored in the public key storage unit is read and transmitted to the print client that has transmitted the public key acquisition request. Public key transmission means;
Print data receiving means for receiving print data encrypted with the public key from the print client ;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the print data is received, and using the printer position information as second printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the second printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printer comprising:
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、
印刷クライアントから公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求受信手段が前記公開鍵取得要求を受信した場合に、前記プリンタ位置情報格納手段から前記第1プリンタ位置情報を読み出して、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成するとともに、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段が生成した前記公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、
前記印刷クライアントから前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とするプリンタ。 Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When a person with a legitimate authority makes a request, the printer position information is acquired from the printer position information acquisition means, and this is used as the first printer position information. First printer position information acquisition storage means for storing;
A public key acquisition request receiving means for receiving a public key acquisition request from the print client;
When the public key acquisition request receiving means receives the public key acquisition request, the first printer position information is read from the printer position information storage means, and a pass phrase including at least the first printer position information is used. A public key generating means for generating a public key and discarding the secret key even when the secret key is generated when generating the public key;
Public key transmission means for transmitting the public key generated by the public key generation means to the print client that transmitted the public key acquisition request;
Print data receiving means for receiving print data encrypted with the public key from the print client ;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the print data is received, and using the printer position information as second printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the second printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printer comprising:
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、
印刷クライアントから、公開鍵の取得を要求する公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求を前記公開鍵取得要求受信手段が受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記プリンタ位置情報格納手段に格納されている第1プリンタ位置情報と、前記第2プリンタ位置情報取得手段で取得した第2プリンタ位置情報とを比較して、両者が一致する場合に、前記第1プリンタ位置情報又は前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成するとともに、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段で生成した公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、
前記印刷クライアントから前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第3プリンタ位置情報とする、第3プリンタ位置情報取得手段と、
前記第3プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とするプリンタ。 Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When a person with a legitimate authority makes a request, the printer position information is acquired from the printer position information acquisition means, and this is used as the first printer position information. First printer position information acquisition storage means for storing;
A public key acquisition request receiving means for receiving a public key acquisition request for acquiring a public key from a print client ;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the public key acquisition request receiving means receives the public key acquisition request, and using this as second printer position information When,
The first printer position information stored in the printer position information storage means is compared with the second printer position information acquired by the second printer position information acquisition means. A public key is generated using a passphrase including at least printer position information or the second printer position information , and this secret key is discarded even when a secret key is generated when generating the public key. , Public key generation means,
A public key transmission unit that transmits the public key generated by the public key generation unit to the print client that transmitted the public key acquisition request;
Print data receiving means for receiving print data encrypted with the public key from the print client;
A third printer position information acquisition unit that acquires printer position information from the printer position information acquisition unit when the print data is received, and uses the printer position information as third printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the third printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printer comprising:
認証情報が入力された場合に、入力された認証情報が登録されている認証情報と一致するかどうかを判断し、両者が一致した場合には、操作者が正当な権限を有する者であると判断する、認証判断手段と、
をさらに備えることを特徴とする請求項1乃至請求項3のいずれかに記載のプリンタ。 An authentication information requesting means for requesting authentication information from the operator;
When authentication information is input, it is determined whether or not the input authentication information matches the registered authentication information, and if both match, it is determined that the operator has a valid authority. Authentication judgment means for judging,
The printer according to any one of claims 1 to 3, further comprising a.
前記プリンタは、
当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成する、公開鍵生成手段であって、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段で生成した公開鍵が格納される、公開鍵格納手段と、
を備えており、
前記印刷クライアントは、公開鍵の取得を要求する公開鍵取得要求を前記プリンタに送信する、公開鍵取得要求送信手段を、備えており、
前記プリンタは、さらに、
前記印刷クライアントから、前記公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求受信手段が前記公開鍵取得要求を受信した場合に、前記公開鍵格納手段に格納されている前記公開鍵を読み出して、前記公開鍵取得要求を送信した印刷クライアントに、読み出した前記公開鍵を送信する、公開鍵送信手段と、
を備えており、
前記印刷クライアントは、さらに、
前記プリンタから送信された前記公開鍵を受信する、公開鍵受信手段と、
前記プリンタで印刷を行うための印刷データを生成する、印刷データ生成手段と、
前記公開鍵受信手段で受信した前記公開鍵で前記印刷データを暗号化し、この暗号化した印刷データを、前記プリンタに送信する、印刷データ送信手段と、
を備えており、
前記プリンタは、さらに、
前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とする印刷システム。 A printing system having a printer and a print client,
The printer is
Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When requested by a person with a legitimate authority, the printer position information is acquired from the printer position information acquisition unit, and this is used as the first printer position information, and a passphrase including at least the first printer position information is used. A public key generating means for generating a public key, wherein the secret key is discarded even when the secret key is generated when generating the public key; and
Public key storage means for storing the public key generated by the public key generation means;
With
The print client includes a public key acquisition request transmission unit that transmits a public key acquisition request for requesting acquisition of a public key to the printer.
The printer further includes:
Public key acquisition request receiving means for receiving the public key acquisition request from the print client;
When the public key acquisition request receiving unit receives the public key acquisition request, the public key stored in the public key storage unit is read and read to the print client that has transmitted the public key acquisition request Public key transmitting means for transmitting the public key;
With
The print client further includes:
Public key receiving means for receiving the public key transmitted from the printer;
Print data generation means for generating print data for printing by the printer;
Print data transmitting means for encrypting the print data with the public key received by the public key receiving means, and transmitting the encrypted print data to the printer;
With
The printer further includes:
Print data receiving means for receiving print data encrypted with the public key;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the print data is received, and using the printer position information as second printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the second printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printing system comprising:
前記プリンタは、
当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、
を備えており、
前記印刷クライアントは、公開鍵の取得を要求する公開鍵取得要求を前記プリンタに送信する、公開鍵取得要求送信手段を、備えており、
前記プリンタは、さらに、
前記印刷クライアントから、前記公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求受信手段が前記公開鍵取得要求を受信した場合に、前記プリンタ位置情報格納手段から前記第1プリンタ位置情報を読み出して、前記第1プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成するとともに、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段が生成した前記公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、
を備えており、
前記印刷クライアントは、さらに、
前記プリンタから送信された前記公開鍵を受信する、公開鍵受信手段と、
前記プリンタで印刷を行うための印刷データを生成する、印刷データ生成手段と、
前記公開鍵受信手段で受信した前記公開鍵で前記印刷データを暗号化し、この暗号化した印刷データを、前記プリンタに送信する、印刷データ送信手段と、
を備えており、
前記プリンタは、さらに、
前記公開鍵で暗号化された印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とする印刷システム。 A printing system having a printer and a print client,
The printer is
Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When a person with a legitimate authority makes a request, the printer position information is acquired from the printer position information acquisition means, and this is used as the first printer position information. First printer position information acquisition storage means for storing;
With
The print client includes a public key acquisition request transmission unit that transmits a public key acquisition request for requesting acquisition of a public key to the printer.
The printer further includes:
Public key acquisition request receiving means for receiving the public key acquisition request from the print client;
When the public key acquisition request receiving means receives the public key acquisition request, the first printer position information is read from the printer position information storage means, and a pass phrase including at least the first printer position information is used. A public key generating means for generating a public key and discarding the secret key even when the secret key is generated when generating the public key;
Public key transmission means for transmitting the public key generated by the public key generation means to the print client that transmitted the public key acquisition request;
With
The print client further includes:
Public key receiving means for receiving the public key transmitted from the printer;
Print data generation means for generating print data for printing by the printer;
Print data transmitting means for encrypting the print data with the public key received by the public key receiving means, and transmitting the encrypted print data to the printer;
With
The printer further includes:
Print data receiving means for receiving print data encrypted with the public key;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the print data is received, and using the printer position information as second printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the second printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printing system comprising:
前記プリンタは、
当該プリンタの設置されている場所を特定するためのプリンタ位置情報を取得する、プリンタ位置情報取得手段と、
正当な権限を有する者が要求した場合に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第1プリンタ位置情報とするとともに、前記第1プリンタ位置情報をプリンタ位置情報格納手段に格納する、第1プリンタ位置情報取得格納手段と、
とを備えており、
前記印刷クライアントは、
公開鍵の取得を要求する公開鍵取得要求を前記プリンタに送信する、公開鍵取得要求送信手段を、
備えており、
前記プリンタは、さらに、
前記公開鍵取得要求を受信する、公開鍵取得要求受信手段と、
前記公開鍵取得要求を前記公開鍵取得要求受信手段が受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第2プリンタ位置情報とする、第2プリンタ位置情報取得手段と、
前記プリンタ位置情報格納手段に格納されている第1プリンタ位置情報と、前記第2プリンタ位置情報取得手段で取得した第2プリンタ位置情報とを比較して、両者が一致する場合に、前記第1プリンタ位置情報又は前記第2プリンタ位置情報を少なくとも含むパスフレーズを用いて、公開鍵を生成するとともに、前記公開鍵を生成する際に、秘密鍵が生成された場合でも、この秘密鍵は破棄する、公開鍵生成手段と、
前記公開鍵生成手段で生成した公開鍵を、前記公開鍵取得要求を送信した印刷クライアントに送信する、公開鍵送信手段と、
を備えており、
前記印刷クライアントは、さらに、
前記プリンタから送信された前記公開鍵を受信する、公開鍵受信手段と、
前記プリンタで印刷を行うための印刷データを生成する、印刷データ生成手段と、
前記公開鍵受信手段で受信した前記公開鍵で前記印刷データを暗号化し、この暗号化した印刷データを、前記プリンタに送信する、印刷データ送信手段と、
を備えており、
前記プリンタは、さらに、
前記印刷データを受信する、印刷データ受信手段と、
前記印刷データを受信した際に、前記プリンタ位置情報取得手段からプリンタ位置情報を取得し、これを第3プリンタ位置情報とする、第3プリンタ位置情報取得手段と、
前記第3プリンタ位置情報を少なくとも含むパスフレーズを用いて、秘密鍵を生成する、秘密鍵生成手段と、
前記秘密鍵を用いて、前記印刷データ受信手段で受信した前記印刷データを復号する、復号手段と、
を備えることを特徴とする印刷システム。 A printing system having a printer and a print client,
The printer is
Printer position information acquisition means for acquiring printer position information for specifying the location where the printer is installed;
When a person with a legitimate authority makes a request, the printer position information is acquired from the printer position information acquisition means, and this is used as the first printer position information, and the first printer position information is stored in the printer position information storage means. First printer position information acquisition storage means for storing;
And
The print client
A public key acquisition request transmitting means for transmitting a public key acquisition request for requesting acquisition of a public key to the printer ;
With
The printer further includes:
Public key acquisition request receiving means for receiving the public key acquisition request;
Second printer position information acquisition means for acquiring printer position information from the printer position information acquisition means when the public key acquisition request receiving means receives the public key acquisition request, and using this as second printer position information When,
The first printer position information stored in the printer position information storage means is compared with the second printer position information acquired by the second printer position information acquisition means. A public key is generated using a passphrase including at least printer position information or the second printer position information , and this secret key is discarded even when a secret key is generated when generating the public key. , Public key generation means,
A public key transmission unit that transmits the public key generated by the public key generation unit to the print client that transmitted the public key acquisition request;
With
The print client further includes:
Public key receiving means for receiving the public key transmitted from the printer;
Print data generation means for generating print data for printing by the printer;
Print data transmitting means for encrypting the print data with the public key received by the public key receiving means, and transmitting the encrypted print data to the printer;
With
The printer further includes:
Print data receiving means for receiving the print data;
A third printer position information acquisition unit that acquires printer position information from the printer position information acquisition unit when the print data is received, and uses the printer position information as third printer position information;
A secret key generating means for generating a secret key using a passphrase including at least the third printer position information;
Decrypting means for decrypting the print data received by the print data receiving means using the secret key;
A printing system comprising:
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003300458A JP4337474B2 (en) | 2002-11-27 | 2003-08-25 | Printer and printing system |
US10/722,693 US6901863B2 (en) | 2002-11-27 | 2003-11-24 | Printer and print system for executing a proper print operation only in a place registered in advance |
US11/114,605 US20050200890A1 (en) | 2002-11-27 | 2005-04-25 | Printer and print system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002343873 | 2002-11-27 | ||
JP2003300458A JP4337474B2 (en) | 2002-11-27 | 2003-08-25 | Printer and printing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004188961A JP2004188961A (en) | 2004-07-08 |
JP4337474B2 true JP4337474B2 (en) | 2009-09-30 |
Family
ID=32774817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003300458A Expired - Fee Related JP4337474B2 (en) | 2002-11-27 | 2003-08-25 | Printer and printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4337474B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4798996B2 (en) * | 2004-12-28 | 2011-10-19 | シャープ株式会社 | Image forming system |
US7877815B2 (en) * | 2006-01-20 | 2011-01-25 | Kyocera Corporation | Battery authentication in a wireless communication device |
JP5637976B2 (en) * | 2010-12-07 | 2014-12-10 | 株式会社東芝 | Print system, printer, print instruction apparatus, and program used for print system |
-
2003
- 2003-08-25 JP JP2003300458A patent/JP4337474B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004188961A (en) | 2004-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4349281B2 (en) | Printer, server and printing system, and data receiving apparatus and data transmitting / receiving system | |
US7552324B2 (en) | Printer and print system, and data receiving device and data transmitting and receiving system | |
JP4026126B2 (en) | Server computer and printing system | |
US7506159B2 (en) | Printer and print system | |
US6901863B2 (en) | Printer and print system for executing a proper print operation only in a place registered in advance | |
US20050152543A1 (en) | Printer and print system | |
JP4006683B2 (en) | Printer, print client, and printing system | |
JP3979192B2 (en) | Printer, printing system, data receiving apparatus and data transmitting / receiving system | |
CN113868604A (en) | Software authorization method, system, apparatus, and computer-readable storage medium | |
JP4337474B2 (en) | Printer and printing system | |
JP4337473B2 (en) | Printer and printing system | |
JP4345056B2 (en) | Printer and printing system | |
JP4395832B2 (en) | Printer, print client and printing system | |
JP4370564B2 (en) | Printer, printing system, and encrypted data processing system based on position information | |
JP4269749B2 (en) | Printer and printing system | |
JP4168394B2 (en) | Printer and printing system | |
JP4923582B2 (en) | Device bound content delivery method, content storage device, and program | |
JP4400180B2 (en) | Printer and printing system | |
JP4232510B2 (en) | Printer and printing system | |
JP2004206618A (en) | Printing system and control method thereof | |
JP2004295528A (en) | Printer, printing system, and server | |
JP2004206620A (en) | Printing system and control method thereof | |
JP2008171487A (en) | Data input device, data output device, and data processing device | |
JP2006054744A (en) | Image forming system | |
JP2006243874A (en) | Image forming system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050617 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090327 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090519 |
|
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: 20090609 |
|
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: 20090622 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4337474 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120710 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120710 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130710 Year of fee payment: 4 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |