Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6214733B2 - Data processing device - Google Patents
[go: Go Back, main page]

JP6214733B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP6214733B2
JP6214733B2 JP2016146607A JP2016146607A JP6214733B2 JP 6214733 B2 JP6214733 B2 JP 6214733B2 JP 2016146607 A JP2016146607 A JP 2016146607A JP 2016146607 A JP2016146607 A JP 2016146607A JP 6214733 B2 JP6214733 B2 JP 6214733B2
Authority
JP
Japan
Prior art keywords
pattern
packet
information
power mode
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016146607A
Other languages
Japanese (ja)
Other versions
JP2016195459A (en
Inventor
実 藤沢
実 藤沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2016146607A priority Critical patent/JP6214733B2/en
Publication of JP2016195459A publication Critical patent/JP2016195459A/en
Application granted granted Critical
Publication of JP6214733B2 publication Critical patent/JP6214733B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Description

本発明は、データ処理装置、情報処理方法、及びプログラムに関する。   The present invention relates to a data processing device, an information processing method, and a program.

従来、待機時の消費電力を抑えるために省電力状態に移行することが可能な情報処理システムが知られている。このような情報処理システムの一例として、メインCPUを備えるコントローラ(メインコントローラ)と、サブCPUを備えるネットワークコントローラとから構成されるシステムがある。このようなシステムでは、省電力状態ではメインコントローラの各モジュールの電力供給を停止し、消費電力が小さいネットワークコントローラの各モジュールには通常の電力供給を行ったままの状態で待機する。そして、このようなシステムでは、ネットワークから所定のパケットを受信した場合にメインコントローラに電力状態を停止したままネットワークコントローラが応答する、いわゆる代理応答の技術を用いることにより、消費電力の低減を図っている。
従来の代理応答の技術では、省電力状態では、ネットワークコントローラは、自身が受信した各パケットを、ネットワークコントローラ宛のARP要求パケットのデータパターンに一致するかを判断する。また、省電力状態では、ネットワークコントローラは、自身が受信した各パケットを、メインコントローラを省電力モードから復帰させメインコントローラ側で処理させるべきパケット(すなわちウェイクアップパケット)のデータパターンに一致するかを判断する。
ネットワークコントローラは、受信したパケットがARP要求パケットと一致したと判断したとき、送信データレジスタに格納している送信データをARP応答パケットとしてLAN上に送出する(すなわち、代理応答を行う)。他方、ネットワークコントローラは、受信したパケットがウェイクアップパケットと一致したと判断したとき、ウェイクアップ信号をメインコントローラへ出力することによりメインコントローラを省電力モードから復帰させる。このような代理応答の技術については、例えば特許文献1に開示されている。
Conventionally, an information processing system capable of shifting to a power saving state in order to reduce power consumption during standby is known. As an example of such an information processing system, there is a system including a controller (main controller) including a main CPU and a network controller including a sub CPU. In such a system, the power supply of each module of the main controller is stopped in the power saving state, and the modules of the network controller with low power consumption are on standby with the normal power supply being performed. In such a system, when a predetermined packet is received from the network, the power consumption is reduced by using a so-called proxy response technique in which the network controller responds while the power state is stopped to the main controller. Yes.
In the conventional proxy response technique, in the power saving state, the network controller determines whether each packet received by the network controller matches the data pattern of the ARP request packet addressed to the network controller. In the power saving state, the network controller determines whether each packet received by the network controller matches the data pattern of a packet (that is, a wake-up packet) to be processed by the main controller by returning the main controller from the power saving mode. to decide.
When the network controller determines that the received packet matches the ARP request packet, the network controller sends the transmission data stored in the transmission data register as an ARP response packet on the LAN (that is, performs a proxy response). On the other hand, when the network controller determines that the received packet matches the wakeup packet, the network controller returns the main controller from the power saving mode by outputting a wakeup signal to the main controller. Such a proxy response technique is disclosed in Patent Document 1, for example.

特開2008−301077号公報JP 2008-301077 A

従来の技術では、代理応答、ウェイクアップ等するためのパターンマッチ処理で使用する各種のデータパターンは、ネットワークコントローラを含めた機器内に予め固定的に搭載されている。
一方、近年SNMPプロトコル等の管理系プロトコルを使用し、リモートから多種の機器を管理するようなアプリケーション、OS等の利用が増加する傾向にある。これによって顧客の機器の運用環境毎に各種の機器がどのようなパケットを受信することになるかは様々となり、顧客の機器の運用環境毎に流れるパケットを予め想定することが困難となっている。
In the conventional technique, various data patterns used in pattern matching processing for proxy response, wakeup, and the like are fixedly mounted in advance in devices including a network controller.
On the other hand, in recent years, there is a tendency for the use of applications, OSs, and the like that use a management system protocol such as the SNMP protocol to remotely manage various devices and the like. As a result, the types of packets received by various devices vary depending on the operating environment of the customer's device, and it is difficult to assume in advance the packets that flow for each operating environment of the customer's device. .

その結果、機器内に、代理応答、ウェイクアップ等するためのデータパターンを予め登録していても顧客の機器の運用環境によっては代理応答できずに機器を省電力状態から復帰させる事態が発生する。また、場合によっては不必要なデータパターンとの一致を招き、意味のない省電力状態からの復帰を行ったりすることにつながる。このような対策としては、全てのデータパターンを把握して予め登録しておくことが考えられる。
しかしながら、省電力状態時に(電力の消費が相対的に小さい電力モードにおいて)動作するネットワークコントローラを含む一部の機器は、省電力の観点から、限りなく少ないリソース上で動作しており、全てのデータパターンを登録することには限界がある。
As a result, even if a data pattern for proxy response, wake-up, etc. is registered in the device in advance, depending on the operating environment of the customer's device, a situation may occur in which the device is returned from the power saving state without being able to perform a proxy response. . Further, in some cases, it coincides with an unnecessary data pattern, leading to a return from a meaningless power saving state. As such a measure, it is conceivable to grasp all data patterns and register them in advance.
However, some devices including a network controller that operates in a power saving state (in a power mode in which power consumption is relatively small) operate on an infinitely few resources from the viewpoint of power saving. There are limits to registering data patterns.

本発明はこのような問題点に鑑みなされたもので、電力モードの制御に係る情報をより適切に管理することを目的とする。   The present invention has been made in view of such problems, and an object thereof is to more appropriately manage information related to power mode control.

そこで、本発明に係るデータ処理装置は、第1の電力モードと当該第1の電力モードよりも消費電力が小さい第2の電力モードで動作可能なデータ処理装置であって、前記第2の電力モードを維持したまま応答可能なパケットのパターンを示す応答パターンを記憶する記憶手段と、前記第2の電力モードで動作する前記データ処理装置が受信したパケットが前記応答パターンに一致する場合に、前記第2の電力モードを維持したまま前記パケットに応答する処理手段と、前記応答パターンとして新規のパターンを登録することを要求する登録要求をネットワーク上の外部装置から受信する受信手段と、前記受信手段が受信した前記登録要求に基づいて、前記応答パターンとして前記新規のパターンを前記記憶手段に登録する登録手段とを備え、前記登録要求において、前記応答パターンを示す情報としてSNMPのオブジェクトIDが指定されていることを特徴とする。 Therefore, a data processing device according to the present invention is a data processing device operable in a first power mode and a second power mode in which power consumption is lower than that in the first power mode, wherein the second power A storage unit for storing a response pattern indicating a pattern of a packet that can be responded while maintaining a mode; and a packet received by the data processing device operating in the second power mode matches the response pattern, Processing means for responding to the packet while maintaining the second power mode; receiving means for receiving a registration request for registering a new pattern as the response pattern from an external device on the network; and the receiving means There, based on the registration request received, and a registration means for registering the new pattern in said storage means as said response pattern In the registration request, wherein the SNMP object ID is specified as information indicating the response pattern.

また、本発明は、方法、プログラム、システム、記憶媒体などとしてもよい。   The present invention may be a method, a program, a system, a storage medium, and the like.

本発明によれば、電力モードの制御に係る情報をより適切に管理することができる。   According to the present invention, it is possible to more appropriately manage information related to power mode control.

パーソナルコンピュータと複合機とから構成されるネットワークシステムの一例を示す図である。It is a figure which shows an example of the network system comprised from a personal computer and a multifunction machine. 複合機のハードウェアの構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a hardware configuration of a multifunction machine. 複合機のソフトウェア(機能部)の構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a configuration of software (functional unit) of a multifunction machine. パターン設定値の一例を示す図である。It is a figure which shows an example of a pattern setting value. パターン設定値の一例を示す図である。It is a figure which shows an example of a pattern setting value. パターン設定値の一例を示す図である。It is a figure which shows an example of a pattern setting value. Import処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on Import process. パターンリストの一例を示す図である。It is a figure which shows an example of a pattern list. メッセージ受信時処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on a message reception process. パケット受信時処理に係るフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which concerns on a process at the time of packet reception. 画面の一例を示す図である。It is a figure which shows an example of a screen. 画面の一例を示す図である。It is a figure which shows an example of a screen.

以下、本発明の実施形態について図面に基づいて説明する。なお、実施形態は、本発明を限定するものではなく、また、実施形態で説明されている全ての構成が本発明の課題を解決するための手段に必須であるとは限らない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The embodiments do not limit the present invention, and all the configurations described in the embodiments are not necessarily essential to the means for solving the problems of the present invention.

<第1の実施形態>
本実施形態では、データ処理装置の一例である複合機における省電力モードを維持するための技術について説明する。以下では、本実施形態に係る複合機の構成、外部から受信するファイル又はパケットに応じて代理応答、ウェイクアップの処理等を規定するパターン設定値が入力された際の処理などについて説明する。
図1は、複合機101及びPC102を含むネットワークシステムの構成の一例を示す図である。複合機101とPC102とは、ネットワーク103を介して接続され、相互に通信可能に構成されている。
図2は、複合機101のハードウェアの構成の一例を示す図である。複合機101は、メインコントローラ210と、ネットワークコントローラ230とを有する。メインコントローラ210は、ネットワークコントローラ230を介してネットワーク103に接続されている。
<First Embodiment>
In the present embodiment, a technique for maintaining a power saving mode in a multifunction peripheral, which is an example of a data processing apparatus, will be described. Hereinafter, a configuration of the multifunction peripheral according to the present embodiment, a process when a pattern setting value defining a proxy response, a wake-up process, or the like according to a file or packet received from the outside will be described.
FIG. 1 is a diagram illustrating an example of a configuration of a network system including a multifunction machine 101 and a PC 102. The multifunction machine 101 and the PC 102 are connected via the network 103 and configured to be able to communicate with each other.
FIG. 2 is a diagram illustrating an example of a hardware configuration of the multifunction machine 101. The multifunction machine 101 has a main controller 210 and a network controller 230. The main controller 210 is connected to the network 103 via the network controller 230.

メインCPU211は、メインコントローラ210のソフトウェアプログラムを実行し、装置全体の制御を行う。RAM214は、ランダムアクセスメモリであり、メインCPU211が装置を制御する際に、一時的なデータの格納などに使用される。ROM213は、リードオンリーメモリであり、装置のブートプログラム、固定パラメータ等の格納に使用される。HDD215は、ハードディスクドライブであり、様々なデータの格納に使用される。NVRAM216は、不揮発性のメモリであり、メインコントローラ210の各種の設定値を記憶する。
操作部I/F(インターフェース)217は、操作部240を制御し、操作部240に設けられた液晶パネルに各種の操作画面を表示させ、操作画面を介して入力される指示をメインCPU211に伝達する。スキャナI/F218は、スキャナ250を制御する。スキャナ250は、原稿上の画像を読み取って画像データを生成する。プリンタI/F219は、プリンタ260を制御する。プリンタ260は、画像データに基づく画像を記録媒体上に印刷する。
USBI/F220は、USB270を制御する。USB270は、外部から差し込まれる不揮発性のUSBメモリを認識し、USBI/F220と連携してUSBメモリ内のファイルシステムを制御することでファイルやディレクトを認識する。拡張I/F212は、ネットワークコントローラ230の拡張I/F232と接続され、ネットワークコントローラ230を介してネットワーク103上の外部装置(PC102等)とのデータ通信を制御する。
The main CPU 211 executes a software program of the main controller 210 and controls the entire apparatus. A RAM 214 is a random access memory, and is used for temporary data storage when the main CPU 211 controls the apparatus. A ROM 213 is a read-only memory, and is used to store a boot program of the apparatus, fixed parameters, and the like. The HDD 215 is a hard disk drive and is used for storing various data. The NVRAM 216 is a non-volatile memory and stores various setting values of the main controller 210.
An operation unit I / F (interface) 217 controls the operation unit 240, displays various operation screens on a liquid crystal panel provided in the operation unit 240, and transmits an instruction input via the operation screen to the main CPU 211. To do. The scanner I / F 218 controls the scanner 250. The scanner 250 reads an image on a document and generates image data. The printer I / F 219 controls the printer 260. The printer 260 prints an image based on the image data on a recording medium.
The USB I / F 220 controls the USB 270. The USB 270 recognizes a non-volatile USB memory inserted from the outside, and recognizes a file and a directory by controlling a file system in the USB memory in cooperation with the USB I / F 220. The extension I / F 212 is connected to the extension I / F 232 of the network controller 230, and controls data communication with an external device (such as the PC 102) on the network 103 via the network controller 230.

サブCPU231は、ネットワークコントローラ230のソフトウェアプログラムを実行し、装置全体の制御を行う。RAM234は、ランダムアクセスメモリであり、サブCPU231が装置を制御する際に、一時的なデータの格納などに使用される。ROM233は、リードオンリーメモリであり、装置のブートプログラム、固定パラメータ等の格納に使用される。また、RAM234には、ネットワーク103から受信したパケットを「破棄すべきパケット」「メインコントローラ210に転送すべきパケット」「代理で応答すべきパケット」の何れかに分類するために用いるマッチングデータが保持されている。
拡張I/F232は、メインコントローラ210の拡張I/F212と接続され、メインコントローラ210とネットワークコントローラ230との間のデータ通信を制御する。NetworkI/F235は、ネットワーク103に接続され、複合機101とネットワーク103上の外部装置(PC102等)との間のデータ通信を制御する。
メインコントローラ210は、通常電力モード(第1の電力モードの一例)と、通常電力モードよりも消費電力が小さい省電力モード(第2の電力モードの一例)とを切り替えて動作することができる。通常電力モードから省電力モードに移行する場合は、メインCPU211、HDD215、NVRAM216などに対する電力の供給が停止される。一方、ネットワークコントローラ230は、メインコントローラ210とは別のASIC(Application Specific Integrated Circuit)で動作しており、省電力モード時に移行した場合でも電力供給は係属されている。
The sub CPU 231 executes the software program of the network controller 230 and controls the entire apparatus. The RAM 234 is a random access memory, and is used for temporary data storage when the sub CPU 231 controls the apparatus. The ROM 233 is a read-only memory and is used for storing a boot program of the apparatus, fixed parameters, and the like. The RAM 234 holds matching data used to classify packets received from the network 103 into any one of “packet to be discarded”, “packet to be transferred to the main controller 210”, and “packet to be responded by proxy”. Has been.
The extension I / F 232 is connected to the extension I / F 212 of the main controller 210 and controls data communication between the main controller 210 and the network controller 230. A network I / F 235 is connected to the network 103 and controls data communication between the multi-function peripheral 101 and an external device (such as the PC 102) on the network 103.
The main controller 210 can operate by switching between a normal power mode (an example of a first power mode) and a power saving mode (an example of a second power mode) that consumes less power than the normal power mode. When shifting from the normal power mode to the power saving mode, the supply of power to the main CPU 211, HDD 215, NVRAM 216, etc. is stopped. On the other hand, the network controller 230 operates on an application specific integrated circuit (ASIC) different from the main controller 210, and power supply is suspended even when the network controller 230 shifts to the power saving mode.

図3は、複合機101のソフトウェア(機能部)の構成の一例を示す図である。すなわち、図3の各ブロックは、複合機101に内蔵されるコントローラユニットによって処理されるソフトウェア(プログラム)を実行することにより実現される機能を示している。省電力制御部307は、通常電力モードと省電力モードとを切り替える制御を行う。CPU間通信部305は、拡張I/F212及び拡張I/F232を介して、ネットワークコントローラ230の機能部とのデータの送受信を行う。
また、CPU間通信部304は、拡張I/F232及び拡張I/F212を介して、メインコントローラ210の機能部とのデータの送受信を行う。ネットワークI/F制御部303は、NetworkI/F235によるパケットの送受信を制御する。
なお、ネットワークI/F制御部303は、メインコントローラ210が通常電力モード及び省電力モードのどちらの電力モードで動作しているかを常に把握している。そして、ネットワークI/F制御部303は、通常電力モードで動作している場合は、ネットワーク103から受信するパケットをメインコントローラ210に転送する。また、ネットワークI/F制御部303は、メインコントローラ210が省電力モードで動作している場合は、ネットワーク103から受信するパケットを代理応答処理部301に転送する。
FIG. 3 is a diagram illustrating an example of a configuration of software (functional unit) of the multifunction machine 101. That is, each block in FIG. 3 shows a function realized by executing software (program) processed by the controller unit built in the multifunction machine 101. The power saving control unit 307 performs control to switch between the normal power mode and the power saving mode. The inter-CPU communication unit 305 transmits / receives data to / from the functional unit of the network controller 230 via the extension I / F 212 and the extension I / F 232.
Further, the inter-CPU communication unit 304 transmits / receives data to / from the functional unit of the main controller 210 via the extension I / F 232 and the extension I / F 212. The network I / F control unit 303 controls packet transmission / reception by the Network I / F 235.
The network I / F control unit 303 always knows whether the main controller 210 is operating in the normal power mode or the power saving mode. Then, the network I / F control unit 303 transfers the packet received from the network 103 to the main controller 210 when operating in the normal power mode. In addition, the network I / F control unit 303 transfers a packet received from the network 103 to the proxy response processing unit 301 when the main controller 210 is operating in the power saving mode.

代理応答処理部301は、省電力モード時にネットワークI/F制御部303から転送されるパケットを受け取る。なお、代理応答処理部301がパケットを受け取るのは、メインコントローラ210が省電力モードで動作している場合のみである。通常電力モード時は、ネットワークI/F制御部303が受信したパケットは、代理応答処理部301へ転送することなく、メインコントローラ210へ転送される。
代理応答処理部301は、省電力モード時に受け取ったパケットを、3種類、より具体的には「破棄すべきパケット」、「メインコントローラ210に転送すべきパケット」、及び「代理で応答すべきパケット」の何れかに分類する。この分類は、ROM233等に記憶されたマッチングデータを参照して行われる。
The proxy response processing unit 301 receives a packet transferred from the network I / F control unit 303 in the power saving mode. The proxy response processing unit 301 receives the packet only when the main controller 210 is operating in the power saving mode. In the normal power mode, the packet received by the network I / F control unit 303 is transferred to the main controller 210 without being transferred to the proxy response processing unit 301.
The proxy response processing unit 301 has three types of packets received in the power saving mode, more specifically “packet to be discarded”, “packet to be transferred to the main controller 210”, and “packet to be responded by proxy”. ". This classification is performed with reference to matching data stored in the ROM 233 or the like.

「破棄すべきパケット」とは、自装置宛てのパケットではない場合など、無視してもよい(応答する必要がない)パケットであり、これに分類された場合、受け取ったパケットについては破棄される。
「メインコントローラ210に転送すべきパケット」とは、受け取ったパケットに対して何らかの処理が必要であるが、ネットワークコントローラ230だけでは必要な処理を行うことができないパケットである。このようなパケットが受信された場合、代理応答処理部301は、メインコントローラ210を省電力モードから通常電力モードに復帰させ、受け取ったパケットをメインコントローラ210へ転送する。
「代理で応答すべきパケット」とは、メインコントローラ210の代わりにネットワークコントローラ230が応答を行うパケットである。このようなパケットが受信された場合、代理応答処理部301は、受け取ったパケットの応答パケットを生成し、ネットワークI/F制御部303を介してネットワーク103上の当該応答パケットの要求元(当該パケットの送信元)へ応答する。
“Packet to be discarded” is a packet that can be ignored (no need to respond), for example, when it is not a packet addressed to its own device. If it is classified as such, the received packet is discarded. .
The “packet to be transferred to the main controller 210” is a packet that requires some processing for the received packet but cannot be performed by the network controller 230 alone. When such a packet is received, the proxy response processing unit 301 returns the main controller 210 from the power saving mode to the normal power mode, and transfers the received packet to the main controller 210.
The “packet to be responded by proxy” is a packet to which the network controller 230 responds instead of the main controller 210. When such a packet is received, the proxy response processing unit 301 generates a response packet of the received packet, and the request source of the response packet on the network 103 (the packet) via the network I / F control unit 303 To the sender).

UI処理部308は、省電力モード時に代理応答処理部301が受け取ったパケットを処理するための情報が規定されたパターン設定値を外部(操作部240等)から受け付ける。UI処理部308は、外部から入力されたパターン設定値をパターン生成部306に渡す。USB処理部309は、外部から差し込まれたUSBメモリ内のファイルからパターン設定値などが含まれるパターンファイルを取得する。また、USB処理部309は、取得したパターンファイルからパターン設定値を読み取り、パターン生成部306に渡す。
パターン生成部306は、UI処理部308、USB処理部309から渡されたパターン設定値をもとに代理応答処理部301が処理するための一又は複数のパターン情報からなるパターンリストを生成する。なお、パターンリストについては、図8を用いて後述する。また、パターン生成部306は、生成したパターンリストを、CPU間通信部305及びCPU間通信部304を経由してパターン管理部302へ転送する。パターン管理部302は、ROM233等にパターンリストを記憶し、パターンリストを管理する。
The UI processing unit 308 receives a pattern setting value in which information for processing the packet received by the proxy response processing unit 301 in the power saving mode is defined from the outside (the operation unit 240 or the like). The UI processing unit 308 passes the pattern setting value input from the outside to the pattern generation unit 306. The USB processing unit 309 acquires a pattern file including pattern setting values from a file in the USB memory inserted from the outside. Also, the USB processing unit 309 reads the pattern setting value from the acquired pattern file and passes it to the pattern generation unit 306.
The pattern generation unit 306 generates a pattern list including one or more pattern information to be processed by the proxy response processing unit 301 based on the pattern setting values passed from the UI processing unit 308 and the USB processing unit 309. The pattern list will be described later with reference to FIG. The pattern generation unit 306 transfers the generated pattern list to the pattern management unit 302 via the inter-CPU communication unit 305 and the inter-CPU communication unit 304. The pattern management unit 302 stores the pattern list in the ROM 233 and manages the pattern list.

