JP2006079207A - Memory controller, process cartridge and electronic device - Google Patents

Memory controller, process cartridge and electronic device Download PDF

Info

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
Application number
JP2004260125A
Other languages
Japanese (ja)
Inventor
Naoyuki Yamada
直行 山田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004260125A priority Critical patent/JP2006079207A/en
Publication of JP2006079207A publication Critical patent/JP2006079207A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect illegal copying of data in a memory. <P>SOLUTION: In steps S1 to S3, an address B of the memory is read, the address B and data BD stored in a storage area with the address B are detected. After the detection, by making read access to an address A, the address A and data AD stored in a storage area with the address A are detected. The detected address A, data AD, address B and data BD are stored. In steps S4 to S6, logical operation is performed with the data AD and the address A, the address B, the data AD or data BD to calculate data RD, which is outputted to a data output part, and the data RD as the logical operation result is outputted to a CPU through a bus by the data output part. The CPU, without reading the data AD stored in the address A after the above progress, brings in, as read data for the address A, the data RD outputted to the bus as the logical operation result. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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参照)があった。
特開平4−76648号公報 特開平6−161891号公報 特開2002−14870号公報
Further, a second data bus capable of transmitting data having a bit number of a positive integer multiple of 2 or more with respect to the number of bits of transmission data of the first data bus is provided, and the even address and the even address are consecutive from the main memory means. When the CPU transmits an odd address obtained by adding 1 to the even address next to the even address, the data stored in the cache is stored in the cache memory. As a means, there has been a memory control device (for example, see Patent Document 2) in which data corresponding to the odd-numbered address has already been stored by the previous cache operation and is always in a cache hit state.
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).
JP-A-4-76648 JP-A-6-161891 Japanese Patent Laid-Open No. 2002-14870

しかしながら、従来のメモリ制御装置では、メモリに対するデータの不正なコピーを検出することができないという問題があった。
この発明は上記の点に鑑みてなされたものであり、メモリに対するデータの不正なコピーを検出することができるようにすることを目的とする。
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 memory control device 3 are mounted.
The process cartridge 1 has a memory 10 mounted thereon. The memory 10 is a storage unit that can read and write data having a storage area 11 that is an address A (first address) and a storage area 12 that is an address B (second address).
The interface (I / F) 2 is an I / F with the memory 10 and performs access in parallel or serial manner. This I / F includes at least an address signal, a data signal, and a signal for determining whether the access is a read access or a write access.

メモリ制御装置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 memory control device 3 includes an address / data detection storage unit 13, a logical operation unit 14, a data output unit 15, a logical operation unit 16, and a data input unit 17.
The address / data detection storage unit 13 reads the data AD (first data) stored in the storage area 11 of the memory 10 that can read and write data, and stores the address B in the storage area 12 and the storage area 12. The data BD (second data) is detected, and after the detection, the address A of the storage area 11 and the data AD stored in the storage area 11 are detected, and the detected address A, data AD and address B are detected. And data BD are stored.
When data AD is written to the storage area 11 of the memory 10 that can read and write data, the address B of the storage area 12 and the data BD stored in the storage area 12 are detected, and after the detection, A process of detecting and accessing the address A, detecting the data AD to be written in the storage area 11, and storing the address A, the detected data AD, the address B, and the data BD is also performed.

論理演算部14は、アドレス・データ検出記憶部13に記憶されたデータADと、アドレスA、アドレスB、データAD又はデータBDとの論理演算によってデータRDを算出する処理を行う。
データ出力部15は、論理演算部14によって算出されたデータRDを、アドレスAの記憶領域11から読み出したデータADとして外部へ出力する処理と、論理演算部14の演算処理をパススルーしたデータを外部へ出力する処理を選択して行う。
The logical operation unit 14 performs a process of calculating data RD by logical operation of the data AD stored in the address / data detection storage unit 13 and the address A, address B, data AD, or data BD.
The data output unit 15 outputs the data RD calculated by the logical operation unit 14 to the outside as the data AD read from the storage area 11 of the address A, and the data that has passed through the operation processing of the logical operation unit 14 Select the process to output to.

論理演算部16は、アドレス・データ検出記憶部13に記憶されたデータADと、アドレスA、アドレスB又はデータBDとの論理演算によってデータRDを算出する処理を行う。
データ入力部17は、論理演算部16によって算出されたデータRDを、アドレスAの記憶領域11に書き込むデータADとしてI/F2へ入力する処理と、論理演算部16の演算処理をパススルーしたデータをI/F2へ入力する処理を選択して行う。
バス4は、CPU5がメモリ制御装置3との間でデータADをやりとりする通信線である。
The logical operation unit 16 performs a process of calculating data RD by logical operation of the data AD stored in the address / data detection storage unit 13 and the address A, address B, or data BD.
The data input unit 17 inputs data RD calculated by the logical operation unit 16 to the I / F 2 as data AD to be written in the storage area 11 of the address A, and data obtained by passing through the arithmetic processing of the logical operation unit 16. A process to be input to the I / F 2 is selected and performed.
The bus 4 is a communication line through which the CPU 5 exchanges data AD with the memory control device 3.

CPU5は、この電子装置全体の制御を司り、メモリ制御装置3との間でデータADをやりとりする処理と、論理演算部14,16によって算出されたデータRDに基づいてデータが正しいか否かを判定するデータ判定処理と、そのデータ判定処理によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化処理と、上記データ判定処理によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加処理とを行う。
このように、CPU5は、バス4を使用して、メモリ10からデータを読み出す際には13〜15の各部を使用し、メモリ10へデータを書き込む際には13、16、17の各部を使用する。
The CPU 5 controls the entire electronic device, and exchanges data AD with the memory control device 3 and whether or not the data is correct based on the data RD calculated by the logical operation units 14 and 16. A data determination process for determining, an initialization process for setting initial values to various parameters when the data determination process determines that the data is incorrect, and an add-on function when the data determination process determines that the data is correct Performs add-on function addition processing.
As described above, the CPU 5 uses the parts 13 to 15 when reading data from the memory 10 using the bus 4, and uses the parts 13, 16, and 17 when writing data to the memory 10. To do.

図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 memory 10 in this electronic apparatus.
In this processing, it is assumed that ID data indicating whether or not the data is original is stored in advance in the storage area 11 of the address A of the memory 10 as data AD.
When the data AD stored in the storage area 11 of the memory 10 is read, the address / data detection storage unit reads the address B of the memory in steps (indicated by “S” in the figure) 1 to 3 and reads the address B And the data BD stored in the storage area of the address B. After the detection, the address A is read-accessed, and the address A and the data AD stored in the storage area of the address A are detected. The detected address A, data AD, address B, and data BD are stored.

ステップ4、5で、論理演算部は、アドレス・データ検出記憶部に記憶されたデータADと、アドレスA、アドレスB、データAD又はデータBDとの論理演算を実行してデータRDを算出し、データ出力部へ出力する。または、データADと、アドレスA、アドレスB、データAD又はデータBDとを組み合わせたものとの論理演算を実行してデータRDを算出し、データ出力部へ出力する。そして、データ出力部によって論理演算結果のデータRDをバスを介してCPUへ出力する。
ステップ6で、CPUは、以上の経過を経てアドレスAに記憶されているデータADを読み取らず、バスに出力された論理演算結果のデータRDをアドレスAのリードデータとしてリードして(読み取って)取り込む。
In steps 4 and 5, the logical operation unit calculates the data RD by performing a logical operation on the data AD stored in the address / data detection storage unit and the address A, address B, data AD or data BD, Output to the data output section. Alternatively, a logical operation of data AD and a combination of address A, address B, data AD or data BD is executed to calculate data RD and output it to the data output unit. Then, the data output unit outputs the logical operation result data RD to the CPU via the bus.
In step 6, the CPU does not read the data AD stored in the address A through the above process, but reads (reads) the data RD of the logical operation result output to the bus as the read data of the address A. take in.

ステップ7で、CPUは、上記取り込んだデータRDに基づいてそのデータRDが正しいか否かを判定し、正しいと判定された場合は、ステップ8でアドオン機能を付加し、この処理を終了する。
一方、ステップ7でデータRDが正しくないと判定された場合は、ステップ9で各種機能に関する各種パラメータに初期値をセットし、オプションを含まない必要最小限の機能に限定して、この処理を終了する。
上記アドオン機能としては、メモリの増設、電子装置の処理スピード、各種登録件数などが例として挙げられる。
In step 7, the CPU determines whether or not the data RD is correct based on the fetched data RD. If it is determined that the data RD is correct, an add-on function is added in step 8 and the process ends.
On the other hand, if it is determined in step 7 that the data RD is not correct, in step 9, initial values are set for various parameters relating to various functions, and this process is terminated by limiting to the minimum necessary functions that do not include options. To do.
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 memory 10 in this electronic apparatus.
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 storage area 11 of the address A of the memory 10.
When writing the data AD in the storage area 11 of the memory 10, the address / data detection storage unit reads the address B of the memory in steps (indicated by "S" in the figure) 11-13, and the address B and the address The data BD stored in the B storage area is detected, and after the detection, the write access is performed to the storage area of the address A of the memory, and the data input unit inputs the data AD from the CPU via the bus, and the address A And the data AD stored in the storage area of the address A are detected, and the detected address A, data AD, address B, and data BD are stored.

ステップ14、15で、論理演算部は、アドレス・データ検出記憶部に記憶されたデータADと、アドレスA、アドレスB又はデータBDとの論理演算を実行してデータRDを算出し、データ入力部へ入力する。または、データADと、アドレスA、アドレスB又はデータBDとを組み合わせたものとの論理演算を実行してデータRDを算出し、データ入力部へ入力する。
ステップ16で、データ入力部は、メモリのアドレスAの記憶領域に論理演算結果のデータRDをデータAとして書き込む。
In steps 14 and 15, the logical operation unit calculates the data RD by executing the logical operation of the data AD stored in the address / data detection storage unit and the address A, address B, or data BD, and the data input unit To enter. Alternatively, the logical operation of the data AD and the combination of the address A, the address B, or the data BD is executed to calculate the data RD and input it to the data input unit.
In step 16, the data input unit writes the logical operation result data RD as data A in the storage area of address A in the memory.

ステップ17で、CPUは、上記書き込んだデータRDに基づいてそのデータRDが正しいか否かを判定し、正しいと判定された場合は、ステップ18でアドオン機能を付加し、この処理を終了する。
一方、ステップ17でデータRDが正しくないと判定された場合は、ステップ19で各種機能に関する各種パラメータに初期値をセットし、オプションを含まない必要最小限の機能に限定して、この処理を終了する。
In step 17, the CPU determines whether or not the data RD is correct based on the written data RD. If it is determined that the data RD is correct, an add-on function is added in step 18 and the process ends.
On the other hand, if it is determined in step 17 that the data RD is not correct, in step 19, initial values are set for various parameters related to various functions, and this process is terminated by limiting to the minimum necessary functions that do not include options. To do.

上記アドオン機能としては、メモリの増設、電子装置の処理スピード、各種登録件数などが例として挙げられる。
このようにして、メモリに対してオリジナルの製作者による正しいデータのコピー方法を提供することができ、コピー方式をより複雑にして不正なデータのコピーを防ぐことができる。
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.

この発明の一実施例の電子装置の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device of one Example of this invention. 図1に示す電子装置におけるメモリからのリード動作を示すフローチャート図である。FIG. 2 is a flowchart showing a read operation from a memory in the electronic device shown in FIG. 1. 図1に示す電子装置におけるメモリに対するライト動作を示すフローチャート図である。FIG. 2 is a flowchart illustrating a write operation with respect to a memory in the electronic device illustrated in FIG. 1.

符号の説明Explanation of symbols

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: Memory 11, 12: Storage area 13: Address / data detection storage unit 14, 16: Logic operation unit 15: Data Output unit 17: Data input unit

Claims (11)

