JP2003320658A - Ink cartridge judging apparatus - Google Patents

Ink cartridge judging apparatus

Info

Publication number
JP2003320658A
JP2003320658A JP2002131193A JP2002131193A JP2003320658A JP 2003320658 A JP2003320658 A JP 2003320658A JP 2002131193 A JP2002131193 A JP 2002131193A JP 2002131193 A JP2002131193 A JP 2002131193A JP 2003320658 A JP2003320658 A JP 2003320658A
Authority
JP
Japan
Prior art keywords
ink cartridge
information
ink
unit
secret key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002131193A
Other languages
Japanese (ja)
Inventor
Toyotaka Hagiwara
豊隆 萩原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002131193A priority Critical patent/JP2003320658A/en
Publication of JP2003320658A publication Critical patent/JP2003320658A/en
Pending legal-status Critical Current

Links

Landscapes

  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To appropriately make a decision whether an ink cartridge is a previously registered product or not. <P>SOLUTION: An encrypting section 124 encrypts the serial number ID of an ink cartridge 200 using a first private key Ka to generate a bit matrix BM. A logical operating section 126 calculates XOR of first extra information A1 and the bit matrix BM to obtain a random number RND. The encrypting section 124 encrypts the random number RND using a second private key Kb to create a digital signature SIG'. The logical operating section 126 calculates XOR of second extra information A2 and the bit matrix BM to obtain a digital signature SIG. A comparing section 128 compares the digital signature SIG thus obtained with the generated digital signature SIG' and makes a decision that a mounted ink cartridge 200 is a registered product if the digital signatures SIG and SIG' coincide with each other otherwise makes a decision that the mounted ink cartridge is not a registered product. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタに装着さ
れたインクカートリッジが、予め登録された製品である
か否かを判定するための技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for determining whether or not an ink cartridge mounted on a printer is a product registered in advance.

【0002】[0002]

【従来の技術】一般に、プリンタを駆動するためのプリ
ンタドライバは、そのプリンタを製造した製造業者もし
くはその関連業者(以下、プリンタ製造業者等という)
によって提供されており、そのプリンタ製造業者等が製
造したインクカートリッジを使用して、そのプリンタで
印刷を行った場合に、最も適切に印刷できるように設計
されている。
2. Description of the Related Art Generally, a printer driver for driving a printer is a manufacturer who manufactures the printer or a related company thereof (hereinafter referred to as a printer manufacturer).
The printer is designed so that the most appropriate printing can be performed when printing is performed by the printer using the ink cartridge manufactured by the printer manufacturer or the like.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、プリン
タ製造業者等以外の、いわゆるサードパーティが製造し
たインクカートリッジを使用して、そのプリンタで印刷
を行った場合、そのインクカートリッジに貯蔵されてい
るインクの特性が本来のものと異なる可能性があり、最
適な印刷をできない場合がある。
However, when printing is performed by the printer using an ink cartridge manufactured by a so-called third party other than the printer manufacturer, the ink stored in the ink cartridge is The characteristics may differ from the original ones, and optimum printing may not be possible.

【0004】そこで、インクカートリッジをプリンタに
装着した際に、そのインクカートリッジが、プリンタ製
造業者等によって予め登録されている製品であるかどう
かを適正に判定し、登録されている製品でない場合、ユ
ーザに何らかの通知が為されれば、ユーザの利便性も向
上する。
Therefore, when the ink cartridge is attached to the printer, it is properly determined whether or not the ink cartridge is a product registered in advance by a printer manufacturer or the like. If any notification is given to the user, the convenience for the user is also improved.

【0005】従って、本発明の目的は、上記した従来技
術の問題点を解決し、そのプリンタ用のインクカートリ
ッジとして予め登録されている製品であるかどうかを適
正に判定する技術を提供することにある。
Therefore, an object of the present invention is to provide a technique for solving the above-mentioned problems of the prior art and appropriately determining whether or not the product is a product registered in advance as an ink cartridge for the printer. is there.

【0006】[0006]

【課題を解決するための手段およびその作用・効果】上
記した目的の少なくとも一部を達成するために、本発明
のインクカートリッジ判定装置は、装着されたインクカ
ートリッジが登録された製品であるか否かを、前記イン
クカートリッジの記録部に記録されている情報に基づい
て判定するためのインクカートリッジ判定装置であっ
て、第1及び第2秘密キーを格納する秘密キー格納部
と、前記記録部に記録されている情報のうち、少なくと
も、前記インクカートリッジの識別符号と、第1及び第
2付加情報と、を読み出す読み出し部と、読み出された
前記識別符号を前記秘密キー格納部に格納されている第
1秘密キーで暗号化し、第1暗号化情報を生成する第1
の暗号化部と、読み出された前記第1付加情報と生成さ
れた前記第1暗号化情報との排他的論理和を算出して第
1論理演算値を取得する第1の論理演算部と、読み出さ
れた前記第2付加情報と生成された前記第1暗号化情報
との排他的論理和を算出して第2論理演算値を取得する
第2の論理演算部と、取得された前記第1論理演算値を
前記秘密キー格納部に格納されている第2秘密キーで暗
号化し、第2暗号化情報を生成する第2の暗号化部と、
取得された前記第2論理演算値と生成された第2暗号化
情報とを比較し、その比較結果に基づいて、前記インク
カートリッジが登録された製品であるか否かを判定する
比較判定部と、を備えることを要旨とする。
In order to achieve at least a part of the above-mentioned object, the ink cartridge determination device of the present invention determines whether the mounted ink cartridge is a registered product. An ink cartridge determination device for determining whether or not it is based on information recorded in a recording unit of the ink cartridge, wherein a secret key storage unit for storing first and second secret keys and a recording unit Of the recorded information, at least a reading section for reading the identification code of the ink cartridge and the first and second additional information, and the read identification code are stored in the secret key storage section. The first secret key that is used to generate the first encrypted information
An encryption unit, and a first logical operation unit that obtains a first logical operation value by calculating an exclusive OR of the read first additional information and the generated first encrypted information. A second logical operation unit that calculates an exclusive logical sum of the read second additional information and the generated first encrypted information to obtain a second logical operation value; A second encryption unit for encrypting the first logical operation value with the second secret key stored in the secret key storage unit to generate second encrypted information;
A comparison determination unit that compares the acquired second logical operation value with the generated second encrypted information and determines whether the ink cartridge is a registered product based on the comparison result. It is a gist to have ,.

【0007】本発明のインクカートリッジ判定装置にお
いては、インクカートリッジの記録部に記録されている
第1付加情報が、例えば、インクカートリッジの識別情
報を第1秘密キーで暗号化して生成される第1暗号化情
報と、乱数と、の排他的論理和を算出して取得されたも
のであり、第2付加情報が、上記の乱数を第2秘密キー
で暗号化して生成される第2暗号化情報と、上記の第1
暗号化情報と、の排他的論理和を算出して取得されたも
のである場合には、第1の論理演算部によって取得され
る第1論理演算値は上記の乱数となるので、第2の暗号
化部において、その乱数を第2秘密キーで暗号化して生
成される情報は、まさに第2暗号化情報となる。一方、
第2の論理演算部において、第2付加情報と第1暗号化
情報との排他的論理和を算出して取得される第2論理演
算値も、第2暗号化情報となる。
In the ink cartridge determination device of the present invention, the first additional information recorded in the recording portion of the ink cartridge is generated by, for example, encrypting the identification information of the ink cartridge with the first secret key. The second additional information is obtained by calculating the exclusive OR of the encryption information and the random number, and the second additional information is generated by encrypting the random number with the second secret key. And the first above
If it is obtained by calculating the exclusive OR of the encrypted information and the encrypted information, the first logical operation value obtained by the first logical operation unit is the above-mentioned random number. The information generated by encrypting the random number with the second secret key in the encryption unit is exactly the second encrypted information. on the other hand,
The second logical operation value obtained by calculating the exclusive OR of the second additional information and the first encrypted information in the second logical operation unit also becomes the second encrypted information.

【0008】従って、インクカートリッジの記録部に記
録されている第1及び第2付加情報が上記のような情報
であれば、第2の論理演算部で取得される第2論理演算
値と第2の暗号化部で生成される第2暗号化情報とは一
致するので、比較判定部は、装着されているインクカー
トリッジを登録された製品であると判定する。しかし、
上記のような情報でない場合には、登録された製品では
ないと判定することになる。
Therefore, if the first and second additional information recorded in the recording unit of the ink cartridge is the above-mentioned information, the second logical operation value and the second logical operation value acquired by the second logical operation unit are obtained. Since the second encryption information matches the second encryption information generated by the encryption unit, the comparison determination unit determines that the mounted ink cartridge is a registered product. But,
If the information is not the above information, it is determined that the product is not a registered product.

【0009】よって、本発明のインクカートリッジ判定
装置によれば、インクカートリッジの記録部に記録され
ている情報に基づいて、そのインクカートリッジが登録
された製品であるか否かを適正に判定することができ
る。
Therefore, according to the ink cartridge determination apparatus of the present invention, it is possible to properly determine whether or not the ink cartridge is a registered product based on the information recorded in the recording section of the ink cartridge. You can

【0010】本発明のインクカートリッジ判定装置にお
いて、前記秘密キー格納部は、前記第1及び第2秘密キ
ーを、インクカートリッジの製造時期に対応してそれぞ
れ複数格納し、前記読み出し部は、前記記録部に記録さ
れている情報のうち、さらに、前記インクカートリッジ
の製造時期の情報を読み出すと共に、さらに、読み出さ
れた前記製造時期の情報に基づいて、前記秘密キー格納
部から、その製造時期に対応する第1及び第2秘密キー
を検索する検索部を備えることが好ましい。
In the ink cartridge determination apparatus of the present invention, the secret key storage section stores a plurality of the first and second secret keys corresponding to the manufacturing time of the ink cartridge, and the reading section stores the recording. Further, information of the manufacturing time of the ink cartridge is read out from the information recorded in the section, and further, based on the read information of the manufacturing time, the secret key storage section is used to detect the manufacturing time. It is preferable to include a search unit for searching the corresponding first and second secret keys.

【0011】このように、インクカートリッジの製造時
期に対応して第1及び第2秘密キーを複数用意すること
により、これらの秘密キーが不正に利用されにくくな
る。
As described above, by preparing a plurality of first and second secret keys corresponding to the manufacturing time of the ink cartridge, it becomes difficult to illegally use these secret keys.

【0012】本発明のインクカートリッジ判定装置にお
いて、前記読み出し部は、前記記録部に記録されている
情報のうち、さらに、前記インクカートリッジのインク
残量の情報を読み出すと共に、過去に装着されたインク
カートリッジの識別符号と、そのインクカートリッジの
インク残量と、を対応して格納するインクカートリッジ
情報格納部と、読み出された前記識別符号が、過去に装
着されたインクカートリッジの識別符号として、前記イ
ンクカートリッジ情報格納部に格納されている場合に、
該インクカートリッジ情報格納部から、対応するインク
残量を導き出すインク残量導出部と、をさらに備え、前
記比較判定部は、前記インク残量導出部によって導き出
された前記イン残量と、前記読み出し部によって読み出
された前記インク残量と、を比較して、その比較結果に
基づいて、前記インクカートリッジが登録された製品で
あるか否かを判定することが好ましい。
In the ink cartridge determination device of the present invention, the reading section further reads information on the ink remaining amount of the ink cartridge among the information recorded in the recording section, and the ink mounted in the past. An ink cartridge information storage unit that stores the identification code of the cartridge and the ink remaining amount of the ink cartridge in association with each other, and the read identification code is the identification code of the ink cartridge installed in the past. If it is stored in the ink cartridge information storage,
An ink remaining amount derivation unit that derives a corresponding ink remaining amount from the ink cartridge information storage unit, wherein the comparison determination unit includes the in-remaining amount derived by the ink remaining amount derivation unit and the read-out. It is preferable to compare the remaining ink amount read by the unit and determine whether or not the ink cartridge is a registered product based on the comparison result.

【0013】装着されているインクカートリッジが、使
用済みのものにインクを不正に補充したようなインクカ
ートリッジであって、記録部に記録されているインク残
量が書き換えられていたとしても、このようにインク残
量を比較することにより、不正なインクカートリッジで
あると判断するこができ、登録されている製品ではない
と判定することができる。
Even if the installed ink cartridge is an ink cartridge in which used ink is illegally replenished and the ink remaining amount recorded in the recording section is rewritten, By comparing the remaining ink amounts with each other, it can be determined that the ink cartridge is an unauthorized one, and it can be determined that the product is not a registered product.

【0014】本発明のインクカートリッジは、プリンタ
に装着されるインクカートリッジであって、登録された
製品であることを示す識別情報を記録する記録部を有す
ると共に、前記識別情報は、前記インクカートリッジの
識別符号と、該識別情報を第1秘密キーで暗号化して生
成される第1暗号化情報と、乱数と、の排他的論理和を
算出して取得される第1付加情報と、前記乱数を第2秘
密キーで暗号化して生成される第2暗号化情報と、生成
された前記第1暗号化情報と、の排他的論理和を算出し
て取得される第2付加情報と、を含むことを要旨とす
る。
The ink cartridge of the present invention is an ink cartridge to be installed in a printer, and has a recording section for recording identification information indicating that it is a registered product, and the identification information is the same as that of the ink cartridge. The identification code, the first encryption information generated by encrypting the identification information with the first secret key, and the first additional information obtained by calculating the exclusive OR of the random number and the random number. And second additional information obtained by calculating an exclusive OR of the second encrypted information generated by encryption with the second secret key and the generated first encrypted information. Is the gist.

【0015】インクカートリッジの記録部に、識別情報
として、上記のような情報を記録しておくことにより、
インクカートリッジ判定装置において、登録された製品
であると判定させることができる。
By recording the above information as identification information in the recording portion of the ink cartridge,
The ink cartridge determination device can determine that the product is a registered product.

【0016】本発明のインクカートリッジにおいて、前
記識別情報は、さらに、前記インクカートリッジの製造
時期の情報を含むことが好ましい。
In the ink cartridge of the present invention, it is preferable that the identification information further includes information on a manufacturing time of the ink cartridge.

【0017】このように、製造時期の情報を含ませるこ
とにより、例えば、インクカートリッジ判定装置におい
て、第1及び第2秘密キーを、製造時期に対応させて複
数用意している場合には、製造時期の情報に基づいて、
その製造時期に対応する第1及び第2秘密キーを検索さ
せることができる。
By including the manufacturing time information in this manner, for example, when a plurality of first and second secret keys are prepared corresponding to the manufacturing time in the ink cartridge determination device, the manufacturing time is reduced. Based on the timing information,
It is possible to retrieve the first and second secret keys corresponding to the manufacturing time.

【0018】なお、本発明は、上記したインクカートリ
ッジ判定装置やインクカートリッジなどの装置発明の態
様に限ることなく、インクカートリッジ判定方法などの
方法発明としての態様で実現することも可能である。
The present invention is not limited to the above-described aspects of the device invention such as the ink cartridge determination device and the ink cartridge, but may be implemented as a method invention such as an ink cartridge determination method.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を実施
例に基づいて以下の順序で説明する。 A.第1の実施例: A−1.第1の実施例の構成: A−2.インクカートリッジ判定処理: B.第2の実施例: B−1.第2の実施例の構成: B−2.インクカートリッジ判定処理: C.変形例:
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below in the following order based on Examples. A. First Example: A-1. Configuration of First Embodiment: A-2. Ink cartridge determination process: B. Second Example: B-1. Configuration of Second Embodiment: B-2. Ink cartridge determination process: C.I. Modification:

【0020】A.第1の実施例: A−1.第1の実施例の構成: 図1は本発明の第1の実施例としてのインクカートリッ
ジ判定装置を備えたプリンタ100を示すブロック図で
ある。
A. First Example: A-1. Configuration of First Embodiment: FIG. 1 is a block diagram showing a printer 100 including an ink cartridge determination device according to a first embodiment of the present invention.

【0021】図1に示すプリンタ100は、プログラム
に従って印刷の制御を行うためのCPU110と、その
プログラムを記憶するためのメモリ120と、各種周辺
構成要素との間でデータなどのやり取りを行うためのI
/O部130と、ユーザからの指示などを入力するため
の操作パネル140と、ユーザに状態や通知を伝えるた
めの表示パネル150と、インクカートリッジ判定用の
秘密キー情報162を格納するための秘密キー格納部1
60と、インクカートリッジ200が装着される装着部
170と、インクカートリッジ200の備えるIC20
2から情報を読み取るためのIC情報アクセス部180
と、を備えている。その他、プリンタ100は、図示し
ていないが、印刷用紙に対して、インクカートリッジ2
00の装着された装着部170を相対的に移動させた
り、印刷用紙を搬送したりするための機構部を備えてい
る。
The printer 100 shown in FIG. 1 exchanges data and the like between a CPU 110 for controlling printing according to a program, a memory 120 for storing the program, and various peripheral components. I
/ O section 130, operation panel 140 for inputting instructions from the user, display panel 150 for notifying the user of the status and notification, and secret for storing secret key information 162 for ink cartridge determination. Key storage 1
60, a mounting portion 170 to which the ink cartridge 200 is mounted, and an IC 20 provided in the ink cartridge 200
2 IC information access unit 180 for reading information
And are equipped with. In addition, although not shown, the printer 100 uses the ink cartridge 2 for printing paper.
It is provided with a mechanism section for relatively moving the mounting section 170 mounted with No. 00 and for conveying the printing paper.

【0022】このうち、CPU110は、メモリ120
に記憶された上記プログラムを読み出して実行すること
により、検索部122、暗号化部124、論理演算部1
26、及び比較判定部128として機能する。本実施例
のインクカートリッジ判定装置は、CPU110が機能
するこれら検索部122、暗号化部124、論理演算部
126、及び比較判定部128と、IC情報アクセス部
180と、で主として構成される。
Of these, the CPU 110 has a memory 120.
By reading and executing the above-mentioned program stored in the search unit 122, the encryption unit 124, the logical operation unit 1
26 and the comparison determination unit 128. The ink cartridge determination apparatus according to the present exemplary embodiment is mainly configured by the search unit 122, the encryption unit 124, the logical operation unit 126, the comparison determination unit 128, and the IC information access unit 180, which function as the CPU 110.

