JP6863043B2 - Printing equipment - Google Patents
Printing equipment Download PDFInfo
- Publication number
- JP6863043B2 JP6863043B2 JP2017085832A JP2017085832A JP6863043B2 JP 6863043 B2 JP6863043 B2 JP 6863043B2 JP 2017085832 A JP2017085832 A JP 2017085832A JP 2017085832 A JP2017085832 A JP 2017085832A JP 6863043 B2 JP6863043 B2 JP 6863043B2
- Authority
- JP
- Japan
- Prior art keywords
- processor
- log data
- storage unit
- power
- instruction
- 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
Description
本発明は、印刷装置に関する。 The present invention relates to a printing apparatus.
従来、印刷装置におけるセキュリティー機能として、本体内部に保存されたデータ類へのアクセス履歴をファイル化したログデータを、ハードディスクに保存する構成が知られている(例えば、特許文献1参照)。
また、複数のプロセッサー(コアプロセッサー)が共有メモリーにアクセスするマルチコアプロセッサーシステムにおいて、プロセッサー間のメモリーに対するアクセス権を調整する構成が知られている(例えば、特許文献2参照)。特許文献2のシステムでは、あるプロセッサーが起動中のソフトウェアと、他のプロセッサーが実行中のソフトウェアとの双方が、共有メモリーにアクセスしている場合に、起動中のソフトウェアのアクセス権を優先させている。そして、これにより、ソフトウェアの起動に要する時間を短くしている。
Conventionally, as a security function in a printing device, there is known a configuration in which log data in which access history to data stored in the main body is stored as a file is stored in a hard disk (see, for example, Patent Document 1).
Further, in a multi-core processor system in which a plurality of processors (core processors) access shared memory, there is known a configuration in which access rights to memories between processors are adjusted (see, for example, Patent Document 2). In the system of Patent Document 2, when both the software in which one processor is running and the software in which another processor is running access the shared memory, the access right of the running software is prioritized. There is. As a result, the time required to start the software is shortened.
印刷装置の制御を複数のプロセッサーにより行い、電源オフの指示がなされたときに、各プロセッサーに共有メモリーに対するアクセス権を順次割り当てて、各プロセッサーが担当する処理に関するログデータを、共有メモリーに保存することが考えられる。
しかしながら、本願発明者は、印刷装置の電源オンの指示がなされた後に、直ちに電源オフの指示がなされときには、各プロセッサーによる記憶部へのログデータの保存が正常に行われない場合があることを知見した。
The printing device is controlled by multiple processors, and when a power-off instruction is given, access rights to the shared memory are sequentially assigned to each processor, and log data related to the processing in charge of each processor is saved in the shared memory. Can be considered.
However, the inventor of the present application has stated that when the power-off instruction is given immediately after the power-on instruction of the printing apparatus is given, the log data may not be normally stored in the storage unit by each processor. I found out.
本発明はかかる背景に鑑みてなされたものであり、電源オフの指示がなされたときに、複数のプロセッサーによるログデータの共有メモリーへの保存を、確実に行うことができる印刷装置を提供することを目的とする。 The present invention has been made in view of this background, and to provide a printing apparatus capable of reliably storing log data in a shared memory by a plurality of processors when a power-off instruction is given. With the goal.
上記課題を解決するため、本発明の印刷装置は、電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部と、前記複数のプロセッサーが共通にアクセスし、前記第1プロセッサーが第1ログデータを保存し、前記第2プロセッサーが第2ログデータを保存する記憶部と、を備え、前記第2プロセッサーは、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する構成であって、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行うことを特徴とする。
かかる本発明によれば、第1プロセッサーは、第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、記憶部に保存すべき第1ログデータ又は第2ログデータが存在するときには、第2プロセッサーの起動が完了するのを待つ。そして、第1プロセッサーは、第2プロセッサーの起動が完了した後に、第2プロセッサーに対する停止指示を行う。これにより、印刷装置に対する電源オンの指示がなされた後、直ちに電源オフの指示がなされた場合であっても、第2プロセッサーの起動の完了が確保されて、記憶部に対するアクセス権が第1プロセッサーに移転される。そのため、電源オフの指示がなされた場合に、第1プロセッサーによる記憶部への第1ログデータの保存と、第2プロセッサーによる記憶部への第2ログデータの保存とを、確実に行うことができる。
In order to solve the above problems, the printing apparatus of the present invention includes at least a first processor that starts or stops in response to a power on / off instruction and a second processor whose start or stop is controlled by the first processor. A control unit having a plurality of processors including the control unit, and a storage unit in which the plurality of processors commonly access, the first processor stores the first log data, and the second processor stores the second log data. When the second processor receives a stop instruction from the first processor, the second processor secures an access right to the storage unit, stores the second log data in the storage unit, and then refers to the storage unit. The configuration is such that the access right is transferred to the first processor and stopped, and the first processor stores the access right in the storage unit when an instruction to turn off the power is given before the startup of the second processor is completed. When the first log data or the second log data to be to be used exists, it is characterized in that the stop instruction is given to the second processor after the start of the second processor is completed.
According to the present invention, the first processor has the first log data or the second log data to be stored in the storage unit when the power off instruction is given before the startup of the second processor is completed. Occasionally, it waits for the second processor to finish booting. Then, the first processor gives a stop instruction to the second processor after the startup of the second processor is completed. As a result, even if the power-off instruction is given immediately after the power-on instruction is given to the printing device, the completion of the startup of the second processor is ensured and the access right to the storage unit is given to the first processor. Will be relocated to. Therefore, when the power off instruction is given, it is possible to reliably save the first log data in the storage unit by the first processor and the second log data in the storage unit by the second processor. it can.
また、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ及び前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる構成としてもよい。
この構成によれば、第1プロセッサーは、記憶部に保存すべき第1ログデータ及び第2ログデータが存在しない場合に、第2プロセッサーの起動を中止して第2プロセッサーを停止させる。これにより、電源オフの指示がなされてから、印刷装置への電源供給が遮断されるまでに要する時間を短縮することができる。
Further, the first processor does not have the first log data and the second log data to be stored in the storage unit when the power off instruction is given before the startup of the second processor is completed. Occasionally, the second processor may be stopped from starting.
According to this configuration, the first processor stops the start of the second processor and stops the second processor when the first log data and the second log data to be stored in the storage unit do not exist. As a result, the time required from when the power off instruction is given until the power supply to the printing apparatus is cut off can be shortened.
また、前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき特定種類の前記第1ログデータ又は前記第2ログデータが存在するときは、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行い、前記記憶部に記憶すべき前記特定種類の前記第1ログデータ又は前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる構成としてもよい。
この構成によれば、電源オフの指示がなされたときに、第2プロセッサーは、特定種類の第1ログデータ又は第2ログデータが存在する場合以外は、起動を完了することなく停止する。これにより、電源オフの指示がなされてから、印刷装置への電源供給が遮断されるまでに要する時間が短縮される状況の範囲を拡大することができる。
Further, when the power off instruction is given before the startup of the second processor is completed, the first processor is a specific type of the first log data or the second log data to be stored in the storage unit. When is present, after the startup of the second processor is completed, the stop instruction is given to the second processor, and the specific type of the first log data or the second log data to be stored in the storage unit. When is not present, the second processor may be stopped by stopping the start of the second processor.
According to this configuration, when the power off instruction is given, the second processor stops without completing the startup unless a specific type of first log data or second log data exists. As a result, it is possible to expand the range of situations in which the time required from the instruction to turn off the power to the interruption of the power supply to the printing apparatus is shortened.
また、インクタンクを備えて、前記インクタンクに充填されたインクの消費を伴うクリーニング処理を行い、前記特定種類の前記第1ログデータ又は前記第2ログデータには、少なくとも、前記インクタンクへのインクの充填に関するログデータ、及び、前記クリーニング処理に関するログデータが含まれる構成としてもよい。
この構成によれば、インクタンクへのインクの充填、及びインクの消費を伴うクリーニング処理に関るログデータが記憶部に保存されずに失われて、インクの残量又は消費に関する誤った情報が報知されることを防止することができる。
In addition, an ink tank is provided, and a cleaning process that involves consumption of the ink filled in the ink tank is performed, and at least the ink tank is subjected to the first log data or the second log data of the specific type. The configuration may include log data related to ink filling and log data related to the cleaning process.
According to this configuration, the log data related to the filling of the ink tank and the cleaning process involving the consumption of the ink is lost without being saved in the storage unit, and erroneous information regarding the remaining amount of ink or the consumption is lost. It is possible to prevent being notified.
次に、本発明の印刷装置の制御方法は、電源オン又はオフの指示に応じて起動又は停止する第1プロセッサー、及び、前記第1プロセッサーにより起動又は停止が制御される第2プロセッサーを少なくとも含む複数のプロセッサーを有する制御部により、印刷装置の作動を制御する方法であって、前記複数のプロセッサーが共通の記憶部にアクセスして、前記第1プロセッサーが前記記憶部に第1ログデータを保存し、前記第2プロセッサーが前記記憶部に第2ログデータを保存する工程と、前記第2プロセッサーが、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する工程と、前記第1プロセッサーが、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う工程とを含むことを特徴とする。
本発明の方法を実行することにより、第1プロセッサーは、第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に対応する処理を行う。すなわち、第1プロセッサーは、記憶部に記憶すべき第1ログデータ又は第2ログデータが存在するときには、第2プロセッサーの起動が完了した後に、第2プロセッサーに対する停止指示を行う。これにより、印刷装置に対する電源オンの指示がなされた後に、直ちに電源オフの指示がなされた場合であっても、第2プロセッサーの起動の完了が確保されて、記憶部に対するアクセス権が第1プロセッサーに移転される。そのため、電源オフの指示がなされた場合に、第1プロセッサーによる記憶部への第1ログデータの保存と、第2プロセッサーによる記憶部への第2ログデータの保存とを、確実に行うことができる。
Next, the control method of the printing apparatus of the present invention includes at least a first processor that starts or stops in response to a power on / off instruction, and a second processor whose start or stop is controlled by the first processor. A method of controlling the operation of a printing device by a control unit having a plurality of processors, wherein the plurality of processors access a common storage unit, and the first processor stores the first log data in the storage unit. Then, when the second processor stores the second log data in the storage unit and the second processor receives the stop instruction from the first processor, the access right to the storage unit is secured. After storing the second log data in the storage unit, the step of transferring the access right to the storage unit to the first processor and stopping the process, and the first processor completes the activation of the second processor. When the power off instruction is given before, and the first log data or the second log data to be stored in the storage unit exists, the second processor is completed after the startup of the second processor is completed. It is characterized by including a step of giving the stop instruction to the CPU.
By executing the method of the present invention, the first processor performs a process corresponding to the case where the power off instruction is given before the startup of the second processor is completed. That is, when the first log data or the second log data to be stored in the storage unit exists, the first processor gives a stop instruction to the second processor after the start of the second processor is completed. As a result, even if the power-off instruction is given immediately after the power-on instruction is given to the printing device, the completion of the startup of the second processor is ensured and the access right to the storage unit is given to the first processor. Will be relocated to. Therefore, when the power off instruction is given, it is possible to reliably save the first log data in the storage unit by the first processor and the second log data in the storage unit by the second processor. it can.
以下、本発明の好適な実施形態について、図面を用いて詳細に説明する。なお、以下に説明する実施形態は、特許請求の範囲に記載された本発明の内容を限定するものではない。また、以下で説明される構成の全てが本発明の必須構成要件であるとは限らない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not limit the contents of the present invention described in the claims. Moreover, not all of the configurations described below are essential constituent requirements of the present invention.
[1.実施形態における印刷装置の構成]
図1は、本実施形態の印刷装置1の全体構成を示した説明図である。印刷装置1は、印刷装置1の全体的な作動を制御するコントローラー10、インクジェット方式による印刷を行う印刷部50、及びユーザーにより操作される操作パネル70を備えている。
[1. Configuration of Printing Device in Embodiment]
FIG. 1 is an explanatory diagram showing an overall configuration of the printing apparatus 1 of the present embodiment. The printing device 1 includes a
コントローラー10は、制御部20、RAM(Random Access Memory)11、ROM(Read Only Memory)12、EEPROM(Electrically Erasable and Programmable Read Only Memory) 13、通信回路14、及び電源回路15を備えている。制御部20は、第1プロセッサー22、及び第2プロセッサー23という複数のプロセッサーを有している。EEPROM13は、本発明の記憶部に相当する。
The
制御部20、RAM11、ROM12、EEPROM13、及び通信回路14は、電源回路15から供給される電力によって作動する。電源回路15には図示しない商用電源から交流電力が供給され、電源回路15は、この交流電力から直流電力を生成して制御部20、RAM11、ROM、EEPROM13、及び通信回路14に供給する。
The
第1プロセッサー22、及び第2プロセッサー23は、共通バス5(データバス及びアドレスバスを含む)を介して、RAM11及びEEPROM13に対するデータの書き込みと読み出しを行う。また、第1プロセッサー22、及び第2プロセッサー23は、共通バス5を介してROM12からデータを読み出す。
The
第1プロセッサー22、及び第2プロセッサー23は、ROM12に保存された印刷装置1用のプログラムを実行することによって、印刷装置1の作動を制御する機能を果たす。また、第1プロセッサー22及び第2プロセッサー23により、本発明の印刷装置の制御方法の各工程が実行される。第1プロセッサー22は、通信回路14を介した通信を制御する。第2プロセッサー23は、印刷部50の作動を制御する。また、第1プロセッサー22、及び第2プロセッサー23は、共通バス5を介して、相互にデータを授受する。
The
印刷部50は、印刷ASIC(Application Specific Integrated Circuit)51、及び印刷機構52を備えている。印刷機構52は、図示しない直動機構により所定方向に往復移動するキャリッジ55と、キャリッジ55に装着されたインクカートリッジ60とを備えている。インクカートリッジ60は、インク65が充填されたインクタンク61と、インクタンク61から印刷ヘッド63にインクを供給するインク供給路62とを有している。インクカートリッジ60から供給されたインクは、印刷ヘッド63により加圧されてノズル64から印刷用紙(図示しない)に吐出される。
The
印刷ASIC51は、印刷機構52を制御する機能を備えたICチップであり、設定された印刷データを、ビットマップイメージに展開し、このビットマップイメージのデータを印刷用紙に印刷するように、印刷機構52を制御する。操作パネル70は、ユーザーにより操作される電源スイッチ72と、タッチパネル71とを備えている。
The
第1プロセッサー22は、共通バス5を介して、電源スイッチ72及びタッチパネル71の操作状況を示す操作モニターデータを、共通バス5を介して操作パネル70から受信する。また、第1プロセッサー22は、タッチパネル71の表示内容を制御する制御データを操作パネル70に出力する。
The
さらに、第1プロセッサー22は、共通バス5及び通信回路14を介して、外部機器(図示しない)との間でデータ通信を行う。また、第1プロセッサー22は、通信状況を示す通信モニターデータを、共通バス5を介して通信回路14から受信する。第2プロセッサー23は、印刷機構52の作動を制御するための制御データを共通バス5を介して印刷ASIC51に出力する。また、第2プロセッサー23は、印刷機構52の作動状況を示す印刷モニターデータを、共通バス5を介して印刷ASIC51から受信する。
Further, the
第2プロセッサー23の起動と停止(シャットダウン)は、第1プロセッサー22によって制御される。第1プロセッサー22は、通信制御に関して生じたイベント(通信エラー等)を示す第1ログデータを、RAM11の第1領域AR1に随時書き込む。また、第2プロセッサー23は、印刷部50の制御に関して生じたイベント(インクの充填、クリーニング処理等)を示す第2ログデータを、RAM11の第2領域AR2に随時書き込む。
The start and stop (shutdown) of the
そして、第1プロセッサー22と第2プロセッサー23は、ユーザーが電源スイッチ72を操作して、印刷装置1の電源オフを指示したときに、RAM11に書き込んだ第1ログデータ及び第2ログデータを、EEPROM13に転送して保存する処理を行う。この処理においては、先ず、第2プロセッサー23が、EEPROM13に対するアクセス権を確保して、RAM11の第2領域AR2に書き込んだ第2ログデータをEEPROM13に転送する。そして、第2プロセッサー23は、停止完了を通知するデータを第1プロセッサー22に出力してシャットダウン(作動停止)する。第2プロセッサー23からの停止完了の通知により、EEPROM13に対するアクセス権が開放される。
Then, when the user operates the
次に、第2プロセッサー23の停止を認識した第1プロセッサー22が、EEPROM13に対するアクセス権を獲得して、RAM11の第1領域AR1に書き込んだ第1ログデータを、EEPROM13に転送して停止する。このように、電源オフの指示がなされたときに、RAM11に書き込まれた第1ログデータ及び第2ログデータをEEPROM13に転送することによって、電源供給が遮断された後も、第1ログデータ及び第2ログデータを保存することができる。
Next, the
[2.電源オフの操作時に生じ得る不都合]
上述したように、電源オフの指示がなされたときに、EEPROM13に対するアクセス権を、第2プロセッサー23から第1プロセッサー22に移転することによって、第1ログデータ及び第2ログデータを、EEPROMに転送して保存することができる。しかしながら、ユーザーにより電源オンの指示がなされた後、直ちに電源オフの指示がなされた場合には、図2に示したように、RAM11に保存された第1ログデータがEEPROM13に転送されない場合がある。
[2. Inconvenience that may occur when the power is turned off]
As described above, when the power off instruction is given, the access right to the
図2は、電源オフの操作に応じて、第2プロセッサー23の起動が完了する前に、第2プロセッサー23を停止した場合に生じる不都合の説明図である。図2は、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間の関連動作を、共通の時間軸tにより示している。図2に示したように、ユーザーがt11で電源スイッチ72により印刷装置1の電源オン操作をした後、t13で直ちに電源スイッチ72により印刷装置1の電源オフ操作した場合、以下の不都合が生じ得る。
FIG. 2 is an explanatory diagram of inconvenience that occurs when the
すなわち、電源回路15からの電力供給の開始により起動した第1プロセッサー22は、自身の起動処理が完了したときに、第2プロセッサー23に対して起動を要求するデータを出力する(t12)。そして、第2プロセッサー23の起動が完了する前に、電源オフ操作がなされて(t13)、第1プロセッサー22が第2プロセッサー23に対して起動中止を要求するデータを出力している(t14)。この出力に応じて、第2プロセッサー23は、起動を中止してシャットダウンする(t15)。
That is, the
この場合、第2プロセッサー23から第1プロセッサー22への停止完了の通知は行われない。そのため、EEPROM13に対するアクセス権は、第2プロセッサー23から第1プロセッサー22に移転されない。その結果、t11〜t13の間に、第1プロセッサー22の制御に関するイベントが発生して、第1ログデータがRAM11に保存されていても、RAM11からEEPROM13への第1ログデータの転送は行われない。
In this case, the
そして、電源回路15からRAM11への電力供給が遮断されて、RAM11に保存されていた第1ログデータが消失してしまうという不都合がある。そこで、第1プロセッサー22及び第2プロセッサー23は、このような不都合が生じることを防止するための処理を行う。以下、この処理について説明する。
[3.第1プロセッサーの処理]
図3は、第1プロセッサー22の起動及び停止処理のフローチャートである。第1プロセッサー22は、ユーザーによる電源スイッチ72のオン操作に応じて、電源回路15からの電力供給が開始されたときに起動して、図3のフローチャートを実行する。図3のステップS1で、第1プロセッサー22は、第2プロセッサー23に対して起動を要求するデータを出力する。そして、第1プロセッサー22は、続くステップS2で電源スイッチ72がオフ操作されたとき(電源オフの指示がなされたとき)に、ステップS3に処理を進める。
Then, the power supply from the
[3. Processing of the first processor]
FIG. 3 is a flowchart of the start and stop processing of the
ステップS3で、第1プロセッサー22は、第2プロセッサー23からの起動完了を通知するデータの受信の有無により、第2プロセッサー23の起動が完了しているか否かを判断する。そして、第1プロセッサー22は、第2プロセッサー23の起動が完了しているときはステップS4に処理を進め、第2プロセッサー23の処理が完了していないときにはステップS20に処理を進める。
In step S3, the
ステップS4で、第1プロセッサー22は、第2プロセッサー23に対してシャットダウン(作動停止)を指示(停止指示)するデータを出力する。続くステップS5で、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているか否かを判断する。ここで、第1ログデータ又は第2ログデータがRAM11に保存されていることは、本発明の記憶部に記憶すべき第1ログデータ又は第2ログデータが存在することに相当する。
In step S4, the
そして、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているときはステップS6に処理を進める。一方、第1ログデータと第2ログデータのいずれもRAM11に保存されていないときには、第1プロセッサー22は、ステップS8に処理を進めて自身をシャットダウンする。
Then, when the first log data or the second log data is stored in the RAM 11, the
ステップS6で、第1プロセッサー22は、第2プロセッサー23のシャットダウンの完了を待ってステップS7に進む。ステップS7で、第1プロセッサー22は、RAM11に保存した第1ログデータをEEPROM13に転送し、続くステップS8に進んで自身をシャットダウンする。
In step S6, the
また、第1プロセッサー22は、ステップS20で、第1ログデータ又は第2ログデータがRAM11に保存されているか否かを判断する。そして、第1プロセッサー22は、第1ログデータ又は第2ログデータがRAM11に保存されているときは、ステップS12に処理を進める。一方、第1ログデータ又は第2ログデータがRAM11に保存されていないときには、第1プロセッサー22は、ステップS30に処理を進める。
Further, in step S20, the
ステップS21で、第1プロセッサー22は、第2プロセッサー23の起動が完了するのを待ってステップ22に進む。ステップS22で、第1プロセッサー22は、第2プロセッサー23に対して、シャットダウンを指示してステップS6に処理を進める。ステップS21及びステップS22の処理により、第2プロセッサー23による第2ログデータのRAM11からEEPROM13への転送が完了した後、ステップS7で、RAM11に保存された第1ログデータがEEPROM13に転送される。
In step S21, the
このように、第1プロセッサー22は、ステップS21で第2プロセッサー23の起動完了を待ってから、ステップS22で第2プロセッサー23のシャットダウンを指示する。これにより、第2プロセッサー23は、シャットダウンの完了を通知するデータを第1プロセッサー22に出力してシャットダウンし、EEPROM13に対するアクセス権が開放される。
In this way, the
そのため、第1プロセッサー22は、ステップS6からステップS7に処理を進め、EEPROM13に対するアクセス権を獲得して、RAM11の第1領域AR1に保存した第1ログデータをEEPROM13に転送することができる。
Therefore, the
また、ステップS30で、第1プロセッサー22は、第2プロセッサー23に対して起動中止を指示するデータを出力してステップS8に進み、自身をシャットダウンする。これにより、第1ログデータ及び第2ログデータがRAM11に保存されていない場合に、電源オフの指示がなされてから、印刷装置1に対する電源供給が遮断されるまでに要する時間を短くすることができる。この場合は、上述した図2の態様により、第1プロセッサー22及び第2プロセッサー23が、EEPROM13への第1ログデータ及び第2ログデータの転送を行うことなく、シャットダウンする。
Further, in step S30, the
[4.第2プロセッサーの処理]
図4は、第2プロセッサー23の起動及び停止処理のフローチャートである。第2プロセッサー23は、ステップS50で、第1プロセッサー22による起動指示を受け付けたときに、ステップS51に処理を進めて、起動処理を開始する。
[4. Processing of the second processor]
FIG. 4 is a flowchart of the start and stop processing of the
第2プロセッサー23は、続くステップS52及びステップ60からなるループを実行する。そして、第2プロセッサー23は、ステップS52で起動処理が完了したか否かを判断すると共に、ステップS60で第1プロセッサー22からシャットダウンを指示するデータを受信したか否かを判断する。
The
第2プロセッサー23は、起動を完了したときにステップ52からステップS53に処理を進め、起動が完了したことを通知するデータを第1プロセッサー22に出力する。続くステップS53で、第2プロセッサー23は、第1プロセッサー22からシャットダウン(作動停止)を指示するデータを受信したか否かを判断する。そして、シャットダウンを指示するデータを受信したときに、第2プロセッサー23は、ステップS55に処理を進める。
When the start-up is completed, the
ステップS55で、第2プロセッサー23は、RAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送する。これにより、印刷装置1の電源がオフされた後も、第2ログデータがEEPROM13に保存される。続くステップS56で、第2プロセッサー23は、シャットダウンの完了を通知するデータを第1プロセッサー22に出力してステップS57に進み、自身をシャットダウンする。
In step S55, the
また、第2プロセッサー23は、ステップS60で、第1プロセッサー22から起動中止を指示するデータを受信したときに、ステップS61に処理を進める。ステップS61で、第2プロセッサー23は、起動処理を中止してステップS57に処理を進め、自身をシャットダウンする。
[5.第2プロセッサーが起動した後に電源オフ操作がなされた場合の処理]
次に、図5を参照して、第2プロセッサー23が起動した後に、電源オフの操作がなされた場合の処理について説明する。図5は、第2プロセッサー23が起動を完了した後に、電源オフ操作がなされた場合の第1プロセッサー22及び第2プロセッサー23の動作を示した説明図である。図5では、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間のデータの授受のタイミングを、共通の時間軸tで表している。
Further, when the
[5. Processing when the power is turned off after the second processor is started]
Next, with reference to FIG. 5, a process when the power is turned off after the
図5は、RAM11の第1領域AR1に第1ログデータが保存され、また、RAM11の第2領域AR2に第2ログデータが保存されている場合の処理を例示している。図5のt21で、印刷装置1の作動中に、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22は第2プロセッサー23に対してシャットダウンを要求するデータを出力する(t22)。第1プロセッサー22は、t24で、第2プロセッサー23からシャットダウンの完了を通知するデータを受信するまで、EEPROM13にアクセスしない(図3のステップS3の処理)。そのため、t22〜t24の間は、第2プロセッサー23がEEPROM13に対するアクセス権を有している。
FIG. 5 illustrates a process in which the first log data is stored in the first area AR1 of the RAM 11 and the second log data is stored in the second area AR2 of the RAM 11. At t21 in FIG. 5, when the user operates the power switch 72 (power off operation) while the printing device 1 is operating, the
t23で、第2プロセッサー23は、RAM11の第2領域AR2に保存した第2ログデータを、EEPROM13に転送する(図4のステップS55の処理)。そして、第2プロセッサー23は、t24でシャットダウンの完了を通知するデータを第1プロセッサー22に出力する(図4のステップS56の処理)。この出力により、第2プロセッサー23が有していたEEPROM13に対するアクセス権が開放される。そして、第2プロセッサー23は、t25で自身をシャットダウンする。
At t23, the
第1プロセッサー22は、t24でEEPROM13に対するアクセス権を取得し、t26で、RAM11の第1領域AR1に保存した第1ログデータを、EEPROM13に転送する(図3のステップS7の処理)。そして、t27で、第1プロセッサー22は、自身をシャットダウンする。図5の処理により、第1プロセッサー22がRAM11の第1領域AR1に保存した第1ログデータをEEPROM13に転送されると共に、第2プロセッサー23がRAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送される。そのため、印刷装置1の電源がオフされた後も、第1ログデータ及び第2ログデータがEEPROM13に保存される。
The
[6.第2プロセッサーの起動が完了する前に電源オフ操作がなされた場合の処理]
次に、図6を参照して、第2プロセッサー23の起動が完了する前に、電源オフの操作がなされた場合の処理について説明する。図6は、第2プロセッサーが起動を完了する前に、電源オフ操作がなされた場合の第1プロセッサー22及び第2プロセッサー23の動作を示した説明図である。図6では、第1プロセッサー22、第2プロセッサー23、及びEEPROM13間のデータの授受のタイミングを、共通の時間軸tで表している。
[6. Processing when the power off operation is performed before the startup of the second processor is completed]
Next, with reference to FIG. 6, a process when the power off operation is performed before the startup of the
図6は、RAM11の第1領域AR1に第1ログデータが保存され、また、RAM11の第2領域AR2に第2ログデータが保存されている場合の処理を例示している。図6のt31で、印刷装置1の作動中に、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22が起動し、第1プロセッサー22は、起動を完了したときに、第2プロセッサー23に対して起動を要求する(t32)。第1プロセッサー22は、t38で、第2プロセッサー23からシャットダウン完了を通知するデータを取得するまで、EEPROM13にアクセスしない(図3のステップS3の処理)。そのため、t32〜t37の間は、第2プロセッサー23がEEPROM13に対するアクセス権を有する。
FIG. 6 illustrates a process in which the first log data is stored in the first area AR1 of the RAM 11 and the second log data is stored in the second area AR2 of the RAM 11. At t31 in FIG. 6, when the user operates the power switch 72 (power off operation) while the printing device 1 is operating, the
t33で、ユーザーが電源スイッチ72を操作(電源オフ操作)すると、第1プロセッサー22は、t34で第2プロセッサー23から起動の完了を通知するデータを受信するまで待つ。そして、第1プロセッサー22は、t35で、第2プロセッサー23に対して、シャットダウンを要求するデータを送信する。起動を完了している第2プロセッサー23は、このシャットダウンを要求するデータを受信したときt36で、RAM11の第2領域AR2に保存した第2ログデータをEEPROM13に転送する。
When the user operates the power switch 72 (power off operation) at t33, the
そして、第2プロセッサー23は、t37で、第1プロセッサー22に対してシャットダウンの完了を通知するデータを出力する(図4のステップS56の処理)。この出力により、第2プロセッサー23が有していたEEPROM13に対するアクセス権が開放される。そして、第2プロセッサー23は、t37で自身をシャットダウンする。
Then, at t37, the
第1プロセッサー22は、t39で、RAM11の第1領域AR1に保存した第1ログデータを、EEPROM13に転送する。そして、第1プロセッサー22は、t40で自身をシャットダウンする。これにより、t31で電源オフ操作がなされた後、直ちに、第2プロセッサー23の起動が完了する前のt33で、電源オフ操作がなされた場合であっても、RAM11に保存された第1ログデータと第2ログデータをEEPROM13に転送することができる。
At t39, the
[7.他の実施形態]
上記実施形態では、第1プロセッサー22がRAM11の第1領域AR1に保存した第1ログデータと、第2プロセッサー23がRAM11の第2領域AR2に保存した第2ログデータを、無条件にEEPROM13に転送する構成とした。この構成に対して、第1ログデータ及び第2ログデータのうち、特定種類の第1ログデータ或いは第2ログデータに限定して、EEPROM13に転送するようにしてもよい。例えば、インクタンク61へのインクの充填、ノズル64のクリーニング処理等を、特定の第1ログデータ或いは第2ログデータとして設定してもよい。インクタンク61へのインクの充填には、インクタンク61へのインクの注入、及びインクが充填されたインクタンクへの交換が含まれる。ノズル64のクリーニングは、印刷処理とは別に、インクタンク61から供給されるインクをノズル64から吐出させることにより、インクを消費して行われる。
[7. Other embodiments]
In the above embodiment, the first log data stored in the first area AR1 of the RAM 11 by the
上記実施形態では、本発明の印刷装置として、インクジェット方式による印刷を行う印刷装置1を示したが、他の方式による印刷を行う印刷装置に対しても本発明の適用が可能である。 In the above embodiment, the printing device 1 that prints by the inkjet method is shown as the printing device of the present invention, but the present invention can also be applied to the printing device that prints by another method.
上記実施形態では、本発明の記憶部としてEEPROM13を用いたが、フラッシュメモリー、電池により電源バックアップされたRAM等を用いてもよい。
In the above embodiment, the
1…印刷装置、5…共通バス、10…コントローラー、11…RAM、12…ROM、13…EEPROM、15…電源回路、20…制御部、22…第1プロセッサー、23…第2プロセッサー、50…印刷部、52…印刷機構、55…キャリッジ、60…インクカートリッジ、61…インクタンク、62…インク供給路、63…印刷ヘッド、64…ノズル、70…操作パネル、71…タッチパネル、72…電源スイッチ。 1 ... printing device, 5 ... common bus, 10 ... controller, 11 ... RAM, 12 ... ROM, 13 ... EEPROM, 15 ... power supply circuit, 20 ... control unit, 22 ... first processor, 23 ... second processor, 50 ... Printing unit, 52 ... Printing mechanism, 55 ... Carriage, 60 ... Ink cartridge, 61 ... Ink tank, 62 ... Ink supply path, 63 ... Printing head, 64 ... Nozzle, 70 ... Operation panel, 71 ... Touch panel, 72 ... Power switch ..
Claims (5)
前記複数のプロセッサーが共通にアクセスし、前記第1プロセッサーが第1ログデータを保存し、前記第2プロセッサーが第2ログデータを保存する記憶部と、を備え、
前記第2プロセッサーは、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する構成であって、
前記第1プロセッサーは、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う
印刷装置。 A control unit having a first processor that starts or stops in response to a power on / off instruction, and a plurality of processors including at least a second processor whose start or stop is controlled by the first processor.
The plurality of processors commonly access, the first processor stores the first log data, and the second processor stores the second log data.
When the second processor receives a stop instruction from the first processor, the second processor secures an access right to the storage unit, stores the second log data in the storage unit, and then has an access right to the storage unit. Is relocated to the first processor and stopped.
When the first log data or the second log data to be stored in the storage unit exists when the power off instruction is given before the startup of the second processor is completed, the first processor A printing device that gives the stop instruction to the second processor after the start of the second processor is completed.
請求項1に記載の印刷装置。 When the power off instruction is given before the startup of the second processor is completed, the first processor does not have the first log data and the second log data to be stored in the storage unit. The printing apparatus according to claim 1, wherein the start of the second processor is stopped and the second processor is stopped.
前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、
前記記憶部に記憶すべき特定種類の前記第1ログデータ又は前記第2ログデータが存在するときは、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行い、
前記記憶部に記憶すべき前記特定種類の前記第1ログデータ又は前記第2ログデータが存在しないときには、前記第2プロセッサーの起動を中止して前記第2プロセッサーを停止させる
請求項1又は請求項2に記載の印刷装置。 The first processor is
If the power off instruction is given before the startup of the second processor is completed,
When the first log data or the second log data of a specific type to be stored exists in the storage unit, after the start of the second processor is completed, the stop instruction is given to the second processor.
Claim 1 or claim that when the specific type of the first log data or the second log data to be stored in the storage unit does not exist, the start of the second processor is stopped and the second processor is stopped. 2. The printing apparatus according to 2.
前記特定種類の前記第1ログデータ又は前記第2ログデータには、少なくとも、前記インクタンクへのインクの充填に関するログデータ、及び、前記クリーニング処理に関するログデータが含まれる
請求項3に記載の印刷装置。 An ink tank is provided, and a cleaning process that involves consumption of the ink filled in the ink tank is performed.
The printing according to claim 3, wherein the first log data or the second log data of the specific type includes at least log data related to filling ink in the ink tank and log data related to the cleaning process. apparatus.
前記複数のプロセッサーが共通の記憶部にアクセスして、前記第1プロセッサーが前記記憶部に第1ログデータを保存し、前記第2プロセッサーが前記記憶部に第2ログデータを保存する工程と、
前記第2プロセッサーが、前記第1プロセッサーからの停止指示を受け付けた場合に、前記記憶部に対するアクセス権を確保して前記第2ログデータを前記記憶部に保存した後に、前記記憶部に対するアクセス権を前記第1プロセッサーに移転して停止する工程と、
前記第1プロセッサーが、前記第2プロセッサーの起動が完了する前に電源オフの指示がなされた場合に、前記記憶部に記憶すべき前記第1ログデータ又は前記第2ログデータが存在するときには、前記第2プロセッサーの起動が完了した後に、前記第2プロセッサーに対する前記停止指示を行う工程と
を含む印刷装置の制御方法。 The printing apparatus is operated by a control unit having a plurality of processors including at least a first processor that starts or stops in response to a power on / off instruction and a second processor whose start or stop is controlled by the first processor. Is a way to control
A step in which the plurality of processors access a common storage unit, the first processor stores the first log data in the storage unit, and the second processor stores the second log data in the storage unit.
When the second processor receives a stop instruction from the first processor, the access right to the storage unit is secured, the second log data is stored in the storage unit, and then the access right to the storage unit is secured. And the process of moving to the first processor and stopping
When the first processor is instructed to turn off the power before the startup of the second processor is completed, and the first log data or the second log data to be stored in the storage unit exists. A method for controlling a printing apparatus, which includes a step of instructing the second processor to stop after the start of the second processor is completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017085832A JP6863043B2 (en) | 2017-04-25 | 2017-04-25 | Printing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017085832A JP6863043B2 (en) | 2017-04-25 | 2017-04-25 | Printing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018183900A JP2018183900A (en) | 2018-11-22 |
JP6863043B2 true JP6863043B2 (en) | 2021-04-21 |
Family
ID=64356946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017085832A Active JP6863043B2 (en) | 2017-04-25 | 2017-04-25 | Printing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6863043B2 (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5194895A (en) * | 1991-09-13 | 1993-03-16 | Xerox Corporation | Printing machine adaptive setup |
JP4836408B2 (en) * | 2004-03-01 | 2011-12-14 | コニカミノルタビジネステクノロジーズ株式会社 | Access log storage system and digital multi-function peripheral |
JP2011079180A (en) * | 2009-10-05 | 2011-04-21 | Canon Inc | Printing device, processing method of the same, and information processor |
JP5651965B2 (en) * | 2010-02-23 | 2015-01-14 | 株式会社リコー | Image forming apparatus, image forming method, and program |
JP6264896B2 (en) * | 2014-01-16 | 2018-01-24 | 株式会社リコー | Information processing apparatus, control method, and control program |
JP5862722B2 (en) * | 2014-07-31 | 2016-02-16 | 富士通株式会社 | Multi-core processor system, multi-core processor system control method, and multi-core processor system control program |
JP6500469B2 (en) * | 2015-02-06 | 2019-04-17 | セイコーエプソン株式会社 | Electronic system, program of electronic system with sleep mode |
JP2017163257A (en) * | 2016-03-08 | 2017-09-14 | キヤノン株式会社 | Image processing device, control method of the same, and program |
-
2017
- 2017-04-25 JP JP2017085832A patent/JP6863043B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018183900A (en) | 2018-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11067932B2 (en) | Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium | |
CN103034509B (en) | Mobile unit | |
US9904882B2 (en) | Image forming apparatus, method of controlling the same, and storage medium | |
JP6218510B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
KR101636184B1 (en) | Image forming apparatus, method for controlling image forming apparatus, and computer readable recording medium | |
JP6103909B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
US20110194148A1 (en) | Printing apparatus and method of controlling printing apparatus | |
JP6249741B2 (en) | Information processing apparatus and control method of information processing apparatus | |
JP2018055583A (en) | Control apparatus, control method and program | |
JP2008142942A (en) | Power management controller of printer, power management control method of printer, and control program of printer | |
JP6270377B2 (en) | Image forming apparatus | |
JP6863043B2 (en) | Printing equipment | |
KR101219557B1 (en) | Navigation device for vehicle | |
JP2010015316A (en) | Numerical control apparatus | |
JP2015123650A (en) | Image formation apparatus, control method for image formation apparatus, and program | |
JP6074486B2 (en) | Image processing apparatus, control method thereof, and program | |
US9392133B2 (en) | Information processing apparatus and image forming apparatus | |
US20170142280A1 (en) | Printing Apparatus And Method For Controlling Printing Apparatus | |
JP2004078737A (en) | Electronic device and method for controlling power consumption of electronic device | |
JP6842641B2 (en) | Image forming device | |
JP4750588B2 (en) | Printer and electrical equipment | |
JPH11232183A (en) | Printer control information managing device and recording medium for recording control information management program | |
JP2013129092A (en) | Image forming apparatus | |
US8643860B2 (en) | Image forming apparatus performing network communication | |
JP5601197B2 (en) | Image processing apparatus and image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200305 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210127 |
|
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: 20210302 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210315 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6863043 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |