JP6397545B2 - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP6397545B2
JP6397545B2 JP2017143346A JP2017143346A JP6397545B2 JP 6397545 B2 JP6397545 B2 JP 6397545B2 JP 2017143346 A JP2017143346 A JP 2017143346A JP 2017143346 A JP2017143346 A JP 2017143346A JP 6397545 B2 JP6397545 B2 JP 6397545B2
Authority
JP
Japan
Prior art keywords
printing apparatus
power state
unit
power
print job
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
JP2017143346A
Other languages
Japanese (ja)
Other versions
JP2018010644A (en
JP2018010644A5 (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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2017143346A priority Critical patent/JP6397545B2/en
Publication of JP2018010644A publication Critical patent/JP2018010644A/en
Publication of JP2018010644A5 publication Critical patent/JP2018010644A5/ja
Application granted granted Critical
Publication of JP6397545B2 publication Critical patent/JP6397545B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Power Sources (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、複数の電力状態を切り替えて動作可能な画像形成装置等の情報処理装置の制御に関する。   The present invention relates to control of an information processing apparatus such as an image forming apparatus that can operate by switching a plurality of power states.

近年の画像形成装置等の情報処理装置は、使用していない時の消費電力を下げ、かつ、現在の動作状態と同様な動作状態で復帰可能なように、実行中のプログラムなどの動作を休止した状態とするサスペンドと呼ばれる機能を有するものがある。また、ユーザによる操作や、ネットワークからの印刷ジョブ等の要求により、休止する直前の状態に復帰するレジュームと呼ばれる機能を有するものもある。   Information processing devices such as image forming devices in recent years pause operations such as running programs so that power consumption when not in use can be reduced and recovery can be performed in the same operating state as the current operating state. Some of them have a function called suspending that is in a state of being suspended. Some have a function called “resume” that returns to a state immediately before a pause in response to a user operation or a print job request from the network.

上記サスペンド機能によれば、動作を休止する直前の状態では、カーネルのデバイスドライバがデバイスの状態をメモリに保存し、各々のサービスを中断することになる。また、レジューム機能によれば、先にメモリに保存したデバイスの状態を戻すことにより、ほぼ全てのデバイスの状態を、直前の状態に戻すことができ、装置を休止する直前の状態に復帰させることができる。   According to the suspend function, immediately before the operation is suspended, the kernel device driver stores the device state in the memory and interrupts each service. In addition, according to the resume function, by returning the state of the device previously stored in the memory, it is possible to return the state of almost all devices to the immediately previous state, and to return the device to the state immediately before the sleep. Can do.

特許文献1では、サスペンド中でも動作させなければならないネットワーク等のデバイスは、ソフトウェアで処理していた割り込みをサスペンド中に動作するハードウェアに切り替えることで、サスペンド中もサービスを継続させることが可能である。   In Patent Document 1, a device such as a network that must be operated even during suspension can continue the service even during suspension by switching the interrupt that has been processed by software to hardware that operates during suspension. .

特開2000−284974号公報JP 2000-284974 A

従来の画像形成装置では、例えば、外部のホストPCからネットワーク経由で送信されるプリントジョブは、その複数のネットワークパケット(以下、パケット)をソフトウェアが処理することで初めてプリントジョブであることが認識できる。しかし、画像形成装置では、サスペンドモードに入る直前に、パケットを受信した場合、該パケットを解析してプリントジョブと認識するより前に、装置がサスペンドモードに入ってしまう場合がある。この場合、残りのパケットがホストPCから送信されれば、画像形成装置はこれを受信して、サスペンドモードから復帰し、パケットの解析処理を再開することができる。   In a conventional image forming apparatus, for example, a print job transmitted from an external host PC via a network can be recognized as a print job only after software processes the plurality of network packets (hereinafter referred to as packets). . However, if the image forming apparatus receives a packet immediately before entering the suspend mode, the apparatus may enter the suspend mode before analyzing the packet and recognizing it as a print job. In this case, if the remaining packet is transmitted from the host PC, the image forming apparatus receives this, returns from the suspend mode, and can resume the packet analysis process.

しかし、非常に小さなプリントジョブの場合、既にホストPCからのパケット送信が終了している可能性がある。この場合、ホストPCから新たなパケットが送信される保証はない。このため、画像形成装置ではサスペンドモードが維持され、パケットの解析処理自体が停止してしまう可能性がある。この場合、ホストPCからのプリントジョブの送信が完了しているにもかかわらず、画像形成装置はパケットを保持したままサスペンド状態になり、一向に印刷が行われない、という現象が発生する可能性がある。この場合、ユーザが装置を直接操作する等して装置を復帰させることで、ジョブの印刷が可能であるが、ユーザの手を煩わせることとなっていた。なお、印刷がなされないため、ユーザがジョブを再送してしまう場合も考えられるが、この場合、ユーザの意図に反し、以前に送信したジョブと再送したジョブの両方が印刷されてしまっていた。   However, in the case of a very small print job, there is a possibility that packet transmission from the host PC has already ended. In this case, there is no guarantee that a new packet will be transmitted from the host PC. For this reason, the suspend mode is maintained in the image forming apparatus, and the packet analysis process itself may be stopped. In this case, even though the transmission of the print job from the host PC is completed, there is a possibility that the image forming apparatus will be in a suspended state while holding the packet, and printing may not be performed in one direction. is there. In this case, the user can directly print the job by operating the device, for example, to print the job, but the user's hand is troublesome. Although it is possible that the user resends the job because printing is not performed, in this case, both the previously transmitted job and the retransmitted job have been printed against the user's intention.

本発明は、上記の問題点を解決するためになされたものである。本発明の目的は、サスペンド状態等の省電力状態に移行する直前に外部からの受信した要求を、ユーザの手を煩わせることなく自動で処理できる仕組みを提供することである。   The present invention has been made to solve the above problems. An object of the present invention is to provide a mechanism that can automatically process a request received from the outside immediately before shifting to a power saving state such as a suspended state without bothering the user.

本発明は、第1電力状態と前記第1電力状態よりも低消費電力の第2電力状態とで動作可能な印刷装置であって、印刷ジョブを受信する受信手段と、前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させるための所定の処理を実行する処理手段と、前記所定の処理の完了に基づいて、前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させる第1の遷移手段と、前記第2電力状態の前記印刷装置において前記受信手段による印刷ジョブの受信に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第2の遷移手段と、を有し、前記印刷装置はさらに、前記処理手段による前記所定の処理の実行中における前記受信手段による印刷ジョブの受信に基づいて、前記所定の処理の完了によって前記第2電力状態に遷移する前記印刷装置を、前記第1電力状態に遷移させるための予約を行う予約手段と、前記予約に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第3の遷移手段と、を有することを特徴とする。   The present invention is a printing apparatus that can operate in a first power state and a second power state that consumes less power than the first power state, the receiving unit receiving a print job, and the printing apparatus as the first power state. Processing means for executing a predetermined process for making a transition from one power state to the second power state; and upon completion of the predetermined process, the printing apparatus is changed from the first power state to the second power state. A first transition means for transitioning, and a first transition means for causing the printing apparatus to transition from the second power state to the first power state based on reception of a print job by the receiving means in the printing apparatus in the second power state. The transition device, and the printing apparatus is further configured to receive the print job by the receiving unit during the execution of the predetermined process by the processing unit and to complete the predetermined process. A reservation unit configured to make a reservation for causing the printing apparatus that transitions to the second power state to transition to the first power state; and based on the reservation, the printing apparatus is changed from the second power state to the first power state. And third transition means for transition.

本発明によれば、サスペンド状態等の省電力状態に移行する直前に外部からの受信した要求を、ユーザの手を煩わせることなく自動で処理できるようにすることが可能となる。   According to the present invention, it is possible to automatically process a request received from the outside immediately before shifting to a power saving state such as a suspended state without bothering the user.

本発明の情報処理装置を示す画像形成装置の概略構成を例示する図。1 is a diagram illustrating a schematic configuration of an image forming apparatus showing an information processing apparatus of the present invention. MFPコントローラ部の概略構成を例示する図。2 is a diagram illustrating a schematic configuration of an MFP controller unit. FIG. サスペンド処理を例示するフローチャート。The flowchart which illustrates a suspend process. サスペンド状態中の動作を例示するフローチャート。The flowchart which illustrates the operation | movement in a suspended state. 電源制御部とCPU部の周辺を詳細に例示する図。The figure which illustrates the periphery of a power supply control part and CPU part in detail. 各デバイスの状態を時間経過毎に例示する図。The figure which illustrates the state of each device for every time passage.

以下、本発明の実施の形態について図面を参照しながら詳述する。
図1は、本発明の情報処理装置の一実施例を示す画像形成装置の概略構成の一例を示す図である。
図1において、100は画像形成装置(以下、MFP)で、コピー機能、プリンタ機能、スキャナ機能等の複合機能を備えている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing an example of a schematic configuration of an image forming apparatus showing an embodiment of an information processing apparatus of the present invention.
In FIG. 1, reference numeral 100 denotes an image forming apparatus (hereinafter referred to as MFP), which has multiple functions such as a copy function, a printer function, and a scanner function.

MFPコントローラ部12は、MFP全体の制御を行なう。スキャナ部11は、原稿から光学的に画像を読み取りデジタル画像に変換する。プリンタ部13は、例えば電子写真方式に従って画像形成処理を行う。なお、プリンタ部13は、シート状の記録媒体(例えば、記録紙)に画像形成処理を可能なものであればその記録方式は電子写真方式に限定されるものではなく、他の記録方式、例えば、インクジェット方式や熱転写方式などを用いてもよい。   The MFP controller unit 12 controls the entire MFP. The scanner unit 11 optically reads an image from a document and converts it into a digital image. The printer unit 13 performs image forming processing according to, for example, an electrophotographic method. The printer unit 13 is not limited to the electrophotographic method as long as the image forming process can be performed on a sheet-like recording medium (for example, recording paper), and other recording methods such as, for example, An ink jet method or a thermal transfer method may be used.

電源部10は、AC電源から供給される電力をMFP100の各部に対して供給する。操作部15は、MFP100の操作を行なうためのユーザインタフェースである。電源スイッチ部14は、ユーザにより電源のオンオフ操作が可能なスイッチであり、MFP100の電源状態を切り替える。   The power supply unit 10 supplies power supplied from the AC power supply to each unit of the MFP 100. Operation unit 15 is a user interface for operating MFP 100. The power switch unit 14 is a switch that can be turned on and off by the user, and switches the power state of the MFP 100.

図2は、MFPコントローラ部12の概略構成の一例を示す図である。なお、以下の説明では、既出の符号の説明については省略する。
図2において、電源制御部23は、電源スイッチ部14が操作されたことや、操作部15上に配置された節電ボタン29が操作されたことを検知すると、CPU部27に割り込みとして通知する機能を備える。また、電源制御部23は、省電力モード移行時に後述する電源系B21への電源の供給を遮断し、省電力モードからの復帰時に電源系Bへ電源を供給するといった制御を行う。FET20は、例えばField Effenct Transisterで構成され、電源制御部23からの信号により、電源系B21への電力供給をオンオフするためのスイッチである。
FIG. 2 is a diagram illustrating an example of a schematic configuration of the MFP controller unit 12. In the following description, description of the above-mentioned reference numerals is omitted.
In FIG. 2, when the power supply control unit 23 detects that the power supply switch unit 14 has been operated or that the power saving button 29 disposed on the operation unit 15 has been operated, the power supply control unit 23 notifies the CPU unit 27 of an interrupt. Is provided. In addition, the power supply control unit 23 performs control such that power supply to a power supply system B21, which will be described later, is interrupted when shifting to the power saving mode and power is supplied to the power supply system B when returning from the power saving mode. The FET 20 is configured by, for example, a field effect transistor, and is a switch for turning on / off the power supply to the power supply system B21 by a signal from the power supply control unit 23.

CPU部27は、MFP100全体の制御を行う制御部である。メモリ部25は、DDR−SDRAM等の揮発性メモリである。画像処理部28は、スキャナ部11からのデータを圧縮したり、CPU部27で処理された画像データをプリンタ部13に出力するなどの処理を行う制御部である。HDD部26は、外部記憶装置であり、例えばハードディスクドライブ(HDD)やソリッドステートドライブ(SSD)等である。   The CPU unit 27 is a control unit that controls the entire MFP 100. The memory unit 25 is a volatile memory such as a DDR-SDRAM. The image processing unit 28 is a control unit that performs processing such as compressing data from the scanner unit 11 and outputting image data processed by the CPU unit 27 to the printer unit 13. The HDD unit 26 is an external storage device, such as a hard disk drive (HDD) or a solid state drive (SSD).

操作部15は、節電ボタン29、入力装置(LCDパネル/テンキー)30等を有し、ユーザによる操作が可能である。ネットワーク部24は、MFP100の外部インタフェース(以下、外部I/F)の一つであり、不図示の外部PC(パーソナルコンピュータ)等からネットワーク経由でプリント要求を受け付けることが可能である。USB部31もMFP100の外部I/Fの一つであり、不図示の外部PC等からUSBケーブル経由でプリント要求を受け付けることが可能である。   The operation unit 15 includes a power saving button 29, an input device (LCD panel / tenkey) 30, and the like, and can be operated by a user. The network unit 24 is one of external interfaces (hereinafter, external I / F) of the MFP 100, and can accept a print request via a network from an unillustrated external PC (personal computer) or the like. The USB unit 31 is also one of the external I / Fs of the MFP 100, and can accept print requests from an external PC (not shown) via a USB cable.

次に、MFPコントローラ部12の電源系統について説明する。なお、本実施例では、省電力機能として、消費電力が通常状態よりも低く起動時間が高速な状態として、メモリにデータを保持するサスペンド方式を適用した場合を示す。しかし、省電力機能として、他の方式、例えば、ハイバネーション方式等を用いてもよい。   Next, the power supply system of the MFP controller unit 12 will be described. In this embodiment, as a power saving function, a case where a suspend method in which data is stored in a memory is applied in a state where power consumption is lower than a normal state and a startup time is fast is shown. However, other methods such as a hibernation method may be used as the power saving function.

上述したように、MFP100は、所定の省電力移行要因が発生すると、該省電力移行要因の発生が検知されたときのMFP100の状態(第1状態)をメモリ部25に保存し、第2状態に移行する。第2状態とは、所定の起床要因が発生した場合に、第1状態に復帰可能なMFP100の状態を示す。本実施例では、第1状態は通常状態、第2状態はサスペンド状態となっている。なお、サスペンド状態は省電力状態であり、サスペンド状態におけるMFP100の消費電力量は、通常状態におけるMFP100の消費電力量より小さいことは上述した通りである。   As described above, when a predetermined power saving transition factor occurs, the MFP 100 stores the state (first state) of the MFP 100 when the occurrence of the power saving transition factor is detected in the memory unit 25, and the second state. Migrate to The second state indicates a state of the MFP 100 that can return to the first state when a predetermined wake-up factor occurs. In this embodiment, the first state is a normal state and the second state is a suspended state. As described above, the suspend state is a power saving state, and the power consumption of MFP 100 in the suspend state is smaller than the power consumption of MFP 100 in the normal state.

また、上記所定の省電力移行要因が発生した場合とは、例えば、電源スイッチ部14のオフ操作や節電ボタン29の押下操作を検知した場合や、入力装置30から一定時間入力が無かった場合等に対応する。上記所定の起床要因が発生した場合とは、例えば、電源スイッチ部14のオン操作や節電ボタン29の押下操作を検知した場合や、ネットワーク部24やUSB部31からジョブ等の所定の要求が入力された場合等のイベントを検知した場合に対応する。   The case where the predetermined power saving transition factor occurs is, for example, a case where an off operation of the power switch unit 14 or a pressing operation of the power saving button 29 is detected, or a case where there is no input from the input device 30 for a certain time. Corresponding to When the predetermined wake-up factor occurs, for example, when an ON operation of the power switch unit 14 or a pressing operation of the power saving button 29 is detected, or a predetermined request such as a job is input from the network unit 24 or the USB unit 31 This corresponds to the case where an event is detected.

電源系B21は、CPU部27、画像処理部28、HDD部26、操作部15(節電ボタン29以外)、スキャナ部11、プリンタ部13などに電源を供給する電源系統である。なお、電源系B21の電源の遮断/供給の制御は、電源制御部23から出力される制御信号によりFET20を制御することで実現する。   The power supply system B21 is a power supply system that supplies power to the CPU unit 27, the image processing unit 28, the HDD unit 26, the operation unit 15 (other than the power saving button 29), the scanner unit 11, the printer unit 13, and the like. Note that the control of power supply cutoff / supply of the power supply system B21 is realized by controlling the FET 20 with a control signal output from the power supply control unit 23.

電源系A22は、電源制御部23、ネットワーク部24、メモリ部25、USB部31、節電ボタン29などに電源を供給する電源系統である。なお、電源系A22は、第1状態および第2状態の双方の状態において、電源部10から電源が供給される。MFP100は、複数の電力状態を切り替えて、少なくとも通常状態と、通常状態より消費電力の少ないサスペンド状態を切り替えて動作可能である。即ち、ネットワーク部24、USB部31は、サスペンド状態においても外部と通信可能である。   The power supply system A22 is a power supply system that supplies power to the power supply control unit 23, the network unit 24, the memory unit 25, the USB unit 31, the power saving button 29, and the like. The power supply system A22 is supplied with power from the power supply unit 10 in both the first state and the second state. The MFP 100 can operate by switching between a plurality of power states and at least switching between a normal state and a suspended state that consumes less power than the normal state. That is, the network unit 24 and the USB unit 31 can communicate with the outside even in the suspended state.

以下、図3と図6を用いてサスペンド処理のシーケンスを説明する。
図3は、本実施例におけるサスペンド処理の一例を示すフローチャートである。なお、サスペンド処理は、CPU部27がHDD部26等に記録されたプログラムを読み出して実行することにより実現されるものである。
また、図6は、本実施例における各デバイスの状態を時間経過毎に例示する図である。
Hereinafter, the suspend process sequence will be described with reference to FIGS. 3 and 6. FIG.
FIG. 3 is a flowchart showing an example of the suspend process in the present embodiment. The suspend process is realized by the CPU unit 27 reading and executing a program recorded in the HDD unit 26 or the like.
Further, FIG. 6 is a diagram illustrating the state of each device in the present embodiment as time elapses.

入力装置30から一定時間入力が無かった場合、または、電源スイッチ部14や節電ボタン29が押下された等の省電力移行要因の発生を検出すると、CPU部27は、図3に示すサスペンド処理(S300)を実行する。   When there is no input from the input device 30 for a certain period of time, or when occurrence of a power saving transition factor such as pressing of the power switch unit 14 or the power saving button 29 is detected, the CPU unit 27 performs the suspend process (see FIG. S300) is executed.

S301において、CPU部27は、プリンタ部13、スキャナ部11等の外部デバイスの終了処理を行う。外部デバイスとは、外部I/Fに接続されているデバイスであり、図1、図2ではプリンタ部13、スキャナ部11等が該当する。外部デバイスには終了に時間が掛るものもある。そのため、CPU部27は、サスペンドのキャンセル要因が発生するか確認しつつ(S302)、上記外部デバイスの終了処理が完了するまで外部デバイスの終了処理を継続する(S301,S303)(図6の状態65;全外部デバイス終了処理)。なお、S302のキャンセル要因には、後述する起床要因に加え、以下に示すようなCPU部27が指示したキャンセル要因が含まれる。CPU部27が指示したキャンセル要因は、CPU部27が処理を継続しないと障害が発生してしまう要因を示す。よって、このような要因を検知した場合、CPU部27は、キャンセル要因発生と判断する。   In step S <b> 301, the CPU unit 27 performs termination processing for external devices such as the printer unit 13 and the scanner unit 11. The external device is a device connected to the external I / F, and corresponds to the printer unit 13, the scanner unit 11, and the like in FIGS. Some external devices take time to complete. Therefore, the CPU unit 27 continues the external device termination process until the external device termination process is completed (S301, S303) (S302 in FIG. 6) while confirming whether a suspend cancellation factor occurs (S302). 65: All external device termination processing). Note that the cancellation factor in S302 includes a cancellation factor instructed by the CPU unit 27 as described below, in addition to a wake-up factor described later. The cancellation factor instructed by the CPU unit 27 indicates a factor that causes a failure unless the CPU unit 27 continues the process. Therefore, when such a factor is detected, the CPU unit 27 determines that a canceling factor has occurred.

なお、CPU部27は、外部デバイスの終了処理中に、例えばネットワーク部24からジョブ等のキャンセル要因が発生したと判定した場合(S302でYesの場合)、サスペンド移行をキャンセルすることを決定する。既にいくつかのデバイスは終了処理を行っているため、CPU部27は、S310〜S311において、全デバイスの復帰処理と復帰完了を確認した後、S312において、キャンセル要因となった例えばジョブを実行し、サスペンド動作をキャンセルする。なお、図示しないが、サスペンド動作がキャンセルされた場合は、CPU部27は、キャンセル要因となった例えばジョブの実行完了後に、サスペンド処理(S300)を再度実行する。   If the CPU unit 27 determines that a canceling factor such as a job has occurred from the network unit 24 during the termination process of the external device (Yes in S302), the CPU unit 27 determines to cancel the suspend transition. Since some devices have already finished processing, after confirming the restoration processing and restoration completion of all devices in S310 to S311, the CPU unit 27 executes, for example, the job that caused the cancellation in S312. Cancel the suspend operation. Although not shown, when the suspend operation is canceled, the CPU unit 27 executes the suspend process (S300) again after the execution of the job that has caused the cancellation, for example, is completed.

一方、CPU部27は、キャンセル要因が発生することなく全ての外部デバイスの終了処理が完了したと判定した場合(S302でNo及びS303でYesの場合)、サスペンドキャンセルを行わないように制御し、S304に移行する。   On the other hand, if the CPU unit 27 determines that the termination process of all external devices has been completed without causing a cancellation factor (No in S302 and Yes in S303), the CPU unit 27 performs control so as not to perform suspend cancellation. The process proceeds to S304.

S304では、CPU部27は、電源制御部23内に記憶されている起床予約フラグ61を「オフ」にクリアし(図6のイベント71)、今後サスペンドに入るまでの間に起床要因が発生したことを保持するための状態を初期化する。   In S304, the CPU unit 27 clears the wake-up reservation flag 61 stored in the power supply control unit 23 to “off” (event 71 in FIG. 6), and a wake-up factor has occurred before entering the suspend state in the future. Initialize state to hold that.

次に、S305において、CPU部27は、全内部デバイスの終了処理を行う。内部デバイスとは、図1、図2の例では、ネットワーク部24、USB部31、HDD部26、及び、画像処理部28等が該当する。また、内部デバイスの終了処理では、各々の内部デバイスについて、現在の状態をメモリ部25に保持した後、サスペンド状態では停止されるCPU部27の制御管理下から、サスペンド中でも独立して動作するように動作モードの変更が行われる。   Next, in S <b> 305, the CPU unit 27 performs termination processing for all internal devices. In the example of FIGS. 1 and 2, the internal device corresponds to the network unit 24, the USB unit 31, the HDD unit 26, the image processing unit 28, and the like. Also, in the internal device termination process, the current state of each internal device is held in the memory unit 25, and then operates independently during suspend from the control management of the CPU unit 27 which is stopped in the suspend state. The operation mode is changed during the operation.

内部デバイスの終了処理にも時間が掛るものがある。そのため、CPU部27は、起床要因が発生するか確認しつつ(S306)、上記全内部デバイスの終了処理が完了するまで全内部デバイスの終了処理を継続する(S305,S308)(図6の状態66;全内部デバイス終了処理)。   Some internal device termination processing also takes time. Therefore, the CPU unit 27 continues the end processing of all the internal devices (S305, S308) until the end processing of all the internal devices is completed (S305, S308) (state of FIG. 66: All internal device termination processing).

なお、内部デバイスは、上述したように、CPU部27とバス接続されたハードウェアであって、CPU部27と同一メインボード上に乗っているデバイスである。外部デバイスと異なり、内部デバイスは終了時にアクセスできなくなるため終了順番を厳密に決定する必要があり、安定動作のためにも、外部デバイスのように途中中断を行わない方がよい。よって、全内部デバイスの終了処理(S305)を開始するまではサスペンド処理は中断可能(キャンセル可能)であると、全内部デバイスの終了処理(S305)を開始するとサスペンド処理は中断不可能(キャンセル不可能)となる。   As described above, the internal device is hardware connected to the CPU unit 27 by a bus, and is a device on the same main board as the CPU unit 27. Unlike the external device, the internal device becomes inaccessible at the end, so the end order needs to be determined strictly. For stable operation, it is better not to interrupt halfway like the external device. Therefore, if the suspend process can be interrupted (cancellable) until the end process (S305) of all internal devices is started, the suspend process cannot be interrupted (cannot be canceled) when the end process (S305) of all internal devices is started. Possible).

そこで、本実施例のMFP100では、内部デバイスの終了中に起床要因が発生したと判定した場合(S306でYesの場合)、電源制御部23へ起床要求を予約し(図6のイベント71)(S307)、サスペンド処理を継続させる。即ち、サスペンド処理の途中の中断が不可能な状態で、起床要因となるイベントが発生した場合、レジューム処理(復帰)を予約する。   Therefore, in the MFP 100 according to the present embodiment, when it is determined that the wake-up factor has occurred during the termination of the internal device (Yes in S306), the wake-up request is reserved in the power control unit 23 (event 71 in FIG. 6) ( S307), the suspend process is continued. That is, when an event that causes a wake-up occurs in a state where the suspension process cannot be interrupted, a resume process (return) is reserved.

CPU部27が実行するサスペンド処理プロセスは、全内部デバイスの終了処理(S305)を開始する際、その旨を、後述する図5に示すプロトコルスタック57、ソケットI/F58、アプリケーション59に通知するものとする。この通知により、全内部デバイスの終了処理中において、プロトコルスタック57、ソケットI/F58、アプリケーション59で起床要因発生の監視と復帰の予約が行われる。なお、ネットワーク部24でも、全内部デバイスの終了処理中は、起床要因発生の監視と復帰の予約が行われる。   The suspend process executed by the CPU unit 27 notifies the protocol stack 57, socket I / F 58, and application 59 shown in FIG. 5 described later when starting the end process (S305) of all internal devices. And By this notification, during the termination processing of all internal devices, the protocol stack 57, the socket I / F 58, and the application 59 monitor the occurrence of the wake-up factor and reserve the return. In the network unit 24, the wake-up factor occurrence is monitored and the return is reserved during the termination process of all internal devices.

プロトコルスタック57、ソケットI/F58、又はアプリケーション59で、起床要因発生と判断された場合、CPU部27から電源制御部23内の起床予約フラグ61が「オン」される。また、ネットワーク部24で起床要因発生と判断された場合、CPU部27を介さず、ネットワーク部24から電源制御部23内の起床予約フラグ61が「オン」される。なお、ネットワーク部24、プロトコルスタック57、ソケットI/F58、又はアプリケーション59は、ネットワーク部24から所定の要求(例えば、印刷要求や応答要求)が受信されたと判断した場合、起床要因発生と判断し、該要求を処理するものとする。   When the protocol stack 57, the socket I / F 58, or the application 59 determines that a wake-up factor has occurred, the wake-up reservation flag 61 in the power control unit 23 is turned “ON” from the CPU unit 27. When the network unit 24 determines that the wake-up factor has occurred, the wake-up reservation flag 61 in the power control unit 23 is turned “on” from the network unit 24 without using the CPU unit 27. When the network unit 24, the protocol stack 57, the socket I / F 58, or the application 59 determines that a predetermined request (for example, a print request or a response request) is received from the network unit 24, the network unit 24 determines that a wake-up factor has occurred. , To process the request.

さらに、操作部15の入力装置30の操作や、不図示の計時部としてのリアルタイムクロック(RTC)等から指定時刻アラームがあった場合にも、起床要因発生と判断され、CPU部27から電源制御部23内の起床予約フラグ61が「オン」される。電源制御部23はサスペンド移行後も起床予約フラグ61を保持する。起床予約フラグ61が「オン」されうと、電源制御部23は、起床予約状態(図6の状態63)となる。   Furthermore, even when there is a specified time alarm from the operation of the input device 30 of the operation unit 15 or a real time clock (RTC) as a timing unit (not shown), it is determined that a wake-up factor has occurred, and the CPU unit 27 controls the power supply. The wake-up reservation flag 61 in the unit 23 is turned “on”. The power supply control unit 23 holds the wake-up reservation flag 61 even after the transition to suspend. When the wake-up reservation flag 61 is turned on, the power supply control unit 23 enters the wake-up reservation state (state 63 in FIG. 6).

そして、全ての内部デバイスの終了処理が完了したと判定した場合(S308でYesの場合)、CPU部27は、電源制御部23にサスペンド移行指示を送り(イベント73)、電源制御部23を介してFET20をOFFにする。これにより、電源系B21の電源がオフになり、MFP100はサスペンド状態に移行する。   If it is determined that all the internal devices have been completed (Yes in S308), the CPU unit 27 sends a suspend transition instruction to the power supply control unit 23 (event 73), and the power supply control unit 23 To turn off the FET 20. As a result, the power supply of the power supply system B21 is turned off, and the MFP 100 shifts to the suspended state.

具体的には、サスペンド移行指示(イベント73)を受けた電源制御部23が、メモリ部25をセルフリフレッシュの待機状態(図6の状態62)に移行させ、また、ネットワーク部24を起床条件監視状態(図6の状態70)に移行させる。さらに、電源制御部23が、電源系B21をオフすることにより、CPU部27がオフ状態(図6の状態67)になる。その後、電源制御部23は、サスペンド状態(図6の状態64)に移行する。このサスペンド状態(状態64)がMFPコントローラ部12全体のサスペンド状態と等価な状態である。   Specifically, the power supply control unit 23 that has received the suspend transition instruction (event 73) shifts the memory unit 25 to the self-refresh standby state (state 62 in FIG. 6), and monitors the wake-up condition of the network unit 24. Transition to the state (state 70 in FIG. 6). Furthermore, when the power supply control unit 23 turns off the power supply system B21, the CPU unit 27 is turned off (state 67 in FIG. 6). Thereafter, the power supply control unit 23 shifts to a suspended state (state 64 in FIG. 6). This suspended state (state 64) is equivalent to the suspended state of the entire MFP controller unit 12.

なお、本実施例では、メモリ部25自身に値を保持するサスペンド方式で説明したが、HDD部26を利用するハイバネーション方式や、メモリ部25をMRAMにする方式でも、サスペンド方式と同様の効果を得ることが可能である。   In the present embodiment, the suspend method in which the memory unit 25 itself holds a value has been described. However, the hibernation method using the HDD unit 26 and the method using the memory unit 25 as an MRAM have the same effect as the suspend method. It is possible to obtain.

サスペンド中は電源系A22に含まれるデバイスだけが動作する。サスペンド中では、ネットワーク部24は、受信したパケットがサスペンドから復帰しなければならないパケットか否かを監視する(状態70;起床条件監視中)。また、電源制御部23が、レジューム開始を監視しながらサスペンド状態を継続する。なお、電源制御部23は、CPUを内蔵したものでも、専用のハードウェアロジックで構成されるものでも構わない。   Only devices included in the power supply system A22 operate during suspension. During suspension, the network unit 24 monitors whether or not the received packet is a packet that needs to be recovered from suspension (state 70; wake-up condition is being monitored). Further, the power supply control unit 23 continues the suspended state while monitoring the resume start. Note that the power supply control unit 23 may include a built-in CPU or a dedicated hardware logic.

図4を用いて、電源制御部23のサスペンド状態中(状態64、サスペンド中)の動作について説明する。
図4は、本実施例における電源制御部23のサスペンド状態中の動作の一例を示すフローチャートである。なお、図4に示す処理は、電源制御部23の図示しないCPUが図示しないROM等に記録されたプログラムを読み出して実行することにより実現されるものであっても、専用のハードウェアロジックで実現されるものであってもよい。
The operation of the power supply control unit 23 during the suspended state (state 64, suspended) will be described with reference to FIG.
FIG. 4 is a flowchart illustrating an example of the operation of the power supply control unit 23 in the suspended state according to the present embodiment. The processing shown in FIG. 4 is realized by a dedicated hardware logic even when the CPU (not shown) of the power supply control unit 23 reads and executes a program recorded in a ROM (not shown) or the like. It may be done.

電源制御部23は、電源系Bがオフとなっているサスペンド中に、S400に示す処理を行う。サスペンド中の処理(S400)では、電源制御部23は、以下S401〜S406に示すいずれかのイベントが発生を監視する。   The power supply control unit 23 performs the process shown in S400 during the suspend in which the power supply system B is turned off. In the suspended process (S400), the power supply control unit 23 monitors the occurrence of any of the following events shown in S401 to S406.

S401では、電源制御部23は、起床要因の予約(復帰の予約)の有無を確認する。この起床要因予約の有無の確認では、電源制御部23内に記憶される起床予約フラグ61が「オン」である場合に起床要因予約ありと判定する。この起床予約フラグ61は、サスペンド状態に入った後、即座にレジュームを開始するトリガーとして動作させるためのフラグとなる。この起床予約フラグ61の「オン」は、上述したように、サスペンド処理中の中断不可能な状態において設定される。   In S <b> 401, the power supply control unit 23 checks whether or not there is a wake-up factor reservation (return reservation). In confirming whether or not there is a wake-up factor reservation, it is determined that there is a wake-up factor reservation when the wake-up reservation flag 61 stored in the power control unit 23 is “ON”. The wake-up reservation flag 61 is a flag for operating as a trigger for starting resume immediately after entering the suspended state. As described above, “on” of the wake-up reservation flag 61 is set in a non-interruptable state during the suspend process.

また、S402では、電源制御部23は、ネットワーク部24からジョブや問合わせ等の有効なレジューム開始指示を受信したか監視する(図6の状態70における起床条件が真になるか否かを監視する)。S403では、電源制御部23は、不図示のFAX部から着信があった等の有効なレジューム開始指示を受信したか監視する。S404では、電源制御部23は、不図示のリアルタイムクロック(RTC)から指定時刻アラームがあったか監視する。S405では、電源制御部23は、USB部31からジョブを受信した等の有効なレジューム開始指示を受信したか監視する。S406では、電源制御部23は、節電ボタン29や電源スイッチ部14の押下があったか監視する。   In S402, the power supply control unit 23 monitors whether a valid resume start instruction such as a job or an inquiry has been received from the network unit 24 (monitors whether the wake-up condition in the state 70 in FIG. 6 is true). To do). In S403, the power supply control unit 23 monitors whether a valid resume start instruction such as an incoming call from a FAX unit (not shown) has been received. In S404, the power supply control unit 23 monitors whether there is a specified time alarm from a real time clock (RTC) (not shown). In step S <b> 405, the power supply control unit 23 monitors whether a valid resume start instruction such as a job received from the USB unit 31 has been received. In S406, the power control unit 23 monitors whether the power saving button 29 or the power switch unit 14 has been pressed.

電源制御部23は、上記S401〜S406に示すいずれかのイベントが発生するまで上記監視を続け、いずれかのイベントが発生した場合(S401〜S406のいずれかでYesの場合)、S407に移行する。   The power supply control unit 23 continues the monitoring until any of the events shown in S401 to S406 occurs. If any event occurs (Yes in any of S401 to S406), the process proceeds to S407. .

S407では、電源制御部23は、最小サスペンド時間を保証するための処理(リセット不具合を回避するためにサスペンド中の最小時間を保証するための処理)を行い、S408において、レジュームを開始する。   In S407, the power supply control unit 23 performs a process for guaranteeing the minimum suspend time (a process for guaranteeing the minimum time during suspend in order to avoid a reset failure), and in S408, resume is started.

すなわち、S408において、電源制御部23は、FET20をオンにし、電源系B21に通電を開始させ、CPU部27に対してリセットの解除を行う。その後、CPU部27が、先に説明したサスペンド時にメモリ部25に保持した各デバイスの中断状態を、各デバイスに設定することで、サスペンドを行う前の状態に移行する(状態68;レジューム処理)。   That is, in S408, the power supply control unit 23 turns on the FET 20, starts energization of the power supply system B21, and releases the reset to the CPU unit 27. After that, the CPU unit 27 sets the suspension state of each device held in the memory unit 25 at the time of suspension described above to each device, thereby shifting to a state before suspension (state 68; resume processing). .

また、この時、CPU部27は、ネットワーク部24やUSB部31等の外部インタフェースの制御権をCPU部27に取り戻す(状態74;ネットワーク部24がスタンバイ中)、つまり通常状態に戻す。これにより、CPU部27がMFPコントローラ部12の全ての制御権を取り戻す。   At this time, the CPU unit 27 returns the control right of the external interface such as the network unit 24 and the USB unit 31 to the CPU unit 27 (state 74; the network unit 24 is on standby), that is, returns to the normal state. As a result, the CPU unit 27 regains all control rights of the MFP controller unit 12.

以上のように、本実施例のMFP100は、サスペンドに入る途中(移行の途中)において、中断すべきイベント(起床要因)が発生した場合、電源制御部23にフラグ状態を保持することで復帰を予約し、そのままサスペンドに入る。この復帰予約により、MFP100は、サスペンドに入った後に自動的にレジューム動作を行って、通常状態に復帰することができる。   As described above, when an event to be interrupted (wake-up factor) occurs while entering the suspend state (in the middle of transition), the MFP 100 according to the present embodiment is restored by holding the flag state in the power supply control unit 23. Make a reservation and continue to suspend. With this return reservation, the MFP 100 can automatically perform a resume operation after entering the suspend state to return to the normal state.

次に、起床予約フラグ61を「オン」に設定する際の判断について述べる。
図5は、電源制御部23とCPU部27の周辺を詳細に例示する図である。
不図示の外部PCから送られた電気信号は、PHY53でアナログ・デジタル変換される。該デジタル変換されたデータに基づいて、LANコントローラ(LANC)54がデータパケットを生成する。該生成されたデータパケットは、内部バッファ(BUF)55を介して、メモリ部25上に作られた、例えばデスクリプタテーブルから成るバッファ(BUF)56上に保存される。
Next, determination when setting the wake-up reservation flag 61 to “ON” will be described.
FIG. 5 is a diagram illustrating in detail the periphery of the power control unit 23 and the CPU unit 27.
An electrical signal sent from an external PC (not shown) is converted from analog to digital by the PHY 53. A LAN controller (LANC) 54 generates a data packet based on the digitally converted data. The generated data packet is stored on a buffer (BUF) 56 made up of, for example, a descriptor table on the memory unit 25 via an internal buffer (BUF) 55.

例えば、イーサネット(登録商標)を介した通信の場合、受信データは、イーサネット(登録商標)フレームと呼ばれる単位のデータである。受信データは、プロトコルスタックと呼ばれるソフトウェア(プロトコルスタック57)で所定の通信手順に基づいて解析され、例えばTCP/IPのソケットI/F58を介して、アプリケーション59に渡される。なお、プロトコルスタック57は、コンピュータ通信を実現するための一連の通信プロトコル群を実装しているソフトウェアモジュールであり、受信データをプロトコル毎に処理する通信処理機能を有する。   For example, in the case of communication via Ethernet (registered trademark), received data is data in units called Ethernet (registered trademark) frames. The received data is analyzed based on a predetermined communication procedure by software called a protocol stack (protocol stack 57), and passed to the application 59 via, for example, a TCP / IP socket I / F 58. The protocol stack 57 is a software module that implements a series of communication protocols for realizing computer communication, and has a communication processing function for processing received data for each protocol.

また、アプリケーション59は、ソケットI/F58に対して、ソケットを指定して回線を開き、データの送受信を行うソフトウェアである。ソケットI/F58は、ソケットを用いて、データの受け渡しを行うためのソフトウェアモジュールであり、プロトコルスタック57とアプリケーション59との間でデータの受け渡しを仲介する。アプリケーション59は、ソケットI/F58を介して受け取ったデータの中身を解析して、そのパケットが例えばジョブ等の起床要求となるべきものであるか否かを判断する。   The application 59 is software that designates a socket for the socket I / F 58, opens a line, and transmits and receives data. The socket I / F 58 is a software module for transferring data using a socket, and mediates data transfer between the protocol stack 57 and the application 59. The application 59 analyzes the contents of the data received via the socket I / F 58 and determines whether or not the packet should be a wake-up request such as a job.

ネットワークは拡張し続けているインタフェースであり、上述のように複数のハードウェア上のバッファと、ソフトウェアで作られたバッファ(実体はメモリ部25上)を介してアプリケーションに通知される。   The network is an interface that continues to expand, and is notified to the application via a plurality of hardware buffers and a buffer (the entity is on the memory unit 25) created by software as described above.

ここで、TCP/IPのプロトコルによる印刷ジョブ送信を例にして説明する。TCP/IPのプロトコルスタックのウインドウサイズ(一度に受信できるデータのサイズ)に収まってしまうような小さいジョブは、プロトコルスタック57内部(実体はメモリ部25上)に存在している状態で、TCP/IPの転送は完全に完了する。従って、該印刷ジョブの送信元のホストPC(不図示)は、この時点で送信終了とみなしてしまい、「印刷完了」状態になってしまう。   Here, a print job transmission using the TCP / IP protocol will be described as an example. A small job that fits within the window size of the TCP / IP protocol stack (the size of data that can be received at one time) exists in the protocol stack 57 (the entity is on the memory unit 25), and the TCP / IP The IP transfer is completely complete. Therefore, the host PC (not shown) that is the transmission source of the print job regards the transmission as being completed at this point, and enters a “printing complete” state.

しかし、アプリケーション59は、ソケットI/F58に対して受信要求を出しているだけであり、上記のようにプロトコルスタック57内部にデータが存在している状態では、アプリケーション59は印刷ジョブを受信したこと自体を検知できない。つまり、この状態では、アプリケーション59は、図3のS302のイベント(キャンセル要因)は発生しない。   However, the application 59 only issues a reception request to the socket I / F 58, and when the data exists in the protocol stack 57 as described above, the application 59 has received a print job. Cannot detect itself. That is, in this state, the application 59 does not generate the event (cancellation factor) of S302 in FIG.

この状態で、全外部デバイス終了となると(S303でYesとなると)、全内部デバイスの終了処理(S305)に入ってしまうため、MFP100は、途中復帰することが不可能な状態になる。つまり、ジョブがメモリ上にあっても、MFP100はサスペンド状態に移行することになる。   In this state, if all the external devices are terminated (Yes in S303), all the internal devices are terminated (S305), so that the MFP 100 cannot be restored halfway. That is, even if the job is on the memory, the MFP 100 shifts to the suspended state.

このようにMFP100がサスペンド状態に移行した状態で、その後、ホストPCから起床要因となるネットワークパケットがMFP100に送信された場合、MFP100では、図4のS402の条件が達成され、レジューム動作が開始される。この結果、MFP100では、上記メモリ上に保持されたままサスペンドされたジョブが処理されることになる。   When the MFP 100 shifts to the suspend state in this way and then a network packet that causes a wake-up is transmitted from the host PC to the MFP 100, the MFP 100 satisfies the condition of S402 in FIG. 4 and starts the resume operation. The As a result, the MFP 100 processes the suspended job while being held in the memory.

しかし、このようなパケットが送信されるか否かは、外部I/Fの先にある送信元の仕様によるため、保障されていない。このようなパケットが送信されなければ、サスペンド状態のまま上記ジョブが処理されない可能性がある。   However, whether such a packet is transmitted is not guaranteed because it depends on the specification of the transmission source ahead of the external I / F. If such a packet is not transmitted, the job may not be processed in the suspended state.

例えば、イーサネット(登録商標)1パケットで完了するジョブだった場合、次のパケットが送信される保証はなく、バッファ55にジョブパケットが存在する状態でサスペンドに入ってしま場合も考えられる。この場合、CPU部27のソフトウェアでは、いかなる方法を用いても、このジョブを検知することはできない。そこで、本実施例では、起床予約フラグ61を用いた復帰の予約を行う。   For example, if the job is completed with one Ethernet (registered trademark) packet, there is no guarantee that the next packet will be transmitted, and there may be a case where the job enters the suspend state with the job packet existing in the buffer 55. In this case, the software of the CPU unit 27 cannot detect this job by any method. Therefore, in this embodiment, a return reservation is made using the wake-up reservation flag 61.

上述したように、起床予約フラグ61のオン操作は、サスペンド処理の途中であって、サスペンドをキャンセルできないタイミングからサスペンド完了まで有効となる。即ち、図3のフローチャートではS305〜終了までの間(状態66の区間)でのみ、起床予約フラグ61のオン操作が有効となる。   As described above, the ON operation of the wake-up reservation flag 61 is effective during the suspension process from the timing when the suspension cannot be canceled to the completion of the suspension. That is, in the flowchart of FIG. 3, the wake-up reservation flag 61 is turned on only during the period from S305 to the end (section of the state 66).

以下、起床予約フラグ61のオン操作について説明する。
(A)ネットワーク部24による起床予約フラグ61のオン操作について説明する。バッファ55にパケットが留まる可能性を救うために、ネットワーク部24が起床要因となるパケットを監視し、該起床要因が発生したと判断した場合、割り込み線60をアサートして、電源制御部23に対し起床予約フラグ61をセットさせる。この場合、イベント71を、CPU部27を介在せずに割り込み線60によって電源制御部23に通知する。これにより、電源制御部23では起床予約フラグが「オン」となり、スタンバイ中、かつ起床予約状態となる。なお、全てのパケットを対象にアサートした場合、ブロードキャストやアープパケット等でも起床予約がされてしまう。そのため、ネットワーク部24では、ブロードキャストやアープパケット等ではなく、ジョブやSNMP等の応答を必要としているパケットを判明して割り込み線60をアサートすることでより正確な起床予約を行うことが可能となる。
Hereinafter, an operation of turning on the wake-up reservation flag 61 will be described.
(A) An operation of turning on the wake-up reservation flag 61 by the network unit 24 will be described. In order to save the possibility that the packet stays in the buffer 55, the network unit 24 monitors the packet that causes the wake-up factor, and when it is determined that the wake-up factor has occurred, the interrupt line 60 is asserted and the power control unit 23 On the other hand, the wake-up reservation flag 61 is set. In this case, the event 71 is notified to the power supply control unit 23 through the interrupt line 60 without the CPU unit 27 being interposed. As a result, in the power supply control unit 23, the wake-up reservation flag is set to “ON”, and the wake-up reservation state is set during standby. Note that when all packets are asserted, a wake-up reservation is made even with a broadcast or an arp packet. Therefore, in the network unit 24, it is possible to make a more accurate wake-up reservation by identifying a packet requiring a response such as a job or SNMP instead of a broadcast or an arp packet and asserting the interrupt line 60. .

(B)プロトコルスタック57による起床予約フラグ61のオン操作について説明する。プロトコルスタック57は、一般的にカーネル内ライブラリに存在する。IP、TCP等、ネットワークの各プロトコルがスタック的に接続されたものであり、各々が独立した一時バッファを有する。スタックのレイヤに応じて判断できる情報は異なる。最も一般的なもので言えば、TCPプロトコルスタックのTCPポートナンバーである。これは送信者・受信者共に任意のナンバーを使用するという疎結合な約束により通信を多重化することが可能な技術であり、印刷に使用するRAWポートは9100、LPRポートは515等の規定がある。このプロトコルスタック内部でポートナンバーを判定して任意のポートに割り振る処理があるが、この時点でそのデータがおおよそ印刷ジョブであろうと判断することができる。外部からの受信によりCPU部27のカーネルは受信処理を行う。このプロトコルスタック内で、イベント72をCPU部27が発行し、電源制御部23に通知する。これにより、電源制御部23では起床予約フラグをオンし、スタンバイ中、かつ起床予約状態となる。このように、プロトコルスタック57が、ポートナンバーに応じて起床予約フラグ61をセットするCPU部27の命令を発行することにより、必要なデータ受信で起床予約することが可能となる。   (B) The ON operation of the wake-up reservation flag 61 by the protocol stack 57 will be described. The protocol stack 57 generally exists in an in-kernel library. Network protocols such as IP and TCP are connected in a stack, and each has an independent temporary buffer. The information that can be determined differs depending on the stack layer. The most common is the TCP port number of the TCP protocol stack. This is a technology that can multiplex communications based on loosely-coupled promises of using arbitrary numbers for both sender and receiver. RAW ports used for printing are specified as 9100, LPR ports as 515, etc. is there. There is a process of determining the port number in this protocol stack and allocating it to an arbitrary port. At this point, it can be determined that the data is roughly a print job. The kernel of the CPU unit 27 performs reception processing by reception from the outside. Within this protocol stack, the CPU unit 27 issues an event 72 and notifies the power supply control unit 23 of it. As a result, the power control unit 23 turns on the wake-up reservation flag, enters a standby state and enters a wake-up reservation state. As described above, the protocol stack 57 issues a command of the CPU unit 27 that sets the wake-up reservation flag 61 in accordance with the port number, thereby making it possible to make a wake-up reservation with necessary data reception.

(C)ソケットI/F58による起床予約フラグ61のオン操作について説明する。ソケットI/F58は、カーネルのデータ送受信を多重化するための仕組みである。先に説明したポートと同じような疎結合型のデータ多重化方法で、このレイヤにバッファを持っている場合がある。仮想メモリマッピングを変更することでポインタ渡しを行う場合もある。アプリケーション59は、カーネルのソケットを介して、例えばTCPの任意ポートのデータを受信する。なお、ソケットは、ソケット毎に使用用途がほぼ確定している。このため、ソケットI/F58は、印刷用途等のソケットからデータを取得できた時点で、起床予約フラグ61をセットするようにCPU部27の命令を発行することにより、必要なデータ受信で起床予約することが可能となる。   (C) An operation of turning on the wake-up reservation flag 61 by the socket I / F 58 will be described. The socket I / F 58 is a mechanism for multiplexing kernel data transmission / reception. There is a case where a buffer is provided in this layer in a loosely coupled data multiplexing method similar to the port described above. In some cases, pointer passing is performed by changing the virtual memory mapping. The application 59 receives data of an arbitrary port of TCP, for example, via a kernel socket. Note that the usage of sockets is almost determined for each socket. For this reason, when the socket I / F 58 can acquire data from the socket for printing or the like, by issuing a command of the CPU unit 27 to set the wake-up reservation flag 61, the wake-up reservation is performed when necessary data is received. It becomes possible to do.

なお、アプリケーション59でも起床要因と判断した場合は、その時点で起床予約フラグ61をセットするようにCPU部27の命令を発行し、起床予約してもよい。   When the application 59 determines that it is a wake-up factor, the wake-up reservation command 61 may be issued to set the wake-up reservation flag 61 at that time to make a wake-up reservation.

上記説明では、上記(A)、(B)、(C)の全てを採用する構成を示したが、上記(A)、(B)、(C)の全てを採用しても良いし、いずれかを選択的に採用する構成でもよい。   In the above description, the configuration in which all of (A), (B), and (C) are employed has been described. However, all of (A), (B), and (C) may be employed. Alternatively, a configuration that selectively employs these may be used.

上記(A)、(B)、(C)の各階層では、アプリケーション59にデータが渡るまでの時間、一時的に保持可能なバッファサイズが異なる。また、各階層において、パケットデータの解析方式が違い、この違いは、起床要因の判断の信頼性に関わってくる。これらの判断は、ネットワークでは一般的なものであるため、詳細な説明は省く。しかし、ネットワーク部24にCPUを搭載してサスペンド中のネットワーク応答を行うシステムにおいては(A)の判断を用いることで、省電力メリットが最大となる。   In each of the above layers (A), (B), and (C), the time until data is transferred to the application 59 and the buffer size that can be temporarily stored are different. Further, the analysis method of packet data is different in each layer, and this difference is related to the reliability of the determination of the wake-up factor. Since these determinations are common in a network, a detailed description is omitted. However, in a system in which a CPU is installed in the network unit 24 and performs a suspended network response, the power saving merit is maximized by using the determination in (A).

なお、上記実施例では、CPU部27をオフにするサスペンドによる省電力モードを示した。しかし、CPU部27を割り込み待機状態(ドーズモード)等に移行させるWait For Interrupt型のスリープ制御においては、(B)の判断を用いることで、信頼性が最も高いシステムを構築できる。このように、構成と必要な信頼性、電力に応じて(A)(B)(C)を選択すればよい。   In the above embodiment, the power saving mode by the suspend in which the CPU unit 27 is turned off is shown. However, in the Wait For Interrupt type sleep control in which the CPU 27 is shifted to an interrupt standby state (doze mode) or the like, a system with the highest reliability can be constructed by using the determination in (B). In this manner, (A), (B), and (C) may be selected according to the configuration, the required reliability, and the power.

また、PDLデータ等、アプリケーション59が受信データをある程度受け取らなければジョブを判断できない場合もある。そのような場合は、ソケットI/F58は、アプリケーション59がソケットI/F58からデータを受信開始した時点で、起床予約フラグ61をセットするCPU部27の命令を発行することより、必要なデータ受信で起床予約ことが可能となる。   In addition, there are cases where a job cannot be determined unless the application 59 receives received data to some extent, such as PDL data. In such a case, when the application 59 starts to receive data from the socket I / F 58, the socket I / F 58 issues necessary data reception by issuing a command of the CPU unit 27 that sets the wake-up reservation flag 61. It is possible to make a wake-up reservation.

以上、説明したように、本実施例のMFP100では、サスペンドに入る間際に発生した外部からの問い合わせやジョブ等を処理途中のままサスペンドに入り、そのまま起床しないという障害を回避することができる。本実施例では、このような場合には、起床予約状態63としてサスペンドに入り、サスペンド中かつ一定時間経過待ち状態(図6の64)から、自動的にレジューム処理(図6の68)が開始される。   As described above, in the MFP 100 according to the present embodiment, it is possible to avoid the trouble that the external inquiry or the job generated immediately before entering the suspend state is suspended while being processed and the wakeup is not performed as it is. In this embodiment, in such a case, the suspend reservation state 63 is entered to suspend, and the resume process (68 in FIG. 6) starts automatically from the suspended state and waiting for a certain period of time (64 in FIG. 6). Is done.

なお、上記説明では、外部インタフェースでの受信に基づく復帰予約の例として、ネットワーク部24でデータ受信する場合の復帰予約について説明したが、他の外部インタフェースでデータ受信して復帰予約する構成でもよい。例えば、USB部31でデータ受信して復帰予約する構成でもよい。   In the above description, as an example of return reservation based on reception at the external interface, return reservation when data is received by the network unit 24 has been described. However, a configuration may be adopted in which data is received by another external interface and return reservation is made. . For example, the USB unit 31 may receive data and make a return reservation.

USB部31も代表的なブロックデバイスである。USB部31とCPU部27は、上述したネットワーク部24とCPU部27の場合と、おおよそ同じバッファ構成を取ることになるため、詳細な説明は省略する。本発明は、具体的な外部インタフェースデバイスをネットワーク部24やUSB部31等に限定するものではなく、その他の外部インタフェースデバイスを用いてもよい。例えば、図示しないbluetooth、赤外線、Thunderbolt等のその他の外部インタフェースでデータ受信して復帰予約する構成でもよい。本発明は、外部インタフェースのハードウェアから起床予約をセットする、また、外部インタフェースから受信したデータを処理するバッファの状態をソフト的に監視して起床予約を行う構成であれば、他の構成であってもよい。   The USB unit 31 is also a typical block device. Since the USB unit 31 and the CPU unit 27 have substantially the same buffer configuration as the network unit 24 and the CPU unit 27 described above, detailed description thereof is omitted. In the present invention, specific external interface devices are not limited to the network unit 24, the USB unit 31, and the like, and other external interface devices may be used. For example, a configuration may be adopted in which data is received by other external interfaces such as bluetooth, infrared rays, and Thunderbolt (not shown) to make a return reservation. The present invention is not limited to the configuration in which the wake-up reservation is set from the hardware of the external interface and the wake-up reservation is performed by monitoring the state of the buffer that processes the data received from the external interface in software. There may be.

また、上記実施例では、起床予約フラグ61を、電源制御部23内で保持する構成を示した。しかし、起床予約フラグ61を、電源制御部23外で保持する構成であってもよい。起床予約フラグ61は、サスペンド状態で電源制御部23が読み取り可能な記憶領域であれば、どこに保存されていてもよい。   Moreover, in the said Example, the structure which hold | maintains the wake-up reservation flag 61 in the power supply control part 23 was shown. However, the configuration may be such that the wake-up reservation flag 61 is held outside the power supply control unit 23. The wake-up reservation flag 61 may be stored anywhere as long as it is a storage area that can be read by the power control unit 23 in the suspended state.

また、起床予約フラグ61を用いて復帰を予約する構成を示したが、他の方法により復帰を予約する構成であってもよい。例えば、サスペンド処理を中断できない状態で、復帰要因が発生した場合、全内部デバイス終了のタイミング等で、リアルタイムクロックにスリープ最小時間をセットし、電源系Bを落とすようにせいてもよい。   Moreover, although the structure which reserves a return using the wake-up reservation flag 61 was shown, the structure which reserves a return by another method may be sufficient. For example, when a return factor occurs in a state where suspension processing cannot be interrupted, the minimum sleep time may be set in the real-time clock at the timing of termination of all internal devices, and the power supply system B may be turned off.

以上示したように、MFP100では、サスペンドモードに入る間際に外部インタフェースからイベントを受信した際、一度サスペンドモードに入ってから自起動起床させ、サスペンドから自動起動後、イベントが継続処理されるように構成する。この構成により、サスペンドモードに入る間際に外部インタフェースからイベントを受信したまま、該イベント処理自体がサスペンドされたままになる事象の発生を抑えることができる。その結果、サスペンド状態等の省電力状態に移行する直前に外部からの受信した要求を、ユーザの手を煩わせることなく自動で処理できるようにすることが可能となる。   As described above, when the MFP 100 receives an event from the external interface immediately before entering the suspend mode, the event is continuously processed after the suspend mode is automatically started after the suspend mode is entered once. Configure. With this configuration, it is possible to suppress the occurrence of an event in which the event processing itself remains suspended while receiving an event from the external interface immediately before entering the suspend mode. As a result, it is possible to automatically process a request received from the outside immediately before shifting to the power saving state such as the suspended state without bothering the user.

さらに、従来の画像形成装置では、サスペンドモードに入る直前では、ユーザ操作やリアルタイムクロック(RTC)から指定時刻アラーム等があった場合でも、ユーザの意図に反し、そのままサスペンドモードに移行してしまっていた。しかし、本実施例のMFPでは、サスペンドモードに入る間際に操作部15のキー操作や不図示のリアルタイムクロック(RTC)から指定時刻アラーム等があった場合にも、一度サスペンドモードに入ってから自起動起床させる。この構成により、ユーザの意図に反してサスペンドモードに移行してしまう現象の発生を抑えることができる。   Further, in the conventional image forming apparatus, immediately before entering the suspend mode, even if there is a specified time alarm from the user operation or the real time clock (RTC), the mode is shifted to the suspend mode as it is against the user's intention. It was. However, in the MFP of the present embodiment, even if there is a specified time alarm or the like from a key operation of the operation unit 15 or a real time clock (RTC) (not shown) immediately before entering the suspend mode, the MFP automatically enters the suspend mode once. Start wake up. With this configuration, it is possible to suppress the occurrence of a phenomenon that shifts to the suspend mode against the user's intention.

なお、上記実施例では、画像形成装置(MFP)を例に説明したが、複数の電力状態を切り替えて動作可能であり、外部インタフェースでジョブを受信可能な情報処理装置であれば、本発明を適用可能である。   In the above embodiment, the image forming apparatus (MFP) has been described as an example. However, the present invention is not limited to an information processing apparatus that can operate by switching a plurality of power states and can receive a job with an external interface. Applicable.

なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。
以上、一実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。
また、上記各実施例を組み合わせた構成も全て本発明に含まれるものである。
(他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。
本発明は上記実施例に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施例の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。即ち、上述した各実施例及びその変形例を組み合わせた構成も全て本発明に含まれるものである。
It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
Although one embodiment has been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, program, or storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.
Moreover, all the structures which combined said each Example are also contained in this invention.
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.
Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.
The present invention is not limited to the above embodiments, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not. That is, the present invention includes all the combinations of the above-described embodiments and modifications thereof.

10 電源部
14 電源スイッチ部
20 FET
21 電源系B
22 電源系A
23 電源制御部
24 ネットワーク部
27 CPU部
29 節電ボタン
54 LANC
57 プロトコルスタック
58 ソケットI/F
59 アプリケーション
100 画像形成装置(MFP)
10 Power supply 14 Power switch 20 FET
21 Power supply system B
22 Power supply system A
23 Power Control Unit 24 Network Unit 27 CPU Unit 29 Power Saving Button 54 LANC
57 Protocol stack 58 Socket I / F
59 Application 100 Image forming apparatus (MFP)

Claims (25)

第1電力状態と前記第1電力状態よりも低消費電力の第2電力状態とで動作可能な印刷装置であって、
印刷ジョブを受信する受信手段と、
前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させるための所定の処理を実行する処理手段と、
前記所定の処理の完了に基づいて、前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させる第1の遷移手段と、
前記第2電力状態の前記印刷装置において前記受信手段による印刷ジョブの受信に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第2の遷移手段と、を有し、
前記印刷装置はさらに、
前記処理手段による前記所定の処理の実行中における前記受信手段による印刷ジョブの受信に基づいて、前記所定の処理の完了によって前記第2電力状態に遷移する前記印刷装置を、前記第1電力状態に遷移させるための予約を行う予約手段と、
前記予約に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第3の遷移手段と、
を有することを特徴とする印刷装置。
A printing apparatus operable in a first power state and a second power state with lower power consumption than the first power state,
Receiving means for receiving a print job;
Processing means for executing predetermined processing for causing the printing apparatus to transition from the first power state to the second power state;
First transition means for transitioning the printing apparatus from the first power state to the second power state based on completion of the predetermined process;
Second transition means for causing the printing apparatus to transition from the second power state to the first power state based on reception of a print job by the receiving means in the printing apparatus in the second power state. ,
The printing apparatus further includes:
Based on reception of a print job by the receiving unit during execution of the predetermined process by the processing unit, the printing apparatus that transitions to the second power state upon completion of the predetermined process is set to the first power state. Reservation means for making a reservation for transition;
Third transition means for transitioning the printing apparatus from the second power state to the first power state based on the reservation;
A printing apparatus comprising:
前記第3の遷移手段によって前記第1電力状態に遷移された前記印刷装置は、前記所定の処理の実行中に受信された前記印刷ジョブを実行することを特徴とする請求項1に記載の印刷装置。   2. The printing according to claim 1, wherein the printing apparatus transitioned to the first power state by the third transition unit executes the print job received during the execution of the predetermined process. apparatus. 所定の情報を保持可能な保持手段を有し、
前記予約手段は、前記処理手段による前記所定の処理の実行中における前記受信手段による印刷ジョブの受信に基づいて、前記所定の情報を前記保持手段に保持させることで、前記予約を行い、
前記第3の遷移手段は、前記第2電力状態において前記保持手段に前記所定の情報が保持されている場合に、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させることを特徴とする請求項1または2に記載の印刷装置。
Having holding means capable of holding predetermined information;
The reservation unit performs the reservation by causing the holding unit to hold the predetermined information based on reception of a print job by the receiving unit during execution of the predetermined process by the processing unit,
The third transition unit causes the printing apparatus to transition from the second power state to the first power state when the predetermined information is held in the holding unit in the second power state. The printing apparatus according to claim 1, wherein the printing apparatus is a printer.
前記第3の遷移手段は、前記印刷装置が前記所定の処理の完了によって前記第2電力状態に遷移したことに基づいて、前記保持手段に前記所定の情報が保持されているかを確認することを特徴とする請求項3に記載の印刷装置The third transition means confirms whether the predetermined information is held in the holding means based on the fact that the printing apparatus has changed to the second power state upon completion of the predetermined processing. The printing apparatus according to claim 3, wherein: 前記処理手段による前記所定の処理の実行中における前記受信手段による印刷ジョブの受信に基づいて、前記処理手段による前記所定の処理の実行をキャンセルするキャンセル手段をさらに有することを特徴とする請求項1乃至4の何れか1項に記載の印刷装置。   2. The apparatus according to claim 1, further comprising a cancel unit that cancels execution of the predetermined process by the processing unit based on reception of a print job by the receiving unit during execution of the predetermined process by the processing unit. 5. The printing apparatus according to any one of items 4 to 4. 前記処理手段による前記所定の処理の実行中における前記受信手段による印刷ジョブの受信のタイミングによっては、前記キャンセル手段ではなく、前記予約手段が動作することを特徴とする請求項5に記載の印刷装置。   6. The printing apparatus according to claim 5, wherein the reservation unit operates instead of the cancellation unit depending on a reception timing of the print job by the reception unit during execution of the predetermined process by the processing unit. . 前記処理手段による前記所定の処理の第1段階において前記受信手段が印刷ジョブを受信した場合に、前記キャンセル手段が動作し、
前記第1段階よりも後の、前記処理手段による前記所定の処理の第2段階において前記受信手段が印刷ジョブを受信した場合に、前記予約手段が動作することを特徴とする請求項6に記載の印刷装置。
When the receiving unit receives a print job in the first stage of the predetermined processing by the processing unit, the canceling unit operates,
7. The reservation unit operates when the receiving unit receives a print job in the second stage of the predetermined processing by the processing unit after the first stage. Printing device.
前記処理手段は、ユーザーによる操作が所定時間受け付けられていないこと、および、ユーザーから前記印刷装置を前記第2電力状態への遷移させる指示を受け付けたことの少なくとも何れかに基づいて、前記所定の処理を実行することを特徴とする請求項1乃至7の何れか1項に記載の印刷装置。   The processing means is based on at least one of whether the operation by the user has not been received for a predetermined time and / or having received an instruction from the user to shift the printing apparatus to the second power state. The printing apparatus according to claim 1, wherein processing is executed. 前記受信手段によって受信された印刷ジョブによる印刷を行う印刷手段を有し、
前記所定の処理は、前記印刷手段の終了処理と、当該終了処理よりも後に実行される前記受信手段の終了処理とを含むことを特徴とする請求項1乃至8の何れか1項に記載の印刷装置。
Printing means for performing printing by the print job received by the receiving means;
9. The predetermined process according to claim 1, wherein the predetermined process includes an end process of the printing unit and an end process of the receiving unit that is executed after the end process. Printing device.
前記第1電力状態では、前記受信手段および前記処理手段に電力が供給され、
前記第2電力状態では、前記受信手段に電力が供給され、かつ、前記処理手段に電力が供給されないことを特徴とする請求項1乃至9の何れか1項に記載の印刷装置。
In the first power state, power is supplied to the receiving means and the processing means,
10. The printing apparatus according to claim 1, wherein in the second power state, power is supplied to the receiving unit and power is not supplied to the processing unit. 11.
前記受信手段は、外部装置からネットワークを介して印刷ジョブを受信することを特徴とする請求項1乃至10の何れか1項に記載の印刷装置。   The printing apparatus according to claim 1, wherein the receiving unit receives a print job from an external apparatus via a network. 前記所定の処理は、前記処理手段がプログラムを実行して行うサスペンド処理であることを特徴とする請求項1乃至11の何れか1項に記載の印刷装置。  The printing apparatus according to claim 1, wherein the predetermined process is a suspend process performed by the processing unit executing a program. 前記処理手段は、プログラムを実行可能なCPUであることを特徴とする請求項1乃至12の何れか1項に記載の印刷装置。  The printing apparatus according to claim 1, wherein the processing unit is a CPU capable of executing a program. 前記第1の遷移手段、前記第2の遷移手段、前記第3の遷移手段は、前記印刷装置内のデバイスへの電力供給を制御する電力制御部であることを特徴とする請求項1乃至13の何れか1項に記載の印刷装置。  14. The first transition unit, the second transition unit, and the third transition unit are power control units that control power supply to devices in the printing apparatus. The printing apparatus according to any one of the above. 第1電力状態と前記第1電力状態よりも低消費電力の第2電力状態とで動作可能な印刷装置であって、  A printing apparatus operable in a first power state and a second power state with lower power consumption than the first power state,
印刷ジョブを受信する受信手段と、  Receiving means for receiving a print job;
前記印刷装置を前記第2電力状態に遷移させるプログラムを実行する処理手段と、  Processing means for executing a program for causing the printing apparatus to transition to the second power state;
前記印刷装置内のデバイスへの電力供給を制御して前記印刷装置の電力状態を遷移させる電力制御手段と、  Power control means for controlling power supply to devices in the printing apparatus to transition the power state of the printing apparatus;
を有する印刷装置において、In a printing apparatus having
前記電力制御手段は、  The power control means includes
前記印刷装置が前記第2電力状態であるときに印刷ジョブの受信を検知した前記受信手段からの通知に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させ、  Based on the notification from the receiving means that has detected reception of a print job when the printing apparatus is in the second power state, the printing apparatus is transitioned from the second power state to the first power state;
前記プログラムの実行中において印刷ジョブの受信を検知した前記処理手段からの通知に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させることを特徴とする印刷装置。  A printing apparatus that causes the printing apparatus to transition from the second power state to the first power state based on a notification from the processing unit that has detected reception of a print job during execution of the program.
前記処理手段は、前記プログラムの実行中において印刷ジョブの受信を検知し、該検知に基づいて前記通知を行った後に、前記印刷装置を前記第2電力状態に遷移させることを前記電力制御手段に指示することを特徴とする請求項15に記載の印刷装置。  The processing means detects the reception of a print job during the execution of the program, performs the notification based on the detection, and then causes the power control means to shift the printing apparatus to the second power state. The printing apparatus according to claim 15, wherein an instruction is given. 前記処理手段は、前記電力制御手段が有する所定の記憶領域に所定の情報を書き込むことで前記通知を行うことを特徴とする請求項15または16に記載の印刷装置。  The printing apparatus according to claim 15 or 16, wherein the processing unit performs the notification by writing predetermined information in a predetermined storage area of the power control unit.
前記電力制御手段がThe power control means
前記処理手段は、前記電力制御手段が参照可能な記憶領域に所定の情報を書き込むことで前記通知を行うことを特徴とする請求項15または16に記載の印刷装置。  The printing apparatus according to claim 15, wherein the processing unit performs the notification by writing predetermined information in a storage area that can be referred to by the power control unit. 前記処理手段は、前記印刷装置が前記第1電力状態から前記第2電力状態に遷移する際に、前記プログラムにしたがって、前記受信手段の動作モードを、前記処理手段の制御下で動作する第1モードから、前記処理手段から独立して動作する第2モードに変更し、  The processing means operates in accordance with the program with the operating mode of the receiving means operating under the control of the processing means when the printing apparatus transitions from the first power state to the second power state. Changing from the mode to the second mode operating independently of the processing means;
前記処理手段は、前記印刷装置が前記第2電力状態から前記第1電力状態に遷移する際に、前記受信手段の動作モードを、前記第2モードから前記第1モードに変更することを特徴とする請求項15乃至18の何れか1項に記載の印刷装置。The processing means changes the operation mode of the receiving means from the second mode to the first mode when the printing apparatus transitions from the second power state to the first power state. The printing apparatus according to any one of claims 15 to 18.
前記処理手段は、前記プログラムの実行開始から前記受信手段の動作モードが前記第1モードから前記第2モードに変更されるまでの間において印刷ジョブの受信を検知することを特徴とする請求項19に記載の印刷装置。  20. The processing unit detects reception of a print job from the start of execution of the program until the operation mode of the receiving unit is changed from the first mode to the second mode. The printing apparatus as described in. 前記受信手段は、前記第1モードでの動作中において、前記電力制御手段に対して印刷ジョブの受信の検知に基づく前記通知を行わず、前記第2モードでの動作中において、前記電力制御手段に対して印刷ジョブの受信の検知に基づく前記通知を行うことを特徴とする請求項19または20に記載の印刷装置。  The receiving unit does not perform the notification based on detection of reception of a print job to the power control unit during the operation in the first mode, and the power control unit during the operation in the second mode. The printing apparatus according to claim 19, wherein the notification is performed based on detection of reception of a print job. 前記処理手段は、前記受信手段が受信した印刷ジョブを取得することで、印刷ジョブの受信を検知することを特徴とする請求項15乃至21の何れか1項に記載の印刷装置。  The printing apparatus according to claim 15, wherein the processing unit detects reception of a print job by acquiring the print job received by the reception unit. 前記第1電力状態では、前記受信手段および前記処理手段に電力が供給され、前記第2電力状態では、前記受信手段に電力が供給され、かつ、前記処理手段に電力が供給されないことを特徴とする請求項15乃至21の何れか1項に記載の印刷装置。  In the first power state, power is supplied to the receiving means and the processing means, and in the second power state, power is supplied to the receiving means and no power is supplied to the processing means. The printing apparatus according to any one of claims 15 to 21. 印刷ジョブを受信する受信手段を有し、第1電力状態と前記第1電力状態よりも低消費電力の第2電力状態とで動作可能な印刷装置の制御方法であって、
前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させるための所定の処理を実行する処理工程と、
前記所定の処理の完了に基づいて、前記印刷装置を前記第1電力状態から前記第2電力状態に遷移させる第1の遷移工程と、
前記第2電力状態の前記印刷装置において前記受信手段による印刷ジョブの受信に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第2の遷移工程と、
を有し、
前記制御方法はさらに、
前記所定の処理の実行中における前記受信手段による印刷ジョブの受信に基づいて、前記所定の処理の完了によって前記第2電力状態に遷移する前記印刷装置を、前記第1電力状態に遷移させるための予約を行う予約工程と、
前記予約に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる第3の遷移工程と、
を有することを特徴とする印刷装置の制御方法。
A control method for a printing apparatus having a receiving means for receiving a print job and operable in a first power state and a second power state with lower power consumption than the first power state,
A process for executing a predetermined process for causing the printing apparatus to transition from the first power state to the second power state;
A first transition step of transitioning the printing apparatus from the first power state to the second power state based on completion of the predetermined process;
A second transition step of causing the printing apparatus to transition from the second power state to the first power state based on reception of a print job by the receiving unit in the printing apparatus in the second power state;
Have
The control method further includes:
Based on reception of a print job by the receiving unit during execution of the predetermined process, the printing apparatus that transitions to the second power state upon completion of the predetermined process is configured to transition to the first power state. A reservation process for making a reservation;
A third transition step of transitioning the printing device from the second power state to the first power state based on the reservation;
A control method for a printing apparatus, comprising:
第1電力状態と前記第1電力状態よりも低消費電力の第2電力状態とで動作可能な印刷装置であって、  A printing apparatus operable in a first power state and a second power state with lower power consumption than the first power state,
印刷ジョブを受信する受信手段と、  Receiving means for receiving a print job;
前記印刷装置を前記第2電力状態に遷移させるプログラムを実行する処理手段と、  Processing means for executing a program for causing the printing apparatus to transition to the second power state;
を有する印刷装置の制御方法であって、A control method of a printing apparatus having
前記印刷装置内のデバイスへの電力供給を制御して前記印刷装置の電力状態を遷移させる電力制御工程を有し、  A power control step of controlling power supply to devices in the printing apparatus to transition the power state of the printing apparatus;
前記電力制御工程は、  The power control step includes
前記印刷装置が前記第2電力状態であるときに印刷ジョブの受信を検知した前記受信手段からの通知に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させ、  Based on the notification from the receiving means that has detected reception of a print job when the printing apparatus is in the second power state, the printing apparatus is transitioned from the second power state to the first power state;
前記プログラムの実行中において印刷ジョブの受信を検知した前記処理手段からの通知に基づいて、前記印刷装置を前記第2電力状態から前記第1電力状態に遷移させる  Based on a notification from the processing means that has detected reception of a print job during execution of the program, the printing apparatus is transitioned from the second power state to the first power state.
ことを特徴とする印刷装置の制御方法。A control method for a printing apparatus.
JP2017143346A 2017-07-25 2017-07-25 Information processing device Active JP6397545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017143346A JP6397545B2 (en) 2017-07-25 2017-07-25 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017143346A JP6397545B2 (en) 2017-07-25 2017-07-25 Information processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013131321A Division JP6210753B2 (en) 2013-06-24 2013-06-24 Information processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018163284A Division JP6632673B2 (en) 2018-08-31 2018-08-31 Printing apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2018010644A JP2018010644A (en) 2018-01-18
JP2018010644A5 JP2018010644A5 (en) 2018-03-01
JP6397545B2 true JP6397545B2 (en) 2018-09-26

Family

ID=60995581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017143346A Active JP6397545B2 (en) 2017-07-25 2017-07-25 Information processing device

Country Status (1)

Country Link
JP (1) JP6397545B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008222051A (en) * 2007-03-13 2008-09-25 Denso Corp Microcomputer, program, electronic control device, and communication system
JP2011059426A (en) * 2009-09-10 2011-03-24 Ricoh Co Ltd Image forming apparatus

Also Published As

Publication number Publication date
JP2018010644A (en) 2018-01-18

Similar Documents

Publication Publication Date Title
JP6210753B2 (en) Information processing device
US20100262853A1 (en) Information processing apparatus, method for controlling information processing apparatus, and recording medium
JP5397739B2 (en) Image processing apparatus, image processing method, and image processing program
CN102739902B (en) Image forming apparatus and the control method for image forming apparatus
JP5793011B2 (en) Printing apparatus, control method thereof, program, and storage medium
JP2012203464A (en) Information processor, control method of the same, and program
JP5885390B2 (en) Image forming apparatus, image forming apparatus control method and program
EP2528314B1 (en) Information processing apparatus and method of controlling launch thereof
JP6083950B2 (en) Image forming apparatus, image forming apparatus control method, and program
US10187538B2 (en) Information processing apparatus, method for controlling information processing apparatus, and program having predetermined event occurring during shifting process of power state
US20140380074A1 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP6632673B2 (en) Printing apparatus and control method thereof
JP6702790B2 (en) Information processing apparatus having network interface having proxy response function
JP6397545B2 (en) Information processing device
JP2015180527A (en) Information processing apparatus, information processing apparatus control method, and program
JP2007221239A (en) Extended image processing system
JP4708818B2 (en) Network device and control method thereof
JP4870098B2 (en) Electronic device and control method of electronic device
JP2008211761A (en) Image forming apparatus and connection notification method
CN111541825B (en) Electronic device and control method thereof
JP6355770B2 (en) Image forming apparatus
JP2015148978A (en) Information processor and control method for information processor
JP4899646B2 (en) Image forming system
JP2010277258A (en) Program for starting printer
JP6344913B2 (en) Printing apparatus, image reading apparatus, and control method thereof

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171208

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20180306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180713

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: 20180802

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180831

R151 Written notification of patent or utility model registration

Ref document number: 6397545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151