【0023】一方、インクカートリッジ200は、プリ
ンタ製造業者等によって製造された製品であって、少な
くともIC202を備えており、そのIC202には、
プリンタ製造業者等において登録されている製品である
ことを示す識別情報204が記録されている。
On the other hand, the ink cartridge 200 is a product manufactured by a printer manufacturer or the like and has at least an IC 202, and the IC 202 has
Identification information 204 indicating that the product is registered by the printer manufacturer or the like is recorded.

【0024】図2はインクカートリッジ200のIC2
02に記録されている識別情報204と、その識別情報
204の生成の仕方を示す説明図である。
FIG. 2 shows the IC2 of the ink cartridge 200.
2 is an explanatory diagram showing identification information 204 recorded in 02 and a method of generating the identification information 204. FIG.

【0025】プリンタ製造業者等において、インクカー
トリッジ200を製造する際、登録されている製品であ
ることを示すために、IC202に識別情報204とし
て、図2に示すように、インクカートリッジ200の製
造年月日Dateと、インクカートリッジ200の製造
番号IDと、第1付加情報A1と、第2付加情報A2
と、をそれぞれ記録する。
When a printer manufacturer or the like manufactures the ink cartridge 200, as the identification information 204 in the IC 202, as shown in FIG. Date Date, serial number ID of ink cartridge 200, first additional information A1, second additional information A2
And, respectively.

【0026】これらの情報は、プリンタ製造業者等にお
いて、次のようにして生成される。すなわち、図2に示
すように、まず、そのインクカートリッジ200の製造
年月日Dateと製造番号IDの他、第1秘密キーKa
と第2秘密キーKbと乱数RNDを用意する。このう
ち、第1秘密キーKaとしては、同じ製造月の製品であ
れば、それぞれ同じ値を用意する。そして、その値は製
造月毎に切り換えられる。第2秘密キーKbについて
も、同様である。また、製造番号IDや乱数RNDにつ
いては、各製品毎に異なる値を用意する。なお、第1秘
密キーKaと第2秘密キーKbとは同じ値であってもよ
い。
These pieces of information are generated by a printer manufacturer or the like as follows. That is, as shown in FIG. 2, first, in addition to the manufacturing date Date, the manufacturing number ID, and the first secret key Ka of the ink cartridge 200.
A second secret key Kb and a random number RND are prepared. Among them, as the first secret key Ka, the same value is prepared for the products manufactured in the same manufacturing month. Then, the value is switched every manufacturing month. The same applies to the second secret key Kb. Further, with respect to the manufacturing number ID and the random number RND, different values are prepared for each product. The first secret key Ka and the second secret key Kb may have the same value.

【0027】次に、製造番号IDを第1秘密キーKaで
暗号化してビットマスクBMを生成し、そのビットマス
クBMと乱数RNDとの排他的論理和(XOR)を算出
して、第1付加情報A1を得る。一方、乱数RNDを第
2秘密キーKbで暗号化して電子署名SIGを生成し、
その電子署名SIGとビットマスクBMとのXORを算
出して、第2付加情報A2を得る。なお、第1秘密キー
Kaを用いた暗号化と第2秘密キーKbを用いた暗号化
とで、使用する暗号化アルゴリズムを同じにしてもよい
が、コスト上、許容できるのであれば、別のアルゴリズ
ムを使用した方がよい。
Next, the serial number ID is encrypted with the first secret key Ka to generate the bit mask BM, and the exclusive OR (XOR) of the bit mask BM and the random number RND is calculated to make the first addition. Obtain information A1. On the other hand, the random number RND is encrypted with the second secret key Kb to generate the electronic signature SIG,
The XOR of the electronic signature SIG and the bit mask BM is calculated to obtain the second additional information A2. Note that the encryption algorithm used may be the same for the encryption using the first secret key Ka and the encryption using the second secret key Kb, but if the cost is acceptable, another encryption algorithm is used. It is better to use an algorithm.

【0028】このようにして得られた情報が、識別情報
204としてIC202に記録されている。
The information thus obtained is recorded in the IC 202 as the identification information 204.

【0029】また、図1に示すように、インクカートリ
ッジ200の外面には、外部との情報のやりとりを行う
ための、電気接続用の接点206が設けられている。こ
れに対し、プリンタ100の装着部170の装着面に
も、同様の接点172が設けられている。従って、イン
クカートリッジ200をプリンタ100の装着部170
に装着させることにより、インクカートリッジ200の
接点206が、装着部170の接点172に接合して、
インクカートリッジ200のIC202とプリンタ10
0のIC情報アクセス部180とが電気的に接続される
ことになる。
Further, as shown in FIG. 1, on the outer surface of the ink cartridge 200, a contact 206 for electrical connection is provided for exchanging information with the outside. On the other hand, a similar contact 172 is also provided on the mounting surface of the mounting portion 170 of the printer 100. Therefore, the ink cartridge 200 is installed in the mounting portion 170 of the printer 100.
The contact 206 of the ink cartridge 200 is joined to the contact 172 of the mounting portion 170 by mounting
IC 202 of ink cartridge 200 and printer 10
The IC information access unit 180 of No. 0 is electrically connected.

【0030】一方、プリンタ100の秘密キー格納部1
60には、インクカートリッジ判定用の秘密キー情報1
62として、図3に示すように、インクカートリッジを
製造する際に用意される第1秘密キーKaと第2秘密キ
ーKbとが格納されている。
On the other hand, the private key storage unit 1 of the printer 100
In 60, secret key information 1 for ink cartridge determination
As shown in FIG. 3, as 62, a first secret key Ka and a second secret key Kb prepared when manufacturing the ink cartridge are stored.

【0031】図3はプリンタ100の秘密キー格納部1
60に格納されている秘密キー情報162の一例を示す
説明図である。前述したとおり、第1秘密キーKaと第
2秘密キーKbは、それぞれ、製造年月毎に、異なる値
が用意されるため、秘密キー情報162としては、図3
に示すように、製造年月毎に分けて、第1秘密キーKa
と第2秘密キーKbが格納されている。
FIG. 3 shows the private key storage unit 1 of the printer 100.
6 is an explanatory diagram showing an example of secret key information 162 stored in 60. FIG. As described above, since different values are prepared for the first secret key Ka and the second secret key Kb for each manufacturing year, the secret key information 162 is as shown in FIG.
As shown in, the first secret key Ka is divided by manufacturing year and month.
And the second secret key Kb are stored.

【0032】なお、図1において、暗号化部124は、
本発明における第1及び第2の暗号化部に、論理演算部
126は、第1及び第2の論理演算部に、比較判定部1
28は、比較判定部に、検索部122は、検索部に、I
C情報アクセス部180は、読み出し部に、IC202
は、記録部に、それぞれ対応する。
Incidentally, in FIG. 1, the encryption unit 124 is
In the first and second encryption units of the present invention, the logical operation unit 126 is included in the first and second logical operation units, and the comparison determination unit 1 is included.
28 is a comparison determination unit, and the search unit 122 is a search unit.
The C information access unit 180 uses the reading unit as the IC 202.
Corresponds to the recording unit, respectively.

【0033】A−2.インクカートリッジ判定処理:そ
れでは、本実施例のプリンタ100におけるインクカー
トリッジ判定処理について、詳細に説明する。図4は図
1のプリンタ100におけるインクカートリッジ判定処
理の手順を示すフローチャートであり、図5は同じくイ
ンクカートリッジ判定処理を機能ブロックを用いて示し
たブロック図である。
A-2. Ink Cartridge Determination Process: Now, the ink cartridge determination process in the printer 100 of the present embodiment will be described in detail. FIG. 4 is a flowchart showing the procedure of the ink cartridge determination process in the printer 100 of FIG. 1, and FIG. 5 is a block diagram showing the ink cartridge determination process using functional blocks.

【0034】かかるインクカートリッジ判定処理は、プ
リンタ100を起動した際、または、プリンタ100の
稼働中にインクカートリッジ200を装着した際に、実
行される。
The ink cartridge determination process is executed when the printer 100 is started up or when the ink cartridge 200 is mounted while the printer 100 is operating.

【0035】このインクカートリッジ判定処理が開始さ
れると、まず、プリンタ100のIC情報アクセス部1
80がインクカートリッジ200のIC202にアクセ
スし、識別情報204のうち、製造年月日Dateを読
み出し、検索部122に与える(ステップS102)。
検索部122は、秘密キー格納部160にアクセスし、
その製造年月日Dateに基づいて、秘密キー情報16
2のうち、その製造年月に対応する第1秘密キーKaと
第2秘密キーKbを検索する(ステップS104)。例
えば、製造年月日Dateが2002年1月25日であ
るならば、図3に示すように、2002年1月に対応す
る第1秘密キーKa0201と第2秘密キーKb0201を検索
する。
When the ink cartridge determination process is started, first, the IC information access unit 1 of the printer 100 is started.
80 accesses the IC 202 of the ink cartridge 200, reads the manufacturing date Date from the identification information 204, and gives it to the search unit 122 (step S102).
The search unit 122 accesses the secret key storage unit 160,
Secret key information 16 based on the manufacturing date Date
Of the two, the first secret key Ka and the second secret key Kb corresponding to the manufacturing date are searched (step S104). For example, if the manufacturing date Date is January 25, 2002, the first secret key Ka0201 and the second secret key Kb0201 corresponding to January 2002 are searched as shown in FIG.

【0036】次に、IC情報アクセス部180がIC2
02から製造番号IDを読み出して、暗号化部124に
与える(ステップS106)。暗号化部124は、その
製造番号IDを、検索により得られた第1秘密キーKa
で暗号化して、ビットマスクBMを生成する(ステップ
S108)。
Next, the IC information access unit 180 makes the IC2
The production number ID is read from 02 and given to the encryption unit 124 (step S106). The encryption unit 124 uses the manufacturing number ID as the first secret key Ka obtained by the search.
And the bit mask BM is generated (step S108).

【0037】次に、IC情報アクセス部180がIC2
02から第1付加情報A1を読み出して、論理演算部1
26に与える(ステップS110)。論理演算部126
は、第1付加情報A1と、生成したビットマスクBMと
の排他的論理和(XOR)を算出して、乱数RNDを取
得する(ステップS112)。第1付加情報A1は、前
述したとおり、ビットマスクBMと乱数RNDとのXO
Rを採って得られたものであるので、その第1付加情報
A1とビットマスクBMとのXORを採ることによっ
て、元の乱数RNDを得ることができる。
Next, the IC information access unit 180 makes the IC2
02 to read the first additional information A1 to obtain the logical operation unit 1
26 (step S110). Logical operation unit 126
Calculates the exclusive OR (XOR) of the first additional information A1 and the generated bit mask BM to acquire the random number RND (step S112). As described above, the first additional information A1 is the XO of the bit mask BM and the random number RND.
Since it is obtained by taking R, the original random number RND can be obtained by taking the XOR of the first additional information A1 and the bit mask BM.

【0038】次に、暗号化部124が、取得した乱数R
NDを、検索により得られた第2秘密キーKbで暗号化
して、電子署名SIG’を生成する(ステップS11
4)。
Next, the encryption unit 124 uses the acquired random number R
The ND is encrypted with the second secret key Kb obtained by the search to generate the electronic signature SIG '(step S11).
4).

【0039】続いて、IC情報アクセス部180がIC
202から第2付加情報A2を読み出して、論理演算部
126に与える(ステップS116)。論理演算部12
6は、第2付加情報A2と、先に生成したビットマスク
BMとのXORを算出して、電子署名SIGを取得する
(ステップS118)。A1の場合と同様に、第2付加
情報A2も、前述したとおり、電子署名SIGとビット
マスクBMとのXORを採って得られたものであるの
で、その第2付加情報A2とビットマスクBMとのXO
Rを採ることにより、元の電子署名SIGを得ることが
できる。
Then, the IC information access unit 180 makes the IC
The second additional information A2 is read from 202 and given to the logical operation unit 126 (step S116). Logical operation unit 12
6 calculates the XOR of the second additional information A2 and the previously generated bit mask BM to obtain the electronic signature SIG (step S118). As in the case of A1, the second additional information A2 is also obtained by taking the XOR of the electronic signature SIG and the bit mask BM, as described above, and thus the second additional information A2 and the bit mask BM are obtained. XO
By taking R, the original electronic signature SIG can be obtained.

【0040】比較判定部128は、取得した電子署名S
IGと生成した電子署名SIG’とを比較する(ステッ
プS120)。装着されているインクカートリッジ20
0が、登録されている製品であれば、IC202に、識
別情報204として、正規の製造年月日Date、製造
番号ID、第1付加情報A1、及び第2付加情報A2が
記録されているはずであるので、それらに基づいて得ら
れた電子署名SIGとSIG’は一致するはずである。
しかしながら、装着されているインクカートリッジ20
0が登録されていない製品であれば、IC202に記録
されている識別情報204はでたらめであるので、それ
らに基づいて得られる電子署名SIGとSIG’は決し
て一致しない。従って、比較判定部128は、電子署名
SIGとSIG’が一致した場合には、装着されている
インクカートリッジ200は登録されている製品である
と判定し、一致しない場合には、登録されている製品で
はないと判定する。
The comparison / determination unit 128 uses the acquired digital signature S.
The IG is compared with the generated digital signature SIG '(step S120). Ink cartridge 20 installed
If 0 is the registered product, the official manufacturing date Date, the serial number ID, the first additional information A1, and the second additional information A2 should be recorded in the IC 202 as the identification information 204. Therefore, the electronic signatures SIG and SIG ′ obtained based on them should match.
However, the installed ink cartridge 20
If 0 is not a registered product, the identification information 204 recorded in the IC 202 is random, so the electronic signatures SIG and SIG ′ obtained based on them are never the same. Therefore, the comparison determination unit 128 determines that the mounted ink cartridge 200 is a registered product when the electronic signatures SIG and SIG ′ match, and when they do not match, the registration is registered. Judge that it is not a product.

【0041】こうして判定結果が出されたら、図4に示
すインクカートリッジ判定処理は終了する。
When the determination result is obtained in this way, the ink cartridge determination process shown in FIG. 4 ends.

【0042】その後、CPU110は、得られた判定結
果に基づいて、装着されているインクカートリッジ20
0が登録されている製品でない場合には、例えば、表示
パネル150に、「装着されているインクカートリッジ
は登録されている製品でないため、最適な印刷ができな
い可能性があります。」と表示して、ユーザに注意を喚
起するようにする。あるいは、表示パネル150に、
「装着されているインクカートリッジでは印刷ができな
いため、他のインクカートリッジに交換してくださ
い。」と表示して、ユーザにインクカートリッジの交換
を促したりしてもよい。このように構成することによ
り、プリンタ100を使用するユーザの利便性を向上さ
せることができる。
After that, the CPU 110, based on the obtained judgment result, mounts the ink cartridge 20 mounted therein.
If 0 is not a registered product, for example, the display panel 150 will display "The installed ink cartridge is not a registered product, so optimal printing may not be possible." , Get the user's attention. Alternatively, on the display panel 150,
It is also possible to display a message "Please replace with another ink cartridge because printing is not possible with the installed ink cartridge." And prompt the user to replace the ink cartridge. With this configuration, the convenience of the user who uses the printer 100 can be improved.

【0043】また、本実施例では、インクカートリッジ
200においては、いかなる処理も行われず、単に、I
C202に記録されている情報が読み出されるだけであ
るので、インクカートリッジ200の構成を簡素化する
ことができる。
Further, in this embodiment, the ink cartridge 200 is not subjected to any processing, and is simply I
Since only the information recorded in C202 is read out, the configuration of the ink cartridge 200 can be simplified.

【0044】また、本実施例では、インクカートリッジ
200のIC202から不正に識別情報204が読み出
され解析されたとしても、ビットマスクBMや電子署名
SIGを推測することは不可能である。すなわち、第1
付加情報A1はBM XORRNDであり、第2付加情
報A2はBM XOR SIGであり、例えば、この両
者のXORを算出したとしても、下式(1)のようにな
るだけであり、推測することはできない。
Further, in this embodiment, even if the identification information 204 is illegally read and analyzed from the IC 202 of the ink cartridge 200, it is impossible to guess the bit mask BM and the electronic signature SIG. That is, the first
The additional information A1 is BM XORRND, and the second additional information A2 is BM XOR SIG. For example, even if the XOR of both of them is calculated, the following expression (1) is obtained, and it can be estimated. Can not.

【0045】 A1 XOR A2 =(BM XOR RND)XOR(BM XOR SIG) =RND XOR SIG …(1)[0045] A1 XOR A2   = (BM XOR RND) XOR (BM XOR SIG)   = RND XOR SIG (1)

【0046】また、本実施例では、第1及び第2秘密キ
ーKa,Kbは、製造年月毎に、異なる値を設定してい
るため、これらの値が不正に利用されにくい。
Further, in the present embodiment, the first and second secret keys Ka and Kb are set to different values for each manufacturing year and month, so these values are unlikely to be illegally used.

【0047】B.第2の実施例: B−1.第2の実施例の構成:図6は本発明の第2の実
施例としてのインクカートリッジ判定装置を備えたプリ
ンタ100を示すブロック図である。本実施例の構成
が、第1の実施例と異なる点は、インクカートリッジ2
00のIC202に、識別情報204の他に、インク残
量情報208が記録されている点と、IC情報アクセス
部180がIC202に対し書き込み可能になった点
と、プリンタ100が新たにインクカートリッジ情報格
納部190を備えた点である。
B. Second Example: B-1. Configuration of Second Embodiment: FIG. 6 is a block diagram showing a printer 100 equipped with an ink cartridge determination device according to a second embodiment of the present invention. The configuration of this embodiment is different from that of the first embodiment in that the ink cartridge 2
In addition to the identification information 204, the remaining ink amount information 208 is recorded on the IC 202 of 00, the IC information access unit 180 can write to the IC 202, and the printer 100 newly adds ink cartridge information. The point is that the storage unit 190 is provided.

【0048】このうち、インク残量情報208として
は、そのインクカートリッジ200内に蓄えられている
インクの残量R’が記録されている。
Among these, as the remaining ink amount information 208, the remaining amount R ′ of the ink stored in the ink cartridge 200 is recorded.

【0049】一方、インクカートリッジ情報格納部19
0には、インク残量履歴情報192と使用禁止カートリ
ッジ情報194とが格納されている。
On the other hand, the ink cartridge information storage section 19
The ink remaining amount history information 192 and the prohibited cartridge information 194 are stored in 0.

【0050】インク残量履歴情報192としては、プリ
ンタ100に過去に装着されたインクカートリッジのイ
ンク残量がそれぞれ格納されている。
As the ink remaining amount history information 192, the ink remaining amounts of the ink cartridges installed in the printer 100 in the past are stored.

【0051】プリンタ100の稼働中、CPU110
は、インクカートリッジ200が吐出するインク滴の吐
出回数をカウントし、その吐出回数からインク残量を算
出する。そして、その算出したインク残量を、IC情報
アクセス部180を介してインクカートリッジ200の
IC202に、インク残量情報208として書き込むと
共に、インクカートリッジ情報格納部190のインク残
量履歴情報192に、製造番号IDと一緒に書き込む。
そして、CPU110は、プリンタ100によって印刷
が行われる度に、書き込んだインク残量を更新する。な
お、インク残量として、上記カウント値をそのまま書き
込むようにしてもよい。
While the printer 100 is operating, the CPU 110
Calculates the number of ink droplets ejected from the ink cartridge 200 and calculates the remaining amount of ink from the number of ejections. Then, the calculated remaining ink amount is written as the remaining ink amount information 208 in the IC 202 of the ink cartridge 200 via the IC information access unit 180, and is also recorded in the remaining ink amount history information 192 of the ink cartridge information storage unit 190. Write with the number ID.
Then, the CPU 110 updates the written remaining ink amount each time the printer 100 prints. The count value may be directly written as the remaining ink amount.

【0052】図7はプリンタ100のインクカートリッ
ジ情報格納部190に格納されているインク残量履歴情
報192の一例を示す説明図である。具体的に、インク
残量履歴情報192としては、図7に示すように、過去
に装着されたインクカートリッジ毎に、その製造番号I
Dと、最終的に算出したインク残量Rとがペアで格納さ
れている。
FIG. 7 is an explanatory diagram showing an example of the ink remaining amount history information 192 stored in the ink cartridge information storage section 190 of the printer 100. Specifically, as the ink remaining amount history information 192, as shown in FIG. 7, the serial number I of each ink cartridge installed in the past is recorded.
D and the finally calculated remaining ink amount R are stored as a pair.

【0053】一方、使用禁止カートリッジ情報194と
しては、図8に示すように、使用が禁止されているイン
クカートリッジの製造番号IDが格納されている。図8
はプリンタ100のインクカートリッジ情報格納部19
0に格納されている使用禁止カートリッジ情報194の
一例を示す説明図である。このような使用禁止カートリ
ッジ情報194は、例えば、過去に不正に使用されたこ
とのあるインクカートリッジの製造番号IDとして、プ
リンタ製造業者等が把握している製造番号IDなどが、
プリンタ100の製造時に書き込まれる。
On the other hand, as the prohibited cartridge information 194, as shown in FIG. 8, the serial number ID of the prohibited ink cartridge is stored. Figure 8
Is an ink cartridge information storage unit 19 of the printer 100.
FIG. 7 is an explanatory diagram showing an example of use-prohibited cartridge information 194 stored in 0. Such prohibited cartridge information 194 includes, for example, a serial number ID grasped by a printer manufacturer or the like as a serial number ID of an ink cartridge that has been illegally used in the past.
It is written when the printer 100 is manufactured.

【0054】なお、図6において、検索部122は、本
発明におけるインク残量導出部に、インクカートリッジ
情報格納部190は、インクカートリッジ情報格納部
に、それぞれ対応する。
In FIG. 6, the search unit 122 corresponds to the ink remaining amount derivation unit of the present invention, and the ink cartridge information storage unit 190 corresponds to the ink cartridge information storage unit.

【0055】B−2.インクカートリッジ判定処理:そ
れでは、本実施例のプリンタ100におけるインクカー
トリッジ判定処理について、詳細に説明する。図9は図
1のプリンタ100におけるインクカートリッジ判定処
理の手順を示すフローチャートである。
B-2. Ink Cartridge Determination Process: Now, the ink cartridge determination process in the printer 100 of the present embodiment will be described in detail. FIG. 9 is a flowchart showing the procedure of the ink cartridge determination process in the printer 100 of FIG.

【0056】かかるインクカートリッジ判定処理は、第
1の実施例の場合と同様に、プリンタ100を起動した
際、または、プリンタ100の稼働中にインクカートリ
ッジ200を装着した際に、実行される。
Similar to the case of the first embodiment, the ink cartridge determination process is executed when the printer 100 is started up or when the ink cartridge 200 is mounted while the printer 100 is in operation.

【0057】このインクカートリッジ判定処理が開始さ
れると、まず、プリンタ100のIC情報アクセス部1
80がインクカートリッジ200のIC202にアクセ
スし、識別情報204のうち、製造番号IDを読み出
し、検索部122に与える(ステップS202)。検索
部122は、インクカートリッジ情報格納部190にア
クセスし、使用の禁止されているインクカートリッジと
して、その読み出された製造番号IDが使用禁止カート
リッジ情報194に含まれているかどうかを検索する
(ステップS204)。その検索の結果、その製造番号
IDが使用禁止カートリッジ情報194に含まれていた
場合には、比較判定部128は、装着されているインク
カートリッジ200は登録されている製品ではないと判
定する。反対に、その製造番号IDが使用禁止カートリ
ッジ情報194に含まれていない場合には、次のステッ
プS206の処理が実行される。
When the ink cartridge determination process is started, first, the IC information access unit 1 of the printer 100 is started.
80 accesses the IC 202 of the ink cartridge 200, reads the serial number ID from the identification information 204, and gives it to the search unit 122 (step S202). The retrieval unit 122 accesses the ink cartridge information storage unit 190 and retrieves whether or not the read serial number ID of the prohibited ink cartridge is included in the prohibited cartridge information 194 (step). S204). When the serial number ID is included in the prohibited cartridge information 194 as a result of the search, the comparison determination unit 128 determines that the mounted ink cartridge 200 is not a registered product. On the contrary, if the manufacturing number ID is not included in the prohibited cartridge information 194, the process of the next step S206 is executed.

【0058】検索部122は、再び、インクカートリッ
ジ情報格納部190にアクセスし、読み出された製造番
号IDが、そのプリンタ100に過去に装着されたイン
クカートリッジとして、インク残量履歴情報192に含
まれているかどうかを検索する(ステップS206)。
インクカートリッジ200が、プリンタ100に初めて
装着されたインクカートリッジである場合には、その製
造番号IDはインク残量履歴情報192に含まれていな
いため、続くステップS208,S210,S212の
処理がパスされて、図1に示したステップS102の処
理が実行される。一方、インクカートリッジ200が、
それまで装着されていたインクカートリッジであるか、
或いは、新たに装着された場合でも、過去に一度でも装
着されたことがあるインクカートリッジであれば、その
製造番号IDはインク残量履歴情報192に含まれてい
るため、次のステップS208が実行される。
The search unit 122 again accesses the ink cartridge information storage unit 190, and the read manufacturing number ID is included in the ink remaining amount history information 192 as the ink cartridge that was previously mounted in the printer 100. It is searched whether or not it is present (step S206).
When the ink cartridge 200 is the first ink cartridge installed in the printer 100, the manufacturing number ID is not included in the remaining ink amount history information 192, and therefore the processing of subsequent steps S208, S210, and S212 is passed. Then, the process of step S102 shown in FIG. 1 is executed. On the other hand, the ink cartridge 200
Is it the ink cartridge that was installed until then,
Alternatively, even if the ink cartridge is newly mounted, if the ink cartridge has been mounted even once in the past, the manufacturing number ID is included in the remaining ink amount history information 192, and thus the next step S208 is executed. To be done.

【0059】IC情報アクセス部180は、インクカー
トリッジ200のIC202にアクセスし、インク残量
情報208として、インク残量R’を読み出し、比較判
定部128に与える(ステップS208)。続いて、検
索部122は、インクカートリッジ情報格納部190に
アクセスし、製造番号IDに基づいて、インク残量履歴
情報192のうち、その製造番号IDに対応するインク
残量Rを検索する。例えば、製造番号IDがIDbであ
るならば、図8に示すように、IDbに対応するインク
残量Rbを検索する(ステップS210)。
The IC information access unit 180 accesses the IC 202 of the ink cartridge 200, reads out the ink remaining amount R'as the ink remaining amount information 208, and gives it to the comparison / determination unit 128 (step S208). Subsequently, the search unit 122 accesses the ink cartridge information storage unit 190 and searches the remaining ink amount history information 192 for the remaining ink amount R corresponding to the manufacturing number ID based on the manufacturing number ID. For example, if the production number ID is IDb, the ink remaining amount Rb corresponding to IDb is searched as shown in FIG. 8 (step S210).

【0060】比較判定部128は、IC情報アクセス部
180から与えられたインク残量R’と検索により得ら
れたインク残量Rとを比較する(ステップS212)。
プリンタ100にインクカートリッジ200が装着され
ている限り、前述したとおり、インクカートリッジ20
0のIC202にインク残量情報208として書き込ま
れているインク残量R’と、インクカートリッジ情報格
納部190のインク残量履歴情報192に書き込まれて
いるインク残量Rは、印刷の度に同様に更新されるた
め、等しいはずである。また、例えば、プリンタ100
に装着されていたインクカートリッジ200が取り外さ
れて、他のプリンタで一時的に使用され、その後、再
び、プリンタ100に装着された場合には、IC202
に書き込まれているインク残量R’は、インク残量履歴
情報192に書き込まれているインク残量Rよりも、少
なくなっているはずである。従って、IC202に書き
込まれているインク残量R’が、インク残量履歴情報1
92に書き込まれているインク残量Rよりも、多くなる
ことはあり得ない。しかしながら、IC202に書き込
まれているインク残量R’が不正に書き換えられた場合
には、IC202に書き込まれているインク残量R’
が、インク残量履歴情報192に書き込まれているイン
ク残量Rよりも、多くなることはあり得る。
The comparison / determination unit 128 compares the ink remaining amount R'given from the IC information access unit 180 with the ink remaining amount R obtained by the search (step S212).
As long as the ink cartridge 200 is attached to the printer 100, as described above, the ink cartridge 20
The ink remaining amount R ′ written as the ink remaining amount information 208 in the IC 202 of 0 and the ink remaining amount R written in the ink remaining amount history information 192 of the ink cartridge information storage unit 190 are the same for each printing. Should be equal, since it is updated to. Also, for example, the printer 100
When the ink cartridge 200 mounted on the printer is removed and temporarily used by another printer, and then mounted on the printer 100 again, the IC 202
The remaining ink amount R ′ written in the above table should be smaller than the remaining ink amount R written in the remaining ink amount history information 192. Therefore, the ink remaining amount R ′ written in the IC 202 is the ink remaining amount history information 1
It cannot be larger than the ink remaining amount R written in 92. However, when the ink remaining amount R ′ written in the IC 202 is illegally rewritten, the ink remaining amount R ′ written in the IC 202 is
However, it may be larger than the remaining ink amount R written in the remaining ink amount history information 192.

【0061】よって、比較の結果、IC202に書き込
まれているインク残量R’が、インク残量履歴情報19
2に書き込まれているインク残量Rよりも多い場合に
は、装着されているインクカートリッジ200は、不正
なインクカートリッジであると判断できるので、登録さ
れている製品ではないと判定する。なお、この場合、比
較判定部128は、その製造番号IDを、使用の禁止さ
れているインクカートリッジの製造番号IDとして、新
たに、使用禁止カートリッジ情報194に登録するよう
にしてもよい。
Therefore, as a result of the comparison, the ink remaining amount R ′ written in the IC 202 is the ink remaining amount history information 19
If the remaining ink amount R written in No. 2 is greater than the remaining ink amount R, it can be determined that the installed ink cartridge 200 is an unauthorized ink cartridge, and thus it is determined that the product is not a registered product. In this case, the comparison / determination unit 128 may newly register the manufacturing number ID in the prohibited cartridge information 194 as the manufacturing number ID of the prohibited ink cartridge.

【0062】一方、IC202に書き込まれているイン
ク残量R’が、インク残量履歴情報192に書き込まれ
ているインク残量Rよりも少ないか等しい場合には、そ
のインクカートリッジ200は適正なインクカートリッ
ジであると判断できるので、図1に示したステップS1
02の処理が実行される。以下、図1に示したステップ
S102〜S120が順次実行されて、最終的に、装着
されているインクカートリッジ200が、登録されてい
る製品であるか否かが判定される。
On the other hand, when the ink remaining amount R'written in the IC 202 is less than or equal to the ink remaining amount R written in the ink remaining amount history information 192, the ink cartridge 200 is set to the proper ink. Since it can be determined that the cartridge is a cartridge, step S1 shown in FIG.
The processing of 02 is executed. Hereinafter, steps S102 to S120 shown in FIG. 1 are sequentially executed, and finally, it is determined whether or not the mounted ink cartridge 200 is a registered product.

【0063】このように、本実施例においては、図1に
示したステップS102〜S120の処理を行う前に、
装着されているインクカートリッジ200が、使用の禁
止されているインクカートリッジであるか、不正に使用
されているインクカートリッジであるか、を判別し、該
当するインクカートリッジは、全て、登録された製品で
はないと判定するようにしている。
As described above, in this embodiment, before performing the processing of steps S102 to S120 shown in FIG.
It is determined whether the mounted ink cartridge 200 is a prohibited use ink cartridge or an illegally used ink cartridge, and all the applicable ink cartridges are registered products. I try to determine that there is no.

【0064】従って、本実施例においては、装着されて
いるインクカートリッジ200が、例え、登録された製
品であったとしても、使用済みのものにインクを不正に
補充したようなインクカートリッジである場合には、I
C202に書き込まれているインク残量R’も増やすよ
うに書き換えない限り使用することはできない。しか
し、例え、インク残量R’を増やすように書き換えたと
しても、上述したように、IC202に書き込まれてい
るインク残量R’が、インク残量履歴情報192に書き
込まれているインク残量Rよりも、多くなるため、不正
なインクカートリッジであると判断され、登録されてい
る製品ではないと判定されることになり、ユーザに注意
を喚起することができる。
Therefore, in the present embodiment, when the installed ink cartridge 200 is an ink cartridge in which a used product is illegally replenished with ink even if it is a registered product. I have
It cannot be used unless the ink remaining amount R ′ written in C202 is also increased. However, even if the ink remaining amount R ′ is rewritten so as to increase, as described above, the ink remaining amount R ′ written in the IC 202 is the ink remaining amount written in the ink remaining amount history information 192. Since it is larger than R, it is determined that the ink cartridge is an unauthorized ink cartridge, and it is determined that the product is not a registered product, and the user can be alerted.

【0065】C.変形例:なお、本発明は上記した実施
例や実施形態に限られるものではなく、その要旨を逸脱
しない範囲において種々の態様にて実施することが可能
である。
C. Modification: The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the scope of the invention.

【0066】上記した実施例においては、インクカート
リッジ判定装置は、プリンタ100に搭載されていた
が、インクカートリッジ判定装置の構成要素のうち、検
索部122、暗号化部124、論理演算部126、及び
比較判定部128の全部、もしくは一部は、例えば、プ
リンタ100に接続されるコンピュータなどに搭載する
ようにしてもよい。例えば、コンピュータに搭載する場
合には、プリンタドライバなどに組み込むようにしても
よい。
In the above-described embodiment, the ink cartridge determination device is mounted on the printer 100. However, among the components of the ink cartridge determination device, the retrieval unit 122, the encryption unit 124, the logical operation unit 126, and the All or part of the comparison / determination unit 128 may be installed in, for example, a computer connected to the printer 100. For example, when it is installed in a computer, it may be installed in a printer driver or the like.

【0067】上記した実施例においては、インクカート
リッジ判定装置はプリンタに適用されていたが、インク
カートリッジを回収するためのインクカートリッジ回収
装置に適用するようにしてもよい。
Although the ink cartridge determination device is applied to the printer in the above-described embodiments, it may be applied to the ink cartridge recovery device for recovering the ink cartridge.

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

【図1】本発明の第1の実施例としてのインクカートリ
ッジ判定装置を備えたプリンタ100を示すブロック図
である。
FIG. 1 is a block diagram showing a printer 100 including an ink cartridge determination device according to a first embodiment of the invention.

【図2】インクカートリッジ200のIC202に記録
されている識別情報204と、その識別情報204の生
成の仕方を示す説明図である。
2 is an explanatory diagram showing identification information 204 recorded in an IC 202 of the ink cartridge 200 and a method of generating the identification information 204. FIG.

【図3】プリンタ100の秘密キー格納部160に格納
されている秘密キー情報162の一例を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing an example of secret key information 162 stored in a secret key storage unit 160 of the printer 100.

【図4】図1のプリンタ100におけるインクカートリ
ッジ判定処理の手順を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure of an ink cartridge determination process in the printer 100 of FIG.

【図5】インクカートリッジ判定処理を機能ブロックを
用いて示したブロック図である。
FIG. 5 is a block diagram showing an ink cartridge determination process using functional blocks.

【図6】本発明の第2の実施例としてのインクカートリ
ッジ判定装置を備えたプリンタ100を示すブロック図
である。
FIG. 6 is a block diagram showing a printer 100 including an ink cartridge determination device according to a second embodiment of the invention.

【図7】プリンタ100のインクカートリッジ情報格納
部190に格納されているインク残量履歴情報192の
一例を示す説明図である。
7 is an explanatory diagram showing an example of ink remaining amount history information 192 stored in an ink cartridge information storage unit 190 of the printer 100. FIG.

【図8】プリンタ100のインクカートリッジ情報格納
部190に格納されている使用禁止カートリッジ情報1
94の一例を示す説明図である。
FIG. 8 is a prohibited cartridge information 1 stored in the ink cartridge information storage unit 190 of the printer 100.
It is explanatory drawing which shows an example of 94.

【図9】図1のプリンタ100におけるインクカートリ
ッジ判定処理の手順を示すフローチャートである。
9 is a flowchart showing a procedure of ink cartridge determination processing in the printer 100 of FIG.

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

100…プリンタ 110…CPU 120…メモリ 122…検索部 124…暗号化部 126…論理演算部 128…比較判定部 130…I/O部 140…操作パネル 150…表示パネル 160…秘密キー格納部 162…秘密キー情報 170…装着部 172…接点 180…IC情報アクセス部 190…インクカートリッジ情報格納部 192…インク残量履歴情報 194…使用禁止カートリッジ情報 200…インクカートリッジ 204…識別情報 206…接点 208…インク残量情報 A1…第1付加情報 A2…第2付加情報 BM…ビットマスク Date…製造年月日 ID…製造番号 Ka…第1秘密キー Kb…第2秘密キー R…インク残量 RND…乱数 SIG…電子署名 100 ... Printer 110 ... CPU 120 ... memory 122 ... Search unit 124 ... Encryption unit 126 ... Logical operation unit 128 ... Comparison determination unit 130 ... I / O section 140 ... Operation panel 150 ... Display panel 160 ... Private key storage 162 ... Secret key information 170 ... Mounting part 172 ... contact point 180 ... IC information access unit 190 ... Ink cartridge information storage section 192 ... Ink remaining amount history information 194 ... Prohibited cartridge information 200 ... Ink cartridge 204 ... Identification information 206 ... Contact 208 ... Ink remaining amount information A1 ... first additional information A2 ... Second additional information BM ... bit mask Date ... Date of manufacture ID: Serial number Ka ... the first secret key Kb ... Second secret key R ... Remaining amount of ink RND ... random numbers SIG ... electronic signature

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 装着されたインクカートリッジが登録さ
れた製品であるか否かを、前記インクカートリッジの記
録部に記録されている情報に基づいて判定するためのイ
ンクカートリッジ判定装置であって、 第1及び第2秘密キーを格納する秘密キー格納部と、 前記記録部に記録されている情報のうち、少なくとも、
前記インクカートリッジの識別符号と、第1及び第2付
加情報と、を読み出す読み出し部と、 読み出された前記識別符号を前記秘密キー格納部に格納
されている第1秘密キーで暗号化し、第1暗号化情報を
生成する第1の暗号化部と、 読み出された前記第1付加情報と生成された前記第1暗
号化情報との排他的論理和を算出して第1論理演算値を
取得する第1の論理演算部と、 読み出された前記第2付加情報と生成された前記第1暗
号化情報との排他的論理和を算出して第2論理演算値を
取得する第2の論理演算部と、 取得された前記第1論理演算値を前記秘密キー格納部に
格納されている第2秘密キーで暗号化し、第2暗号化情
報を生成する第2の暗号化部と、 取得された前記第2論理演算値と生成された第2暗号化
情報とを比較し、その比較結果に基づいて、前記インク
カートリッジが登録された製品であるか否かを判定する
比較判定部と、 を備えるインクカートリッジ判定装置。
1. An ink cartridge determination device for determining whether or not an installed ink cartridge is a registered product based on information recorded in a recording section of the ink cartridge. A secret key storage unit for storing the first and second secret keys, and at least the information recorded in the recording unit,
A reading unit for reading the identification code of the ink cartridge and the first and second additional information, and the read identification code is encrypted with the first secret key stored in the secret key storage unit, A first encryption unit that generates one encrypted information, and an exclusive OR of the read first additional information and the generated first encrypted information is calculated to obtain a first logical operation value. A second logical operation unit that obtains a second logical operation value by calculating an exclusive OR of the first logical operation unit to be acquired and the read second additional information and the generated first encrypted information. A logical operation unit, a second encryption unit that encrypts the acquired first logical operation value with a second secret key stored in the secret key storage unit, and generates second encrypted information; Comparing the generated second logical operation value with the generated second encrypted information, Based on the comparison result, an ink cartridge determination device and a comparison determination unit determines whether the product the ink cartridge is registered.
【請求項2】 請求項1に記載のインクカートリッジ判
定装置において、 前記秘密キー格納部は、前記第1及び第2秘密キーを、
インクカートリッジの製造時期に対応してそれぞれ複数
格納しており、 前記読み出し部は、前記記録部に記録されている情報の
うち、さらに、前記インクカートリッジの製造時期の情
報を読み出すと共に、 さらに、読み出された前記製造時期の情報に基づいて、
前記秘密キー格納部から、その製造時期に対応する第1
及び第2秘密キーを検索する検索部を備えることを特徴
とするインクカートリッジ判定装置。
2. The ink cartridge determination apparatus according to claim 1, wherein the secret key storage unit stores the first and second secret keys,
A plurality of ink cartridges are stored corresponding to the manufacturing time of the ink cartridges, and the reading unit further reads information on the manufacturing time of the ink cartridges from the information recorded in the recording unit, and further reads the information. Based on the information of the production time issued,
From the secret key storage unit, the first
And an ink cartridge determination device including a search unit that searches for the second secret key.
【請求項3】 請求項1に記載のインクカートリッジ判
定装置において、 前記読み出し部は、前記記録部に記録されている情報の
うち、さらに、前記インクカートリッジのインク残量の
情報を読み出すと共に、 過去に装着されたインクカートリッジの識別符号と、そ
のインクカートリッジのインク残量と、を対応して格納
するインクカートリッジ情報格納部と、 読み出された前記識別符号が、過去に装着されたインク
カートリッジの識別符号として、前記インクカートリッ
ジ情報格納部に格納されている場合に、該インクカート
リッジ情報格納部から、対応するインク残量を導き出す
インク残量導出部と、をさらに備え、 前記比較判定部は、前記インク残量導出部によって導き
出された前記イン残量と、前記読み出し部によって読み
出された前記インク残量と、を比較して、その比較結果
に基づいて、前記インクカートリッジが登録された製品
であるか否かを判定することを特徴とするインクカート
リッジ判定装置。
3. The ink cartridge determination device according to claim 1, wherein the reading unit further reads information on the ink remaining amount of the ink cartridge from the information recorded in the recording unit, The ink cartridge information storage unit that stores the identification code of the ink cartridge attached to the ink cartridge and the ink remaining amount of the ink cartridge in association with each other, and the read identification code of the ink cartridge installed in the past. As an identification code, when stored in the ink cartridge information storage unit, further comprises an ink remaining amount derivation unit that derives a corresponding ink remaining amount from the ink cartridge information storage unit, and the comparison determination unit, The remaining ink amount derived by the remaining ink amount deriving unit and the remaining amount read by the reading unit Wherein the ink remaining amount, compares, based on the comparison result, an ink cartridge determination system, wherein the ink cartridge is determined whether the registered product.
【請求項4】 プリンタに装着されるインクカートリッ
ジであって、 登録された製品であることを示す識別情報を記録する記
録部を有すると共に、前記識別情報は、 前記インクカートリッジの識別符号と、 該識別情報を第1秘密キーで暗号化して生成される第1
暗号化情報と、乱数と、の排他的論理和を算出して取得
される第1付加情報と、 前記乱数を第2秘密キーで暗号化して生成される第2暗
号化情報と、生成された前記第1暗号化情報と、の排他
的論理和を算出して取得される第2付加情報と、 を含むことを特徴とするインクカートリッジ。
4. An ink cartridge mounted on a printer, comprising a recording section for recording identification information indicating a registered product, wherein the identification information is an identification code of the ink cartridge, The first generated by encrypting the identification information with the first secret key
First additional information obtained by calculating the exclusive OR of the encrypted information and the random number, second encrypted information generated by encrypting the random number with the second secret key, and generated An ink cartridge, comprising: second additional information obtained by calculating an exclusive OR of the first encrypted information.
【請求項5】 請求項4に記載のインクカートリッジに
おいて、 前記識別情報は、さらに、前記インクカートリッジの製
造時期の情報を含むことを特徴とするインクカートリッ
ジ。
5. The ink cartridge according to claim 4, wherein the identification information further includes information on a manufacturing time of the ink cartridge.
【請求項6】 プリンタに装着されたインクカートリッ
ジが登録された製品であるか否かを、前記インクカート
リッジの記録部に記録されている情報に基づいて判定す
るためのインクカートリッジ判定方法であって、 (a)第1及び第2秘密キーを用意する工程と、 (b)前記記録部に記録されている情報のうち、少なく
とも、前記インクカートリッジの識別符号と、第1及び
第2付加情報と、を読み出す工程と、 (c)読み出された前記識別符号を前記第1秘密キーで
暗号化し、第1暗号化情報を生成する工程と、 (d)読み出された前記第1付加情報と生成された前記
第1暗号化情報との排他的論理和を算出して第1論理演
算値を取得する工程と、 (e)読み出された前記第2付加情報と生成された前記
第1暗号化情報との排他的論理和を算出して第2論理演
算値を取得する工程と、 (f)取得された前記第1論理演算値を前記第2秘密キ
ーで暗号化し、第2暗号化情報を生成する工程と、 (g)取得された前記第2論理演算値と生成された第2
暗号化情報とを比較し、その比較結果に基づいて、前記
インクカートリッジが登録された製品であるか否かを判
定する工程と、 を備えるインクカートリッジ判定方法。
6. An ink cartridge determination method for determining whether or not an ink cartridge mounted in a printer is a registered product, based on information recorded in a recording section of the ink cartridge. (A) preparing first and second secret keys, and (b) at least the identification code of the ink cartridge among the information recorded in the recording section, and the first and second additional information. , And (c) encrypting the read identification code with the first secret key to generate first encrypted information, and (d) reading the first additional information. Calculating an exclusive OR with the generated first encrypted information to obtain a first logical operation value; (e) the read second additional information and the generated first cipher Exclusive logic with activation information Calculating a value to obtain a second logical operation value, and (f) encrypting the acquired first logical operation value with the second secret key to generate second encrypted information. ) The acquired second logical operation value and the generated second
And a step of comparing the encrypted information with the encrypted information and determining whether or not the ink cartridge is a registered product based on the comparison result.
JP2002131193A 2002-05-07 2002-05-07 Ink cartridge judging apparatus Pending JP2003320658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002131193A JP2003320658A (en) 2002-05-07 2002-05-07 Ink cartridge judging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002131193A JP2003320658A (en) 2002-05-07 2002-05-07 Ink cartridge judging apparatus

