JP6888488B2 - Information processing device - Google Patents
Information processing device Download PDFInfo
- Publication number
- JP6888488B2 JP6888488B2 JP2017172648A JP2017172648A JP6888488B2 JP 6888488 B2 JP6888488 B2 JP 6888488B2 JP 2017172648 A JP2017172648 A JP 2017172648A JP 2017172648 A JP2017172648 A JP 2017172648A JP 6888488 B2 JP6888488 B2 JP 6888488B2
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- storage unit
- information
- task
- unit
- 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.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Image Input (AREA)
- Storing Facsimile Image Data (AREA)
Description
本発明は、ミラーリングの技術を採用する情報処理装置に関する。 The present invention relates to an information processing device that employs a mirroring technique.
従来から、データを格納する記憶装置として、例えばハードディスクなどの磁気ディスクを備える情報処理装置には、記憶装置の障害の対策として、ミラーリングの技術を採用するものがある。ミラーリングとは、複数の記憶装置に同一のデータを格納することである。 Conventionally, as a storage device for storing data, for example, an information processing device including a magnetic disk such as a hard disk has adopted a mirroring technique as a countermeasure against a failure of the storage device. Mirroring is to store the same data in a plurality of storage devices.
引用文献1では、ミラード構成のディスク装置を備え、2つ以上の読み込み要求が連続し、かつ2台のディスクが正常である場合には、各ディスクのヘッド位置を考慮してヘッドの位置が近いどちらか一方のディスク装置に対して読み込み要求を発行する装置が開示されている。
In
引用文献2では、ミラーリングシステムを構成する一の記憶装置に設けられた第1記憶領域及び他の記憶装置に設けられた第2記憶領域のアクセススピードを取得し、アクセススピードが高い記憶装置を選択してデータを読み出すMFP(Multi Function Printer:複合機)コントローラが開示されている。
In
ここで、ミラーリングの技術を採用し、且つ、記憶装置に格納された情報を読み出し可能な複数のハードウェアを備える情報処理装置では、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることが望まれている。 Here, in an information processing device that employs mirroring technology and has a plurality of hardware capable of reading information stored in a storage device, the time for reading information can be shortened to improve the performance of the device as a whole. It is hoped that it will be improved.
しかしながら、特許文献1や特許文献2に開示された技術では、複数のハードウェアで、記憶装置に格納された情報を読み出すタスクが同時に発生する場合、複数のハードウェアが同時に同一の記憶装置にアクセスする可能性がある。この場合、各ハードウェアと記憶装置とを接続するバスでのアクセスの衝突が発生する。また、いずれかのハードウェアが情報を読み出した後で、他のハードウェアが情報を読み出したり、両ハードウェアによる情報の読み出しを並列的に行ったりする制御が必要となる。このため、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることが困難であった。
However, in the techniques disclosed in
本発明は、上記の状況に鑑みてなされたものであり、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to shorten the time for reading information and improve the performance of the device as a whole.
上記課題を解決し、本発明の目的を達成するため、本発明の情報処理装置は、情報を記憶する第1記憶部と、情報を記憶する第2記憶部と、第1記憶部及び第2記憶部に記憶された情報を読み出し可能な第1制御部と、第1記憶部及び第2記憶部に記憶された情報を読み出し可能な第2制御部と、を備える。第1制御部は、第1記憶部に情報を記憶させるときに、第2記憶部に同一の情報を記憶させることによりミラーリングを行う書き込み処理を実行し、第1制御部による情報を読み出すタスクと第2制御部による情報を読み出すタスクのいずれか一方のタスクが発生したとき、他方のタスクが発生していない場合は、第1制御部又は第2制御部は第1記憶部から情報を読み出し、第1制御部による情報を読み出すタスクと第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生した場合は、タスクを実行中の第1制御部及び第2制御部のいずれか一方は第1記憶部から情報を読み出し、他方は第2記憶部から情報を読み出す。第1制御部は、第1制御部による情報を読み出すタスクと第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生したことを検知し、他方のタスクを実行する第1制御部又は第2制御部が第2記憶部から情報を読み出すように制御する。また、第1制御部は、ミラーリングを行う書き込み処理を実行したとき、第2記憶部に記憶させた情報のリストを作成し、第1制御部による情報を読み出すタスクと第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生したことを検知したとき、リストを参照し、他方のタスクにおいて読み出す情報が第2記憶部に記憶されているか否かを判定し、他方のタスクにおいて読み出す情報が第記憶部に記憶されていると判定した場合は、他方のタスクを実行する第1制御部又は第2制御部が第2記憶部から情報を読み出すように制御する。
In order to solve the above problems and achieve the object of the present invention, the information processing apparatus of the present invention has a first storage unit for storing information, a second storage unit for storing information, a first storage unit, and a second storage unit. It includes a first control unit capable of reading information stored in the storage unit, and a second control unit capable of reading information stored in the first storage unit and the second storage unit. When the first control unit stores information, the first control unit executes a writing process that performs mirroring by storing the same information in the second storage unit, and reads the information by the first control unit. When one of the tasks for reading information by the second control unit occurs and the other task does not occur, the first control unit or the second control unit reads the information from the first storage unit. If the other task occurs during the execution of either the task of reading the information by the first control unit or the task of reading the information by the second control unit, the first control unit and the second control unit that are executing the task One of the control units reads information from the first storage unit, and the other reads information from the second storage unit. The first control unit detects that the other task has occurred during the execution of either the task of reading the information by the first control unit or the task of reading the information by the second control unit, and performs the other task. The first control unit or the second control unit to be executed is controlled to read information from the second storage unit. Further, when the writing process for mirroring is executed, the first control unit creates a list of information stored in the second storage unit, and reads the information by the first control unit and the information by the second control unit. When it is detected that the other task has occurred during the execution of one of the tasks to be read, the list is referred to and it is determined whether or not the information to be read in the other task is stored in the second storage unit. If it is determined that the information to be read in the other task is stored in the first storage unit, the first control unit or the second control unit that executes the other task is controlled to read the information from the second storage unit. ..
本発明によれば、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることができる。
上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。
According to the present invention, it is possible to shorten the time for reading information and improve the performance of the device as a whole.
Issues, configurations and effects other than those described above will be clarified by the description of the following embodiments.
以下、図面を参照して本発明を実施するための形態(以下、実施形態)を詳細に説明する。 Hereinafter, embodiments for carrying out the present invention (hereinafter, embodiments) will be described in detail with reference to the drawings.
[画像形成装置の概要]
まず、本発明を採用した情報処理装置としての画像形成装置の概要を図1乃至図3を用いて説明する。
図1は、ミラーリング構成の記憶装置を備えた画像形成装置1の概要を示す図である。図2は、画像形成装置1の構成例を示すブロック図である。また、図3は、画像形成装置1の要部を説明するための図である。
画像形成装置1は、図1に示すように第1画像読取部19と、画像形成部18を備える。第1画像読取部19は、ユーザーにより原稿台にセットされた原稿の画像を読み取る。
[Overview of image forming apparatus]
First, an outline of an image forming apparatus as an information processing apparatus adopting the present invention will be described with reference to FIGS. 1 to 3.
FIG. 1 is a diagram showing an outline of an
As shown in FIG. 1, the
画像形成部18は、第1画像読取部19が原稿を読み取って生成したスキャン画像データや、図示しないユーザー端末等のネットワーク上の外部装置から受信した原稿のデータに基づいて、トナー等の色材を用いて用紙上に画像を形成する。
The
また、画像形成装置1は、画像形成部18より下流の用紙の搬送経路上に、画像が形成された用紙の用紙面を読み取る第2画像読取部22を備えている。画像形成装置1は、第2画像読取部22が用紙面を読み取ることで生成したスキャン画像データに基づいて、色ずれ等の異常を検出する検査を実施する。
In addition, the
画像形成装置1は、図2に示すように、第1制御部11、第1記憶部12、第2記憶部13、操作部14、表示部15、通信部16、画像処理部17、画像形成部18、第1画像読取部19、画像検査部20、第2制御部21及び第2画像読取部22を備えて構成されている。これらは、互いに内部バスで接続されている。
As shown in FIG. 2, the
第1制御部11は、第1記憶部12に記憶されているプログラムを読み出し、当該プログラムを実行することにより画像形成装置1の各部を制御する。第1制御部11は、図3に示すように、CPU(Central Processing Unit)30、RAM(Random Access Memory)31、サウスブリッジ部33、DMA(Direct Memory Access)コントローラ(図示省略)等により構成されている。また、CPU30は、コア部32を備える。コア部32は、例えば画像処理部17と接続されている。
The
サウスブリッジ部33は、CPU30と各種周辺装置とを接続するためのチップセットである。サウスブリッジ部33には、例えば画像検査部20、第2制御部21、第1記憶部12や第2記憶部13が接続されている。
The
RAM31には、第1記憶部アクセスフラグ格納領域が設けられている。第1記憶部アクセスフラグは、第2制御部21が第1記憶部12にアクセスするタスクを実行しているか否かを示すフラグである。第1記憶部アクセスフラグ格納領域に「1」が格納されている場合は、第2制御部21が第1記憶部12にアクセスするタスクを実行していることを示し、「0」が格納されている場合は、第2制御部21が第1記憶部12にアクセスするタスクを実行していないことを示す。
The
第1制御部11は、第1画像読取部19が読み取って生成したスキャン画像データを、RAM31、第1記憶部12及び第2記憶部13に記憶させる。また、第1制御部11は、スキャン画像データを画像処理部17により画像処理させて、画像処理後の画像データに基づいて、画像形成部18により用紙上に画像を形成させる。
The
第1記憶部12は、書き換え可能なハードディスクなどの磁気ディスクからなる大容量メモリーにより構成されている。第1記憶部12は、第1制御部11により読み取り可能なプログラム、プログラムの実行時に用いられるデータ等を記憶している。
第2記憶部13は、第1記憶部12と同様に、書き換え可能なハードディスクなどの磁気ディスクからなる大容量メモリーで構成されている。
The
Like the
操作部14及び表示部15は、図1に示すように画像形成装置1の上部にユーザーインターフェイスとして設けられている。
操作部14は、ユーザーの操作に応じた操作信号を生成し、第1制御部11に出力する。操作部14としては、例えばキー、表示部15と一体に構成されたタッチパネル等が挙げられる。
As shown in FIG. 1, the
The
表示部15は、第1制御部11の指示にしたがって操作画面等を表示する。表示部15としては、LCD(Liquid Crystal Display)、OELD(Organic Electro Luminescence Display)等を用いることができる。
The
通信部16は、ユーザー端末、サーバー、他の画像形成装置等のネットワーク上の外部装置と通信する。例えば、通信部16は、ユーザー端末からネットワークを介してページ記述言語(PDL:Page Description Language)で記述された原稿のデータを受信する。
The
画像処理部17は、ASIC(application specific integrated circuit)などの集積回路によって構成されている。画像処理部17は、ページ記述言語で記述された原稿のデータに基づいて、画素ごとに階調値を有するビットマップ形式の画像データを、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色ごとに生成する。また、画像処理部17は、第1画像読取部19が読み取った原稿のスキャン画像データに基づいて、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色ごとのビットマップ形式の画像データを生成する。階調値は、画像の濃淡を表すデータ値であり、例えば8bitのデータ値は0〜255階調の濃淡を表す。
The
また、画像処理部17は、生成した画像データに必要な画像処理、例えば階調処理、中間調処理を施す。
階調処理は、各画素の階調値を、用紙上に形成された画像の濃度特性が目標の濃度特性と一致するように補正された階調値に変換する処理である。また、中間調処理は、例えば誤差拡散処理、組織的ディザ法を用いたスクリーン処理等である。
Further, the
The gradation process is a process of converting the gradation value of each pixel into a gradation value corrected so that the density characteristic of the image formed on the paper matches the target density characteristic. Further, the halftone processing is, for example, error diffusion processing, screen processing using a systematic dither method, or the like.
画像形成部18は、画像処理部17により生成された画像データの各画素の階調値に応じて、複数の色からなる画像を用紙上に形成する。
画像形成部18は、図1に示すように、4つの書込みユニット181、中間転写ベルト182、2次転写ローラー183、定着装置184、給紙トレイ185及び反転機構186を備えている。各書込みユニット181は、中間転写ベルト182のベルト面に沿って直列に配置されている。中間転写ベルト182は、複数のローラーにより巻き回されて回転する。複数のローラーの1つは2次転写ローラー183を構成している。2次転写ローラー183及び定着装置184は、給紙トレイ185から搬送される用紙の搬送経路上に配置されている。給紙トレイ185は、用紙を収容している。
The
As shown in FIG. 1, the
4つの書込みユニット181は、それぞれC、M、Y及びKの色の画像を形成する。各書込みユニット181の構成は同じであり、露光部18a、感光体18b、現像部18c、帯電部18d及びクリーニング部18eを備えている。
各書込みユニット181は、帯電部18dにより感光体18bに電圧を印加して帯電させた後、各色C、M、Y及びKに対応する画像データの各画素の階調値に応じて露光部18aによりレーザービームを照射し、感光体18bを露光する。各書込みユニット181が現像部18cによりトナー等の色材を供給して、感光体18b上に形成された静電潜像を現像すると、各書込みユニット181の感光体18b上に各色の画像が形成される。
The four
Each
各感光体18b上の画像は中間転写ベルト182上に順次重ねて転写され、中間転写ベルト182上には複数の色からなる画像が形成される。画像の転写後、各書込みユニット181は、転写後に感光体18b上に残留する色材をクリーニング部18eにより除去する。
給紙トレイ185により用紙を給紙し、2次転写ローラー183によって中間転写ベルト182上の複数の色からなる画像を用紙上に転写すると、定着装置184により当該用紙を加熱及び加圧して、画像を用紙に定着させる。用紙の両面に画像を形成する場合は、反転機構186により用紙面を反転させて再度2次転写ローラー183へ用紙を搬送する。
The image on each photoconductor 18b is sequentially superimposed and transferred on the
When the paper is fed by the
第2画像読取部22は、図1に示すように用紙の搬送経路上に配置されるラインセンサー、エリアセンサー等である。第2画像読取部22は、画像形成部18により画像が形成された用紙面を読み取って、ビットマップ形式のスキャン画像データを生成する。
The second
画像検査部20は、ASICなどの集積回路によって構成されている。画像検査部20は、第2画像読取部22により生成されたスキャン画像データに各種画像処理を施す。なお、第1制御部11は、画像検査部20によって各種画像処理が施されたスキャン画像データを、第1記憶部12及び第2記憶部13に記憶させる。
The
第2制御部21は、図3に示すように、GPU(Graphic Processing Unit)40と、DMAコントローラ41を有する。DMAコントローラ41は、あらかじめ決められた動作を行うモジュールで第1記憶部12及び第2記憶部13からデータを読み出す。
As shown in FIG. 3, the
第2制御部21のGPU40は、第1記憶部12及び第2記憶部13に第2画像読取部22が生成したスキャン画像データ(以下の説明において、「出力スキャン画像データ」と称する場合がある)が記憶されると、画像検査処理を実行する。画像検査処理において、GPU40は、第1記憶部12又は第2記憶部13から出力スキャン画像データを読み出す。また、GPU40は、読み出した出力スキャン画像データに対応する第1画像読取部19が生成したスキャン画像データ(以下の説明において、「原稿スキャン画像データ」と称する場合がある)を、第1記憶部12又は第2記憶部13から読み出す。そして、GPU40は、読み出した出力スキャン画像データと原稿スキャン画像データとを比較することにより、出力スキャン画像データ中の異常を検出する。画像検査処理により検出できる異常の種類には、画像の欠陥、色ずれ及び位置ずれがあり、画像検査処理では、これらの種類のうちの少なくとも1種類の異常を検出する。
The
欠陥の検出時、第2制御部21のGPU40は、スキャン画像中のスジ、しわ、汚れ、画像の誤り、消失等の欠陥を検出する。例えば、GPU40は、出力スキャン画像データと原稿スキャン画像データの特徴点を決定し、当該特徴点の特徴量を算出して判別分析法により類似するか否かを判別し、類似しないと判別された特徴点を欠陥が生じた画像領域として検出する。
At the time of detecting defects, the
色ずれの検出時、第2制御部21のGPU40は、階調値が異なる画像領域を色ずれが生じた画像領域として検出する。GPU40は、原稿スキャン画像データの階調値を基準値として、出力スキャン画像データの階調値と基準値との差を色ずれ量として算出する
At the time of detecting the color shift, the
位置ずれの検出時、第2制御部21のGPU40は、位置が異なる画像領域を位置ずれが生じた画像領域として検出する。GPU40は、出力スキャン画像データと原稿スキャン画像データの位置ずれ検出用の画像の位置、例えば用紙の端部から所定の画像までの距離等を比較し、位置が異なる画像領域を位置ずれが生じた画像領域として検出する。
At the time of detecting the misalignment, the
[ミラーリング構成]
次に、画像形成装置1におけるミラーリング構成について説明する。上述のとおり、第1制御部11は、データ、例えば第1画像読取部19が生成した原稿スキャン画像データ、及び、第2画像読取部22が生成した出力スキャン画像データ、を第1記憶部12及び第2記憶部13に記憶させる。具体的には、第1制御部11は、第1記憶部12にデータを記憶させる際に、同一のデータを、同時(リアルタイム)に、第2記憶部13にも記憶させることによりミラーリングを行う書き込み処理を実行する。すなわち、画像形成装置1は、ミラーリング(RAID1:Redundant Arrays of Inexpensive Disks 1)の技術を採用している。これによって、画像形成装置1は、第1記憶部12をマスター領域とし、第2記憶部13をミラーリング領域とするミラーリング構成を備えている。
[Mirroring configuration]
Next, the mirroring configuration in the
なお、本実施形態では、第2記憶部13を第1記憶部12のバックアップとして機能させるため、原則的には、第1記憶部12にデータを記憶させる際には、同一のデータが、同時に、第2記憶部13にも記憶される。しかしこれに代えて、第1記憶部12に所定のデータを記憶させる際にのみ、同一のデータを、同時に、第2記憶部13にも記憶させるようにしてもよい。
In this embodiment, since the
図4は、本実施形態に係るデータ管理テーブルT1を示す図である。
データ管理テーブルT1は、第1記憶部12に記憶されている。第1制御部11は、第1記憶部12にデータを記憶させる際に、データ管理テーブルT1に記憶させるデータについての情報を追加する。
FIG. 4 is a diagram showing a data management table T1 according to the present embodiment.
The data management table T1 is stored in the
データ管理テーブルT1は、ID、ファイル名、ミラーリングフラグ、第1記憶部アドレス、第2記憶部アドレスの各フィールドを有している。IDフィールドには、データ生成時にデータに付される固有のID(例えば「1」、「2」)が格納される。ファイル名フィールドには、データ生成時にデータに付される名称が格納される。 The data management table T1 has fields of ID, file name, mirroring flag, first storage unit address, and second storage unit address. In the ID field, a unique ID (for example, "1", "2") attached to the data at the time of data generation is stored. The file name field stores the name given to the data when the data is generated.
ミラーリングフラグは、第1制御部11が、第1記憶部12に記憶させるデータと、同一のデータを、第2記憶部13に記憶させる場合には「1」が格納され、記憶させない場合には「0」が格納される。すなわち、ミラーリングフラグが「1」のデータは、第1記憶部12及び第2記憶部13の両方に記憶されていることになる。
As for the mirroring flag, "1" is stored when the
第1記憶部アドレスは、第1記憶部12において当該データが記憶されている領域の場所を示すアドレスが格納される。第2記憶部アドレスは、第2記憶部13において当該データが記憶されている領域の場所を示すアドレスが格納される。これらアドレスは、第1制御部11及び第2制御部21が、第1記憶部12及び第2記憶部13からデータを読み出す際に用いられる。なお、第1制御部11及び第2制御部21が、データを読み出す態様については、後述する。
The first storage unit address stores an address indicating the location of the area in which the data is stored in the
[データの読み出しに係る処理]
次に、図5及び図6を参照して、記憶されているデータの読み出しに係る処理について、説明する。
図5は、タスク開始コマンド受信時処理の一例を示すフローチャートである。図6は、タスク開始処理の一例を示すフローチャートである。
[Processing related to data reading]
Next, the process related to reading the stored data will be described with reference to FIGS. 5 and 6.
FIG. 5 is a flowchart showing an example of processing at the time of receiving a task start command. FIG. 6 is a flowchart showing an example of the task start process.
本実施形態においては、画像処理部17が上述の各種画像処理を行う際に、第1制御部11のCPU30が、第1記憶部12又は第2記憶部13から原稿スキャン画像データを読み出す。また、第2制御部21のGPU40が、上述の画像検査処理を行う際に、第1記憶部12又は第2記憶部13から原稿スキャン画像データ及び出力スキャン画像データを読み出す。すなわち、これらの処理には、記憶されているデータを読み出すタスクが含まれる。
In the present embodiment, when the
[タスク開始コマンド受信時処理]
第2制御部21のGPU40は、記憶されているデータを読み出すタスクを開始する際、第1制御部11にタスク開始コマンドを送信する。タスク開始コマンドには、読み出すデータのID又はデータのファイル名が含まれている。
[Processing when task start command is received]
When starting the task of reading the stored data, the
第1制御部11のCPU30は、第2制御部21からタスク開始コマンドを受信すると、図5に示すタスク開始コマンド受信時処理を行う。
タスク開始コマンド受信時処理において、第1制御部11のCPU30は、まず自身が第1記憶部12にアクセスするタスクを実行しているか否かを判定する(S1)。第1記憶部12にアクセスするタスクを実行している場合(ステップS1がYES判定の場合)、第1制御部11のCPU30は、第2制御部21が読み出すデータが第2記憶部13に記憶されているか否かを判定する(S2)。具体的には、第1制御部11のCPU30は、データ管理テーブルT1(図4参照)を参照し、受信したタスク開始コマンドに含まれているデータのID又はデータのファイル名に対応するミラーリングフラグの状態に応じて、読み出すデータが第2記憶部13に記憶されているか否かを判定する。
When the
In the task start command reception processing, the
第2制御部21が読み出すデータが第2記憶部13に記憶されていない場合(S2がNO判定の場合)、第1制御部11のCPU30は、処理をステップS5に移行させる。一方、第2制御部21が読み出すデータが第2記憶部13に記憶されている場合(S2がYES判定の場合)、第1制御部11のCPU30は、データ管理テーブルT1を参照し、読み出すデータの第2記憶部アドレスを第2制御部21へ通知する(S3)。具体的には、第1制御部11のCPU30は、第2記憶部アドレスを含むコマンドを第2制御部21へ送信する。ステップS3を実行後、第1制御部11のCPU30は、タスク開始コマンド受信時処理を終了する。
When the data read by the
説明をステップS1に戻し、ステップS1の処理で、第1記憶部12にアクセスするタスクを実行していないと判定する場合(ステップS1がNO判定の場合)、第1制御部11のCPU30は、RAM31に設けられている第1記憶部アクセスフラグ(第2制御部21が第1記憶部12にアクセスするタスクを実行していることを示すフラグ)をONに設定する(S4)。すなわち、第1制御部11のCPU30は、RAM31の第1記憶部アクセスフラグ格納領域に「1」を格納する。その後、処理をステップS5に移行させる。
Returning the explanation to step S1, when it is determined in the process of step S1 that the task of accessing the
ステップS2で、第2制御部21が読み出すデータが第2記憶部13に記憶されていないと判定する場合(S2がNO判定の場合)、又は、ステップS4の後、第1制御部11のCPU30は、データ管理テーブルT1を参照し、読み出すデータの第1記憶部アドレスを第2制御部21へ通知する(S5)。具体的には、第1制御部11のCPU30は、第1記憶部アドレスを含むコマンドを第2制御部21へ送信する。そして、第1制御部11のCPU30は、タスク開始コマンド受信時処理を終了する。
In step S2, when it is determined that the data read by the
第2制御部21のGPU40は、第1制御部11から第2記憶部アドレスを含むコマンドを受信すると、DMAコントローラ41に、第2記憶部13からのデータの読み出しを指示する。また、GPU40は、第1制御部11から第1記憶部アドレスを含むコマンドを受信すると、DMAコントローラ41に、第1記憶部12からのデータの読み出しを指示する。なお、ステップS2及びステップS5の処理を経て第1制御部11から第1記憶部アドレスを含むコマンドが送信された場合は、第1制御部11が第1記憶部12からデータを読み出すタスクを終了した後で、第2制御部21のGPU40が、第1記憶部12からの情報の読み出しを行うことになる。
When the
なお、第2制御部21のGPU40は、記憶されているデータを読み出すタスクを終了する際に、その旨を示すタスク終了コマンドを、第1制御部11に送信する。第1制御部11のCPU30は、タスク終了コマンドを受信すると、第1記憶部アクセスフラグをOFFに設定する。具体的には、第1制御部11のCPU30は、RAM31の第1記憶部アクセスフラグ格納領域に「0」を格納する。
When the
[タスク開始処理]
第1制御部11のCPU30は自身が記憶されているデータを読み出すタスクを開始する際に、図6に示すタスク開始処理を行う。
タスク開始処理において、第1制御部11のCPU30は、第1記憶部12にアクセスする他のタスクが発生しているか否かを判定する(S11)。具体的には、RAM31の第1記憶部アクセスフラグ格納領域に「1」が格納されているか否かを確認する。
[Task start processing]
The
In the task start process, the
第1記憶部12にアクセスする他のタスクが発生していない場合(ステップS11がNO判定の場合)、第1制御部11のCPU30は、第1記憶部12にアクセスする(S12)。具体的には、第1制御部11のCPU30は、データ管理テーブルT1(図4参照)を参照し、読み出すデータの第1記憶部アドレスが示す領域にアクセスし、データを読み出す。そして、第1制御部11のCPU30は、タスク開始処理を終了する。
When no other task to access the
一方、第1記憶部12にアクセスする他のタスクが発生している場合(ステップS11がYES判定の場合)、第1制御部11のCPU30は、読み出すデータが第2記憶部13に記憶されているか否かを判定する(S13)。具体的には、第1制御部11のCPU30は、データ管理テーブルT1(図4参照)を参照し、読み出すデータのID又はデータのファイル名に対応するミラーリングフラグの状態に基づいて、読み出すデータが第2記憶部13に記憶されているか否かを判定する。読み出すデータが第2記憶部13に記憶されている場合(S13がYES判定の場合)、第1制御部11のCPU30は、データ管理テーブルT1を参照し、第2記憶部13の第2記憶部アドレスが示す領域にアクセスし、データを読み出す(S14)。そして、第1制御部11のCPU30は、タスク開始処理を終了する。
On the other hand, when another task to access the
一方、ステップS13で、読み出すデータが第2記憶部13に記憶されていないと判定する場合(S13がNO判定の場合)、第2制御部21が他のタスクを終了した後、すなわち、他のタスクに係るタスク終了コマンドを受信した後、第1制御部11のCPU30は、第1記憶部12の第1記憶部アドレスが示す領域にアクセスし、データを読み出す(S15)。そして、第1制御部11のCPU30は、タスク開始処理を終了する。なお、第1制御部11のCPU30は、第1制御部11が備えるDMAコントローラを用いて、記憶されているデータを読み出してもよい。
On the other hand, in step S13, when it is determined that the data to be read is not stored in the second storage unit 13 (when the determination in S13 is NO), after the
以上説明した実施形態に係る画像形成装置1では、第1制御部11が第1記憶部12に記憶されている情報を読み出すタスクを実行しているときに、第2制御部21が記憶されている情報を読み出すタスクを開始する場合は、第2制御部21は、第2記憶部13から情報を読み出す。また、第2制御部21が第1記憶部12に記憶されている情報を読み出すタスクを実行しているときに、第1制御部11が記憶されている情報を読み出すタスクを開始する場合は、第1制御部11は、第2記憶部13から情報を読み出す。すなわち、第1制御部11による情報を読み出すタスクと第2制御部21による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生した場合は、第1制御部11及び第2制御部21のいずれか一方は第1記憶部から情報を読み出し、他方は第2記憶部から情報を読み出す。
In the
このため、一つの記憶装置に複数のハードウェアからのアクセスが集中しないため、記憶装置と各部を接続するバスでのアクセスの衝突の発生を防止できる。また、先に発生したタスクの完了を待つことや、一つの記憶装置へのアクセスを並列的に行う必要がない。このため、情報を読み出す両タスクの完了に要する時間を短縮することができる。すなわち、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることができる。 Therefore, since access from a plurality of hardware is not concentrated on one storage device, it is possible to prevent the occurrence of an access collision on the bus connecting the storage device and each part. In addition, there is no need to wait for the completion of the task that occurred earlier or to access one storage device in parallel. Therefore, the time required to complete both tasks of reading information can be shortened. That is, the time for reading information can be shortened and the performance of the device as a whole can be improved.
また、第2制御部21が情報を読み出す際に、GPU40は、第2制御部21のDMAコントローラ41に情報の読み出しを指示する。ここで、GPU40が、情報の読み出しに、第1制御部11が有するDMAコントローラ(図示省略)を用いる場合は、第1制御部11及び第2制御部21で情報を読み出すタスクが発生していると、DMAコントローラへの指示(命令)が競合し、障害が発生する可能性がある。本実施形態では、上述のとおり、GPU40は、第2制御部21のDMAコントローラ41に情報の読み出しを指示するため、上記障害の発生を防止することができる。
Further, when the
さらに、本発明は上述した実施形態例に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りにおいて、その他種々の応用例、変形例を取り得ることは勿論である。 Furthermore, the present invention is not limited to the above-described embodiments, and it goes without saying that various other application examples and modifications can be taken as long as the gist of the present invention described in the claims is not deviated. ..
例えば、本実施形態では、第2制御部21のGPU40は、記憶されているデータを読み出すタスクを開始する際、第1制御部11にタスク開始コマンドを送信する態様を説明した。しかしながら、第2制御部21のGPU40は、記憶されているデータを読み出すタスクに限らず、何らかのタスクを開始する際に、第1制御部11にタスク開始コマンドを送信してもよい。この場合のタスク開始コマンドには、第2制御部21で開始するタスクが、記憶されているデータを読み出すタスクであるか否かを示す情報が含まれる。また、第1制御部11のCPU30は、タスク開始コマンド受信時処理において、図5に示すステップS1の処理の前に、受信したタスク開始コマンドに基づいて、第2制御部21が開始するタスクが記憶されているデータを読み出すタスクであるか否かを判定する処理を行う。そして、データを読み出すタスクでない場合は、タスク開始コマンドを終了し、一方で、データを読み出すタスクの場合は、ステップS1以降の処理を行う。
For example, in the present embodiment, the
また、本実施形態では、第2制御部21がGPU40を有する態様を説明した。しかし、GPU40に代えて、第2制御部21が、CPUや記憶部に記憶されている情報を読み出し可能な他の処理装置を有していてもよい。
Further, in the present embodiment, the aspect in which the
また、本実施形態では、情報処理装置として画像形成装置1を例に説明したが、情報処理装置はこれに限定されない。例えば、情報処理装置は、クライアント装置に各種情報を提供可能なネットワーク上のサーバーであってもよい。
Further, in the present embodiment, the
1…画像形成装置、 11…第1制御部、 12…第1記憶部、 13…第2記憶部、 14…操作部、 15…表示部、 16…通信部、 17…画像処理部、 18…画像形成部、 19…第1画像読取部、 20…画像検査部、 21…第2制御部、 22…第2画像読取部、 30…CPU、 31…RAM、 32…コア部、 33…サウスブリッジ部、 40…GPU、 41…DMAコントローラ、 T1…データ管理テーブル 1 ... Image forming device, 11 ... 1st control unit, 12 ... 1st storage unit, 13 ... 2nd storage unit, 14 ... Operation unit, 15 ... Display unit, 16 ... Communication unit, 17 ... Image processing unit, 18 ... Image forming unit, 19 ... 1st image reading unit, 20 ... Image inspection unit, 21 ... 2nd control unit, 22 ... 2nd image reading unit, 30 ... CPU, 31 ... RAM, 32 ... Core unit, 33 ... South bridge Department, 40 ... GPU, 41 ... DMA controller, T1 ... Data management table
Claims (3)
情報を記憶する第2記憶部と、
前記第1記憶部及び前記第2記憶部に記憶された情報を読み出し可能な第1制御部と、
前記第1記憶部及び前記第2記憶部に記憶された情報を読み出し可能な第2制御部と、を備え、
前記第1制御部は、前記第1記憶部に情報を記憶させるときに、前記第2記憶部に同一の情報を記憶させることによりミラーリングを行う書き込み処理を実行し、
前記第1制御部による情報を読み出すタスクと前記第2制御部による情報を読み出すタスクのいずれか一方のタスクが発生したとき、他方のタスクが発生していない場合は、前記第1制御部又は前記第2制御部は第1記憶部から情報を読み出し、
前記第1制御部による情報を読み出すタスクと前記第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生した場合は、タスクを実行中の前記第1制御部及び前記第2制御部のいずれか一方は前記第1記憶部から情報を読み出し、他方は前記第2記憶部から情報を読み出し、
前記第1制御部は、
前記第1制御部による情報を読み出すタスクと前記第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生したことを検知し、
他方のタスクを実行する前記第1制御部又は前記第2制御部が前記第2記憶部から情報を読み出すように制御し、
前記第1制御部は、
前記ミラーリングを行う書き込み処理を実行したとき、前記第2記憶部に記憶させた情報のリストを作成し、
前記第1制御部による情報を読み出すタスクと前記第2制御部による情報を読み出すタスクのいずれか一方のタスクの実行中に他方のタスクが発生したことを検知したとき、前記リストを参照し、他方のタスクにおいて読み出す情報が前記第2記憶部に記憶されているか否かを判定し、
他方のタスクにおいて読み出す情報が前記第2記憶部に記憶されていると判定した場合は、他方のタスクを実行する前記第1制御部又は前記第2制御部が前記第2記憶部から情報を読み出すように制御する
ことを特徴とする情報処理装置。 The first storage unit that stores information and
A second storage unit that stores information,
A first control unit capable of reading information stored in the first storage unit and the second storage unit, and
A second control unit capable of reading information stored in the first storage unit and the second storage unit is provided.
When the first storage unit stores information, the first control unit executes a writing process for mirroring by storing the same information in the second storage unit.
When either the task of reading the information by the first control unit or the task of reading the information by the second control unit occurs, if the other task does not occur, the first control unit or the said The second control unit reads information from the first storage unit and reads it.
If the other task occurs during the execution of either the task of reading the information by the first control unit or the task of reading the information by the second control unit, the first control unit executing the task. and one of said second control unit reads the information from the first storage unit and the other to read out the information from the second storage unit,
The first control unit
It is detected that the other task has occurred during the execution of either the task of reading the information by the first control unit or the task of reading the information by the second control unit.
The first control unit or the second control unit that executes the other task is controlled to read information from the second storage unit.
The first control unit
When the writing process for mirroring is executed, a list of information stored in the second storage unit is created.
When it is detected that the other task has occurred during the execution of either the task of reading the information by the first control unit or the task of reading the information by the second control unit, the other is referred to. It is determined whether or not the information to be read in the task of is stored in the second storage unit, and it is determined.
When it is determined that the information to be read in the other task is stored in the second storage unit, the first control unit or the second control unit that executes the other task reads the information from the second storage unit. An information processing device characterized by being controlled in such a manner.
ことを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the first control unit simultaneously performs a process of storing information in the first storage unit and a write process of performing the mirroring.
DMAコントローラを有し、
前記DMAコントローラを介して、前記第1記憶部又は前記第2記憶部から情報を読み出す
ことを特徴とする請求項1または2に記載の情報処理装置。 The second control unit
Has a DMA controller
The information processing apparatus according to claim 1 or 2 , wherein information is read from the first storage unit or the second storage unit via the DMA controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017172648A JP6888488B2 (en) | 2017-09-08 | 2017-09-08 | Information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017172648A JP6888488B2 (en) | 2017-09-08 | 2017-09-08 | Information processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019049787A JP2019049787A (en) | 2019-03-28 |
JP6888488B2 true JP6888488B2 (en) | 2021-06-16 |
Family
ID=65905044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017172648A Active JP6888488B2 (en) | 2017-09-08 | 2017-09-08 | Information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6888488B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7403554B2 (en) * | 2019-10-23 | 2023-12-22 | 株式会社ソニー・インタラクティブエンタテインメント | information processing equipment |
-
2017
- 2017-09-08 JP JP2017172648A patent/JP6888488B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019049787A (en) | 2019-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010210652A (en) | Image forming apparatus and image forming method | |
US20200288030A1 (en) | Image inspection apparatus, image inspection method, and image inspection program | |
US10877420B2 (en) | Image forming apparatus having correction of following image based on deformation of preceding recording medium | |
US20090080034A1 (en) | Data processing device, image forming device, system, and a computer-readable recording medium | |
US8456652B2 (en) | Image forming apparatus and method for controlling sheet conveyance intervals in same | |
CN101339388B (en) | Image processing apparatus and control method thereof | |
CN102681390A (en) | Image forming apparatus, image forming method, and computer program product | |
JP2020127135A (en) | Image inspection device, image forming apparatus, image inspection method, and program | |
CN103116253B (en) | Image forming apparatus | |
US8331738B2 (en) | Reducing buffer size requirements in an electronic registration system | |
JP6888488B2 (en) | Information processing device | |
JP2010212745A (en) | Image forming apparatus and method of forming image | |
JP6201557B2 (en) | Image forming apparatus | |
JP2018074423A (en) | Image processing apparatus, image forming apparatus, image processing method, and image processing program | |
AU2012205245A1 (en) | Printing system, image forming apparatus, and printing method | |
US11108932B2 (en) | Image test apparatus, image forming system and recording medium | |
JP2009058765A (en) | Image forming apparatus, image processing method, and storage medium | |
JP2007144740A (en) | Image forming device, its control method and program | |
US10999478B2 (en) | Image processing apparatus, image forming apparatus, and non-transitory computer readable medium | |
US9158224B2 (en) | Image forming apparatus generating horizontal synchronization signals and method of image forming | |
JP2005004121A (en) | Color image forming apparatus | |
JP2017013400A (en) | Image formation apparatus, image formation method, and image formation system | |
JPH11112803A (en) | Printing system, printing device and printing control method | |
JP2016076868A (en) | Image forming apparatus and mask image forming method | |
JP2005181788A (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200819 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210209 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210405 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210420 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210503 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6888488 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |