JP2004145170A - Storage device - Google Patents

Storage device Download PDF

Info

Publication number
JP2004145170A
JP2004145170A JP2002312149A JP2002312149A JP2004145170A JP 2004145170 A JP2004145170 A JP 2004145170A JP 2002312149 A JP2002312149 A JP 2002312149A JP 2002312149 A JP2002312149 A JP 2002312149A JP 2004145170 A JP2004145170 A JP 2004145170A
Authority
JP
Japan
Prior art keywords
rewrite
rewriting
request
toner
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.)
Withdrawn
Application number
JP2002312149A
Other languages
Japanese (ja)
Inventor
Haruaki Shimoda
下田 晴朗
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002312149A priority Critical patent/JP2004145170A/en
Publication of JP2004145170A publication Critical patent/JP2004145170A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a storage device for storing the state of an attachable/detachable unit so that it can be decided whether the attachable/detachable unit is compatible to main body equipment when the unit is loaded to the equipment main body. <P>SOLUTION: The attachable/detachable unit is provided with a function of storing information showing whether the attachable/detachable unit is compatible to the main body equipment so that it can be decided by the main body equipment whether the attachable/detachable unit is compatible to the main body equipment when the unit is loaded to the equipment main body, and also, provided with a function of deciding the propriety of information rewriting so that rewritten information can not be dishonestly altered by a third person. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、本体機器に対して着脱可能な着脱ユニットに備えられた記憶装置に関するものである。
【0002】
【従来の技術】
ある作業目的を有する機器を設計する場合、その機器の一部を着脱可能な構造にする、いわゆる「着脱可能ユニット」を設けることはよく使われる設計手法である。例えばプリンタや複写機、ファクシミリなどの「画像形成装置を有する機器」においては、インクカートリッジ、トナーカートリッジ、中間転写体、定着器などを着脱可能ユニットとして有している。
【0003】
例えばプリンタに挿填されたトナーカートリッジのトナーが無くなると、ユーザは、プリンタメーカやプリンタメーカが指定する企業にトナーが空になったトナーカットリッジを渡し、トナーを補給してもらう。プリンタメーカ等は、ユーザのプリンタの仕様に最適なトナーを補給して、ユーザにトナーカートリッジを渡す。
【0004】
【特許文献1】
特開平9−185311号公報
【特許文献2】
特開2000−137416号公報
【特許文献3】
特開2000−246921号公報
【特許文献4】
特開2000−347503号公報
【特許文献5】
特開2001−175146号公報
【0005】
【発明が解決しようとする課題】
しかし、トナーの補給は、プリンタメーカやプリンタメーカが指定する企業以外の企業(いわゆるサードベンダ)も行うこともできる。しかし、サードベンダは、自社でプリンタを製造していないため、当該サードベンダーが適合トナーを製造しようとしているプリンタの仕様を詳細な部分まで把握することができない。よって、サードベンダは、当該プリンタに対して最適でないトナーを補給してしまう場合がある。
【0006】
そのため、サードベンダがトナーを補給したトナーカートリッジを使用して印刷すると、プリンタメーカ等がトナーを補給したトナーカートリッジを使用した場合に比べて印刷品質が悪かったり、プリンタが故障することがある。このような支障は、トナーカートリッジとプリンタとの関係だけでなく、一般的な機器本体と着脱ユニットとにおいて生じる。
【0007】
そこで、本発明は上記問題点に鑑み、機器本体に着脱ユニットが装着されると、当該機器本体が当該着脱ユニットと本体機器とが適合するか否かを本体機器が判断できるように、着脱ユニットの状態を記憶する記憶装置を備えた着脱ユニットを提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明は、上記目的を達成するために以下の手段を採用している。すなわち、本発明は、機器本体に対して着脱可能な着脱ユニットに備えられた記憶装置を前提としている。上記記憶装置は、上記着脱ユニットの状態を把握するために上記機器本体に使用される状態値を記憶する不可逆書換領域を有する記憶手段が備えられている。
【0009】
上記状態値は、着脱ユニットが新品かどうかや、着脱ユニットの残使用回数や、残使用時間等を、一方向にのみ変化する値を示している。例えば着脱ユニットは新品から使用済みになることはあるが、使用済みから新品になることがなく、また残使用回数や残使用時間は減ることはあっても増えることは無い。このような状態値に対する書換要求があると、当該書換要求に従った書き換えが妥当か否かがアクセス制御手段にて判定される。例えば上述のように状態値が新品かどうかを示すときは、上記書換要求が新品を示す値から使用済みを示す値への書き換えを要求する場合、上記アクセス制御手段は当該書換要求に基づく書き換えを妥当と判定する。妥当と判定すると、上記アクセス制御手段は、当該書換要求に基づく書換えを可能と判定する。もちろん、上記アクセス制御手段は、当該書き換えと逆向きの書き換えを要求する書換要求については妥当でないと判定し、逆向きの書き換えを不可と判定する。
【0010】
可能と判定した場合、上記アクセス制御手段は、書換要求に従って状態値を書き換え、不可と判定した場合は状態値を書き換えない。
【0011】
また、第三者による上記状態値の書き換えを防ぐために、上記アクセス制御手段は、上記状態値の書換要求が正当か否かを判定し、正当と判定した場合、書換要求に基づいて状態値の書き換えを行う。この判定は、例えば状態値の書換要求があると、上記アクセス制御手段は、本発明の記憶装置に設けられた隠れ領域に格納された認証用データと、上記状態値の書換要求に含まれる認証用データとが一致するかどうかに基づいて行う。
【0012】
また、上記記憶手段には、上記不可逆書換領域以外に、書換禁止領域または自由書換領域を設けてもよい。上記書換禁止領域は、着脱ユニットの型番、製造番号、ロット番号、対応する本体機器の機種・仕向等の書換禁止データを記憶する領域である。上記自由書換領域は、着脱ユニットを本体機器で使用するにつれて逐次変化する自由書換データを記憶する領域である。
【0013】
このように、上記記憶手段に上記不可逆書換領域と書換禁止領域と自由書換領域とが設けられている場合、当該記憶手段に記憶されたデータに対する書換要求が発生すると、上記アクセス制御手段は、書換要求の対象となるデータの種類を判別する。書換対象となるデータが上記書換禁止データである場合、上記アクセス制御手段は書換要求に基づくデータの書換を行わない。また、書換対象となるデータが上記状態値である場合、上記アクセス制御手段は、上記のようにして状態値の書き換えを行うか否かを判定し、可能であれば書き換えを行う。また、自由書換データの場合、上記アクセス制御手段は書換要求に基づいて書き換えを行う。
【0014】
【発明の実施の形態】
(実施の形態1)
図1は、本体機器が画像形成装置を搭載したプリンタ130であり、着脱ユニットがトナーカートリッジ101である場合を示している。このトナーカートリッジ101には本発明の記憶装置100が備えられている。当該記憶装置100には、EEPROM等を備えた記憶手段102と、当該記憶手段102へのデータの書き換え及び、当該記憶手段102に記憶されたデータの読み出しを制御するアクセス制御手段110とが備えられている。
【0015】
本実施の形態において上記記憶手段102は、書換禁止領域103と不可逆書換領域104と自由書換領域105の3つのメモリ空間に区分けされている。これらのメモリ空間の区分は、上記記憶手段102のアドレスを用いることによって可能である。例えば、上記記憶手段102が8ビットのアドレスで示されるメモリ空間を持つ場合、アドレスの先頭2ビットが‘00’で始まる領域を書換禁止領域103、‘01’で始まる領域を不可逆書換領域104、‘10’又は‘11’で始まる領域を自由書換領域105とする。
【0016】
上記書換禁止領域103は、トナーカートリッジ101の型番、製造番号、ロット番号、及び前記トナーカートリッジ101が適合するプリンタ130の機種・仕向等書き換えてはいけない書換禁止データを記憶する領域である。また上記不可逆書換領域104は、例えばトナーカートリッジ101をリサイクルした回数、すなわちトナーの再補給が何回行われたかや、トナーカートリッジ101が新品であるか否か等、一方向にのみ変化する状態値を記憶する領域である。更に上記自由書換領域105は、上記書換禁止データや上記状態値以外の自由書換データ、例えばトナーの残量値等を記憶する領域である。
【0017】
尚、本実施の形態では、トナーカートリッジ101の製造段階において、トナーカートリッジ101が新品であることを示す状態値(例えば‘11111111’)が上記不可逆書換領域104に書き込まれるものとする。
【0018】
また、上記状態値や自由書換データは、プリンタ130がトナーカートリッジ101を用いて印刷することで変化するデータである。そのため、印刷に伴って上記状態値や自由書換データを書き換えるために、プリンタ130には、印刷に伴って状態値や自由書換データを書き換える管理手段132が備えられている。
【0019】
この管理手段132は、上記トナーカートリッジ101がプリンタ130に装着されると、上記アクセス制御手段110と通信して、上記状態値や自由書換データの読み出し及び書き換えを行う。上記状態値や自由書換データの読み出し及び書き換えを行うために、例えばプリンタ130の製造段階で上記管理手段132には、上記状態値や自由書換データが記憶される領域のアドレスが格納される。
【0020】
以上のような状態値(‘11111111’)の新品のトナーカートリッジ101が上記プリンタ130に装着されると、プリンタ130に備えられた装着センサ136にてトナーカートリッジ101の装着が検知される。この検知は、例えばトナーカートリッジ101が装着される部分にインタラプタ型の光センサを設けておき、装着されたトナーカートリッジ101にて光が遮断されることで行う。
【0021】
上記装着センサ136がトナーカートリッジ101の装着を検知すると、エンジンコントロールユニット(以下、ECUという)131に備えられた上記管理手段132は、図4のタイミングチャートのクロック信号CLKに同期して該トナーカートリッジ101に上記状態値の読出要求を送信する(図3、S301)。このクロック信号CLKは、ECU131またはトナーカートリッジ101内に設けられた発振器の周波数かあるいはその分周周波数である。
【0022】
上記読出要求には、図4のタイミングチャートに示すように読み出し対象の状態値が記憶されたアドレスADR(b)と、読出要求を示すリードライト判別(以下、「R/W」という)信号=High(c)と、アクセスイネーブル信号ENB=Low(d)とから構成される。尚、本実施の形態では、R/W信号=Highは読出要求を、R/W信号=Lowは書換要求を示す。
【0023】
上記管理手段132にて送信された読出要求は、トナーカートリッジ101の上記アクセス制御手段110にて受信される。該アクセス制御手段110は、図2に示すようにアクセス領域判別手段111、書換判定手段112、コントローラ113とから構成されている。
【0024】
上記アクセス制御手段110に受信された読出要求は、上記アクセス領域判別手段111に入力され、該アクセス領域判別手段111にてR/W信号(c)のレベルが判断される(図3、S302)。ここで上記アクセス領域判別手段111は、High(読出要求)と判断すると、上記コントローラ113に対して状態値の読出要求を送信する(図3、S303)。
【0025】
本実施の形態においては、当該コントローラ113に対しての読出要求の際に上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号の種類は、上記管理手段132と上記アクセス領域判別手段111との間で転送される信号と同じ種類としている。よって、図4において、上記管理手段132と上記アクセス領域判別手段111との間で転送される信号と、上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号とを区別し易いように、上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号の符号に「´」を付している。
【0026】
上記コントローラ113に対する読出要求は、プリンタ130から送信された読出要求に含まれるアドレスADR´(b)´と、R/W´信号=High(c)´と、アクセスイネーブル信号ENB´=Low(d)´とから構成される。
【0027】
上記アクセス領域判別手段111からの読出要求が送信されると、上記コントローラ113は、まずR/W´信号(c)´のレベルを判断する(図3、S304)。ここではR/W´信号(c)´のレベルがHighレベル(読出要求)であるので、上記コントローラ113は、当該状態値の読出要求のアドレスADR´(b)´が示す領域から状態値(ここでの状態値は、‘11111111’)を読み出す(図3、S305)。
【0028】
状態値を読み出すと上記コントローラ113は、読み出した状態値DTA´(f)´とアクセス完了信号END´=Low(e)´とをアクセス領域判別手段111に転送する(図3、S306)。
【0029】
上記アクセス領域判別手段111は、アクセス完了信号END´=Low´(e)´と状態値DTA´(f)´とを受信すると、アクセス完了信号END=Low(e)と、上記コントローラ113から転送された状態値DTA(f)とを上記管理手段132に転送する(図3、S307)。
【0030】
上記管理手段132は、上記アクセス領域判別手段111からのアクセス完了信号END=Low(e)を検出し、状態値DTA(f)を受信した後、読み出しの終了処理に入る。まず、アクセスイネーブル信号ENB(d)をHighに戻し、状態値の受信が終了したことを上記アクセス領域判別手段111に伝える(図3、S308)。
【0031】
次に上記アクセス領域判別手段111は、上記管理手段132からのアクセスイネーブル信号ENB(d)がHighに戻るのを確認してから、上記コントローラ113へのアクセスイネーブル信号ENB´(d)´をHighに戻す(図3、S309)。
【0032】
上記コントローラ113は、上記アクセス領域判別手段111からのアクセスイネーブル信号ENB´(d)´がHighに戻ったことを確認したら、アクセス完了信号END´(e)´をHighに戻し、上記アクセス領域判別手段111に対して状態値の送信終了を予告する(図3、S310)。その後、状態値DTA´(f)´の送信を終了させる(図3、S311)。
【0033】
アクセス完了信号END´(e)´をHighに戻してから状態値DTA´(f)´の出力を終了させるまでの時間は、クロック信号CLKの周波数と、上記アクセス制御手段110内の電気特性、特に波形の立ち上がり時間、立下がり時間、及び配線遅延を元に決定することが出来る。本実施例では、アクセス完了信号END´(e)´をHighに戻してから3クロック後としている。
【0034】
上記アクセス領域判別手段111は、上記コントローラ113からのアクセス完了信号END´(e)´がHighに戻ったことを確認したら、アクセス完了信号END(e)をHighに戻し、上記管理手段132に対して状態値の送信終了を予告する(図3、S312)。その後、状態値DTA(f)の出力を終了させる(図3、S313)。以上、図3のS308からS313までが、読み出しの終了処理である。
【0035】
上記コントローラ113からのアクセス完了信号END´(e)´がHighに戻ってから、上記管理手段132へのアクセス完了信号END(e)をHighに戻すまでの時間、及び状態値DTA(f)の出力を終了させるまでの時間は、クロック信号CLKの周波数と、上記管理手段132およびアクセス制御手段110内の電気特性、特に波形の立ち上がり時間、立下がり時間、及び配線遅延を元に決定することが出来る。
【0036】
本実施例では、上記コントローラ113からのアクセス完了信号END´(e)´がHighに戻ってから上記管理手段132へのアクセス完了信号END(e)をHighに戻すまでの時間は、アクセス完了信号END´(e)´がHighに戻ってから1クロック後、上記コントローラ113からのアクセス完了信号END´(e)´がHighに戻ってから状態値DTA(f)の出力を終了させるまでの時間は、アクセス完了信号END´(e)´がHighに戻ってから2クロック後としている。
【0037】
上記アクセス完了信号END=Low(e)と上記状態値DTA(f)が転送された後、上記アクセス完了信号END(e)がHighに戻ったら、上記管理手段132は上記アドレスADR(b)とR/W信号(c)の送信を中止し、読み出した状態値(‘11111111’)を参照して新品のトナーカートリッジ101が装着されたことを認識する(図3、S314)。
【0038】
上記アクセス完了信号END(e)がHighに戻ってから、上記管理手段132及び上記アクセス領域判別手段111からのそれぞれのアドレス信号ADR(b)及びADR´(b)´の出力を終了する時間は、クロック信号CLKの周波数と、上記管理手段132およびアクセス制御手段110内の電気特性、特に波形の立ち上がり時間、立下がり時間、及び配線遅延を元に決定することが出来る。本実施例では、アクセス完了信号END(e)がHighに戻ってから3クロック後としている。
【0039】
このトナーカートリッジ101が装着された状態で、プリンタ130が印刷を行うと、そのたびにトナーの残量が減ることになる。そこで、上記管理手段132は、印刷が行われるごとに上記自由書換領域105に記憶されたトナーの残量値を以下のようにして更新する。
【0040】
まず上記管理手段132は、トナーの残量値が記憶された自由書換領域105のアドレスADRと、R/W信号=Highと、アクセスイネーブル信号ENB=Lowとから構成されるトナーの残量値の読出要求をトナーカートリッジ101に送信する。
【0041】
トナー残量値の読出要求があると、上記アクセス制御手段110は、図3及び図4を用いて説明した上記状態値の読み出しと同じ手順で、トナーの残量値を自由書換領域105から読み出し、上記管理手段132に転送する。このトナーの残量値とは、例えばトナーカートリッジ101であと何ピクセル、または何枚印刷可能かを示す値や、トナーボトルに残っているトナーの量を示す値である。
【0042】
例えば、トナーの残量値がピクセル単位で表されている場合、上記管理手段132は、ピクセルカウント手段134がカウントした印刷した画像のピクセル数を読み出したトナーの残量値から減算する。また、トナーの残量値が所定のサイズの用紙枚数単位で表されている場合、上記管理手段132は、枚数カウント手段135がカウントしたプリンタ130が印刷した枚数を読み出したトナーの残量値から減算する。
【0043】
トナーの残量値の減算を行うと、上記管理手段132は、自由書換領域105に記憶されたトナーの残量値を減算したトナーの残量値に更新するために、図6のタイミングチャートに示すクロックCLKに従って、トナーの残量値の書換要求をトナーカートリッジ101に送信する(図5、S501)。
【0044】
上記トナーの残量値の書換要求は、図6のタイミングチャートに示すように、トナーの残量値が記憶されたADR(g)と、減算されたトナー残量値DTA(h)と、R/W信号=Low(i)と、アクセスイネーブル信号ENB=Low(j)とから構成される。
【0045】
トナーカートリッジ101に送信されたトナーの残量値の書換要求は、まず上記アクセス領域判別手段111に入力されると共に、減算されたトナーの残量値DTA(h)だけが上記書換判定手段112にも入力される。
【0046】
上記アクセス領域判別手段111は、トナー残量値の書換要求が入力されると、まずR/W信号(i)のレベルの判別を行う(図5、S502)。
【0047】
上記アクセス領域判別手段111は、Lowレベル(書換要求)と判別すると、上記書換要求に含まれるアドレスADR(g)が上記記憶手段120のどの領域を指すか判別する(図5、S503)。
【0048】
アドレスADR(g)が自由書換領域105を指すと判別したら、上記アクセス領域判別手段111は、上記コントローラ113に対し、まずトナー残量値の書換要求に含まれるアドレスADR(g)に現在格納されているトナー残量値の読出要求を送信する。この読出要求は、R/W信号´=High(i)´と、トナーの残量値の書換要求に含まれるアドレスADR´(g)´と、アクセスイネーブル信号ENB´=Low(j)´とから構成される。
【0049】
上記アクセス領域判別手段111からの読出要求が送信されると、上記コントローラ113は、R/W´(i)´信号のレベルを参照してアクセス領域判別手段111からの要求が読出要求であることを判断する。次に、コントローラ113は、当該読出要求に含まれるアドレスADR´(g)´が示す領域からトナーの残量値を読み出す(図5、S504)。
【0050】
次いでコントローラ113は、上記アクセス領域判別手段111にアクセス完了信号END´=Low(k)´と読み出したトナーの残量値DTA´(p)´を送信し、上記書換判定手段112には、読み出したトナーの残量値DTA´(p)´のみを転送する。
【0051】
但しこの場合、上記アクセス領域判別手段111は、上記記憶手段102から上記コントローラ113を通じて受信したトナー残量値DTA´(p)を、上記管理手段132には渡さず、代わりに上記書換判定手段112に対し、TNR信号=Low(l)を送信する(図5、S505)。
【0052】
上記書換判定手段112はTNR信号=Low(l)を受信すると、上記管理手段132が送信したトナーの残量値の書換要求に基づく書き換えが可能かどうか判定する(図5、S506)。この判定は、上記管理手段132から送信されたトナーの残量値DTA(h)と、コントローラ113から転送されたトナーの残量値DTA´(p)´とを用いて行われる。
【0053】
この判定は、例えばトナーの残量値DTA´の値からトナーの残量値DTAの値を引き算することによって可能である。トナーの残量値DTA、DTA´とも8ビットのデータとした場合、両者の先頭ビットの前に‘0’を付け加えて、両者を9ビットのデータにする。通常は、コントローラ113から転送されたトナーの残量値DTA´よりも上記管理手段132から転送されたトナーの残量値DTAのほうが小さいので、トナーの残量値DTAからトナーの残量値DTA´を引いた値の先頭ビットの値は0のままとなる。
【0054】
そのため演算結果において先頭ビットが0であるときは、上記書換判定手段112はトナーの残量値の書換えは可能であると判定する。そして、上記書換判定手段112は、アクセス領域判別手段111に対し、ANS信号=Low(m)及びY/N信号=Low(n)を送信し、トナーの残量値の書換えが可能であることを伝える(図5、S506、YES)。
【0055】
逆の場合、即ち、演算結果において、先頭ビットが1となった場合、上記書換判定手段112はトナーの残量値の書換えは不可であると判定する。そして上記書換判定手段112は、アクセス領域判別手段111に対し、ANS信号=Low(m)及びY/N信号=High(n)を送信し、トナーの残量値の書換えが不可であることを伝える(図5、S506、NO)。
【0056】
上記書換領域判定手段111は、受信したY/N信号(n)のレベルに関わらず、ANS信号(m)及びY/N信号(n)を受信すると、アクセスイネーブル信号ENB´=Low(j)´を一旦Highに戻し、トナーの残量値の書き換えが可能かどうかの判定が終了した旨を上記コントローラ113に通知する。当該通知を受けてコントローラ113はアクセス完了信号END´(k)´をHighに戻す。
【0057】
上記アクセス領域判別手段111は、受信したY/N信号(n)がLowレベル、即ちYESである場合、上記コントローラ113にトナーの残量値の書換要求を送信する(図5、S507)。
【0058】
このトナーの残量値(自由書換データ)の書換要求において、上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号の種類は、上記管理手段132と上記アクセス領域判別手段111との間で転送される信号と同じもの種類としている。よって、図6において、上記管理手段132と上記アクセス領域判別手段111との間で転送される信号と、上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号とを区別し易いように、上記アクセス領域判別手段111と上記コントローラ113との間で転送される信号の符号に´を付している。
【0059】
上記コントローラ113に対するトナーの残量値の書換要求は、プリンタ130から送信された書換要求に含まれるアドレスADR´(g)´とトナーの残量値DTA´(h)´(この書換要求のトナーの残量値DTA´(h)´は、プリンタ130から送信されたトナーの残量値DTA(h)と同じ値である)と、R/W´信号=Low(q)´と、アクセスイネーブル信号ENB´=Low(r)´とから構成される。
【0060】
上記アクセス領域判別手段111からトナーの残量値の書換要求が送信されると、上記コントローラ113は、まずR/W´(q)´信号のレベルを判断する(図5、S508)。ここではLowレベル(書換要求)であるので、上記コントローラ113は、トナーの残量値の書換要求に含まれるアドレスADR´(g)´が示す領域に記憶された現状のトナーの残量(更新前のトナーの残量)を、上記管理手段132で得られた新たな(トナーの書換要求に含まれる)トナーの残量値DTA´(h)´に書き換える(図5、S509)。上記コントローラ113は、トナーの残量値を書き換えると、図6のタイミングチャートに示すようにアクセス完了信号END´=Low(s)´を上記アクセス領域判別手段111に転送する(図5、S510)。
【0061】
上記アクセス領域判別手段111は、アクセス完了信号END´=Low(s)´を受信すると、次に書き換え終了処理に入る。まず、上記コントローラ113と同じように上記管理手段132に対してアクセス完了信号END=Low(s)を転送する(図5、S511)。
【0062】
上記管理手段132は、アクセス完了信号END=Low(s)を受信すると、アクセスイネーブル信号ENB(j)をHighに戻す(図5、S512)。
【0063】
次に上記アクセス領域判別手段111は、アクセスイネーブル信号ENB(j)がHigh戻ったのを確認したら、アクセスイネーブル信号ENB´(r)´をHighに戻す(図5、S513)。
【0064】
上記コントローラ113はアクセスイネーブル信号ENB´(r)´がHighに戻ったことを検知したら、アクセス完了信号END´(s)´をHighに戻す(図5、S514)。上記アクセス領域判別手段111は、アクセス完了信号END´(s)´がHighに戻ったのを確認したら、R/W´信号(q)´及びアクセス完了信号END(s)をHighに戻す(図5、S515)。
【0065】
上記管理手段132は、アクセス完了信号END(s)がHighに戻ったことを確認したら、上記アクセス領域判別手段111へのアドレスADR(g)、トナーの残量値DTA(h)、R/W信号=Low(i)の送信を終了する。それと同時に、上記アクセス領域判別手段111も、上記コントローラ113への上記アドレスADR´(g)´、トナーの残量値DTA´(p)´、R/W´信号=Low(q)´の送信を終了する(図5、S516)。以上、図5のS512からS516までが、書き換えの終了処理である。
【0066】
尚、上記アクセス領域判別手段111は、上記判断ステップS506において上記書換判定手段112からY/N信号=High(n)を受け取った場合、または上記判断ステップS503にてアドレスADR(g)が書換禁止領域103を指していると判別した場合、コントローラ113にトナーの残量値の書換要求を送信せずに、手順S511を行う。即ち上記アドレス領域判別手段111は、Y/N信号=High(n)を受け取ると、上記管理手段132にアクセス完了信号END=Low(s)を転送する。その後の手順はY/N信号=Low、つまりYESの場合と同じである。
【0067】
なお、上記では上記書換判定手段112にてトナーの残量値の書換えが可能であると判定された場合のみ、トナーの残量値の書換要求をコントローラ113に送信しているが、このような判定結果に関わらず上記アクセス領域判別手段111は、トナーの残量値の書換要求を管理手段132から受けると、コントローラ113にトナーの残量値の書換要求を送信するようにしてもよい。例えばトナーの残量値が記憶されたアドレスADRと現在のトナーの残量値DTAとR/W信号=Lowが送信されると、上記アクセス領域制御手段111は、上記書換判定手段112からの判定結果を待たずに、上記コントローラ113にトナーの書換要求を送信する。すなわち、手順S503からS507へ飛ぶ。
【0068】
また、上記ではトナーの残量値は自由書換領域105に記憶されている場合について説明したが、トナーの残量値は不可逆書換領域104に記憶されていてもよい。
【0069】
さて、上記管理手段132は、上述のようにトナーカートリッジ101が装着されたことを認識すると、その直後または一定枚数印刷後に上記状態値をトナーカートリッジ101(トナーボトル)が使用中であることを示す値に書き換える。図9及び図10は、不可逆書換領域104に格納されている状態値の書換順序を示した例である。
【0070】
上記管理手段132は、トナーカートリッジ101が装着され、または装着されてからある程度印刷を行うと、上記状態値を図10のトナーボトルが新品である状態を示す値から、図10のトナーボトルが使用中(トナーボトルの使用が1回目)であることを示す状態値に書き換える。
【0071】
そこで上記管理手段132は、現在の状態値(‘11111111’)すなわちトナーカートリッジ101が新品であることを確認すると、図10に示すようにトナーカートリッジ101のトナーボトルが使用中である(1回目)ことを示す状態値(‘11111110’)に書き換える書換要求をトナーカートリッジ101に送信する(図5、S501)。この書換要求により、上記アクセス領域判別手段111は、以下に示すように、トナーの残量値の書換要求が入力されたときと同じように状態値を記憶手段120から読み出し(図6、S501〜S505)、上記書換判定手段112がトナーの残量値の書換の判定と同様に(図6のS505〜S506)状態値の書換えが可能か否かの判定を行う。
【0072】
この状態値の書換要求は、上記自由書換データの書換要求と同じ種類の信号にて構成される。即ち、図6に示すように状態値が記憶されたアドレスADR(g)と、状態値(‘11111110’)DTA(h)と、R/W信号=Low(i)と、アクセスイネーブル信号ENB=Low(j)とから構成される。
【0073】
トナーカートリッジ101に送信された上記状態値の書換要求は、上記アクセス領域判別手段111に入力され、当該書換要求に含まれる状態値(‘11111110’)DTA(h)だけが上記書換判定手段112にも入力される。
【0074】
上記アクセス領域判別手段111は、上記状態値の書換要求が入力されると、上記のようにR/W信号(i)のレベルを判断する(図5、S502)。ここで上記アクセス領域判別手段111は、Lowレベル(書換要求)と判断すると、上記書換要求に含まれるアドレスADR(g)が上記記憶手段102のうちどの領域を指しているのかを判別する(図5、S503)。
【0075】
アドレスADR(g)が指す領域が不可逆書換領域104と判別すると、上記アクセス領域判別手段111はまず、上記コントローラ113に対し、状態値の書換要求に含まれるアドレスADR(g)に現在格納されている状態値の読出要求を送信する。この読出要求は、R/W´信号=High(i)´と、状態値の書換要求に含まれるアドレスADR´(g)´と、アクセスイネーブル信号ENB´=Low(j)´とから構成される。
【0076】
上記アクセス領域判別手段111からの読出要求を受信すると、上記コントローラ113は、R/W´(i)´信号のレベルを参照してアクセス領域判別手段111からの要求が読出要求であることを判断する。次に、コントローラ113は、当該状態値の読出要求のアドレスADR´(g)´が示す領域から状態値(‘11111111’)を読み出す(図7、S701)。
【0077】
そして、コントローラ113は、上記アクセス領域判別手段111に対しアクセス完了信号END´=Low(k)´と読み出した状態値(‘11111111’)´(p)´を送信し、更に上記書換判定手段112に、当該状態値(‘11111111’)´(p)´のみを転送する。
【0078】
但しこの場合、上記アクセス領域判別手段111は、上記記憶手段102から上記コントローラ113を通じて受信したトナー残量値DTA´(p)´を、上記管理手段132には渡さず、代わりに上記書換判定手段112に対し、CTR信号=Low(l)を送信する(図7、S702)。
【0079】
上記書換判定手段112は、上記アクセス領域判別手段111よりCTR信号=Low(l)を受信すると、状態値の書換要求に基づく書き換えが可能であるかどうかの判定を行う。そこで、上記書換判定手段112は、例えば以下のように状態値(‘11111111’)DTA(h)と、状態値(‘11111110’)DTA´(p)´との比較処理を行う。
【0080】
まず、上記書換判定手段112は、図9に示すように現在の状態値と書換要求に含まれる状態値それぞれを先頭ビットから2ビットづつk個の書換単位に分割する。ここでは、図9に示すように現在の状態値と書換要求に含まれる状態値を第1の書換単位、第2の書換単位、第3の書換単位、第4の書換単位と4つの書換単位に分割することになる。
【0081】
次に上記書換判定手段112は、現在の状態値から分割された第1〜4の書換単位(D2k−1、D2k−2)(下付の字は、Dが状態値の最下位から何ビット目かを表す)と、書換要求に含まれる状態値から分割された第1〜4の書換単位(E2k−1、E2k−2)との関係が{(D2k−1、D2k−2)、(E2k−1、E2k−2)}={(00)、(00)}、{(10)、(10)}、{(11)、(11)}のいずれか(書換不要状態)であるか、もしくは{(10)、(00)}、{(11)、(10)}のいずれか(書換可能状態)に該当するかどうか判定する(図7、S703)。この判定を実現するための回路の一例を図12及び図13に示す。図12は、図13におけるSa部分の詳細を示した図である。なお、ここでは図12のオアゲートSfは無いものとする。また、図12及び図13に示す回路と対応する論理式を図11に示す。図12及び図13の記号S1〜S6で示す回路は、図11のそれぞれの記号で表された論理式と対応する回路である。
【0082】
図12、13のA、Bには、上記書換判定手段112によって(E2k−1、E2k −2)が入力され、C、Dには(D2k−1、D2k−2)が入力される。A、B、C、Dに{(00)、(00)}、{(10)、(10)}、{(11)、(11)}、{(10)、(00)}、{(11)、(10)}のいずれかが入力された場合、図13の論理回路の出力値が0となる。
【0083】
第1〜4の各書換単位を判定した結果を全て集約し、状態値全体が書換え可能かどうかを判定する論理回路が図14である。ここで図14中のSg(k=3)〜Sg(k=0)はそれぞれ、図12および図13の論理回路を用いた{(D、D)、(E、E)}、{(D、D)、(E、E)}、{(D、D)、(E、E)}、{(D、D)、(E、E)}の判定結果である。図14の論理回路を必要とする理由は、たとえ{(D、D)、(E、E)}、{(D、D)、(E、E)}、{(D、D)、(E、E)}、{(D、D)、(E、E)}の各書換単位のそれぞれが書換可能または書換不要状態と判定されたからといっても、全書換単位を合わせた状態値全体が書換可能と限らないからである。つまり状態値全体が書換可能な条件は、各書換単位のうちのどれか1つが書換可能であって、その他の書換単位は全て書換不要でなければならない。全単位が書換不要であれば書き換える必要は無いし、逆に2つ以上の単位が書換可能と判定されたものは書き換えてはならない。言い換えれば、全書換単位が書換可能かまたは書換不要状態にあり(図14中の論理回路Scにより判定)、かつ各書換単位のうちのどれか1つが書換可能(図14中の論理回路SdとSeとの論理和により判定)である必要がある。
【0084】
よって上記書換判定手段112は、図12および図13の論理回路を内部に含む図14の論理回路に対し第1〜4の書換単位の値を入力して、図14の論理回路から0が得られたとき、全書換単位のうち1単位だけが書換可能状態でその他の単位が全て書換不要状態であると判定する。
【0085】
判断ステップS703において、図14の出力結果が0:書換え可、すなわち全書換単位のうち1単位だけが書換可能状態でその他の単位が全て書換不要状態であると判定した場合、上記書換判定手段112はアクセス領域判別手段111に対し、ANS信号(m)及びY/N信号=Low(n)を送信し、状態値の書き換えが可能であることを伝える。
【0086】
上記アクセス領域判別手段111は、ANS信号(m)と及びY/N信号=Low(n)とを受信すると、手順S507に移行し、状態値の書換要求をコントローラ113に送信する。この書換要求は、R/W´=Low´(q)´信号と、上記管理手段132が送信した書換要求に含まれるアドレスADR´(g)´と状態値(‘11111110’)DTA´(h)´とアクセスイネーブル信号ENB´(r)´とから構成される。
【0087】
上記アクセス領域判別手段111から送信された状態値の書換要求を受信すると、上記コントローラ113は、まずR/W´(q)´信号のレベルを判断する(図5、S508)。ここではLowレベル(書換要求)であるので、上記コントローラ113は、状態値の書換要求に含まれるアドレスADR´(g)´が示す不可逆書換領域104に記憶された現状の状態値(‘11111111’)を、上記管理手段132より得られた新たな状態値(‘11111110’)に書き換える(図5、S509)。上記コントローラ113は、状態値を書き換えると、アクセス完了信号END´=Low(s)´を上記アクセス領域判別手段111に送信する(図5、S510)。
【0088】
上記アクセス領域判別手段111は、アクセス完了信号END´=Low(s)´を受信すると、上記コントローラ113と同じように上記管理手段132に対してアクセス完了信号END=Low(s)を送信する(図5、S511)。これ以降の信号の送受信は、トナー残量値の書き換えの場合と同じである。
【0089】
尚、上記書換判定手段112は、判断ステップS703において、上記条件を満たさないと判定した場合、状態値の書換要求に基づく書き換えを不可と判定し、アクセス領域判別手段111に、ANS信号(m)とY/N信号=High(n)を送信して、書き換え不可であることを伝える。
【0090】
Y/N信号=High(n)を受信すると、上記アクセス領域判別手段111は、コントローラ113に状態値の書換要求を送信せずに、上記管理手段132に対しアクセス完了信号END=Low(s)のみを送信する(図5、S511)。
【0091】
以上のようにしてトナーカートリッジ101が装着されたプリンタ130にて印刷が行われると、トナーの残量値が減算され、やがて0になる。もちろん、上記管理手段132は、トナーの残量値が所定値、例えば印刷可能予想枚数が残り30枚となった時点で、トナーの残量値が0となったものと判断してもよい。
【0092】
上記管理手段132は、トナーボトルが空になったと判断すると、例えばプリンタ130に備えられたモニタ136やスピーカ137を用いてユーザにトナーがなくなったことを知らせる。
【0093】
ユーザは、トナーが空になったことを知らされると、プリンタメーカや、プリンタメーカがトナーの補給を委託している工場(以下、「認定工場」という)にトナーを補給してもらう。
【0094】
認定工場はトナーを補給すると、トナーボトルが使用中(1回目)になっていることを示す状態値(‘11111110’)を図10に示すようにトナーが1回補給されたことを示す状態値(‘11111100’)に書き換えるために、状態値の書換要求を発生させる書換機器200をトナーカートリッジ101に接続する。
【0095】
当該書換機器200は、例えば管理手段132と同じ機能のプログラムが導入されたコンピュータ等である。従って、トナーボトルが空になってトナーが補給されていないことを示す状態値からトナーが補給されたことを示す状態値への書換手順は、前述したプリンタ130本体での状態値の書換えと同じである。尚、図10に示すように本実施の形態では、使用中のトナーボトルの状態値と補給されたトナーボトルの状態値の各書換単位を比較すると、各書換単位は両方とも(11)または(00)のどちらかであるか、または使用中のトナーボトル側の当該書換単位が(10)で、補給されたトナーボトル側の当該書換単位が(00)である。
【0096】
このトナーボトルが使用中であることを示す状態値からトナーが再補給されたことを示す状態値への書き換え、すなわち第1〜4の各書換単位において、{(D2k−1、D2k−2)、(E2k−1、E2k−2)}={(10)、(00)}の書き換えは、認定工場のみ可能なようにすることもできる。
【0097】
それを実現するためには、図12において、オアゲートSfを論理回路に組み込む。オアゲートSfの入力側Eは、トナーボトルに搭載されている記憶装置全体への電源印加時の初期状態が1である。トナーボトルに搭載されている記憶装置への電源供給が一度切断されると、その後再び電源が供給されても、オアゲートSfの入力側Eは0ではなく、初期状態であるところの1に戻る。このオアゲートSfの入力側Eに‘0’信号が印加されたとき、図13の論理回路において‘0’の出力値が得られ、{(D2k−1、D2k−2)、(E2k−1、E2k−2)}={(10)、(00)}の書換が可能となる。認定工場のみがオアゲートSfの入力側Eに‘0’信号を印加することができるようにするためには、例えば以下のような方法がある。
【0098】
トナーカートリッジ101の製造段階において、上記記憶手段102に上記書換禁止領域103、不可逆書換領域104、自由書換領域105とは別に、隠れ領域106を設ける。この隠れ領域106にトナーの補給が認定工場で行われたかどうかを認証するために利用する認証キーを格納しておく。プリンタメーカは、上記認証キーを認定工場にのみ開示しておき、更に上記隠れ領域106のアドレスが格納された書換機器200を認定工場のみに配布しておく。
【0099】
実際に認定工場にてトナーを補給する際には、まず、作業員は図15に示すように上記書換機器200とアクセス領域判別手段111とを接続する。接続する信号線の種類は、図2における管理手段132とアクセス制御手段110との間にあるものと同じである。それゆえ、書換機器200内にある管理手段を232とし、前述の管理手段132を232に置き換えて、これ以後の説明を続ける。
【0100】
作業員は、上記認証キーを上記書換機器200に入力して、例えば上記書換機器200に設けられた再補給ボタン231を押下する。
【0101】
すると、上記管理手段232はまず、上述のフローチャート図3およびタイミングチャート図4に従って状態値の読出要求を上記アクセス領域判別手段111に送信し、上記不可逆書換領域104に記憶された状態値(‘11111110’)を取得する(S301〜S307)。
【0102】
上記管理手段232は、取得した状態値(‘11111110’)によりトナーボトルが使用中の状態になっていることを確認したら、次にフローチャート図5、図8およびタイミングチャート図6に従って{(D2k−1、D2k−2)、(E2k−1、E2k−2)}={(10)、(00)}の書換ロックを解除する(オアゲートSfの入力側Eに‘0’を入力すること)ためのロック解除要求を、書換要求と同じ手順で上記アクセス領域判別手段111に送信する(図5、S501)。ここでのロック解除要求には、図6に示す隠れ領域106のアドレスADR(g)と、R/W信号=Low(i)と、アクセスイネーブル信号ENB=Low(j)と、上記作業員によって入力された認証キーのデータDTA(h)とから構成される。上記作業員によって入力された認証キーのデータDTA(h)は、書換判定手段112へも転送される。
【0103】
上記アクセス領域判別手段111は、ロック解除要求を受信すると、まず当該書換要求に含まれるR/W信号(i)を判別し(図5、S502)、次いで当該書換要求に含まれるアドレスADR(g)が示す領域を判定する(図5、S503)。当該アドレスADR(g)が隠れ領域106を示すと判定したら、上記アクセス領域判別手段111は、コントローラ113に対し上記隠れ領域106に格納された認証キーの読出要求を送信する。ここでの読出要求の送信には、隠れ領域106のアドレスADR´(g)´と、R/W´信号=High(i)´と、アクセスイネーブル信号ENB´=Low´(j)´とから構成される。
【0104】
上記コントローラ113は認証キーのデータDTA´(p)´を読み出すと、上記アクセス領域判定手段111に認証キーのデータDTA´(p)´を読み出した旨を示すアクセス完了信号END´=Low(k)´を送信し、上記書換判定手段112に対し認証キーのデータDTA´(p)´を送信する。
【0105】
上記アクセス領域判別手段111は、アクセス完了信号END´=Low(k)´を受信すると、認証作業を指示する認証信号KEY=Lowを上記書換判定手段112に送信する(図8、S801→S802)。
【0106】
認証信号KEY=Lowを受信すると、上記書換判定手段112は、上記作業員によって入力された認証キーのデータDTA(h)とコントローラ113にて読み出された認証キーのデータDTA´(p)´とが一致するか否かを判定する(図8、S803)。この判定は、例えば両者の各ビットの排他論理和を用いて行う。一致した場合は、全てのビットにおいて排他論理和が0となり、一致しない場合は、どれか1つ以上のビットにおいて排他論理和が1となる。従って、各ビットの排他論理和の総和が0であれば「一致する」とみなすことが出来、1以上であれば「一致していない」とみなすことが出来る。
【0107】
2つの認証キーが一致すると判定した場合は、上記書換判定手段112は、図12に示すオアゲートSfの入力側Eに0を設定し、それと同時に、上記アクセス領域判別手段111にANS信号=LowとY/N信号=Lowを送信して、上記アクセス領域判別手段111に対し認証キーのデータが一致したことを通知する(図8、S804YES)。一致しないと判定した場合は、オアゲートSfの入力側Eを1のままにしておき、それと同時に、上記アクセス領域判別手段111にANS信号=LowとY/N信号=Highを送信して、上記アクセス領域判別手段111に対し認証キーのデータが一致したことを通知する(図8、S804NO)。
【0108】
更に、上記アクセス領域判別手段111は、認証作業が終了したことを上記管理手段232に対し、END信号=Low(s)を送信することにより通知する(図5、S511)。上記管理手段232は、ENB信号=Low(j)をHighに戻し、上記アクセス領域判別手段111に対し認証作業の終了を確認したことを通知する(図5、S512)。上記アクセス領域判別手段111は、認証作業の終了を確認すると、ステップS513、S514を飛ばして、END信号=Low(s)をHighに戻し、認証作業を終了する(図5、S515)。
【0109】
認証作業が終了したら、上記管理手段232は状態値の書換要求を上記アクセス領域判別手段110に対し送信する(図5、S501)。今回の書換要求は、状態値が記憶された不可逆書換領域104のアドレスADR(g)と、R/W信号=Low(i)と、アクセスイネーブル信号ENB=Low(j)と、トナーが1回再補給された状態を示す状態値(‘1111100’)DTA(h)とから構成される。
【0110】
以下の書き換え手順については、前記プリンタ内で行うものと同じである。すなわち上記アクセス領域判別手段110は、上記管理手段232にて送信された書換要求に含まれる状態値のアドレスADR(g)とR/W信号=Low(i)と取得し、R/W信号のレベルを判別する(図5、S502)。
【0111】
Lowと判断すると、上記アクセス領域判別手段111は、取得した状態値が記憶されたアドレスADR(g)が指す領域を判別する(図5、S503)。上記アクセス領域判別手段111は、当該アドレスADRが不可逆書換領域104を指すと判別したら、上記状態値の書き換えと同じように、上記コントローラ113に対して状態値の読出要求を送信する(図7、S701)。そして、上記書換判定手段112は、上記コントローラ113が読み出した状態値(‘11111110’)と上記管理手段232が送信した状態値(‘11111100’)とを比較して、状態値の書換え可能かどうか判定する(図7、S702→S703)。書き換えが可能と判定されると、書換えの処理は上記ステップ507に移行し、書き換えが不可と判定されると、書換えの処理は上記ステップ511を移行する。
【0112】
以上のように、状態値が使用中(1回目)であることを示す値(‘11111110’)から、(‘11111100’)への書換えは、認証キーが必要となる。よって、認証キーを知らないサードベンダは、トナーの再補給はできても、状態値を書き換えることはできない。
【0113】
また以上のように、隠れ領域106に格納された認証キーは、上記書換判定手段112に読み出されることはあるが、トナーカートリッジ101から外に読み出されることは無いので、サードベンダ等は、プリンタメーカからの開示以外の方法で認証キーを知ることはできない。
【0114】
また、例えば正しくない認証キーを用いて、状態値の書換えを行ったとしても、状態値は書換えられることは無く、上記書換機器200にはステップ511において上記アクセス領域判別手段110からアクセス完了信号(s)のみが送信されるだけである。従って、サードベンダ等は、状態値が正常に書き換えられたかどうか知ることもできない。
【0115】
なお、上記隠れ領域106に格納される認証キーは、トナーカートリッジ100毎に異なってもよいし、ロット毎や製造時期毎に異なっても良い。このように、異なる認証キーを用いることで、認証キーがサードベンダに割り出される可能性を抑えることができる。
【0116】
尚、認定工場がトナーを補給した段階ではトナーの残量値は0となっているので、トナーカートリッジ101をユーザに渡す前に、認定工場は、書換機器200を用いて上記のようにトナーの残量値の書換要求を送信して、トナーの残量値を、満タンを示す値に書き換えておく。
【0117】
しかし、トナーの残量値を0から満タンへの書き換えは、即ち、トナーの残量値が増える方向への書換えは、上記書換判定手段112にて不可と判定される。そこで、上記アクセス領域判別定手段111は、上記のように正しい認証キーのデータを受信することにより書換ロックを一旦解除すると、上記書換機器200と切断されるまでの間、または書換機器200の電源がOFFになるまでの間はトナーの残量値の書換要求を常に可能と判定するようにする。即ち、この間に上記管理手段232から送信された書換要求に自由書換領域105を示すアドレスADRがあると判断したら、上記アクセス領域判別手段111は、上記書換判定手段112の判定の結果に関わらず、上記コントローラ113に対して状態値の書換要求を送信する。
【0118】
ユーザは、トナーが補給されたトナーカートリッジ101をプリンタ130に装着すると、上記のようにプリンタ130の装着センサ136は、トナーカートリッジ101の装着を認識し、その後上記管理手段132は、上記のようにトナーカートリッジ101に状態値の読出要求を送信する。
【0119】
当該読出要求によって、上記管理手段132は、上記のように不可逆書込領域104から状態値(‘11111100’)を読み出す。トナーの補給を認定工場が行った場合、全書換単位の値が‘00’または‘11’である。このように‘00’、‘11’となるのは、トナーカートリッジ101がプリンタに装着された時に上記管理手段132が、書換単位の下位1ビットを‘1’から‘0’に書き換え、更に認定工場が、トナーの補給の際に上位1ビットを‘1’から‘0’に書き換えるためである。よって、書換単位の値が‘10’であるトナーカートリッジ101は、トナーカートリッジ101が一旦プリンタ130に装着されたか、サードベンダにてトナーが補給されたかのどちらかである。又、書換単位が‘01’の状態となることは、状態値が第三者によって改ざんされない限りあり得ない。
【0120】
よって、値が‘10’、または‘01’の書換単位が1つでもある場合、上記管理手段132は、例えば「トナーの補給は認定工場以外の業者にて行われた可能性があります。トナーが認定工場以外の業者にて行われた場合、このカートリッジを使用すると、印刷品質の低下や、プリンタの故障の原因となる場合があります。」という警告をモニタ136に表示する。もちろん、このような警告のユーザへの通知の方法は特に限定されるものでなく、上記管理手段132は、トナーの補給がサードベンダにて行われた旨を示す警告音をスピーカ137から発生させるようにしてもよい。
【0121】
上記警告がプリンタ130にて発生すると、ユーザは、当該トナーカートリッジ101をプリンタ130から取り出して、他のトナーカートリッジ101をプリンタ130に装着するようにする。
【0122】
上記のような警告を行うのは、サードベンダは、プリンタメーカからトナーの補給が委託されておらず、プリンタ130の詳細な仕様を知ることができないために、プリンタ130に適合していないトナーを補給することがあるからである。また安価で品質の悪いトナーを補給するサードベンダもあり、このような品質の悪いトナーを使用することによるプリンタ130の印刷品質の低下や、故障を防ぐためでもある。また、トナーの補給を認定工場が行ったのか、サードベンダが行ったのかは上記状態値にて示されるため、サードベンダがユーザに対して認定工場と偽ってトナーの補給を行ったとしても、上記のような警告がユーザに通知される。
【0123】
尚、上記警告が発生したとした場合、プリンタ130が印字不能となるように設定しておいても良いし、印字可能状態にしたままで、ユーザに対し警告を発するだけの設定にし、当該トナーカートリッジ101を使用するかどうかの判断を、ユーザに委ねるようにしても良い。
【0124】
トナーが補給されたトナーカートリッジ101をプリンタ130に装着してプリンタ130が印刷を行うと、上記管理手段132は、上記のようにトナーの残量値を書き換える。更に、上記管理手段132は、上記のように状態値をトナーが1回補給された状態を示す状態値(‘11111100’)からトナーボトルが使用中(2回目)であることを示す(‘11111000’)に書き換える。
【0125】
また、トナーが空になるとユーザは、再び認定工場にトナーカートリッジ101を渡し、認定工場は状態値を(‘11110000’)に書き換えてユーザに渡す。
【0126】
図10に示すように、トナーが空になり、トナーが補給されるたびに状態値は、(‘11111110’)→(‘11111100’)→(‘11111000’)→・・・→(‘10000000’)と変化する。即ち、8ビットの状態値で、3回を限度として認定工場が行ったトナーの補給回数と、4回を限度としてトナーが空になった回数を区別することができる。
【0127】
そこで、トナーが4回空になるとトナーの補給ができない旨をユーザに知らせるために、上記管理手段132は、状態値を(‘10000000’)に書き換えた後トナー残量が0になると、例えばモニタ136への表示により、ユーザに廃棄または認定工場への返却を指示する。該指示により、ユーザは、認定工場にトナーカートリッジ101の廃棄または返却を依頼する。なお、上記管理手段132は、トナーボトルがプリンタ130に挿入された直後や、トナーボトル内のトナー残量が0と判断された場合に、モニタ136を用いて「3回補給可能です」という表示しておいてもよい。
【0128】
上記では触れていないが、上記書換要求が示すアドレスADRが、上記書換禁止領域103を指す場合、上記アクセス領域判別手段111は、コントローラ113に書換要求を送信せずに、上記管理手段132にアクセス完了信号ENDを直ちに送信する。これにより、上記書換禁止データは、書き換えられることはない(図5、S511)。
【0129】
尚、例えばトナーカートリッジ101の製造段階において、上記書換禁止領域103に書換禁止データを書き込むためには、例えば以下のような方法を用いれば可能となる。トナーカートリッジ101の製造者は製造段階において、書換禁止データを、アクセス制御手段111を介さないルートで書込みを行ってから、例えばアクセス制御手段111及び記憶手段102の実装面を樹脂などで封止して、アクセス制御手段111と記憶手段102の間の信号線が露出しないような構造にする。
【0130】
上記の構成以外に、上記アクセス制御手段110と記憶手段102を1つのICパッケージとして実現しても良い。その場合には上記書換禁止領域103に対する書き込みは、ある暗号キーを入力した場合のみ書き込みが可能となるという方法に採用すればよい。尚、アクセス制御手段110と上記記憶手段102とが一体であるか否かについて本発明は限定するものではない。
【0131】
また、上記では機器本体、着脱ユニットの一例としてプリンタ130、トナーカートリッジ101を用いて本発明を説明したが、機器本体、着脱ユニットは、プリンタ130、トナーカートリッジ101以外であってもよいことはいうまでもない。
【0132】
最後に、書換単位の関係が図9に示す関係を満たすか否かに基づいて、状態値の書き換え可能かどうかの判断が行われることについて説明する。
【0133】
上述のようにトナーの補給を認定工場が行う場合、現在の状態値の書換単位や状態値の書換要求に含まれる書換単位が‘01’となることはあり得ない。そのため、(D2k、D2k−1)、(E2k、E2k−1)の少なくともどちらか一方が‘01’の場合、上記書換判定手段112が書換不可と判定するという意味で「×」としてある。
【0134】
また、‘11’から‘00’への書き換えは、「トナーが空になると同時にトナーが補給された」ということを表すことになり、このような状況もありえない。また、‘00’から‘11’の書き換えは「トナーが認定工場にて補給された状態から補給される前の状態」を意味し、‘10’から‘11’の書き換えは、「トナーが空になった状態からトナーが空で無くなったこと」を意味し、このようなことは、現実ではありえないので「×」としてある。
【0135】
また、「△」を記載している部分は、状態値の書換を行う必要がないことを示している。
【0136】
【発明の効果】
以上のように本発明によれば、着脱可ユニットにおいて、着脱ユニットに備えられた記憶装置が、前記着脱ユニットが適応する本体機器及び前記着脱可能ユニットの製造者を除く第三者の書換禁止データ、状態値、自由書換データの改ざんを防止することができる。
【図面の簡単な説明】
【図1】本発明を搭載したプリンタ及びトナーカートリッジの概略ブロック図
【図2】本発明のアクセス制御手段の概略ブロック図
【図3】記憶手段に記憶されているデータの読み出しの手順を示すフローチャート
【図4】記憶手段に記憶されているデータの読み出しについてのタイミングチャート
【図5】記憶手段への書換データの書き込みの手順を示すフローチャート
【図6】書換データの書き換えについてのタイミングチャート
【図7】記憶手段へのトナー残量値データの書き込み手順を示すフローチャート
【図8】認証キーによる書き換えロック解除についてのフローチャート
【図9】トナーボトル状態値の書き換え可/不可の判定例
【図10】トナーボトル状態値の変化を示す図
【図11】トナーボトル状態値のある書換単位が書き換え可/不可を判定するための論理式
【図12】図11の論理式を実現するための論理回路(1)
【図13】図11の論理式を実現するための論理回路(2)
【図14】書換可能な書換単位が1つであるかどうかを判定するための論理回路
【図15】書換機器とトナーカートリッジの機能ブロック図
【符号の説明】
100 記憶装置
101 トナーカートリッジ
102 記憶手段
103 書換禁止領域
104 不可逆書換領域
105 自由書換領域
106 隠し領域
110 アクセス制御手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a storage device provided in a detachable unit detachable from a main device.
[0002]
[Prior art]
When designing a device having a certain work purpose, it is a commonly used design method to provide a so-called "detachable unit" in which a part of the device is detachable. For example, “equipment having an image forming apparatus” such as a printer, a copying machine, and a facsimile has an ink cartridge, a toner cartridge, an intermediate transfer member, a fixing device, and the like as detachable units.
[0003]
For example, when the toner in the toner cartridge inserted into the printer runs out, the user hands over the empty toner cartridge to the printer maker or a company designated by the printer maker to have the toner replenished. A printer maker or the like replenishes toner optimal for the specifications of the user's printer and delivers the toner cartridge to the user.
[0004]
[Patent Document 1]
Japanese Patent Application Laid-Open No. 9-185311
[Patent Document 2]
JP 2000-137416 A
[Patent Document 3]
JP 2000-246921 A
[Patent Document 4]
JP 2000-347503 A
[Patent Document 5]
JP 2001-175146 A
[0005]
[Problems to be solved by the invention]
However, toner can be supplied by a printer maker or a company other than a company designated by the printer maker (a so-called third vendor). However, since the third vendor does not manufacture the printer in-house, the third vendor cannot grasp the detailed specifications of the printer for which the third vendor is manufacturing compatible toner. Therefore, the third vendor may supply non-optimal toner to the printer.
[0006]
Therefore, when a third vendor prints using a toner cartridge replenished with toner, the print quality may be poor or the printer may fail as compared with a case where a printer maker or the like uses a toner cartridge replenished with toner. Such troubles occur not only in the relationship between the toner cartridge and the printer, but also in a general device main body and a detachable unit.
[0007]
Accordingly, the present invention has been made in view of the above problems, and when a detachable unit is attached to a device main body, the detachable unit is installed so that the device main body can determine whether or not the detachable unit is compatible with the main device. It is an object of the present invention to provide a detachable unit provided with a storage device for storing the state of the device.
[0008]
[Means for Solving the Problems]
The present invention employs the following means to achieve the above object. That is, the present invention presupposes a storage device provided in a detachable unit that can be detached from a device main body. The storage device includes a storage unit having an irreversible rewrite area for storing a status value used in the device main body to grasp the status of the detachable unit.
[0009]
The state value indicates whether the detachable unit is new, the number of remaining uses of the detachable unit, the remaining use time, and the like, which change only in one direction. For example, the detachable unit may change from a new one to a used one, but it does not change from a used one to a new one, and the number of remaining uses and the remaining use time are reduced but not increased. When there is a rewrite request for such a state value, the access control means determines whether rewriting according to the rewrite request is appropriate. For example, as described above, when the status value indicates whether the renewal request is new, if the rewrite request requests rewriting from a value indicating newness to a value indicating use, the access control unit performs rewriting based on the rewrite request. Judge as appropriate. If it is determined that the rewrite is appropriate, the access control means determines that rewriting based on the rewriting request is possible. Of course, the access control means determines that the rewrite request that requests rewriting in the reverse direction is not appropriate, and determines that rewriting in the reverse direction is not possible.
[0010]
The access control means rewrites the state value according to the rewrite request when it is determined that the state value is possible, and does not rewrite the state value when it is determined that the state value is not possible.
[0011]
Further, in order to prevent a third party from rewriting the state value, the access control means determines whether or not the request for rewriting the state value is valid. Rewrite. In this determination, for example, when there is a status value rewrite request, the access control unit performs the authentication data stored in the hidden area provided in the storage device of the present invention and the authentication data included in the status value rewrite request. This is performed based on whether or not the data matches.
[0012]
Further, the storage means may be provided with a rewrite prohibited area or a free rewrite area in addition to the irreversible rewrite area. The rewrite prohibited area is an area for storing rewrite prohibited data such as a model number, a serial number, a lot number of the detachable unit, and a model and a destination of the corresponding main device. The free rewriting area is an area for storing free rewriting data that changes sequentially as the detachable unit is used in the main device.
[0013]
As described above, when the storage unit is provided with the irreversible rewrite area, the rewrite prohibition area, and the free rewrite area, when a rewrite request for data stored in the storage means is generated, the access control unit rewrites the data. The type of the data to be requested is determined. When the data to be rewritten is the above-mentioned rewriting prohibited data, the access control means does not rewrite the data based on the rewriting request. Further, when the data to be rewritten is the state value, the access control means determines whether or not to rewrite the state value as described above, and if possible, performs the rewriting. In the case of free rewrite data, the access control means performs rewrite based on a rewrite request.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
(Embodiment 1)
FIG. 1 shows a case where the main body device is a printer 130 equipped with an image forming apparatus and the detachable unit is a toner cartridge 101. The toner cartridge 101 is provided with the storage device 100 of the present invention. The storage device 100 includes a storage unit 102 having an EEPROM or the like, and an access control unit 110 that controls rewriting of data in the storage unit 102 and reading of data stored in the storage unit 102. ing.
[0015]
In the present embodiment, the storage means 102 is divided into three memory spaces: a rewrite prohibited area 103, an irreversible rewrite area 104, and a free rewrite area 105. These memory spaces can be divided by using the addresses of the storage means 102. For example, when the storage unit 102 has a memory space indicated by an 8-bit address, an area whose first two bits of the address start with "00" is a rewrite-inhibited area 103, an area that starts with "01" is an irreversible rewrite area 104, An area starting with “10” or “11” is a free rewrite area 105.
[0016]
The rewriting prohibited area 103 is an area for storing rewriting prohibited data that must not be rewritten, such as the model number, manufacturing number, lot number, and model and destination of the printer 130 to which the toner cartridge 101 conforms. The irreversible rewrite area 104 is a state value that changes only in one direction, such as the number of times the toner cartridge 101 has been recycled, that is, how many times toner has been resupplied and whether the toner cartridge 101 is new. Is an area for storing. Further, the free rewrite area 105 is an area for storing free rewrite data other than the above rewrite inhibition data and the above state value, for example, a remaining amount of toner.
[0017]
In the present embodiment, it is assumed that a state value (for example, “11111111”) indicating that the toner cartridge 101 is new is written in the irreversible rewritable area 104 at the stage of manufacturing the toner cartridge 101.
[0018]
The status values and free rewrite data are data that changes when the printer 130 performs printing using the toner cartridge 101. Therefore, in order to rewrite the status values and the freely rewritten data with the printing, the printer 130 includes a management unit 132 for rewriting the status values and the freely rewritten data with the printing.
[0019]
When the toner cartridge 101 is mounted on the printer 130, the management unit 132 communicates with the access control unit 110 to read and rewrite the state value and the freely rewritten data. In order to read and rewrite the state value and the free rewrite data, for example, at the manufacturing stage of the printer 130, the management unit 132 stores an address of an area where the state value and the free rewrite data are stored.
[0020]
When the new toner cartridge 101 having the above state value (`11111111 ') is mounted on the printer 130, the mounting of the toner cartridge 101 is detected by the mounting sensor 136 provided in the printer 130. This detection is performed, for example, by providing an interrupter type optical sensor at a portion where the toner cartridge 101 is mounted, and blocking the light with the mounted toner cartridge 101.
[0021]
When the mounting sensor 136 detects the mounting of the toner cartridge 101, the management means 132 provided in the engine control unit (hereinafter referred to as ECU) 131 synchronizes with the toner signal in the timing chart of FIG. A request to read out the state value is transmitted to 101 (S301 in FIG. 3). The clock signal CLK is the frequency of an oscillator provided in the ECU 131 or the toner cartridge 101, or the frequency obtained by dividing the frequency.
[0022]
As shown in the timing chart of FIG. 4, the read request includes an address ADR (b) in which a state value to be read is stored and a read / write determination (hereinafter, referred to as “R / W”) signal indicating the read request. High (c) and an access enable signal ENB = Low (d). In the present embodiment, the R / W signal = High indicates a read request, and the R / W signal = Low indicates a rewrite request.
[0023]
The read request transmitted by the management unit 132 is received by the access control unit 110 of the toner cartridge 101. The access control means 110 includes an access area determination means 111, a rewrite determination means 112, and a controller 113 as shown in FIG.
[0024]
The read request received by the access control means 110 is input to the access area determining means 111, and the level of the R / W signal (c) is determined by the access area determining means 111 (FIG. 3, S302). . Here, if the access area determination unit 111 determines that the request is High (read request), the access area determination unit 111 transmits a state value read request to the controller 113 (FIG. 3, S303).
[0025]
In the present embodiment, the type of signal transferred between the access area determination unit 111 and the controller 113 when a read request is issued to the controller 113 is determined by the management unit 132 and the access area determination It is of the same type as the signal transferred to the means 111. Therefore, in FIG. 4, it is easy to distinguish a signal transferred between the management unit 132 and the access area determination unit 111 from a signal transferred between the access area determination unit 111 and the controller 113. As described above, the sign of the signal transferred between the access area determination unit 111 and the controller 113 is denoted by “′”.
[0026]
The read request to the controller 113 includes the address ADR '(b)' included in the read request transmitted from the printer 130, the R / W 'signal = High (c)', and the access enable signal ENB '= Low (d ) '.
[0027]
When the read request is transmitted from the access area determining means 111, the controller 113 first determines the level of the R / W 'signal (c)' (FIG. 3, S304). Here, since the level of the R / W 'signal (c)' is a High level (read request), the controller 113 moves the state value (read) from the area indicated by the address ADR '(b)' of the state value read request. Here, “11111111” is read out as the state value (S305 in FIG. 3).
[0028]
When the state value is read, the controller 113 transfers the read state value DTA '(f)' and the access completion signal END '= Low (e)' to the access area determining means 111 (FIG. 3, S306).
[0029]
Upon receiving the access completion signal END ′ = Low ′ (e) ′ and the state value DTA ′ (f) ′, the access area determining unit 111 transfers the access completion signal END = Low (e) from the controller 113. The state value DTA (f) thus obtained is transferred to the management means 132 (FIG. 3, S307).
[0030]
The management means 132 detects the access completion signal END = Low (e) from the access area discrimination means 111 and, after receiving the state value DTA (f), starts the read termination processing. First, the access enable signal ENB (d) is returned to High, and the completion of the reception of the state value is notified to the access area determining means 111 (S308 in FIG. 3).
[0031]
Next, after confirming that the access enable signal ENB (d) from the management means 132 returns to High, the access area determining means 111 changes the access enable signal ENB '(d)' to the controller 113 to High. (S309 in FIG. 3).
[0032]
When the controller 113 confirms that the access enable signal ENB '(d)' from the access area discriminating means 111 has returned to High, the controller 113 returns the access completion signal END '(e)' to High and performs the access area discrimination. The transmission of the status value is notified to the means 111 in advance (S310 in FIG. 3). Thereafter, the transmission of the state value DTA '(f)' is terminated (S311 in FIG. 3).
[0033]
The time from returning the access completion signal END ′ (e) ′ to High to ending the output of the state value DTA ′ (f) ′ is determined by the frequency of the clock signal CLK, the electrical characteristics in the access control unit 110, In particular, it can be determined based on the rise time, fall time, and wiring delay of the waveform. In this embodiment, it is three clocks after returning the access completion signal END ′ (e) ′ to High.
[0034]
Upon confirming that the access completion signal END ′ (e) ′ from the controller 113 has returned to High, the access area determination unit 111 returns the access completion signal END (e) to High, and The end of the transmission of the state value is notified in advance (S312 in FIG. 3). Thereafter, the output of the state value DTA (f) is terminated (S313 in FIG. 3). As described above, steps S308 to S313 in FIG.
[0035]
The time from when the access completion signal END '(e)' from the controller 113 returns to High to when the access completion signal END (e) to the management means 132 returns to High, and the state value DTA (f). The time until the output is completed can be determined based on the frequency of the clock signal CLK and the electrical characteristics in the management unit 132 and the access control unit 110, particularly, the rise time, fall time, and wiring delay of the waveform. I can do it.
[0036]
In this embodiment, the time from when the access completion signal END ′ (e) ′ from the controller 113 returns to High to when the access completion signal END (e) to the management unit 132 returns to High is determined by the access completion signal. One clock after END ′ (e) ′ returns to High, a time from when the access completion signal END ′ (e) ′ from the controller 113 returns to High to when the output of the state value DTA (f) ends. Is two clocks after the access completion signal END ′ (e) ′ returns to High.
[0037]
After the access completion signal END = Low (e) and the state value DTA (f) are transferred, when the access completion signal END (e) returns to High, the management unit 132 sets the address ADR (b) to The transmission of the R / W signal (c) is stopped, and it is recognized that the new toner cartridge 101 is mounted by referring to the read state value ('11111111') (S314 in FIG. 3).
[0038]
After the access completion signal END (e) returns to High, the time for ending the output of the address signals ADR (b) and ADR '(b)' from the management means 132 and the access area determination means 111 is: , The frequency of the clock signal CLK, and the electrical characteristics in the management means 132 and the access control means 110, in particular, the rise time, fall time, and wiring delay of the waveform. In the present embodiment, it is three clocks after the access completion signal END (e) returns to High.
[0039]
When the printer 130 performs printing with the toner cartridge 101 mounted, the remaining amount of toner decreases each time. Therefore, the management unit 132 updates the remaining amount of toner stored in the free rewriting area 105 every time printing is performed as follows.
[0040]
First, the management unit 132 calculates the remaining amount of toner, which is composed of the address ADR of the free rewrite area 105 in which the remaining amount of toner is stored, the R / W signal = High, and the access enable signal ENB = Low. A read request is transmitted to the toner cartridge 101.
[0041]
When there is a request for reading the remaining toner value, the access control unit 110 reads the remaining toner value from the free rewriting area 105 in the same procedure as the reading of the state value described with reference to FIGS. , To the management means 132. The remaining toner value is, for example, a value indicating how many pixels or how many sheets can be printed with the toner cartridge 101, or a value indicating the amount of toner remaining in the toner bottle.
[0042]
For example, when the remaining toner value is expressed in pixel units, the management unit 132 subtracts the number of pixels of the printed image counted by the pixel counting unit 134 from the read remaining toner value. When the remaining amount of toner is expressed in units of the number of sheets of a predetermined size, the management unit 132 calculates the number of sheets printed by the printer 130 counted by the number counting unit 135 from the remaining amount of toner read out. Subtract.
[0043]
When the remaining toner value is subtracted, the management unit 132 updates the remaining toner value stored in the free rewriting area 105 to the remaining toner value obtained by subtracting the remaining toner value. In accordance with the clock CLK shown, a request for rewriting the remaining amount of toner is transmitted to the toner cartridge 101 (S501 in FIG. 5).
[0044]
As shown in the timing chart of FIG. 6, the rewriting request of the remaining toner value is performed by the ADR (g) storing the remaining toner value, the subtracted toner remaining value DTA (h), and R / W signal = Low (i) and access enable signal ENB = Low (j).
[0045]
The rewriting request for the remaining amount of toner transmitted to the toner cartridge 101 is first input to the access area determining unit 111, and only the subtracted remaining amount of toner DTA (h) is transmitted to the rewriting determining unit 112. Is also entered.
[0046]
When the rewriting request of the remaining toner value is input, the access area determining unit 111 first determines the level of the R / W signal (i) (FIG. 5, S502).
[0047]
When determining that the access level is the low level (rewrite request), the access area determination unit 111 determines which area of the storage unit 120 the address ADR (g) included in the rewrite request indicates (S503 in FIG. 5).
[0048]
If it is determined that the address ADR (g) points to the free rewrite area 105, the access area determination means 111 first stores the address ADR (g) in the address ADR (g) included in the rewrite request of the remaining toner value to the controller 113. The request for reading the remaining toner value is transmitted. The read request includes an R / W signal '= High (i)', an address ADR '(g)' included in the rewrite request for the remaining amount of toner, an access enable signal ENB '= Low (j)'. Consists of
[0049]
When a read request is transmitted from the access area determining means 111, the controller 113 refers to the level of the R / W '(i)' signal and determines that the request from the access area determining means 111 is a read request. Judge. Next, the controller 113 reads out the remaining amount of toner from the area indicated by the address ADR '(g)' included in the read request (S504 in FIG. 5).
[0050]
Next, the controller 113 transmits the access completion signal END ′ = Low (k) ′ and the read toner remaining amount value DTA ′ (p) ′ to the access area determination unit 111, and the read-out to the rewrite determination unit 112. Only the remaining toner value DTA '(p)' is transferred.
[0051]
However, in this case, the access area determination unit 111 does not pass the remaining toner value DTA ′ (p) received from the storage unit 102 through the controller 113 to the management unit 132, and instead, the rewrite determination unit 112 , A TNR signal = Low (l) is transmitted (S505 in FIG. 5).
[0052]
Upon receiving the TNR signal = Low (l), the rewriting determination unit 112 determines whether rewriting based on the rewriting request for the remaining amount of toner transmitted by the management unit 132 is possible (S506 in FIG. 5). This determination is made using the remaining toner value DTA (h) transmitted from the management unit 132 and the remaining toner value DTA ′ (p) ′ transferred from the controller 113.
[0053]
This determination can be made, for example, by subtracting the remaining toner value DTA from the remaining toner value DTA '. When the remaining toner values DTA and DTA 'are both 8-bit data, "0" is added before the first bit of both, and both are converted into 9-bit data. Normally, since the remaining toner value DTA transferred from the management unit 132 is smaller than the remaining toner value DTA 'transferred from the controller 113, the remaining toner value DTA is changed from the remaining toner value DTA to the remaining toner value DTA'. The value of the first bit of the value obtained by subtracting 'remains 0.
[0054]
Therefore, when the first bit is 0 in the calculation result, the rewriting determination unit 112 determines that rewriting of the remaining amount of toner is possible. Then, the rewriting judging means 112 transmits the ANS signal = Low (m) and the Y / N signal = Low (n) to the access area judging means 111, and the rewriting of the remaining toner value is possible. (FIG. 5, S506, YES).
[0055]
In the opposite case, that is, when the first bit becomes 1 in the calculation result, the rewriting determination unit 112 determines that rewriting of the remaining toner value is impossible. Then, the rewriting judging means 112 transmits the ANS signal = Low (m) and the Y / N signal = High (n) to the access area judging means 111, and indicates that the rewriting of the remaining toner value is impossible. (FIG. 5, S506, NO).
[0056]
Upon receiving the ANS signal (m) and the Y / N signal (n), regardless of the level of the received Y / N signal (n), the rewriting area determining means 111 accesses the enable signal ENB '= Low (j). Is temporarily returned to High, and the controller 113 is notified that the determination of whether or not the remaining toner value can be rewritten has been completed. Upon receiving the notification, the controller 113 returns the access completion signal END ′ (k) ′ to High.
[0057]
When the received Y / N signal (n) is at the low level, that is, when the received Y / N signal (n) is YES, the access area determination unit 111 transmits a request for rewriting the remaining amount of toner to the controller 113 (S507 in FIG. 5).
[0058]
In the request for rewriting the remaining amount of toner (free rewriting data), the type of signal transferred between the access area determining means 111 and the controller 113 is determined by the management means 132 and the access area determining means 111. And the same type as the signal transferred between them. Therefore, in FIG. 6, it is easy to distinguish a signal transferred between the management unit 132 and the access area determination unit 111 from a signal transferred between the access area determination unit 111 and the controller 113. As described above, the sign of the signal transferred between the access area determining means 111 and the controller 113 is denoted by '.
[0059]
The rewriting request of the remaining toner value to the controller 113 is performed by the address ADR ′ (g) ′ and the remaining toner value DTA ′ (h) ′ (the toner of the rewriting request included in the rewriting request transmitted from the printer 130). Is the same as the toner remaining value DTA (h) transmitted from the printer 130, the R / W 'signal = Low (q)', and the access enable. Signal ENB ′ = Low (r) ′.
[0060]
When a request for rewriting the remaining amount of toner is transmitted from the access area determining means 111, the controller 113 first determines the level of the R / W '(q)' signal (FIG. 5, S508). Here, since this is a low level (rewrite request), the controller 113 updates the current toner remaining amount (updated) stored in the area indicated by the address ADR '(g)' included in the toner remaining amount rewrite request. The previous toner remaining amount is rewritten to a new toner remaining value DTA ′ (h) ′ (included in the toner rewriting request) obtained by the management unit 132 (FIG. 5, S509). After rewriting the remaining amount of toner, the controller 113 transfers the access completion signal END ′ = Low (s) ′ to the access area determination unit 111 as shown in the timing chart of FIG. 6 (FIG. 5, S510). .
[0061]
Upon receiving the access completion signal END ′ = Low (s) ′, the access area determining unit 111 enters the rewriting end processing. First, similarly to the controller 113, the access completion signal END = Low (s) is transferred to the management unit 132 (S511 in FIG. 5).
[0062]
Upon receiving the access completion signal END = Low (s), the management unit 132 returns the access enable signal ENB (j) to High (FIG. 5, S512).
[0063]
Next, upon confirming that the access enable signal ENB (j) has returned to High, the access area determination means 111 returns the access enable signal ENB '(r)' to High (FIG. 5, S513).
[0064]
Upon detecting that the access enable signal ENB '(r)' has returned to High, the controller 113 returns the access completion signal END '(s)' to High (FIG. 5, S514). Upon confirming that the access completion signal END ′ (s) ′ has returned to High, the access area determining unit 111 returns the R / W ′ signal (q) ′ and the access completion signal END (s) to High (FIG. 9). 5, S515).
[0065]
When the management unit 132 confirms that the access completion signal END (s) has returned to High, the address ADR (g) to the access area determination unit 111, the remaining amount of toner DTA (h), R / W The transmission of the signal = Low (i) ends. At the same time, the access area determining means 111 also transmits the address ADR '(g)', the remaining toner value DTA '(p)', and the R / W 'signal = Low (q)' to the controller 113. Is completed (FIG. 5, S516). As described above, steps S512 to S516 in FIG.
[0066]
It should be noted that the access area determination means 111 receives the Y / N signal = High (n) from the rewrite determination means 112 in the determination step S506, or rewrites the address ADR (g) in the determination step S503. If it is determined that it points to the area 103, the procedure proceeds to step S <b> 511 without transmitting a request for rewriting the remaining amount of toner to the controller 113. That is, when receiving the Y / N signal = High (n), the address area determining unit 111 transfers an access completion signal END = Low (s) to the managing unit 132. The subsequent procedure is the same as the case of Y / N signal = Low, that is, YES.
[0067]
In the above description, the rewriting request of the remaining toner value is transmitted to the controller 113 only when the rewriting determining means 112 determines that the rewriting of the remaining toner value is possible. Regardless of the determination result, when the access area determination unit 111 receives a request for rewriting the remaining amount of toner from the management unit 132, the access area determination unit 111 may transmit a request for rewriting the remaining amount of toner to the controller 113. For example, when the address ADR in which the remaining amount of toner is stored, the current remaining amount of toner DTA, and the R / W signal = Low are transmitted, the access area control unit 111 makes the determination from the rewriting determination unit 112. Without waiting for the result, a toner rewrite request is transmitted to the controller 113. That is, the process jumps from step S503 to S507.
[0068]
Although the case where the remaining toner value is stored in the free rewriting area 105 has been described above, the remaining toner value may be stored in the irreversible rewriting area 104.
[0069]
When the management unit 132 recognizes that the toner cartridge 101 is mounted as described above, the status value indicates that the toner cartridge 101 (toner bottle) is in use immediately after or after printing a certain number of sheets. Rewrite the value. FIG. 9 and FIG. 10 are examples showing the rewriting order of the state values stored in the irreversible rewriting area 104.
[0070]
When the toner cartridge 101 is mounted, or when printing is performed to some extent after being mounted, the management unit 132 changes the state value from the value indicating that the toner bottle is new as shown in FIG. It is rewritten to a state value indicating that the state is medium (the first use of the toner bottle).
[0071]
Therefore, when the management unit 132 confirms that the current state value ('11111111'), that is, the toner cartridge 101 is new, the toner bottle of the toner cartridge 101 is in use as shown in FIG. 10 (first time). A rewrite request for rewriting to a state value ('11111110') indicating the fact is transmitted to the toner cartridge 101 (S501 in FIG. 5). In response to the rewrite request, the access area determination unit 111 reads the state value from the storage unit 120 in the same manner as when a rewrite request for the remaining amount of toner is input (FIG. 6, S501 to S501). In step S505, the rewriting determination unit 112 determines whether the state value can be rewritten, in the same manner as the rewriting of the remaining toner value (S505 to S506 in FIG. 6).
[0072]
The status value rewrite request is composed of the same type of signal as the free rewrite data rewrite request. That is, as shown in FIG. 6, the address ADR (g) in which the state value is stored, the state value ('11111110') DTA (h), the R / W signal = Low (i), and the access enable signal ENB = Low (j).
[0073]
The status value rewrite request transmitted to the toner cartridge 101 is input to the access area determination unit 111, and only the status value ('11111110') DTA (h) included in the rewrite request is transmitted to the rewrite determination unit 112. Is also entered.
[0074]
When the request for rewriting the state value is input, the access area determination unit 111 determines the level of the R / W signal (i) as described above (S502 in FIG. 5). Here, when the access area determination unit 111 determines that the level is a low level (rewrite request), the access area determination unit 111 determines which area in the storage unit 102 the address ADR (g) included in the rewrite request indicates (see FIG. 5, S503).
[0075]
When the area indicated by the address ADR (g) is determined to be the irreversible rewrite area 104, the access area determining means 111 first stores the address ADR (g) in the address ADR (g) included in the status value rewrite request to the controller 113. Send a read request for the status value that is present. This read request includes an R / W 'signal = High (i)', an address ADR '(g)' included in the status value rewrite request, and an access enable signal ENB '= Low (j)'. You.
[0076]
Upon receiving the read request from the access area determining means 111, the controller 113 determines that the request from the access area determining means 111 is a read request by referring to the level of the R / W '(i)' signal. I do. Next, the controller 113 reads the state value (`11111111 ') from the area indicated by the address ADR' (g) 'of the state value read request (FIG. 7, S701).
[0077]
Then, the controller 113 transmits the access completion signal END ′ = Low (k) ′ and the read state value (′ 11111111 ′) ′ (p) ′ to the access area determination unit 111, and further, the rewrite determination unit 112. Only the state value ('11111111') '(p)'.
[0078]
However, in this case, the access area determination unit 111 does not pass the remaining toner value DTA ′ (p) ′ received from the storage unit 102 through the controller 113 to the management unit 132, but instead replaces the rewrite determination unit A CTR signal = Low (l) is transmitted to the communication 112 (S702 in FIG. 7).
[0079]
Upon receiving the CTR signal = Low (l) from the access area determining unit 111, the rewriting determining unit 112 determines whether rewriting based on the state value rewriting request is possible. Therefore, the rewriting determination means 112 performs a comparison process between the state value (`11111111 ') DTA (h) and the state value (` 11111110') DTA '(p)' as follows, for example.
[0080]
First, the rewrite determination unit 112 divides each of the current status value and the status value included in the rewrite request into k rewrite units, two bits from the first bit, as shown in FIG. Here, as shown in FIG. 9, the current state value and the state value included in the rewrite request are represented by a first rewrite unit, a second rewrite unit, a third rewrite unit, a fourth rewrite unit, and four rewrite units. Will be divided into
[0081]
Next, the rewriting determination means 112 determines the first to fourth rewriting units (D2k-1, D2k-2) (The subscript indicates the number of the bit from the least significant bit of the status value D) and the first to fourth rewrite units (E) divided from the status value included in the rewrite request.2k-1, E2k-2) And {(D2k-1, D2k-2), (E2k-1, E2k-2) = {(00), (00)}, {(10), (10)}, {(11), (11)} (rewriting unnecessary state), or {(10), It is determined whether or not any of (00) 11, {(11), and (10)} (rewriteable state) applies (S703 in FIG. 7). An example of a circuit for realizing this determination is shown in FIGS. FIG. 12 is a diagram showing details of the Sa portion in FIG. Here, it is assumed that there is no OR gate Sf in FIG. FIG. 11 shows logical expressions corresponding to the circuits shown in FIGS. The circuits indicated by symbols S1 to S6 in FIGS. 12 and 13 are circuits corresponding to the logical expressions represented by the respective symbols in FIG.
[0082]
12 and 13 are assigned to (E) by the rewriting determination means 112.2k-1, E2k -2) Is input, and (D) is input to C and D.2k-1, D2k-2) Is entered. A, B, C, and D are {(00), (00)}, {(10), (10)}, {(11), (11)}, {(10), (00)}, {( 11) or (10)}, the output value of the logic circuit of FIG. 13 becomes 0.
[0083]
FIG. 14 shows a logic circuit that aggregates all the results of determining the first to fourth rewrite units and determines whether the entire state value can be rewritten. Here, Sg (k = 3) to Sg (k = 0) in FIG. 14 use the logic circuits in FIGS. 12 and 13, respectively.7, D6), (E7, E6)}, {(D5, D4), (E5, E4)}, {(D3, D2), (E3, E2)}, {(D1, D0), (E1, E0) This is the judgment result of ①. The reason for requiring the logic circuit of FIG.7, D6), (E7, E6)}, {(D5, D4), (E5, E4)}, {(D3, D2), (E3, E2)}, {(D1, D0), (E1, E0This is because even if it is determined that each of the rewriting units is in a rewritable state or a non-rewriting required state, the entire state value of all rewriting units is not necessarily rewritable. In other words, the condition under which the entire state value can be rewritten is that any one of the rewriting units must be rewritable, and all other rewriting units need not be rewritten. If all units do not need to be rewritten, there is no need to rewrite, and if two or more units are determined to be rewritable, they must not be rewritten. In other words, all rewrite units are rewritable or in a rewrite unnecessary state (determined by the logic circuit Sc in FIG. 14), and one of the rewrite units is rewritable (the logic circuit Sd in FIG. (Determined by the logical sum with Se).
[0084]
Therefore, the rewrite determination unit 112 inputs the values of the first to fourth rewrite units to the logic circuit of FIG. 14 including the logic circuits of FIGS. 12 and 13 and obtains 0 from the logic circuit of FIG. Then, it is determined that only one unit of all rewrite units is in a rewritable state and all other units are in a rewrite unnecessary state.
[0085]
In the determination step S703, when it is determined that the output result of FIG. 14 is 0: rewritable, that is, that only one unit of all the rewritable units is in a rewritable state and all other units are in a non-rewriteable state, Transmits the ANS signal (m) and the Y / N signal = Low (n) to the access area determining means 111 to inform that the state value can be rewritten.
[0086]
Upon receiving the ANS signal (m) and the Y / N signal = Low (n), the access area determination unit 111 proceeds to step S507 and transmits a state value rewrite request to the controller 113. This rewrite request includes an R / W '= Low' (q) 'signal, an address ADR' (g) 'and a state value (' 11111110 ') DTA' (h) included in the rewrite request transmitted by the management means 132. ) 'And an access enable signal ENB' (r) '.
[0087]
Upon receiving the status value rewrite request transmitted from the access area determining unit 111, the controller 113 first determines the level of the R / W '(q)' signal (FIG. 5, S508). Here, since this is a Low level (rewrite request), the controller 113 sets the current state value ('11111111') stored in the irreversible rewrite area 104 indicated by the address ADR '(g)' included in the state value rewrite request. ) Is rewritten with the new state value ('11111110') obtained by the management means 132 (FIG. 5, S509). After rewriting the state value, the controller 113 transmits an access completion signal END ′ = Low (s) ′ to the access area determining means 111 (FIG. 5, S510).
[0088]
Upon receiving the access completion signal END ′ = Low (s) ′, the access area determination unit 111 transmits an access completion signal END = Low (s) to the management unit 132 as in the case of the controller 113 ( (FIG. 5, S511). Transmission and reception of signals thereafter are the same as in the case of rewriting the remaining toner value.
[0089]
If the rewriting judgment means 112 judges in the judgment step S703 that the above condition is not satisfied, it judges that the rewriting based on the state value rewriting request is impossible, and sends the ANS signal (m) to the access area judgment means 111. And the Y / N signal = High (n) to inform that rewriting is not possible.
[0090]
Upon receiving the Y / N signal = High (n), the access area determining unit 111 does not transmit a state value rewrite request to the controller 113, and sends an access completion signal END = Low (s) to the management unit 132. Is transmitted (FIG. 5, S511).
[0091]
When printing is performed by the printer 130 in which the toner cartridge 101 is mounted as described above, the remaining amount of toner is subtracted and eventually becomes zero. Of course, the management unit 132 may determine that the remaining toner value has become 0 when the remaining toner value reaches a predetermined value, for example, when the remaining number of printable sheets reaches 30.
[0092]
When the management unit 132 determines that the toner bottle is empty, the management unit 132 notifies the user that the toner has run out using, for example, a monitor 136 or a speaker 137 provided in the printer 130.
[0093]
When notified that the toner has run out, the user has the printer maker or a factory to which the printer maker entrusts toner supply (hereinafter, referred to as a “certified factory”) replenish the toner.
[0094]
When the authorized factory supplies toner, the status value ('11111110') indicating that the toner bottle is in use (first time) is changed to a status value indicating that toner is supplied once as shown in FIG. In order to rewrite ('11111100'), the rewriting device 200 that generates a status value rewrite request is connected to the toner cartridge 101.
[0095]
The rewriting device 200 is, for example, a computer into which a program having the same function as the management unit 132 is installed. Therefore, the rewriting procedure from the status value indicating that the toner bottle has been emptied and the toner has not been replenished to the status value indicating that the toner has been replenished is the same as the above-described rewriting of the status value in the printer 130 itself. It is. In this embodiment, as shown in FIG. 10, when the rewriting units of the status value of the used toner bottle and the replenishing toner bottle are compared, each rewriting unit is (11) or ( 00) or the rewriting unit on the used toner bottle side is (10), and the rewriting unit on the supplied toner bottle side is (00).
[0096]
In the rewriting from the status value indicating that the toner bottle is in use to the status value indicating that the toner is replenished, that is, in each of the first to fourth rewriting units, Δ (D2k-1, D2k-2), (E2k-1, E2k-2)} = {(10), (00)} can be rewritten only by the certified factory.
[0097]
In order to realize this, the OR gate Sf is incorporated in the logic circuit in FIG. The input side E of the OR gate Sf has an initial state of 1 when power is applied to the entire storage device mounted on the toner bottle. Once the power supply to the storage device mounted on the toner bottle is cut off, the input side E of the OR gate Sf does not return to 0 but returns to 1, which is the initial state, even if power is supplied again thereafter. When a "0" signal is applied to the input side E of the OR gate Sf, an output value of "0" is obtained in the logic circuit of FIG.2k-1, D2k-2), (E2k-1, E2k-2)} = {(10), (00)} can be rewritten. In order to allow only a certified factory to apply the '0' signal to the input side E of the OR gate Sf, for example, the following method is available.
[0098]
In the manufacturing stage of the toner cartridge 101, a hidden area 106 is provided in the storage means 102 in addition to the rewrite prohibited area 103, the irreversible rewrite area 104, and the free rewrite area 105. In the hidden area 106, an authentication key used to authenticate whether toner supply has been performed at a certified factory is stored. The printer maker discloses the authentication key only to the certified factory, and distributes the rewriting device 200 storing the address of the hidden area 106 only to the certified factory.
[0099]
When actually supplying toner at the authorized factory, first, the worker connects the rewriting device 200 and the access area determining means 111 as shown in FIG. The types of signal lines to be connected are the same as those between the management unit 132 and the access control unit 110 in FIG. Therefore, the management unit in the rewriting device 200 is set to 232, and the management unit 132 is replaced with 232, and the description will be continued.
[0100]
The worker inputs the authentication key to the rewriting device 200 and presses, for example, a resupply button 231 provided on the rewriting device 200.
[0101]
Then, the management means 232 first transmits a state value read request to the access area determination means 111 in accordance with the above-mentioned flowcharts FIG. 3 and timing chart FIG. 4, and reads the state values ('11111110) stored in the irreversible rewrite area 104. ') Are acquired (S301 to S307).
[0102]
When the management unit 232 confirms that the toner bottle is in use according to the acquired state value (`11111110 '), the management unit 232 then proceeds to {(D) according to the flowcharts of FIGS. 5 and 8 and the timing chart of FIG.2k-1, D2k-2), (E2k-1, E2k-2)} = {(10), (00)} A lock release request to release the rewrite lock (input “0” to the input side E of the OR gate Sf) is made in the above-described access area in the same procedure as the rewrite request. The information is transmitted to the determination means 111 (FIG. 5, S501). Here, the lock release request includes the address ADR (g) of the hidden area 106 shown in FIG. 6, the R / W signal = Low (i), the access enable signal ENB = Low (j), And the input authentication key data DTA (h). The data DTA (h) of the authentication key input by the worker is also transferred to the rewrite judging means 112.
[0103]
Upon receiving the lock release request, the access area determination unit 111 first determines the R / W signal (i) included in the rewrite request (S502 in FIG. 5), and then determines the address ADR (g) included in the rewrite request. ) Is determined (S503 in FIG. 5). If it is determined that the address ADR (g) indicates the hidden area 106, the access area determining unit 111 transmits a request to read out the authentication key stored in the hidden area 106 to the controller 113. The transmission of the read request here is based on the address ADR '(g)' of the hidden area 106, the R / W 'signal = High (i)', and the access enable signal ENB '= Low' (j) '. Be composed.
[0104]
When the controller 113 reads the authentication key data DTA '(p)', the access completion signal END '= Low (k) indicating to the access area determining means 111 that the authentication key data DTA' (p) 'has been read. ) ′, And transmits authentication key data DTA ′ (p) ′ to the rewriting determination means 112.
[0105]
Upon receiving the access completion signal END ′ = Low (k) ′, the access area determination unit 111 transmits an authentication signal KEY = Low for instructing an authentication operation to the rewrite determination unit 112 (FIG. 8, S801 → S802). .
[0106]
Upon receiving the authentication signal KEY = Low, the rewriting determining means 112 outputs the authentication key data DTA (h) input by the worker and the authentication key data DTA ′ (p) ′ read by the controller 113. Is determined (S803 in FIG. 8). This determination is made using, for example, the exclusive OR of each bit of both. When they match, the exclusive OR is 0 for all bits, and when they do not match, the exclusive OR is 1 for any one or more bits. Therefore, if the sum of the exclusive OR of each bit is 0, it can be regarded as "matching", and if it is 1 or more, it can be regarded as "not matching".
[0107]
If it is determined that the two authentication keys match, the rewriting determination means 112 sets 0 to the input side E of the OR gate Sf shown in FIG. 12, and at the same time, sends the ANS signal = Low to the access area determination means 111. By transmitting a Y / N signal = Low, the access area discriminating unit 111 is notified that the data of the authentication key matches (YES in S804 in FIG. 8). If it is determined that they do not match, the input side E of the OR gate Sf is kept at 1, and at the same time, the ANS signal = Low and the Y / N signal = High are transmitted to the access area determining means 111 to perform the access. It notifies the area discriminating means 111 that the data of the authentication keys match (NO in FIG. 8, S804).
[0108]
Further, the access area determining means 111 notifies the managing means 232 that the authentication work has been completed by transmitting an END signal = Low (s) (FIG. 5, S511). The management means 232 returns the ENB signal = Low (j) to High, and notifies the access area determination means 111 that the end of the authentication work has been confirmed (FIG. 5, S512). When confirming the end of the authentication work, the access area determining unit 111 skips steps S513 and S514, returns the END signal = Low (s) to High, and ends the authentication work (FIG. 5, S515).
[0109]
When the authentication work is completed, the management means 232 transmits a status value rewrite request to the access area determination means 110 (FIG. 5, S501). In this rewrite request, the address ADR (g) of the irreversible rewrite area 104 in which the state value is stored, the R / W signal = Low (i), the access enable signal ENB = Low (j), and the toner once A state value ('1111100') DTA (h) indicating the state of resupply.
[0110]
The following rewriting procedure is the same as that performed in the printer. That is, the access area determination unit 110 acquires the address ADR (g) of the state value included in the rewrite request transmitted by the management unit 232 and the R / W signal = Low (i), and obtains the R / W signal The level is determined (S502 in FIG. 5).
[0111]
When the access state is determined to be low, the access area determination unit 111 determines the area indicated by the address ADR (g) in which the acquired state value is stored (S503 in FIG. 5). When determining that the address ADR points to the irreversible rewrite area 104, the access area determination means 111 transmits a state value read request to the controller 113 in the same manner as the state value rewrite (FIG. 7, S701). Then, the rewriting determination unit 112 compares the state value ('11111110') read by the controller 113 with the state value ('11111100') transmitted by the management unit 232, and determines whether the state value can be rewritten. A determination is made (FIG. 7, S702 → S703). If it is determined that rewriting is possible, the rewriting process proceeds to step 507, and if it is determined that rewriting is not possible, the rewriting process proceeds to step 511.
[0112]
As described above, rewriting the status value (“11111110”) indicating that the status value is in use (first time) to (11111100 ′) requires an authentication key. Therefore, a third vendor who does not know the authentication key cannot rewrite the state value, even though the toner can be resupplied.
[0113]
As described above, the authentication key stored in the hidden area 106 may be read out by the rewriting determination unit 112, but is not read out of the toner cartridge 101. It is impossible to know the authentication key by any method other than the disclosure from.
[0114]
Also, for example, even if the status value is rewritten using an incorrect authentication key, the status value is not rewritten, and the rewriting device 200 sends an access completion signal ( Only s) is transmitted. Therefore, a third vendor or the like cannot know whether or not the status value has been correctly rewritten.
[0115]
The authentication key stored in the hidden area 106 may be different for each toner cartridge 100, or may be different for each lot or each manufacturing time. In this way, by using different authentication keys, it is possible to suppress the possibility that the authentication key is determined by a third vendor.
[0116]
Since the remaining amount of toner is 0 at the time when the certified factory supplies toner, the certified factory uses the rewriting device 200 to transfer the toner as described above before handing over the toner cartridge 101 to the user. A request for rewriting the remaining amount is transmitted, and the remaining amount of the toner is rewritten to a value indicating the full state.
[0117]
However, rewriting of the remaining toner value from 0 to full, that is, rewriting in the direction in which the remaining toner value increases, is judged by the rewriting judging means 112 to be impossible. Therefore, once the rewrite lock is released by receiving the data of the correct authentication key as described above, the access area determination / determination means 111 waits until the rewrite device 200 is disconnected, or Until is turned off, it is determined that a request for rewriting the remaining amount of toner is always possible. That is, if it is determined that the address ADR indicating the free rewrite area 105 is included in the rewrite request transmitted from the management means 232 during this time, the access area determination means 111 A status value rewrite request is transmitted to the controller 113.
[0118]
When the user mounts the toner cartridge 101 in which the toner has been replenished into the printer 130, the mounting sensor 136 of the printer 130 recognizes the mounting of the toner cartridge 101 as described above. A status value read request is transmitted to the toner cartridge 101.
[0119]
In response to the read request, the management unit 132 reads the state value ('11111100') from the irreversible write area 104 as described above. When the authorized factory supplies toner, the value of all rewriting units is “00” or “11”. The reason why the values are changed to “00” and “11” is that when the toner cartridge 101 is mounted on the printer, the management unit 132 rewrites the lower 1 bit of the rewriting unit from “1” to “0” and further recognizes the rewriting unit. This is because the factory rewrites the upper one bit from “1” to “0” when supplying toner. Therefore, in the toner cartridge 101 whose rewrite unit value is “10”, either the toner cartridge 101 is once mounted on the printer 130 or the toner is supplied by a third vendor. Further, the state in which the rewriting unit is "01" cannot occur unless the state value is falsified by a third party.
[0120]
Therefore, when there is at least one rewrite unit with a value of “10” or “01”, the management unit 132 may read, for example, “It is possible that toner was supplied by a company other than the authorized factory. If this cartridge is used by a company other than a certified factory, use of this cartridge may cause a decrease in print quality or a failure of the printer. "Is displayed on the monitor 136. Of course, the method of notifying the user of such a warning is not particularly limited, and the management unit 132 generates a warning sound from the speaker 137 indicating that toner supply has been performed by a third vendor. You may do so.
[0121]
When the warning is generated in the printer 130, the user removes the toner cartridge 101 from the printer 130 and mounts another toner cartridge 101 in the printer 130.
[0122]
The reason for issuing the above warning is that the third vendor has not been entrusted with toner supply from the printer maker and cannot know the detailed specifications of the printer 130. This is because they may be replenished. There are also third vendors that supply inexpensive and inferior quality toner, and this is also to prevent the printing quality of the printer 130 from deteriorating or malfunctioning by using such inferior quality toner. Also, whether the replenishment of the toner is performed by the certified factory or the third vendor is indicated by the above status value, so even if the third vendor resupplies the toner to the user as a certified factory, The warning as described above is notified to the user.
[0123]
When the warning is generated, the printer 130 may be set to be incapable of printing, or may be set to only issue a warning to the user while the printer 130 is in a printable state, The determination as to whether to use the cartridge 101 may be left to the user.
[0124]
When the printer 130 performs printing by mounting the toner cartridge 101 in which the toner has been supplied to the printer 130, the management unit 132 rewrites the remaining amount of toner as described above. Further, the management unit 132 indicates that the toner bottle is in use (second time) from the state value ('11111100') indicating the state in which the toner is supplied once as described above ('111111000'). ').
[0125]
When the toner becomes empty, the user hands over the toner cartridge 101 to the certified factory again, and the certified factory rewrites the state value to ('11110000') and delivers it to the user.
[0126]
As shown in FIG. 10, each time the toner becomes empty and toner is replenished, the state value changes from ('11111110') → ('11111100') → ('111111000') →... → ('10000000'). ) And change. That is, with the 8-bit state value, it is possible to distinguish between the number of toner replenishments performed by the certified factory up to three times and the number of times the toner becomes empty up to four times.
[0127]
Therefore, in order to inform the user that toner cannot be replenished when the toner is empty four times, the management unit 132 rewrites the state value to ('10000000') and, when the remaining toner amount becomes zero, for example, the monitor The display on 136 instructs the user to discard or return to a certified factory. According to the instruction, the user requests the authorized factory to discard or return the toner cartridge 101. The management unit 132 uses the monitor 136 to display the message “Can be replenished three times” immediately after the toner bottle is inserted into the printer 130 or when the remaining amount of toner in the toner bottle is determined to be zero. You may keep it.
[0128]
Although not described above, when the address ADR indicated by the rewrite request points to the rewrite prohibited area 103, the access area determination unit 111 accesses the management unit 132 without transmitting the rewrite request to the controller 113. A completion signal END is transmitted immediately. As a result, the rewrite-inhibited data is not rewritten (FIG. 5, S511).
[0129]
Note that, for example, at the stage of manufacturing the toner cartridge 101, writing of the rewrite-inhibited data to the rewrite-inhibited area 103 can be performed by using, for example, the following method. At the manufacturing stage, the manufacturer of the toner cartridge 101 writes rewrite-inhibited data by a route that does not pass through the access control unit 111, and then seals the mounting surfaces of the access control unit 111 and the storage unit 102 with resin or the like. Thus, the structure is such that the signal line between the access control means 111 and the storage means 102 is not exposed.
[0130]
In addition to the above configuration, the access control unit 110 and the storage unit 102 may be realized as one IC package. In such a case, writing to the rewrite-protected area 103 may be performed by a method that enables writing only when a certain encryption key is input. The present invention does not limit whether or not the access control unit 110 and the storage unit 102 are integrated.
[0131]
Further, in the above description, the present invention has been described using the printer 130 and the toner cartridge 101 as examples of the device main body and the detachable unit. Not even.
[0132]
Finally, a description will be given of a case where the determination as to whether or not the state value can be rewritten is performed based on whether or not the relation between the rewrite units satisfies the relation shown in FIG.
[0133]
When the authorized factory supplies toner as described above, the rewriting unit of the current status value or the rewriting unit included in the status value rewriting request cannot be "01". Therefore, (D2k, D2k-1), (E2k, E2k-1) Is “01” when the rewriting determination means 112 determines that rewriting is impossible.
[0134]
Further, rewriting from "11" to "00" indicates that "the toner has been replenished at the same time as the toner is empty", and such a situation is not possible. Rewriting from "00" to "11" means "the state before the toner is replenished at the approved factory" and rewriting from "10" to "11" means "the toner is empty." Means that the toner is no longer empty from the state of "", and such a thing is marked "x" since it cannot be realistic.
[0135]
In addition, a portion in which “△” is described indicates that it is not necessary to rewrite the state value.
[0136]
【The invention's effect】
As described above, according to the present invention, in the detachable unit, the storage device provided in the detachable unit is provided with a main unit to which the detachable unit is applied, and rewriting prohibited data of a third party other than the manufacturer of the detachable unit. , State values and free rewrite data can be prevented from being falsified.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram of a printer and a toner cartridge equipped with the present invention.
FIG. 2 is a schematic block diagram of access control means of the present invention.
FIG. 3 is a flowchart showing a procedure for reading data stored in a storage unit;
FIG. 4 is a timing chart for reading data stored in a storage unit;
FIG. 5 is a flowchart showing a procedure for writing rewrite data to a storage unit;
FIG. 6 is a timing chart for rewriting rewriting data.
FIG. 7 is a flowchart showing a procedure for writing remaining toner value data to a storage unit;
FIG. 8 is a flowchart for releasing a rewrite lock using an authentication key.
FIG. 9 is an example of determining whether rewriting of a toner bottle state value is possible or not.
FIG. 10 is a diagram showing a change in a toner bottle state value.
FIG. 11 is a logical expression for determining whether a rewrite unit having a toner bottle state value can be rewritten.
FIG. 12 is a logic circuit (1) for realizing the logical expression of FIG. 11;
FIG. 13 is a logic circuit (2) for realizing the logic equation of FIG. 11;
FIG. 14 is a logic circuit for determining whether there is one rewritable unit.
FIG. 15 is a functional block diagram of a rewriting device and a toner cartridge.
[Explanation of symbols]
100 storage device
101 toner cartridge
102 storage means
103 Rewriting prohibited area
104 Irreversible rewrite area
105 Free rewriting area
106 hidden area
110 access control means

Claims (11)

機器本体に対して着脱可能な着脱ユニットに備えられた記憶装置において、
上記着脱ユニットの状態を示し、所定値にのみ書き換えられる状態値を記憶する不可逆書換領域を有する記憶手段と、
上記状態値に対する書換要求に基づいて、上記状態値を書き換えるアクセス制御手段とを備えたことを特徴とする記憶装置。
In a storage device provided in a detachable unit that is detachable from a device body,
A storage unit having an irreversible rewrite area that indicates a state of the detachable unit and stores a state value that is rewritten only to a predetermined value;
A storage device comprising: an access control unit that rewrites the state value based on a rewrite request for the state value.
上記アクセス制御手段が、上記書換要求が正当か否かを判定し、正当と判定した場合、当該書換要求に基づいて上記状態値を書き換える請求項1に記載の記憶装置。2. The storage device according to claim 1, wherein the access control unit determines whether the rewrite request is valid, and if the rewrite request is valid, rewrites the state value based on the rewrite request. 上記書換要求が正当か否かを判定するための認証用データを格納する隠れ領域と、
上記書換要求があると、上記書換要求に含まれる認証用データと、上記隠れ領域に格納された認証用データに基づいて上記書換要求が正当か否かを判定する請求項2に記載の記憶装置。
A hidden area for storing authentication data for determining whether the rewrite request is valid,
3. The storage device according to claim 2, wherein when the rewrite request is issued, the rewrite request is determined to be valid based on the authentication data included in the rewrite request and the authentication data stored in the hidden area. .
上記アクセス制御手段が、上記書換要求の対象となる状態値と、当該書換要求が示す状態値とを比較して、当該書換要求に基づいて状態値を書き換えることが可能か否かを判定し、可能と判定した場合、当該書換要求に基づいて状態値を書き換える請求項1に記載の記憶装置。The access control means compares the status value to which the rewrite request is applied with the status value indicated by the rewrite request, and determines whether or not the status value can be rewritten based on the rewrite request, The storage device according to claim 1, wherein when it is determined that the state value is possible, the state value is rewritten based on the rewrite request. 上記状態値の書換要求が、当該書換要求の対象となる状態値が記憶されたアドレスを含んでおり、
上記アクセス制御手段が、当該書換要求に含まれるアドレスに基づいて、当該書換要求の対象となる状態値を取得する請求項4に記載の記憶装置。
The status value rewrite request includes an address at which the status value to be rewritten is stored,
5. The storage device according to claim 4, wherein said access control means acquires a status value targeted for the rewrite request based on an address included in the rewrite request.
上記アクセス制御手段が、
上記書換要求が正当か否かの判定或いは、上記記憶手段内にある上記書換要求の対象となる状態値と当該書換要求が示す状態値とを比較して、当該書換要求に基づいて状態値を書き換えることが可能か否かの判定のうち、少なくともどちらか一つの判定を行う書換判定手段と、
上記書換判定手段が行う判定の結果が、正当または可能である場合、当該書換要求に従って上記記憶手段内にある状態値を書き換えるコントロ−ラとを備えた請求項1に記載の記憶装置。
The above access control means,
It is determined whether or not the rewrite request is valid, or a status value indicated by the rewrite request in the storage unit is compared with a status value indicated by the rewrite request, and a status value is determined based on the rewrite request. Rewriting determination means for performing at least one of the determinations as to whether or not rewriting is possible;
2. The storage device according to claim 1, further comprising: a controller for rewriting a state value in the storage unit in accordance with the rewrite request when a result of the determination made by the rewrite determination unit is valid or possible.
上記記憶手段は、更に、書き換えが禁止されている書換禁止データを記憶する書換禁止領域と、書き換えが自由な自由書換データを記憶する自由書換領域とを有する請求項1に記載の記憶装置。2. The storage device according to claim 1, wherein said storage means further includes a rewrite-inhibited area for storing rewrite-inhibited data for which rewriting is prohibited, and a free-rewrite area for storing free-rewritten data for which rewriting is free. 上記アクセス制御手段は、上記記憶手段に対する書換要求が発生すると、当該書換要求の対象となるデータの種類を判別し、当該書換要求の対象となるデータが書換禁止データである場合、当該書換禁止データの書き換えを行わず、自由書換データである場合、当該自由書換データの書き換えを行う請求項7に記載の記憶装置。When a rewrite request is issued to the storage unit, the access control means determines the type of data to be rewritten, and if the data to be rewritten is rewrite-inhibited data, the rewrite-inhibited data 8. The storage device according to claim 7, wherein the free rewriting data is not rewritten, and if the data is free rewriting data, the free rewriting data is rewritten. 上記書換要求に、書換対象となるデータが記憶されたアドレスが含まれ、
上記アクセス制御手段は、当該書換要求に含まれるアドレスに基づいて、データの種類を判別する請求項7に記載の記憶装置。
The rewriting request includes an address at which data to be rewritten is stored,
8. The storage device according to claim 7, wherein the access control unit determines a type of data based on an address included in the rewrite request.
上記アクセス制御手段が、
上記記憶手段に対する書換要求が発生すると、当該書換要求の対象となるデータの種類を判別するアクセス領域判別手段と、
上記アクセス領域判別手段が判別したデータの種類が上記状態値である場合、上記書換要求が正当か否かの判定或いは、上記書換要求の対象となる状態値と当該書換要求が示す状態値とを比較して、当該書換要求に基づいて状態値を書き換えることが可能か否かの判定のうち、少なくともどちらか一つの判定を行う書換判定手段と、
上記書換判定手段が行う判定の結果が、正当または可能である場合と、上記アクセス領域判別手段が判別したデータの種類が上記自由書換データである場合、当該書換要求に従って状態値を書き換えるコントロ−ラを備えた請求項7に記載の記憶装置。
The above access control means,
When a rewrite request is issued to the storage unit, an access area determination unit that determines a type of data targeted for the rewrite request;
When the type of the data determined by the access area determination means is the status value, it is determined whether or not the rewrite request is valid, or the status value targeted for the rewrite request and the status value indicated by the rewrite request are determined. Rewriting determining means for performing at least one of the determinations as to whether the state value can be rewritten based on the rewriting request,
When the result of the determination made by the rewriting determination means is valid or possible, and when the type of data determined by the access area determination means is the free rewriting data, the controller rewrites the state value according to the rewriting request. The storage device according to claim 7, further comprising:
上記機器本体が、画像形成装置であり、上記着脱ユニットが、当該画像形成装置に用いる消耗品である請求項1に記載の記憶装置。The storage device according to claim 1, wherein the device main body is an image forming apparatus, and the detachable unit is a consumable used for the image forming apparatus.
JP2002312149A 2002-10-28 2002-10-28 Storage device Withdrawn JP2004145170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002312149A JP2004145170A (en) 2002-10-28 2002-10-28 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002312149A JP2004145170A (en) 2002-10-28 2002-10-28 Storage device

Publications (1)

Publication Number Publication Date
JP2004145170A true JP2004145170A (en) 2004-05-20

Family

ID=32457128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002312149A Withdrawn JP2004145170A (en) 2002-10-28 2002-10-28 Storage device

Country Status (1)

Country Link
JP (1) JP2004145170A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163208A (en) * 2008-01-09 2009-07-23 Samsung Electronics Co Ltd Image forming apparatus and method for controlling the same
JP2012230560A (en) * 2011-04-26 2012-11-22 Yoshikawa Rf System Kk Data carrier and data carrier system
JP2021056562A (en) * 2019-09-27 2021-04-08 ブラザー工業株式会社 Tape casette and printer
US11454921B2 (en) * 2018-08-30 2022-09-27 Hewlett-Packard Development Company, L.P. Contacts for a print particle input recess

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163208A (en) * 2008-01-09 2009-07-23 Samsung Electronics Co Ltd Image forming apparatus and method for controlling the same
JP2012230560A (en) * 2011-04-26 2012-11-22 Yoshikawa Rf System Kk Data carrier and data carrier system
US11454921B2 (en) * 2018-08-30 2022-09-27 Hewlett-Packard Development Company, L.P. Contacts for a print particle input recess
JP2021056562A (en) * 2019-09-27 2021-04-08 ブラザー工業株式会社 Tape casette and printer
JP7314744B2 (en) 2019-09-27 2023-07-26 ブラザー工業株式会社 Tape cassette and printer

Similar Documents

Publication Publication Date Title
US20050152334A1 (en) Data protecting apparatus and image forming apparatus
CN102540658B (en) Consumable unit and management method thereof
KR100830564B1 (en) Automatic consumables ordering
JP2006243708A (en) Image forming apparatus, replacement part, apparatus for recycling replacement part, method of controlling image forming apparatus and replacement part recycling method
JP2005288878A (en) System for managing consumables
JP2008152419A (en) Printing system, printer and license management method for printing system
JP2004145170A (en) Storage device
KR102404582B1 (en) Method for error handling in the toner refill process
JP2003159854A (en) Information processor, expendables stock controller, expendables stock control system, expendables stock control method, expendables stock control program and memory medium
JP6654724B2 (en) Communication between image forming equipment and replaceable supplies
JPH07302019A (en) Image forming device control system
JP2004202753A (en) Printing controller and management method
JP2004062078A (en) System and method for identifying consumables
JP2004145531A (en) Print controller and management method
US8587798B2 (en) Replacement component for a printing device
JP2004192442A (en) Image processor, recording medium reading program and storage medium
US7526581B2 (en) Image forming apparatus and method for controlling the security of an exchangeable part
JP2008046977A (en) Image processing system and image forming apparatus
JP2007172493A (en) Power supply management program, information processing system, and power supply management method
JP2001356654A (en) Image forming device
JP4948862B2 (en) Image forming apparatus
JP2002182532A (en) Image forming device, substitute parts for image forming device, and ic chip
JP2019086636A (en) Image forming device, control method and program
JP2002331728A (en) Functional member, image recorder for holding the same and method for controlling them
JP2020027200A (en) Alteration notification device and alteration management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051018

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070731