Publications (1)

Publication Number Publication Date
JP2003320658A true JP2003320658A (en) 2003-11-11

Family

ID=29543922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002131193A Pending JP2003320658A (en) 2002-05-07 2002-05-07 Ink cartridge judging apparatus

Country Status (1)

Country Link
JP (1) JP2003320658A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524948A (en) * 1999-09-28 2003-08-19 マリンクロッド・インコーポレイテッド Sensor with electronic signature of data about the sensor
JP2005151291A (en) * 2003-11-18 2005-06-09 Fuji Xerox Co Ltd Image forming device and spare part
JP2005167977A (en) * 2003-11-14 2005-06-23 Ricoh Co Ltd Product justification verifying system, apparatus for justification verifying object, product justification verifying method, and peculiar information providing method
JP2005297223A (en) * 2004-04-06 2005-10-27 Seiko Epson Corp Recorder, ink cartridge, recording system, controlling method, and program
JP2007015249A (en) * 2005-07-08 2007-01-25 Canon Inc Ink residual amount abnormality detection method and method for controlling inkjet recorder
JP2008165579A (en) * 2006-12-28 2008-07-17 Brother Ind Ltd Image forming system, image forming device and program
JP2010173180A (en) * 2009-01-29 2010-08-12 Ricoh Co Ltd Image forming device, program, and storage medium
JP5226890B1 (en) * 2012-09-03 2013-07-03 利仁 曽根 Cartridge system
JP5249466B1 (en) * 2012-12-12 2013-07-31 利仁 曽根 Cartridge system
JP5319850B1 (en) * 2013-03-03 2013-10-16 利仁 曽根 Cartridge system
JP5382836B1 (en) * 2013-05-29 2014-01-08 利仁 曽根 Cartridge system
JP5472843B1 (en) * 2013-08-23 2014-04-16 利仁 曽根 IC chip used for cartridge system and regular product judgment
JP2014231224A (en) * 2014-06-23 2014-12-11 利仁 曽根 Replacement component system
JP2015104893A (en) * 2013-12-02 2015-06-08 セイコーエプソン株式会社 Printer
JP2015110326A (en) * 2013-11-11 2015-06-18 利仁 曽根 Organ production system by embryonic stem cell utilizing 3d printer and artificial pluripotent stem cell and the like, device, replacement part, and ic chip
JP2016033827A (en) * 2015-11-06 2016-03-10 利仁 曽根 Ic chip, replacement component and apparatus
JP2016199041A (en) * 2016-05-28 2016-12-01 利仁 曽根 Ic chip, replacement component and device
JP2017188830A (en) * 2016-04-07 2017-10-12 キヤノン株式会社 Device operating by having external unit mounted and external unit therefor
JP2018058241A (en) * 2016-10-03 2018-04-12 利仁 曽根 Ic chip, replacement part, and device
JPWO2021065650A1 (en) * 2019-09-30 2021-04-08

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003524948A (en) * 1999-09-28 2003-08-19 マリンクロッド・インコーポレイテッド Sensor with electronic signature of data about the sensor
JP2005167977A (en) * 2003-11-14 2005-06-23 Ricoh Co Ltd Product justification verifying system, apparatus for justification verifying object, product justification verifying method, and peculiar information providing method
JP2005151291A (en) * 2003-11-18 2005-06-09 Fuji Xerox Co Ltd Image forming device and spare part
JP2005297223A (en) * 2004-04-06 2005-10-27 Seiko Epson Corp Recorder, ink cartridge, recording system, controlling method, and program
JP2007015249A (en) * 2005-07-08 2007-01-25 Canon Inc Ink residual amount abnormality detection method and method for controlling inkjet recorder
JP2008165579A (en) * 2006-12-28 2008-07-17 Brother Ind Ltd Image forming system, image forming device and program
US8011746B2 (en) 2006-12-28 2011-09-06 Brother Kogyo Kabushiki Kaisha Image-forming system, image-forming apparatus, computer program, and image-forming method
JP2010173180A (en) * 2009-01-29 2010-08-12 Ricoh Co Ltd Image forming device, program, and storage medium
JP5226890B1 (en) * 2012-09-03 2013-07-03 利仁 曽根 Cartridge system
JP5249466B1 (en) * 2012-12-12 2013-07-31 利仁 曽根 Cartridge system
JP5319850B1 (en) * 2013-03-03 2013-10-16 利仁 曽根 Cartridge system
JP5382836B1 (en) * 2013-05-29 2014-01-08 利仁 曽根 Cartridge system
JP5472843B1 (en) * 2013-08-23 2014-04-16 利仁 曽根 IC chip used for cartridge system and regular product judgment
JP2015110326A (en) * 2013-11-11 2015-06-18 利仁 曽根 Organ production system by embryonic stem cell utilizing 3d printer and artificial pluripotent stem cell and the like, device, replacement part, and ic chip
JP2015104893A (en) * 2013-12-02 2015-06-08 セイコーエプソン株式会社 Printer
JP2014231224A (en) * 2014-06-23 2014-12-11 利仁 曽根 Replacement component system
JP2016033827A (en) * 2015-11-06 2016-03-10 利仁 曽根 Ic chip, replacement component and apparatus
JP2017188830A (en) * 2016-04-07 2017-10-12 キヤノン株式会社 Device operating by having external unit mounted and external unit therefor
US11270172B2 (en) 2016-04-07 2022-03-08 Canon Kabushiki Kaisha Apparatus that operates with unit mounted therein and the unit
JP2016199041A (en) * 2016-05-28 2016-12-01 利仁 曽根 Ic chip, replacement component and device
JP2018058241A (en) * 2016-10-03 2018-04-12 利仁 曽根 Ic chip, replacement part, and device
JPWO2021065650A1 (en) * 2019-09-30 2021-04-08
WO2021065650A1 (en) * 2019-09-30 2021-04-08 積水メディカル株式会社 Genuine product automatic authentiation method
JP7153807B2 (en) 2019-09-30 2022-10-14 積水メディカル株式会社 Genuine product automatic authentication method

Similar Documents

Publication Publication Date Title
JP2003320658A (en) Ink cartridge judging apparatus
EP2294505B1 (en) Authenticating a replaceable printer component
US9740849B2 (en) Registration and authentication of computing devices using a digital skeleton key
KR100746764B1 (en) Method and apparatus for article authentication
US7243240B2 (en) System and method for firmware authentication
US8621212B2 (en) Systems and methods for cryptographically enhanced automatic blacklist management and enforcement
TWI518548B (en) Machine authenticity judgment system and machine authenticity judgment method
CN102419804B (en) Reliable software product confirmation and activation with redundancy security
JP2004206435A (en) License management method, and license management system
US20140169803A1 (en) Printer apparatus and security method used for the same
US9357102B2 (en) Systems and methods of securing operational information associated with an imaging device
WO2011069460A1 (en) Method and system for generating, recharging and querying rechargeable card
EP1525708A1 (en) Method and system for vehicle component authentication
US20060037065A1 (en) Prevention of unauthorized credential production in a credential production system
US6126071A (en) IC memory card system for authenticating an IC memory card, and IC memory card used for the same
JP2015104893A (en) Printer
US9218235B2 (en) Systems and methods of verifying operational information associated with an imaging device
KR100579147B1 (en) A system for verifying forged electronic documents of electronic document and a method using thereof
CN111030819A (en) Authentication method, system, terminal and storage medium based on encryption and decryption algorithm
JP6318323B2 (en) IC chips, replacement parts, equipment
TWI753360B (en) Electric vehicle and anti-theft method thereof
JP4835206B2 (en) Information processing device
WO2010016357A1 (en) Time clock
CN118013537A (en) Data processing method, device, electronic equipment and storage medium
CN118094521A (en) Data protection method and security chip