データを読み書き可能なメモリから第1アドレスに記憶された第1データを読み出すとき、第2アドレスに記憶された第2データを検出し、該検出後に前記第1アドレスに記憶された第1データを検出し、上記検出した前記第1アドレスと前記第1データと前記第2アドレスと前記第2データとを記憶するアドレス・データ検出記憶手段と、該アドレス・データ検出記憶手段に記憶された前記第1データと、前記第1アドレス、前記第2アドレス、前記第1データ又は前記第2データとの論理演算によってデータを算出する論理演算手段と、該論理演算手段によって算出されたデータを前記第1アドレスの第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 the first data stored in the first address is detected after the detection. Detecting and storing the detected first address, the first data, the second address, and the second data, and an address / data detection storage means stored in the address / data detection storage means. Logical operation means for calculating data by logical operation of one 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 as first data of an address. データを読み書き可能なメモリの第1アドレスに第1データを書き込むとき、第2アドレスに記憶された第2データを検出し、該検出後に前記第1アドレスにアクセスし、前記第1アドレスに書き込む第1データを検出し、前記第1アドレスと前記検出した前記第1データと前記第2アドレスと前記第2データとを記憶するアドレス・データ検出記憶手段と、該アドレス・データ検出記憶手段に記憶された前記第1データと、前記第1アドレス、前記第2アドレス又は前記第2データとの論理演算によってデータを算出する論理演算手段と、該論理演算手段によって算出されたデータを前記第1アドレスに書き込む前記第1データとして入力するデータ入力手段とを備えたことを特徴とするメモリ制御装置。   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, the first address is accessed after the detection, and the first data is written to the first address. 1 data is detected, and the first address, the detected first data, the second address, and the second data are stored in the address / data detection storage means, and stored in the address / data detection storage means Logical operation means for calculating data by a logical operation of the first data and the first address, the second address or the second data, and the data calculated by the logical operation means as the first address. A memory control device comprising: data input means for inputting the first data to be written. 前記論理演算手段は、前記アドレス・データ検出記憶手段に記憶された前記第1データと、前記第1アドレス、前記第2アドレス、前記第1データ又は前記第2データとを組み合わせたものとの論理演算によってデータを算出する手段であることを特徴とする請求項1記載のメモリ制御装置。   The logical operation means is a logical combination of the first data stored in the address / data detection storage means and the first address, the second address, the first data, or the second data. 2. The memory control device according to claim 1, wherein the memory control device is means for calculating data by calculation. 前記論理演算手段は、前記アドレス・データ検出記憶手段に記憶された前記第1データと、前記第1アドレス、前記第2アドレス又は前記第2データとを組み合わせたものとの論理演算によってデータを算出する手段であることを特徴とする請求項2記載のメモリ制御装置。   The logical operation means calculates data by logical operation of a combination of the first data stored in the address / data detection storage means and the first address, the second address, or the second data. 3. The memory control apparatus according to claim 2, wherein the memory control apparatus is a means for performing the above-described processing. 請求項1乃至4のいずれか一項に記載のメモリ制御装置の前記メモリを搭載したことを特徴とするプロセスカートリッジ。   A process cartridge comprising the memory of the memory control device according to claim 1. 請求項1乃至4のいずれか一項に記載のメモリ制御装置を搭載し、前記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、該データ判定手段によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化手段とを備えたことを特徴とする電子装置。   5. A data determination unit that includes the memory control device according to claim 1 and that determines whether the data is correct based on the data calculated by the logical operation unit; and the data determination unit An electronic device comprising: initialization means for setting initial values to various parameters when it is determined that the data is not correct. 請求項1乃至4のいずれか一項に記載のメモリ制御装置を搭載し、前記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、該データ判定手段によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加手段とを備えたことを特徴とする電子装置。   5. A data determination unit that includes the memory control device according to claim 1 and that determines whether the data is correct based on the data calculated by the logical operation unit; and the data determination unit An add-on function adding means for adding an add-on function when the data is determined to be correct by the electronic device. 請求項5記載のプロセスカートリッジを搭載し、前記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、該データ判定手段によってデータが正しくないと判定されたときには各種パラメータに初期値をセットする初期化手段とを備えたことを特徴とする電子装置。   The process cartridge according to claim 5 is mounted, and data determination means for determining whether the data is correct based on the data calculated by the logic operation means, and the data determination means determined that the data is not correct An electronic device characterized by comprising initialization means for setting initial values to various parameters. 請求項5記載のプロセスカートリッジを搭載し、前記論理演算手段によって算出されたデータに基づいてデータが正しいか否かを判定するデータ判定手段と、該データ判定手段によってデータが正しいと判定されたときにはアドオン機能を付加するアドオン機能付加手段とを備えたことを特徴とする電子装置。   When the process cartridge according to claim 5 is mounted and the data determination unit determines whether the data is correct based on the data calculated by the logical operation unit, and when the data determination unit determines that the data is correct An electronic apparatus comprising: an add-on function adding means for adding an add-on function. 請求項1又は3記載のメモリ制御装置の前記メモリを備えたプロセスカートリッジを搭載し、前記アドレス・データ検出記憶手段、前記論理演算手段及び前記データ出力手段を、前記プロセスカートリッジの外部に設けたことを特徴とする電子装置。   4. A process cartridge comprising the memory of the memory control device according to claim 1 or 3 is mounted, and the address / data detection storage means, the logical operation means, and the data output means are provided outside the process cartridge. An electronic device characterized by the above. 請求項2又は4記載のメモリ制御装置の前記メモリを備えたプロセスカートリッジを搭載し、前記アドレス・データ検出記憶手段、前記論理演算手段及び前記データ入力手段を、前記プロセスカートリッジの外部に設けたことを特徴とする電子装置。   5. A process cartridge comprising the memory of the memory control device according to claim 2 or 4 is mounted, and the address / data detection storage means, the logical operation means, and the data input means are provided outside the process cartridge. An electronic device characterized by the above.
JP2004260125A 2004-09-07 2004-09-07 Memory controller, process cartridge and electronic device Pending JP2006079207A (en)

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)

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