JP2019161531A - Information processing device, method for controlling information processing device and program - Google Patents

Information processing device, method for controlling information processing device and program Download PDF

Info

Publication number
JP2019161531A
JP2019161531A JP2018047725A JP2018047725A JP2019161531A JP 2019161531 A JP2019161531 A JP 2019161531A JP 2018047725 A JP2018047725 A JP 2018047725A JP 2018047725 A JP2018047725 A JP 2018047725A JP 2019161531 A JP2019161531 A JP 2019161531A
Authority
JP
Japan
Prior art keywords
network device
transition
power saving
communication
saving mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018047725A
Other languages
Japanese (ja)
Inventor
実 藤沢
Minoru Fujisawa
実 藤沢
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 JP2018047725A priority Critical patent/JP2019161531A/en
Publication of JP2019161531A publication Critical patent/JP2019161531A/en
Pending legal-status Critical Current

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

  • Power Sources (AREA)
  • Computer And Data Communications (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

To appropriately determine whether to be able to perform transition to a power-saving mode.SOLUTION: An information processing device includes: detection means for respectively detecting communication from a plurality of networks by a plurality of network devices; holding means for holding a state of communication of a network device in which the communication is detected among the plurality of network devices; and determination means for determining whether to be able to perform transition to a power-saving mode in accordance with the state of the communication of the detected network device held by the holding means in the case that a transition condition from a normal mode to the power-saving mode is satisfied.SELECTED DRAWING: Figure 5

Description

本発明は、情報処理装置、情報処理装置の制御方法およびプログラムに関する。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, and a program.

ネットワークに求められるセキュリティおよび機能性の複雑化に伴い、オフィスや商業施設などで複数のLAN(Local area network)を使い分ける構成が一般的になってきた。情報処理装置は、複数のLANに対してサービスを提供することが求められ、一つの情報処理装置に複数のネットワークインタフェースを搭載したものが製造されている。これに伴って、複数のインタフェースからネットワークアクセスを受け付けるケースが存在し、特定の判定処理によってそれぞれのインタフェースを使用して通信することが行われている(特許文献1参照)。   Along with the complexity of security and functionality required for networks, it has become common to use a plurality of LANs (Local Area Networks) in offices and commercial facilities. Information processing apparatuses are required to provide services to a plurality of LANs, and one information processing apparatus having a plurality of network interfaces mounted thereon is manufactured. Along with this, there are cases in which network access is received from a plurality of interfaces, and communication is performed using each interface by specific determination processing (see Patent Document 1).

LANの種類としては、有線LAN、無線LANインフラストラクチャモード、無線LANアクセスポイントモードが存在する。このようなインタフェースに対して、特定の条件および状態に従って、省電力制御を行うケースも存在する(特許文献2参照)。   As types of LAN, there are a wired LAN, a wireless LAN infrastructure mode, and a wireless LAN access point mode. There is a case where power saving control is performed on such an interface according to specific conditions and states (see Patent Document 2).

特開2007−199827号公報JP 2007-199827 A 特開2016−25433号公報JP 2016-25433 A

装置が省電力モードへ遷移した場合、装置が保持する個々のネットワークインタフェースによっては、省電力状態中にリモートからのアクセス要求を受信して通常運用モードへ復帰することが可能である高機能なものが存在する。逆に、省電力状態中には、リモートからのアクセス要求を破棄してしまうようなものや、装置全体の省電力性能を向上させるために、敢えてネットワークインタフェースへの通電を行わないようにするケースがある。このようなインタフェースの機能差や装置の省電力向上を目的とした仕様構成によっては、リモートからのアクセスの利便性や利用者に、不利益を与えるようなケースがあり得る。   When the device transitions to the power saving mode, depending on the individual network interfaces held by the device, it is possible to receive a remote access request during the power saving state and return to the normal operation mode. Exists. Conversely, when the power saving state is in effect, the remote access request is discarded or the network interface is not energized to improve the power saving performance of the entire device. There is. Depending on the functional configuration of the interface and the specification configuration aimed at improving the power saving of the device, there may be cases where the convenience of remote access and the user are disadvantaged.

例えば、リモートから装置に対してネットワーク接続中に装置が省電力モードに遷移し、インタフェースの通電が中断してしまうと、リモートからの後続アクセス要求を破棄してしまうことになる。次回の接続のためには、装置をネットワークからのアクセス以外の方法で省電力モードから復帰させない限り、再接続が不可となってしまう。また、省電力モードへの遷移前に、ネットワークから装置内に格納しているファイルを処理しているような場合、ファイルをオープンしたまま、省電力モードに遷移し、インタフェースの通電が切れると、ファイルが壊れる可能性があり得る。   For example, if the device transits to the power saving mode while the network is connected to the device from the remote, and energization of the interface is interrupted, the subsequent access request from the remote is discarded. For the next connection, reconnection becomes impossible unless the device is returned from the power saving mode by a method other than access from the network. In addition, if the file stored in the device is being processed from the network before the transition to the power saving mode, the file will remain open and the power saving mode will be entered. The file may be corrupted.

本発明の目的は、省電力モードへの遷移が可能であるか否かを適切に決定することができるようにすることである。   An object of the present invention is to be able to appropriately determine whether or not the transition to the power saving mode is possible.

本発明の情報処理装置は、複数のネットワークデバイスにより複数のネットワークからの通信をそれぞれ検知する検知手段と、前記複数のネットワークデバイスのうちの通信が検知されたネットワークデバイスの通信の状態を保持する保持手段と、通常モードから省電力モードへの遷移条件を満たした場合、前記保持手段が保持する前記検知されたネットワークデバイスの通信の状態に応じて、前記省電力モードへの遷移が可能であるか否かを決定する決定手段とを有する。   An information processing apparatus according to the present invention includes a detecting unit that detects communication from a plurality of networks by a plurality of network devices, and a holding unit that holds a communication state of the network device in which communication is detected among the plurality of network devices. If the transition condition from the normal mode to the power saving mode is satisfied, the transition to the power saving mode is possible according to the detected communication status of the network device held by the holding means Determining means for determining whether or not.

本発明によれば、省電力モードへの遷移が可能であるか否かを適切に決定することができる。   According to the present invention, it is possible to appropriately determine whether or not the transition to the power saving mode is possible.

MFPとクライアントPCの接続形態を示すブロック構成図である。FIG. 3 is a block diagram showing a connection form between an MFP and a client PC. MFPのコントローラ部の内部構成図である。2 is an internal configuration diagram of a controller unit of the MFP. FIG. MFPのコントローラが実行するソフトウェアのブロック構成図である。2 is a block configuration diagram of software executed by a controller of the MFP. FIG. 接続状態管理テーブルを示す図である。It is a figure which shows a connection state management table. 省電力状態遷移時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of a power saving state transition. 省電力状態遷移時の他の処理を示すフローチャートである。It is a flowchart which shows the other process at the time of a power saving state transition. スリープモード遷移時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of sleep mode transition.

(第1の実施形態)
以下、本発明の実施の形態を図面に基づいて解説する。ここでは、複合機(MFP)を例に説明するが、本発明は複合機以外の任意の情報処理装置に適用可能な技術である。
(First embodiment)
Hereinafter, embodiments of the present invention will be described with reference to the drawings. Here, a multi-function peripheral (MFP) will be described as an example.

図1は、本発明の第1の実施形態に係る情報処理システム160の構成例を示すブロック図である。情報処理システム160は、MFP100、DHCPサーバ110、およびクライアントパーソナルコンピュータ(PC)120,130を有する。MFP100とDHCPサーバ110とクライアントPC120は、ローカルエリアネットワーク(LAN)140を介して接続されている。   FIG. 1 is a block diagram illustrating a configuration example of an information processing system 160 according to the first embodiment of the present invention. The information processing system 160 includes an MFP 100, a DHCP server 110, and client personal computers (PCs) 120 and 130. MFP 100, DHCP server 110, and client PC 120 are connected via a local area network (LAN) 140.

MFP100は、情報処理装置であり、コントローラ部101と、操作部102と、プリンタ部103と、スキャナ部104と、電源部105とを有する。操作部102は、ユーザの操作により、入出力を行う。プリンタ部103は、電子データを紙媒体に印刷する。スキャナ部104は、紙媒体を読み込み、紙媒体の情報を電子データに変換する。コントローラ部101は、操作部102とプリンタ部103とスキャナ部104を制御し、MFP100としての機能を実現する。電源部105は、コントローラ部101、操作部102、プリンタ部103、およびスキャナ部104を含めたMFP100全体に対して電力を供給する。   The MFP 100 is an information processing apparatus, and includes a controller unit 101, an operation unit 102, a printer unit 103, a scanner unit 104, and a power supply unit 105. The operation unit 102 performs input / output by user operation. The printer unit 103 prints electronic data on a paper medium. The scanner unit 104 reads a paper medium and converts the information on the paper medium into electronic data. The controller unit 101 controls the operation unit 102, the printer unit 103, and the scanner unit 104 to realize functions as the MFP 100. The power supply unit 105 supplies power to the entire MFP 100 including the controller unit 101, the operation unit 102, the printer unit 103, and the scanner unit 104.

DHCPサーバ110は、LAN140を介して、MFP100およびクライアントPC120に対してIPアドレスを割り当てる。クライアントPC120は、LAN140を介して、MFP110に対してプリントジョブを送信する。   The DHCP server 110 assigns IP addresses to the MFP 100 and the client PC 120 via the LAN 140. Client PC 120 transmits a print job to MFP 110 via LAN 140.

MFP100は、LAN140とは異なるネットワークインタフェースによって、LAN150に接続されている。クライアントPC130は、LAN150を介して、MFP100に接続されている。クライアントPC130は、LAN150を介して、MFP110に対してプリントジョブを送信する。   MFP 100 is connected to LAN 150 by a network interface different from LAN 140. Client PC 130 is connected to MFP 100 via LAN 150. Client PC 130 transmits a print job to MFP 110 via LAN 150.

MFP100は、2つのLAN140およびLAN150に接続されている。これらのLAN140および150は、有線であっても無線であってもよい。無線LANである場合には、MFP100内の無線インタフェースが、アクセスポイントを経由して、LAN140および150に接続する。   MFP 100 is connected to two LANs 140 and 150. These LANs 140 and 150 may be wired or wireless. In the case of a wireless LAN, the wireless interface in the MFP 100 connects to the LANs 140 and 150 via an access point.

図2は、MFP100のコントローラ部101の構成例を示すブロック図である。CPU201は、コントローラ部101内の演算処理を行う。CPU201は、バスを介して、DRAM202に接続される。DRAM202は、CPU201が演算する過程で演算命令を表すプログラムを格納し、処理対象のデータを一時的に配置するための作業メモリとしてCPU201によって使用される。   FIG. 2 is a block diagram illustrating a configuration example of the controller unit 101 of the MFP 100. The CPU 201 performs calculation processing in the controller unit 101. The CPU 201 is connected to the DRAM 202 via a bus. The DRAM 202 stores a program representing an operation instruction in the process of the CPU 201 and is used by the CPU 201 as a working memory for temporarily arranging data to be processed.

SATA(Serial Advanced Technology Attachment)インタフェース203は、ハードディスクドライブ(HDD)204に接続される。HDD204は、CPU201が実行するプログラム、クライアントPC120,130から受信したファイル、およびスキャナ部104が読み込んだドキュメントデータを永続的に記憶する。   A SATA (Serial Advanced Technology Attachment) interface 203 is connected to a hard disk drive (HDD) 204. The HDD 204 permanently stores programs executed by the CPU 201, files received from the client PCs 120 and 130, and document data read by the scanner unit 104.

ネットワークインタフェース208は、LANデバイス209および210に接続される。LANデバイス209および210は、ネットワークデバイスである。LANデバイス209は、LAN150に接続され、LAN150からの通信を検知する。LANデバイス210は、LAN140に接続され、LAN140からの通信を検知する。CPU201は、ネットワークインタフェース208を介して、LANデバイス210を制御することにより、LAN140上の通信を実現する。また、CPU201は、ネットワークインタフェース208を介して、LANデバイス209を制御することにより、LAN150上の通信を実現する。LANデバイス209およびLANデバイス210は、無線LANデバイスでもよい。   The network interface 208 is connected to the LAN devices 209 and 210. LAN devices 209 and 210 are network devices. The LAN device 209 is connected to the LAN 150 and detects communication from the LAN 150. The LAN device 210 is connected to the LAN 140 and detects communication from the LAN 140. The CPU 201 implements communication on the LAN 140 by controlling the LAN device 210 via the network interface 208. Further, the CPU 201 realizes communication on the LAN 150 by controlling the LAN device 209 via the network interface 208. The LAN device 209 and the LAN device 210 may be wireless LAN devices.

CPU201は、パネルインタフェース205を介して、操作部102に対する操作者の入出力を実現する。CPU201は、プリンタインタフェース206を介して、プリンタ部103による紙媒体の印刷処理を実現する。CPU201は、スキャナインタフェース207を介して、スキャナ部104による原稿の読み込み処理を実現する。   The CPU 201 realizes operator input / output with respect to the operation unit 102 via the panel interface 205. The CPU 201 realizes printing processing of a paper medium by the printer unit 103 via the printer interface 206. The CPU 201 realizes document reading processing by the scanner unit 104 via the scanner interface 207.

MFP100のコピー機能を実施する場合、CPU201は、SATAインタフェース203を介して、HDD204からプログラムをDRAM202に読み込む。次に、CPU201は、DRAM202に読み込まれたプログラムを実行し、パネルインタフェース205を介して操作部102に対するユーザからのコピー指示を検出する。CPU201は、コピー指示を検出すると、スキャナインタフェース207を介してスキャナ部104から原稿の画像データを入力し、その画像データをDRAM202に格納する。次に、CPU201は、DRAM202に格納した画像データに対して、印刷に適した色変換処理などを実施する。次に、CPU201は、DRAM202に格納した画像データを、プリンタインタフェース206を介してプリンタ部103に転送し、紙媒体への印刷処理を実施する。   When implementing the copy function of the MFP 100, the CPU 201 reads a program from the HDD 204 into the DRAM 202 via the SATA interface 203. Next, the CPU 201 executes a program read into the DRAM 202 and detects a copy instruction from the user to the operation unit 102 via the panel interface 205. When the CPU 201 detects a copy instruction, the CPU 201 inputs image data of an original from the scanner unit 104 via the scanner interface 207 and stores the image data in the DRAM 202. Next, the CPU 201 performs color conversion processing suitable for printing on the image data stored in the DRAM 202. Next, the CPU 201 transfers the image data stored in the DRAM 202 to the printer unit 103 via the printer interface 206, and performs a printing process on a paper medium.

PDL印刷を実施する場合、クライアントPC120は、LAN140を介して、MFP100に印刷指示を行う。CPU201は、SATAインタフェース203を介してHDD204からプログラムをDRAM202に読み込む。そして、CPU201は、DRAM202に読み込まれたプログラムを実行し、ネットワークインタフェース208を介して、クライアントPC120の印刷指示を検出する。ネットワークインタフェース208は、LANデバイス209とLANデバイス210に接続されている。クライアントPC120がLAN140に接続されているため、ネットワークインタフェース208は、自己に接続されているLANデバイス209および210のうち、LANデバイス210を使用する。仮にクライアントPC130が印刷指示する場合、クライアントPC130がLAN150に接続されるため、ネットワークインタフェース208はLANデバイス209を使用する。CPU201は、クライアントPC120のPDL送信指示を検出すると、ネットワークインタフェース206を介して印刷データを受信し、SATAインタフェース203を介してHDD204に印刷データを保存する。CPU201は、印刷データの保存が完了すると、HDD204に保存した印刷データをDRAM202に画像データとして展開する。次に、CPU201は、DRAM202に格納した画像データに対して、印刷に適した色変換処理などを実施する。次に、CPU201は、DRAM202に格納した画像データをプリンタインタフェース206を介してプリンタ部103に転送し、紙媒体への印刷処理を実施する。   When performing PDL printing, the client PC 120 issues a print instruction to the MFP 100 via the LAN 140. The CPU 201 reads a program from the HDD 204 into the DRAM 202 via the SATA interface 203. Then, the CPU 201 executes a program read into the DRAM 202 and detects a print instruction from the client PC 120 via the network interface 208. The network interface 208 is connected to the LAN device 209 and the LAN device 210. Since the client PC 120 is connected to the LAN 140, the network interface 208 uses the LAN device 210 among the LAN devices 209 and 210 connected thereto. If the client PC 130 issues a print instruction, the network interface 208 uses the LAN device 209 because the client PC 130 is connected to the LAN 150. When the CPU 201 detects the PDL transmission instruction of the client PC 120, the CPU 201 receives the print data via the network interface 206 and stores the print data in the HDD 204 via the SATA interface 203. When the storage of the print data is completed, the CPU 201 develops the print data stored in the HDD 204 as image data in the DRAM 202. Next, the CPU 201 performs color conversion processing suitable for printing on the image data stored in the DRAM 202. Next, the CPU 201 transfers the image data stored in the DRAM 202 to the printer unit 103 via the printer interface 206, and performs a printing process on a paper medium.

電源管理部211は、CPU201、DRAM202、SATAインタフェース203、およびHDD204の通電状態を管理する。さらに、電源管理部211は、パネルインタフェース205、プリンタインタフェース206、スキャナインタフェース207、ネットワークインタフェース208、およびLANデバイス209、210の通電状態を管理する。このため、電源管理部211は、各ブロックに対する通電を制御するための配電経路を介して、各ブロックに接続されている。また、電源管理部211は、通電状態の管理のために電源部105を制御する。   The power management unit 211 manages the energization states of the CPU 201, DRAM 202, SATA interface 203, and HDD 204. Furthermore, the power management unit 211 manages the energization states of the panel interface 205, the printer interface 206, the scanner interface 207, the network interface 208, and the LAN devices 209 and 210. Therefore, the power management unit 211 is connected to each block via a power distribution path for controlling energization to each block. Further, the power management unit 211 controls the power supply unit 105 to manage the energized state.

図3は、MFP100のコントローラ部101が実行するソフトウェア(プログラム)301の構造を表すブロック図である。ソフトウェア301は、コントローラ部101のソフトウェア構造のうち、本実施形態の説明に必要な部分を抜粋したソフトウェアを示す。ソフトウェア301は、TCP/IP制御部302、サーバ処理部303、ファイルシステム304、印刷処理部305、電源制御部306、および設定管理部307を有する。   FIG. 3 is a block diagram showing a structure of software (program) 301 executed by controller unit 101 of MFP 100. Software 301 is software extracted from the software structure of the controller unit 101 that is necessary for the description of the present embodiment. The software 301 includes a TCP / IP control unit 302, a server processing unit 303, a file system 304, a print processing unit 305, a power control unit 306, and a setting management unit 307.

TCP/IP制御部302は、ネットワークインタフェース208がLANデバイス209および210を通じて送受信する通信データを制御し、TCP/IPのプロトコルスタックの役割を担う。TCP/IP制御部302は、LAN140およびLAN150を介してクライアントPC120および130と通信するデータをLANデバイス209おおび210のいずれに対して処理するか制御する役割も含んでいる。   The TCP / IP control unit 302 controls communication data transmitted and received by the network interface 208 through the LAN devices 209 and 210, and plays a role of a TCP / IP protocol stack. The TCP / IP control unit 302 includes a role of controlling which of the LAN devices 209 and 210 processes data communicated with the client PCs 120 and 130 via the LAN 140 and the LAN 150.

サーバ処理部303は、クライアントPC120または130との間で特定のネットワーク通信プロトコルを使用して通信セッションを管理する。具体的な通信プロトコルの例としては、LPD、IPP、RAWのような印刷処理を行うものや、SMB、FTP、WebDAV(HTTP)のようなファイル操作を行うようなものがあげられる。サーバ処理部303は、TCP/IP制御部302を介してクライアントPC120または130からの各種要求を受け付け、要求毎の処理を各ソフトウェアブロックと連携して行い、処理結果を応答する。   The server processing unit 303 manages a communication session with the client PC 120 or 130 using a specific network communication protocol. Specific examples of communication protocols include those that perform print processing such as LPD, IPP, and RAW, and those that perform file operations such as SMB, FTP, and WebDAV (HTTP). The server processing unit 303 accepts various requests from the client PC 120 or 130 via the TCP / IP control unit 302, performs processing for each request in cooperation with each software block, and returns a processing result.

ファイルシステム304は、SATAインタフェース203を通じてHDD204に対して印刷データや、クライアントPC120または130から受信したファイルを格納するためにファイルのオープン/クローズ処理や書き込み処理を行う。また、ファイルシステム304は、HDD204に格納している印刷データやファイルを読み出す処理を行う。ファイルシステム304は、ファイルのオープン/クローズ/書き込み/読み込み処理を自発的に行うことはせず、サーバ処理部303や印刷処理部305のファイルアクセスの指示を受けることによって動作する。   The file system 304 performs file open / close processing and write processing in order to store print data and files received from the client PC 120 or 130 in the HDD 204 through the SATA interface 203. The file system 304 performs processing for reading print data and files stored in the HDD 204. The file system 304 does not spontaneously open / close / write / read files, but operates by receiving file access instructions from the server processing unit 303 and the print processing unit 305.

印刷処理部305は、プリンタインタフェース206を介して、紙媒体に画像を印刷し出力する。また、印刷処理部305は、スキャナインタフェース207を介して、スキャナ部104に設置された原稿を読み込む。例えば、コピー機能を実行する場合、印刷処理部305は、パネルインタフェース205を介して操作部102からコピー機能の開始要求を受信する。すると、印刷処理部305は、スキャナ部104に設置されている原稿をスキャナインタフェース207を介して読み取り、スキャン画像を取得する。次に、印刷処理部305は、読み取ったスキャン画像を印刷に適した形式に変換し、プリンタインタフェース206を介してプリンタ部103へスキャン画像を出力する。   A print processing unit 305 prints and outputs an image on a paper medium via the printer interface 206. Also, the print processing unit 305 reads a document placed on the scanner unit 104 via the scanner interface 207. For example, when executing the copy function, the print processing unit 305 receives a copy function start request from the operation unit 102 via the panel interface 205. Then, the print processing unit 305 reads a document placed on the scanner unit 104 via the scanner interface 207 and acquires a scanned image. Next, the print processing unit 305 converts the read scanned image into a format suitable for printing, and outputs the scanned image to the printer unit 103 via the printer interface 206.

電源制御部306は、MFP100の省電力モード(スリープモード)と通常モード(通常運用モード)を管理する。電源制御部306は、MFP100内の特定の条件において省電力を目的として使用電力を低減させるスリープモードに遷移させたり、特定の条件とは異なる条件においてMFP100をスリープモードから通常運用モードへ遷移させたりする。電源制御部306がスリープモードに遷移させる条件の例として、MFP100がアイドル状態としてコピー、印刷、スキャン、操作部からの指示を受け付けない状態が一定時間継続した場合があげられる。特に、印刷指示を受け付けない状態というのは、クライアントPC120または130からMFP100に対してLAN140または150を経由した印刷要求が行われていないことを意味する。また、一定時間経過後に、電源制御部306は、印刷処理部305やサーバ処理部303にスリープモードへの遷移可否を問い合わせする。印刷処理部305やサーバ処理部303は、この問い合わせに対して各処理部にてアイドル状態、もしくは処理を中断しても問題ない状態か否かを判断し、処理部毎のスリープモードへの遷移可否を電源制御部306に応答する。電源制御部306は、この応答を基に、スリープモードへの遷移可否を判断し、可能であればスリープモードに遷移するように電源管理部211を制御する。   The power control unit 306 manages the power saving mode (sleep mode) and the normal mode (normal operation mode) of the MFP 100. The power supply control unit 306 shifts to a sleep mode for reducing power consumption for the purpose of power saving under a specific condition in the MFP 100, or changes the MFP 100 from a sleep mode to a normal operation mode under a condition different from the specific condition. To do. As an example of a condition for causing the power supply control unit 306 to transition to the sleep mode, there is a case where the MFP 100 is in an idle state and a state in which an instruction from the copy, print, scan, or operation unit is not accepted continues for a certain time. In particular, a state in which a print instruction is not accepted means that a print request from the client PC 120 or 130 to the MFP 100 via the LAN 140 or 150 is not made. Further, after a predetermined time has elapsed, the power control unit 306 inquires of the print processing unit 305 and the server processing unit 303 whether or not the mode can be changed to the sleep mode. In response to this inquiry, the print processing unit 305 and the server processing unit 303 determine whether each processing unit is in an idle state or a state where there is no problem even if the processing is interrupted, and transition to the sleep mode for each processing unit. The power supply control unit 306 is responded to enable / disable. Based on this response, the power control unit 306 determines whether or not it is possible to transition to the sleep mode, and if possible, controls the power management unit 211 to transition to the sleep mode.

逆のパターンとして、電源制御部306がスリープモードから通常運用モードへ遷移させる条件の例として、MFP100に対して操作部102からコピー、スキャン等を目的とした何らかの指示入力があった場合があげられる。また、クライアントPC120または130からMFP100に対してLAN140または150を経由して印刷要求が行われるケースにおいても、電源制御部306がスリープモードから通常運用モードへ遷移させる。また、クライアントPC120または130からMFP100に対してオープン/クローズ/書き込み/読み込み等のファイル操作要求が行われるケースにおいても、電源制御部306は、スリープモードから通常運用モードへ遷移させる。   As an example of a reverse pattern, an example of a condition for causing the power supply control unit 306 to transition from the sleep mode to the normal operation mode is a case where an instruction input from the operation unit 102 to the MFP 100 for the purpose of copying, scanning, etc. . Even in the case where a print request is made from the client PC 120 or 130 to the MFP 100 via the LAN 140 or 150, the power control unit 306 shifts from the sleep mode to the normal operation mode. Further, even when a file operation request such as open / close / write / read is made from the client PC 120 or 130 to the MFP 100, the power control unit 306 shifts from the sleep mode to the normal operation mode.

MFP100がスリープモード中にクライアントPC120または130から印刷要求が行われたことを検知するためには、少なくともLANデバイス209や210に対して電源管理部211からスリープモード中であっても通電されていることが前提となる。例えば、クライアントPC120の印刷要求であれば、LANデバイス210が通電している必要があり、クライアントPC130の印刷要求であれば、LANデバイス209が通電している必要がある。LANデバイス209または210の通電のみが必要であり、LANデバイス209および210以外の通電が不要である場合、それ以外のブロックへの通電は不要である。   In order to detect that a print request is made from the client PC 120 or 130 while the MFP 100 is in the sleep mode, power is supplied to at least the LAN devices 209 and 210 even from the power management unit 211 in the sleep mode. This is a prerequisite. For example, if it is a print request of the client PC 120, the LAN device 210 needs to be energized, and if it is a print request of the client PC 130, the LAN device 209 needs to be energized. When energization of only the LAN device 209 or 210 is necessary, and energization other than the LAN devices 209 and 210 is not necessary, energization of other blocks is not necessary.

電源制御部306は、通常運用モードからスリープモードへの遷移時に、例えば操作部102、プリンタ部103、スキャナ部104、CPU201、DRAM202、HDD204に対しては通電を中断するように電源管理部211に指示を行う。LANデバイス209または210を介してスリープモードから通常運用モードへの遷移以外のケースを想定する必要がある。また、ハードウェアの構成によっては、スリープモードであっても、必要に応じてCPU201およびDRAM202を含めた関連ブロックへの通電が必要となる。CPU201やDRAM202への通電が中断することは、コントローラ部101へのほとんどの通電が中断することと同義であり、これによってソフトウェア301が処理を中断することになる。ただし、電源制御部306は、スリープモード中であっても、クライアントPC120および130からの要求を受信するために必要なLANデバイス209および210に対して、通電を継続させるために、電源管理部211に指示を行う。   When the power control unit 306 transitions from the normal operation mode to the sleep mode, for example, the power management unit 211 suspends energization of the operation unit 102, the printer unit 103, the scanner unit 104, the CPU 201, the DRAM 202, and the HDD 204. Give instructions. It is necessary to assume a case other than the transition from the sleep mode to the normal operation mode via the LAN device 209 or 210. Further, depending on the hardware configuration, even in the sleep mode, it is necessary to energize related blocks including the CPU 201 and the DRAM 202 as necessary. Interruption of energization to the CPU 201 and the DRAM 202 is synonymous with interruption of most energization to the controller unit 101, thereby causing the software 301 to interrupt the processing. However, the power supply control unit 306 is configured to continue energization of the LAN devices 209 and 210 necessary for receiving requests from the client PCs 120 and 130 even in the sleep mode. To give instructions.

実際に要求がクライアントPC120または130から送られた場合、LANデバイス209または210が何の要求かを判断する。この要求が印刷要求やファイル操作要求であれば、LANデバイス209または210は、電源管理部211に対して通電の復帰を指示する。電源管理部211は、その指示された内容を電源制御部306に通知し、CPU201、DRAM202、HDD204への通電を開始し、スリープモードから通常運用モードへ復帰する。また、電源管理部211は、スリープモードからの復帰目的が印刷要求であれば、それに加えてプリンタ部103への通電を開始する等の制御を行う。通電開始後は、ソフトウェア301の動作が再開される。この時に、LANデバイス209および210は、クライアントPC120および130からの要求を、ネットワークインタフェース208を通じてTCP/IP制御部302へ受け渡す。これによって、MFP100は、要求を受信すると、スリープモードから通常運用モードへの遷移を行いつつ、要求を処理することが可能である。   When the request is actually sent from the client PC 120 or 130, the LAN device 209 or 210 determines what the request is. If this request is a print request or a file operation request, the LAN device 209 or 210 instructs the power management unit 211 to return to energization. The power management unit 211 notifies the power control unit 306 of the instructed content, starts energizing the CPU 201, the DRAM 202, and the HDD 204, and returns from the sleep mode to the normal operation mode. In addition, when the purpose of returning from the sleep mode is a print request, the power management unit 211 performs control such as starting energization of the printer unit 103 in addition thereto. After the start of energization, the operation of the software 301 is resumed. At this time, the LAN devices 209 and 210 pass requests from the client PCs 120 and 130 to the TCP / IP control unit 302 through the network interface 208. Thus, when the MFP 100 receives the request, it can process the request while making a transition from the sleep mode to the normal operation mode.

このようなスリープモードから通常運用モードへの遷移は、上記のように、スリープモード中でもLANデバイス209および210への通電が継続されていることが前提である。MFP100の構成や省電力仕様によっては、スリープモードへ遷移した際に少なくとも一方のLANデバイスの通電を中断するケースもあり得る。例えば、スリープモード中の電力使用を更に削減する目的で、スリープモード中は、LANデバイス210への通電を中断させ、クライアントPC120からの要求は受け付けないようにするケースがあり得る。また、LANデバイス209および210の仕様によっては、スリープモード中に印刷要求やファイル操作要求を受信した時に、上記の電源管理部211への通電の復帰を指示することを行わないものも存在する。これらのようなケースにおいて、MFP100がクライアントPC120からの各種要求を受け付けるためには、MFP100に対して操作部102から何らかの指示入力が行われる必要がある。それに伴って、電源管理部211からLANデバイス210への通電が再開され、LANデバイス210がクライアントPC120からの各種要求を再び受け付けられるようになる。   As described above, the transition from the sleep mode to the normal operation mode is based on the premise that energization of the LAN devices 209 and 210 is continued even in the sleep mode. Depending on the configuration of the MFP 100 and the power saving specifications, energization of at least one of the LAN devices may be interrupted when transitioning to the sleep mode. For example, for the purpose of further reducing the power usage during the sleep mode, there may be a case where the energization to the LAN device 210 is interrupted and the request from the client PC 120 is not accepted during the sleep mode. In addition, depending on the specifications of the LAN devices 209 and 210, there are those that do not instruct the power management unit 211 to return to energization when a print request or file operation request is received during the sleep mode. In such cases, in order for the MFP 100 to accept various requests from the client PC 120, it is necessary to input some instruction to the MFP 100 from the operation unit 102. Accordingly, energization from the power management unit 211 to the LAN device 210 is resumed, and the LAN device 210 can accept various requests from the client PC 120 again.

本実施形態では、これ以降の説明として、LANデバイス210は、スリープモード遷移時に電源管理部211から通電を中断され、クライアントPC120からの各種要求を受け付けられないことを想定する。MFP100は、スリープモードに関して、スリープモード遷移そのものの可否や、スリープモード中の電力使用の更なる削減、反対にスリープモード中でもクライアントPC120または130からの接続を優先させるような設定を行うことができる。設定管理部307は、それらの設定を保持する。電源制御部306は、スリープモードに遷移するか否かを決定する際には、予め設定管理部307からスリープモードに関連する各種設定を取得し、その設定に従って動作する。   In the present embodiment, as an explanation from this point onward, it is assumed that the LAN device 210 is not energized from the power management unit 211 when transitioning to the sleep mode and cannot accept various requests from the client PC 120. Regarding the sleep mode, the MFP 100 can perform settings such as whether or not the sleep mode transition itself is possible, further reduction of power usage during the sleep mode, and conversely, priority is given to connection from the client PC 120 or 130 even during the sleep mode. The setting management unit 307 holds these settings. When determining whether or not to transition to the sleep mode, the power control unit 306 acquires various settings related to the sleep mode from the setting management unit 307 in advance, and operates according to the settings.

上記のように、LANデバイス210がスリープモード遷移後にクライアントPC120からの各種要求を受け付けられないケースの場合、クライアントPC120側からすると利便性だけでなく、利用者の資産が損なわれる可能性があり得る。利便性という意味では、一旦、MFP100がスリープモードに遷移すると、クライアントPC120から印刷要求ができなくなる。その他の通信においても、MFP100との間の通信応答性能を向上させる目的で一度接続した通信セッションを維持しておきたいケースがあり得るが、これもセッションエラーとなって、MFP100が復帰後に再接続する必要が出てくるため不便である。   As described above, in the case where the LAN device 210 cannot accept various requests from the client PC 120 after transition to the sleep mode, not only the convenience from the client PC 120 side but also the assets of the user may be impaired. . In terms of convenience, once the MFP 100 transitions to the sleep mode, it becomes impossible to make a print request from the client PC 120. In other communications, there may be a case where it is desired to maintain a communication session once connected for the purpose of improving the communication response performance with the MFP 100. However, this also results in a session error, and the MFP 100 reconnects after returning. It is inconvenient because you need to do it.

利用者の資産が損なわれる可能性については、MFP100内のHDD204に格納しているファイルが壊れるケースがあり得る。特に、SMBのようなネットワーク間でファイルアクセスを行うプロトコルの場合、ファイルを読み出し/書き込みするケースはもちろん、クライアントPC120の利用者が意識しないあらゆるタイミングでファイルに対して頻繁にオープン要求が行われている。MFP100がスリープモードに遷移すると、LANデバイス210の通電が中断され、さらにファイルがオープンされたまま格納しているHDD204の通電も中断される。一般に、ファイルをオープンしたままHDD204の通電が切れたりすると、ファイルが破壊されることがあり得る。クライアントPC120は、一度対象のファイルをオープンすると、それをクローズするのもクライアントPC120で行うため、MFP100はクライアントPC120からいつクローズ要求を受信するかは不明である。このため、ファイルオープン中に、MFP100は、設定等に従ってスリープモードに遷移すると、ファイルが壊れてしまい、利用者の資産を損なう可能性がある。   As for the possibility of damage to the user's assets, there may be a case where a file stored in the HDD 204 in the MFP 100 is damaged. In particular, in the case of a protocol that performs file access between networks such as SMB, not only the case of reading / writing a file, but also the open request is frequently made to the file at any timing that the user of the client PC 120 is not aware of. Yes. When the MFP 100 shifts to the sleep mode, the energization of the LAN device 210 is interrupted, and further, the energization of the HDD 204 that stores the file in an open state is also interrupted. In general, if the HDD 204 is de-energized while the file is open, the file may be destroyed. Once the client PC 120 opens the target file, the client PC 120 also closes the file, so it is unknown when the MFP 100 receives the close request from the client PC 120. For this reason, if the MFP 100 shifts to the sleep mode according to the setting or the like while the file is being opened, the file may be broken and the assets of the user may be damaged.

図4は、図3のサーバ処理部303が保持する接続状態管理テーブル400を示す図である。以下、図3で説明した利便性や利用者の資産を守るための実施形態について説明する。接続状態管理テーブル400は、MFP100が通常運用モード時において、サーバ処理部303がクライアントPC120または130からの接続情報を管理するテーブルである。サーバ処理部303は、複数のLANデバイス209および210により複数のLAN140および150からの通信をそれぞれ検知する。そして、サーバ処理部303は、複数のLANデバイス209および210のうちの通信が検知されたLANデバイスの通信の状態403を含む接続状態管理テーブル400を保持する。   FIG. 4 is a diagram showing a connection state management table 400 held by the server processing unit 303 in FIG. Hereinafter, an embodiment for protecting the convenience described in FIG. 3 and the assets of the user will be described. The connection state management table 400 is a table in which the server processing unit 303 manages connection information from the client PC 120 or 130 when the MFP 100 is in the normal operation mode. The server processing unit 303 detects communications from the plurality of LANs 140 and 150 by the plurality of LAN devices 209 and 210, respectively. Then, the server processing unit 303 holds a connection state management table 400 including a communication state 403 of the LAN device in which communication among the plurality of LAN devices 209 and 210 is detected.

IF401は、クライアントPC120または130から受信する各種要求が、LANデバイス209および210のどちら側を通して受信したものかを示している。例えば、IF1はLANデバイス209の識別子であり、IF2はLANデバイス210の識別子である。接続元402は、クライアントPC120または130のようなMFP100の接続元端末のIPアドレスを示している。   The IF 401 indicates through which side of the LAN devices 209 and 210 various requests received from the client PC 120 or 130 are received. For example, IF1 is an identifier of the LAN device 209, and IF2 is an identifier of the LAN device 210. The connection source 402 indicates the IP address of the connection source terminal of the MFP 100 such as the client PC 120 or 130.

状態403は、クライアントPC120または130がMFP100に対して要求している要求種別や接続しているセッションの状態を示している。例えば、図4にて、状態403の「接続中」は、通信セッションを維持したまま何も要求されていない状態を示す。例えば、上記のように、クライアントPC120、130は、MFP100との通信応答性能を向上させる目的で、一度接続した通信セッションを維持しておきたいようなケースがあり得る。状態403の「ファイル操作中」は、クライアントPC120または130がMFP100内のHDD204に対してファイルの読み出し/書き込みを含む何らかの目的でファイルをオープンしている状態を示す。   A status 403 indicates the request type requested by the client PC 120 or 130 to the MFP 100 and the status of the connected session. For example, in FIG. 4, “connected” in the state 403 indicates a state where nothing is requested while the communication session is maintained. For example, as described above, there may be a case where the client PCs 120 and 130 want to maintain a communication session once connected for the purpose of improving communication response performance with the MFP 100. “File in operation” in the state 403 indicates a state in which the client PC 120 or 130 opens a file for some purpose including reading / writing of the file to the HDD 204 in the MFP 100.

状態更新日時404は、状態403の要求種別やセッション状態が新しく更新された日時を示す。サーバ処理部303は、クライアントPC120または130から受信した各種要求に対して要求内容が変更する度に状態更新日時404を変更する。サーバ処理部303は、PC120または130から受信した各種要求に応答した後、状態403を一旦「接続中」に変更し、かつ状態更新日時404も更新した上で、クライアントPC120および130から次の要求を待ち受ける。サーバ処理部303は、新たな要求を受信した場合には、その種別に従って、状態403と状態更新日時404を更新する。   The status update date and time 404 indicates the date and time when the request type and session status of the status 403 are newly updated. The server processing unit 303 changes the status update date and time 404 each time the request content changes for various requests received from the client PC 120 or 130. After responding to various requests received from the PC 120 or 130, the server processing unit 303 changes the state 403 to “connected” and also updates the state update date and time 404, and then requests the next request from the client PCs 120 and 130. Await. When the server processing unit 303 receives a new request, the server processing unit 303 updates the state 403 and the state update date 404 according to the type.

クライアントPC120からLANデバイス210の送信により、状態403が「接続中」または「ファイル操作中」になっている場合、MFP100がスリープモードへ遷移すると、利用者の利便性や資産が損なわれる可能性がある。サーバ処理部303は、接続状態管理テーブル400を保持する。それによって、サーバ処理部303は、クライアントPC120、130がMFP100に対し、どのLANデバイスを通じて、どのような要求/セッション状態を作り出し、その状態をどの程度の時間維持しているのかを管理する。コントローラ部101は、接続状態管理テーブル400を基に、MFP100のスリープモード遷移の制御を行う。   If the state 403 is “connected” or “file operation in progress” due to the transmission of the LAN device 210 from the client PC 120, the convenience and assets of the user may be impaired when the MFP 100 transitions to the sleep mode. is there. The server processing unit 303 holds a connection state management table 400. Accordingly, the server processing unit 303 manages what request / session state the client PCs 120 and 130 create with respect to the MFP 100 via which LAN device and how long the state is maintained. Controller unit 101 controls sleep mode transition of MFP 100 based on connection state management table 400.

図5は、MFP100の制御方法を示すフローチャートであり、接続状態管理テーブル400を基にスリープモードに遷移する際の処理を示す。ステップS501では、電源制御部306は、通常運用モードからスリープモードへの遷移条件を満たした場合、サーバ処理部303および印刷処理部305に対して、スリープモードへの遷移(移行)の可否を問い合わせるための通知を送る。   FIG. 5 is a flowchart showing a control method of the MFP 100, and shows processing when transitioning to the sleep mode based on the connection state management table 400. In step S501, the power supply control unit 306 inquires of the server processing unit 303 and the print processing unit 305 whether or not the transition (transition) to the sleep mode is allowed when the condition for transition from the normal operation mode to the sleep mode is satisfied. Send notifications for.

次に、ステップS502では、サーバ処理部303は、接続状態管理テーブル400を参照し、クライアントPC120または130からの接続が存在するか否かを判定する。具体的には、サーバ処理部303は、LANデバイス209がクライアントPC130の通信を検知した場合には、クライアントPC130からの接続が存在すると判定する。また、サーバ処理部303は、LANデバイス210がクライアントPC120の通信を検知した場合には、クライアントPC120からの接続が存在すると判定する。ステップS502において、サーバ処理部303は、クライアントPC120および103からの接続が存在しない場合には、ステップS505に進む。ステップS505では、サーバ処理部303は、電源制御部306に対して、スリープモードへの遷移が可能であることの応答(決定)を行い、ステップS506に進む。   Next, in step S502, the server processing unit 303 refers to the connection state management table 400 and determines whether or not there is a connection from the client PC 120 or 130. Specifically, the server processing unit 303 determines that there is a connection from the client PC 130 when the LAN device 209 detects communication of the client PC 130. Further, when the LAN device 210 detects the communication of the client PC 120, the server processing unit 303 determines that there is a connection from the client PC 120. In step S502, if there is no connection from the client PCs 120 and 103, the server processing unit 303 proceeds to step S505. In step S505, the server processing unit 303 makes a response (determination) to the power supply control unit 306 that the transition to the sleep mode is possible, and proceeds to step S506.

また、ステップS502において、サーバ処理部303は、クライアントPC120または130からの接続が存在する場合には、ステップS503に進む。ステップS503では、サーバ処理部303は、接続状態管理テーブル400のIF401を参照し、通信接続が、ネットワークアクセスであり、スリープモード中における要求で通常運用モードに遷移可能なLANデバイスのものであるか否かを判定する。例えば、電源管理部211は、スリープモードで、LANデバイス209に電源電圧を供給せず、LANデバイス210に電源電圧を供給する。LANデバイス210は、スリープモード中においてクライアントPC120からの要求で通常運用モードへの遷移が可能である。LANデバイス209は、スリープモード中においてクライアントPC130からの要求で通常運用モードへの遷移が可能でない。   In step S502, if there is a connection from the client PC 120 or 130, the server processing unit 303 proceeds to step S503. In step S503, the server processing unit 303 refers to the IF 401 of the connection state management table 400, and whether the communication connection is for a LAN device that is network access and can be switched to the normal operation mode by a request in the sleep mode. Determine whether or not. For example, the power management unit 211 supplies the power supply voltage to the LAN device 210 without supplying the power supply voltage to the LAN device 209 in the sleep mode. The LAN device 210 can transition to the normal operation mode in response to a request from the client PC 120 during the sleep mode. The LAN device 209 cannot transition to the normal operation mode in response to a request from the client PC 130 during the sleep mode.

ステップS503において、サーバ処理部303は、接続状態管理テーブル400のIF401にLANデバイス210の識別子が存在する場合には、検知された通信接続が、LANデバイス210による通信接続であるので、ステップS505に進む。ステップS505では、サーバ処理部303は、電源制御部306に対して、スリープモードへの遷移が可能であることの応答を行い、ステップS506に進む。   In step S503, if the identifier of the LAN device 210 exists in the IF 401 of the connection state management table 400, the server processing unit 303 determines that the detected communication connection is a communication connection by the LAN device 210. move on. In step S505, the server processing unit 303 makes a response to the power supply control unit 306 that the transition to the sleep mode is possible, and proceeds to step S506.

なお、スリープモードから通常運用モードへ遷移可能な設定についての例は、後述する図6で説明する。サーバ処理部303は、設定管理部307から関連する設定を取得して、ステップS503の判定を行うことができる。   An example of the setting that can be changed from the sleep mode to the normal operation mode will be described later with reference to FIG. The server processing unit 303 can acquire the relevant setting from the setting management unit 307 and perform the determination in step S503.

また、ステップS503において、サーバ処理部303は、接続状態管理テーブル400のIF401にLANデバイス210の識別子が存在しない場合には、検知された通信接続が、LANデバイス210による通信接続でないので、ステップS504に進む。この場合、検知された通信接続がLANデバイス209による通信接続であるので、サーバ処理部303は、ステップS504に進む。   In step S503, if the identifier of the LAN device 210 does not exist in the IF 401 of the connection state management table 400, the server processing unit 303 determines that the detected communication connection is not a communication connection by the LAN device 210. Proceed to In this case, since the detected communication connection is a communication connection by the LAN device 209, the server processing unit 303 proceeds to step S504.

ステップS504では、サーバ処理部303は、接続状態管理テーブル400の状態403を基に、LANデバイス209の通信接続がファイルオープン中の接続であるか否かを判定する。サーバ処理部303は、LANデバイス209がファイル操作の要求をクライアントPC130から受信した場合には、LANデバイス209による「ファイル操作中」の通信の状態403を保持する。ステップS504において、サーバ処理部303は、状態403がLANデバイス209の「ファイル操作中」である場合には、ファイルオープン中の接続であると判定する。この場合、スリープモードへ遷移すると、クライアントPC130がオープンしているファイルが壊れてしまう可能性がある。このため、サーバ処理部303は、電源制御部306に対し、スリープモードへの遷移が可能でないことの応答を行い、ステップS501に戻り、次回のスリープモード遷移可否通知を待つ。   In step S504, the server processing unit 303 determines whether the communication connection of the LAN device 209 is a file open connection based on the state 403 of the connection state management table 400. When the LAN device 209 receives a file operation request from the client PC 130, the server processing unit 303 holds a communication state 403 of “file operation in progress” by the LAN device 209. In step S <b> 504, when the status 403 is “file in operation” of the LAN device 209, the server processing unit 303 determines that the connection is a file open. In this case, when the mode is changed to the sleep mode, a file opened by the client PC 130 may be damaged. For this reason, the server processing unit 303 makes a response to the power supply control unit 306 that the transition to the sleep mode is not possible, returns to step S501, and waits for the next sleep mode transition availability notification.

また、ステップS504において、サーバ処理部303は、状態403がLANデバイス209のファイル操作中ではない「接続中」である場合には、ファイルオープンしていない接続であると判定し、ステップS505に進む。この場合、ステップS505では、サーバ処理部303は、設定管理部307が保持する、スリープモード中にクライアントPCからの接続を優先させるのか、省電力を優先させるかの設定状態を取得する。クライアントPCからの接続を優先させる設定状態の場合、サーバ処理部303は、電源制御部306に対し、スリープモードへの遷移が可能でないことの応答を行い、ステップS501に戻り、次回のスリープモード遷移可否通知を待つ。これにより、状態403が「接続中」である通信を省電力より優先させることができる。   In step S504, the server processing unit 303 determines that the connection has not been opened when the status 403 is “connecting” when the file operation of the LAN device 209 is not being performed, and the process proceeds to step S505. . In this case, in step S505, the server processing unit 303 acquires a setting state held by the setting management unit 307 to prioritize connection from the client PC or prioritize power saving during the sleep mode. In the setting state in which the connection from the client PC is prioritized, the server processing unit 303 responds to the power supply control unit 306 that the transition to the sleep mode is not possible, returns to step S501, and the next sleep mode transition Wait for notification of availability. As a result, it is possible to give priority to communication with the state 403 “connected” over power saving.

また、省電力を優先させる設定状態の場合、状態403が「接続中」であっても、サーバ処理部303は、電源制御部306に対し、スリープモードへの遷移が可能であることの応答を行い、ステップS506に進む。   Further, in the setting state in which power saving is prioritized, even if the state 403 is “connected”, the server processing unit 303 responds to the power control unit 306 that the transition to the sleep mode is possible. And go to step S506.

なお、ステップS505において、サーバ処理部303は、クライアントPCからの接続を優先させる設定であっても、接続時間に応じて、省電力を優先するような動作を行ってもよい。その場合、サーバ処理部303は、状態更新日時404とMFP100の現在時刻との差分を、状態403の「接続中」の継続時間として計算する。そして、サーバ処理部303は、接続中の継続時間が閾値より長い場合には、電源制御部306に対し、スリープモードへの遷移が可能であることの応答を行い、ステップS506に進む。また、サーバ処理部303は、接続中の継続時間が閾値より短い場合には、電源制御部306に対し、スリープモードへの遷移が可能でないことの応答を行い、ステップS501に戻る。ここで、状態403の「接続中」は、セッションのKeep−Alive状態と同義である。   Note that in step S505, the server processing unit 303 may perform an operation that prioritizes power saving according to the connection time, even if the setting is such that the connection from the client PC is prioritized. In that case, the server processing unit 303 calculates the difference between the state update date and time 404 and the current time of the MFP 100 as the duration of “connected” in the state 403. If the duration time during connection is longer than the threshold value, the server processing unit 303 sends a response to the power supply control unit 306 that the transition to the sleep mode is possible, and the process proceeds to step S506. If the duration of the connection is shorter than the threshold, the server processing unit 303 makes a response to the power supply control unit 306 that the transition to the sleep mode is not possible, and returns to step S501. Here, “connected” in the state 403 is synonymous with the Keep-Alive state of the session.

ステップS506では、スリープモード遷移可の応答を受けた電源制御部306は、印刷処理部305から受ける応答も含め、すべての応答がスリープモードへの遷移が可能である場合には、通常運用モードからスリープモードに遷移する。   In step S506, the power supply control unit 306 that has received the response indicating that the sleep mode can be changed includes the response received from the print processing unit 305. If all responses can be changed to the sleep mode, the power supply control unit 306 starts from the normal operation mode. Transition to sleep mode.

図6は、ステップS503におけるクライアントPC120からの要求で通常運用モードへ遷移可能な設定についての例を示す図である。設定601および602は、クライアントPC120からの要求で通常運用モードへ遷移可能とするか否かの設定である。設定601をオンに設定することによって、LANデバイス210は、省電力モード中に外部通信からの要求をトリガにMFP100を通常運用モードへ復帰させる。設定602をオフに設定することによって、LANデバイス210は、省電力モード中に外部通信からの要求を受けてもMFP100を通常運用モードに復帰させないようにする。MFP100が受信した要求をドロップするかサーバ処理部303の代理処理として応答するか否かについては別途専用の設定等で選択することができてもよい。   FIG. 6 is a diagram illustrating an example of settings that can be changed to the normal operation mode by a request from the client PC 120 in step S503. Settings 601 and 602 are settings for determining whether or not a transition from the client PC 120 to the normal operation mode is possible. By setting the setting 601 to ON, the LAN device 210 returns the MFP 100 to the normal operation mode triggered by a request from the external communication during the power saving mode. By setting the setting 602 to OFF, the LAN device 210 prevents the MFP 100 from returning to the normal operation mode even when a request from an external communication is received during the power saving mode. Whether to drop the request received by the MFP 100 or respond as a proxy process of the server processing unit 303 may be able to be selected by a dedicated setting or the like.

設定603、604、605は、設定601がオンの場合に設定可能であり、外部からの通信要求の種別毎に通常運用モードへの遷移を可能にするか否かの設定である。設定603は、MFP100に対してのユニキャスト要求の設定である。具体例としては、クライアントPC120が送る要求の通信パケットにおいて、宛先MACアドレスがMFP100のMACアドレスであり、印刷要求やファイルアクセス要求等がこれにあたる。LANデバイス210は、このパケットを受信すると、設定601および603に従って、MFP100を通常運用モードに復帰させるようにする。   Settings 603, 604, and 605 can be set when the setting 601 is on, and are settings for whether or not to enable transition to the normal operation mode for each type of communication request from the outside. A setting 603 is a setting for a unicast request to the MFP 100. As a specific example, in the communication packet of the request sent by the client PC 120, the destination MAC address is the MAC address of the MFP 100, and this is a print request, a file access request, or the like. When receiving this packet, the LAN device 210 causes the MFP 100 to return to the normal operation mode according to the settings 601 and 603.

設定604は、MFP100がクライアントPC120から受信するマルチキャスト探索要求の設定である。マルチキャスト探索要求は、クライアントPC120が送る通信パケットにおいて、クライアントPC120がMFP100を探索するために送る要求である。その要求は、WSD、SLP、mDNS等で使用するマルチキャスト通信等である。WSDは、Web Services for Devicesの略である。SLPは、Service Location Protocolの略である。mDNSは、Multicast Domain Name Systemの略である。LANデバイス210は、このパケットを受信すると、設定601および604に従って、MFP100を通常運用モードに復帰させるようにする。   A setting 604 is a setting for a multicast search request that the MFP 100 receives from the client PC 120. The multicast search request is a request that the client PC 120 sends to search for the MFP 100 in the communication packet sent by the client PC 120. The request is multicast communication or the like used in WSD, SLP, mDNS, or the like. WSD is an abbreviation for Web Services for Devices. SLP is an abbreviation for Service Location Protocol. mDNS is an abbreviation for Multicast Domain Name System. When receiving this packet, the LAN device 210 returns the MFP 100 to the normal operation mode according to the settings 601 and 604.

設定605は、MFP100がクライアントPC120から受信するブロードキャスト探索要求の設定である。ブロードキャスト探索要求は、クライアントPC120が送る通信パケットにおいて、クライアントPC120がMFP100を探索するために送る要求である。その要求は、SNMP(Simple Netowork Management Protocol)、NetBIOS等で使用するブロードキャスト通信等である。LANデバイス210は、このパケットを受信すると、設定601および605に従って、MFP100を通常運用モードに復帰させるようにする。   A setting 605 is a setting for a broadcast search request that the MFP 100 receives from the client PC 120. The broadcast search request is a request that the client PC 120 sends to search for the MFP 100 in a communication packet sent by the client PC 120. The request is broadcast communication used in SNMP (Simple Network Management Protocol), NetBIOS, or the like. Upon receiving this packet, the LAN device 210 causes the MFP 100 to return to the normal operation mode according to the settings 601 and 605.

以上のように、MFP100は、図5の処理によって、利用者の利便性や資産を損なう可能性低減しつつ、省電力状態の動作も並行して行うことが可能となる。   As described above, the MFP 100 can perform the operation in the power saving state in parallel while reducing the possibility of damaging the convenience and assets of the user by the processing of FIG.

(第2の実施形態)
図7は、本発明の第2の実施形態に係るMFP100の制御方法を示すフローチャートであり、接続状態管理テーブル400を基にスリープモードに遷移する際の処理を示す。図7は、図5に対し、ステップS701およびS702を追加したものである。以下、本実施形態が第1の実施形態と異なる点を説明する。まず、前提として、設定管理部307は、第1の実施形態の設定に加え、強制スリープモードの設定を保持する。
(Second Embodiment)
FIG. 7 is a flowchart showing a control method of the MFP 100 according to the second embodiment of the present invention, and shows processing when transitioning to the sleep mode based on the connection state management table 400. FIG. 7 is obtained by adding steps S701 and S702 to FIG. Hereinafter, the points of the present embodiment different from the first embodiment will be described. First, as a premise, the setting management unit 307 holds the setting of the forced sleep mode in addition to the setting of the first embodiment.

ステップS504では、サーバ処理部303は、通信接続がファイルオープン中の接続である場合には、ステップS701に進む。ステップS701では、サーバ処理部303は、設定管理部307から強制スリープモードの設定状態を取得し、強制スリープモードの設定状態がオンであるか否かを判定する。サーバ処理部303は、強制スリープモードの設定状態がオフである場合には、電源制御部306に対してスリープモードへの遷移が可能でないことの応答を行い、ステップS501に戻り、次回のスリープモード遷移可否通知を待つ。   In step S504, if the communication connection is a file open connection, the server processing unit 303 proceeds to step S701. In step S701, the server processing unit 303 acquires the setting state of the forced sleep mode from the setting management unit 307, and determines whether or not the setting state of the forced sleep mode is on. If the forced sleep mode setting state is off, the server processing unit 303 responds to the power supply control unit 306 that the transition to the sleep mode is not possible, returns to step S501, and returns to the next sleep mode. Wait for notification of possible transition.

また、サーバ処理部303は、強制スリープモードの設定状態がオンの場合には、省電力を優先させるように動作する。しかし、ファイルをオープンしたまま、スリープモードへ遷移し、クライアントPCとのセッションが切断され、かつHDD204の通電が中断してしまうと、ファイルが壊れる可能性がある。したがって、サーバ処理部303は、強制スリープモードの設定状態がオンの場合には、ステップS702に進む。   The server processing unit 303 operates to prioritize power saving when the forced sleep mode setting state is on. However, if the file is opened and the mode is changed to the sleep mode, the session with the client PC is disconnected, and energization of the HDD 204 is interrupted, the file may be damaged. Therefore, the server processing unit 303 proceeds to step S702 when the forced sleep mode setting state is on.

ステップS702では、サーバ処理部303は、クライアントPCからのファイルクローズ要求を待たずに、自発的にファイルシステム304に対して、ファイル操作中のファイルのクローズ処理を行い、ステップS505に進む。ステップS505では、サーバ処理部303は、電源制御部306に対して、スリープモードへの遷移が可能であることの応答を行い、ステップS506に進む。   In step S702, the server processing unit 303 voluntarily performs file close processing on the file system 304 for the file system 304 without waiting for a file close request from the client PC, and the process advances to step S505. In step S505, the server processing unit 303 makes a response to the power supply control unit 306 that the transition to the sleep mode is possible, and proceeds to step S506.

ステップS506では、スリープモード遷移可の応答を受けた電源制御部306は、印刷処理部305から受ける応答も含め、すべての応答がスリープモードへの遷移が可能である場合には、通常運用モードからスリープモードに遷移する。   In step S506, the power supply control unit 306 that has received the response indicating that the sleep mode can be changed includes the response received from the print processing unit 305. If all responses can be changed to the sleep mode, the power supply control unit 306 starts from the normal operation mode. Transition to sleep mode.

以上のように、本実施形態は、強制スリープモードの設定状態がオンである場合には、ファイルがオープンしていても、クライアントPCの代わりにファイルをクローズ処理した上で、強制的にスリープモードに移行し、省電力を優先させることができる。   As described above, when the forced sleep mode setting state is ON, the present embodiment forcibly puts the sleep mode on the file instead of the client PC even if the file is open. It is possible to give priority to power saving.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

201 CPU、202 DRAM、208 ネットワークインタフェース、209,210 LANデバイス 201 CPU, 202 DRAM, 208 network interface, 209, 210 LAN device

Claims (11)

複数のネットワークデバイスにより複数のネットワークからの通信をそれぞれ検知する検知手段と、
前記複数のネットワークデバイスのうちの通信が検知されたネットワークデバイスの通信の状態を保持する保持手段と、
通常モードから省電力モードへの遷移条件を満たした場合、前記保持手段が保持する前記検知されたネットワークデバイスの通信の状態に応じて、前記省電力モードへの遷移が可能であるか否かを決定する決定手段と
を有することを特徴とする情報処理装置。
Detection means for detecting communication from a plurality of networks by a plurality of network devices,
Holding means for holding a communication state of a network device in which communication among the plurality of network devices is detected;
If the transition condition from the normal mode to the power saving mode is satisfied, whether or not the transition to the power saving mode is possible according to the detected communication state of the network device held by the holding unit. An information processing apparatus comprising: a determining unit that determines.
前記複数のネットワークデバイスは、
前記省電力モードで電源電圧が供給される第1のネットワークデバイスと、
前記省電力モードで電源電圧が供給されない第2のネットワークデバイスとを有することを特徴とする請求項1に記載の情報処理装置。
The plurality of network devices are:
A first network device to which a power supply voltage is supplied in the power saving mode;
The information processing apparatus according to claim 1, further comprising: a second network device that is not supplied with a power supply voltage in the power saving mode.
前記保持手段は、前記第2のネットワークデバイスがファイル操作の要求を受信した場合には、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持し、
前記決定手段は、前記保持手段が、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持している場合には、前記省電力モードへの遷移が可能でないことを決定することを特徴とする請求項2に記載の情報処理装置。
When the second network device receives a file operation request, the holding unit holds a communication state during the file operation by the second network device;
The determining unit determines that the transition to the power saving mode is not possible when the holding unit holds a communication state during file operation by the second network device. The information processing apparatus according to claim 2.
前記保持手段は、前記第2のネットワークデバイスがファイル操作の要求を受信した場合には、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持し、
前記決定手段は、前記保持手段が、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持している場合には、前記ファイル操作中のファイルをクローズ処理し、前記省電力モードへの遷移が可能であることを決定することを特徴とする請求項2に記載の情報処理装置。
When the second network device receives a file operation request, the holding unit holds a communication state during the file operation by the second network device;
The determination unit closes the file being operated on when the holding unit holds a communication state during the file operation by the second network device, and enters the power saving mode. The information processing apparatus according to claim 2, wherein it is determined that transition is possible.
前記保持手段は、前記第2のネットワークデバイスがファイル操作の要求を受信した場合には、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持し、
前記決定手段は、前記保持手段が、前記第2のネットワークデバイスによるファイル操作中の通信の状態を保持している場合には、第1の設定状態では、前記省電力モードへの遷移が可能でないことを決定し、第2の設定状態では、前記ファイル操作中のファイルをクローズ処理し、前記省電力モードへの遷移が可能であることを決定することを特徴とする請求項2に記載の情報処理装置。
When the second network device receives a file operation request, the holding unit holds a communication state during the file operation by the second network device;
In the first setting state, the determination unit is not capable of transitioning to the power saving mode when the holding unit holds a communication state during file operation by the second network device. 3. The information according to claim 2, wherein in the second setting state, the file being processed is closed, and it is determined that the transition to the power saving mode is possible. Processing equipment.
前記決定手段は、前記保持手段が、前記第2のネットワークデバイスによるファイル操作中ではない接続中の通信の状態を保持している場合には、第3の設定状態では前記省電力モードへの遷移が可能でないことを決定し、第4の設定状態では前記省電力モードへの遷移が可能であることを決定することを特徴とする請求項2〜5のいずれか1項に記載の情報処理装置。   The determination unit is configured to transition to the power saving mode in a third setting state when the holding unit holds a communication state during connection that is not in a file operation by the second network device. 6. The information processing apparatus according to claim 2, wherein it is determined that the transition to the power saving mode is possible in the fourth setting state. . 前記決定手段は、前記保持手段が、前記第2のネットワークデバイスによるファイル操作中ではない接続中の通信の状態を保持している場合、前記接続中の継続時間が閾値より長い場合には前記省電力モードへの遷移が可能であることを決定し、前記接続中の継続時間が前記閾値より短い場合には前記省電力モードへの遷移が可能でないことを決定することを特徴とする請求項2〜6のいずれか1項に記載の情報処理装置。   The determining means is configured to save the saving if the holding means holds a state of communication during connection that is not in a file operation by the second network device, and the duration during connection is longer than a threshold. 3. It is determined that a transition to a power mode is possible, and it is determined that a transition to the power saving mode is not possible when the duration during the connection is shorter than the threshold. The information processing apparatus according to any one of? 前記決定手段は、前記保持手段が、前記第1のネットワークデバイスによる通信が検知されたことを保持している場合には、前記省電力モードへの遷移が可能であることを決定することを特徴とする請求項2〜7のいずれか1項に記載の情報処理装置。   The determining unit determines that the transition to the power saving mode is possible when the holding unit holds that the communication by the first network device is detected. The information processing apparatus according to any one of claims 2 to 7. 前記決定手段は、前記複数のネットワークデバイスが通信を検知していない場合には、前記省電力モードへの遷移が可能であることを決定することを特徴とする請求項2〜8のいずれか1項に記載の情報処理装置。   The said determination means determines that the transition to the said power saving mode is possible when the said some network device is not detecting communication, The any one of Claims 2-8 characterized by the above-mentioned. The information processing apparatus according to item. 複数のネットワークデバイスにより複数のネットワークからの通信をそれぞれ検知する検知ステップと、
保持手段により、前記複数のネットワークデバイスのうちの通信が検知されたネットワークデバイスの通信の状態を保持する保持ステップと、
通常モードから省電力モードへの遷移条件を満たした場合、前記保持手段が保持する前記検知されたネットワークデバイスの通信の状態に応じて、前記省電力モードへの遷移が可能であるか否かを決定する決定ステップと
を有することを特徴とする情報処理装置の制御方法。
A detection step of detecting communication from a plurality of networks by a plurality of network devices;
A holding step of holding a communication state of the network device in which communication among the plurality of network devices is detected by holding means;
If the transition condition from the normal mode to the power saving mode is satisfied, whether or not the transition to the power saving mode is possible according to the detected communication state of the network device held by the holding unit. An information processing apparatus control method comprising: a determining step for determining.
コンピュータを、請求項1〜9のいずれか1項に記載された情報処理装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the information processing apparatus as described in any one of Claims 1-9.
JP2018047725A 2018-03-15 2018-03-15 Information processing device, method for controlling information processing device and program Pending JP2019161531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018047725A JP2019161531A (en) 2018-03-15 2018-03-15 Information processing device, method for controlling information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018047725A JP2019161531A (en) 2018-03-15 2018-03-15 Information processing device, method for controlling information processing device and program

Publications (1)

Publication Number Publication Date
JP2019161531A true JP2019161531A (en) 2019-09-19

Family

ID=67995209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018047725A Pending JP2019161531A (en) 2018-03-15 2018-03-15 Information processing device, method for controlling information processing device and program

Country Status (1)

Country Link
JP (1) JP2019161531A (en)

Similar Documents

Publication Publication Date Title
US9641713B2 (en) Apparatus and method for deactivating power-saving mode, relay device, and computer-readable storage medium for computer program
JP4827802B2 (en) Power control device
JP5132388B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US8610914B2 (en) Communication apparatus, communication method, computer readable medium and image forming apparatus
JP5704904B2 (en) DATA PROCESSING DEVICE, DATA PROCESSING DEVICE CONTROL METHOD, AND PROGRAM
JP6873665B2 (en) Printing device, control method of printing device, and program
JP2018165055A (en) Printing device and method for controlling printing device
JP2014115771A (en) Printing system, print control device, control method of print control device, and program
US20150156364A1 (en) Print control apparatus, method for controlling print control apparatus, and storage medium
JP2011071760A (en) Information processing apparatus, job processing method thereof, and program
US9612645B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium for reducing power consumption in response to a transition
US7844694B2 (en) Communication system, relay apparatus, relay method and computer readable medium
JP5717398B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
JP5796593B2 (en) Monitoring system, monitoring target device, monitoring method, and program
JP2023016993A (en) Information processing device and information processing method
JP2014115774A (en) Printing system, print control device, control method of print control device, and program
JP2019161531A (en) Information processing device, method for controlling information processing device and program
JP2008284753A (en) Communication system, monitoring device and image forming apparatus
JP2015114878A (en) Communication device, communication control method, program, and storage medium
JP2010093609A (en) Digital composite machine
JP2016201077A (en) Information processing unit, control method thereof, and program
JP6312528B2 (en) Information processing apparatus and method for changing power state thereof
JP5562388B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5774163B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2024059242A (en) Communication control device, control method for communication control device, and program