JP2013242875A - Packet processing circuit, packet processing method, and program - Google Patents

Packet processing circuit, packet processing method, and program Download PDF

Info

Publication number
JP2013242875A
JP2013242875A JP2013119194A JP2013119194A JP2013242875A JP 2013242875 A JP2013242875 A JP 2013242875A JP 2013119194 A JP2013119194 A JP 2013119194A JP 2013119194 A JP2013119194 A JP 2013119194A JP 2013242875 A JP2013242875 A JP 2013242875A
Authority
JP
Japan
Prior art keywords
packet
power
mode
unit
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013119194A
Other languages
Japanese (ja)
Other versions
JP5626413B2 (en
Inventor
Shoichi Sato
祥一 佐藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2013119194A priority Critical patent/JP5626413B2/en
Publication of JP2013242875A publication Critical patent/JP2013242875A/en
Application granted granted Critical
Publication of JP5626413B2 publication Critical patent/JP5626413B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

PROBLEM TO BE SOLVED: To process a predetermined packet received via a network while maintaining an information processing apparatus having an electric power saving mode function to be in the electric power saving mode.SOLUTION: A network controller 24 of a general-purpose processor 20 as a control unit having a CPU 21 is connected to a PHY 15 as a connecting unit to a network via a packet processing unit 40. When the general-purpose processor 20 or the like is in an electric power saving mode, a packet received from the PHY15 is processed by the packet processing unit 40 without the CPU 21. The packet processing unit 40, in response to the received packet, outputs a signal J for abandoning an unnecessary packet, preparing and transmitting a response packet, or changing an electric power mode of the general-purpose processor 20 or the like.

Description

本発明は、ネットワークに接続され、電力モードの切り換えが可能な情報処理装置、パケット処理方法およびプログラムに関する。   The present invention relates to an information processing apparatus, a packet processing method, and a program that are connected to a network and can switch power modes.

近年、コンピュータやプリンタ等の複数の情報処理装置を、イーサネット(登録商標)等のLANネットワークに接続し、それらの間で各種データを送受信するネットワークシステムが普及している。また、このような情報処理装置として、従来、MAC(Media Access Controller)等を内蔵した制御用のプロセッサを備えるとともに、所定の条件が成立したときに、プロセッサを含む装置の一部の電力を遮断する等して、消費電力を低減する省電力モード機能を有する装置が知られている。   In recent years, network systems in which a plurality of information processing apparatuses such as computers and printers are connected to a LAN network such as Ethernet (registered trademark), and various types of data are transmitted and received between them have become widespread. Further, as such an information processing apparatus, conventionally, a control processor having a built-in MAC (Media Access Controller) or the like is provided, and when a predetermined condition is satisfied, a part of power of the apparatus including the processor is cut off. Thus, an apparatus having a power saving mode function for reducing power consumption is known.

ところが、このような従来の情報処理装置では、一般に、プロセッサのCPU(Central Processing Unit)を介さずに、ネットワークから受信した所定のパケットの破棄や、受信したパケットに対する応答パケットの送信等を行うことができない。その結果、この情報処理装置では、例えばCPUをスリープモードに移行させて装置を省電力モードにしても、パケット受信のたびに、CPUを通常電力モードに復帰させる必要があるため、CPUを低消費電力状態のまま長時間維持できず、消費電力を効果的に低減するのが難しいという問題がある。   However, in such a conventional information processing apparatus, in general, a predetermined packet received from the network is discarded, a response packet is transmitted to the received packet, etc. without going through the CPU (Central Processing Unit) of the processor. I can't. As a result, in this information processing apparatus, for example, even if the CPU is shifted to the sleep mode and the apparatus is set to the power saving mode, it is necessary to return the CPU to the normal power mode every time a packet is received. There is a problem that it is difficult to maintain the power state for a long time and it is difficult to effectively reduce power consumption.

このような問題に対処する方法としては、CPUとMAC、及び所定のパケットを処理可能なパケット処理手段をASIC(Application Specific Integrated Circuit)に一体に内蔵し、省電力モード時に、受信したパケットの一部を、CPUを介さずにパケット処理手段で処理する方法が考えられる。しかしながら、このようにすると、システムのパフォーマンスに応じて多種多様なプロセッサを採用する機器においては、ASICの開発費を抑えることができずコスト高になってしまうことがある。   As a method of dealing with such a problem, a CPU, a MAC, and a packet processing means capable of processing a predetermined packet are integrated in an ASIC (Application Specific Integrated Circuit), and one of the received packets is stored in the power saving mode. A method of processing the unit by the packet processing means without using the CPU is conceivable. However, if this is done, the development cost of the ASIC cannot be reduced in a device that employs a wide variety of processors depending on the performance of the system, which may increase the cost.

また、他の対処方法として、CPUの例えばPCIバス(Peripheral Components Interconnect BUS)等の外部バスに、受信したパケットを処理等するための専用のネットワークコントローラを設ける方法もある。ただし、この場合には、PCIバス機能等のネットワーク通信には関係ない機能部を装置内に別途搭載することになり、CPUを含むプロセッサがもつMAC及び、ネットワーク処理機能が無駄になって有効活用できず、かつ装置全体のコストが上昇する、という問題が生じる。   As another countermeasure, there is a method of providing a dedicated network controller for processing received packets on an external bus such as a PCI bus (Peripheral Components Interconnect BUS) of the CPU. However, in this case, a function unit not related to network communication such as a PCI bus function is separately installed in the apparatus, and the MAC and the network processing function of the processor including the CPU are wasted and effectively used. There is a problem that it cannot be performed and the cost of the entire apparatus increases.

ところで、回路の消費電力は、その動作周波数が低くなるほど小さくなるのは周知であり、これを利用して、従来、ネットワークに接続された情報処理装置等に供給するクロック周波数を変化させて電力モードを切り替え、消費電力の低減を図った装置も知られている(特許文献1、2参照)。   By the way, it is well known that the power consumption of a circuit becomes smaller as the operating frequency becomes lower. By using this, the clock frequency supplied to an information processing apparatus or the like connected to a network has been conventionally changed to a power mode. Devices that switch power consumption and reduce power consumption are also known (see Patent Documents 1 and 2).

しかしながら、特許文献1に記載された装置では、受信したパケットをCPUで処理する必要があるため、上記と同様に、CPUを低消費電力状態に維持できず、消費電力を効果的に低減するのは難しい。   However, in the apparatus described in Patent Document 1, since it is necessary to process received packets by the CPU, the CPU cannot be maintained in a low power consumption state as described above, and the power consumption is effectively reduced. Is difficult.

一方、特許文献2に記載された装置では、省電力モード時に、ネットワークとの接続を制御する手段や、クロック周波数を変更制御する手段等を備えた専用の特殊なユニットを、回路内に設ける必要があるため、構成が複雑化してコストが増加するという問題がある。   On the other hand, in the apparatus described in Patent Document 2, it is necessary to provide a dedicated special unit provided with a means for controlling connection to the network and a means for changing and controlling the clock frequency in the circuit in the power saving mode. Therefore, there is a problem that the configuration becomes complicated and the cost increases.

本発明は、上記に鑑みてなされたものであって、電力モードを省電力モード又は通常電力モードに切り替え可能な情報処理装置を省電力モードに維持しながら、ネットワークを介して受信した所定のパケットの処理を可能にし、その消費電力を低減しつつコストの低減を図ることができる情報処理装置、パケット処理方法およびプログラムを提供するものである。   The present invention has been made in view of the above, and a predetermined packet received via a network while maintaining an information processing apparatus capable of switching the power mode to the power saving mode or the normal power mode in the power saving mode. It is possible to provide an information processing apparatus, a packet processing method, and a program that can reduce the cost while reducing the power consumption.

上述した課題を解決し、目的を達成するために、本発明にかかる情報処理装置は、ネットワークとの接続部と、前記接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、電力モードを、前記情報処理装置の全ての構成部分に電力を供給するモードである通常電力モードと、前記情報処理装置の一部に電力を供給するモードである省電力モードとの間で切り替える電力制御部と、前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、前記パケット処理部は、前記省電力モード時に、前記パケット処理部が前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定部と、前記第1判定部により前記パケットの処理が必要と判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定部と、を備え、前記電力制御部は、前記第2判定部の判定結果に基づいて前記電力モードを切り換えることを特徴とする。   In order to solve the above-described problems and achieve the object, an information processing apparatus according to the present invention includes a connection unit with a network and a communication control unit for communicating with an external network device via the connection unit. Between a processor and a power mode, a normal power mode that is a mode for supplying power to all components of the information processing apparatus, and a power saving mode that is a mode for supplying power to a part of the information processing apparatus And a packet processing unit connected between the connection unit and the processor, wherein the packet processing unit is a packet received by the connection unit by the packet processing unit in the power saving mode. A first determination unit that determines the necessity of processing of the packet, and the packet when the first determination unit determines that the packet needs to be processed. A second determination unit that determines whether or not processing by the packet processing unit is possible, and the power control unit switches the power mode based on a determination result of the second determination unit. Features.

また、本発明にかかるパケット処理方法は、情報処理装置で実行されるパケット処理方法であって、前記情報処理装置は、ネットワークとの接続部と、前記接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、電力モードを、前記情報処理装置の全ての構成部分に電力を供給するモードである通常電力モードと、前記情報処理装置の一部に電力を供給するモードである省電力モードとの間で切り替える電力制御ステップと、前記省電力モード時に、前記パケット処理部が、前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定ステップと、前記第1判定ステップにより前記パケットの処理の必要性有りと判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定ステップと、を含み、前記電力制御ステップは、前記第2判定ステップの判定結果に基づいて前記電力モードを切り換えることを特徴とする。   The packet processing method according to the present invention is a packet processing method executed by an information processing device, and the information processing device communicates with a network connection unit and an external network device via the connection unit. And a packet processing unit connected between the processor and a power processing mode for supplying power to all components of the information processing apparatus. A power control step of switching between a normal power mode and a power saving mode that is a mode for supplying power to a part of the information processing apparatus; and in the power saving mode, the packet processing unit is A first determination step for determining the necessity of processing of the packet according to the received packet, and processing of the packet by the first determination step. A second determination step that determines whether or not the packet processing unit can process the packet when it is determined that there is a need for the packet, the power control step includes a determination in the second determination step. The power mode is switched based on the result.

また、本発明にかかるパケット処理プログラムは、コンピュータに実行させるためのパケット処理プログラムであって、前記コンピュータは、ネットワークとの接続部と、接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、電力モードを、前記コンピュータの全ての構成部分に電力を供給するモードである通常電力モードと、前記コンピュータの一部に電力を供給するモードである省電力モードとの間で切り替える電力制御ステップと、前記省電力モード時に、前記パケット処理部が前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定ステップと、前記第1判定ステップにより前記パケットの処理の必要性有りと判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定ステップと、を前記コンピュータに実行させ、前記電力制御ステップは、前記第2判定ステップの判定結果に基づいて前記電力モードを切り換える。   A packet processing program according to the present invention is a packet processing program for causing a computer to execute, wherein the computer communicates with a network connection unit and an external network device via the connection unit. A processor having a control unit, a packet processing unit connected between the connection unit and the processor, a power mode, a normal power mode that is a mode for supplying power to all components of the computer, A power control step for switching between a power saving mode, which is a mode for supplying power to a part of the computer, and the packet processing unit in response to a packet received by the connection unit during the power saving mode. A first determination step for determining the necessity of the processing, and the first determination step A second determination step for determining whether or not the packet processing unit can process the packet when it is determined that the packet processing is necessary, and the power control step includes: The power mode is switched based on the determination result of the second determination step.

本発明によれば、電力モードを省電力モード又は通常電力モードに切り替え可能な情報処理装置を省電力モードに維持しながら、ネットワークを介して受信した所定のパケットの処理が可能となり、その消費電力を低減しつつコストの低減を図ることができる。   According to the present invention, it is possible to process a predetermined packet received via a network while maintaining an information processing apparatus capable of switching the power mode between the power saving mode and the normal power mode in the power saving mode, and the power consumption thereof. The cost can be reduced while reducing the cost.

実施の形態1のプリンタの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a printer according to a first embodiment. 実施の形態1のパケット処理部の概略構成を示すブロック図である。3 is a block diagram illustrating a schematic configuration of a packet processing unit according to Embodiment 1. FIG. パケットを転送する状態のパケット処理部を模式的に示すブロック図である。It is a block diagram which shows typically the packet process part of the state which transfers a packet. 所定のパケットを処理可能な状態のパケット処理部を模式的に示すブロック図である。It is a block diagram which shows typically the packet processing part of the state which can process a predetermined packet. ARP要求パケットのデータ構成図である。It is a data block diagram of an ARP request packet. ARP要求の検出対象フィールドごとの応答パケットを生成するための条件を示す説明図である。It is explanatory drawing which shows the conditions for producing | generating the response packet for every detection target field of an ARP request | requirement. PING要求パケットのデータ構成図である。It is a data block diagram of a PING request packet. PING要求の検出対象フィールドごとの条件を示す説明図である。It is explanatory drawing which shows the conditions for every detection target field of a PING request | requirement. 実施の形態1のプリンタの電力モードの遷移態様を示す模式図である。FIG. 3 is a schematic diagram illustrating a transition mode of a power mode of the printer according to the first embodiment. 実施の形態1のプリンタによるパケット処理手順の流れを示すフローチャートである。4 is a flowchart illustrating a flow of a packet processing procedure by the printer according to the first embodiment. 従来のプリンタの概略構成例を示すブロック図である。It is a block diagram which shows the example of schematic structure of the conventional printer. 実施の形態2のプリンタの概略構成例を示すブロック図である。FIG. 6 is a block diagram illustrating a schematic configuration example of a printer according to a second embodiment. 実施の形態3のプリンタの概略構成例を示すブロック図である。FIG. 6 is a block diagram illustrating a schematic configuration example of a printer according to a third embodiment. 実施の形態3のプリンタによるパケット処理手順の流れを示すフローチャートである。10 is a flowchart illustrating a flow of a packet processing procedure by the printer according to the third embodiment.

以下に添付図面を参照して、この発明にかかる情報処理装置、パケット処理方法およびプログラムの最良な実施の形態を詳細に説明する。   Exemplary embodiments of an information processing apparatus, a packet processing method, and a program according to the present invention will be explained below in detail with reference to the accompanying drawings.

(実施の形態1)
本実施形態の情報処理装置は、イーサネット(登録商標)や他のLAN等のネットワークに接続されて、ネットワークを介して外部のネットワーク装置と通信する装置である。また、この情報処理装置は、所定の条件が成立したときに消費電力を低減するための省電力モードに移行する省電力モード機能を有し、電力モードを通常電力モード又は省電力モードに切り替え可能になっている。以下、情報処理装置として、ネットワークに接続されたプリンタを例にとり説明する。
(Embodiment 1)
The information processing apparatus according to this embodiment is an apparatus that is connected to a network such as Ethernet (registered trademark) or another LAN and communicates with an external network apparatus via the network. In addition, this information processing device has a power saving mode function for shifting to a power saving mode for reducing power consumption when a predetermined condition is satisfied, and the power mode can be switched to a normal power mode or a power saving mode. It has become. Hereinafter, a printer connected to a network will be described as an example of the information processing apparatus.

図1は、本実施形態のプリンタの概略構成を示すブロック図であり、その要部の各機能等を模式的にブロックで示している。このプリンタ1は、図示のように、装置全体の制御を司る制御装置であるコントローラボード2と、印刷処理を行う印刷部であるプロッタ3とを備え、外部のネットワーク装置からの印刷要求等に応じて、コントローラボード2により制御してプロッタ3により印刷を行う。   FIG. 1 is a block diagram showing a schematic configuration of a printer according to the present embodiment, and each function and the like of the main part is schematically shown as a block. As shown in the figure, the printer 1 includes a controller board 2 that is a control device that controls the entire apparatus, and a plotter 3 that is a printing unit that performs print processing, and responds to a print request from an external network device. Then, printing is performed by the plotter 3 under the control of the controller board 2.

コントローラボード2は、プロセッサ(本実施形態では汎用のプロセッサであり、以下、汎用プロセッサという)20と、汎用プロセッサ20に対してクロックを生成して供給するプロセッサクロック生成部4と、ユーザが各種の操作を行う操作部5と、各種データを記憶するハードディスク装置(HDD)6と、ワークメモリであるSDRAM(Synchronous DRAM)7と、プログラム格納用のメモリであるROM8と、を備えている。   The controller board 2 includes a processor (a general-purpose processor in this embodiment, hereinafter referred to as a general-purpose processor) 20, a processor clock generation unit 4 that generates and supplies a clock to the general-purpose processor 20, and a user performs various types of operations. An operation unit 5 that performs operations, a hard disk device (HDD) 6 that stores various data, an SDRAM (Synchronous DRAM) 7 that is a work memory, and a ROM 8 that is a memory for storing programs are provided.

また、コントローラボード2は、汎用プロセッサ20に接続された、装置の電力制御を行うパワー・マネージメント・コントローラ10と、パワー・マネージメント・コントローラ10に各々接続されたボード電力制御部11及び外部電力制御部12と、ネットワーク物理層を構成し、ネットワークとの接続部であるPHY(Physical layer)15と、PHY15へのクロックを生成するPHYクロック生成部16と、PHY15と汎用プロセッサ20との間に設けられて、それらに接続されたパケット処理部40と、を備えている。   The controller board 2 includes a power management controller 10 connected to the general-purpose processor 20 for controlling the power of the apparatus, and a board power control unit 11 and an external power control unit connected to the power management controller 10 respectively. 12, a PHY (Physical layer) 15 that constitutes a network physical layer and is a connection unit with the network, a PHY clock generation unit 16 that generates a clock to the PHY 15, and a PHY 15 and a general-purpose processor 20. And a packet processing unit 40 connected thereto.

汎用プロセッサ20は、例えばASICや集積回路、又はデバイス等であり、ネットワークを介して受信したデータの処理や、プリンタ1の各部の動作等の制御に必要なデータ処理等を実行して、それらを主に制御する装置の主制御部やデータ処理部を構成する。従って、汎用プロセッサ20は、各種のデータ処理や演算、及びコントローラボード2の全体の制御等を行うCPU21と、外部ネットワークと通信するためのネットワークコントローラ24とを有するとともに、クロックジェネレータ22やSDRAM7に接続されたSDRAMコントローラ23を備えている。また、汎用プロセッサ20は、操作部5と接続するためのUSB(Universal Serial Bus)インターフェース(USB・I/F)25と、HDD6と接続するためのHDD・I/F26と、外部入出力(I/O)を制御するためのI/O・I/F27と、プロッタ3を接続するためのPCI・I/F28と、パケット処理部40と接続するためのシリアル・I/F29と、を備えている。更に、汎用プロセッサ20は、以上の各部を接続して互いにデータをやり取りするための内部バス(Internal BUS)30を備えており、内部バス30を介して、内部の全ての制御及びデータ転送を行う。   The general-purpose processor 20 is, for example, an ASIC, an integrated circuit, or a device, and performs processing of data received via the network, data processing necessary for controlling operations of each unit of the printer 1, and the like. It constitutes a main control unit and a data processing unit of a device to be mainly controlled. Therefore, the general-purpose processor 20 includes a CPU 21 that performs various data processing and operations, overall control of the controller board 2, and the like, and a network controller 24 that communicates with an external network, and is connected to the clock generator 22 and the SDRAM 7. The SDRAM controller 23 is provided. The general-purpose processor 20 includes a USB (Universal Serial Bus) interface (USB • I / F) 25 for connection to the operation unit 5, an HDD • I / F 26 for connection to the HDD 6, and an external input / output (I). I / O · I / F 27 for controlling / O), PCI · I / F 28 for connecting the plotter 3, and serial I / F 29 for connecting to the packet processing unit 40. Yes. Further, the general-purpose processor 20 includes an internal bus (Internal BUS) 30 for connecting the above-described units and exchanging data with each other, and performs all internal control and data transfer via the internal bus 30. .