また、代理応答処理部301は、リモート(PC102等)からネットワークI/F制御部303を介して受信されたパケットを、パターン管理部302から取得したパターンリストを用いてパターンマッチ処理を行う。代理応答処理部301は、パターンマッチ処理において、「破棄すべきパケット」、「メインコントローラ210に転送すべきパケット」、及び「代理で応答すべきパケット」の何れであるかを決定し、それぞれの動作を行う。
例えば、代理応答処理部301は、パターンマッチ処理で「代理で応答すべきパケット」を決定した場合、受け取ったパケット内の情報と当該パケットに対応するパターン情報に含まれる代理応答に必要なデータとを用いて応答データ(応答パケット)を生成する。代理応答処理部301は、生成した応答パケットを、省電力モードを保ったまま応答パケットの要求元に応答する。
In addition, the proxy response processing unit 301 performs a pattern matching process on the packet received from the remote (PC 102 or the like) via the network I / F control unit 303 using the pattern list acquired from the pattern management unit 302. In the pattern matching process, the proxy response processing unit 301 determines whether the packet is to be discarded, the packet to be transferred to the main controller 210, or the packet to be responded by proxy. Perform the action.
For example, when the proxy response processing unit 301 determines “a packet to be responded by proxy” in the pattern matching process, the information in the received packet and the data necessary for the proxy response included in the pattern information corresponding to the packet, Is used to generate response data (response packet). The proxy response processing unit 301 responds the generated response packet to the request source of the response packet while maintaining the power saving mode.

SNMP処理部310は、メインコントローラ210が通常電力モード時にSNMPのパケットをPC102から受信して解析し、送信、応答用のパケットを生成する。SNMP処理部310は、メインコントローラ210が管理している各種の情報を取得することが可能であり、これらの情報を用いて送信、応答用のパケットを生成する。SLP処理部311は、メインコントローラ210が通常電力モード時にSLPのパケットをPC102から受信して解析し、送信、応答用のパケットを生成する。SLP処理部311は、メインコントローラ210が管理している各種の情報を取得することが可能であり、これらの情報を用いて送信、応答用のパケットを生成する。
メインコントローラ210が管理する情報には、自身を運用するための各種の設定データ、用紙の残量等、メインコントローラ210を使用することによって動的に更新されるような情報が含まれる。また、メインコントローラ210が管理する情報には、プリンタ260、スキャナ250等の部品から得られるスペック、消耗度、状態、エラー等の情報も含まれる。
The SNMP processing unit 310 receives and analyzes an SNMP packet from the PC 102 when the main controller 210 is in the normal power mode, and generates a packet for transmission and response. The SNMP processing unit 310 can acquire various types of information managed by the main controller 210, and generates transmission and response packets using these pieces of information. The SLP processing unit 311 receives and analyzes SLP packets from the PC 102 when the main controller 210 is in the normal power mode, and generates transmission and response packets. The SLP processing unit 311 can acquire various types of information managed by the main controller 210, and generates transmission and response packets using these pieces of information.
The information managed by the main controller 210 includes information that is dynamically updated by using the main controller 210, such as various setting data for operating the main controller 210 and the remaining amount of paper. The information managed by the main controller 210 includes information such as specifications obtained from parts such as the printer 260 and the scanner 250, the degree of wear, the state, and errors.

図4は、パターン設定値の一例を示す図である。パターン設定値は、主に、受信したパケットを識別するためのマッチングデータと、受信したパケットがマッチングデータに一致した場合に何の処理をすべきかを定義した処理データとを含んで構成されている。なお、マッチング処理では、受信されたパケット内のデータとマッチングデータとに基づいて、当該パケットにマッチするパターン情報の特定が行われる。
なお、メインコントローラ210は、図4に示すようなパターン設定値をネットワークコントローラ230に渡し、パターン生成部306は、パターン設定値をもとに、マッチングデータ、処理データ等を含むパターン情報を生成する。このようなことから、マッチングデータは、パケットを識別可能な識別情報の一例であり、処理データは、パケットに対する処理を示す処理情報の一例であり、パターン情報(パターンリスト)は、識別情報および処理情報を含む定義情報の一例である。
FIG. 4 is a diagram illustrating an example of pattern setting values. The pattern setting value mainly includes matching data for identifying a received packet and processing data that defines what processing should be performed when the received packet matches the matching data. . In the matching process, the pattern information that matches the packet is specified based on the data in the received packet and the matching data.
The main controller 210 passes a pattern setting value as shown in FIG. 4 to the network controller 230, and the pattern generation unit 306 generates pattern information including matching data and processing data based on the pattern setting value. . For this reason, the matching data is an example of identification information that can identify a packet, the processing data is an example of processing information indicating processing for the packet, and the pattern information (pattern list) includes identification information and processing. It is an example of the definition information containing information.

宛先ポート番号情報401は、マッチングデータ(宛先ポート番号「161」等)を含み、パケットのサブアドレスであるポート番号を示す。宛先ポート番号情報401の宛先ポート番号がパターン情報に設定されることで、代理応答処理部301は、受け取ったパケットの宛先ポート番号と、あるパターン情報の宛先ポート番号とを比較し、当該パケットが当該パターン情報にマッチするかを判断できる。宛先ポート番号情報401については、複数設定してもよく、複数設定されている場合は全ての宛先ポート番号がパターン情報に含められ、受け取られたパケットの宛先ポート番号が何れかの宛先ポート番号である場合、当該パターン情報にマッチしたこととする。
プロトコル名情報402は、マッチングデータ(プロトコル名「snmp」等)を含み、パケットの送受信に係るネットワークプロトコルのプロトコル名を示す。一般に、ネットワークプロトコルについては、宛先ポート番号によって対応するプロトコルが定められる。したがって、宛先ポート番号及びプロトコル名の何れかがパターン設定値に設定されている場合、有効な設定値であるとしてよい。
The destination port number information 401 includes matching data (destination port number “161” or the like) and indicates a port number that is a subaddress of the packet. By setting the destination port number of the destination port number information 401 in the pattern information, the proxy response processing unit 301 compares the destination port number of the received packet with the destination port number of the pattern information, and the packet It can be determined whether the pattern information is matched. A plurality of destination port number information 401 may be set. When a plurality of destination port numbers are set, all destination port numbers are included in the pattern information, and the destination port number of the received packet is any destination port number. If there is, it is assumed that the pattern information is matched.
The protocol name information 402 includes matching data (protocol name “snmp” or the like) and indicates a protocol name of a network protocol related to packet transmission / reception. In general, for a network protocol, a corresponding protocol is determined by a destination port number. Accordingly, when either the destination port number or the protocol name is set as the pattern setting value, it may be an effective setting value.

パターンID情報403は、パターン管理部302にて複数種類のパターン情報を管理するためのIDを示す。代理応答処理部301は、パターンID毎に、受け取ったパケットがどのパターン情報にマッチするかを判断する。
パターン設定有効/無効情報404は、パターン設定値の有効/無効を示す。パターン設定有効/無効情報404は、パターンID毎に設定可能となっている。パターン設定有効/無効情報404をもとにパターン設定値の有効を示す情報がパターン情報に設定された場合、代理応答処理部301は、省電力モード時に受け取ったパケットに対して、当該パターン情報のマッチング処理を行うことになる。パターン設定有効/無効情報404をもとにパターン設定値の無効を示す情報がパターン情報に設定された場合、代理応答処理部301は、省電力モード時に受け取ったパケットに対して、当該パターン情報のマッチング処理を行わない。
なお、パターン情報におけるパターン設定値の有効、無効を示す情報に関わらず、当該パターン情報は、パターン管理部302にて保持、管理される。
The pattern ID information 403 indicates an ID for managing a plurality of types of pattern information in the pattern management unit 302. The proxy response processing unit 301 determines which pattern information the received packet matches for each pattern ID.
The pattern setting valid / invalid information 404 indicates whether the pattern setting value is valid / invalid. The pattern setting valid / invalid information 404 can be set for each pattern ID. When the information indicating the validity of the pattern setting value is set in the pattern information based on the pattern setting valid / invalid information 404, the proxy response processing unit 301 performs the pattern information on the packet received in the power saving mode. Matching processing is performed. When the information indicating that the pattern setting value is invalid is set in the pattern information based on the pattern setting valid / invalid information 404, the proxy response processing unit 301 applies the pattern information to the packet received in the power saving mode. Does not perform matching processing.
Note that the pattern information is held and managed by the pattern management unit 302 regardless of the information indicating whether the pattern setting value is valid or invalid in the pattern information.

動作種別情報405は、処理データ(処理を識別可能な情報「0」等)を含み、受け取ったパケットが何れかのパターン情報にマッチした場合におけるその後の動作の種別を示す。動作種別情報405には、複数種類の種別のうちの一の種別を設定可能である。「受信パケットを破棄(破棄)」、「省電力モードから復帰させ、受信パケットをメインコントローラ210に転送(転送)」又は「ネットワークコントローラ230が受信パケットの応答を、省電力モードを維持してメインコントローラ210の代理で処理、送信(代理応答)」が設定可能である。また、動作種別情報405には、「受信パケットを破棄し、省電力モードから復帰」という種別を設定することも可能である。
パターン設定更新可否情報406は、パターン設定値をもとに生成されたパターン情報の更新の可否(更新を許可するか否か)を示す。パターン設定更新可否情報406のパターン情報を更新するか否かを示す情報(パターン設定更新可否)は、今回の設定より後に設定する内容で当該パターン情報を上書き可能とするかどうかを決定する際に用いられる。
The operation type information 405 includes processing data (information “0” or the like that can identify the processing), and indicates the type of subsequent operation when the received packet matches any pattern information. In the operation type information 405, one of a plurality of types can be set. “Discard received packet (discard)”, “return from power saving mode and forward (transfer) received packet to main controller 210” or “network controller 230 responds to received packet while maintaining power saving mode. “Processing and transmission (proxy response)” on behalf of the controller 210 can be set. In the operation type information 405, a type of “discard the received packet and return from the power saving mode” can be set.
The pattern setting update availability information 406 indicates whether or not the pattern information generated based on the pattern setting value can be updated (whether or not the update is permitted). Information indicating whether or not to update the pattern information of the pattern setting update availability information 406 (pattern setting update availability) is used when determining whether or not the pattern information can be overwritten with the contents set after the current setting. Used.

今回のパターン設定値をもとに生成されたパターン情報とパターンIDが同じ既に生成されているパターン情報のパターン設定更新可否が上書き可能である場合、今回のパターン情報で、既に生成されているパターン情報が上書きされて無効となる。即ち、今回のパターン設定値の情報が有効となる。他方、今回のパターン設定値をもとに生成されたパターン情報とパターンIDが同じ既に生成されているパターン情報のパターン設定更新可否が上書き不可である場合、今回のパターン情報で、既に生成されているパターン情報が上書きされない。即ち、今回のパターン設定値の情報が無効となる。
また、パターン設定更新可否情報406については、同じパターンIDのパターン情報に対して削除の設定が可能である。今回のパターン設定値をもとに生成されるパターン情報における削除の設定によって、以前に上書き不可となっていた同じパターンIDのパターン情報を削除、無効にすることが可能となる。
If the pattern information that has been generated based on the current pattern setting value has the same pattern ID and the pattern setting update availability can be overwritten, the pattern information that has already been generated with the current pattern information The information is overwritten and invalidated. That is, the current pattern setting value information is valid. On the other hand, if the pattern information that has been generated based on the current pattern setting value and the pattern ID that has the same pattern ID cannot be overwritten, it is already generated with the current pattern information. The existing pattern information is not overwritten. That is, the current pattern setting value information is invalid.
The pattern setting update availability information 406 can be set to be deleted for pattern information having the same pattern ID. With the deletion setting in the pattern information generated based on the current pattern setting value, it is possible to delete or invalidate the pattern information of the same pattern ID that has not been overwritten before.

オフセット情報407は、パケットのオフセットを示す。より具体的には、オフセット情報407は、マッチング処理を行う対象データが、受け取ったパケットの先頭から何バイト目に該当するかを示す。パターンマッチ値情報408は、受け取ったパケットとの一致の確認に用いられるパターンマッチ値を示す。パターンマッチ値は、受け取ったパケットのオフセット位置に該当するデータ(対象データ)と一致するかどうかの判定のために使用されるものである。
比較マスク値情報409は、マスク値を示す。比較マスク値情報409は、受け取ったパケットのオフセット位置に該当するデータとパターンマッチ値との比較において、ビット単位で比較する位置を定義している。図4の例では、パターンマッチ値とマスク値とをAND演算した結果の値「0x33210000」が実際のパターンマッチ値となる。即ち、受け取ったパケットのオフセット位置に該当するデータが「0x33210000」と一致するか否かによってパターン情報のマッチが判断される。
また、図4に示すように、パターン設定値は、パターンID毎に、オフセット、パターンマッチ値、マスク値の3つを1つのセットとした、複数のテーブルセットを保持している。一のパケットについては、テーブルセットの全てについて一致した場合にのみ当該パケットがパターン情報にマッチしたと判断され、テーブルセットの何れか1つのセットでも一致しない場合は、当該パケットがパターン情報にマッチしなかったと判断される。なお、オフセット、パターンマッチ値、及びマスク値は、マッチングデータの一例である。
The offset information 407 indicates a packet offset. More specifically, the offset information 407 indicates how many bytes from the head of the received packet the target data to be matched. The pattern match value information 408 indicates a pattern match value used for confirming a match with the received packet. The pattern match value is used for determining whether or not the data matches the data (target data) corresponding to the offset position of the received packet.
The comparison mask value information 409 indicates a mask value. The comparison mask value information 409 defines a position to be compared bit by bit in the comparison between the data corresponding to the offset position of the received packet and the pattern match value. In the example of FIG. 4, a value “0x33210000” obtained by ANDing the pattern match value and the mask value is an actual pattern match value. That is, the pattern information match is determined based on whether or not the data corresponding to the offset position of the received packet matches “0x33210000”.
Also, as shown in FIG. 4, the pattern setting value holds a plurality of table sets, each of which includes three sets of offset, pattern match value, and mask value for each pattern ID. For one packet, it is determined that the packet matches the pattern information only when all of the table sets match. If any one of the table sets does not match, the packet matches the pattern information. It is judged that there was not. The offset, the pattern match value, and the mask value are examples of matching data.

図5は、パターン設定値の一例を示す図であり、図4のパターン設定値とは異なる例として示したものである。ここでは、図4の例と異なる部分について説明する。
パケット種別情報501は、マッチングデータ(パケットの種別「1」等)を含み、パケットの種別を示す。パケット種別には、ユニキャスト、ブロードキャスト、マルチキャスト等を識別可能な情報がある。パケット種別情報501のパケット種別がパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるかを判断可能となる。
リクエストタイプ情報502、スコープ情報503、及びサービスタイプ情報504等のプロトコルに関する設定情報は、ネットワークプロトコルの種別によって異なるものとなる。図5の例では、SLP(Service Location Protocol)であるため、プロトコルに関する設定情報は、SLPに特化した設定情報となる。
FIG. 5 is a diagram showing an example of the pattern setting value, and is shown as an example different from the pattern setting value of FIG. Here, a different part from the example of FIG. 4 is demonstrated.
The packet type information 501 includes matching data (packet type “1” or the like) and indicates the type of packet. The packet type includes information that can identify unicast, broadcast, multicast, and the like. By setting the packet type of the packet type information 501 in the pattern information, it is possible to determine whether the received packet is a packet that matches the pattern information.
Setting information related to protocols such as request type information 502, scope information 503, and service type information 504 varies depending on the type of network protocol. In the example of FIG. 5, since it is SLP (Service Location Protocol), the setting information related to the protocol is setting information specialized for SLP.

リクエストタイプ情報502は、SLPのリクエストタイプ(Service Request、Attribute Request等)を示す。リクエストタイプ情報502のリクエストタイプがパターン情報に設定されることで、受信されたパケットが、当該パターン情報にマッチするパケットであるか(SLPのパケット、かつ同一のリクエストタイプであるか)を判断可能となる。
スコープ情報503は、SLPのスコープを示す。SLPでは、一般に、受信されたパケット内のスコープが同一である機器についてのみ当該パケットの処理、応答を行い、異なるスコープの機器からのパケットについては無視する。スコープ情報503のスコープがパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるか(メインコントローラ210の保持するスコープと同一であるか)を判断可能となる。
サービスタイプ情報504は、SLPのサービスタイプを示す。SLPのパケットを受信した機器は、一般に、受信したパケット内のサービスタイプ、サービス属性に関連する処理、応答を行う。サービスタイプ情報504のサービスタイプがパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるか(メインコントローラ210の保持するサービスと同一であるか)を判断可能になる。
The request type information 502 indicates an SLP request type (Service Request, Attribute Request, etc.). By setting the request type of the request type information 502 to the pattern information, it is possible to determine whether the received packet is a packet that matches the pattern information (SLP packet and the same request type). It becomes.
The scope information 503 indicates the scope of the SLP. In SLP, generally, only a device with the same scope in a received packet processes and responds to the packet, and ignores a packet from a device with a different scope. By setting the scope of the scope information 503 to the pattern information, it is possible to determine whether the received packet is a packet that matches the pattern information (whether it is the same as the scope held by the main controller 210).
The service type information 504 indicates the service type of SLP. A device that has received an SLP packet generally performs processing and a response related to the service type and service attribute in the received packet. By setting the service type of the service type information 504 in the pattern information, it is possible to determine whether the received packet is a packet that matches the pattern information (whether it is the same as the service held by the main controller 210). Become.

図5では、サービスタイプ情報504についてはサービスタイプを例として示したが、これとは別にサービス属性をパターン設定値に加えてマッチング処理の対象とすることも可能である。
また、図5のパターン設定値の例では、パターンID毎にパケット種別やプロトコル種別に応じた複数の設定情報を1つのセットとして保持している。しかしながら、例えば、サービスタイプ情報504については、1つのパターンIDに対して複数のサービスタイプを保持することが可能である。
In FIG. 5, the service type is shown as an example for the service type information 504, but it is also possible to add a service attribute to the pattern setting value as a target for matching processing.
In the example of the pattern setting value of FIG. 5, a plurality of setting information corresponding to the packet type and protocol type is held as one set for each pattern ID. However, for example, with respect to the service type information 504, it is possible to hold a plurality of service types for one pattern ID.

本実施形態では、受け取ったパケットのパケット種別、プロトコル種別(ポート番号)、及びプロトコル種別に応じた設定情報が、パターン情報に設定されている値と全て一致した場合にのみ、当該パケットが当該パターン情報にマッチされたと判断される。
他方、受け取ったパケットのパケット種別、プロトコル種別(ポート番号)、プロトコル種別に応じた設定情報が、パターン情報に設定されている値の何れか1つでも一致しない値がある場合、当該パケットが当該パターン情報にマッチされないと判断される。なお、パケット種別、リクエストタイプ、スコープ、及びサービスタイプは、マッチングデータの一例である。
In this embodiment, only when the setting information corresponding to the packet type, protocol type (port number), and protocol type of the received packet matches all the values set in the pattern information, the packet It is determined that the information is matched.
On the other hand, if the setting information according to the packet type, protocol type (port number), and protocol type of the received packet has a value that does not match any one of the values set in the pattern information, It is determined that the pattern information is not matched. The packet type, request type, scope, and service type are examples of matching data.

図6は、パターン設定値の一例を示す図であり、図4、図5のパターン設定値とは異なる例として示したものである。ここでは、図4、図5の例と異なる部分について説明する。
リクエストタイプ情報601、スコープ情報602、サービスタイプ情報603等のパケットに関する設定情報は、リクエストタイプ情報502、スコープ情報503、サービスタイプ情報504と同様に、ネットワークプロトコルの種別によって異なるものとなる。図6の例では、SNMP(Simple Network Management Protocol)であるため、パケットに関する設定情報は、SNMPに特化した設定情報となる。
リクエストタイプ情報601は、SNMPのリクエストタイプ(Get Request等)を示す。リクエストタイプ情報601のリクエストタイプがパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるか(SNMPのパケットであり、かつ同一のリクエストタイプであるか)を判断可能になる。
FIG. 6 is a diagram illustrating an example of pattern setting values, and is illustrated as an example different from the pattern setting values of FIGS. 4 and 5. Here, a different part from the example of FIG. 4, FIG. 5 is demonstrated.
The setting information regarding the packet such as the request type information 601, the scope information 602, and the service type information 603 differs depending on the type of the network protocol, like the request type information 502, the scope information 503, and the service type information 504. In the example of FIG. 6, since it is SNMP (Simple Network Management Protocol), the setting information regarding the packet is setting information specialized for SNMP.
The request type information 601 indicates an SNMP request type (such as Get Request). When the request type of the request type information 601 is set in the pattern information, it is determined whether the received packet is a packet that matches the pattern information (SNMP packet and the same request type). It becomes possible.

スコープ情報602は、SNMPのスコープ(Community)を示す。SNMPでは、一般に、受信されたパケット内のCommunityが同一である機器のみ当該パケットの処理、応答が行われ、異なるCommunityの機器からのパケットについては無視される。スコープ情報602のスコープがパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるか(メインコントローラ210の保持するCommunityと同一であるか)を判断可能になる。
サービスタイプ情報603は、SNMPのサービスタイプ(オブジェクトID)を示す。また、オブジェクト情報604は、サービスタイプ情報603に対応している情報を示す。サービスタイプ情報603については、1つのパターンIDに対して複数保持することが可能である。また、オブジェクト情報604については、index値として複数の情報を保持することが可能である。SNMPのパケットを受信した機器は、一般に、受信したパケット内のオブジェクトIDに対応している情報を処理、応答する。
The scope information 602 indicates an SNMP scope (Community). In SNMP, generally, only devices with the same community in received packets are processed and responded to, and packets from devices with different communities are ignored. By setting the scope of the scope information 602 to the pattern information, it is possible to determine whether the received packet is a packet that matches the pattern information (whether it is the same as the Community held by the main controller 210).
The service type information 603 indicates an SNMP service type (object ID). The object information 604 indicates information corresponding to the service type information 603. A plurality of service type information 603 can be held for one pattern ID. As for the object information 604, a plurality of pieces of information can be held as index values. A device that has received an SNMP packet generally processes and responds to information corresponding to the object ID in the received packet.

サービスタイプ情報603のサービスタイプがパターン情報に設定されることで、受け取ったパケットが、当該パターン情報にマッチするパケットであるか(メインコントローラ210内で保持しているオブジェクトIDと同一であるか)を判断可能になる。例えば、受け取ったパケットが、あるパターン情報にマッチすると判断された場合、当該パターン情報の動作種別の設定が「代理応答」である場合、オブジェクト情報604の情報が当該パケットの送信元に送信される。
index605は、オブジェクトIDに対応している情報が複数存在する場合について、indexとindex毎の情報とを示す。受け取ったパケットが、あるパターン情報にマッチすると判断された場合、オブジェクトIDが存在し、それに対応するindexが存在するときは、index605の情報が当該パケットの送信元に送信される。ただし、オブジェクト情報604の情報と同様、送信されるのは、当該パターン情報の動作種別の設定が「代理応答」である場合に限られる。
なお、リクエストタイプ、スコープ、及びサービスタイプは、マッチングデータの一例である。
Whether the received packet is a packet that matches the pattern information by setting the service type of the service type information 603 in the pattern information (is the same as the object ID held in the main controller 210) Can be determined. For example, if it is determined that the received packet matches certain pattern information, and the action type setting of the pattern information is “proxy response”, the information of the object information 604 is transmitted to the transmission source of the packet. .
The index 605 indicates an index and information for each index when there are a plurality of pieces of information corresponding to the object ID. When it is determined that the received packet matches certain pattern information, if the object ID exists and the corresponding index exists, the information of index 605 is transmitted to the transmission source of the packet. However, like the information of the object information 604, the information is transmitted only when the operation type setting of the pattern information is “proxy response”.
The request type, scope, and service type are examples of matching data.

図7は、USB270から図4、図5、図6に示すようなパターン設定値がメインコントローラ210に入力(Import)された場合における処理(Import処理)に係るフローチャートの一例を示す図である。本フローチャートに係るプログラム、及びプログラムの実行に必要なデータは、ROM213等に記憶されており、メインCPU211によってRAM214に読み出されて実行される。
USB270からパターン設定値が入力された場合、S701にて、メインCPU211は、入力されたパターン設定値(パターンファイル)をUSB270から読み出す。ここで読み出されるパターン設定値は、例えば図4〜図6で示したものである。次に、S702にて、メインCPU211は、USB270から読み出されたパターン設定値を解析してパターンリスト(図8)を生成する。S703にて、メインCPU211は、生成したパターンリストを、CPU間通信によりネットワークコントローラ230へ転送する。
図8は、メインCPU211により生成されるパターンリストの一例を示す図である。パターン情報801は、図4のパターン設定値をもとにメインCPU211がS702で生成するパターンリストの一例である。パターン情報802は、図6のパターン設定値をもとにメインCPU211がS702で生成するパターンリストの一例である。
FIG. 7 is a diagram showing an example of a flowchart relating to processing (Import processing) when a pattern setting value as shown in FIGS. 4, 5, and 6 is input (Import) from the USB 270 to the main controller 210. The program according to this flowchart and the data necessary for executing the program are stored in the ROM 213 and the like, read out to the RAM 214 by the main CPU 211, and executed.
When a pattern setting value is input from the USB 270, the main CPU 211 reads the input pattern setting value (pattern file) from the USB 270 in S701. The pattern setting values read out here are, for example, those shown in FIGS. In step S <b> 702, the main CPU 211 analyzes the pattern setting value read from the USB 270 and generates a pattern list (FIG. 8). In S703, the main CPU 211 transfers the generated pattern list to the network controller 230 by inter-CPU communication.
FIG. 8 is a diagram illustrating an example of a pattern list generated by the main CPU 211. The pattern information 801 is an example of a pattern list generated by the main CPU 211 in S702 based on the pattern setting values shown in FIG. The pattern information 802 is an example of a pattern list generated by the main CPU 211 in S702 based on the pattern setting values shown in FIG.

図9は、S703でパターンリストがネットワークコントローラ230へ転送された場合に、ネットワークコントローラ230によって実行される処理(メッセージ受信時処理)に係るフローチャートの一例を示す図である。本フローチャートに係るプログラム、及びプログラムの実行に必要なデータは、ROM233等に記憶されており、サブCPU231によってRAM234に読み出されて実行される。
S901にて、サブCPU231は、CPU間通信により、S703でメインコントローラ210からパターンリストを受信する。S902にて、サブCPU231は、受信したCPU間メッセージがパターンリストの登録を要求するメッセージ(登録要求)であるか否かをチェックする。このとき、サブCPU231は、登録要求でないと判断した場合、処理を終了し、他方、登録要求であると判断した場合、S903に処理を進める。
S903にて、サブCPU231は、S901で受信したパターンリストを取得する。S904にて、サブCPU231は、取得したパターンリストから1つのパターンIDを取得し、RAM234に保持されているパターンリストとの照合を行う。RAM234に保持されているパターンリスト内に、取得した1つのパターンIDに一致するパターンIDが存在するかをチェックする。このとき、サブCPU231は、一致するパターンIDが存在しないと判断した場合、S906に処理を進め、他方、一致するパターンIDが存在すると判断した場合、S905に処理を進める。
FIG. 9 is a flowchart illustrating an example of processing (message reception processing) executed by the network controller 230 when the pattern list is transferred to the network controller 230 in S703. The program according to this flowchart and data necessary for executing the program are stored in the ROM 233 and the like, and are read by the sub CPU 231 into the RAM 234 and executed.
In S901, the sub CPU 231 receives the pattern list from the main controller 210 in S703 by inter-CPU communication. In S902, the sub CPU 231 checks whether or not the received inter-CPU message is a message requesting registration of the pattern list (registration request). At this time, if the sub CPU 231 determines that the request is not a registration request, the sub CPU 231 ends the process.
In step S903, the sub CPU 231 acquires the pattern list received in step S901. In S904, the sub CPU 231 acquires one pattern ID from the acquired pattern list, and collates with the pattern list stored in the RAM 234. It is checked whether or not there is a pattern ID that matches one acquired pattern ID in the pattern list held in the RAM 234. At this time, if the sub CPU 231 determines that there is no matching pattern ID, the process proceeds to S906. If the sub CPU 231 determines that there is a matching pattern ID, the process proceeds to S905.

S905にて、サブCPU231は、RAM234に保持されているパターンリスト内の一致しているパターンIDのパターン情報におけるパターン設定更新可否が、更新可であるか否かをチェックする。例えば、サブCPU231は、「パターン設定更新可否」の属性が「1」であるか「0」であるかをチェックする。このとき、サブCPU231は、更新不可であると判断した場合(すなわち、「パターン設定更新可否」の属性が「0」である場合)、S907に処理を進める。他方、サブCPU231は、更新可であると判断した場合(すなわち、「パターン設定更新可否」の属性が「1」である場合)、S906に処理を進める。
S906にて、サブCPU231は、取得した1つのパターンIDにより識別されるパターン情報を、RAM234に保持されているパターンリストに追加登録する。なお、上書き登録する場合は、一致しているパターンIDにより識別されるパターン情報に対して上書き登録する。S907にて、サブCPU231は、S903で取得したパターンリストにS904で取得したパターンID以外のパターンID(未処理のパターンID)が存在するかをチェックする。このとき、サブCPU231は、未処理のパターンIDが存在すると判断した場合、未処理のパターンIDについてS904以降の処理を繰り返し、他方、未処理のパターンIDが存在しないと判断した場合、S908に処理を進める。
S908にて、サブCPU231は、パターンリストへの登録結果を、CPU間通信によりメインコントローラ210へ転送する。メインCPU211は、CPU間通信により登録結果を受信し、その結果を操作部240に表示する。
In step S <b> 905, the sub CPU 231 checks whether or not the pattern setting update availability in the pattern information of the matching pattern ID in the pattern list held in the RAM 234 is updatable. For example, the sub CPU 231 checks whether the attribute of “pattern setting update availability” is “1” or “0”. At this time, when the sub CPU 231 determines that the update is not possible (that is, when the attribute of “pattern setting update availability” is “0”), the process proceeds to S907. On the other hand, when the sub CPU 231 determines that the update is possible (that is, when the attribute of “pattern setting update availability” is “1”), the process proceeds to S906.
In S906, the sub CPU 231 additionally registers the pattern information identified by the acquired one pattern ID in the pattern list held in the RAM 234. In the case of overwriting registration, overwriting registration is performed on the pattern information identified by the matching pattern ID. In S907, the sub CPU 231 checks whether there is a pattern ID (unprocessed pattern ID) other than the pattern ID acquired in S904 in the pattern list acquired in S903. At this time, if the sub CPU 231 determines that there is an unprocessed pattern ID, the sub CPU 231 repeats the processing from S904 on for the unprocessed pattern ID, and if it is determined that there is no unprocessed pattern ID, the process proceeds to S908. To proceed.
In S908, the sub CPU 231 transfers the registration result to the pattern list to the main controller 210 by inter-CPU communication. The main CPU 211 receives the registration result through inter-CPU communication and displays the result on the operation unit 240.

ここで、PC102は、ツール、FTP、Web関連サービス等を使用したネットワーク転送によって図8のようなパターンリスト、若しくは図4、図5、図6のようなパターン設定値を付加してパターンリストの更新要求を送信することが可能である。
図10は、メインコントローラ210が省電力モード中に、リモート(PC102等)から送信されるパケット(パターンリストの更新要求等)に対するネットワークコントローラ230での処理(パケット受信時処理)に係るフローチャートの一例を示す図である。
ここで、図9のフローチャートに係る処理と、図10のフローチャートに係る処理の相違点について説明する。図9のフローチャートに係る処理は、通常電力モード時に、メインコントローラ210側から拡張I/F232を介してパターンリストを受信した際の処理であった。他方、図10のフローチャートに係る処理は、省電力モード時に、PC102からネットワークI/F235を介してパターンリストを受信した際の処理である点で異なる。
本フローチャートに係るプログラム、及びプログラムの実行に必要なデータは、ROM233に記憶されており、サブCPU231によってRAM234に読み出されて実行される。
まず、サブCPU231は、省電力モード時に、S1000でPC102からパケットを受信すると、S1001に処理を進める。S1001にて、サブCPU231は、ネットワークI/F235を介して受信したパケットがパターンリストの更新要求であるか否かをチェックする。このとき、サブCPU231は、更新要求でないと判断した場合、S1002に処理を進め、他方、更新要求であると判断した場合、S1003に処理を進める。
S1002にて、サブCPU231は、ROM233等からパターンリストを取得してパターンマッチ処理を行う。より具体的には、サブCPU231は、マッチするパターン情報があると判断した場合、動作種別に従って、「破棄」、「転送」、「代理応答」の何れかを決定して処理する。なお、サブCPU231は、マッチするパターン情報がないと判断した場合、例えば、受け取ったパケット(受信されたパケット)を破棄する。
Here, the PC 102 adds a pattern list as shown in FIG. 8 or a pattern setting value as shown in FIGS. 4, 5, and 6 by network transfer using a tool, FTP, Web-related service, or the like. An update request can be sent.
FIG. 10 is an example of a flowchart related to processing (packet reception processing) in the network controller 230 for a packet (pattern list update request or the like) transmitted from a remote (such as the PC 102) while the main controller 210 is in the power saving mode. FIG.
Here, differences between the process according to the flowchart of FIG. 9 and the process according to the flowchart of FIG. 10 will be described. The process according to the flowchart of FIG. 9 is a process when a pattern list is received from the main controller 210 side via the extended I / F 232 in the normal power mode. On the other hand, the processing according to the flowchart of FIG. 10 is different in that it is processing when a pattern list is received from the PC 102 via the network I / F 235 in the power saving mode.
The program according to this flowchart and data necessary for executing the program are stored in the ROM 233, and are read by the sub CPU 231 to the RAM 234 and executed.
First, when the sub CPU 231 receives a packet from the PC 102 in S1000 in the power saving mode, the sub CPU 231 advances the process to S1001. In S1001, the sub CPU 231 checks whether or not the packet received via the network I / F 235 is a pattern list update request. At this time, if the sub CPU 231 determines that it is not an update request, the sub CPU 231 advances the process to S1002, while if it determines that it is an update request, the sub CPU 231 advances the process to S1003.
In S1002, the sub CPU 231 obtains a pattern list from the ROM 233 or the like and performs pattern matching processing. More specifically, when the sub CPU 231 determines that there is matching pattern information, the sub CPU 231 determines and processes one of “discard”, “transfer”, and “proxy response” according to the operation type. If the sub CPU 231 determines that there is no matching pattern information, for example, it discards the received packet (received packet).

S1003にて、サブCPU231は、受け取ったパケットに付加されているデータを取得し、当該データが、パターンリストであるか、図4、図5、図6に示すようなパターン設定値であるかをチェックする。このとき、サブCPU231は、パターン設定値であると判断した場合、S1004に処理を進め、他方、パターンリストであると判断した場合、S1005に処理を進める。
S1004にて、サブCPU231は、メインコントローラ210を省電力モードから通常電力モードに復帰させ、パケットから取り出したパターン設定値を、CPU間通信により、メインコントローラ210へ転送する。なお、メインCPU211は、渡されたパターン設定値を図7のフローチャートに従って処理する。
In S1003, the sub CPU 231 acquires the data added to the received packet, and determines whether the data is a pattern list or a pattern setting value as shown in FIGS. To check. At this time, if the sub CPU 231 determines that the value is a pattern setting value, the process proceeds to S1004. If the sub CPU 231 determines that the value is a pattern list, the process proceeds to S1005.
In S1004, the sub CPU 231 returns the main controller 210 from the power saving mode to the normal power mode, and transfers the pattern setting value extracted from the packet to the main controller 210 by inter-CPU communication. The main CPU 211 processes the passed pattern setting value according to the flowchart of FIG.

S1005にて、サブCPU231は、S1000で受信したパケットからパターンリストを取り出す。S1006にて、サブCPU231は、受け取ったパターンリストから1つのパターンIDを取得し、自身が保持しているパターンリスト内に取得した1つのパターンIDに一致するパターンIDが存在するかをチェックする。このとき、サブCPU231は、一致するパターンIDが存在しないと判断した場合、S1008に処理を進め、他方、一致するパターンIDが存在すると判断した場合、S1007に処理を進める。
S1007にて、サブCPU231は、RAM234に保持されているパターンリスト内の一致しているパターンIDのパターン情報におけるパターン設定更新可否が、更新可であるか否かをチェックする。このとき、サブCPU231は、更新不可であると判断した場合、S1009に処理を進め、他方、更新可であると判断した場合、S1008に処理を進める。
In S1005, the sub CPU 231 extracts the pattern list from the packet received in S1000. In S1006, the sub CPU 231 acquires one pattern ID from the received pattern list, and checks whether there is a pattern ID that matches the acquired pattern ID in the pattern list held by itself. At this time, if the sub CPU 231 determines that there is no matching pattern ID, the process proceeds to S1008. If the sub CPU 231 determines that there is a matching pattern ID, the process proceeds to S1007.
In step S1007, the sub CPU 231 checks whether the pattern setting update availability in the pattern information of the matching pattern ID in the pattern list held in the RAM 234 is updatable. At this time, if the sub CPU 231 determines that the update is not possible, the process proceeds to S1009. If the sub CPU 231 determines that the update is possible, the process proceeds to S1008.

S1008にて、サブCPU231は、取得した1つのパターンIDにより識別されるパターン情報を、自身が保持しているパターンリストに登録する。上書き登録する場合は、一致しているパターンIDにより識別されるパターン情報に対して上書き登録する。
S1009にて、サブCPU231は、受け取ったパターンリストにS1005で取得したパターンID以外のパターンID(未処理のパターンID)が存在するかをチェックする。このとき、サブCPU231は、未処理のパターンIDが存在すると判断した場合、未処理のパターンIDについてS1005以降の処理を繰り返し、他方、未処理のパターンIDが存在しないと判断した場合、S1009に処理を進める。また、S1009にて、サブCPU231は、パターンリストの登録結果を、ネットワークI/F235を介してパケットの送信元(PC102)に送信する。
In S1008, the sub CPU 231 registers the pattern information identified by the acquired one pattern ID in the pattern list held by itself. In the case of overwriting registration, overwriting registration is performed on the pattern information identified by the matching pattern ID.
In S1009, the sub CPU 231 checks whether there is a pattern ID (unprocessed pattern ID) other than the pattern ID acquired in S1005 in the received pattern list. At this time, if the sub CPU 231 determines that there is an unprocessed pattern ID, the sub CPU 231 repeats the processes in and after S1005 for the unprocessed pattern ID. To proceed. In step S1009, the sub CPU 231 transmits the pattern list registration result to the packet transmission source (PC 102) via the network I / F 235.

また、メインコントローラ210が通常電力モード中の場合におけるパターンリストの更新要求の処理については、まずネットワークI/F235が、CPU間通信によりパターンリストの更新要求をメインCPU211に渡す。
メインCPU211は、受信した更新要求に付加されているデータを取得し、取得したデータがパターンリストであるか、図4、図5、図6に示すようなパターン設定値であるかをチェックする。このとき、メインCPU211は、パターンリストであると判断した場合、S703の処理を行うことで、当該パターンリストをネットワークコントローラ230のサブCPU231へ転送する。他方、メインCPU211は、受信した更新要求に付加されているデータが図4、図5、図6に示すようなパターン設定値であると判断した場合、S702及びS703の処理を行う。メインCPU211は、これらの処理を行うことでパターン設定値からパターンリストを生成してネットワークコントローラ230へ転送する。
Regarding the processing of the pattern list update request when the main controller 210 is in the normal power mode, the network I / F 235 first passes the pattern list update request to the main CPU 211 by inter-CPU communication.
The main CPU 211 acquires data added to the received update request, and checks whether the acquired data is a pattern list or a pattern setting value as shown in FIGS. At this time, if the main CPU 211 determines that it is a pattern list, the main CPU 211 transfers the pattern list to the sub CPU 231 of the network controller 230 by performing the process of S703. On the other hand, when the main CPU 211 determines that the data added to the received update request is a pattern setting value as shown in FIGS. 4, 5, and 6, the main CPU 211 performs the processes of S <b> 702 and S <b> 703. The main CPU 211 performs these processes, generates a pattern list from the pattern setting values, and transfers the pattern list to the network controller 230.

上述した構成によれば、代理応答等するためのパターンリストを顧客の機器の運用環境に応じて変更可能となる。故に、省電力モード中に不必要な復帰を回避することができるようになり、より省電力モードを維持することが可能となる。
また、上述した構成によれば、メインコントローラ210の省電力モードを維持しつつ、ネットワークコントローラ230においてパターンリストを更新することが可能となる。即ち、省電力モードを維持しつつ、最新のパターンリストを使用して受信されるパケットに対するパターンマッチ処理を行うことができるので、より省電力モードを維持することが可能となる。
According to the above-described configuration, the pattern list for proxy response or the like can be changed according to the operating environment of the customer's device. Therefore, unnecessary return during the power saving mode can be avoided, and the power saving mode can be maintained.
Further, according to the configuration described above, it is possible to update the pattern list in the network controller 230 while maintaining the power saving mode of the main controller 210. That is, since the pattern matching process can be performed on a packet received using the latest pattern list while maintaining the power saving mode, the power saving mode can be further maintained.

<第2の実施形態>
本実施形態では、操作部240からパターン設定値が入力される構成について説明する。なお、本実施形態では、第1の実施形態と異なる構成について主に説明する。
また、本実施形態では、ネットワークコントローラ230で保持されているパターンリストが読み込まれて操作部240の画面に表示され、パターンリストの登録および更新を可能にする構成を例に挙げて説明するが、この構成に限られるものではない。例えば、単にパターン設定値の登録を可能にする構成であってもよい。
<Second Embodiment>
In the present embodiment, a configuration in which pattern setting values are input from the operation unit 240 will be described. In the present embodiment, a configuration different from the first embodiment will be mainly described.
In the present embodiment, a pattern list held in the network controller 230 is read and displayed on the screen of the operation unit 240, and a configuration that enables registration and update of the pattern list will be described as an example. The configuration is not limited to this. For example, a configuration that simply allows registration of pattern setting values may be used.

図11は、パターン設定値を作成する画面の一例を示す図である。パターンID項目1101は、パターン情報毎に唯一のパターンIDを示す。プロトコル種別項目1102は、パターンマッチ処理を行うパケットのプロトコルの種別を示す。プロトコル種別項目1102については、ここではプロトコル名を用いているが、ポート番号を用いてもよい。
サービスタイプ項目1103は、PC102からの要求の対象となるサービスタイプを示す。例えば、プロトコル種別項目1102がSLPである場合、サービスタイプ項目1103は、SLPのサービスタイプを示し、プロトコル種別項目1102がSNMPである場合、サービスタイプ項目1103は、オブジェクトID(OID)を示す。詳細属性項目1104は、サービスタイプ項目1103のサービスタイプに対する詳細属性、Indexを示す。内容項目1105は、個々のサービスタイプの詳細属性に対する説明を示す。
FIG. 11 is a diagram illustrating an example of a screen for creating pattern setting values. The pattern ID item 1101 indicates a unique pattern ID for each piece of pattern information. A protocol type item 1102 indicates the protocol type of a packet to be subjected to pattern matching processing. For the protocol type item 1102, the protocol name is used here, but a port number may be used.
A service type item 1103 indicates a service type that is a target of a request from the PC 102. For example, when the protocol type item 1102 is SLP, the service type item 1103 indicates an SLP service type, and when the protocol type item 1102 is SNMP, the service type item 1103 indicates an object ID (OID). A detailed attribute item 1104 indicates a detailed attribute, Index, for the service type of the service type item 1103. The content item 1105 shows a description for the detailed attribute of each service type.

追加ボタン1106は、パターン情報(パターン設定値)を追加するためのユーザインタフェース(UI)である。追加ボタン1106が押下されると、後述する図12の画面へ画面が遷移する。削除ボタン1107は、パターン情報を削除するためのUIである。図11で一覧表示されているパターン情報の一又は複数が選択された状態で削除ボタン1107が押下されると、選択されているパターン情報が画面上から削除される。詳細ボタン1108は、パターン情報の詳細を表示するためのUIである。詳細ボタン1108が押下されると、後述する図12の画面へ画面が遷移する。
OKボタン1109は、図11及び図12の画面でのユーザ操作で設定された情報をパターン情報として登録、パターン情報を削除等することを確定するためのUIである。OKボタン1109が押下されると、UI処理部308は、例えば、設定された情報をパターン設定値としてパターン生成部306に渡す。それ以降の処理については、第1の実施形態での図7、図9に示す処理と同一であるので説明を省略する。Cancelボタン1110は、図11及び図12の画面でのユーザ操作で設定、削除された情報を全てキャンセルするためのUIである。
An add button 1106 is a user interface (UI) for adding pattern information (pattern setting value). When the add button 1106 is pressed, the screen changes to a screen shown in FIG. A delete button 1107 is a UI for deleting pattern information. When the delete button 1107 is pressed while one or more of the pattern information displayed in the list in FIG. 11 is selected, the selected pattern information is deleted from the screen. A detail button 1108 is a UI for displaying details of pattern information. When the detail button 1108 is pressed, the screen changes to a screen shown in FIG.
An OK button 1109 is a UI for confirming that information set by user operation on the screens of FIGS. 11 and 12 is registered as pattern information, and the pattern information is deleted. When an OK button 1109 is pressed, the UI processing unit 308 passes the set information to the pattern generation unit 306 as a pattern setting value, for example. The subsequent processing is the same as the processing shown in FIG. 7 and FIG. 9 in the first embodiment, and a description thereof will be omitted. The Cancel button 1110 is a UI for canceling all information set and deleted by a user operation on the screens of FIGS. 11 and 12.

図12は、追加ボタン1106又は詳細ボタン1108が押下された場合に遷移する画面の一例を示す図である。この画面は、新規のパターン情報(パターン設定値)を追加する場合、図11で表示されている個々のパターン情報の詳細を表示、変更する場合に用いられる。
プロトコル種別項目1201は、パターンマッチ処理を行うパケットのプロトコルの種別を選択するためのUIである。プロトコル種別項目1201は、ここではプロトコル名を選択する形態となっているが、プロトコルのポート番号を入力する形態であってもよい。パターン設定有効/無効項目1202は、図12で表示されているパターン設定値の有効/無効を選択するためのUIである。パケット種別項目1203は、PC102から送られるパケットの種別の判定に用いられる情報を選択するためのUIである。パケット種別項目1203では、ユニキャスト、マルチキャスト、ブロードキャストの何れかを選択することが可能である。
要求種別項目1204は、プロトコル種別毎の要求の種別を選択するためのUIである。例えば、プロトコル種別がSLPである場合、要求種別項目1204では、Service Request、Attribute Request等の選択が可能である。例えば、プロトコル種別がSNMPである場合、要求種別項目1204では、Get Request等の選択が可能である。
FIG. 12 is a diagram illustrating an example of a screen that transitions when the add button 1106 or the detail button 1108 is pressed. This screen is used when adding new pattern information (pattern setting value) or when displaying or changing the details of the individual pattern information displayed in FIG.
The protocol type item 1201 is a UI for selecting a protocol type of a packet to be subjected to pattern matching processing. The protocol type item 1201 is a form for selecting a protocol name here, but may be a form for inputting a port number of the protocol. The pattern setting valid / invalid item 1202 is a UI for selecting validity / invalidity of the pattern setting value displayed in FIG. The packet type item 1203 is a UI for selecting information used for determining the type of packet sent from the PC 102. In the packet type item 1203, any of unicast, multicast, and broadcast can be selected.
A request type item 1204 is a UI for selecting a request type for each protocol type. For example, when the protocol type is SLP, in the request type item 1204, it is possible to select Service Request, Attribute Request, and the like. For example, when the protocol type is SNMP, the request type item 1204 allows selection of Get Request or the like.

動作種別項目1205は、省電力モードでPC102から受信したパケットがパターン情報と一致した場合にネットワークコントローラ230が行う動作を選択するためのUIである。動作種別項目1205では、「破棄」、「転送」、「応答処理」の何れかを選択することが可能である。
スコープ項目1206は、PC102からの要求の対象となるサービスにおけるスコープを入力するためのUIである。例えば、プロトコル種別項目1201のプロトコル種別がSLPである場合、スコープ項目1206は、SLPのサービススコープの入力となる。また、例えば、プロトコル種別項目1201のプロトコル種別がSNMPである場合、スコープ項目1206は、Community名の入力となる。サービスタイプ項目1207は、PC102からの要求の対象となるサービスタイプを入力するためのUIである。サービスタイプ項目1207は、例えば、プロトコル種別項目1201のプロトコル種別がSLPである場合、SLPのサービスタイプを入力可能とし、プロトコル種別項目1201のプロトコル種別がSNMPである場合、OIDを入力可能とする。
詳細属性項目1208は、サービスタイプ項目1207のサービスタイプに対する詳細属性、Indexを入力するためのUIである。設定値項目1209は、サービスタイプ項目1207のサービスタイプの、個々の詳細属性項目1208に対する値、情報を入力するためのUIである。内容項目1210は、サービスタイプ項目1207のサービスタイプの個々の詳細属性に対する説明を入力するためのUIである。
The operation type item 1205 is a UI for selecting an operation to be performed by the network controller 230 when a packet received from the PC 102 in the power saving mode matches the pattern information. In the operation type item 1205, it is possible to select any one of “Discard”, “Transfer”, and “Response processing”.
The scope item 1206 is a UI for inputting a scope in a service to be requested from the PC 102. For example, when the protocol type of the protocol type item 1201 is SLP, the scope item 1206 is an input of an SLP service scope. For example, when the protocol type of the protocol type item 1201 is SNMP, the scope item 1206 is an input of a Community name. A service type item 1207 is a UI for inputting a service type to be requested from the PC 102. In the service type item 1207, for example, when the protocol type of the protocol type item 1201 is SLP, the service type of SLP can be input, and when the protocol type of the protocol type item 1201 is SNMP, OID can be input.
The detailed attribute item 1208 is a UI for inputting a detailed attribute and index for the service type of the service type item 1207. A setting value item 1209 is a UI for inputting a value and information for each detailed attribute item 1208 of the service type of the service type item 1207. The content item 1210 is a UI for inputting a description for each detailed attribute of the service type in the service type item 1207.

自動入力ボタン1211は、図12に示す設定項目に対して自動で入力することを可能にするUIである。自動入力ボタン1211が押下されると、パターン生成部306は、SNMP処理部310、SLP処理部311等から複合機101の各種の設定データ、用紙の残量、部品から得られるスペック、消耗度、状態、エラー等の情報を取得する。パターン生成部306は、取得した情報をUI処理部308に渡す。UI処理部308は、パターン生成部306から渡された情報を図12の各種の設定項目に表示する。
自動入力ボタン1211は、押下の前段階としてプロトコル種別項目1201及びサービスタイプ項目1207の入力が完了していることを必須とする。自動入力ボタン1211の押下によって自動入力される設定項目は、少なくともパケット種別項目1203、スコープ項目1206、詳細属性項目1208、及び設定値項目1209である。
The automatic input button 1211 is a UI that enables automatic input to the setting items shown in FIG. When the automatic input button 1211 is pressed, the pattern generation unit 306 causes the SNMP processing unit 310, the SLP processing unit 311, and the like to set various types of setting data of the multi-function peripheral 101, the remaining amount of paper, specifications obtained from the parts, the degree of wear, Get information about status, errors, etc. The pattern generation unit 306 passes the acquired information to the UI processing unit 308. The UI processing unit 308 displays information passed from the pattern generation unit 306 on various setting items in FIG.
The automatic input button 1211 requires that the input of the protocol type item 1201 and the service type item 1207 is completed as a step before pressing. Setting items automatically input by pressing the automatic input button 1211 are at least a packet type item 1203, a scope item 1206, a detailed attribute item 1208, and a setting value item 1209.

OKボタン1212は、図12で入力した情報を一時保存するためのUIである。図12の設定項目の情報がネットワークコントローラ230に登録されるのは、OKボタン1109が押下されたときである。Cancelボタン1213は、図12で入力された情報を全て破棄するためのUIである。
このようなUIを用意することによって、機器の操作者によるパターン設定値の作成の手間を軽減することが可能となる。また、PC102において図11及び図12に示すような画面を表示してパターン設定値の作成を可能にする構成を採用してもよい。この構成は、省電力モード時におけるパターンマッチ処理に用いられるパターンリストの登録に、より有用なものとなる。
The OK button 1212 is a UI for temporarily storing the information input in FIG. The information of the setting items in FIG. 12 is registered in the network controller 230 when the OK button 1109 is pressed. The Cancel button 1213 is a UI for discarding all information input in FIG.
By preparing such a UI, it is possible to reduce the trouble of creating the pattern setting value by the operator of the device. Further, the PC 102 may display a screen as shown in FIG. 11 and FIG. 12 so that a pattern setting value can be created. This configuration is more useful for registering a pattern list used for pattern matching processing in the power saving mode.

<その他の実施形態>
上述したメインコントローラ210は、第1の情報処理装置(第1のコンピュータの一例)であり、ネットワークコントローラ230は、第2の情報処理装置(第2のコンピュータの一例)である。
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The main controller 210 described above is a first information processing apparatus (an example of a first computer), and the network controller 230 is a second information processing apparatus (an example of a second computer).
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

上述した実施形態の構成によれば、電力モードの制御に係る情報をより適切に管理することができる。   According to the configuration of the embodiment described above, it is possible to more appropriately manage information related to the control of the power mode.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

230 ネットワークコントローラ、210 メインコントローラ 230 Network controller, 210 Main controller

Claims (5)

第1の電力モードと当該第1の電力モードよりも消費電力が小さい第2の電力モードで動作可能なデータ処理装置であって、
前記第2の電力モードを維持したまま応答可能なパケットのパターンを示す応答パターンを記憶する記憶手段と、
前記第2の電力モードで動作する前記データ処理装置が受信したパケットが前記応答パターンに一致する場合に、前記第2の電力モードを維持したまま前記パケットに応答する処理手段と、
前記応答パターンとして新規のパターンを登録することを要求する登録要求をネットワーク上の外部装置から受信する受信手段と、
前記受信手段が受信した前記登録要求に基づいて、前記応答パターンとして前記新規のパターンを前記記憶手段に登録する登録手段とを備え
前記登録要求において、前記応答パターンを示す情報としてSNMPのオブジェクトIDが指定されていることを特徴とするデータ処理装置。
A data processing apparatus operable in a first power mode and a second power mode that consumes less power than the first power mode,
Storage means for storing a response pattern indicating a pattern of a packet that can be responded while maintaining the second power mode;
Processing means for responding to the packet while maintaining the second power mode when a packet received by the data processing device operating in the second power mode matches the response pattern;
Receiving means for receiving a registration request for requesting registration of a new pattern as the response pattern from an external device on the network;
A registration unit for registering the new pattern in the storage unit as the response pattern based on the registration request received by the reception unit ;
An SNMP object ID is specified as information indicating the response pattern in the registration request .
前記記憶手段が記憶する前記応答パターンはパターンIDによって管理され、The response pattern stored by the storage means is managed by a pattern ID,
前記記憶手段に、前記登録要求において指定されているパターンIDに一致するパターンIDの応答パターンが存在する場合、前記登録手段は、前記新規のパターンを前記一致するパターンIDの応答パターンに上書きすることを特徴とする請求項1に記載のデータ処理装置。When there is a response pattern with a pattern ID that matches the pattern ID specified in the registration request in the storage means, the registration means overwrites the new pattern with the response pattern with the matching pattern ID. The data processing apparatus according to claim 1.
前記記憶手段は、前記第2の電力モードから前記第1の電力モードに復帰すべきパケットのパターンを示す復帰パターンを更に記憶し、
前記第2の電力モードで動作する前記データ処理装置が受信したパケットが前記復帰パターンに一致する場合、前記処理手段は、前記データ処理装置を前記第2の電力モードから前記第1の電力モードに復帰させることを特徴とする請求項1又は2に記載のデータ処理装置。
The storage means further stores a return pattern indicating a pattern of a packet to be returned from the second power mode to the first power mode,
If the packet received by the data processing device operating in the second power mode matches the return pattern, the processing means changes the data processing device from the second power mode to the first power mode. the data processing apparatus according to claim 1 or 2, characterized in that to return.
前記記憶手段は、前記第2の電力モードから前記第1の電力モードに復帰すべきパケットのパターンを示す復帰パターンと、破棄すべきパケットのパターンを示す破棄パターンとを更に記憶し、
前記第2の電力モードで動作する前記データ処理装置が受信したパケットが前記復帰パターンに一致する場合、前記処理手段は、前記データ処理装置を前記第2の電力モードから前記第1の電力モードに復帰させ、
前記第2の電力モードで動作する前記データ処理装置が受信したパケットが前記破棄パターンに一致する場合、前記処理手段は、前記受信したパケットを破棄することを特徴とする請求項1又は2に記載のデータ処理装置。
The storage means further stores a return pattern indicating a pattern of a packet to be returned from the second power mode to the first power mode, and a discard pattern indicating a pattern of the packet to be discarded;
If the packet received by the data processing device operating in the second power mode matches the return pattern, the processing means changes the data processing device from the second power mode to the first power mode. Reinstate,
If the packet in which the data processing apparatus receives operating in the second power mode matches the discard pattern, the processing means, according to claim 1 or 2, characterized in that discarding the received packet Data processing equipment.
前記データ処理装置は印刷装置であることを特徴とする請求項1乃至のいずれか1項に記載のデータ処理装置。 The data processing apparatus according to any one of claims 1 to 4, wherein the data processing device is a printing device.
JP2016146607A 2016-07-26 2016-07-26 Data processing device Active JP6214733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016146607A JP6214733B2 (en) 2016-07-26 2016-07-26 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016146607A JP6214733B2 (en) 2016-07-26 2016-07-26 Data processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012019995A Division JP2013161122A (en) 2012-02-01 2012-02-01 Data processing device, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2016195459A JP2016195459A (en) 2016-11-17
JP6214733B2 true JP6214733B2 (en) 2017-10-18

Family

ID=57323062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016146607A Active JP6214733B2 (en) 2016-07-26 2016-07-26 Data processing device

Country Status (1)

Country Link
JP (1) JP6214733B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003191570A (en) * 2001-12-26 2003-07-09 Fuji Xerox Co Ltd Printer
JP2006279821A (en) * 2005-03-30 2006-10-12 Canon Inc Image processing apparatus, sleep state return method, and program
JP5064995B2 (en) * 2007-12-20 2012-10-31 キヤノン株式会社 Data processing apparatus, data processing method, and program
JP5341630B2 (en) * 2009-06-15 2013-11-13 キヤノン株式会社 Data processing apparatus and data processing method

Also Published As

Publication number Publication date
JP2016195459A (en) 2016-11-17

Similar Documents

Publication Publication Date Title
JP2013161122A (en) Data processing device, information processing method, and program
JP5417980B2 (en) Information processing apparatus and program
JP3854852B2 (en) Management information transmission device, device management device, and device management system
US8738728B2 (en) Information processing apparatus that identifies transmission source, and control method and storage medium therefor
JP6045219B2 (en) Data processing apparatus, information processing method, and program
JP5571911B2 (en) Image processing apparatus, control method thereof, and program
JP5380343B2 (en) Image forming system and image forming apparatus
JP6214733B2 (en) Data processing device
JP5111547B2 (en) Image forming system and image forming apparatus
JP5735853B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD AND PROGRAM
US8705094B2 (en) Device management system, managed device, information providing method, and storage medium
JP2014236396A (en) Image formation device
JP2008123299A (en) Network device, network device management apparatus, network device control method, network device management method, program, and storage medium
JP4870453B2 (en) Image forming apparatus
JP2008176426A (en) Printing system and printing method
JP5111325B2 (en) Management device, management system, management method, and computer program
JP5175890B2 (en) Image forming system, device search method, and image forming apparatus
JP6061730B2 (en) Management server device, client device, information processing method, and program
JP2024063454A (en) Information processing device, control method for information processing device, information processing system, and program
JP5725081B2 (en) Network printer system, host device control method and control program
JP2011206946A (en) Image forming system and image forming apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160823

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170919

R151 Written notification of patent or utility model registration

Ref document number: 6214733

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151