JP2006079207A - Memory controller, process cartridge and electronic device - Google Patents
Memory controller, process cartridge and electronic device Download PDFInfo
- Publication number
- JP2006079207A JP2006079207A JP2004260125A JP2004260125A JP2006079207A JP 2006079207 A JP2006079207 A JP 2006079207A JP 2004260125 A JP2004260125 A JP 2004260125A JP 2004260125 A JP2004260125 A JP 2004260125A JP 2006079207 A JP2006079207 A JP 2006079207A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- logical operation
- memory
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
この発明は、メモリ制御装置とプロセスカートリッジと電子装置に関する。 The present invention relates to a memory control device, a process cartridge, and an electronic device.
従来、メモリのブロック内アドレスの基準値と、そのブロック内アドレスの基準値の上位側に設けられたブロックアドレスの基準値とを含むベースアドレスと、それらの基準値に対する変位を示すディスプレースメントとを加算して出力すると共に、ブロック内アドレスの加算による桁上り信号を出力し、ブロックアドレスの基準値とその基準値に対するディスプレースメントとを加算して出力し、その出力によって指定されるタグメモリの記憶領域と1ブロック上位の記憶領域のデータを読み出しておき、上記桁上り信号によってそれらのデータの一方を選択して出力することにより、ブロック内アドレスの加算結果を待たずにタグメモリのデータを読み出すメモリ制御装置(例えば、特許文献1参照)があった。 Conventionally, a base address including a reference value of an in-block address of a memory and a reference value of a block address provided on the upper side of the reference value of the address in the block, and a displacement indicating displacement with respect to the reference value Adds and outputs, and also outputs a carry signal resulting from addition of addresses within the block, adds the reference value of the block address and the displacement relative to the reference value, and outputs it, storing the tag memory specified by the output Data in the tag memory is read without waiting for the addition result of the in-block address by reading out the data in the area and the storage area one block higher, and selecting and outputting one of those data by the carry signal. There was a memory control device (see, for example, Patent Document 1).
また、第1データバスの伝送データのビット数に対して2以上の正の整数倍数のビット数のデータを伝送可能な第2データバスを設け、主記憶手段から偶数アドレスとその偶数アドレスから連続するアドレスによって指定されるデータのビット数を含み、上記第2ビット数のデータを読み出すようにし、CPUが上記偶数アドレスの次に上記偶数アドレスに1を加えた奇数アドレスを送出した場合、キャッシュ記憶手段には先のキャッシュ動作によってすでに上記奇数アドレスに対応するデータが記憶されていて必ずキャッシュヒット状態になるようにしたメモリ制御装置(例えば、特許文献2参照)があった。
さらに、シーケンシャルにアクセスする記憶領域を有し、通常時には識別情報を書き換え不能に格納すると共に所定条件時には書き込み可能となる領域を有する記憶セルを備えて、所望の記憶装置を選択するようにしたメモリ制御装置(例えば、特許文献3参照)があった。
Further, a memory having a storage area for sequentially accessing, storing a non-rewritable identification information in a normal state, and having a storage cell capable of being written in a predetermined condition, and selecting a desired storage device There was a control device (for example, see Patent Document 3).
しかしながら、従来のメモリ制御装置では、メモリに対するデータの不正なコピーを検出することができないという問題があった。
この発明は上記の点に鑑みてなされたものであり、メモリに対するデータの不正なコピーを検出することができるようにすることを目的とする。
However, the conventional memory control device has a problem that an illegal copy of data in the memory cannot be detected.
The present invention has been made in view of the above points, and an object thereof is to detect an illegal copy of data in a memory.
この発明は上記の目的を達成するため、次の(1)〜(4)の各メモリ制御装置を提供する。
(1)データを読み書き可能なメモリから第1アドレスに記憶された第1データを読み出すとき、第2アドレスに記憶された第2データを検出し、その検出した後に上記第1アドレスに記憶された第1データを検出し、上記検出した上記第1アドレスと上記第1データと上記第2アドレスと上記第2データとを記憶するアドレス・データ検出記憶手段と、そのアドレス・データ検出記憶手段に記憶された上記第1データと、上記第1アドレス、上記第2アドレス、上記第1データ又は上記第2データとの論理演算によってデータを算出する論理演算手段と、その論理演算手段によって算出されたデータを上記第1アドレスの第1データとして出力するデータ出力手段を備えたメモリ制御装置。
In order to achieve the above object, the present invention provides the following memory control devices (1) to (4).
(1) When reading the first data stored in the first address from the memory capable of reading and writing data, the second data stored in the second address is detected, and after the detection, the data is stored in the first address. Address / data detection storage means for detecting the first data and storing the detected first address, the first data, the second address, and the second data, and storing in the address / data detection storage means Logical operation means for calculating data by the logical operation of the first data and the first address, the second address, the first data or the second data, and the data calculated by the logical operation means A memory control device comprising data output means for outputting the data as the first data of the first address.
(2)データを読み書き可能なメモリの第1アドレスに第1データを書き込むとき、第2アドレスに記憶された第2データを検出し、その検出した後に上記第1アドレスにアクセスし、上記第1アドレスに書き込む第1データを検出し、上記第1アドレスと上記検出した上記第1データと上記第2アドレスと上記第2データとを記憶するアドレス・データ検出記憶手段と、そのアドレス・データ検出記憶手段に記憶された上記第1データと、上記第1アドレス、上記第2アドレス又は上記第2データとの論理演算によってデータを算出する論理演算手段と、その論理演算手段によって算出されたデータを上記第1アドレスに書き込む上記第1データとして入力するデータ入力手段を備えたメモリ制御装置。 (2) When writing the first data to the first address of the memory capable of reading and writing data, the second data stored in the second address is detected, and after the detection, the first address is accessed, and the first data Address / data detection storage means for detecting first data to be written to an address and storing the first address, the detected first data, the second address, and the second data, and the address / data detection storage Logical operation means for calculating data by logical operation of the first data stored in the means and the first address, the second address or the second data, and the data calculated by the logical operation means A memory control device comprising data input means for inputting the first data to be written to a first address.
(3)上記(1)のメモリ制御装置において、上記論理演算手段を、上記アドレス・データ検出記憶手段に記憶された上記第1データと、上記第1アドレス、上記第2アドレス、上記第1データ又は上記第2データとを組み合わせたものとの論理演算によってデータを算出する手段にしたメモリ制御装置。
(4)上記(2)のメモリ制御装置において、上記論理演算手段を、上記アドレス・データ検出記憶手段に記憶された上記第1データと、上記第1アドレス、上記第2アドレス又は上記第2データとを組み合わせたものとの論理演算によってデータを算出する手段にしたメモリ制御装置。
(3) In the memory control device according to (1), the logical operation means includes the first data, the first address, the second address, and the first data stored in the address / data detection storage means. Alternatively, a memory control device as means for calculating data by logical operation with a combination of the second data.
(4) In the memory control device of (2), the logical operation means may be the first data, the first address, the second address, or the second data stored in the address / data detection storage means. A memory control device as means for calculating data by a logical operation with a combination of.
また、次の(5)のプロセスカートリッジと(6)〜(11)の各電子装置も提供する。
(5)上記(1)〜(4)のいずれかのメモリ制御装置の上記メモリを搭載したプロセスカートリッジ。
(6)上記(1)〜(4)のいずれかのメモリ制御装置を搭載し、上記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、そのデータ判定手段によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化手段を備えた電子装置。
The following process cartridge (5) and electronic devices (6) to (11) are also provided.
(5) A process cartridge equipped with the memory of the memory control device according to any one of (1) to (4).
(6) A data determination unit that mounts the memory control device according to any one of (1) to (4) and determines whether the data is correct based on the data calculated by the logical operation unit, and the data An electronic device comprising initialization means for setting initial values to various parameters when the judgment means judges that the data is incorrect.
(7)上記(1)〜(4)のいずれかのメモリ制御装置を搭載し、上記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、そのデータ判定手段によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加手段を備えた電子装置。
(8)上記(5)のプロセスカートリッジを搭載し、上記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、そのデータ判定手段によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化手段を備えた電子装置。
(7) A data determination unit that includes the memory control device according to any one of (1) to (4) and determines whether the data is correct based on the data calculated by the logical operation unit, and the data An electronic device provided with an add-on function adding means for adding an add-on function when the determining means determines that the data is correct.
(8) The process cartridge of (5) above is mounted, and data determination means for determining whether the data is correct based on the data calculated by the logical operation means, and that the data determination means indicates that the data is not correct An electronic device comprising initialization means for setting initial values to various parameters when determined.
(9)上記(5)のプロセスカートリッジを搭載し、上記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、そのデータ判定手段によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加手段を備えた電子装置。
(10)上記(1)又は(3)のメモリ制御装置の上記メモリを備えたプロセスカートリッジを搭載し、上記アドレス・データ検出記憶手段、上記論理演算手段及び上記データ出力手段を、上記プロセスカートリッジの外部に設けた電子装置。
(11)上記(2)又は(4)のメモリ制御装置の上記メモリを備えたプロセスカートリッジを搭載し、上記アドレス・データ検出記憶手段、上記論理演算手段及び上記データ入力手段を、上記プロセスカートリッジの外部に設けた電子装置。
(9) The process cartridge of (5) above is mounted, and data determination means for determining whether the data is correct based on the data calculated by the logical operation means, and the data determination means determine that the data is correct An electronic device provided with an add-on function adding means for adding an add-on function when being added.
(10) The process cartridge including the memory of the memory control device according to (1) or (3) is mounted, and the address / data detection storage unit, the logical operation unit, and the data output unit are connected to the process cartridge. Electronic device provided outside.
(11) A process cartridge having the memory of the memory control device according to (2) or (4) is mounted, and the address / data detection storage means, the logical operation means, and the data input means are connected to the process cartridge. Electronic device provided outside.
この発明によるメモリ制御装置とプロセスカートリッジと電子装置は、メモリに対するデータの不正なコピーを検出することができる。 The memory control device, the process cartridge, and the electronic device according to the present invention can detect unauthorized copying of data to the memory.
以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
図1は、この発明の一実施例の電子装置の構成を示すブロック図である。
この電子装置は、プロセスカートリッジ1とメモリ制御装置3を搭載しているパーソナルコンピュータ等の情報処理装置である。
プロセスカートリッジ1は、メモリ10を搭載している。そのメモリ10は、アドレスA(第1アドレス)である記憶領域11と、アドレスB(第2アドレス)である記憶領域12とを有するデータを読み書き可能な記憶部である。
インタフェース(I/F)2は、メモリ10とのI/Fであり、パラレルまたはシリアル方式でのアクセスを行う。このI/Fには少なくともアドレス信号とデータ信号及びリードアクセスかライトアクセスかを判断する信号を含む。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present invention.
This electronic device is an information processing device such as a personal computer in which the process cartridge 1 and the
The process cartridge 1 has a
The interface (I / F) 2 is an I / F with the
メモリ制御装置3は、アドレス・データ検出記憶部13、論理演算部14、データ出力部15、論理演算部16、データ入力部17を備えている。
アドレス・データ検出記憶部13は、データを読み書き可能なメモリ10の記憶領域11に記憶されたデータAD(第1データ)を読み出すとき、記憶領域12のアドレスBとその記憶領域12に記憶されたデータBD(第2データ)とを検出し、その検出した後、記憶領域11のアドレスAとその記憶領域11に記憶されたデータADとを検出し、上記検出したアドレスAとデータADとアドレスBとデータBDとを記憶する処理を行う。
また、データを読み書き可能なメモリ10の記憶領域11にデータADを書き込むとき、記憶領域12のアドレスBと記憶領域12に記憶されたデータBDとを検出し、その検出した後、記憶領域11のアドレスAを検出してアクセスし、記憶領域11に書き込むデータADを検出し、アドレスAと上記検出したデータADとアドレスBとデータBDとを記憶する処理も行う。
The
The address / data
When data AD is written to the
論理演算部14は、アドレス・データ検出記憶部13に記憶されたデータADと、アドレスA、アドレスB、データAD又はデータBDとの論理演算によってデータRDを算出する処理を行う。
データ出力部15は、論理演算部14によって算出されたデータRDを、アドレスAの記憶領域11から読み出したデータADとして外部へ出力する処理と、論理演算部14の演算処理をパススルーしたデータを外部へ出力する処理を選択して行う。
The
The
論理演算部16は、アドレス・データ検出記憶部13に記憶されたデータADと、アドレスA、アドレスB又はデータBDとの論理演算によってデータRDを算出する処理を行う。
データ入力部17は、論理演算部16によって算出されたデータRDを、アドレスAの記憶領域11に書き込むデータADとしてI/F2へ入力する処理と、論理演算部16の演算処理をパススルーしたデータをI/F2へ入力する処理を選択して行う。
バス4は、CPU5がメモリ制御装置3との間でデータADをやりとりする通信線である。
The
The
The
CPU5は、この電子装置全体の制御を司り、メモリ制御装置3との間でデータADをやりとりする処理と、論理演算部14,16によって算出されたデータRDに基づいてデータが正しいか否かを判定するデータ判定処理と、そのデータ判定処理によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化処理と、上記データ判定処理によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加処理とを行う。
このように、CPU5は、バス4を使用して、メモリ10からデータを読み出す際には13〜15の各部を使用し、メモリ10へデータを書き込む際には13、16、17の各部を使用する。
The
As described above, the
図2は、この電子装置におけるメモリ10からのリード動作を示すフローチャート図である。
この処理では、予めメモリ10のアドレスAの記憶領域11にはデータADとしてオリジナルか否かを示すIDデータが記憶されているものとする。
メモリ10の記憶領域11に記憶されたデータADを読み出すとき、ステップ(図中「S」で示す)1〜3で、アドレス・データ検出記憶部は、メモリのアドレスBをリードし、そのアドレスBとそのアドレスBの記憶領域に記憶されたデータBDとを検出し、その検出後、アドレスAにリードアクセスし、そのアドレスAとそのアドレスAの記憶領域に記憶されたデータADとを検出し、上記検出したアドレスAとデータADとアドレスBとデータBDとを記憶する。
FIG. 2 is a flowchart showing a read operation from the
In this processing, it is assumed that ID data indicating whether or not the data is original is stored in advance in the
When the data AD stored in the
ステップ4、5で、論理演算部は、アドレス・データ検出記憶部に記憶されたデータADと、アドレスA、アドレスB、データAD又はデータBDとの論理演算を実行してデータRDを算出し、データ出力部へ出力する。または、データADと、アドレスA、アドレスB、データAD又はデータBDとを組み合わせたものとの論理演算を実行してデータRDを算出し、データ出力部へ出力する。そして、データ出力部によって論理演算結果のデータRDをバスを介してCPUへ出力する。
ステップ6で、CPUは、以上の経過を経てアドレスAに記憶されているデータADを読み取らず、バスに出力された論理演算結果のデータRDをアドレスAのリードデータとしてリードして(読み取って)取り込む。
In
In
ステップ7で、CPUは、上記取り込んだデータRDに基づいてそのデータRDが正しいか否かを判定し、正しいと判定された場合は、ステップ8でアドオン機能を付加し、この処理を終了する。
一方、ステップ7でデータRDが正しくないと判定された場合は、ステップ9で各種機能に関する各種パラメータに初期値をセットし、オプションを含まない必要最小限の機能に限定して、この処理を終了する。
上記アドオン機能としては、メモリの増設、電子装置の処理スピード、各種登録件数などが例として挙げられる。
In
On the other hand, if it is determined in
Examples of the add-on function include memory expansion, processing speed of the electronic device, and the number of various registrations.
このようにして、プロセスカートリッジのメモリに対する不正なデータのコピーが検出可能であり、所定の論理演算によってコピー履歴が分かるようにすることができ、コピー方式をより複雑にして不正なデータのコピーを防ぐことができる。
また、不正なデータのコピーを検出した場合、メモリの記憶した個々のパラメータを使用せずに差別化を行うことができる。
さらに、正しいデータのコピーを検出した場合、メモリの記憶した個々のパラメータを使用すると共にアドオン機能を加えて差別化を行うことができる。
さらにまた、システム設計の自由度を増すと共に、メモリを搭載しているプロセスカートリッジの価格を下げることができる。
In this way, it is possible to detect illegal data copy to the memory of the process cartridge, and to make it possible to know the copy history by a predetermined logical operation. Can be prevented.
Also, when an illegal copy of data is detected, differentiation can be performed without using individual parameters stored in the memory.
Further, when a correct data copy is detected, the individual parameters stored in the memory can be used and an add-on function can be added for differentiation.
Furthermore, the degree of freedom in system design can be increased and the price of a process cartridge equipped with a memory can be reduced.
図3は、この電子装置におけるメモリ10に対するライト動作を示すフローチャート図である。
この処理では、メモリ10のアドレスAの記憶領域11にデータADとしてオリジナルか否かを示すIDデータを書き込む場合を説明する。
メモリ10の記憶領域11にデータADを書き込むとき、ステップ(図中「S」で示す)11〜13で、アドレス・データ検出記憶部は、メモリのアドレスBをリードし、そのアドレスBとそのアドレスBの記憶領域に記憶されたデータBDとを検出し、その検出後、メモリのアドレスAの記憶領域にライトアクセスし、データ入力部はバスを介してCPUからデータADを入力し、そのアドレスAとそのアドレスAの記憶領域に記憶するデータADとを検出し、上記検出したアドレスAとデータADとアドレスBとデータBDとを記憶する。
FIG. 3 is a flowchart showing a write operation to the
In this process, a case will be described in which ID data indicating whether the data is original is written as data AD in the
When writing the data AD in the
ステップ14、15で、論理演算部は、アドレス・データ検出記憶部に記憶されたデータADと、アドレスA、アドレスB又はデータBDとの論理演算を実行してデータRDを算出し、データ入力部へ入力する。または、データADと、アドレスA、アドレスB又はデータBDとを組み合わせたものとの論理演算を実行してデータRDを算出し、データ入力部へ入力する。
ステップ16で、データ入力部は、メモリのアドレスAの記憶領域に論理演算結果のデータRDをデータAとして書き込む。
In
In
ステップ17で、CPUは、上記書き込んだデータRDに基づいてそのデータRDが正しいか否かを判定し、正しいと判定された場合は、ステップ18でアドオン機能を付加し、この処理を終了する。
一方、ステップ17でデータRDが正しくないと判定された場合は、ステップ19で各種機能に関する各種パラメータに初期値をセットし、オプションを含まない必要最小限の機能に限定して、この処理を終了する。
In
On the other hand, if it is determined in
上記アドオン機能としては、メモリの増設、電子装置の処理スピード、各種登録件数などが例として挙げられる。
このようにして、メモリに対してオリジナルの製作者による正しいデータのコピー方法を提供することができ、コピー方式をより複雑にして不正なデータのコピーを防ぐことができる。
Examples of the add-on function include memory expansion, processing speed of the electronic device, and the number of various registrations.
In this way, a correct data copying method by the original producer can be provided to the memory, and the copying method can be made more complicated to prevent illegal data copying.
この発明によるメモリ制御装置とプロセスカートリッジと電子装置は、デスクトップパソコン,ノートブックパソコン等のパーソナルコンピュータにおいても適用することができる。 The memory control device, the process cartridge, and the electronic device according to the present invention can also be applied to personal computers such as desktop personal computers and notebook personal computers.
1:プロセスカートリッジ 2:インタフェース(I/F) 3:メモリ制御装置 4:バス 5:CPU 10:メモリ 11,12:記憶領域 13:アドレス・データ検出記憶部 14,16:論理演算部 15:データ出力部 17:データ入力部
1: Process cartridge 2: Interface (I / F) 3: Memory control unit 4: Bus 5: CPU 10:
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004260125A JP2006079207A (en) | 2004-09-07 | 2004-09-07 | Memory controller, process cartridge and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004260125A JP2006079207A (en) | 2004-09-07 | 2004-09-07 | Memory controller, process cartridge and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006079207A true JP2006079207A (en) | 2006-03-23 |
Family
ID=36158639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004260125A Pending JP2006079207A (en) | 2004-09-07 | 2004-09-07 | Memory controller, process cartridge and electronic device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006079207A (en) |
-
2004
- 2004-09-07 JP JP2004260125A patent/JP2006079207A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2007133986A (en) | Semiconductor memory | |
JP2005235182A (en) | Controller for controlling nonvolatile memory | |
JP2004311010A (en) | Flash memory device with error correction function | |
JP3519954B2 (en) | Chip enable signal generation circuit and memory device | |
US8195946B2 (en) | Protection of data of a memory associated with a microprocessor | |
JP2010009102A (en) | Cache memory, computer system, and memory access method | |
JP2008139908A (en) | Memory control device, computer system and data reproducing and recording device | |
JP2009277174A (en) | Bus signal control circuit, and signal processing circuit equipped with bus signal control circuit | |
JP4339914B2 (en) | Error correction code generation method and memory management device | |
KR20160046225A (en) | Cache memory with fault tolerance | |
JP3890910B2 (en) | Instruction execution result prediction device | |
JP3129224B2 (en) | Cache memory device | |
JP2006079207A (en) | Memory controller, process cartridge and electronic device | |
JP5213061B2 (en) | Mirroring control device, mirroring control circuit, mirroring control method and program thereof | |
JP2015064770A (en) | Memory control device, information processing apparatus, and control method of information processing apparatus | |
US20030046620A1 (en) | Method of testing cache memory | |
JP4260805B2 (en) | CAM device and CAM control method | |
JP4164473B2 (en) | Functional memory access control system, functional memory device, control method therefor, and program | |
JP4773343B2 (en) | Method and apparatus for recognizing errors for cache memory, and cache memory | |
JP2001306411A (en) | Information processor and its method | |
JPH11134075A (en) | Information processor | |
JP2002297454A (en) | Parity checking method and apparatus | |
JP4144601B2 (en) | Arithmetic processing circuit, data storage circuit, arithmetic processing device, arithmetic processing method, data storage method, and arithmetic result storage read method | |
JPWO2007097001A1 (en) | RAM diagnostic apparatus and RAM diagnostic method | |
JP4859176B2 (en) | Microprocessor and I / O port replacement method |