SDRAMコントローラ23は、SDRAM7のデータの読み書きや、SDRAM7のセルフリフレッシュモードへの移行及び、通常電力モード(通常状態)への復帰等の制御を行う。また、SDRAMコントローラ23は、SDRAM7の状態がセルフリフレッシュモードか、又は通常電力モードかを示す信号をネットワークコントローラ24へ出力する。   The SDRAM controller 23 performs control such as reading / writing of data in the SDRAM 7, transition to the self-refresh mode of the SDRAM 7, and return to the normal power mode (normal state). The SDRAM controller 23 outputs a signal indicating whether the SDRAM 7 is in the self-refresh mode or the normal power mode to the network controller 24.

ネットワークコントローラ24は、汎用プロセッサ20(CPU21)が、PHY15を介して、ネットワークに接続された外部のネットワーク装置と通信するための通信制御部であり、ネットワークとの通信を制御するための上記したメディアアクセスコントローラ(MAC)を内蔵している。また、ここでは、汎用プロセッサ20(ネットワークコントローラ24)とPHY15とは、パケット処理部40を介して、MII(Media Independent Interface)等のネットワークPHYの汎用的なバスやインターフェースにより接続され、それらを介してネットワークと通信してパケット(ネットワークパケット)を送受信等する。一方、パケット処理部40は、汎用プロセッサ20のシリアル・I/F29にも接続され、CPU21との通信はシリアル・I/F29及び内部バス30を介して行う。   The network controller 24 is a communication control unit for the general-purpose processor 20 (CPU 21) to communicate with an external network device connected to the network via the PHY 15, and the above-described media for controlling communication with the network An access controller (MAC) is built in. Further, here, the general-purpose processor 20 (network controller 24) and the PHY 15 are connected via a packet processing unit 40 by a general-purpose bus or interface of a network PHY such as MII (Media Independent Interface) and the like. To communicate with the network to send and receive packets (network packets). On the other hand, the packet processing unit 40 is also connected to the serial I / F 29 of the general-purpose processor 20, and communicates with the CPU 21 through the serial I / F 29 and the internal bus 30.

以上に加えて、汎用プロセッサ20には、汎用バス31を介してパワー・マネージメント・コントローラ10が接続されている。パワー・マネージメント・コントローラ10は、この汎用バス31を介したCPU21からの制御及び、他の接続された各部からの所定の入力信号D、H、Jに基づき、汎用プロセッサ20の内部及び外部を含むプリンタ1の電力供給や停止等の電力制御を行う。   In addition to the above, the power management controller 10 is connected to the general-purpose processor 20 via the general-purpose bus 31. The power management controller 10 includes the inside and outside of the general-purpose processor 20 based on the control from the CPU 21 via the general-purpose bus 31 and predetermined input signals D, H, and J from other connected units. Power control such as power supply or stop of the printer 1 is performed.

このパワー・マネージメント・コントローラ10への入力信号Dは、ネットワークコントローラ24から出力される複数の信号であり、例えば、ネットワークコントローラ24が特定のパケットを受信した場合等に出力される信号を含む。一方、入力信号Hは、例えば、プリンタ1が備える省エネルギー(以下、省エネという)復帰/移行キー(図示せず)を押下された場合に出力される信号等、汎用プロセッサ20の外部から入力される複数の信号である。また、入力信号Jは、パケット処理部40から出力される複数の信号であり、例えば、パケット処理部40が特定のパケットを受信した場合等に出力される信号を含む。   The input signal D to the power management controller 10 is a plurality of signals output from the network controller 24 and includes, for example, a signal output when the network controller 24 receives a specific packet. On the other hand, the input signal H is input from the outside of the general-purpose processor 20 such as a signal output when an energy saving (hereinafter referred to as energy saving) return / transition key (not shown) provided in the printer 1 is pressed. A plurality of signals. The input signal J is a plurality of signals output from the packet processing unit 40, and includes, for example, a signal output when the packet processing unit 40 receives a specific packet.

パワー・マネージメント・コントローラ10は、これら各信号D、H、J等に基づいて装置各部の電力を制御し、プリンタ1の省エネ状態(省電力モード)への移行と、その状態から通常状態(通常電力モード)への復帰等、電力モードの切り替えを実行させる。従って、これら各信号D、H、J内には、例えば汎用プロセッサ20とSDRAM7を通常電力モードへ移行させるための信号や、操作部5、HDD6及び、その他のコントローラボード2上の各部への電力を供給/停止させるための信号、或いは、プロッタ3への電力を供給/停止させるための信号等が含まれる。また、本実施形態のプリンタ1は、装置全体として、電力供給の対象となる構成部分の数が異なる2つの省電力モードと、1つの通常電力モードからなる、消費電力の異なる複数の電力モード(消費電力モード)を備えており、パワー・マネージメント・コントローラ10が、これら各電力モード間の移行を制御する。即ち、このパワー・マネージメント・コントローラ10は、プリンタ1を、これら複数の省電力モードを含む省電力モード又は通常電力モードに切り替え制御する電力制御部を構成している。なお、本実施の形態では2つの省電力モードを備えた構成としているが、これに限定されるものではなく、3つ以上の複数の省電力モードを備える構成としてもよい。   The power management controller 10 controls the power of each part of the apparatus based on these signals D, H, J, etc., and shifts the printer 1 to the energy saving state (power saving mode), and from this state to the normal state (normal state) The switching of the power mode such as the return to the power mode is executed. Accordingly, in each of these signals D, H, and J, for example, a signal for shifting the general-purpose processor 20 and the SDRAM 7 to the normal power mode, and power to the operation unit 5, the HDD 6, and other units on the controller board 2 are included. Includes a signal for supplying / stopping, or a signal for supplying / stopping power to the plotter 3. Further, the printer 1 of the present embodiment has a plurality of power modes with different power consumptions (two power-saving modes and one normal power mode). The power management controller 10 controls transition between these power modes. That is, the power management controller 10 constitutes a power control unit that controls the printer 1 to switch to a power saving mode including the plurality of power saving modes or a normal power mode. In the present embodiment, the configuration includes two power saving modes. However, the configuration is not limited thereto, and a configuration including three or more power saving modes may be employed.

以下、これら3つの電力モードについて説明する。   Hereinafter, these three power modes will be described.

1.通常電力モード
通常電力モードは、プリンタ1内の全部に電力が供給されて、全ての領域が通電している通常動作可能状態のモードであり、最も消費電力が大きい。
1. Normal Power Mode The normal power mode is a mode in a normal operation enabled state in which power is supplied to all the printer 1 and all areas are energized, and the power consumption is the largest.

2.コントローラモード
コントローラモードは、コントローラボード2内の全部に電力を供給して通電させ、プロッタ3のみ電力を遮断して省電力状態にする第1の省電力モードである。
2. Controller Mode The controller mode is a first power saving mode in which power is supplied to the entire controller board 2 and energized, and only the plotter 3 is cut off to enter a power saving state.

3.待機モード
待機モードは、プロッタ3と、コントローラボード2の破線で囲まれた操作部5及びHDD6への電力を遮断するとともに、汎用プロセッサ20はクロックを停止したスリープモードに、SDRAM7は省電力モードであるセルフリフレッシュモードに、それぞれ移行させた第2の省電力モードである。従って、この待機モードは、3つの電力モードの中で最も消費電力が小さい最省電力状態のモードである。
3. Standby mode In the standby mode, power to the plotter 3 and the operation unit 5 and the HDD 6 surrounded by the broken line of the controller board 2 is cut off. This is a second power saving mode that is shifted to a certain self-refresh mode. Therefore, this standby mode is a mode in the lowest power saving state in which the power consumption is the lowest among the three power modes.

これら各電力モード間の切り替え(移行/復帰)は、CPU21がバス30、31を介して、パワー・マネージメント・コントローラ10に電力モードの設定を行うか、又はパワー・マネージメント・コントローラ10への上記した信号D、H、J等の入力に基づき、パワー・マネージメント・コントローラ10により制御されて行われる。その際、パワー・マネージメント・コントローラ10から、プリンタ1内の各デバイスやブロック等の各部へ、それぞれ所定の信号A、B、E、F、Gが直接又は間接的に出力される。   Switching between these power modes (transition / return) is performed by the CPU 21 setting the power mode in the power management controller 10 via the buses 30 and 31 or as described above for the power management controller 10. This is performed under the control of the power management controller 10 based on the input of the signals D, H, J and the like. At this time, predetermined signals A, B, E, F, and G are directly or indirectly output from the power management controller 10 to the respective devices and blocks in the printer 1.

具体的には、このパワー・マネージメント・コントローラ10からの出力信号Aは、CPU21に割り込みを発生させ、CPU21及び汎用プロセッサ20を可動状態へ、又はスリープ状態(スリープモード)へと遷移させる信号である。また、出力信号Bは、SDRAMコントローラ23を介して、SDRAM7をセルフリフレッシュモードへ、又は通常電力モードへと遷移させるための信号である。出力信号E、Fは、ボード電力制御部11を介して出力され、その内、出力信号Eは、コントローラボード2内の破線で囲まれた領域の操作部5及びHDD6の電力を遮断又は復帰させるための信号である。これに対し、出力信号Fは、コントローラボード2内の他の部分の電力を制御するための信号であり、例えばプルアップ用の電源等を遮断又は復帰するのに使用される。出力信号Gは、外部電力制御部12を介して出力される、コントローラボード2の外部の電力を制御するための信号であり、例えばプロッタ3に出力されて、その電力を制御するために使用される。   Specifically, the output signal A from the power management controller 10 is a signal for causing the CPU 21 to generate an interrupt and causing the CPU 21 and the general-purpose processor 20 to enter a movable state or a sleep state (sleep mode). . The output signal B is a signal for causing the SDRAM 7 to transit to the self-refresh mode or the normal power mode via the SDRAM controller 23. The output signals E and F are output via the board power control unit 11, and the output signal E cuts off or restores the power of the operation unit 5 and the HDD 6 in the area surrounded by the broken line in the controller board 2. It is a signal for. On the other hand, the output signal F is a signal for controlling the power of the other part in the controller board 2 and is used, for example, to cut off or restore the power supply for pull-up. The output signal G is a signal for controlling the power outside the controller board 2 that is output via the external power control unit 12, and is output to the plotter 3, for example, and used to control the power. The

ここで、本実施形態では、上記したように、ネットワークコントローラ24を内蔵した汎用プロセッサ20とPHY15、及びパケット処理部40とを、それぞれコントローラボード2上に別個に設けるとともに、汎用プロセッサ20とPHY15との間に、パケット処理部40を設けて通信を仲介させている。また、プリンタ1が省電力モード状態に有るときにも、これらPHY15とパケット処理部40とに電力を供給し、パケット処理部40により一部のパケットを処理するようになっている。即ち、パケット処理部40は、所定の省電力モード時に、PHY15により受信したパケットを処理するものであり、例えば汎用プロセッサ20及びCPU21がスリープモードであるときに、それらを介さずに受信したパケットに対応して所定のパケット処理を行う。   Here, in the present embodiment, as described above, the general-purpose processor 20, the PHY 15, and the packet processing unit 40 including the network controller 24 are separately provided on the controller board 2, and the general-purpose processor 20, the PHY 15, Between these, a packet processing unit 40 is provided to mediate communication. Further, even when the printer 1 is in the power saving mode, power is supplied to the PHY 15 and the packet processing unit 40, and a part of the packets is processed by the packet processing unit 40. That is, the packet processing unit 40 processes packets received by the PHY 15 in a predetermined power saving mode. For example, when the general-purpose processor 20 and the CPU 21 are in the sleep mode, Correspondingly, predetermined packet processing is performed.

図2は、このパケット処理部40の概略構成を示すブロック図であり、その内部の各機能等を模式的にブロックで示している。パケット処理部40は、図示のように、PHY15を介して外部ネットワーク装置と通信を行うためのメディアアクセスコントローラであるMAC41と、受信したパケットのフィルタ処理を行うフィルタ42と、バッファメモリであるFIFO(First-In First-Out)43と、内部レジスタ(REG)44と、パケットエンジン45と、3つのセレクタa46、セレクタb47、及びセレクタc48と、を有する。   FIG. 2 is a block diagram showing a schematic configuration of the packet processing unit 40, and each of the internal functions and the like is schematically shown as a block. As shown in the figure, the packet processing unit 40 includes a MAC 41 that is a media access controller for communicating with an external network device via the PHY 15, a filter 42 that performs a filtering process on received packets, and a FIFO (a FIFO memory). First-In First-Out) 43, an internal register (REG) 44, a packet engine 45, three selectors a46, a selector b47, and a selector c48.

これら3つのセレクタ46、47、48は、パケット処理部40内のパケット等のデータ経路(処理経路)を切り替えるものであり、プリンタ1の電力モード等に応じて、パケット処理部40の状態を、複数の所定状態間で切り替えるために使用される。また、ここでは、セレクタ46、47、48は、パケット処理部40の受信したパケットの処理経路を、上記した電力モードに応じて、パケットをパケット処理部40内で処理するパケット処理部内処理経路と、汎用プロセッサ20へ転送するための転送経路とに切り替える。これにより、パケット処理部40の状態を、電力モードに応じて、PHY15を介して受信したパケットを処理する状態と、その受信したパケットを処理せずに汎用プロセッサ20のネットワークコントローラ24に転送する状態の、両状態間で切り替え、各状態に応じて、パケット処理部40にパケットの処理又は転送を実行させる。   These three selectors 46, 47, and 48 are used to switch data paths (processing paths) such as packets in the packet processing unit 40, and change the state of the packet processing unit 40 according to the power mode of the printer 1. Used to switch between multiple predetermined states. Further, here, the selectors 46, 47, and 48 indicate the processing path of the packet received by the packet processing unit 40 as the processing path in the packet processing unit that processes the packet in the packet processing unit 40 according to the power mode described above. And switching to a transfer path for transferring to the general-purpose processor 20. Thereby, the state of the packet processing unit 40 is a state in which a packet received via the PHY 15 is processed according to the power mode, and a state in which the received packet is transferred to the network controller 24 of the general-purpose processor 20 without being processed. These are switched between both states, and the packet processing unit 40 is caused to execute packet processing or transfer according to each state.

図3は、パケットを処理せずに転送する状態のパケット処理部40を模式的に示すブロック図であり、パケット処理部40内を含むデータ経路(パケットの流れ)を太線の矢印で示している。   FIG. 3 is a block diagram schematically showing the packet processing unit 40 in a state where the packet is transferred without being processed, and the data path (packet flow) including the inside of the packet processing unit 40 is indicated by a thick line arrow. .

このプリンタ1では、パケット処理部40は、汎用プロセッサ20(CPU21)が受信したパケットを処理可能な状態にあるときには、受信パケットを、パケット処理部40で処理せずに、図示のように、汎用プロセッサ20のネットワークコントローラ24に転送する。   In this printer 1, when the packet processing unit 40 is in a state where the packet received by the general-purpose processor 20 (CPU 21) can be processed, the packet processing unit 40 does not process the received packet by the packet processing unit 40, as shown in FIG. Transfer to the network controller 24 of the processor 20.

具体的には、汎用プロセッサ20は、上記したように、プリンタ1が待機モードであるときには、パケットを処理できないスリープモードの状態であるが、他の通常電力モード及びコントローラモードのときには、通常動作が可能である。従って、パケット処理部40は、初期化時(初期状態)やプリンタ1が待機モード以外のモードである場合には、受信したパケットをスルーして汎用プロセッサ20へ転送する。その際、パケット処理部40は、セレクタc48及びセレクタb47を切り替えて、PHY15を介して受信したパケットを、そのままネットワークコントローラ24まで転送する。また、パケット処理部40は、セレクタa46を切り替えて、ネットワークコントローラ24からの応答パケット等を、そのままPHY15に転送し、ネットワークを介して外部に送信させる。   Specifically, as described above, the general-purpose processor 20 is in the sleep mode in which packets cannot be processed when the printer 1 is in the standby mode, but the normal operation is not performed in other normal power modes and controller modes. Is possible. Therefore, the packet processing unit 40 passes the received packet and transfers it to the general-purpose processor 20 at the time of initialization (initial state) or when the printer 1 is in a mode other than the standby mode. At this time, the packet processing unit 40 switches the selector c48 and the selector b47 and transfers the packet received via the PHY 15 to the network controller 24 as it is. Further, the packet processing unit 40 switches the selector a46, transfers the response packet from the network controller 24 as it is to the PHY 15, and transmits it to the outside via the network.

一方、プリンタ1が待機モードに移行するときには、パケット処理部40は、汎用プロセッサ20からの要求により、各セレクタ46、47、48を上記した状態から切り替えてパケットの処理経路を変更し、所定のパケットを処理可能な状態(省エネモード)に移行する。ただし、本実施形態のパケット処理部40は、このパケットの処理経路の切り替えに伴うパケット処理機能の有効と無効との切り替えを、パケット処理部40の内部にパケットが存在しないときに行う。   On the other hand, when the printer 1 shifts to the standby mode, the packet processing unit 40 switches the selectors 46, 47, and 48 from the above state in response to a request from the general-purpose processor 20, changes the packet processing path, Shift to a state where packets can be processed (energy saving mode). However, the packet processing unit 40 according to the present embodiment switches between enabling and disabling the packet processing function associated with switching of the packet processing path when there is no packet inside the packet processing unit 40.

図4は、所定のパケットを処理可能な状態のパケット処理部40を模式的に示すブロック図であり、パケット処理部40内を含むデータ経路(パケットの流れ)を太線の矢印で示している。   FIG. 4 is a block diagram schematically showing the packet processing unit 40 in a state where a predetermined packet can be processed, and a data path (packet flow) including the inside of the packet processing unit 40 is indicated by a thick line arrow.

パケット処理部40は、図示のように、プリンタ1の待機モードへの移行に伴い、パケットの経路を転送経路からパケット処理部内処理経路に変更し、セレクタc48を切り替えて、PHY15により受信したパケットをFIFO43に導いて蓄積する。同時に、パケット処理部40は、受信したパケットをMAC41へ転送し、MAC41により、受信パケットをフィルタ42で処理できる形式に変換してフィルタ42に転送する。   As shown in the figure, the packet processing unit 40 changes the packet path from the transfer path to the intra-packet processing path as the printer 1 shifts to the standby mode, switches the selector c48, and changes the packet received by the PHY 15. Lead to FIFO 43 and accumulate. At the same time, the packet processing unit 40 transfers the received packet to the MAC 41, converts the received packet into a format that can be processed by the filter 42, and transfers the packet to the filter 42.

ここで、フィルタ42は、受信したパケットに含まれる送信元や宛先のMACアドレス等のアドレスに基づいてパケットを検査し、そのパケットを通過させるか否かを判定してパケットフィルタリングを行うアドレスフィルタであり、所定条件を満たすパケットの破棄等を行う。また、このフィルタ42は、パケットに含まれる特定のパターンからパケットフィルタリングを行うパターンフィルタでもあり、受信したパケットの破棄又はパケットエンジン45への転送を行う。   Here, the filter 42 is an address filter that performs packet filtering by examining a packet based on an address such as a source or destination MAC address included in the received packet, and determining whether to pass the packet. Yes, a packet that satisfies a predetermined condition is discarded. The filter 42 is also a pattern filter that performs packet filtering from a specific pattern included in the packet, and discards the received packet or transfers it to the packet engine 45.

すなわち、パケット処理部40では、MAC41、フィルタ42、パケットエンジン45等により、省電力モード(ここでは待機モード)時に、受信したパケットの種類等に応じて、そのパケットの自装置での処理の要・不要を判定する第1判定部の機能と、この第1判定部で不要と判定されたときに、そのパケットを破棄する機能とを有している。   That is, the packet processing unit 40 uses the MAC 41, the filter 42, the packet engine 45, and the like to process the packet in its own device in the power saving mode (here, the standby mode) according to the type of the received packet. -It has the function of the 1st determination part which determines unnecessary, and the function which discards the packet, when it determines with this 1st determination part being unnecessary.

具体的には、このプリンタ1では、フィルタ42は、MAC41を介して受信したパケットに含まれる宛先MACアドレス、又は宛先IPアドレスから、そのパケットの種類(自局当て、ブロードキャスト、マルチキャスト等)を判別し、自装置(自局)で処理する必要のないパケットを破棄する。また、フィルタ42は、このアドレスチェックにて通過したパケットに含まれる特定パターンを走査し、自装置で処理する必要のあるパケットを選別して、処理する必要のないパケットを破棄する。   Specifically, in the printer 1, the filter 42 determines the type of packet (local station guess, broadcast, multicast, etc.) from the destination MAC address or destination IP address included in the packet received via the MAC 41. Then, the packet that does not need to be processed by the own device (own station) is discarded. In addition, the filter 42 scans a specific pattern included in the packet passed by this address check, selects a packet that needs to be processed by the own device, and discards a packet that does not need to be processed.

なお、この処理する必要のあるパケットとしては、例えばSNMP(Simple Network Management Protocol)、蓄積画像の読み出し要求、印刷要求、印刷データ、ARP(Address Resolution Protocol)要求、PING(Packet INternet Groper)要求、FTP(File Transfer Protocol)、その他所定のプロトコルのパケット等がある。また、フィルタ42によるパケットフィルタリングにおいて、通過可能なアドレスや、走査する特定パターンは、内部レジスタ44に設定され、フィルタリング処理時に、内部レジスタ44からフィルタ42により読み出されて使用される。同様に、このアドレス及びパターンフィルタリングを行うフィルタ42に加えて、パケット処理部40内のMAC41、パケットエンジン45の動作条件等の設定値は、CPU21により設定可能になっており、この設定等に基づき、パケット処理部40は、以下の各処理を実行する。   Examples of packets that need to be processed include SNMP (Simple Network Management Protocol), stored image read request, print request, print data, ARP (Address Resolution Protocol) request, PING (Packet Internet Groper) request, and FTP. (File Transfer Protocol) and other predetermined protocol packets. In the packet filtering by the filter 42, a passable address and a specific pattern to be scanned are set in the internal register 44, and are read from the internal register 44 by the filter 42 and used during the filtering process. Similarly, in addition to the filter 42 that performs this address and pattern filtering, setting values such as the operating conditions of the MAC 41 and the packet engine 45 in the packet processing unit 40 can be set by the CPU 21, and based on this setting and the like. The packet processing unit 40 executes the following processes.

具体的には、パケット処理部40は、受信したパケットが自装置で処理すべきパケットであり、かつ、そのパケットが、例えばARP要求、PING要求、SNMPパケット等の比較的簡便な応答が可能な所定のパケットである場合は、パケットをフィルタ42からパケットエンジン45へ転送する。   Specifically, the packet processing unit 40 is a packet to be processed by the own device, and the packet can respond relatively easily such as an ARP request, a PING request, an SNMP packet, or the like. If it is a predetermined packet, the packet is transferred from the filter 42 to the packet engine 45.

パケットエンジン45では、受信パケットの種別等に応じた応答パケットを生成し、PHY15を通じてネットワークへ応答パケットを送出するために、生成したパケットをMAC41へ転送する。その後、応答パケットは、MAC41によりセレクタa46を通じてPHY15へ転送され、ネットワーク上へ送出される。   The packet engine 45 generates a response packet according to the type of the received packet, and transfers the generated packet to the MAC 41 in order to send the response packet to the network through the PHY 15. Thereafter, the response packet is transferred to the PHY 15 through the selector a46 by the MAC 41, and is sent out on the network.

すなわち、TCPを利用した通信では、TCP自体が簡単に対応できる仕様ではない。このため、パケット処理部40のフィルタ42は、1つのパケットに対して、1つの応答パケットを返信するだけで十分なARP要求、PING要求,SNMP等の上記所定のプロトコルのパケットであるか否かを判断する。そして、フィルタ42は、受信したパケットが上記所定のプロトコルのパケットである場合に、パケット内のフィールドから特定の値を検出し、検出した値に応じた応答パケットを送信するだけで、パケットの応答処理としては十分なため、簡単な処理で応答が可能となる。   That is, in the communication using TCP, the TCP itself is not a specification that can be easily handled. Therefore, whether the filter 42 of the packet processing unit 40 is a packet of the predetermined protocol such as an ARP request, a PING request, and an SNMP enough to return one response packet for one packet. Judging. Then, when the received packet is a packet of the predetermined protocol, the filter 42 detects a specific value from the field in the packet, and only transmits a response packet corresponding to the detected value. Since the processing is sufficient, it is possible to respond with a simple processing.

ここで、このようなパケットの判断の一例としてARP要求のパケットの判断について詳細に説明する。図5は、ARP要求パケットのデータ構成図である。   Here, the determination of the ARP request packet will be described in detail as an example of the determination of the packet. FIG. 5 is a data configuration diagram of an ARP request packet.

図5に示すように、フィルタ42は、ARP要求のパケットのEthernet(登録商標) Headerから、Destination MAC Addressフィールドの値、Typeフィールドの値を検出する。また、フィルタ42は、ARP要求のパケットのARPから、Hardware Typeフィールドの値、Protocol Typeフィールドの値、Hardware(HW) Sizeフィールドの値、Protocol(PT) Sizeフィールドの値、Taget MAC addressフィールドの値、Target IP addressフィールドの値を検出する。   As shown in FIG. 5, the filter 42 detects the value of the Destination MAC Address field and the value of the Type field from the Ethernet (registered trademark) header of the ARP request packet. In addition, the filter 42 determines the value of the Hardware Type field, the value of the Protocol Type field, the value of the Hardware (HW) Size field, the value of the Protocol (PT) Size field, the value of the Tag MAC address field from the ARP of the ARP request packet. The value of the Target IP address field is detected.

図6は、ARP要求の検出対象フィールドごとの応答パケットを生成するための条件を示す説明図である。フィルタ42は、上記の検出した各フィールドの値が、図6に示す条件を満たすか否かを判断し、満たす場合に処理が必要と判断して、パケットエンジン45が応答パケットを生成する。   FIG. 6 is an explanatory diagram showing conditions for generating a response packet for each detection target field of the ARP request. The filter 42 determines whether or not the value of each detected field satisfies the condition shown in FIG. 6. When the filter 42 satisfies the condition, the filter 42 determines that processing is necessary, and the packet engine 45 generates a response packet.

以上により、プリンタ1が待機モード時に、パケット処理部40にて応答が可能なパケットを、PHY15により受信した際の一連の処理が完了する。   As described above, when the printer 1 receives a packet that can be responded by the packet processing unit 40 by the PHY 15 when the printer 1 is in the standby mode, a series of processing is completed.

また、フィルタ42がパケットの処理を要すると判定したとき、パケットエンジン45は、パケット処理部40での処理の可・不可を判定する第2判定部の機能を有している。そして、パケットエンジン45は処理可と判定した場合に、そのパケットの種類等に応じた応答パケットを作成し、PHY15を介して作成した応答パケットをネットワークへ送信する。   When the filter 42 determines that the packet needs to be processed, the packet engine 45 has a function of a second determination unit that determines whether or not the packet processing unit 40 can process the packet. When the packet engine 45 determines that processing is possible, the packet engine 45 creates a response packet according to the type of the packet and transmits the response packet created via the PHY 15 to the network.

例えば、受信したパケットがPING要求であり、このPING要求のパケットが分断されていた場合(フラグメント状態の場合)、パケット処理部40が分断されたパケットを結合したサイズ分(例えば、64KB)以上の記憶容量のメモリを搭載していない場合には、パケット処理部40ではこのPING要求のパケットの処理が不可能となる。このため、このような場合には、分断されたPING要求のパケットは汎用プロセッサ20のCPU21で処理すると判断する。   For example, if the received packet is a PING request and the packet of this PING request is fragmented (in the case of a fragment state), the packet processing unit 40 has a size equal to or larger than the size of the divided packets (for example, 64 KB). If a memory with a storage capacity is not installed, the packet processing unit 40 cannot process this PING request packet. For this reason, in such a case, it is determined that the divided PING request packet is processed by the CPU 21 of the general-purpose processor 20.

PING要求のパケットが分断されているか否かの判断は以下のように行われる。図7は、PING要求パケットのデータ構成図である。   The determination as to whether or not the PING request packet is divided is performed as follows. FIG. 7 is a data configuration diagram of the PING request packet.

図7に示すように、パケットエンジン45は、PING要求のパケットのEthernet(登録商標) Headerから、Destination MAC Addressフィールドの値、Typeフィールドの値を検出する。また、パケットエンジン45は、PING要求のパケットのIP Headerから、verionフィールドの値、Header sizeフィールドの値、serviceフィールドの値、Flagsフィールドの値、Fragment offsetフィールドの値、Protocolフィールドの値、Destination IP addressフィールドの値を検出する。また、パケットエンジン45は、PING要求のパケットのICMPから、Typeフィールドの値を検出する。   As shown in FIG. 7, the packet engine 45 detects the value of the Destination MAC Address field and the value of the Type field from the Ethernet (registered trademark) header of the packet of the PING request. In addition, the packet engine 45 uses the IP header of the packet of the PING request from the value of the version field, the value of the header size field, the value of the service field, the value of the Flags field, the value of the Fragment offset field, the value of the Protocol field, and the Destination IP. The value of the address field is detected. Further, the packet engine 45 detects the value of the Type field from the ICMP of the PING request packet.

図8は、PING要求の検出対象フィールドごとの条件を示す説明図である。パケットエンジン45は、上記の検出した各フィールドの値のうち、IP HeaderのFlagsフィールドの値と、Fragment offsetフィールドの値とが共に0でない場合に、分断されたパケットであると判断する。   FIG. 8 is an explanatory diagram showing conditions for each detection target field of the PING request. The packet engine 45 determines that the packet is a fragmented packet when both the value of the Flags field of the IP Header and the value of the Fragment offset field are not 0 among the detected values of the fields.

これにより、パケット処理部40は、受信したパケットの解析と、受信パケットの破棄と、受信パケットに対応する応答パケットの送信とを含む、所定のパケット処理を行う。   Thereby, the packet processing unit 40 performs predetermined packet processing including analysis of the received packet, discard of the received packet, and transmission of a response packet corresponding to the received packet.

また、パケットエンジン45によりパケットをパケット処理部4で処理不可能と判定されたときには、電力モードを、そのパケットの処理を汎用プロセッサ20で行える電力モードに切り替えるよう要求する。即ち、パケット処理部40は、受信したパケットが上記した比較的簡便に応答可能なパケット以外のパケット、例えば蓄積画像の読み出し要求、印刷要求、FTP、その他TCP(Transmission Control Protocol)パケット等であったときには、フィルタ42よりパワー・マネージメント・コントローラ10に対して機器復帰信号J(図1参照)を出力する。この機器復帰信号Jは、汎用プロセッサ20やコントローラボード2等の省電力モードから通常電力モードへの復帰を含む電力モードの移行を要求する信号であり、プロッタ3、操作部5、HDD6の復帰が必要なパケット、又は汎用プロセッサ20のみの復帰でよいパケット等に応じて、異なるモード移行要求を付加して出力される。   When the packet engine 45 determines that the packet processing unit 4 cannot process the packet, it requests that the power mode be switched to a power mode in which the general-purpose processor 20 can process the packet. That is, the packet processing unit 40 is a packet other than a packet that can be responded relatively easily, such as a read request for stored image, a print request, FTP, and other TCP (Transmission Control Protocol) packets. Sometimes, the filter 42 outputs a device return signal J (see FIG. 1) to the power management controller 10. This device return signal J is a signal for requesting the transition of the power mode including the return from the power saving mode to the normal power mode such as the general-purpose processor 20 and the controller board 2, and the return of the plotter 3, the operation unit 5, and the HDD 6 is performed. Depending on a necessary packet or a packet that can be restored only by the general-purpose processor 20, a different mode transition request is added and output.

従って、このパケット処理部40のフィルタ42は、省電力モード時に受信したパケットに応じて、プリンタ1の電力モードをより消費電力が大きい電力モードに移行させるための信号Jをパワー・マネージメント・コントローラ10に出力し、電力モードの切り替えを要求するものでもある。これにより、パケット処理部40は、プリンタ1が通常動作時よりも消費電力の低い状態のときに、その消費電力状態を、より高い消費電力状態へ移行するための信号Jを出力し、プリンタ1を、例えば待機モードからコントローラモード又は通常電力モードに移行又は復帰させて電力モードを切り替える。なお、この電力モードの移行条件は、汎用プロセッサ20によりパケット処理部40へ設定され、この設定条件とパケットの種類等に基づいて、フィルタ42が判定して、それぞれに応じた機器復帰信号Jを出力する。   Accordingly, the filter 42 of the packet processing unit 40 outputs a signal J for shifting the power mode of the printer 1 to a power mode with higher power consumption according to the packet received in the power saving mode. To request switching of the power mode. Thus, the packet processing unit 40 outputs a signal J for shifting the power consumption state to a higher power consumption state when the printer 1 is in a state of lower power consumption than during normal operation. Is switched from the standby mode to the controller mode or the normal power mode, for example, to switch the power mode. The power mode transition condition is set in the packet processing unit 40 by the general-purpose processor 20, and the filter 42 determines based on the setting condition and the packet type and the like, and the device return signal J corresponding to each is determined. Output.

続いて、パケット処理部40は、FIFO43に蓄積されたパケットを汎用プロセッサ20へ転送するとともに、移行条件となったパケットの種類や、SNMPの応答に関する情報等を内部レジスタ44に書き込むが、内部レジスタ44は、電力モードの状態が変わるたびに書き換えてもよい。その後、FIFO43内のパケット及び、パケット処理部40内のパケットがなくなったときに、各セレクタ46、47、48を切り替え、パケット処理部40内の経路を、パケットを汎用プロセッサ20へ転送する前記転送経路(図3参照)に変更する。   Subsequently, the packet processing unit 40 transfers the packet stored in the FIFO 43 to the general-purpose processor 20, and writes the type of the packet that has become the transition condition, information related to the SNMP response, and the like to the internal register 44. 44 may be rewritten whenever the state of the power mode changes. Thereafter, when there are no more packets in the FIFO 43 and packets in the packet processing unit 40, the selectors 46, 47, and 48 are switched, and the path in the packet processing unit 40 transfers the packet to the general-purpose processor 20. Change to a route (see FIG. 3).

以上により、プリンタ1が待機モードのときに、汎用プロセッサ20による処理が必要なパケットを受信した際の、パケット処理部40が行う一連の処理が完了する。一方、パワー・マネージメント・コントローラ10は、例えばフィルタ42からのコントローラ復帰要求を含む機器復帰信号Jにより信号A、Bを出力し、汎用プロセッサ20を省エネ状態(スリープモード)から復帰等させて、プリンタ1の電力モードを切り替える。その後、汎用プロセッサ20は、例えば受信パケットがMIB(Management Information Base)要求であった場合には、CPU21により所定のパケット処理を行う。   As described above, when the printer 1 is in the standby mode, a series of processes performed by the packet processing unit 40 when a packet that needs to be processed by the general-purpose processor 20 is received is completed. On the other hand, the power management controller 10 outputs signals A and B in response to a device return signal J including a controller return request from the filter 42, for example, to return the general-purpose processor 20 from the energy saving state (sleep mode) and the like. 1 power mode is switched. Thereafter, for example, when the received packet is a MIB (Management Information Base) request, the general-purpose processor 20 performs predetermined packet processing by the CPU 21.

これに対し、例えば受信パケットが蓄積画像の読み出し要求であった場合には、パワー・マネージメント・コントローラ10は、フィルタ42からのHDD復帰要求も含む機器復帰信号Jにより、信号A、Bに加えて、ボード電力制御部11を介して、信号E、Fを出力する。この信号Eにより、HDD6に電力を供給し、CPU21によりHDD6に蓄積された画像を読み出し、ネットワークを介して外部ネットワーク装置に向かって画像データを出力する。また、例えば受信パケットが印刷要求であった場合には、パワー・マネージメント・コントローラ10は、フィルタ42からのプロッタ復帰要求も含む機器復帰信号Jにより、上記した各信号A、B、E、Fに加えて、外部電力制御部12を介して信号Gを出力する。この信号Gにより、プロッタ3に電力を供給して省電力モードから通常電力モードに復帰させ、印刷データをプロッタ3により印刷して出力する。このように、パワー・マネージメント・コントローラ10は、これら各電力制御部11、12や信号経路等により、パケット処理部40が省電力モード時に受信したパケットに応じて、その省電力モードをより消費電力が大きい電力モードに切り替える。   On the other hand, for example, when the received packet is a read request for the stored image, the power management controller 10 uses the device return signal J including the HDD return request from the filter 42 in addition to the signals A and B. The signals E and F are output via the board power control unit 11. With this signal E, power is supplied to the HDD 6, the image stored in the HDD 6 is read out by the CPU 21, and the image data is output to the external network device via the network. For example, when the received packet is a print request, the power management controller 10 uses the device return signal J including the plotter return request from the filter 42 to change the signals A, B, E, and F described above. In addition, the signal G is output via the external power control unit 12. With this signal G, power is supplied to the plotter 3 to return from the power saving mode to the normal power mode, and print data is printed by the plotter 3 and output. As described above, the power management controller 10 uses the power control units 11 and 12 and the signal path to change the power saving mode according to the packet received by the packet processing unit 40 in the power saving mode. Switch to a higher power mode.

ここで、CPU21がスリープモード中に、パケット処理部40がCPU21を介さずに所定の応答を行った場合には、CPU21が通常電力モード(通常状態)に復帰した後に、そのパケット処理等を正しく行うためには、復帰前のパケット処理部40の応答内容等を汎用プロセッサ20が知る必要がある。そのため、このプリンタ1では、低消費電力状態からより高い消費電力状態へ移行した際に、CPU21がパケット処理部40の内部レジスタ44等へアクセスする。これにより、汎用プロセッサ20は、その電力状態の移行前に、パケット処理部40が処理したパケットに関する情報、例えばパケット中のIPヘッダの識別子や、SNMPにおけるGet−Nextコマンドの前に要求のあったMIBが何であったか等のデータを取得する。従って、ここでは、汎用プロセッサ20のCPU21等により、このデータ取得が行われ、これにより、電力モードがより消費電力が大きい電力モードに移行して切り替えられた後に、パケット処理部40から電力モードの切り替え前に受信したパケットに関する所定のデータを取得するようになっている。   Here, when the CPU 21 is in the sleep mode and the packet processing unit 40 makes a predetermined response without going through the CPU 21, the packet processing and the like are correctly performed after the CPU 21 returns to the normal power mode (normal state). In order to do this, the general-purpose processor 20 needs to know the response contents of the packet processing unit 40 before returning. Therefore, in this printer 1, the CPU 21 accesses the internal register 44 and the like of the packet processing unit 40 when shifting from the low power consumption state to the higher power consumption state. As a result, the general-purpose processor 20 has received a request before information about a packet processed by the packet processing unit 40, for example, an identifier of an IP header in the packet or a Get-Next command in SNMP, before the power state shifts. Data such as what the MIB was is acquired. Therefore, here, the data acquisition is performed by the CPU 21 of the general-purpose processor 20 and the power mode is switched from the power mode to the power mode with higher power consumption. Predetermined data related to the packet received before switching is acquired.

次に、本実施形態のプリンタ1における、各電力モード間の移行について具体的に説明する。   Next, the transition between the power modes in the printer 1 of the present embodiment will be specifically described.

図9は、このプリンタ1の電力モードの遷移態様を示す模式図であり、以下、図中に示す番号順に電力モードの移行(切り替え)を説明する。   FIG. 9 is a schematic diagram showing the power mode transition mode of the printer 1. Hereinafter, the power mode transition (switching) will be described in the order of the numbers shown in the figure.

1.通常電力モードコントローラモード間の移行
1−1. 通常電力モードからコントローラモードへの移行要因は、プロッタ3の動作が一定時間ない場合や、上記した省エネ復帰/移行キー(図示せず)が押された場合等が挙げられる。その際、例えばプロッタ3の動作が一定時間ない場合であれば、CPU21がそれを検知して、パワー・マネージメント・コントローラ10にプロッタ3の電源を遮断するように伝達する。これにより、パワー・マネージメント・コントローラ10が外部電力制御部12を介して信号Gを出力し、この信号Gによりプロッタ3の電源を遮断して、プリンタ1をコントローラモードへ移行させる。
1. 1. Transition between normal power mode and controller mode 1-1. Factors for shifting from the normal power mode to the controller mode include a case where the operation of the plotter 3 is not performed for a certain period of time or a case where the above-described energy saving return / transition key (not shown) is pressed. At this time, for example, if the operation of the plotter 3 is not performed for a predetermined time, the CPU 21 detects this and notifies the power management controller 10 to shut off the power supply of the plotter 3. As a result, the power management controller 10 outputs a signal G via the external power control unit 12, the power of the plotter 3 is shut off by this signal G, and the printer 1 is shifted to the controller mode.

1−2. 逆に、コントローラモードから通常電力モードへの移行要因は、ネットワークに接続された外部ネットワーク装置からの印刷データ、印刷要求の受信、又は省エネ復帰/移行キー(図示せず)が押された場合等が挙げられる。その際、例えば、外部ネットワーク装置より印刷データを受信した場合には、パケット処理部40のフィルタ42からプロッタ復帰要求を含む機器復帰信号Jが出力され、パワー・マネージメント・コントローラ10へ通知される。これにより、パワー・マネージメント・コントローラ10は、外部電力制御部12を介して信号Gを出力し、プロッタ3の電源を復帰させてプロッタ3を通常動作可能状態へ復帰させ、プリンタ1を通常電力モードへ移行させる。その後、印刷データは、パケット処理部40を通過してネットワークコントローラ24を経由し、SDRAM7へ転送される。続いて、CPU21が印刷データを加工し、プロッタ3へ転送することで、プロッタ3から印刷データを印字した用紙を出力する。   1-2. Conversely, the cause of the transition from the controller mode to the normal power mode is that the print data from the external network device connected to the network, the reception of the print request, or the energy saving return / transition key (not shown) is pressed, etc. Is mentioned. At this time, for example, when print data is received from an external network device, a device return signal J including a plotter return request is output from the filter 42 of the packet processing unit 40 and notified to the power management controller 10. As a result, the power management controller 10 outputs the signal G via the external power control unit 12, returns the power of the plotter 3 to return the plotter 3 to the normal operable state, and sets the printer 1 in the normal power mode. To move to. Thereafter, the print data passes through the packet processing unit 40 and is transferred to the SDRAM 7 via the network controller 24. Subsequently, the CPU 21 processes the print data and transfers the print data to the plotter 3, whereby the paper on which the print data is printed is output from the plotter 3.

2.コントローラモード−待機モード間の移行
2−1. コントローラモードから待機モードへの移行要因は、CPU21により処理すべきネットワークデータの受信が一定時間なく、省エネ復帰/移行キー(図示せず)も一定時間押されず、かつ操作部5に対する操作も一定時間ないとき等、一定又は所定時間イベントが発生しなかった場合等が挙げられる。このように、例えばCPU21が一定時間イベントの発生がないことを確認すると、パワー・マネージメント・コントローラ10に対して、CPU21をスリープモードに、SDRAM7をセルフリフレッシュモードへ、コントローラボード2の一部、及び汎用プロセッサ20の一部を省電力状態へ移行するように伝達する。これに応じて、パワー・マネージメント・コントローラ10が信号A、B及び、ボード電力制御部11を介した信号E、Fを出力する。この各信号で、CPU21をスリープモードへ、SDRAM7をセルフリフレッシュモードへ移行させ、コントローラボード2の一部、及び汎用プロセッサ20の一部を省電力状態へ移行させて、プリンタ1を待機モードへ移行させる。
2. Transition between controller mode and standby mode 2-1. The reason for the transition from the controller mode to the standby mode is that the network data to be processed by the CPU 21 is not received for a certain time, the energy saving return / transition key (not shown) is not pressed for a certain time, and the operation on the operation unit 5 is also performed for a certain time. For example, when there is no event for a certain period or for a predetermined time. Thus, for example, when the CPU 21 confirms that no event has occurred for a certain period of time, the CPU 21 is set in the sleep mode, the SDRAM 7 is set in the self-refresh mode, a part of the controller board 2 and the power management controller 10. A part of the general-purpose processor 20 is transmitted to shift to the power saving state. In response to this, the power management controller 10 outputs signals A and B and signals E and F via the board power control unit 11. With these signals, the CPU 21 shifts to the sleep mode, the SDRAM 7 shifts to the self-refresh mode, a part of the controller board 2 and a part of the general-purpose processor 20 shifts to the power saving state, and the printer 1 shifts to the standby mode. Let

2−2. 逆に、待機モードからコントローラモードへの移行要因は、例えばHDD6に格納されている画像データを、外部ネットワーク装置が取得するための蓄積画像読み出し要求パケットの受信等が挙げられる。その際、パケット処理部40のフィルタ42からプロッタ復帰要求を含まない機器復帰信号Jが出力され、パワー・マネージメント・コントローラ10へ通知される。これにより、パワー・マネージメント・コントローラ10は、信号A、B及び、ボード電力制御部11を介した信号E、Fを出力し、CPU21をスリープモードから通常電力モードへ、SDRAM7をセルフリフレッシュモードから通常電力モードへ移行させる。同時に、HDD6等のコントローラボード2の一部、及び汎用プロセッサ20の一部を省電力状態から通常状態へ移行させ、プリンタ1をコントローラモードへ移行させる。この状態で、例えば蓄積画像読み出し要求パケットは、パケット処理部40を通過し、ネットワークコントローラ24等を経由して、SDRAM7へ転送される。また、CPU21がHDD6から指定された画像データを読み出し、ネットワーク上の要求元へ転送することで、外部ネットワーク装置がHDD6中の蓄積画像を取得する。   2-2. On the other hand, the transition factor from the standby mode to the controller mode includes, for example, reception of an accumulated image read request packet for the external network device to acquire image data stored in the HDD 6. At this time, a device return signal J not including a plotter return request is output from the filter 42 of the packet processing unit 40 and notified to the power management controller 10. As a result, the power management controller 10 outputs the signals A and B and the signals E and F via the board power control unit 11, the CPU 21 from the sleep mode to the normal power mode, and the SDRAM 7 from the self-refresh mode to the normal power mode. Switch to power mode. At the same time, a part of the controller board 2 such as the HDD 6 and a part of the general-purpose processor 20 are shifted from the power saving state to the normal state, and the printer 1 is shifted to the controller mode. In this state, for example, the stored image read request packet passes through the packet processing unit 40 and is transferred to the SDRAM 7 via the network controller 24 and the like. Further, the CPU 21 reads the designated image data from the HDD 6 and transfers it to the request source on the network, whereby the external network device acquires the stored image in the HDD 6.

3.待機モード−通常電力モード間の移行
3−1. 待機モードから通常電力モードへの移行要因は、外部ネットワーク装置からの印刷データや印刷要求の受信、又は省エネ復帰/移行キー(図示せず)を押された場合等が挙げられる。その際、例えば外部ネットワーク装置から印刷データを受信した場合は、パケット処理部40のフィルタ42からプロッタ復帰要求を含む機器復帰信号Jが出力され、パワー・マネージメント・コントローラ10へ通知される。これにより、パワー・マネージメント・コントローラ10は、信号Aにより、CPU21をスリープモードから通常電力モードへ、信号Bにより、SDRAM7をセルフリフレッシュモードから通常電力モードへ、それぞれ移行させる。また、パワー・マネージメント・コントローラ10は、ボード電力制御部11を介した信号E及び信号Fにより、コントローラボード2の一部、及び汎用プロセッサ20の一部を省電力状態から通常状態へ移行させる。更に、外部電力制御部12を介した信号Gにより、プロッタ3の電源を復帰させ、プロッタ3を通常動作状態へ復帰させて、プリンタ1を通常電力モードへ移行させる。その後、印刷データは、パケット処理部40を通過してネットワークコントローラ24等を経由し、SDRAM7へ転送される。続いて、CPU21が印刷データを加工し、プロッタ3へ転送することで、プロッタ3から印刷データを印字した用紙を出力する。
3. 3. Transition between standby mode and normal power mode 3-1. Factors for shifting from the standby mode to the normal power mode include receiving print data or a print request from an external network device or pressing an energy saving return / transition key (not shown). At this time, for example, when print data is received from an external network device, a device return signal J including a plotter return request is output from the filter 42 of the packet processing unit 40 and notified to the power management controller 10. Accordingly, the power management controller 10 shifts the CPU 21 from the sleep mode to the normal power mode by the signal A, and shifts the SDRAM 7 from the self-refresh mode to the normal power mode by the signal B. Further, the power management controller 10 shifts a part of the controller board 2 and a part of the general-purpose processor 20 from the power saving state to the normal state by the signals E and F via the board power control unit 11. Further, the power of the plotter 3 is restored by the signal G via the external power control unit 12, the plotter 3 is restored to the normal operation state, and the printer 1 is shifted to the normal power mode. Thereafter, the print data passes through the packet processing unit 40 and is transferred to the SDRAM 7 via the network controller 24 and the like. Subsequently, the CPU 21 processes the print data and transfers the print data to the plotter 3, whereby the paper on which the print data is printed is output from the plotter 3.

次に、以上のように、電力モードを通常電力モードと省電力モードに切り替えて、受信したパケットをパケット処理部40等により処理する、プリンタ1のパケット処理手順を含む情報処理手順について説明する。図10は、このプリンタ1によるパケット処理手順の流れを示すフローチャートである。   Next, an information processing procedure including the packet processing procedure of the printer 1 for switching the power mode between the normal power mode and the power saving mode and processing the received packet by the packet processing unit 40 and the like as described above will be described. FIG. 10 is a flowchart showing a flow of a packet processing procedure by the printer 1.

ここで、本実施形態のプリンタ1は、PHY15から受信したパケットの処理を、上記した通常電力モード又は第1の省電力モード(ここではコントローラモード)時に汎用プロセッサ20で行う第1の処理工程と、第2の省電力モード(ここでは待機モード)時にパケット処理部40で行う第2の処理工程とにより行う。その際、まず、図示のように、上記した各条件の成立に伴い(図9参照)、プリンタ1を、通常電力モード又はコントローラモードから待機モードに移行させて、その電力モードを切り替える(ステップS101)。   Here, the printer 1 of the present embodiment includes a first processing step in which the general-purpose processor 20 processes the packet received from the PHY 15 in the normal power mode or the first power saving mode (here, the controller mode). The second processing step performed by the packet processing unit 40 in the second power saving mode (here, the standby mode) is performed. At that time, as shown in the figure, first, with the establishment of the above-described conditions (see FIG. 9), the printer 1 is shifted from the normal power mode or the controller mode to the standby mode, and the power mode is switched (step S101). ).

次に、ネットワーク及びPHY15を介してパケットを受信するまで待機する(ステップS102:NO)。この待機モード時に、パケットを受信すると(ステップS102、YES)、パケット処理部40(フィルタ42)により第1の判定工程を実行し、受信したパケットに応じて、そのパケットの処理の要・不要を判定する(ステップS103)。その際、例えば、パケット処理部40により、受信したパケットに含まれるアドレスに基づいてパケットフィルタリングを行う等して、処理不要と判定されたときには(ステップS103、NO)、パケット処理部40により受信したパケットを破棄して(ステップS104)、次のパケットの受信を待つ(ステップS102)。   Next, it waits until a packet is received through the network and the PHY 15 (step S102: NO). When a packet is received in this standby mode (step S102, YES), the first determination process is executed by the packet processing unit 40 (filter 42), and whether or not processing of the packet is necessary or unnecessary depending on the received packet. Determination is made (step S103). At that time, for example, when the packet processing unit 40 performs packet filtering based on the address included in the received packet and determines that the processing is unnecessary (NO in step S103), the packet processing unit 40 receives the packet. The packet is discarded (step S104), and reception of the next packet is awaited (step S102).

一方、パケットの処理が必要(処理要)と判定されたときには(ステップS103、YES)、パケット処理部40により第2の判定工程を実行し、受信したパケットのパケット処理部40での処理の可・不可を判定する(ステップS105)。その結果、処理可と判定されたときには(ステップS105、YES)、この待機モードを維持して、上記したパケット処理部40による第2の処理工程を実行する。具体的には、本実施形態では、まず、パケット処理部40のパケットエンジン45により、受信パケットに応じた応答パケットを作成する(ステップS106)。続いて、この応答パケットを、パケット処理部40からPHY15を介して、接続されたネットワークへ送信した後(ステップS107)、次のパケットの受信(ステップS102)まで、上記と同様に待機モードのまま待機する。   On the other hand, when it is determined that processing of the packet is necessary (processing is required) (YES in step S103), the packet processing unit 40 executes the second determination process, and the received packet can be processed by the packet processing unit 40. -Impossibility is determined (step S105). As a result, when it is determined that processing is possible (step S105, YES), this standby mode is maintained and the second processing step by the packet processing unit 40 described above is executed. Specifically, in this embodiment, first, the packet engine 45 of the packet processing unit 40 creates a response packet corresponding to the received packet (step S106). Subsequently, after the response packet is transmitted from the packet processing unit 40 to the connected network via the PHY 15 (step S107), it remains in the standby mode as described above until the next packet is received (step S102). stand by.

これに対し、第2の判定工程で処理不可と判定されたときには(ステップS105、NO)、プリンタ1の電力モードを、上記した汎用プロセッサ20で受信したパケットを処理する第1の処理工程を行う電力モードに切り替える(ステップS108)。その際、パケット処理部40から各種信号Jを出力して、パワー・マネージメント・コントローラ10により、電力モードを、待機モードからコントローラモード又は通常電力モードに移行させて切り替える。次に、電力モードが汎用プロセッサ20による第1の処理工程が可能な電力モードに切り替えられた後に、汎用プロセッサ20が、パケット処理部40から、受信したパケットと、上記したパケット処理部40が電力モードの切り替え前に受信した他のパケットに関するデータを取得する(ステップS109)。   On the other hand, when it is determined in the second determination step that processing is not possible (step S105, NO), the first processing step for processing the packet received by the general-purpose processor 20 is performed as the power mode of the printer 1. Switch to the power mode (step S108). At that time, various signals J are output from the packet processing unit 40, and the power management controller 10 switches the power mode from the standby mode to the controller mode or the normal power mode. Next, after the power mode is switched to the power mode in which the first processing step by the general-purpose processor 20 is possible, the general-purpose processor 20 receives the packet received from the packet processing unit 40 and the packet processing unit 40 described above Data relating to other packets received before the mode switching is acquired (step S109).

また、このプリンタ1では、電力モードに応じて、パケット処理部40の受信したパケットの処理経路を、パケット処理部内処理経路と汎用プロセッサ20への転送経路(図3、図4参照)とに切り替えるようになっており、ここでは、パケット処理経路を転送経路に切り替える(ステップS110)。ただし、このパケットの処理経路の切り替えは、パケット処理部40にパケットが存在しないときに行う。一方、汎用プロセッサ20では、受信したパケットの種類や要求内容等に応じて、画像データの転送や印刷を行う等、各パケットに応じた処理を実行する(ステップS111)。続いて、汎用プロセッサ20は、パケットの受信及び、その処理が終了するまで、各パケットの処理を行い(ステップS112、NO、ステップS111)、それらが終了して(ステップS112、YES)、上記と同様に、所定の条件が成立したときに電力モードが待機モードに切り替えられる(ステップS101)。   In the printer 1, the processing path of the packet received by the packet processing unit 40 is switched between the processing path in the packet processing unit and the transfer path to the general-purpose processor 20 (see FIGS. 3 and 4) according to the power mode. Here, the packet processing path is switched to the transfer path (step S110). However, this packet processing path switching is performed when there is no packet in the packet processing unit 40. On the other hand, the general-purpose processor 20 executes processing corresponding to each packet, such as transfer of image data or printing, according to the type of received packet, request content, or the like (step S111). Subsequently, the general-purpose processor 20 processes each packet (step S112, NO, step S111) until the reception and processing of the packet are completed (step S112, NO, step S111). Similarly, the power mode is switched to the standby mode when a predetermined condition is satisfied (step S101).

以上説明したように、本実施形態のプリンタ1では、図11に一例を示すパケット処理部40を備えていない従来のプリンタ1100に対して、PHY15(図1参照)と汎用プロセッサ20(ネットワークコントローラ24)とをパケット処理部40を介して接続し、ネットワークからのパケットを、パケット処理部40を介して受信する。その際、このパケット処理部40により、プリンタ1が所定の省電力モードであるときに、パケット処理の要否や可否を判定して、CPU21等を介さずに、受信したパケットの破棄や応答パケットの送信等、所定のパケット処理を行うため、パケット受信のたびに、CPU21等を通常電力モードに復帰させる必要がない。そのため、プリンタ1の省電力モード時に、パケット受信による省電力モードからの復帰や電力モードの移行を抑制でき、CPU21や汎用プロセッサ20を含むプリンタ1内の各部を、より長時間に亘って省電力モードに維持することができる。   As described above, in the printer 1 of the present embodiment, the PHY 15 (see FIG. 1) and the general-purpose processor 20 (network controller 24) are compared with the conventional printer 1100 that does not include the packet processing unit 40 shown in FIG. Are connected via the packet processing unit 40, and packets from the network are received via the packet processing unit 40. At this time, when the printer 1 is in a predetermined power saving mode, the packet processing unit 40 determines whether or not packet processing is necessary or not, and discards the received packet or sends a response packet without using the CPU 21 or the like. Since predetermined packet processing such as transmission is performed, it is not necessary to return the CPU 21 or the like to the normal power mode every time a packet is received. For this reason, when the printer 1 is in the power saving mode, the return from the power saving mode due to packet reception and the shift of the power mode can be suppressed, and each unit in the printer 1 including the CPU 21 and the general-purpose processor 20 Can be maintained in mode.

このように、このプリンタ1では、省電力モードを維持しつつパケットを受信することができるため、従来に比べて、低消費電力状態にある時間を長くすることができ、装置全体としての消費電力を低減することができる。併せて、ネットワークコントローラ24とパケット処理部40、及びPHY15を、例えば汎用なPHYインターフェースにより接続することで、上記各効果が得られるため、MAC等を搭載した汎用的なプロセッサにおいても、省エネ状態を維持するためのパケット処理機能を簡便かつ容易に追加することができる。   As described above, since the printer 1 can receive a packet while maintaining the power saving mode, the time in the low power consumption state can be increased as compared with the conventional case, and the power consumption of the entire apparatus can be increased. Can be reduced. In addition, the network controller 24, the packet processing unit 40, and the PHY 15 can be connected to each other through, for example, a general-purpose PHY interface. Thus, the above-described effects can be obtained. A packet processing function for maintaining can be easily and easily added.

また、システム(又は装置)のパフォーマンスに応じて多種多様なプロセッサを採用する機器においても、同一のパケット処理部40を追加するだけで省電力モード時のパケット処理機能を追加でき、同様の効果が得られるため、ASIC等からなるプロセッサの開発費を低く抑えることができる。その結果、各機器の省電力モード機能の効果を向上できるとともに、様々な機種の消費電力の低減を低コストで実現でき、全体としてのコストを低減することができる。同時に、ここでは、インターフェースが汎用なものでよいため、同一のパケット処理部40を、汎用、非汎用を問わず大多数のプロセッサで使用でき、トータルコストを低減することができる。同様に、このパケット処理部40によれば、従来の機器に対しても、簡単に上記した機能を追加できるとともに、通常電力モード時の動作は機能追加前と変わらないため、少ないソフトウェア等の変更で前記機能を追加することができる。   In addition, even in a device that employs a wide variety of processors according to the performance of the system (or apparatus), a packet processing function in the power saving mode can be added simply by adding the same packet processing unit 40, and the same effect can be obtained. Therefore, the development cost of a processor made of ASIC or the like can be kept low. As a result, the effect of the power saving mode function of each device can be improved, and the power consumption of various models can be reduced at a low cost, and the overall cost can be reduced. At the same time, since a general-purpose interface may be used here, the same packet processing unit 40 can be used by a large number of processors regardless of general-purpose or non-general-purpose, and the total cost can be reduced. Similarly, according to the packet processing unit 40, the above-described functions can be easily added to conventional devices, and the operation in the normal power mode is not different from that before the addition of functions, and therefore, a small change in software, etc. The above function can be added.

更に、例えばCPUのPCI等の外部バスに受信したパケットを処理等するための専用ネットワークコントローラを接続する場合には、汎用プロセッサ20が有するネットワーク処理機能が無駄になるが、このプリンタ1では、そのような無駄を抑制することができる。即ち、ここでは、汎用プロセッサ20が省エネ状態から通常状態に復帰した後は、汎用プロセッサ20が有する高機能なネットワーク処理機能を完全に使用できるため、その機能が無駄にならず有効に活用することができる。同時に、このプリンタ1では、上記のようにPCIバス機能等のネットワーク通信等には関係ない機能部を装置内に別途搭載する必要がなく、パケット処理部40に、ネットワークに関わる機能、消費電力低減に関わるパケット処理機能のみを持たせるだけでよいため、装置の構成が比較的複雑化せず、かつ装置全体のコストを低く抑えることができる。   Further, when a dedicated network controller for processing received packets is connected to an external bus such as a PCI of a CPU, for example, the network processing function of the general-purpose processor 20 is wasted. Such waste can be suppressed. That is, here, after the general-purpose processor 20 returns from the energy-saving state to the normal state, the high-performance network processing function of the general-purpose processor 20 can be completely used, so that the function can be effectively utilized without being wasted. Can do. At the same time, in the printer 1, it is not necessary to separately install a function unit not related to network communication such as a PCI bus function as described above in the apparatus, and the packet processing unit 40 has functions related to the network and power consumption reduction. Therefore, the configuration of the apparatus is not relatively complicated, and the cost of the entire apparatus can be kept low.

従って、本実施形態によれば、省電力モード機能を有するプリンタ1を省電力モードに維持しながらネットワークを介して受信した所定のパケットを処理することができ、その消費電力を低減しつつコストの上昇を抑制することができる。   Therefore, according to the present embodiment, it is possible to process a predetermined packet received via the network while maintaining the printer 1 having the power saving mode function in the power saving mode, thereby reducing the power consumption and reducing the cost. The rise can be suppressed.

ここで、所定の省電力モード時に、本実施形態のパケット処理部40は、受信したパケットに応じて、その処理の可・不可を判定し、プリンタ1の電力モードをより消費電力が大きい電力モードに移行させるための信号を出力可能である。即ち、パケット処理部40は、例えば汎用プロセッサ20がスリープモードの時に、受信したパケットが汎用プロセッサ20での処理が必要であると判定すると、汎用プロセッサ20をスリープモードから復帰させる信号を出力する等して、電力モードの切り替えを要求する手段を有する。そのため、パケットを受信した際に、CPU等を省電力モード状態から復帰させる機能を有さないプロセッサを備えた装置においても、このパケット処理部40を設けることで、ネットワークからのパケットを受信可能な状態で、省電力モードへ移行させることが可能となり、そのような装置の消費電力を効果的に低減することができる。   Here, in a predetermined power saving mode, the packet processing unit 40 according to the present embodiment determines whether the processing is possible or not according to the received packet, and sets the power mode of the printer 1 to a power mode with higher power consumption. It is possible to output a signal for shifting to. That is, for example, when the general-purpose processor 20 is in the sleep mode and the packet processing unit 40 determines that the received packet needs to be processed by the general-purpose processor 20, the packet processing unit 40 outputs a signal for returning the general-purpose processor 20 from the sleep mode. And means for requesting switching of the power mode. For this reason, even when a packet is received, a device having a processor that does not have a function of returning the CPU or the like from the power saving mode state can receive a packet from the network by providing this packet processing unit 40. In the state, it becomes possible to shift to the power saving mode, and the power consumption of such a device can be effectively reduced.

また、このパケット処理部40は、プリンタ1の電力モードに応じてパケットの処理経路を切り替える切替部を有する。これにより、パケット処理部40は、汎用プロセッサ20がスリープモードでなく、受信したパケットを処理可能な状態であるときには、受信したパケットを処理せずに、そのまま汎用プロセッサ20に転送することができる。その結果、同状態にある汎用プロセッサ20へ受信パケットが到達するまでのレイテンシ(遅延時間)を削減できるとともに、連続的に受信確認を行いながらデータ転送を行う場合等では、データ転送のスループットを向上させることもできる。   Further, the packet processing unit 40 includes a switching unit that switches a packet processing path in accordance with the power mode of the printer 1. Thereby, when the general-purpose processor 20 is not in the sleep mode and is in a state where the received packet can be processed, the packet processing unit 40 can transfer the received packet as it is to the general-purpose processor 20 without processing. As a result, the latency (delay time) until the received packet reaches the general-purpose processor 20 in the same state can be reduced, and the data transfer throughput can be improved when performing data transfer while continuously confirming reception. It can also be made.

更に、この切替部によるパケット処理部40の状態の切り替えを、上記したように、パケット処理部40にパケットが存在しないときに行うことにより、複数の受信パケットの転送順序が変わってしまう不具合や、複数の受信パケットのデータが混在してしまう不具合を簡単な構成で防止することができる。また、このパケット処理部40のように、内部の各部により、受信パケットの解析と、その破棄、受信パケットに対する応答パケットの作成及び送信等を行うことで、プリンタ1やプロセッサの省電力モードをより長く維持することができ、その消費電力をより一層低く抑えることができる。   Further, the switching of the state of the packet processing unit 40 by the switching unit when the packet does not exist in the packet processing unit 40 as described above, the transfer order of a plurality of received packets is changed, A problem that data of a plurality of received packets are mixed can be prevented with a simple configuration. Further, like the packet processing unit 40, each internal unit analyzes and discards the received packet, creates and transmits a response packet to the received packet, and the power saving mode of the printer 1 and the processor is further improved. It can be maintained for a long time, and its power consumption can be further reduced.

加えて、ここでは、パケットの受信により電力モードがより消費電力が大きい電力モードに切り替えられた後に、上記したように、汎用プロセッサ20がパケット処理部40にアクセス等して、パケット処理部40から電力モードの切り替え前に受信したパケットに関する所定のデータを取得する。これに伴い、汎用プロセッサ20は、例えばパケット処理部40がCPU21を介さずに行ったパケット処理内容等を取得して把握できるため、次にCPU21が行う処理を正しく適切に行うことができ、それらが阻害されることに起因する各種の不具合を確実に防止することができる。   In addition, here, after the power mode is switched to the power mode with higher power consumption due to the reception of the packet, the general-purpose processor 20 accesses the packet processing unit 40 and the like from the packet processing unit 40 as described above. Predetermined data relating to a packet received before switching of the power mode is acquired. Accordingly, for example, the general-purpose processor 20 can acquire and grasp the packet processing content and the like performed by the packet processing unit 40 without using the CPU 21, so that the next processing performed by the CPU 21 can be performed properly and appropriately. It is possible to reliably prevent various inconveniences caused by obstruction.

なお、本実施形態では、パケット処理部40のフィルタ42により、汎用プロセッサ20が受信したパケットを処理できない状態(待機モード)のときにパケットフィルリングを行ったが、汎用プロセッサ20が他の状態のときにもパケットフィルタリングを行うようにしてもよい。このパケットフィルタリング処理は、例えば、フィルタ42と同様のフィルタを、パケット処理部40の受信したパケットをスルーして汎用プロセッサ20に転送する経路(図3参照)中に設けて行う。又は、パケット処理部40に新たなセレクタ等を設けて、各セレクタの切り替えにより、受信したパケットをそのままスルーさせずに、フィルタ42を介して汎用プロセッサ20に伝達させる等して、受信した各パケットを処理できるようにしてもよい。   In this embodiment, packet filtering is performed when the packet received by the general-purpose processor 20 cannot be processed by the filter 42 of the packet processing unit 40 (standby mode). However, the general-purpose processor 20 is in another state. Sometimes packet filtering may be performed. This packet filtering process is performed, for example, by providing a filter similar to the filter 42 in a path (see FIG. 3) through which the packet received by the packet processing unit 40 is passed and transferred to the general-purpose processor 20. Alternatively, a new selector or the like is provided in the packet processing unit 40, and by switching each selector, each received packet is transmitted to the general-purpose processor 20 via the filter 42 without passing through the received packet as it is. May be processed.

このようにして、汎用プロセッサ20が受信したパケットを処理可能な状態(ここでは通常電力モード又はコントローラモード)であるときに、パケット処理部40のアドレスフィルタを作動させ、受信したパケットに含まれるアドレスに基づいてパケットフィルタリングを行うようにした場合には、装置全体のデータ処理効率を向上させることができる。即ち、例えばイーサネット(登録商標)フレームの先頭には、宛先MACアドレスや送信元MACアドレスが存在するため、受信パケットの各MACアドレスを基にフィルタリングを行うことは容易である。そのため、このようにアドレスフィルタリングを行ってから、受信したパケットを汎用プロセッサ20へ転送する際のレイテンシは、受信パケット全体を走査する場合に比べて低く(小さく)なる。   In this way, when the general-purpose processor 20 is in a state in which the received packet can be processed (in this case, the normal power mode or the controller mode), the address filter of the packet processing unit 40 is activated and the address included in the received packet. When packet filtering is performed based on the above, the data processing efficiency of the entire apparatus can be improved. That is, for example, since the destination MAC address and the source MAC address exist at the head of the Ethernet (registered trademark) frame, it is easy to perform filtering based on each MAC address of the received packet. Therefore, the latency when the received packet is transferred to the general-purpose processor 20 after performing address filtering in this way is lower (smaller) than when scanning the entire received packet.

従って、パケット処理部40にアドレスフィルタがあるときには、プリンタ1の電力モード(省電力モード及び通常電力モードを含む)に関わらず、アドレスフィルタを作動させて、受信パケットに含まれるアドレスに基づいてパケットフィルタリングの処理を行うのが望ましい。このようにすることで、汎用プロセッサ20への受信パケットの転送におけるレイテンシを低く抑えたまま、汎用プロセッサ20により処理する必要がない不要なパケットを破棄することができる。その結果、汎用プロセッサ20のCPU21等の負担を軽減でき、装置全体のデータ処理効率を向上させることができる。   Therefore, when the packet processing unit 40 has an address filter, the address filter is operated regardless of the power mode of the printer 1 (including the power saving mode and the normal power mode), and the packet is based on the address included in the received packet. It is desirable to perform filtering processing. In this way, unnecessary packets that do not need to be processed by the general-purpose processor 20 can be discarded while the latency in transferring the received packet to the general-purpose processor 20 is kept low. As a result, the burden on the CPU 21 of the general-purpose processor 20 can be reduced, and the data processing efficiency of the entire apparatus can be improved.

また、本実施形態と異なり、汎用プロセッサ20中のネットワークコントローラ24が、特定のパケット等の信号の受信によりCPU21を復帰等させる機能を有する場合には、パケット処理部40とパワー・マネージメント・コントローラ10とを、機器復帰信号Jの出力経路で接続しなくてもよい。この場合には、パケット処理部40で処理できないパケット等の所定の信号をネットワークコントローラ24に転送するだけで、CPU21の復帰や装置各部の電力モードの切り替えを行うことができる。   Unlike the present embodiment, when the network controller 24 in the general-purpose processor 20 has a function of returning the CPU 21 by receiving a signal such as a specific packet, the packet processing unit 40 and the power management controller 10 May not be connected through the output path of the device return signal J. In this case, the CPU 21 can be restored and the power mode of each part of the apparatus can be switched simply by transferring a predetermined signal such as a packet that cannot be processed by the packet processing unit 40 to the network controller 24.

(実施の形態2)
実施の形態1では、パケット処理部40を汎用プロセッサ20に設けたシリアル・I/F29に接続したが、パケット処理部40は、他の接続手段により汎用プロセッサ20に接続してもよい。
(Embodiment 2)
Although the packet processing unit 40 is connected to the serial I / F 29 provided in the general-purpose processor 20 in the first embodiment, the packet processing unit 40 may be connected to the general-purpose processor 20 by other connection means.

図12は、実施の形態2のプリンタ1200の概略構成例を示すブロック図である。図12では、パケット処理部40の接続を替えたプリンタ1200の構成を示している。   FIG. 12 is a block diagram illustrating a schematic configuration example of the printer 1200 according to the second embodiment. FIG. 12 shows a configuration of the printer 1200 in which the connection of the packet processing unit 40 is changed.

本実施の形態のプリンタ1200では、図示のように、パケット処理部40を、汎用バス32を介して、汎用プロセッサ20の内部バス30に接続(他の構成は図1に示すプリンタ1と同様)し、それらを介してパケット処理部40とCPU21とを通信させるようになっている。このように、パケット処理部40は、シリアル・I/F29を介さずに、バスにより直接CPU21と通信させるようにしてもよい。   In the printer 1200 of this embodiment, as shown in the figure, the packet processing unit 40 is connected to the internal bus 30 of the general-purpose processor 20 via the general-purpose bus 32 (other configurations are the same as those of the printer 1 shown in FIG. 1). The packet processing unit 40 and the CPU 21 communicate with each other through these. As described above, the packet processing unit 40 may communicate directly with the CPU 21 via the bus without using the serial I / F 29.

(実施の形態3)
実施の形態1および2では、パケットエンジン45によりパケットの処理が可能であると判断した場合に、応答パケットを生成したが、本実施の形態では、パケットの処理が可能であると判断した場合であっても、さらにパケットの処理をパケット処理部40で行うか否かを判断する。
(Embodiment 3)
In the first and second embodiments, the response packet is generated when the packet engine 45 determines that the packet can be processed. However, in the present embodiment, the packet is processed when it is determined that the packet can be processed. Even if it exists, it is determined whether or not the packet processing unit 40 further processes the packet.

図13は、実施の形態3のプリンタ1300の概略構成を示すブロック図である。本実施の形態のプリンタ1300では、コントローラボード1302のパケット処理部1340の機能が実施の形態1と異なっている。パケット処理部1340以外の構成は実施の形態1と同様である。   FIG. 13 is a block diagram illustrating a schematic configuration of a printer 1300 according to the third embodiment. In the printer 1300 of this embodiment, the function of the packet processing unit 1340 of the controller board 1302 is different from that of the first embodiment. The configuration other than the packet processing unit 1340 is the same as that of the first embodiment.

本実施の形態のパケット処理部1340は、実施の形態1と同様に、パケットのパケット処理部1340での処理が可能であるか否かを判断するが、処理可能であると判断した場合に、さらに、パケットのパケット処理部1340での処理を行うか否かを判断する。そして、処理を行うと判断した場合には、パケットエンジン45で応答パケットを生成する。一方、パケット処理部1340は、パケット処理部1340でパケットの処理を行わないと判断した場合には、パケットを汎用プロセッサ20に送信して、かつ電力モードを通常電力モードに切り換える指令を行う。   The packet processing unit 1340 according to the present embodiment determines whether or not the packet processing unit 1340 can process the packet, as in the first embodiment. Further, it is determined whether or not to process the packet in the packet processing unit 1340. If it is determined that processing is to be performed, the packet engine 45 generates a response packet. On the other hand, when the packet processing unit 1340 determines that the packet processing unit 1340 does not process the packet, the packet processing unit 1340 transmits the packet to the general-purpose processor 20 and issues a command to switch the power mode to the normal power mode.

パケット処理部1340で処理が可能であっても処理を行わない場合とは、以下のような場合があげられる。例えば、パケットエンジン45が汎用プロセッサ20のCPU21より処理能力の低いCPUで構成されており、応答パケットの生成処理などパケットに関する処理をパケット処理部1340のROMに記憶されたプログラムをパケットエンジン45としてのCPUで実行することにより行う場合を考える。このような構成において、例えば、受信したパケットが暗号化されたパケットであり、この暗号化されたパケットをを復号化する場合、パケット処理部1340のパケットエンジン45(CPU)で実行される復号化プログラムで処理可能であるが、処理速度が遅い。   The case where the packet processing unit 1340 can perform processing but does not perform processing includes the following cases. For example, the packet engine 45 is composed of a CPU having a processing capacity lower than that of the CPU 21 of the general-purpose processor 20, and a program stored in the ROM of the packet processing unit 1340 is used as a packet engine 45 for processing related to packets such as response packet generation processing. Let us consider a case where the processing is executed by the CPU. In such a configuration, for example, when the received packet is an encrypted packet and the encrypted packet is decrypted, the decryption executed by the packet engine 45 (CPU) of the packet processing unit 1340 It can be processed by a program, but the processing speed is slow.

一方、汎用プロセッサ20のCPU21は、パケット処理部1340のパケットエンジン45(CPU)よりも処理能力が高いため、CPU21が有する暗号処理エンジンを使用して復号化処理を行った方が処理を高速する実行することができる。従って、このような場合に、パケット処理部1340で処理を行わないと判断し、暗号化されたパケットを汎用プロセッサ20に送信する。   On the other hand, since the CPU 21 of the general-purpose processor 20 has a higher processing capability than the packet engine 45 (CPU) of the packet processing unit 1340, the decryption process using the encryption processing engine of the CPU 21 speeds up the process. Can be executed. Therefore, in such a case, it is determined that the packet processing unit 1340 does not perform processing, and the encrypted packet is transmitted to the general-purpose processor 20.

なお、本実施の形態では、パケット処理部1340でパケットの処理を行わないと判断した場合に、パケットを汎用プロセッサ20に送信して、汎用プロセッサ20で応答パケットを生成しているが、これに限定されるものではない。例えば、パケット処理部1340でパケットの処理を行わないと判断した場合には、応答パケットの生成や送信を行わないように構成してもよい。   In this embodiment, when the packet processing unit 1340 determines not to process a packet, the packet is transmitted to the general-purpose processor 20 and the general-purpose processor 20 generates a response packet. It is not limited. For example, when it is determined that the packet processing unit 1340 does not process a packet, a response packet may not be generated or transmitted.

このような例としては、例えば、特定のIPアドレスから受信したパケットに対しては応答パケットを送信したくない場合がある。すなわち、パケット処理部1340ではPING要求、ARP要求などパケットに対しては応答パケットの生成処理が可能であるが、上記特定のIPアドレスから受信したパケットに対しては汎用プロセッサ20へパケットを送信することを行わず、また、パケット処理部1340で応答パケットの生成も行わないように構成することができる。   For example, there is a case where it is not desired to transmit a response packet for a packet received from a specific IP address. That is, the packet processing unit 1340 can generate a response packet for a packet such as a PING request or an ARP request, but transmits a packet to the general-purpose processor 20 for a packet received from the specific IP address. The packet processing unit 1340 can be configured not to generate a response packet.

次に、以上のように構成された実施の形態3のパケット処理について説明する。図14は、実施の形態3のパケット処理の手順を示すフローチャートである。   Next, packet processing according to the third embodiment configured as described above will be described. FIG. 14 is a flowchart illustrating a procedure of packet processing according to the third embodiment.

ここで、ステップS201からS205までの処理については、実施の形態1と同様に行われる。ステップS205で、パケットの処理が可能であると判断された場合には(ステップS205:Yes)、パケット処理部1340は、さらに、パケットの処理を行うか否かを判断する(ステップS206)。   Here, the processing from step S201 to S205 is performed in the same manner as in the first embodiment. If it is determined in step S205 that the packet can be processed (step S205: Yes), the packet processing unit 1340 further determines whether or not to process the packet (step S206).

そして、パケットの処理を行うと判断した場合には(ステップS206:Yes)、実施の形態1と同様に、パケット処理部40のパケットエンジン45により、受信パケットに応じた応答パケットを作成する(ステップS207)。続いて、この応答パケットを、パケット処理部40からPHY15を介して、接続されたネットワークへ送信した後(ステップS208)、次のパケットの受信(ステップS202)まで、待機モードのまま待機する。   If it is determined that the packet is to be processed (step S206: Yes), a response packet corresponding to the received packet is created by the packet engine 45 of the packet processing unit 40 as in the first embodiment (step S206). S207). Subsequently, the response packet is transmitted from the packet processing unit 40 to the connected network via the PHY 15 (step S208), and then waits in the standby mode until the next packet is received (step S202).

一方、ステップS206において、パケットの処理をパケット処理部1340で行わないと判断された場合には(ステップS206:No)、プリンタ1300の電力モードを、汎用プロセッサ20で受信したパケットを処理する第1の処理工程を行う電力モードに切り替える(ステップS209)。その後のステップS210からS213までの処理は、実施の形態1のステップS109からS112までの処理と同様に行われる。   On the other hand, if it is determined in step S206 that the packet processing unit 1340 does not process the packet (step S206: No), the power mode of the printer 1300 is set to the first processor that processes the packet received by the general-purpose processor 20. It switches to the electric power mode which performs the process process of (step S209). The subsequent processing from step S210 to S213 is performed in the same manner as the processing from step S109 to S112 in the first embodiment.

このように本実施の形態では、パケットの処理が可能であると判断した場合であっても、さらにパケットの処理をパケット処理部40で行うか否かを判断しているので、パケット処理の効率化を図ることができる。特に、パケット処理部1340がソフトウェアで構成されている場合に、高い処理能力が必要なパケット処理については、パケット処理部1340で処理を行わないと判断して、処理能力の高い汎用プロセッサ20に行わせることにより、パケット処理の高速化を図ることができる。   As described above, in this embodiment, even when it is determined that the packet processing is possible, it is determined whether or not the packet processing unit 40 further performs the packet processing. Can be achieved. In particular, when the packet processing unit 1340 is configured by software, packet processing that requires high processing capability is determined not to be processed by the packet processing unit 1340 and is performed by the general-purpose processor 20 having high processing capability. By doing so, it is possible to increase the speed of packet processing.

以上、パケット処理部40,1340をプリンタに設けた例を説明したが、パケット処理部40、1340は、コントローラボード2等にそれぞれ設けられるPHY15と汎用プロセッサ20(ネットワークコントローラ24)との間に設けられて通信を仲介し、ネットワークを介して受信したパケットの処理を行うネットワーク処理デバイスとしても実現することができる。即ち、ネットワーク処理デバイスに、情報処理装置が省電力モードであるときに、PHYを介して受信した所定のパケットに応じて、そのパケットの処理の要・不要及び可・不可を判定する上記した第1及び第2の部を有するパケット処理部を設ける。このネットワーク処理デバイスを介してPHYとプロセッサとを接続することで、装置の省電力モードからの復帰や電力モードの移行を抑制できる等、上記と同様の各効果を得ることができる。   The example in which the packet processing units 40 and 1340 are provided in the printer has been described above. However, the packet processing units 40 and 1340 are provided between the PHY 15 provided on the controller board 2 and the like and the general-purpose processor 20 (network controller 24). Thus, it can also be realized as a network processing device that mediates communication and processes packets received via the network. That is, when the information processing apparatus is in the power saving mode, the network processing device determines whether the processing of the packet is necessary / unnecessary and possible / impossible according to a predetermined packet received via the PHY. A packet processing unit having a first unit and a second unit is provided. By connecting the PHY and the processor via the network processing device, it is possible to obtain the same effects as described above, for example, the device can be prevented from returning from the power saving mode and the power mode can be suppressed.

また、実施の形態1〜3のパケット処理部40,1340やその他の構成をハードウェアで構成する他、ソフトウェアで構成してもよい。   In addition, the packet processing units 40 and 1340 of the first to third embodiments and other configurations may be configured by software in addition to hardware.

すなわち、プリンタ1,1200,1300を例に説明した情報処理装置の情報処理方法の各手順(工程)を、コンピュータで実行させるためのプログラムとして、汎用のプログラム言語により記述することでも実現することができる。併せて、このプログラムをフレキシブルディスク、CD−ROM、DVD−ROM、又はMO等、任意のコンピュータ読み取り可能な記録媒体に記録し、これをコンピュータで読み取らせることで容易に実施することができる。   That is, each procedure (step) of the information processing method of the information processing apparatus described using the printers 1, 1200, and 1300 as an example can be realized by describing in a general-purpose program language as a program to be executed by a computer. it can. In addition, the program can be easily implemented by recording the program on an arbitrary computer-readable recording medium such as a flexible disk, CD-ROM, DVD-ROM, or MO, and causing the computer to read the program.

なお、本発明は、上記実施の形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施の形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施の形態に示される全構成要素からいくつかの構成要素を削除してもよい。さらに、異なる実施の形態にわたる構成要素を適宜組み合わせても良い。   It should be noted that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

1,1100,1200・・・プリンタ
2・・・コントローラボード
3・・・プロッタ
4・・・プロセッサクロック生成部
5・・・操作部
6・・・HDD
7・・・SDRAM
8・・・ROM
10・・・パワー・マネージメント・コントローラ
11・・・ボード電力制御部
12・・・外部電力制御部
15・・・PHY
16・・・PHYクロック生成部
20・・・汎用プロセッサ
21・・・CPU
22・・・クロックジェネレータ
23・・・SDRAMコントローラ
24・・・ネットワークコントローラ
25・・・USB・I/F
26・・・HDD・I/F
27・・・I/O・I/F
28・・・PCI・I/F
29・・・シリアル・I/F
30・・・内部バス
31,32・・・汎用バス
40,1340・・・パケット処理部
41・・・MAC
42・・・フィルタ
43・・・FIFO
44・・・内部レジスタ
45・・・パケットエンジン
46・・・セレクタa
47・・・セレクタb
48・・・セレクタc
DESCRIPTION OF SYMBOLS 1,1100,1200 ... Printer 2 ... Controller board 3 ... Plotter 4 ... Processor clock generation part 5 ... Operation part 6 ... HDD
7 ... SDRAM
8 ... ROM
DESCRIPTION OF SYMBOLS 10 ... Power management controller 11 ... Board power control part 12 ... External power control part 15 ... PHY
16 ... PHY clock generator 20 ... General-purpose processor 21 ... CPU
22 ... Clock generator 23 ... SDRAM controller 24 ... Network controller 25 ... USB I / F
26 ... HDD I / F
27 ... I / O ・ I / F
28 ... PCI I / F
29 ... Serial I / F
30 ... Internal bus 31,32 ... General-purpose bus 40,1340 ... Packet processing unit 41 ... MAC
42 ... Filter 43 ... FIFO
44 ... Internal register 45 ... Packet engine 46 ... Selector a
47 ... selector b
48 ... selector c

特開2007−148681号公報JP 2007-148681 A 特開2004−362282号公報JP 2004-362282 A

本発明は、ネットワークに接続され、電力モードの切り換えが可能なパケット処理回路、パケット処理方法およびプログラムに関する。 The present invention relates to a packet processing circuit , a packet processing method, and a program that are connected to a network and can switch power modes.

本発明は、上記に鑑みてなされたものであって、電力モードを省電力モード又は通常電力モードに切り替え可能な情報処理装置を省電力モードに維持しながら、ネットワークを介して受信した所定のパケットの処理を可能にし、その消費電力を低減しつつコストの低減を図ることができるパケット処理回路、パケット処理方法およびプログラムを提供するものである。 The present invention has been made in view of the above, and a predetermined packet received via a network while maintaining an information processing apparatus capable of switching the power mode to the power saving mode or the normal power mode in the power saving mode. It is possible to provide a packet processing circuit , a packet processing method, and a program that can reduce the cost while reducing the power consumption.

上述した課題を解決し、目的を達成するために、本発明にかかるパケット処理回路は、ネットワークを介して受信したパケットに対し複数の電力モードに応じて処理を切り替える制御回路と、前記ネットワークとの接続部との間に接続されるパケット処理回路であって、前記複数の電力モードが、前記制御回路の全ての構成部分に電力を供給するモードである通常電力モードと、前記制御回路の一部の構成部分に電力を供給するモードである省電力モードのそれぞれの電力モードに応じて、前記ネットワークを介して受信したパケットの処理経路を切り替える切替部を備え、前記通常電力モードと前記省電力モードとの間での切替えに係る制御信号を前記制御回路に対する電力モード切替部に出力し、前記切替部は、前記制御信号の出力に伴い前記省電力モードから前記通常モードへ復帰した際に、前記ネットワークを介して受信したパケットを前記制御回路に出力する一方、前記省電力モード時には、前記ネットワークを介して受信したパケットに対して所定の処理を施した後、前記制御回路に出力せずに、前記ネットワークに直接出力すること、を特徴とする。 In order to solve the above-described problems and achieve the object, a packet processing circuit according to the present invention includes a control circuit that switches processing according to a plurality of power modes for a packet received via a network, and the network. A packet processing circuit connected to a connection unit, wherein the plurality of power modes are modes for supplying power to all components of the control circuit, and a part of the control circuit A switching unit that switches a processing path of a packet received via the network in accordance with each power mode of the power saving mode that is a mode for supplying power to the components of the normal power mode and the power saving mode. A control signal related to switching between the control circuit and the power mode switching unit for the control circuit, the switching unit accompanying the output of the control signal. When returning from the power saving mode to the normal mode, the packet received via the network is output to the control circuit, while in the power saving mode, a predetermined value is applied to the packet received via the network. After processing, the data is output directly to the network without being output to the control circuit.

また、本発明にかかるパケット処理方法は、ネットワークを介して受信したパケットに対し複数の電力モードに応じて処理を切り替える制御回路と、前記ネットワークとの接続部との間に接続されるパケット処理部で実行されるパケット処理方法であって、前記複数の電力モードが、前記制御回路の全ての構成部分に電力を供給するモードである通常電力モードと、前記制御回路の一部の構成部分に電力を供給するモードである省電力モードのそれぞれの電力モードに応じて、前記ネットワークを介して受信したパケットの処理経路を切り替えるステップと、前記通常電力モードと前記省電力モードとの間での切替えに係る制御信号を前記制御回路に対する電力モード切替部に出力するステップと、前記制御信号の出力に伴い前記省電力モードから前記通常モードへ復帰した際に、前記ネットワークを介して受信したパケットを前記制御回路に出力する一方、前記省電力モード時には、前記ネットワークを介して受信したパケットに対して所定の処理を施した後、前記制御回路に出力せずに、前記ネットワークに直接出力するステップと、を含むことを特徴とする。 The packet processing method according to the present invention includes a packet processing unit connected between a control circuit that switches processing according to a plurality of power modes for a packet received via a network and a connection unit with the network. And a plurality of power modes in which the power is supplied to all the components of the control circuit and the power to some components of the control circuit. Switching a processing path of a packet received via the network according to each power mode of the power saving mode, which is a mode for supplying power, and switching between the normal power mode and the power saving mode. Outputting the control signal to the power mode switching unit for the control circuit, and accompanying the output of the control signal, the power saving mode. When returning from the normal mode to the packet, the packet received via the network is output to the control circuit, while in the power saving mode, the packet received via the network is subjected to predetermined processing. And outputting directly to the network without outputting to the control circuit.

また、本発明にかかるプログラムは、ネットワークを介して受信したパケットに対し複数の電力モードに応じて処理を切り替える制御回路と、前記ネットワークとの接続部との間に接続されるコンピュータに実行させるためのプロフラムであって、前記複数の電力モードが、前記制御回路の全ての構成部分に電力を供給するモードである通常電力モードと、前記制御回路の一部の構成部分に電力を供給するモードである省電力モードのそれぞれの電力モードに応じて、前記ネットワークを介して受信したパケットの処理経路を切り替えるステップと、前記通常電力モードと前記省電力モードとの間での切替えに係る制御信号を前記制御回路に対する電力モード切替部に出力するステップと、前記制御信号の出力に伴い前記省電力モードから前記通常モードへ復帰した際に、前記ネットワークを介して受信したパケットを前記制御回路に出力する一方、前記省電力モード時には、前記ネットワークを介して受信したパケットに対して所定の処理を施した後、前記制御回路に出力せずに、前記ネットワークに直接出力するステップと、を前記コンピュータに実行させるAlso, Help program written in the present invention, a computer that is connected between the control circuit to the packet received through the network switch the process in accordance with a plurality of power modes, a connecting portion with the network A plurality of power modes, in which the plurality of power modes supply power to all components of the control circuit, and power is supplied to some components of the control circuit A step of switching a processing path of a packet received via the network according to each power mode of the power saving mode, which is a mode to perform, and control related to switching between the normal power mode and the power saving mode Outputting a signal to the power mode switching unit for the control circuit; and When returning to the normal mode, the packet received via the network is output to the control circuit, while in the power saving mode, the packet received via the network is subjected to predetermined processing, Outputting the data directly to the network without outputting to the control circuit .

以下に添付図面を参照して、この発明にかかるパケット処理回路、パケット処理方法およびプログラムの最良な実施の形態を詳細に説明する。 Exemplary embodiments of a packet processing circuit , a packet processing method, and a program according to the present invention will be explained below in detail with reference to the accompanying drawings.

Claims (13)

情報処理装置であって、
ネットワークとの接続部と、
前記接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、
電力モードを、前記情報処理装置の全ての構成部分に電力を供給するモードである通常電力モードと、前記情報処理装置の一部に電力を供給するモードである省電力モードとの間で切り替える電力制御部と、
前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、
前記パケット処理部は、
前記省電力モード時に、前記パケット処理部が前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定部と、
前記第1判定部により前記パケットの処理が必要と判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定部と、を備え、
前記電力制御部は、前記第2判定部の判定結果に基づいて前記電力モードを切り換えることを特徴とする情報処理装置。
An information processing apparatus,
A connection to the network;
A processor having a communication control unit for communicating with an external network device via the connection unit;
Power that switches the power mode between a normal power mode that is a mode for supplying power to all components of the information processing apparatus and a power saving mode that is a mode for supplying power to a part of the information processing apparatus A control unit;
A packet processing unit connected between the connection unit and the processor,
The packet processing unit
A first determination unit that determines the necessity of processing of the packet according to a packet received by the connection unit by the packet processing unit during the power saving mode;
A second determination unit that determines whether or not the packet processing unit can process the packet when the first determination unit determines that the packet needs to be processed;
The information processing apparatus, wherein the power control unit switches the power mode based on a determination result of the second determination unit.
前記省電力モードは、電力供給を行う構成部分の数が異なる複数の省電力モードを含み、
前記電力制御部は、一の省電力モード時に受信したパケットに応じて、前記一の省電力モードをより消費電力が大きい電力モードに切り替えることを特徴とする請求項1に記載の情報処理装置。
The power saving mode includes a plurality of power saving modes in which the number of components for supplying power is different,
The information processing apparatus according to claim 1, wherein the power control unit switches the one power saving mode to a power mode with higher power consumption according to a packet received in the one power saving mode.
前記パケット処理部は、
前記第1判定部が前記パケットの処理が不要と判定した場合に、前記パケットを破棄することを特徴とする請求項1に記載の情報処理装置。
The packet processing unit
The information processing apparatus according to claim 1, wherein when the first determination unit determines that processing of the packet is unnecessary, the information processing apparatus discards the packet.
前記パケット処理部は、前記第2判定部が前記パケットの処理が不可能と判定した場合に、前記パケットを前記プロセッサに送信し、
前記電力制御部は、前記プロセッサに電力供給を行う電力モードへ切り替えることを特徴とする請求項1に記載の情報処理装置。
The packet processing unit transmits the packet to the processor when the second determination unit determines that the packet cannot be processed,
The information processing apparatus according to claim 1, wherein the power control unit switches to a power mode in which power is supplied to the processor.
前記パケット処理部は、前記第2判定部が前記パケットの処理が可能と判定した場合に、前記パケットに応じた応答パケットを生成し、生成した応答パケットを前記接続部を介して前記ネットワークへ送信することを特徴とする請求項4に記載の情報処理装置。   The packet processing unit generates a response packet according to the packet when the second determination unit determines that the packet can be processed, and transmits the generated response packet to the network via the connection unit The information processing apparatus according to claim 4, wherein: 前記パケット処理部は、
前記電力モードに応じて、前記受信したパケットの処理経路をパケット処理部内部の処理経路と前記プロセッサへの転送経路とに切り替える切替部を備えたことを特徴とする請求項1に記載の情報処理装置。
The packet processing unit
The information processing according to claim 1, further comprising: a switching unit that switches a processing path of the received packet between a processing path inside a packet processing unit and a transfer path to the processor according to the power mode. apparatus.
前記切替部は、前記パケットの処理経路の切り替えを前記パケット処理部に前記パケットが存在しないときに行うことを特徴とする請求項6に記載の情報処理装置。   The information processing apparatus according to claim 6, wherein the switching unit switches the processing path of the packet when the packet does not exist in the packet processing unit. 前記パケット処理部は、前記受信したパケットに含まれるアドレスに基づいて、パケットフィルタリングを行うアドレスフィルタ部を備えたことを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the packet processing unit includes an address filter unit that performs packet filtering based on an address included in the received packet. 前記プロセッサは、前記電力モードがより消費電力が大きい電力モードに切り替えられた後に、前記パケット処理部から前記電力モードの切り替え前に受信したパケットのデータを取得することを特徴とする請求項1に記載の情報処理装置。   2. The processor according to claim 1, wherein after the power mode is switched to a power mode with higher power consumption, the processor acquires data of a packet received before switching the power mode from the packet processing unit. The information processing apparatus described. 前記第2判定部は、前記パケットの前記パケット処理部での処理が可能と判定した場合、さらに、前記前記パケットの前記パケット処理部での処理を行うか否かを判定し、
前記パケット処理部は、前記第2判定部が前記パケットの処理を行わないと判定した場合に、前記パケットを前記プロセッサに送信し、
前記電力制御部は、前記プロセッサに電力供給を行う電力モードへ切り替えることを特徴とする請求項1に記載の情報処理装置。
When the second determination unit determines that the packet processing unit can process the packet, the second determination unit further determines whether to process the packet in the packet processing unit;
The packet processing unit transmits the packet to the processor when the second determination unit determines not to process the packet,
The information processing apparatus according to claim 1, wherein the power control unit switches to a power mode in which power is supplied to the processor.
前記パケット処理部は、前記第2判定部が前記パケットの処理を行うと判定した場合に、前記パケットに応じた応答パケットを生成し、生成した応答パケットを前記接続部を介して前記ネットワークへ送信することを特徴とする請求項10に記載の情報処理装置。   The packet processing unit generates a response packet according to the packet when the second determination unit determines to process the packet, and transmits the generated response packet to the network via the connection unit The information processing apparatus according to claim 10. 情報処理装置で実行されるパケット処理方法であって、
前記情報処理装置は、ネットワークとの接続部と、前記接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、
電力モードを、前記情報処理装置の全ての構成部分に電力を供給するモードである通常電力モードと、前記情報処理装置の一部に電力を供給するモードである省電力モードとの間で切り替える電力制御ステップと、
前記省電力モード時に、前記パケット処理部が、前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定ステップと、
前記第1判定ステップにより前記パケットの処理の必要性有りと判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定ステップと、を含み、
前記電力制御ステップは、前記第2判定ステップの判定結果に基づいて前記電力モードを切り換えることを特徴とするパケット処理方法。
A packet processing method executed by an information processing apparatus,
The information processing apparatus includes a network connection unit, a processor having a communication control unit for communicating with an external network device via the connection unit, and a packet processing unit connected between the connection unit and the processor. And comprising
Power that switches the power mode between a normal power mode that is a mode for supplying power to all components of the information processing apparatus and a power saving mode that is a mode for supplying power to a part of the information processing apparatus Control steps;
A first determination step in which the packet processing unit determines the necessity of processing of the packet according to the packet received by the connection unit during the power saving mode;
A second determination step for determining whether or not the packet processing unit can process the packet when it is determined that the packet needs to be processed in the first determination step;
The packet processing method characterized in that the power control step switches the power mode based on a determination result of the second determination step.
コンピュータに実行させるためのパケット処理プログラムであって、
前記コンピュータは、ネットワークとの接続部と、接続部を介して外部のネットワーク装置と通信するための通信制御部を有するプロセッサと、前記接続部と前記プロセッサ間に接続されたパケット処理部と、を備え、
電力モードを、前記コンピュータの全ての構成部分に電力を供給するモードである通常電力モードと、前記コンピュータの一部に電力を供給するモードである省電力モードとの間で切り替える電力制御ステップと、
前記省電力モード時に、前記パケット処理部が前記接続部により受信したパケットに応じて、前記パケットの処理の必要性を判定する第1判定ステップと、
前記第1判定ステップにより前記パケットの処理の必要性有りと判定した場合に、前記パケットの前記パケット処理部での処理が可能か否かを判定する第2判定ステップと、を前記コンピュータに実行させ、
前記電力制御ステップは、前記第2判定ステップの判定結果に基づいて前記電力モードを切り換えるためのパケット処理プログラム。
A packet processing program for causing a computer to execute,
The computer includes a connection unit with a network, a processor having a communication control unit for communicating with an external network device via the connection unit, and a packet processing unit connected between the connection unit and the processor. Prepared,
A power control step of switching a power mode between a normal power mode which is a mode for supplying power to all components of the computer and a power saving mode which is a mode for supplying power to a part of the computer;
A first determination step of determining the necessity of processing of the packet according to the packet received by the connection unit by the packet processing unit during the power saving mode;
Causing the computer to execute a second determination step for determining whether or not the packet processing unit can process the packet when it is determined that the packet needs to be processed in the first determination step. ,
The power control step is a packet processing program for switching the power mode based on a determination result of the second determination step.
JP2013119194A 2007-11-01 2013-06-05 Packet processing circuit, packet processing method and program Active JP5626413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013119194A JP5626413B2 (en) 2007-11-01 2013-06-05 Packet processing circuit, packet processing method and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2007285319 2007-11-01
JP2007285319 2007-11-01
JP2013119194A JP5626413B2 (en) 2007-11-01 2013-06-05 Packet processing circuit, packet processing method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008236877A Division JP5369567B2 (en) 2007-11-01 2008-09-16 Information processing apparatus, packet processing method, and program

Publications (2)

Publication Number Publication Date
JP2013242875A true JP2013242875A (en) 2013-12-05
JP5626413B2 JP5626413B2 (en) 2014-11-19

Family

ID=40866488

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2008236877A Active JP5369567B2 (en) 2007-11-01 2008-09-16 Information processing apparatus, packet processing method, and program
JP2013119194A Active JP5626413B2 (en) 2007-11-01 2013-06-05 Packet processing circuit, packet processing method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2008236877A Active JP5369567B2 (en) 2007-11-01 2008-09-16 Information processing apparatus, packet processing method, and program

Country Status (1)

Country Link
JP (2) JP5369567B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015208877A (en) * 2014-04-24 2015-11-24 京セラドキュメントソリューションズ株式会社 Information processor
US9535636B2 (en) 2014-04-24 2017-01-03 Kyocera Document Solutions Inc. Image forming apparatus and image formation method that suppress temperature of fixing device
JP2017222175A (en) * 2017-08-01 2017-12-21 京セラドキュメントソリューションズ株式会社 Information processing apparatus
JP7439590B2 (en) 2020-03-17 2024-02-28 株式会社リコー Network control device, image forming device, network control method, and program

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101412441B1 (en) * 2009-08-21 2014-06-25 미쓰비시덴키 가부시키가이샤 Pon system, subscriber-side terminal apparatus, station-side terminal apparatus, and power saving method
KR101569030B1 (en) * 2009-10-14 2015-11-16 삼성전자주식회사 Image forming apparatus and method for connecting network of thereof
JP2011088318A (en) * 2009-10-21 2011-05-06 Ricoh Co Ltd Image forming apparatus
JP2011128743A (en) * 2009-12-16 2011-06-30 Hitachi Ulsi Systems Co Ltd Network processing apparatus
JP5577860B2 (en) * 2010-06-04 2014-08-27 株式会社リコー Information processing apparatus, information processing method, and information processing program
JP5742245B2 (en) * 2011-01-21 2015-07-01 村田機械株式会社 Image forming apparatus
JP5780768B2 (en) * 2011-01-26 2015-09-16 キヤノン株式会社 Information processing apparatus, control method thereof, and program
JP2013166307A (en) * 2012-02-15 2013-08-29 Ricoh Co Ltd Electronic device, image processing apparatus, and device control method
JP6242054B2 (en) * 2013-02-07 2017-12-06 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP5607206B2 (en) * 2013-04-23 2014-10-15 三菱電機株式会社 PON system, subscriber-side termination device, station-side termination device, control device, and power saving method
JP5903402B2 (en) * 2013-05-30 2016-04-13 東芝テック株式会社 Data processing apparatus and program
JP6192381B2 (en) * 2013-06-24 2017-09-06 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP6354546B2 (en) * 2014-11-27 2018-07-11 富士ゼロックス株式会社 Information processing apparatus and information processing system
JP6565242B2 (en) * 2015-03-19 2019-08-28 富士ゼロックス株式会社 Power saving control device
JP6033383B2 (en) * 2015-10-05 2016-11-30 キヤノン株式会社 Information processing apparatus, control method thereof, and control program
JP7042677B2 (en) * 2018-04-04 2022-03-28 任天堂株式会社 Information processing equipment, control method, information processing system, and control program
JP7302303B2 (en) * 2019-06-03 2023-07-04 株式会社リコー Image processing device, image processing method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005045301A (en) * 2003-07-22 2005-02-17 Ricoh Co Ltd Image processor
JP2006259906A (en) * 2005-03-15 2006-09-28 Ricoh Co Ltd Communication control device, communication control system, power saving control method, power saving control program and recording medium recording program
JP2007243595A (en) * 2006-03-08 2007-09-20 Fuji Xerox Co Ltd Network control apparatus and control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076451A (en) * 2001-08-30 2003-03-14 Canon Inc Information processing device and responding method for inquiry of state
JP2003228970A (en) * 2002-01-30 2003-08-15 Ricoh Co Ltd Optical disk device
JP4708818B2 (en) * 2004-03-15 2011-06-22 キヤノン株式会社 Network device and control method thereof
JP2006350801A (en) * 2005-06-17 2006-12-28 Canon Inc Image formation system
JP2007272767A (en) * 2006-03-31 2007-10-18 Noritsu Koki Co Ltd Management controller and control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005045301A (en) * 2003-07-22 2005-02-17 Ricoh Co Ltd Image processor
JP2006259906A (en) * 2005-03-15 2006-09-28 Ricoh Co Ltd Communication control device, communication control system, power saving control method, power saving control program and recording medium recording program
JP2007243595A (en) * 2006-03-08 2007-09-20 Fuji Xerox Co Ltd Network control apparatus and control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015208877A (en) * 2014-04-24 2015-11-24 京セラドキュメントソリューションズ株式会社 Information processor
US9535636B2 (en) 2014-04-24 2017-01-03 Kyocera Document Solutions Inc. Image forming apparatus and image formation method that suppress temperature of fixing device
JP2017222175A (en) * 2017-08-01 2017-12-21 京セラドキュメントソリューションズ株式会社 Information processing apparatus
JP7439590B2 (en) 2020-03-17 2024-02-28 株式会社リコー Network control device, image forming device, network control method, and program

Also Published As

Publication number Publication date
JP2009134696A (en) 2009-06-18
JP5626413B2 (en) 2014-11-19
JP5369567B2 (en) 2013-12-18

Similar Documents

Publication Publication Date Title
JP5626413B2 (en) Packet processing circuit, packet processing method and program
US8078892B2 (en) Information-processing apparatus, packet processing method, and computer program product for communicating with an external network device and switching between a normal power mode and a power saving mode
US8127162B2 (en) Apparatus, method, and computer program product for processing information which includes a power-saving mode having a plurality of sub power modes
JP5061034B2 (en) Information processing apparatus, control method for information processing apparatus, program, and recording medium
JP6157098B2 (en) Printing device
JP5704904B2 (en) DATA PROCESSING DEVICE, DATA PROCESSING DEVICE CONTROL METHOD, AND PROGRAM
KR101569030B1 (en) Image forming apparatus and method for connecting network of thereof
JP6873665B2 (en) Printing device, control method of printing device, and program
JP2013161381A (en) Image processor, control method of image processor, and program
JP2009276998A (en) Device monitoring apparatus and its control method, device monitoring system and program
JP2008073887A (en) Printer and method for processing logical packet
JP2011071760A (en) Information processing apparatus, job processing method thereof, and program
JP2015106217A (en) Print controller, control method of print controller, and program
JP6366358B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2008305209A (en) Information processor, information processing method, program, and computer readable recording medium
JP2010166310A (en) Communication control apparatus and image processing apparatus
JP2011060028A (en) Information processing apparatus and control method thereof
JP2009037285A (en) Network device
JP4708818B2 (en) Network device and control method thereof
US20130163616A1 (en) Communication apparatus that can be operated in power-saving mode, method of controlling the apparatus, and storage medium
JP2005267097A (en) Electric power source controller, image forming device, image forming system, electric power source control method, computer program, and recording medium
JP5480194B2 (en) Image forming apparatus and system management program
JP2010171792A (en) Network equipment
JP2004153742A (en) Network apparatus and network system
JP3956361B2 (en) Network device and network system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140723

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140915

R151 Written notification of patent or utility model registration

Ref document number: 5626413

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151