JP6888488B2 - Information processing device - Google Patents

Information processing device Download PDF

Info

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
Application number
JP2017172648A
Other languages
Japanese (ja)
Other versions
JP2019049787A (en
Inventor
克智 手嶋
克智 手嶋
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2017172648A priority Critical patent/JP6888488B2/en
Publication of JP2019049787A publication Critical patent/JP2019049787A/en
Application granted granted Critical
Publication of JP6888488B2 publication Critical patent/JP6888488B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Reference 1, when a disk device having a mirrored configuration is provided, two or more read requests are continuous, and two disks are normal, the head positions are close to each other in consideration of the head position of each disk. A device that issues a read request to either disk device is disclosed.

引用文献2では、ミラーリングシステムを構成する一の記憶装置に設けられた第1記憶領域及び他の記憶装置に設けられた第2記憶領域のアクセススピードを取得し、アクセススピードが高い記憶装置を選択してデータを読み出すMFP(Multi Function Printer:複合機)コントローラが開示されている。 In Reference 2, the access speeds of the first storage area provided in one storage device constituting the mirroring system and the second storage area provided in the other storage device are acquired, and a storage device having a high access speed is selected. An MFP (Multi Function Printer) controller that reads data is disclosed.

特開平5−165579号公報Japanese Unexamined Patent Publication No. 5-165579 特開2010−26961号公報Japanese Unexamined Patent Publication No. 2010-26961

ここで、ミラーリングの技術を採用し、且つ、記憶装置に格納された情報を読み出し可能な複数のハードウェアを備える情報処理装置では、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることが望まれている。 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 Patent Document 1 and Patent Document 2, when a task of reading information stored in a storage device occurs simultaneously in a plurality of hardware, the plurality of hardware simultaneously access the same storage device. there's a possibility that. In this case, an access conflict occurs on the bus connecting each hardware and the storage device. Further, after one of the hardware reads the information, the other hardware needs to read the information, or both hardwares need to control the reading of the information in parallel. Therefore, it has been difficult to shorten the time for reading information and improve the performance of the entire device.

本発明は、上記の状況に鑑みてなされたものであり、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることを目的とする。 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.

本発明の実施形態に係るミラーリング構成の記憶装置を備えた画像形成装置の概要を示す図である。It is a figure which shows the outline of the image forming apparatus provided with the storage apparatus of the mirroring structure which concerns on embodiment of this invention. 図1の画像形成装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image forming apparatus of FIG. 図1の画像形成装置の要部を説明するための図である。It is a figure for demonstrating the main part of the image forming apparatus of FIG. 本発明の実施形態に係るデータ管理テーブルを示す図である。It is a figure which shows the data management table which concerns on embodiment of this invention. 本発明の実施形態に係るタスク開始コマンド受信時処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process at the time of receiving a task start command which concerns on embodiment of this invention. 本発明の実施形態に係るタスク開始処理の一例を示すフローチャートである。It is a flowchart which shows an example of the task start processing which concerns on embodiment of this invention.

以下、図面を参照して本発明を実施するための形態(以下、実施形態)を詳細に説明する。 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 image forming apparatus 1 provided with a storage device having a mirroring configuration. FIG. 2 is a block diagram showing a configuration example of the image forming apparatus 1. Further, FIG. 3 is a diagram for explaining a main part of the image forming apparatus 1.
As shown in FIG. 1, the image forming apparatus 1 includes a first image reading unit 19 and an image forming unit 18. The first image reading unit 19 reads an image of a document set on the platen by the user.

画像形成部18は、第1画像読取部19が原稿を読み取って生成したスキャン画像データや、図示しないユーザー端末等のネットワーク上の外部装置から受信した原稿のデータに基づいて、トナー等の色材を用いて用紙上に画像を形成する。 The image forming unit 18 is a coloring material such as toner based on scanned image data generated by the first image reading unit 19 reading a document and data of a document received from an external device on a network such as a user terminal (not shown). Is used to form an image on paper.

また、画像形成装置1は、画像形成部18より下流の用紙の搬送経路上に、画像が形成された用紙の用紙面を読み取る第2画像読取部22を備えている。画像形成装置1は、第2画像読取部22が用紙面を読み取ることで生成したスキャン画像データに基づいて、色ずれ等の異常を検出する検査を実施する。 In addition, the image forming apparatus 1 includes a second image reading unit 22 that reads the paper surface of the paper on which the image is formed on the paper conveying path downstream of the image forming unit 18. The image forming apparatus 1 carries out an inspection for detecting an abnormality such as a color shift based on the scanned image data generated by the second image reading unit 22 reading the paper surface.

画像形成装置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 image forming apparatus 1 includes a first control unit 11, a first storage unit 12, a second storage unit 13, an operation unit 14, a display unit 15, a communication unit 16, an image processing unit 17, and an image forming unit. It is configured to include a unit 18, a first image reading unit 19, an image inspection unit 20, a second control unit 21, and a second image reading unit 22. These are connected to each other by an internal bus.

第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 first control unit 11 reads a program stored in the first storage unit 12 and controls each unit of the image forming apparatus 1 by executing the program. As shown in FIG. 3, the first control unit 11 includes a CPU (Central Processing Unit) 30, a RAM (Random Access Memory) 31, a south bridge unit 33, a DMA (Direct Memory Access) controller (not shown), and the like. ing. Further, the CPU 30 includes a core unit 32. The core unit 32 is connected to, for example, an image processing unit 17.

サウスブリッジ部33は、CPU30と各種周辺装置とを接続するためのチップセットである。サウスブリッジ部33には、例えば画像検査部20、第2制御部21、第1記憶部12や第2記憶部13が接続されている。 The south bridge unit 33 is a chipset for connecting the CPU 30 and various peripheral devices. For example, an image inspection unit 20, a second control unit 21, a first storage unit 12, and a second storage unit 13 are connected to the south bridge unit 33.

RAM31には、第1記憶部アクセスフラグ格納領域が設けられている。第1記憶部アクセスフラグは、第2制御部21が第1記憶部12にアクセスするタスクを実行しているか否かを示すフラグである。第1記憶部アクセスフラグ格納領域に「1」が格納されている場合は、第2制御部21が第1記憶部12にアクセスするタスクを実行していることを示し、「0」が格納されている場合は、第2制御部21が第1記憶部12にアクセスするタスクを実行していないことを示す。 The RAM 31 is provided with a first storage unit access flag storage area. The first storage unit access flag is a flag indicating whether or not the second control unit 21 is executing the task of accessing the first storage unit 12. When "1" is stored in the first storage unit access flag storage area, it indicates that the second control unit 21 is executing the task of accessing the first storage unit 12, and "0" is stored. If so, it indicates that the second control unit 21 is not executing the task of accessing the first storage unit 12.

第1制御部11は、第1画像読取部19が読み取って生成したスキャン画像データを、RAM31、第1記憶部12及び第2記憶部13に記憶させる。また、第1制御部11は、スキャン画像データを画像処理部17により画像処理させて、画像処理後の画像データに基づいて、画像形成部18により用紙上に画像を形成させる。 The first control unit 11 stores the scanned image data read and generated by the first image reading unit 19 in the RAM 31, the first storage unit 12, and the second storage unit 13. Further, the first control unit 11 causes the image processing unit 17 to process the scanned image data, and the image forming unit 18 forms an image on the paper based on the image data after the image processing.

第1記憶部12は、書き換え可能なハードディスクなどの磁気ディスクからなる大容量メモリーにより構成されている。第1記憶部12は、第1制御部11により読み取り可能なプログラム、プログラムの実行時に用いられるデータ等を記憶している。
第2記憶部13は、第1記憶部12と同様に、書き換え可能なハードディスクなどの磁気ディスクからなる大容量メモリーで構成されている。
The first storage unit 12 is composed of a large-capacity memory made of a magnetic disk such as a rewritable hard disk. The first storage unit 12 stores a program that can be read by the first control unit 11, data used when executing the program, and the like.
Like the first storage unit 12, the second storage unit 13 is composed of a large-capacity memory made of a magnetic disk such as a rewritable hard disk.

操作部14及び表示部15は、図1に示すように画像形成装置1の上部にユーザーインターフェイスとして設けられている。
操作部14は、ユーザーの操作に応じた操作信号を生成し、第1制御部11に出力する。操作部14としては、例えばキー、表示部15と一体に構成されたタッチパネル等が挙げられる。
As shown in FIG. 1, the operation unit 14 and the display unit 15 are provided as user interfaces on the upper part of the image forming apparatus 1.
The operation unit 14 generates an operation signal according to the user's operation and outputs it to the first control unit 11. Examples of the operation unit 14 include a key, a touch panel integrally configured with the display unit 15, and the like.

表示部15は、第1制御部11の指示にしたがって操作画面等を表示する。表示部15としては、LCD(Liquid Crystal Display)、OELD(Organic Electro Luminescence Display)等を用いることができる。 The display unit 15 displays an operation screen or the like according to the instructions of the first control unit 11. As the display unit 15, an LCD (Liquid Crystal Display), an OLED (Organic Electro Luminescence Display), or the like can be used.

通信部16は、ユーザー端末、サーバー、他の画像形成装置等のネットワーク上の外部装置と通信する。例えば、通信部16は、ユーザー端末からネットワークを介してページ記述言語(PDL:Page Description Language)で記述された原稿のデータを受信する。 The communication unit 16 communicates with an external device on the network such as a user terminal, a server, and another image forming device. For example, the communication unit 16 receives data of a manuscript described in a page description language (PDL) from a user terminal via a network.

画像処理部17は、ASIC(application specific integrated circuit)などの集積回路によって構成されている。画像処理部17は、ページ記述言語で記述された原稿のデータに基づいて、画素ごとに階調値を有するビットマップ形式の画像データを、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色ごとに生成する。また、画像処理部17は、第1画像読取部19が読み取った原稿のスキャン画像データに基づいて、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の色ごとのビットマップ形式の画像データを生成する。階調値は、画像の濃淡を表すデータ値であり、例えば8bitのデータ値は0〜255階調の濃淡を表す。 The image processing unit 17 is composed of an integrated circuit such as an ASIC (application specific integrated circuit). Based on the data of the manuscript described in the page description language, the image processing unit 17 performs bitmap format image data having a gradation value for each pixel in C (cyan), M (magenta), and Y (yellow). And K (black) color is generated. Further, the image processing unit 17 has bits for each color of C (cyan), M (magenta), Y (yellow), and K (black) based on the scanned image data of the document read by the first image reading unit 19. Generate image data in map format. The gradation value is a data value representing the shading of an image. For example, an 8-bit data value represents a shading of 0 to 255 gradations.

また、画像処理部17は、生成した画像データに必要な画像処理、例えば階調処理、中間調処理を施す。
階調処理は、各画素の階調値を、用紙上に形成された画像の濃度特性が目標の濃度特性と一致するように補正された階調値に変換する処理である。また、中間調処理は、例えば誤差拡散処理、組織的ディザ法を用いたスクリーン処理等である。
Further, the image processing unit 17 performs image processing necessary for the generated image data, for example, gradation processing and halftone processing.
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 image forming unit 18 forms an image composed of a plurality of colors on the paper according to the gradation value of each pixel of the image data generated by the image processing unit 17.
As shown in FIG. 1, the image forming unit 18 includes four writing units 181, an intermediate transfer belt 182, a secondary transfer roller 183, a fixing device 184, a paper feed tray 185, and a reversing mechanism 186. Each writing unit 181 is arranged in series along the belt surface of the intermediate transfer belt 182. The intermediate transfer belt 182 is wound and rotated by a plurality of rollers. One of the plurality of rollers constitutes a secondary transfer roller 183. The secondary transfer roller 183 and the fixing device 184 are arranged on the transport path of the paper transported from the paper feed tray 185. The paper feed tray 185 accommodates paper.

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 writing units 181 form images of C, M, Y and K colors, respectively. Each writing unit 181 has the same configuration, and includes an exposed unit 18a, a photoconductor 18b, a developing unit 18c, a charging unit 18d, and a cleaning unit 18e.
Each writing unit 181 applies a voltage to the photoconductor 18b by the charging unit 18d to charge the photoconductor 18b, and then the exposure unit 18a is charged according to the gradation value of each pixel of the image data corresponding to each color C, M, Y, and K. Is irradiated with a laser beam to expose the photoconductor 18b. When each writing unit 181 supplies a coloring material such as toner by the developing unit 18c to develop an electrostatic latent image formed on the photoconductor 18b, an image of each color is formed on the photoconductor 18b of each writing unit 181. Will be done.

各感光体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 intermediate transfer belt 182, and an image composed of a plurality of colors is formed on the intermediate transfer belt 182. After the image is transferred, each writing unit 181 removes the coloring material remaining on the photoconductor 18b after the transfer by the cleaning unit 18e.
When the paper is fed by the paper feed tray 185 and the image consisting of a plurality of colors on the intermediate transfer belt 182 is transferred onto the paper by the secondary transfer roller 183, the paper is heated and pressurized by the fixing device 184 to obtain the image. Is fixed on the paper. When an image is formed on both sides of the paper, the paper surface is inverted by the reversing mechanism 186 and the paper is conveyed to the secondary transfer roller 183 again.

第2画像読取部22は、図1に示すように用紙の搬送経路上に配置されるラインセンサー、エリアセンサー等である。第2画像読取部22は、画像形成部18により画像が形成された用紙面を読み取って、ビットマップ形式のスキャン画像データを生成する。 The second image reading unit 22 is a line sensor, an area sensor, or the like arranged on the paper transport path as shown in FIG. The second image reading unit 22 reads the paper surface on which the image is formed by the image forming unit 18 and generates scanned image data in a bitmap format.

画像検査部20は、ASICなどの集積回路によって構成されている。画像検査部20は、第2画像読取部22により生成されたスキャン画像データに各種画像処理を施す。なお、第1制御部11は、画像検査部20によって各種画像処理が施されたスキャン画像データを、第1記憶部12及び第2記憶部13に記憶させる。 The image inspection unit 20 is composed of an integrated circuit such as an ASIC. The image inspection unit 20 performs various image processing on the scanned image data generated by the second image reading unit 22. The first control unit 11 stores the scanned image data that has been subjected to various image processing by the image inspection unit 20 in the first storage unit 12 and the second storage unit 13.

第2制御部21は、図3に示すように、GPU(Graphic Processing Unit)40と、DMAコントローラ41を有する。DMAコントローラ41は、あらかじめ決められた動作を行うモジュールで第1記憶部12及び第2記憶部13からデータを読み出す。 As shown in FIG. 3, the second control unit 21 includes a GPU (Graphic Processing Unit) 40 and a DMA controller 41. The DMA controller 41 is a module that performs a predetermined operation and reads data from the first storage unit 12 and the second storage unit 13.

第2制御部21のGPU40は、第1記憶部12及び第2記憶部13に第2画像読取部22が生成したスキャン画像データ(以下の説明において、「出力スキャン画像データ」と称する場合がある)が記憶されると、画像検査処理を実行する。画像検査処理において、GPU40は、第1記憶部12又は第2記憶部13から出力スキャン画像データを読み出す。また、GPU40は、読み出した出力スキャン画像データに対応する第1画像読取部19が生成したスキャン画像データ(以下の説明において、「原稿スキャン画像データ」と称する場合がある)を、第1記憶部12又は第2記憶部13から読み出す。そして、GPU40は、読み出した出力スキャン画像データと原稿スキャン画像データとを比較することにより、出力スキャン画像データ中の異常を検出する。画像検査処理により検出できる異常の種類には、画像の欠陥、色ずれ及び位置ずれがあり、画像検査処理では、これらの種類のうちの少なくとも1種類の異常を検出する。 The GPU 40 of the second control unit 21 may be referred to as scan image data generated by the second image reading unit 22 in the first storage unit 12 and the second storage unit 13 (in the following description, it may be referred to as “output scan image data”. ) Is stored, the image inspection process is executed. In the image inspection process, the GPU 40 reads output scanned image data from the first storage unit 12 or the second storage unit 13. Further, the GPU 40 stores the scanned image data (which may be referred to as “original scanned image data” in the following description) generated by the first image reading unit 19 corresponding to the read output scanned image data in the first storage unit. Read from 12 or the second storage unit 13. Then, the GPU 40 detects an abnormality in the output scan image data by comparing the read output scan image data with the original scan image data. The types of abnormalities that can be detected by the image inspection process include image defects, color shifts, and misalignments, and the image inspection process detects at least one of these types of abnormalities.

欠陥の検出時、第2制御部21のGPU40は、スキャン画像中のスジ、しわ、汚れ、画像の誤り、消失等の欠陥を検出する。例えば、GPU40は、出力スキャン画像データと原稿スキャン画像データの特徴点を決定し、当該特徴点の特徴量を算出して判別分析法により類似するか否かを判別し、類似しないと判別された特徴点を欠陥が生じた画像領域として検出する。 At the time of detecting defects, the GPU 40 of the second control unit 21 detects defects such as streaks, wrinkles, stains, image errors, and disappearances in the scanned image. For example, the GPU 40 determines the feature points of the output scan image data and the original scan image data, calculates the feature amount of the feature points, determines whether or not they are similar by a discriminant analysis method, and determines that they are not similar. The feature point is detected as a defective image area.

色ずれの検出時、第2制御部21のGPU40は、階調値が異なる画像領域を色ずれが生じた画像領域として検出する。GPU40は、原稿スキャン画像データの階調値を基準値として、出力スキャン画像データの階調値と基準値との差を色ずれ量として算出する At the time of detecting the color shift, the GPU 40 of the second control unit 21 detects an image region having a different gradation value as an image region in which the color shift has occurred. The GPU 40 calculates the difference between the gradation value of the output scan image data and the reference value as the reference value, using the gradation value of the original scan image data as the reference value, and the difference between the gradation value and the reference value as the color shift amount.

位置ずれの検出時、第2制御部21のGPU40は、位置が異なる画像領域を位置ずれが生じた画像領域として検出する。GPU40は、出力スキャン画像データと原稿スキャン画像データの位置ずれ検出用の画像の位置、例えば用紙の端部から所定の画像までの距離等を比較し、位置が異なる画像領域を位置ずれが生じた画像領域として検出する。 At the time of detecting the misalignment, the GPU 40 of the second control unit 21 detects an image region having a different position as an image region in which the misalignment has occurred. The GPU 40 compares the positions of the output scan image data and the image for detecting the position shift of the document scan image data, for example, the distance from the edge of the paper to a predetermined image, and the position shift occurs in the image regions having different positions. Detect as an image area.

[ミラーリング構成]
次に、画像形成装置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 image forming apparatus 1 will be described. As described above, the first control unit 11 stores data, for example, the original scan image data generated by the first image reading unit 19 and the output scanned image data generated by the second image reading unit 22 in the first storage unit 12. And the second storage unit 13 stores the data. Specifically, when the first control unit 11 stores data in the first storage unit 12, the first control unit 11 performs mirroring by storing the same data in the second storage unit 13 at the same time (in real time). Execute the write process. That is, the image forming apparatus 1 employs a technique of mirroring (RAID1: Redundant Arrays of Inexpenive Disks 1). As a result, the image forming apparatus 1 has a mirroring configuration in which the first storage unit 12 is the master area and the second storage unit 13 is the mirroring area.

なお、本実施形態では、第2記憶部13を第1記憶部12のバックアップとして機能させるため、原則的には、第1記憶部12にデータを記憶させる際には、同一のデータが、同時に、第2記憶部13にも記憶される。しかしこれに代えて、第1記憶部12に所定のデータを記憶させる際にのみ、同一のデータを、同時に、第2記憶部13にも記憶させるようにしてもよい。 In this embodiment, since the second storage unit 13 functions as a backup of the first storage unit 12, in principle, when the first storage unit 12 stores the data, the same data is stored at the same time. , Is also stored in the second storage unit 13. However, instead of this, the same data may be stored in the second storage unit 13 at the same time only when the predetermined data is stored in the first storage unit 12.

図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 first storage unit 12. When the first storage unit 12 stores the data, the first control unit 11 adds information about the data to be stored in the data management table T1.

データ管理テーブル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 first control unit 11 stores the same data as the data stored in the first storage unit 12 in the second storage unit 13, and when the data is not stored, the mirroring flag is stored. "0" is stored. That is, the data whose mirroring flag is "1" is stored in both the first storage unit 12 and the second storage unit 13.

第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 first storage unit 12. The second storage unit address stores an address indicating the location of the area in which the data is stored in the second storage unit 13. These addresses are used when the first control unit 11 and the second control unit 21 read data from the first storage unit 12 and the second storage unit 13. The mode in which the first control unit 11 and the second control unit 21 read data will be described later.

[データの読み出しに係る処理]
次に、図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 image processing unit 17 performs the above-mentioned various image processing, the CPU 30 of the first control unit 11 reads the document scan image data from the first storage unit 12 or the second storage unit 13. Further, when the GPU 40 of the second control unit 21 performs the above-mentioned image inspection process, the original scan image data and the output scan image data are read from the first storage unit 12 or the second storage unit 13. That is, these processes include a task of reading stored data.

[タスク開始コマンド受信時処理]
第2制御部21のGPU40は、記憶されているデータを読み出すタスクを開始する際、第1制御部11にタスク開始コマンドを送信する。タスク開始コマンドには、読み出すデータのID又はデータのファイル名が含まれている。
[Processing when task start command is received]
When starting the task of reading the stored data, the GPU 40 of the second control unit 21 transmits a task start command to the first control unit 11. The task start command includes the ID of the data to be read or the file name of the data.

第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 CPU 30 of the first control unit 11 receives the task start command from the second control unit 21, the CPU 30 performs the task start command reception processing shown in FIG.
In the task start command reception processing, the CPU 30 of the first control unit 11 first determines whether or not it is executing the task of accessing the first storage unit 12 (S1). When the task of accessing the first storage unit 12 is being executed (when the determination in step S1 is YES), the CPU 30 of the first control unit 11 stores the data read by the second control unit 21 in the second storage unit 13. It is determined whether or not it has been performed (S2). Specifically, the CPU 30 of the first control unit 11 refers to the data management table T1 (see FIG. 4), and a mirroring flag corresponding to the ID of the data or the file name of the data included in the received task start command. It is determined whether or not the data to be read is stored in the second storage unit 13 according to the state of.

第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 second control unit 21 is not stored in the second storage unit 13 (when the determination in S2 is NO), the CPU 30 of the first control unit 11 shifts the process to step S5. On the other hand, when the data read by the second control unit 21 is stored in the second storage unit 13 (when the determination in S2 is YES), the CPU 30 of the first control unit 11 refers to the data management table T1 and reads the data. The second storage unit address of the above is notified to the second control unit 21 (S3). Specifically, the CPU 30 of the first control unit 11 transmits a command including the address of the second storage unit to the second control unit 21. After executing step S3, the CPU 30 of the first control unit 11 ends the processing at the time of receiving the task start command.

説明をステップ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 first storage unit 12 is not being executed (when the determination in step S1 is NO), the CPU 30 of the first control unit 11 determines. The first storage unit access flag (flag indicating that the second control unit 21 is executing the task of accessing the first storage unit 12) provided in the RAM 31 is set to ON (S4). That is, the CPU 30 of the first control unit 11 stores "1" in the first storage unit access flag storage area of the RAM 31. After that, the process shifts to step S5.

ステップ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 second control unit 21 is not stored in the second storage unit 13 (when the determination in S2 is NO), or after step S4, the CPU 30 of the first control unit 11 Refers to the data management table T1 and notifies the second control unit 21 of the first storage unit address of the data to be read (S5). Specifically, the CPU 30 of the first control unit 11 transmits a command including the address of the first storage unit to the second control unit 21. Then, the CPU 30 of the first control unit 11 ends the processing at the time of receiving the task start command.

第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 GPU 40 of the second control unit 21 receives a command including the address of the second storage unit from the first control unit 11, it instructs the DMA controller 41 to read the data from the second storage unit 13. Further, when the GPU 40 receives a command including the address of the first storage unit from the first control unit 11, it instructs the DMA controller 41 to read the data from the first storage unit 12. When a command including the address of the first storage unit is transmitted from the first control unit 11 through the processes of steps S2 and S5, the first control unit 11 ends the task of reading data from the first storage unit 12. After that, the GPU 40 of the second control unit 21 reads out the information from the first storage unit 12.

なお、第2制御部21のGPU40は、記憶されているデータを読み出すタスクを終了する際に、その旨を示すタスク終了コマンドを、第1制御部11に送信する。第1制御部11のCPU30は、タスク終了コマンドを受信すると、第1記憶部アクセスフラグをOFFに設定する。具体的には、第1制御部11のCPU30は、RAM31の第1記憶部アクセスフラグ格納領域に「0」を格納する。 When the GPU 40 of the second control unit 21 ends the task of reading the stored data, the GPU 40 of the second control unit 21 transmits a task end command indicating that fact to the first control unit 11. When the CPU 30 of the first control unit 11 receives the task end command, the CPU 30 of the first control unit 11 sets the first storage unit access flag to OFF. Specifically, the CPU 30 of the first control unit 11 stores "0" in the first storage unit access flag storage area of the RAM 31.

[タスク開始処理]
第1制御部11のCPU30は自身が記憶されているデータを読み出すタスクを開始する際に、図6に示すタスク開始処理を行う。
タスク開始処理において、第1制御部11のCPU30は、第1記憶部12にアクセスする他のタスクが発生しているか否かを判定する(S11)。具体的には、RAM31の第1記憶部アクセスフラグ格納領域に「1」が格納されているか否かを確認する。
[Task start processing]
The CPU 30 of the first control unit 11 performs the task start process shown in FIG. 6 when starting the task of reading the data stored by itself.
In the task start process, the CPU 30 of the first control unit 11 determines whether or not another task that accesses the first storage unit 12 has occurred (S11). Specifically, it is confirmed whether or not "1" is stored in the first storage unit access flag storage area of the RAM 31.

第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 first storage unit 12 has occurred (NO determination in step S11), the CPU 30 of the first control unit 11 accesses the first storage unit 12 (S12). Specifically, the CPU 30 of the first control unit 11 refers to the data management table T1 (see FIG. 4), accesses the area indicated by the first storage unit address of the data to be read, and reads the data. Then, the CPU 30 of the first control unit 11 ends the task start process.

一方、第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 first storage unit 12 has occurred (when the determination in step S11 is YES), the CPU 30 of the first control unit 11 stores the data to be read in the second storage unit 13. Whether or not it is determined (S13). Specifically, the CPU 30 of the first control unit 11 refers to the data management table T1 (see FIG. 4), and reads data based on the state of the mirroring flag corresponding to the ID of the data to be read or the file name of the data. It is determined whether or not the data is stored in the second storage unit 13. When the data to be read is stored in the second storage unit 13 (when the determination in S13 is YES), the CPU 30 of the first control unit 11 refers to the data management table T1 and refers to the second storage unit of the second storage unit 13. Access the area indicated by the address and read the data (S14). Then, the CPU 30 of the first control unit 11 ends the task start process.

一方、ステップ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 second control unit 21 has completed another task, that is, another After receiving the task end command related to the task, the CPU 30 of the first control unit 11 accesses the area indicated by the first storage unit address of the first storage unit 12 and reads out the data (S15). Then, the CPU 30 of the first control unit 11 ends the task start process. The CPU 30 of the first control unit 11 may read the stored data by using the DMA controller included in the first control unit 11.

以上説明した実施形態に係る画像形成装置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 image forming apparatus 1 according to the embodiment described above, when the first control unit 11 is executing the task of reading the information stored in the first storage unit 12, the second control unit 21 is stored. When starting the task of reading the existing information, the second control unit 21 reads the information from the second storage unit 13. Further, when the second control unit 21 is executing the task of reading the information stored in the first storage unit 12, the first control unit 11 starts the task of reading the stored information. The first control unit 11 reads information from the second storage unit 13. That is, if the other task occurs during the execution of either the task of reading the information by the first control unit 11 or the task of reading the information by the second control unit 21, the first control unit 11 and the second control unit 11 and the second. One of the control units 21 reads information from the first storage unit, and the other reads information from the second storage unit.

このため、一つの記憶装置に複数のハードウェアからのアクセスが集中しないため、記憶装置と各部を接続するバスでのアクセスの衝突の発生を防止できる。また、先に発生したタスクの完了を待つことや、一つの記憶装置へのアクセスを並列的に行う必要がない。このため、情報を読み出す両タスクの完了に要する時間を短縮することができる。すなわち、情報を読み出すための時間を短縮して装置全体としてのパフォーマンスを向上させることができる。 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 second control unit 21 reads out the information, the GPU 40 instructs the DMA controller 41 of the second control unit 21 to read out the information. Here, when the GPU 40 uses the DMA controller (not shown) included in the first control unit 11 for reading the information, the task of reading the information by the first control unit 11 and the second control unit 21 has occurred. , The instructions (instructions) to the DMA controller conflict with each other, and a failure may occur. In the present embodiment, as described above, the GPU 40 instructs the DMA controller 41 of the second control unit 21 to read the information, so that the above-mentioned failure can be prevented.

さらに、本発明は上述した実施形態例に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りにおいて、その他種々の応用例、変形例を取り得ることは勿論である。 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 GPU 40 of the second control unit 21 has described a mode of transmitting a task start command to the first control unit 11 when starting a task of reading stored data. However, the GPU 40 of the second control unit 21 is not limited to the task of reading the stored data, and may send a task start command to the first control unit 11 when starting any task. The task start command in this case includes information indicating whether or not the task started by the second control unit 21 is a task for reading stored data. Further, in the task start command reception processing, the CPU 30 of the first control unit 11 has a task to be started by the second control unit 21 based on the received task start command before the processing of step S1 shown in FIG. Performs a process of determining whether or not the task is to read the stored data. Then, if it is not a task to read data, the task start command is terminated, while in the case of a task to read data, the processes after step S1 are performed.

また、本実施形態では、第2制御部21がGPU40を有する態様を説明した。しかし、GPU40に代えて、第2制御部21が、CPUや記憶部に記憶されている情報を読み出し可能な他の処理装置を有していてもよい。 Further, in the present embodiment, the aspect in which the second control unit 21 has the GPU 40 has been described. However, instead of the GPU 40, the second control unit 21 may have another processing device capable of reading the information stored in the CPU or the storage unit.

また、本実施形態では、情報処理装置として画像形成装置1を例に説明したが、情報処理装置はこれに限定されない。例えば、情報処理装置は、クライアント装置に各種情報を提供可能なネットワーク上のサーバーであってもよい。 Further, in the present embodiment, the image forming apparatus 1 has been described as an example of the information processing apparatus, but the information processing apparatus is not limited to this. For example, the information processing device may be a server on a network that can provide various information to the client device.

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)

情報を記憶する第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記憶部に記憶されているか否かを判定し、
他方のタスクにおいて読み出す情報が前記第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制御部は、前記第1記憶部に情報を記憶させる処理と、前記ミラーリングを行う書き込み処理とを、同時に行う
ことを特徴とする請求項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.
JP2017172648A 2017-09-08 2017-09-08 Information processing device Active JP6888488B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7403554B2 (en) * 2019-10-23 2023-12-22 株式会社ソニー・インタラクティブエンタテインメント information processing equipment

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