JP6033383B2 - Information processing apparatus, control method thereof, and control program - Google Patents
Information processing apparatus, control method thereof, and control program Download PDFInfo
- Publication number
- JP6033383B2 JP6033383B2 JP2015197526A JP2015197526A JP6033383B2 JP 6033383 B2 JP6033383 B2 JP 6033383B2 JP 2015197526 A JP2015197526 A JP 2015197526A JP 2015197526 A JP2015197526 A JP 2015197526A JP 6033383 B2 JP6033383 B2 JP 6033383B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- information processing
- processing apparatus
- main controller
- power saving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、情報処理装置、その制御方法、および制御プログラムに関し、外部機器から受信した情報に対する応答処理に関する。 The present invention relates to an information processing apparatus, a control method thereof , and a control program , and relates to a response process for information received from an external device.
情報処理装置において、省電力モードを有するものが知られている。このような情報処理装置として、例えば、情報処理装置がメインCPUとサブCPUとを有し、省電力モードではメインCPUに対する電力の供給を通常よりも低減(又は遮断)した状態にする。そして、省電力モードにおいて、ネットワークに対する応答を行う際、メインCPUに対する電力の供給を通常状態に戻すことなく、サブCPUによってネットワーク応答を実行する(例えば、特許文献1参照)。 An information processing apparatus having a power saving mode is known. As such an information processing apparatus, for example, the information processing apparatus has a main CPU and a sub CPU, and in the power saving mode, the power supply to the main CPU is reduced (or cut off) than usual. In response to the network in the power saving mode, the network response is executed by the sub CPU without returning the power supply to the main CPU to the normal state (see, for example, Patent Document 1).
特許文献1においては、省電力モードの際には、サブCPUに対するクロックの供給量を最小限にしており、このような状態では、ネットワークを介して受信するパケットの全てに対して応答することは困難である。
In
このため、特許文献1では、サブCPUにおいて対応できないパケットを、ネットワークを介して受信すると、メインCPUを省電力モードから通常状態(通常電力モード)に復帰させて、その後、メインCPUによってネットワークを介して受信したパケットに対する応答を行っている。
For this reason, in
他の例として、情報処理装置がメインCPUとメモリを有し、省電力モードではメインCPUに対する電力の供給を通常よりも低減(又は遮断)した状態にする(例えば特許文献2)。 As another example, the information processing apparatus includes a main CPU and a memory, and in the power saving mode, the power supply to the main CPU is reduced (or cut off) than usual (for example, Patent Document 2).
ところが、一般に、省電力モードが解除された後、通常電力モードが立ち上がるまでに要する時間は長い。省電力モードを解除して、メインCPUに対して電力の供給を開始しても、メインCPUが完全に機能するまでには若干の空白時間がある。言い換えると、メインCPUが省電力モードから通常状態に完全に復帰するまでには空白時間が存在する。 However, generally, after the power saving mode is canceled, it takes a long time to start the normal power mode. Even if the power saving mode is canceled and the supply of power to the main CPU is started, there is a slight blank time until the main CPU fully functions. In other words, there is a blank time before the main CPU completely returns from the power saving mode to the normal state.
そして、当該空白時間の間にネットワークを介してパケットが情報処理装置に送られると、当該パケットを取りこぼしてしまう事態が発生する。 If a packet is sent to the information processing apparatus via the network during the blank time, a situation in which the packet is missed occurs.
このような問題に対処するため、特許文献2では、メインCPUが通常電力モードに移行するまでの間、ネットワークを介して受信したパケットをメモリに格納する。これによって、省電力モードから通常電力モードへの復帰中におけるパケットの取りこぼしを防止するようにしている。
In order to deal with such a problem, in
しかしながら、特許文献2に記載の手法においては、メインCPUが完全に機能するまでの空白時間の間において、情報処理装置はネットワークを介して受信したバケットに対する応答ができない。
However, in the method described in
一方、メインCPUとサブCPUを有する情報処理装置において、メインCPUが完全に機能するまでの間、サブCPUがパケットに対する応答をした場合、サブCPUによって応答可能なパケットについては応答処理がなされるものの、サブCPUによって応答できないパケットについては応答処理がなされない。 On the other hand, in an information processing apparatus having a main CPU and a sub CPU, when the sub CPU responds to a packet until the main CPU fully functions, a response process is performed for a packet that can be responded by the sub CPU. Response processing is not performed for packets that cannot be responded by the sub CPU.
従って、本発明の目的は、メインCPUが完全に機能するまでの空白時間の間においても、ネットワークを介して受信したバケットに対して応答可能な情報処理装置その制御方法、および制御プログラムを提供することにある。 Accordingly, an object of the present invention is to provide an information processing apparatus capable of responding to a bucket received via a network and a control program thereof , even during a blank time until the main CPU is fully functioning. There is.
上記の目的を達成するため、本発明による情報処理装置は、メインコントローラと、前記情報処理装置が省電力モードで動作する場合に、前記メインコントローラの代わりに受信パケットに対して応答するLANインタフェースとを備え、前記LANインタフェースは、パケットを受信する受信手段と、前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信手段が受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知手段と、前記通知手段が前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信手段が新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定手段と、前記新たなパケットに対して応答可能であると前記判定手段によって判定された場合に、前記新たなパケットに対して応答パケットを送信する応答手段とを備えることを特徴とする。 In order to achieve the above object, an information processing apparatus according to the present invention includes a main controller and a LAN interface that responds to a received packet instead of the main controller when the information processing apparatus operates in a power saving mode. The LAN interface includes: a receiving unit that receives a packet; and when the receiving unit receives a return factor packet that causes the information processing device to return from the power saving mode. Notification means for notifying the main controller of a return instruction for returning from the power saving mode, and until the information processing apparatus returns from the power saving mode after the notification means notifies the main controller of the return instruction. If the receiving means receives a new packet during this period, the new packet Transmission determining means for determining whether it is possible to respond, if it is determined by said determining means that it is possible to respond to the new packet, a response packet to the new packet to Response means .
本発明による制御方法は、メインコントローラと、省電力モードで動作する場合に、前記メインコントローラの代わりに受信パケットに対して応答するLANインタフェースとを備える情報処理装置の制御方法であって、前記LANインタフェースが、パケットを受信する受信ステップと、前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信ステップで受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知ステップと、前記通知ステップによって前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信ステップで新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定ステップと、前記新たなパケットに対して応答可能であると前記判定ステップで判定された場合に、前記新たなパケットに対して応答パケットを送信する応答ステップとを行うことを特徴とする。 Control method according to the present invention includes a main controller, when operating in the power saving mode, a control method for an information processing apparatus and a LAN interface which responds to the received packet in place of the main controller, the LAN The interface returns from the power saving mode when the interface receives a packet, and when the information processing device receives a return factor packet that causes the information processing device to return from the power saving mode. A notification step of notifying the main controller of a return instruction for causing the main controller to receive the return instruction after the notification step notifies the main controller of the return instruction until the information processing apparatus returns from the power saving mode. If a new packet is received in step A determining step of determining whether it is possible respond to a packet, if it is determined in said determining step that it is possible to respond to the new packet, the response packet to the new packet And a response step of transmitting .
本発明による制御プログラムは、メインコントローラと、省電力モードで動作する場合に、前記メインコントローラの代わりに受信パケットに対して応答するLANインタフェースとを備える情報処理装置で用いられる制御プログラムであって、前記LANインタフェースに備えられたコンピュータに、パケットを受信する受信ステップと、前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信ステップで受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知ステップと、前記通知ステップによって前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信ステップで新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定ステップと、前記新たなパケットに対して応答可能であると前記判定ステップで判定された場合に、前記新たなパケットに対して応答パケットを送信する応答ステップとを実行させることを特徴とする。 Control program according to the present invention is a control program used in the information processing apparatus including a main controller, when operating in the power saving mode, and a LAN interface which responds to the received packet in place of the main controller, When the reception step of receiving a packet to the computer provided in the LAN interface and the return factor packet that causes the information processing device to return from the power saving mode are received in the reception step, the information processing device For notifying the main controller of a return instruction for returning the power saving mode from the power saving mode, and the information processing apparatus returns from the power saving mode after notifying the main controller of the return instruction through the notification step. Before receiving When receiving a new packet in-up, and determining whether or not it can respond to the new packet, the determination in said determining step that it is possible to respond to the new packet If so, a response step of transmitting a response packet to the new packet is executed .
本発明によれば、メインCPUが完全に機能するまでの空白時間の間においても、ネットワークを介して受信したバケットに対して応答可能な情報処理装置を提供することができる。 According to the present invention, it is possible to provide an information processing apparatus capable of responding to a bucket received via a network even during a blank time until the main CPU fully functions .
以下、本発明の実施の形態による情報処理装置の一例について図面を参照して説明する。 Hereinafter, an example of an information processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
図1は本発明の実施の形態による情報処理装置の1つである画像処理装置の一例が用いられたネットワーク構成の一例を示すブロック図である。なお、以下の説明では、画像処理装置を例に挙げて説明するが、画像処理装置以外の情報処理装置においても同様にして本発明を適用することができる。 FIG. 1 is a block diagram showing an example of a network configuration in which an example of an image processing apparatus which is one of information processing apparatuses according to an embodiment of the present invention is used. In the following description, an image processing apparatus will be described as an example, but the present invention can be similarly applied to an information processing apparatus other than the image processing apparatus.
図1を参照して、画像処理装置100は、例えば、画像の入出力と送受信および各種の画像処理とを行う複合機(MFP:Multi Function Printer)である。図示の画像処理装置100は、ネットワーク(例えば、LAN)106を介して、外部機器である複数のパーソナルコンピュータPC105と通信可能である。
Referring to FIG. 1, an
画像処理装置100は、画像入力デバイスであるスキャナ103、画像出力デバイスであるプリンタ104、メインコントローラ101、およびユーザインタフェースである操作部102を有している。スキャナ103、プリンタ104、および操作部102は、それぞれメインコントローラ101に接続され、メインコントローラ101からの命令によって制御される。そして、メインコントローラ101はLAN106に接続されている。
The
図2は、図1に示すメインコントローラ101の構成を詳細に示すブロック図である。
FIG. 2 is a block diagram showing in detail the configuration of the
図1には示されていないが、図2に示す例では、メインコントローラ101は、LAN106に接続されるとともに、公衆回線と接続されている。さらに、メインコントローラ101には電源装置219が接続されている。メインコントローラ101は情報処理装置において制御装置として機能する。
Although not shown in FIG. 1, in the example shown in FIG. 2, the
メインコントローラ101はCPU201(第1の制御部)を備えている。CPU201は、システムバス207を介して、RAM202、ROM203、フラッシュメモリ(Flash)204、イメージバスインタフェース(I/F)205、操作部I/F206、LAN I/F208、モデム部209、およびハードディスクドライブ(HDD)217と接続されている。
The
RAM202(第1の記憶手段又は第1のメモリ)は、CPU201の作業領域を提供するためのメモリであり、また、RAM202は画像データを一時的に記憶するための画像メモリとしても用いられる。
A RAM 202 (first storage means or first memory) is a memory for providing a work area for the
ROM203はブートROMであり、ROM203にはブートプログラムが格納されている。Flash204には、システムソフトウェアおよび設定値データなどが格納される。
The
操作部I/F206は、操作部102との間で入出力を行うためのインタフェースであり、操作部102に表示する画像データを操作部102に対して出力する。また、操作部I/F206は、ユーザが操作部102によって入力した情報をCPU201に伝送する。
The operation unit I / F 206 is an interface for performing input / output with the
LAN I/F208はLAN106と接続され、LAN106に対して情報の入出力を行う。LAN I/F208は情報処理装置において通信装置として機能する。モデム部209は公衆回線と接続され、公衆回線に対して情報の入出力を行う。
A LAN I /
イメージバスI/F205は、システムバス207と画像バス210とを接続して、データ構造を変換するためのバスブリッジである。画像バス210は画像データを高速で転送するためのバスである。
The image bus I / F 205 is a bus bridge for connecting the
画像バス210には、RIP(ラスタイメージプロセッサ)211、デバイスI/F212、スキャナ画像処部213、プリンタ画像処理部214、画像回転部215、および画像圧縮部216が接続されている。
An RIP (raster image processor) 211, a device I / F 212, a scanner
RIP211は、LAN106を介して受信したPDLコードをビットマップイメージに展開する。デバイスI/F212は、スキャナ103およびプリンタ104とメインコントローラ101とを接続して、画像データの同期系/非同期系の変換を行う。スキャナ画像処理部213は、入力画像データに対する補正、加工、および編集などを行う。
The RIP 211 expands the PDL code received via the
プリンタ画像処理部214は、プリント出力画像データに対してプリント補正および解像度変換などを行う。画像回転部215は、画像データの回転を行う。画像圧縮部216は、多値画像データに対してはJPEG圧縮伸長処理を行い、2値画像データに対してはJBIG、MMR、又はMHなどの圧縮伸長処理を行う。
The printer
HDD217は着脱可能なユニットである。HDD217には、例えば、画像データ、アドレス帳データ、およびジョブログ、そして、頻繁に使用され設定を残したお気に入りおよびショートカットなどのユーザ個人のデータ(プリファレンスデータ)が保持される。なお、システムバス207にHDD217が接続されない場合には、上記の各種データはFlash204に保持される。
The
メインコントローラ101は電源制御部218(電力切り替え手段)を備えている。電源制御部218は、電源装置219から電力供給ライン220を介して受容したDC電源を電力供給ライン221および222を介してメインコントローラ101の所定の回路要素に供給する。
The
電源制御部218は、LAN I/F208から制御信号線223を介して受信した制御信号およびCPU201から制御信号線224を介して受信した制御信号に基づいて制御される。電源制御部218は、電力供給ライン221および222を選択的にオン/オフ(ON/OFF)する。これによって、通常電力モードと省電力モードとの切り替えが行われる。
The
電力供給ライン221は、CPU201、ROM203、HDD217、およびイメージバスI/F205に接続される。さらに、電力供給ライン221は、RIP211、デバイスI/F212、スキャナ画像処理部213、プリンタ画像処理部214、画像回転部215、および画像圧縮部216に接続される。電力供給ライン222は、RAM202、操作部I/F206、LAN I/F208、およびモデム部209に接続されている。
The
図1に示す画像処理装置100は、省電力モード(省電力状態)および通常電力モードを有している。通常電力モードにおいては、電源装置219は、電力供給ライン220を介して電源制御部218に電力を供給する。そして、CPU201は、電力供給ライン221および電力供給ライン222の各々がONとなるように電源制御部218を制御する。この際、CPU201およびLAN I/F208の双方に電源装置219から電力が供給される。
The
一方、省電力モード(省電力状態)においては、電源装置219は、電力供給ライン220を介して電源制御部218に電力供給する。そして、CPU201は、電力供給ライン222がOFFとなり、電力供給ライン221がONとなるように電源制御部218を制御する。この際、CPU201を含む主要回路要素に対する電力の供給は遮断されるので、画像処理装置100の消費電力は大幅に低減する。つまり、省電力モードは、少なくとも通常電力モードよりも電力供給を低減するモードである。
On the other hand, in the power saving mode (power saving state), the
さらに、LAN I/F208は、PC105等から印刷ジョブ等のデータを受信すると、通常電力モードへ復帰すべく、電源制御部218を制御する。
Furthermore, when receiving data such as a print job from the
なお、省電力モードにおいては、CPU201に対する電力の供給が遮断されるものとしたが、他の態様であってもよい。例えば、省電力モードにおいては、CPU201に対する電力の供給を通常電力モードよりも低減させるようにしてもよい。この場合、つまり、省電力モードでは、CPU201は通常電力モードと比べて実行可能な処理が制限される。制限される処理には、少なくともLAN I/F208がPC105等から受信したデータの処理が含まれる。
In the power saving mode, the supply of power to the
また、省電力モードの際、RAM202には、電源装置219から電力が供給されている。そして、RAM202はセルフリフレッシュ動作を行って、システムプログラムをバックアップしている。また、RAM202はDMA(Direct Memory Access)転送によって、CPU201を介することなく、LAN I/F208から直接データの入出力を行うことができる。
In the power saving mode, power is supplied to the
図3は、図2に示すLAN I/F208を詳細に示すブロック図である。
FIG. 3 is a block diagram showing in detail the LAN I /
図3を参照すると、LAN I/F208は、I/F部301を有しており、このI/F部301によって、LAN I/F208はシステムバス207に接続される。
Referring to FIG. 3, the LAN I /
通常電力モードにおいて、受信パケット(受信情報)を受信する際には、LAN106から物理層部(PHY)310を介してMAC(メディアアクセス制御部又はネットワークパケット受信部)309が受信パケット(受信情報)を受ける。MAC309は、受信パケットを受信用の先入れ先出しメモリ(Rx FIFO)304にセットする。そして、Rx FIFO304にセットされた受信パケットはI/F部301を介してRAM202に送られる。
In the normal power mode, when receiving a received packet (received information), the MAC (media access control unit or network packet receiving unit) 309 receives the received packet (received information) from the
通常電力モードにおいて、送信パケット又は応答パケットを送信する際には、CPU201からI/F部301を介して送信用の先入れ先出しメモリ(Tx FIFO)305に送信パケットがセットされる。MAC309は送信パケットをTx FIFO305からPHY310に渡して、当該送信パケットをLAN106に送出する。
When transmitting a transmission packet or a response packet in the normal power mode, the transmission packet is set in the first-in first-out memory (Tx FIFO) 305 for transmission from the
省電力モードの場合には、LAN106からPHY310を介してMAC309が受信パケット(受信情報)を受ける。MAC309は、当該受信パケットを受信用の先入れ先出しメモリ(Rx FIFO)306(第2の記憶手段又は第2のメモリ)にセットする。そして、マイクロプロセッサ308(第2の制御部)は省電力モードを維持した状態で当該受信パケットに対する応答が可能であるか否かを判断する。
In the power saving mode, the
省電力モードを維持した状態で応答可能であると判断すると、マイクロプロセッサ308は受信パケットに応じて応答パケット(応答情報)を生成し、当該応答パケットを送信用の先入れ先出しメモリ(Tx FIFO)307にセットする。Tx FIFO307にセットされた応答パケット(応答情報)は、MAC309によってPHY310を介してLAN106に送出される。
If the
一方、省電力モードを維持した状態で応答不可能であると判断すると、マイクロプロセッサ308は、電力制御部218に対して制御信号線223を介して通常電力モードへの変更を通知する。これによって、後述するように、メインコントローラ101のハードウェアリソースによって受信パケットの応答が行われる。
On the other hand, when determining that the response is impossible while maintaining the power saving mode, the
LAN I/F208において、RAM311(第2の記憶手段又は第2のメモリ)はLAN I/F208における共有メモリ領域である。そして、RAM311にはデータおよびプログラムが格納されるが、RAM311はLAN I/F208の構造上その容量は限定されている。
In the LAN I /
フラッシュメモリ(Flash)302は不揮発メモリであり、I/F部301を介してCPU201と情報の送受が行われる。レジスタ群(Registers)303は、CPU201によるLAN I/F208の制御の際のステータスを反映するためのレジスタ群である。
A flash memory (Flash) 302 is a non-volatile memory, and exchanges information with the
図4は、図2に示すメインコントローラ101において省電力モードから通常電力モードに復帰する際の受信パケットの制御を説明するための図である。なお、ここでは、メインコントローラ101における主要な処理のみ説明し、詳細は後述する。
FIG. 4 is a diagram for explaining control of received packets when the
受信パケットが復帰要因パケット(予め規定された復帰要因情報)であると、メインコントローラ101は省電力モードから通常電力モードへの復帰処理を行う。復帰要因パケット401とは、メインコントローラ101が省電力モードの際に、マイクロプロセッサ308がその省電力モードを維持した状態では当該パケットに対する応答が不可能と判断したパケットである。
If the received packet is a return factor packet (predetermined return factor information), the
図4において、LAN I/F応答不可能パケット402は、メインコントローラ101が通常電力モードに復帰するまでの間にMAC309が受信するパケットのうち、LAN I/F208では応答不可能なパケットを示す。また、LAN I/F応答可能パケット403は、メインコントローラ101が通常電力モードに復帰するまでの間にMAC309が受信するパケットのうち、LAN I/F208が応答可能なパケットを示す。図示の例では、メインコントローラ101が通常電力モードに復帰中であっても、LAN I/F208はLAN I/F応答可能パケット403に対する応答を行うことができる。
In FIG. 4, a LAN I / F response
図5は、図2に示すメインコントローラ101における復帰処理のシーケンスを説明するための図である。また、図6は、図2に示すメインコントローラ101が通常電力モードに復帰する際のCPU201及び電力制御部218の動作を説明するためのフローチャートである。
FIG. 5 is a diagram for explaining a return process sequence in the
まず、図2、図4、図5、および図6を参照して、図2に示すCPU201における復帰処理を説明する。
First, the return process in the
メインコントローラ101が起動された際に、CPU201は、パケットパターンに対する振る舞い(以下パケット判定条件ともいう)をRAM202上に展開する(ステップS601)。ここで、パケットパターンに対する振る舞いとは、LAN I/F208が応答可能なパケットと応答不可能なパケットを判断するためのものである。例えば、パケット判定条件は、パケットのパターンがどうだったらLAN I/F208がそのパケットに対して応答可能であるか、パケットのパターンがどうだったらLAN I/F208がそのパケットに対して応答不可能であるかを示す。RAM202にパケットパターンに対する振る舞いを展開しておくと、通常電力モードに復帰する際、HDD217にアクセスするよりも高速にパケットの判定を行うことができる。
When the
続いて、CPU201は省電力モードへの移行条件(省電力移行条件)が満たされたか否かを判定する(ステップS602)。省電力移行条件が満たされないと(ステップS602において、NO)、CPU201は省電力移行条件が満たされたか否かを判定し続ける。一方、省電力移行条件が満たされると(ステップS602において、YES)、CPU201は電力制御部218を制御して省電力モードに移行する(ステップS603)。このとき、CPU201は、省電力モードに移行する旨をLAN I/F208に伝える。LAN I/F208のマイクロプロセッサ308は、その旨を聞いて、MAC309の転送設定を第1の転送設定に切り替える。第1の転送設定は後述する。
Subsequently, the
そして、電力制御部218はLAN I/F208から、後述する復帰信号を受信したか否かを監視する(ステップS604)。
Then, the
復帰信号を受信しないと(ステップS604において、NO)、電力制御部218は復帰信号を受信したか否かを監視し続ける。つまり、CPU201は省電力モードを継続する。一方、復帰信号を受けると、電力制御部218は電力供給ライン222を介して電力を供給し、CPU201は、省電力モードから通常電力モードへの復帰処理を実行する(ステップS605)。なお、メインコントローラ101が省電力モードから通常電力モードに完全に復帰するまでには、復帰処理を開始した後数秒程度必要である。
If no return signal is received (NO in step S604),
CPU201は通常電力モードへの復帰処理が完了したか否かを判定する(ステップS606)。復帰処理が完了しないと(ステップS606において、NO)、CPU201はその完了を待つ。復帰処理が完了すると(復帰処理の完了後:ステップS606において、YES)、CPU201はLAN I/F208に復帰完了通知を送る。さらに、CPU201はRAM202に展開したパケット判定条件に基づいて、LAN I/F208によって応答済みとなったパケットを判定して、そのパケットを削除する削除処理を行う(ステップS607)。つまり、CPU201は、LAN I/F208(つまり、マイクロプロセッサ308)により応答処理が行われた受信パケット(受信情報)の削除を行う。
The
なお、図4に示すように、メインコントローラ101の復帰処理中においてLAN I/F208が受信パケットを受信すると、MAC309はRx FIFO304を介して当該受信パケットをRAM202に送るとともに、Rx FIFO306にも当該パケットを転送する。
As shown in FIG. 4, when the LAN I /
続いて、CPU201はRAM202に格納された未応答の(応答処理が行われていない)受信パケットに対する応答処理を実行する(ステップS608)。
Subsequently, the
図7は、図1に示すメインコントローラ101が省電力モードから通常電力モードに復帰する際のLAN I/F208のマイクロプロセッサ308の動作を説明するためのフローチャートである。
FIG. 7 is a flowchart for explaining the operation of the
次に、図2〜図5および図7を参照して、復帰処理の際の図2に示すマイクロプロセッサ308の動作を説明する。
Next, the operation of the
メインコントローラ101が省電力モードに移行すると、LAN I/F208はその省電力モードを維持した状態で応答可能な受信パケットに対してのみ応答を行う。
When the
マイクロプロセッサ308は、LAN I/F208において復帰要因パケット401を受信したか否かを監視する(ステップS701)。復帰要因パケットを受信しないと(ステップS701において、NO)、マイクロプロセッサ308は復帰要因パケット401を受信したか否かを監視し続ける。復帰要因パケットを受信すると(ステップS701において、YES)、マイクロプロセッサ308は、メインコントローラ101の電力制御部218に通常電力モードに復帰することを示す復帰信号(WAKE信号)を送る(ステップS702)。
The
続いて、マイクロプロセッサ308はCPU201から復帰完了通知を受信したか否かを監視する(ステップS703)。復帰完了通知を受信しないと(ステップS703において、NO)、マイクロプロセッサ308はメインコントローラのRAM202がアクセス可能であるか否かをチェックする(ステップS704)。メインコントローラのRAM202はセルフリフレッシュ解除処理を終えると、アクセス可能になる。なお、メインコントローラのRAM202はメインコントローラ101が復帰するよりも短時間でアクセス可能になる。
Subsequently, the
RAM202に対するアクセスが可能であると(ステップS704において、YES)、マイクロプロセッサ308はMAC309の転送設定を二重転送設定に切り替える(ステップS705)。この二重転送設定によって、MAC309は受信パケットをRx FIFO304とRx FIFO306との双方に転送する。
If access to the
その後、マイクロプロセッサ308は受信パケットを受信したか否かを判定する(ステップS706)。なお、RAM202に対するアクセスが可能でないと(ステップS704において、NO)、マイクロプロセッサ308はステップS706に進む。
Thereafter, the
メインコントローラ101が復帰処理中において、受信パケットを受信しないと(ステップS706において、NO)、マイクロプロセッサ308はステップS703に戻って処理を続行する。
If the
一方、受信パケットを受信すると(ステップS706において、YES)、マイクロプロセッサ308は当該受信パケットがLAN I/F208によって応答可能なパケットであるか否かを判定する(ステップS707)。
On the other hand, when the received packet is received (YES in step S706), the
応答可能なパケットであると判定した場合(ステップS707において、YES)、マイクロプロセッサ308は受信パケットに対する応答処理を実行する。一方、応答不可能なパケットであると判定した場合(ステップS707において、NO)、マイクロプロセッサ308はRAM311が容量フル(満杯)であるか否かを判定する(ステップS709)。
If it is determined that the packet is a responseable packet (YES in step S707), the
RAM311の容量は小さく、RAM311が容量フルであると(ステップS709において、YES)、マイクロプロセッサ308は当該受信パケットを破棄する(ステップS710)。そして、マイクロプロセッサ308はステップS703に戻って処理を続行する。
If the
RAM311が容量フルでないと判定した場合(ステップS709において、NO)、マイクロプロセッサ308は当該受信パケットをRAM311に保存する(ステップS711)。そして、マイクロプロセッサ308はステップS703に戻って処理を続行する。
If it is determined that the
ステップS703において、CPU201から復帰完了通知を受けると(ステップS703において、YES)、マイクロプロセッサ308は、現時点でLAN I/F208が幾つのパケットを受信したか、つまり、現時点でどのパケットまでを受信したかを示す情報をCPU201に通知する(ステップS712)。この通知では応答処理したパケットを個別に通知するのではなく、どのバケットまでを受信したかということを通知する。
In step S703, upon receiving a return completion notification from the CPU 201 (YES in step S703), the
例えば、10個のパケットを受信したことを通知した場合、11個目以降のパケットは、それをLAN I/F208が応答可能であろうとなかろうと、全てCPU201が応答する。10個目までのパケットについては、LAN I/F208によって応答可能なものはマイクロプロセッサ308が応答し、LAN I/F208によって応答不可能なものはCPU201が応答する。パケットにIDを振ることが可能な場合には、最後に受信したパケットのIDをCPU201に通知してもよい。その場合には、そのIDより後のパケットはLAN I/F208によって応答可能なものであろうとなかろうと、全てCPU201が応答する。
For example, when notifying that 10 packets have been received, the
なお、図4に示す例では、通常電力モードに復帰するまでの間に10個のパケットを受信しているが、情報処理装置100が複数のPC105など接続され、ネットワークのトラフィックが大きい場合には、通常電力モードに復帰後、CPU201が復帰中に受信したパケットを判定する方が応答を高速に行うことができる。
In the example shown in FIG. 4, 10 packets are received before returning to the normal power mode. However, when the
続いて、マイクロプロセッサ308は、RAM311に保持された受信パケットをCPU201に送信する(ステップS713)。そして、マイクロプロセッサ308は二重転送設定を解除して、MAC309が受信パケットをRAM202のみに転送するようにMAC309の転送設定を第3の転送設定に変更する(ステップS714)。これによって、マイクロプロセッサ308は省電力モードにおける処理を終えて、MAC309は通常電力モードに復帰したメインコントローラ101に対して受信パケットの転送を行う。
Subsequently, the
上述のようにして、RAM202にアクセスすることができない場合においても、復帰動作中にRAM311に保持された受信バケットを復帰動作完了の後、CPU201に送信するようにしたので、復帰動作中の受信パケットの取りこぼしを防止することができる。
As described above, even when the
図8は、図2に示すメインコントローラ101が省電力モードから通常電力モードに復帰する際におけるMAC309の処理を説明するためのフローチャートである。
FIG. 8 is a flowchart for explaining the processing of the
図3および図8を参照して、メインコントローラ101が省電力モードに移行した後、MAC309はパケットを受信したか否かを確認する(ステップS801)。パケットの受信が確認されないと(ステップS801において、NO)、MAC309はパケットを受信したか否かを確認し続ける。
3 and 8, after the
一方、パケットの受信が確認されると(ステップS801において、YES)、MAC309は、マイクロプロセッサ308による転送設定に応じて受信パケットの転送先を切り替える。図示の例では、転送設定として、第1〜第3の転送設定がある。第1の転送設定は、受信パケットをRx FIFO306にのみ転送する転送設定である。第2の転送設定は、受信パケットをRx FIFO304(第1のFIFO)及びRx FIFO306(第2のFIFO)に転送する二重転送設定である。そして、第3の転送設定は、受信パケットをRx FIFO304にのみ転送する転送設定である。
On the other hand, when reception of the packet is confirmed (YES in step S801), the
これら第1〜第3の転送設定は、マイクロプロセッサ308がMAC309に対して行う。メインコントローラ101が省電力モードであると、マイクロプロセッサ308はMAC309に対して第1の転送設定を行う。また、メインコントローラ101が復帰動作中でかつRAM202に対してアクセス可能であると、マイクロプロセッサ308はMAC309に対して第2の転送設定(二重転送設定)を行う。そして、メインコントローラ101が通常電力モードであると、マイクロプロセッサ308はMAC309に対して第3の転送設定を行う。
The
MAC309は、ステップS802において転送設定が第1〜第3の転送設定のいずれであるか確認する。転送設定が第1の転送設定であると(ステップS802において、「第1の転送設定」)、MAC309は、省電力モード中、復帰要因パケットを受信するまでRx FIFO306に対して受信パケットを転送する(ステップS803)。
In step S802, the
ステップS803における処理では、受信パケットはRx FIFO306にセットされ、マイクロプロセッサ308による応答処理の後、応答パケットがTx FIFO307に格納される。
In the processing in step S803, the received packet is set in the
受信パケットの転送の後、MAC309は応答パケットが存在するか否かについて確認する(ステップS804)。応答パケットが存在しないと(ステップS804において、NO)、MAC309はステップS801に戻って処理を続行する。一方、応答パケットが存在すると(ステップS804において、YES)、MAC309は応答パケットをPHY310を介してLAN106に送出する(ステップS805)。そして、MAC309はステップS801に戻って処理を続行する。
After the transfer of the received packet, the
転送設定が第2の転送設定であると(ステップS802において、「第2の転送設定」)、復帰処理中でかつRAM202に対するアクセスが可能であるので、MAC309は、Rx FIFO304およびRx FIFO306に対して受信パケットを転送する(ステップS806)。
If the transfer setting is the second transfer setting ("second transfer setting" in step S802), the return processing is being performed and the
ステップS806における処理では、受信パケットはRx FIFO304及びRx FIFO306の双方にセットされる。そして、前述したように、Rx FIFO304に格納された受信パケットは、I/F部301を介してRAM202にDMA転送される。
In the process in step S806, the received packet is set in both the
その後、MAC309はステップS804に進んで、応答パケットが存在するか否かに確認する。
Thereafter, the
転送設定が第3の転送設定であると(ステップS802において、「第3の転送設定」)、メインコントローラ101は通常電力モードであるので、MAC309は、RAM202に対して受信パケットを転送する(ステップS807)。
If the transfer setting is the third transfer setting (“third transfer setting” in step S802), since the
ステップS807における処理では、受信パケットがRx FIFO304にセットされ、CPU201における応答処理の後、Tx FIFO305に応答パケットが格納される。
In the process in step S807, the received packet is set in the
その後、MAC309はステップS804に進んで、応答パケットが存在するか否かに確認する。
Thereafter, the
ところで、図7に示すS710において受信パケットが破棄されても、ステップ806で説明したように、RAM202に受信パケットを転送すれば、メインコントローラ101が通常電力モードに復帰した後、CPU201が図6に示すステップS608において未応答のパケットに対して応答処理を行うことになる。これによって、復帰動作中の受信パケットの取りこぼしを防止することができる。
Incidentally, even if the received packet is discarded in S710 shown in FIG. 7, if the received packet is transferred to the
上述のようにして、メインコントローラ101が復帰処理中においても、受信パケットに対して省電力モードと同様に受信パケットに対する応答を行うことができる。そして、メインコントローラ101が復帰処理中に受信した受信パケットにおいて、メインコントローラ101が通常電力モードに復帰した後でないと応答できない受信パケットついてはその取りこぼしを防止することができる。
As described above, even when the
また、メインコントローラ101が復帰処理中にRAM202に保持された受信パケットについて、LAN I/F208に応答処理済であれば削除処理されるので、メインコントローラ101が再度受信パケットに対して応答処理を行うこと防止することができる。
In addition, since the received packet held in the
以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also contained in this invention. .
例えば、上記の実施の形態の機能を制御方法として、この制御方法を、情報処理装置に実行させるようにすればよい。また、上述の実施の形態の機能を有する制御プログラムを、情報処理装置が備えるコンピュータに実行させるようにしてもよい。 For example, the function of the above embodiment may be used as a control method, and this control method may be executed by the information processing apparatus. In addition, a control program having the functions of the above-described embodiments may be executed by a computer included in the information processing apparatus.
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。 The present invention is also 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 code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.
201 CPU
202 RAM
207 システムバス
208 LANインタフェース(LAN I/F)
218 電源制御部
301 インタフェース部(I/F部)
308 マイクロプロセッサ
309 メディアアクセス制御部(MAC)
304、305、306、307 先入れ先出しメモリ(FIFO)
201 CPU
202 RAM
207
218
308
304, 305, 306, 307 First-in first-out memory (FIFO)
Claims (7)
メインコントローラと、
前記情報処理装置が省電力モードで動作する場合に、前記メインコントローラの代わりに受信パケットに対して応答するLANインタフェースとを備え、
前記LANインタフェースは、
パケットを受信する受信手段と、
前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信手段が受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知手段と、
前記通知手段が前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信手段が新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定手段と、
前記新たなパケットに対して応答可能であると前記判定手段によって判定された場合に、前記新たなパケットに対して応答パケットを送信する応答手段とを備えることを特徴とする情報処理装置。 An information processing apparatus,
The main controller ,
A LAN interface that responds to a received packet instead of the main controller when the information processing apparatus operates in a power saving mode;
The LAN interface is
Receiving means for receiving packets ;
When the reception unit receives a return factor packet that causes the information processing apparatus to return from the power saving mode, the main controller is notified of a return instruction for returning the information processing apparatus from the power saving mode. Notification means to
When the receiving unit receives a new packet after the notification unit notifies the main controller of the return instruction and before the information processing apparatus returns from the power saving mode, Determination means for determining whether or not response is possible ;
An information processing apparatus comprising: response means for transmitting a response packet to the new packet when the determination means determines that a response to the new packet is possible .
前記通知手段が前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間とは、前記復帰指示を前記メインコントローラに通知してから、前記復帰処理の完了通知を前記LANインタフェースが前記メインコントローラから受信するまでの間であることを特徴とする請求項1に記載の情報処理装置。 The main controller executes a return process for returning the information processing apparatus from the power saving mode when the return instruction is received from the LAN interface ;
The period from when the notifying unit notifies the main controller of the return instruction until the information processing device returns from the power saving mode means that the return process is performed after the return instruction is notified to the main controller. The information processing apparatus according to claim 1, wherein the LAN interface is in a period until the LAN interface receives the completion notification from the main controller .
前記情報処理装置が記省電力モードから復帰した場合、前記メインコントローラは、前記メインコントローラに転送されたパケットのうち、前記応答手段によって応答パケットが送信されていないパケットに対して応答することを特徴とする請求項1又は2に記載の情報処理装置。 The packet received by the receiving unit is transferred to the main controller after the notification unit notifies the main controller of the return instruction until the information processing apparatus returns from the power saving mode.
When the information processing apparatus returns from the power saving mode, the main controller responds to a packet for which a response packet is not transmitted by the response unit among packets transferred to the main controller. The information processing apparatus according to claim 1 or 2.
前記メインコントローラは、前記LANインタフェースから通知された前記情報に基づいて、前記応答手段による応答が実行されていないパケットに対して応答することを特徴とする請求項3に記載の情報処理装置。 When the information processing apparatus returns from the power saving mode, the LAN interface notifies the main controller of information for identifying a packet that has already been transmitted by the response unit.
The information processing apparatus according to claim 3, wherein the main controller responds to a packet for which a response by the response unit is not executed based on the information notified from the LAN interface .
前記LANインタフェースが、
パケットを受信する受信ステップと、
前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信ステップで受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知ステップと、
前記通知ステップによって前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信ステップで新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定ステップと、
前記新たなパケットに対して応答可能であると前記判定ステップで判定された場合に、前記新たなパケットに対して応答パケットを送信する応答ステップとを行うことを特徴とする制御方法。 And the main controller, when operating in the power saving mode, a control method for an information processing apparatus and a LAN interface for responding to the received packet instead of the main controller,
The LAN interface is
A receiving step for receiving the packet ;
When the information processing apparatus receives a return factor packet that causes the information processing apparatus to return from the power saving mode in the reception step, the main controller is notified of a return instruction for returning the information processing apparatus from the power saving mode. A notification step to
When a new packet is received in the reception step between the time when the information processing apparatus returns from the power saving mode after the return instruction is notified to the main controller in the notification step, the new packet is A determination step of determining whether or not response is possible ;
And a response step of transmitting a response packet to the new packet when it is determined in the determination step that the response to the new packet is possible .
前記LANインタフェースに備えられたコンピュータに、
パケットを受信する受信ステップと、
前記情報処理装置が前記省電力モードから復帰する要因となる復帰要因パケットを前記受信ステップで受信した場合に、前記情報処理装置を前記省電力モードから復帰させるための復帰指示を前記メインコントローラに通知する通知ステップと、
前記通知ステップによって前記復帰指示を前記メインコントローラに通知してから前記情報処理装置が前記省電力モードから復帰するまでの間に前記受信ステップで新たなパケットを受信した場合に、前記新たなパケットに対して応答可能であるか否かを判定する判定ステップと、
前記新たなパケットに対して応答可能であると前記判定ステップで判定された場合に、前記新たなパケットに対して応答パケットを送信する応答ステップとを実行させることを特徴とする制御プログラム。 And the main controller, when operating in the power saving mode, a control program used in the information processing apparatus and a LAN interface which responds to the received packet in place of the main controller,
In the computer equipped with the LAN interface,
A receiving step for receiving the packet ;
When the information processing apparatus receives a return factor packet that causes the information processing apparatus to return from the power saving mode in the reception step, a return instruction for returning the information processing apparatus from the power saving mode is notified to the main controller. A notification step to
When a new packet is received in the reception step between the time when the information processing apparatus returns from the power saving mode after the return instruction is notified to the main controller in the notification step, the new packet is A determination step of determining whether or not response is possible ;
A control program for executing a response step of transmitting a response packet to the new packet when it is determined in the determination step that the response to the new packet is possible .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015197526A JP6033383B2 (en) | 2015-10-05 | 2015-10-05 | Information processing apparatus, control method thereof, and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015197526A JP6033383B2 (en) | 2015-10-05 | 2015-10-05 | Information processing apparatus, control method thereof, and control program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011012239A Division JP5822470B2 (en) | 2011-01-24 | 2011-01-24 | Information processing apparatus, control method thereof, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016029578A JP2016029578A (en) | 2016-03-03 |
JP6033383B2 true JP6033383B2 (en) | 2016-11-30 |
Family
ID=55435418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015197526A Active JP6033383B2 (en) | 2015-10-05 | 2015-10-05 | Information processing apparatus, control method thereof, and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6033383B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08101609A (en) * | 1994-09-30 | 1996-04-16 | Ricoh Co Ltd | Image forming device |
JP5369567B2 (en) * | 2007-11-01 | 2013-12-18 | 株式会社リコー | Information processing apparatus, packet processing method, and program |
JP4470006B2 (en) * | 2008-04-30 | 2010-06-02 | サイレックス・テクノロジー株式会社 | Power saving support device |
JP2010205129A (en) * | 2009-03-05 | 2010-09-16 | Canon Inc | Information processing system, and method of controlling information processing system |
JP5424940B2 (en) * | 2010-03-03 | 2014-02-26 | キヤノン株式会社 | Network apparatus, information processing apparatus, control method thereof, network system, proxy response method, and computer program |
-
2015
- 2015-10-05 JP JP2015197526A patent/JP6033383B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2016029578A (en) | 2016-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8213026B2 (en) | Image processing apparatus and method providing improved power saving | |
US8949641B2 (en) | Information processing apparatus and method for controlling information processing apparatus restoration order of images that reduces the waiting time when restoration from a hibernation state | |
US9172834B2 (en) | Image forming system and method for recovering image forming apparatus from three different power saving modes | |
JP2006293983A (en) | Network communication device, image forming device, network communication method, and program | |
US9625975B2 (en) | Information processing apparatus capable of connecting to network in power saving state, method of controlling the same, and storage medium | |
JP5822470B2 (en) | Information processing apparatus, control method thereof, and storage medium | |
US9942431B2 (en) | Imaging forming apparatus, control method of image forming apparatus, and recording medium | |
JP5147505B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP6289057B2 (en) | COMMUNICATION DEVICE AND ITS CONTROL METHOD, PRINTING DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2007030252A (en) | Image forming system, interruption processing method and printing apparatus | |
JP6033383B2 (en) | Information processing apparatus, control method thereof, and control program | |
JP6460905B2 (en) | Communication device, control method, program | |
JP2009070012A (en) | Information processor, information processing method, and data transfer unit | |
US20170150439A1 (en) | Information Processing Device That Controls Wireless Network Function to Reduce Power Consumption, and Recording Medium Therefor | |
JP6119520B2 (en) | Print system, image forming apparatus, management method, and control program | |
JP2007028062A (en) | Image forming apparatus | |
JP2005074911A (en) | Image processor | |
JP5780768B2 (en) | Information processing apparatus, control method thereof, and program | |
US11403112B2 (en) | Information processing apparatus, method of starting up an information processing apparatus | |
JP2000181656A (en) | Printing data managing device and printing data managing method | |
JP2017149119A (en) | Information processing apparatus and method for controlling information processing apparatus | |
JP2014026422A (en) | Information processing system, image output device, and program | |
JP5645630B2 (en) | Information processing apparatus, stopping method, and program | |
JP2005197960A (en) | Image processor and image processing program | |
JP2020149248A (en) | Image formation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160915 |
|
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: 20160927 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161025 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6033383 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |