[go: up one dir, main page]

JP2018018168A - Communication device and control method for the same, computer program - Google Patents

Communication device and control method for the same, computer program Download PDF

Info

Publication number
JP2018018168A
JP2018018168A JP2016145692A JP2016145692A JP2018018168A JP 2018018168 A JP2018018168 A JP 2018018168A JP 2016145692 A JP2016145692 A JP 2016145692A JP 2016145692 A JP2016145692 A JP 2016145692A JP 2018018168 A JP2018018168 A JP 2018018168A
Authority
JP
Japan
Prior art keywords
packet
address
operation state
communication device
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016145692A
Other languages
Japanese (ja)
Inventor
昌敬 深田
Masataka Fukada
昌敬 深田
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 JP2016145692A priority Critical patent/JP2018018168A/en
Publication of JP2018018168A publication Critical patent/JP2018018168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

【課題】複数のIPアドレスが付与された機器においてより効果的に省電力効果を発揮させることが可能な技術を提供する。【解決手段】第1の動作状態と、当該第1の動作状態よりも省電力に動作する第2の動作状態とを有する通信装置は、IPアドレスを記憶する記憶手段と、ネットワークから通信装置のMACアドレスに基づいて、パケットを選択的に受信する受信手段と、第2の動作状態において受信手段がネットワークからパケットを受信したことに応じて、第2の動作状態から第1の動作状態へ復帰するか否かを判定する判定手段と、判定手段の判定結果に応じて通信装置の動作状態を切り替える切替手段とを備え、判定手段は、受信手段が通信装置のMACアドレスに基づいて受信したパケットの宛先アドレスが記憶手段に記憶されたIPアドレスのいずれにも一致しないときは、第1の動作状態へ復帰すると判定する。【選択図】 図3Provided is a technique capable of more effectively exerting a power saving effect in a device provided with a plurality of IP addresses. A communication device having a first operation state and a second operation state that operates more power-saving than the first operation state includes: a storage unit that stores an IP address; Receiving means for selectively receiving packets based on the MAC address, and returning from the second operating state to the first operating state in response to the receiving means receiving a packet from the network in the second operating state Determining means for determining whether or not to perform, and switching means for switching the operating state of the communication device according to the determination result of the determination means, the determination means is a packet received by the receiving means based on the MAC address of the communication device When the destination address does not match any of the IP addresses stored in the storage means, it is determined to return to the first operation state. [Selection] Figure 3

Description

本発明は通信装置及びその制御方法、コンピュータプログラムに関する。   The present invention relates to a communication apparatus, a control method therefor, and a computer program.

近年、ネットワーク通信で利用するプロトコルであるIP(Internet Protocol)はIPアドレスの枯渇という問題に対応するためIPv4(IPバージョン4)からIPv6(IPバージョン6)への移行が進んでいる。IPv6では通信処理装置の通信インタフェースに複数のIPアドレスを付与し、通信相手のスコープ等に応じて通信時に用いるIPアドレスを使い分けることが行われている。またサービスに応じてIPアドレスを使い分けるといったことも行われており、今後ますます通信装置に付与されるIPアドレスが増加することが考えられる。   In recent years, IP (Internet Protocol), which is a protocol used in network communication, has been shifting from IPv4 (IP version 4) to IPv6 (IP version 6) in order to cope with the problem of exhaustion of IP addresses. In IPv6, a plurality of IP addresses are assigned to a communication interface of a communication processing apparatus, and IP addresses used at the time of communication are properly used according to the scope of the communication partner. In addition, IP addresses are properly used according to services, and it is conceivable that IP addresses assigned to communication devices will increase in the future.

一方で、従来から、通信装置の省電力モードとして、主要機能が動作していないときに、当該通信装置のシステムを構成するCPUやメモリを含む大部分のハードウェアの電源をオフにして省電力化を図ることが実現されている。また、このような省電力モードにおいても、外部のリモートコントローラからのネットワーク通信に対し応答を返すことや、ネットワーク通信により起動要求を受信したことに応じて通信装置の主要機能を動作可能な通常電力状態に復帰させることも知られている。このような機能は、ネットワーク通信処理を実行可能な一部のハードウェアのみに電力を供給することで、通常電力状態に復帰させるための起動要求を受信待機することによって実現される。さらに、通信装置が、リモートコントローラからの問合せを受信し、システムを通常電力状態に復帰させることなく応答を返すことも実現されている。   On the other hand, when a main function is not operating as a power saving mode of a communication device, the power of most hardware including the CPU and memory constituting the communication device system is turned off to save power. Has been realized. Even in such a power saving mode, normal power that can respond to network communication from an external remote controller and that can operate the main functions of the communication device in response to receiving an activation request through network communication. It is also known to restore the state. Such a function is realized by receiving and waiting for an activation request for returning to the normal power state by supplying power only to a part of hardware capable of performing network communication processing. Furthermore, it is also realized that the communication device receives an inquiry from the remote controller and returns a response without returning the system to the normal power state.

通信装置が省電力で受信待機する手法の一例としては、当該通信装置が具備するNIC(Network Interface Card)のみに電力を供給して動作させるものが知られている。ここでは、NICがネットワークから受信したフレームを検査し、特定パターンのデータを含む場合に、応答処理やシステム起動処理を実行する。   As an example of a method in which a communication device waits for reception with power saving, a method is known in which power is supplied only to a NIC (Network Interface Card) included in the communication device to operate. Here, the NIC inspects a frame received from the network, and executes response processing and system activation processing when data of a specific pattern is included.

これらの背景に応じて、NICにおいて、受信したパケットの宛先アドレスが予め記憶されたものであるかを判別し、記憶されたものである場合に主制御部を省電力状態から復帰させて、そのパケットを主制御部へ出力することが知られている(特許文献1)。この構成では、NICのパケット検出部において、物理アドレスのうち検出対象の物理アドレスのリストを記憶するとともに、通信装置の個々の機能に割り当てられたIPアドレスのうち検出対象のIPアドレスのリストを記憶しておく。そして、パケットを受信した場合、そのパケットにおいて宛先として指定された物理アドレス及びIPアドレスが予め記憶されたものに合致するか否かを判断する。その結果、これらが合致したときは、主制御部を復帰させて受信パケットを主制御部に出力する。   According to these backgrounds, the NIC determines whether the destination address of the received packet is stored in advance, and if it is stored, returns the main control unit from the power saving state, It is known to output a packet to a main control unit (Patent Document 1). In this configuration, the NIC packet detection unit stores a list of physical addresses to be detected among physical addresses, and also stores a list of IP addresses to be detected among IP addresses assigned to individual functions of the communication device. Keep it. When a packet is received, it is determined whether the physical address and IP address specified as the destination in the packet match those stored in advance. As a result, when they match, the main control unit is returned and the received packet is output to the main control unit.

特開2010−166313号公報JP 2010-166313 A

省電力で受信待機させる際、省電力効果を高めるためには電力供給を遮断する等により、ハードウェア資源に供給する電力をできるだけ少なくすることが求められる。しかし、特許文献1に記載の構成では、機器に付与されるIPアドレスが増えることに応じて、省電力モード時においても自身のIPアドレス情報として保持しなければならないメモリ量が増加してしまう。今後サービスや通信種別に応じてIPアドレスを使い分けるために、付与されるIPアドレスが増加するとIPアドレス情報を保持するために必要なメモリも増加してしまう。すると省電力モード時にこれらメモリに供給する電力も増えてしまい、十分な省電力効果が発揮できないという課題がある。   When waiting for reception with low power consumption, in order to enhance the power saving effect, it is required to reduce the power supplied to the hardware resources as much as possible by cutting off the power supply. However, with the configuration described in Patent Document 1, as the number of IP addresses assigned to the device increases, the amount of memory that must be held as its own IP address information even in the power saving mode increases. In the future, in order to properly use IP addresses according to services and communication types, if the number of IP addresses to be assigned increases, the memory required to hold IP address information also increases. Then, the power supplied to these memories increases in the power saving mode, and there is a problem that a sufficient power saving effect cannot be exhibited.

本発明は上記課題に鑑みなされたものであり、複数のIPアドレスが付与された機器においてより効果的に省電力効果を発揮させることが可能な技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique capable of more effectively exerting a power saving effect in a device provided with a plurality of IP addresses.

上記目的を達成するため、本発明による通信装置は以下の構成を備える。即ち、
第1の動作状態と、当該第1の動作状態よりも省電力に動作する第2の動作状態とを有する通信装置であって、
IPアドレスを記憶する記憶手段と、
ネットワークから前記通信装置のMACアドレスに基づいて、パケットを選択的に受信する受信手段と、
前記第2の動作状態において前記受信手段が前記ネットワークからパケットを受信したことに応じて、前記第2の動作状態から前記第1の動作状態へ復帰するか否かを判定する判定手段と、
前記判定手段の判定結果に応じて前記通信装置の動作状態を切り替える切替手段と
を備え、
前記判定手段は、前記受信手段が前記通信装置のMACアドレスに基づいて受信した前記パケットの宛先アドレスが前記記憶手段に記憶されたIPアドレスのいずれにも一致しないときは、前記第1の動作状態へ復帰すると判定する。
In order to achieve the above object, a communication apparatus according to the present invention comprises the following arrangement. That is,
A communication device having a first operation state and a second operation state that operates more power-saving than the first operation state,
Storage means for storing an IP address;
Receiving means for selectively receiving packets from the network based on the MAC address of the communication device;
Determining means for determining whether or not to return from the second operating state to the first operating state in response to the receiving unit receiving a packet from the network in the second operating state;
Switching means for switching the operation state of the communication device according to the determination result of the determination means,
The determination unit is configured to perform the first operation state when a destination address of the packet received by the reception unit based on a MAC address of the communication device does not match any of the IP addresses stored in the storage unit. Determine to return to.

本発明によれば、複数のIPアドレスが付与された機器においてより効果的に省電力効果を発揮させることが可能な技術を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the technique which can be made to exhibit a power saving effect more effectively in the apparatus to which the some IP address was provided can be provided.

通信処理装置の構成を示した図Diagram showing the configuration of the communication processing device 通信処理装置の消費電力状態の遷移を示した図Diagram showing transition of power consumption state of communication processing device 省電力モード時のパケット受信処理手順を示したフローチャートFlow chart showing packet reception processing procedure in power saving mode 省電力モードから通常電力モードへの復帰処理手順を示したフローチャートFlow chart showing the procedure for returning from power saving mode to normal power mode 省電力モード移行時のIPアドレス設定処理手順を示したフローチャートFlow chart showing the IP address setting process procedure when shifting to the power saving mode

以下、添付図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

(通信処理装置の構成)
本発明の一実施形態(実施形態1)に係る通信処理装置(通信装置)101の構成の例について図1を用いて説明する。図1は通信処理装置101の構成を示すブロック図である。図1のように、通信処理装置101は、アプリケーションシステム部102、ネットワーク通信部103、及び、省電力モード制御部104を有している。本実施形態では、通信処理装置101に予め複数のIPアドレスが付与されている。
(Configuration of communication processing device)
An example of the configuration of a communication processing apparatus (communication apparatus) 101 according to an embodiment (first embodiment) of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the communication processing apparatus 101. As illustrated in FIG. 1, the communication processing apparatus 101 includes an application system unit 102, a network communication unit 103, and a power saving mode control unit 104. In this embodiment, a plurality of IP addresses are assigned to the communication processing apparatus 101 in advance.

ネットワーク通信部103のローカルバス112には、ネットワークに接続してフレームの送受信を行う通信制御部105、ネットワーク通信部103内の処理における一時記憶装置であるローカルRAM(書込み可能メモリ)107が接続される。また、ローカルバス112には、TCP/IP通信処理を実行するプロトコル処理部108と、後述するバスブリッジ回路106が接続される。   Connected to the local bus 112 of the network communication unit 103 are a communication control unit 105 that transmits and receives frames by connecting to the network, and a local RAM (writeable memory) 107 that is a temporary storage device for processing in the network communication unit 103. The The local bus 112 is connected to a protocol processing unit 108 that executes TCP / IP communication processing and a bus bridge circuit 106 described later.

通信処理装置101が接続するネットワーク113は、通信制御部105を介して通信処理装置101に接続する。ネットワーク113は、例えばイーサネット(登録商標)であるが、無線ネットワークや、光ファイバーネットワーク等、通信可能な媒体であればどのようなものでもよい。通信処理装置101を操作するリモートコントローラは、ネットワーク113を介してTCP/IPプロトコルを用いた通信を行う。   The network 113 to which the communication processing apparatus 101 is connected is connected to the communication processing apparatus 101 via the communication control unit 105. The network 113 is, for example, Ethernet (registered trademark), but may be any medium as long as it can communicate, such as a wireless network or an optical fiber network. A remote controller that operates the communication processing apparatus 101 performs communication using the TCP / IP protocol via the network 113.

通信制御部105は、ネットワーク113に対して伝送フレームの送受信するための通信制御を行う。例えば、ネットワーク113がイーサネット(登録商標)の場合、通信制御部105は、イーサネット(登録商標)のMAC処理(伝送メディア制御処理)や、伝送フレームの送受信等を行う。   The communication control unit 105 performs communication control for transmitting and receiving transmission frames to and from the network 113. For example, when the network 113 is Ethernet (registered trademark), the communication control unit 105 performs Ethernet (registered trademark) MAC processing (transmission media control processing), transmission and reception of transmission frames, and the like.

プロトコル処理部108は、通信プロトコル処理専用のハードウェア回路装置、あるいは通信プロトコル処理用に設計されたマイクロプロセッサである。これらは、汎用的なTCP/IPプロトコルの通信処理を行う。より具体的には、IPv4、IPv6、IPsec、ICMP、UDP、TCPの各通信プロトコル処理や、送信フロー制御や輻輳制御、通信エラー制御等を行う。プロトコル処理部108は1つの機能ブロックとして構成してもよいし、複数の機能ブロックを複数のマイクロプロセッサにより実現したマルチプロセッサ構成としてもよい。さらに、マイクロプロセッサによる処理と一部の機能をハードウェアによる専用のアクセラレータにより実現する構成としてもよい。これらはそれぞれ独立に電源制御可能な構成とすることが望ましい。   The protocol processing unit 108 is a hardware circuit device dedicated to communication protocol processing or a microprocessor designed for communication protocol processing. These perform general-purpose TCP / IP protocol communication processing. More specifically, IPv4, IPv6, IPsec, ICMP, UDP, TCP communication protocol processing, transmission flow control, congestion control, communication error control, and the like are performed. The protocol processing unit 108 may be configured as one functional block, or may have a multiprocessor configuration in which a plurality of functional blocks are realized by a plurality of microprocessors. Further, the processing by the microprocessor and some functions may be realized by a dedicated accelerator using hardware. It is desirable that these power sources can be controlled independently.

ローカルRAM107は、通信制御部105やプロトコル処理部108におけるデータの一時記憶領域として使用される。後述するように、ローカルRAM107は、省電力モード状態202においてパケットを受信した場合に、通常電力状態201へ復帰するか否かの判定の基となるIPアドレスを記憶する。また、マイクロプロセッサで構成する場合は動作時のコンピュータプログラムの格納領域として用いてもよい。さらにローカルRAM107は複数のメモリバンクで構成し、メモリバンクごとに電源を制御可能な構成としてもよい。ローカルRAM107はメモリサイズの異なる複数のメモリチップで構成され、必要となる記憶サイズに応じて使用可能なメモリチップを切り替える構成であってもよい。   The local RAM 107 is used as a temporary storage area for data in the communication control unit 105 and the protocol processing unit 108. As will be described later, when the local RAM 107 receives a packet in the power saving mode state 202, the local RAM 107 stores an IP address that is a basis for determining whether or not to return to the normal power state 201. In the case of a microprocessor, it may be used as a storage area for computer programs during operation. Further, the local RAM 107 may be composed of a plurality of memory banks, and the power supply may be controlled for each memory bank. The local RAM 107 may be configured by a plurality of memory chips having different memory sizes, and may be configured to switch usable memory chips in accordance with a required storage size.

また、ネットワーク通信部103は、ローカルバス112と、アプリケーションシステム部102のシステムバス118との間のデータ転送を可能とするバスブリッジ回路106を有する。即ち、ネットワーク通信部103と、アプリケーションシステム部102とは、それぞれのバス回路がバスブリッジ回路106を介して相互に接続されており、通信データの入出力においてバス間転送が行われる仕組みになっている。   The network communication unit 103 also includes a bus bridge circuit 106 that enables data transfer between the local bus 112 and the system bus 118 of the application system unit 102. In other words, the network communication unit 103 and the application system unit 102 are connected to each other via the bus bridge circuit 106, and the inter-bus transfer is performed in communication data input / output. Yes.

アプリケーションシステム部102のシステムバス118には、CPU(中央演算ユニット)114、ROM(読出し専用メモリ)115、RAM116、及び、アプリケーション機能部117が接続される。ROM115には、システムプログラムが格納されており、RAM116は、システムソフトウェアやアプリケーションソフトウェア等のコンピュータプログラムの実行時に使用される一時記憶装置として利用される。ROM115からRAM116へソフトウェアプログラム(コンピュータプログラム)が読み込まれ、CPU114によって実行される。同じくシステムバス118に接続されているアプリケーション機能部117は、通信処理装置101の特徴的なアプリケーション機能を実現するために使用するハードウェア処理部である。   A CPU (Central Processing Unit) 114, a ROM (Read Only Memory) 115, a RAM 116, and an application function unit 117 are connected to the system bus 118 of the application system unit 102. A system program is stored in the ROM 115, and the RAM 116 is used as a temporary storage device used when executing a computer program such as system software or application software. A software program (computer program) is read from the ROM 115 to the RAM 116 and executed by the CPU 114. Similarly, an application function unit 117 connected to the system bus 118 is a hardware processing unit used for realizing a characteristic application function of the communication processing apparatus 101.

省電力モード制御部104は、ネットワーク通信部103及びアプリケーションシステム部102の電力供給を、ネットワーク通信部103及びアプリケーションシステム部102とは独立に制御する電源制御部である。   The power saving mode control unit 104 is a power control unit that controls the power supply of the network communication unit 103 and the application system unit 102 independently of the network communication unit 103 and the application system unit 102.

省電力モード制御部104は、通信処理装置101を構成する各装置に対して、電源投入の制御、ハードウェアリセット制御、さらに通信処理装置101全体が安全に起動・停止するためのシーケンス制御を行う。また、省電力モード制御部104は、制御信号線によりネットワーク通信部103及びアプリケーションシステム部102と接続されており、通常電力状態及び省電力モード状態の各状態のモード移行動作制御を行う。   The power saving mode control unit 104 performs power-on control, hardware reset control, and sequence control for safely starting / stopping the entire communication processing device 101 for each device constituting the communication processing device 101. . The power saving mode control unit 104 is connected to the network communication unit 103 and the application system unit 102 via a control signal line, and performs mode transition operation control in each of the normal power state and the power saving mode state.

通信処理装置101の主要な機能は、アプリケーションシステム部102により実現される。CPU114により実行されるアプリケーションプログラムは、ネットワーク通信を行うことが可能である。アプリケーションによる通信は、TCP/IPプロトコルをベースとしている。前述のように、このTCP/IPプロトコル処理は、ネットワーク通信部103のプロトコル処理部108において実行される。   The main functions of the communication processing apparatus 101 are realized by the application system unit 102. An application program executed by the CPU 114 can perform network communication. Communication by application is based on the TCP / IP protocol. As described above, this TCP / IP protocol process is executed in the protocol processing unit 108 of the network communication unit 103.

(状態遷移)
上記の構成を備えた通信処理装置101は、主要機能が非動作であるアイドル状態において、省電力モード状態に移行することを可能とする。通信処理装置101の動作状態の遷移について、図2を用いて説明する。
(State transition)
The communication processing apparatus 101 having the above-described configuration enables a transition to the power saving mode state in an idle state where the main functions are not operating. The transition of the operation state of the communication processing apparatus 101 will be described with reference to FIG.

図2は、通信処理装置101の消費電力状態の遷移図である。201は通常電力状態(第1の動作状態)であり、202は省電力モード状態(第2の動作状態)である。省電力モード状態202は、通常電力状態201よりも通信処理装置101が省電力に動作する動作状態である。通信処理装置101の主要機能が動作中である間は通常電力状態201を維持する(203)。通常電力状態201では、アプリケーションシステム部102を含む通信処理装置101全体に電力が供給される。通常電力状態201において主要機能が実行していないアイドル状態になると、省電力モード状態202へ移行する(204)。例えば、通常電力状態201においてアイドル状態が一定時間継続したことに応じて、省電力モード状態202へ移行するようにすることができる。   FIG. 2 is a transition diagram of the power consumption state of the communication processing apparatus 101. 201 is a normal power state (first operation state), and 202 is a power saving mode state (second operation state). The power saving mode state 202 is an operation state in which the communication processing apparatus 101 operates more power saving than the normal power state 201. While the main function of the communication processing apparatus 101 is operating, the normal power state 201 is maintained (203). In the normal power state 201, power is supplied to the entire communication processing apparatus 101 including the application system unit 102. When the idle state in which the main function is not executed in the normal power state 201 is entered, the state shifts to the power saving mode state 202 (204). For example, the transition to the power saving mode state 202 can be made when the idle state continues for a certain period of time in the normal power state 201.

一方、省電力モード状態202では、ネットワーク通信部103と省電力モード制御部104にだけ電力が供給される。さらに、ネットワーク通信部103は、動作モードに応じて、必要となるハードウェア資源に対してのみ電力を供給するように、省電力モード制御部104の制御に応じて、その構成要素に対する電力供給を細かく制御する。省電力モード状態202では、アプリケーションシステム部102は電源がオフの状態であるため、システムバス118、CPU114、RAM116、ROM115、アプリケーション機能部117は停止していることになる。省電力モード状態202から通常電力状態201への移行は、例えば、通信処理装置101がネットワーク113からシステムの起動要求を受信した場合(205)である。また、省電力モード制御部104は、ユーザから操作可能な外部のスイッチと接続され、スイッチの押下によっても省電力モード状態202から通常電力状態201への移行を行う。   On the other hand, in the power saving mode state 202, power is supplied only to the network communication unit 103 and the power saving mode control unit 104. Further, the network communication unit 103 supplies power to the components according to the control of the power saving mode control unit 104 so that power is supplied only to necessary hardware resources according to the operation mode. Finely control. In the power saving mode state 202, since the application system unit 102 is in a power-off state, the system bus 118, the CPU 114, the RAM 116, the ROM 115, and the application function unit 117 are stopped. The transition from the power saving mode state 202 to the normal power state 201 is, for example, when the communication processing apparatus 101 receives a system activation request from the network 113 (205). The power saving mode control unit 104 is connected to an external switch that can be operated by the user, and shifts from the power saving mode state 202 to the normal power state 201 by pressing the switch.

(IPアドレス設定処理)
次に、省電力モードへの移行の際に実行する、CPU114における省電力モードIPアドレス設定処理(IPアドレス設定処理)について、図3を用いて説明する。図3は、IPアドレス設定処理の処理手順を示すフローチャートである。なお、本処理は省電力モード制御部104で実施してもよい。
(IP address setting process)
Next, the power saving mode IP address setting process (IP address setting process) in the CPU 114, which is executed when shifting to the power saving mode, will be described with reference to FIG. FIG. 3 is a flowchart showing a processing procedure of IP address setting processing. This process may be performed by the power saving mode control unit 104.

本実施形態の通信処理装置101は、省電力モード状態202にあるときにパケットを受信すると、原則として通常電力状態201へ遷移する。もっとも、受信したパケットの宛先アドレスが代理応答IPアドレスリスト又は起動除外IPアドレスリストに設定されているような場合は、省電力モード状態202を継続する。ここで、代理応答とは、省電力モード状態202を維持しながら、ネットワーク通信部103がアプリケーションシステム部102を代理して、受信したパケットへの応答を行う所定の応答処理をいう。代理IPアドレスリストとは、このような代理応答を行うべき受信パケットの宛先IPアドレスのリストである。また、起動除外とは、受信したパケットに対して応答せずに、省電力モード状態202を維持しながら受信パケットを破棄することをいう。起動除外IPアドレスリストとは、このような起動除外を行うべき受信パケットの宛先IPアドレスのリストである。図3を参照して説明するIPアドレス設定処理においては、通常電力状態201から省電力モード状態202への遷移の際に、代理IPアドレスリスト及び起動除外IPアドレスリストにIPアドレスを設定する。   When the communication processing apparatus 101 according to the present embodiment receives a packet while in the power saving mode state 202, the communication processing apparatus 101 transitions to the normal power state 201 in principle. However, when the destination address of the received packet is set in the proxy response IP address list or the activation exclusion IP address list, the power saving mode state 202 is continued. Here, the proxy response refers to a predetermined response process in which the network communication unit 103 performs a response to the received packet on behalf of the application system unit 102 while maintaining the power saving mode state 202. The proxy IP address list is a list of destination IP addresses of received packets to be subjected to such a proxy response. Activation exclusion refers to discarding a received packet while maintaining the power saving mode state 202 without responding to the received packet. The activation exclusion IP address list is a list of destination IP addresses of received packets that should be excluded from activation. In the IP address setting process described with reference to FIG. 3, IP addresses are set in the proxy IP address list and the activation exclusion IP address list when transitioning from the normal power state 201 to the power saving mode state 202.

S301において、自装置である通信処理装置101のIPアドレスとして設定されているIPアドレスのリストを取得する。   In S301, a list of IP addresses set as the IP address of the communication processing apparatus 101 that is the own apparatus is acquired.

S302において、S301で取得したIPアドレスのリストから代理応答に必要となる自装置のIPアドレスを選択する。後述するように、S303では、S302において選択した代理応答に必要となるIPアドレスを省電力モード状態202における代理応答IPアドレスリストとして設定する。選択するIPアドレスの個数は、省電力モード状態202に利用可能なメモリ(ローカルRAM107)のサイズに応じて予め定められる。なお、省電力モード状態202では、ローカルRAM107の全容量を用いなくてもよく、その一部を用いるようにしてもよい。例えば、ローカルRAM107の全容量に満たない個数のIPアドレスを予め定めておき、その個数から、活性化させるメモリ量を決定するようにしてもよい。省電力モード状態202において、ローカルRAM107の一部のみを活性化し、その残りには電力を供給しないようにすることで、消費電力を抑えることが可能となる。   In S302, the IP address of the own apparatus necessary for the proxy response is selected from the list of IP addresses acquired in S301. As will be described later, in S303, the IP address required for the proxy response selected in S302 is set as the proxy response IP address list in the power saving mode state 202. The number of IP addresses to be selected is determined in advance according to the size of the memory (local RAM 107) that can be used in the power saving mode state 202. In the power saving mode state 202, the entire capacity of the local RAM 107 may not be used, and a part thereof may be used. For example, the number of IP addresses less than the total capacity of the local RAM 107 may be determined in advance, and the amount of memory to be activated may be determined from the number. In the power saving mode state 202, it is possible to suppress power consumption by activating only a part of the local RAM 107 and not supplying power to the rest.

代理応答IPアドレスは、省電力モード移行時に判明している代理応答が必要なIPアドレスのみを選択すればよい。後述するように、省電力モードからの復帰フロー(図5)において、代理応答IPアドレスリストに設定されてない、代理応答が必要なIPアドレスを宛先アドレスとするパケットを受信したときは、そのアドレスをリストに追加する処理を行う。   As the proxy response IP address, it is only necessary to select only an IP address that requires a proxy response that has been known at the time of shifting to the power saving mode. As will be described later, in the return flow from the power saving mode (FIG. 5), when a packet having a destination address as an IP address that is not set in the proxy response IP address list and requires a proxy response is received. Process to add to the list.

代理応答IPアドレスリストに設定するIPアドレスの個数が省電力モード時に保持できるIPアドレス情報の個数を超えていた場合は、省電力モード時に代理応答を行う頻度の高いものを優先的に設定する。あるいは、例えば、LRU(Least Recently Used)等のアルゴリズムを使用して、代理応答IPアドレスリストに設定すべきIPアドレスを選択してもよい。通信インタフェースが複数ある場合はインタフェース毎にIPアドレスを選択してもよいし、複数のインタフェースに付与されたIPアドレスをまとめてリストとして取得して選択してもよい。なお、本IPアドレスはユニキャストアドレスでもよいし、マルチキャストやブロードキャスト、エニーキャストアドレスなど自身が代理応答すべきIPアドレスであればよい。   If the number of IP addresses set in the proxy response IP address list exceeds the number of IP address information that can be held in the power saving mode, a proxy response that is frequently performed in the power saving mode is preferentially set. Alternatively, for example, an IP address to be set in the proxy response IP address list may be selected using an algorithm such as LRU (Least Recently Used). When there are a plurality of communication interfaces, an IP address may be selected for each interface, or IP addresses assigned to a plurality of interfaces may be collectively acquired and selected as a list. The IP address may be a unicast address, or any IP address that should be a proxy response such as a multicast, broadcast, or anycast address.

S303において、S302で選択したIPアドレスを、省電力モード状態202において自身のIPアドレス情報として管理するローカルRAM107のメモリ領域に設定する。   In S303, the IP address selected in S302 is set in the memory area of the local RAM 107 managed as its own IP address information in the power saving mode state 202.

S304において、省電力モード中の起動除外IPアドレスリストに登録されているIPアドレスが存在する場合、起動除外IPアドレスとして省電力モード動作時の設定を行う。すなわち、省電力モード中に起動除外のIPアドレス情報として管理するローカルRAM107のメモリ領域に設定する。この起動除外IPアドレスは、省電力モード時に起動すべきではないIPアドレスをネットワークから受信した場合にリストに追加してもよいし、予め設定してもよい。起動除外IPアドレスの選択は、例えば、省電力モード状態202における用途に基づき行うことができる。   If there is an IP address registered in the activation exclusion IP address list in the power saving mode in S304, the activation exclusion IP address is set during the power saving mode operation. That is, it is set in the memory area of the local RAM 107 managed as IP address information excluded from activation during the power saving mode. This activation exclusion IP address may be added to the list when an IP address that should not be activated in the power saving mode is received from the network, or may be set in advance. The activation exclusion IP address can be selected based on the use in the power saving mode state 202, for example.

通常、通信処理装置101はスイッチングハブ等に接続されることが多いところ、パケットの宛先IPアドレスがユニキャストアドレスであった場合はMACアドレスもユニキャストアドレスが用いられる。したがって、スイッチングハブのポート制御により、通信処理装置101のMACアドレスと異なるMACアドレスを宛先とするパケットは、通信処理装置101へ転送されない。そのため、起動除外に設定されるIPアドレスはブロードキャストアドレスやマルチキャストアドレスを設定することが想定されるが、ユニキャストアドレスであってもよい。ここで起動除外IPアドレスを設定することで、通信処理装置101には直接関係しないがネットワーク上を頻繁に流れるパケットによる一時起動を避けることが可能となる。   Normally, the communication processing apparatus 101 is often connected to a switching hub or the like. When the destination IP address of a packet is a unicast address, the unicast address is also used as the MAC address. Therefore, a packet destined for a MAC address different from the MAC address of the communication processing device 101 is not transferred to the communication processing device 101 by the port control of the switching hub. Therefore, it is assumed that a broadcast address or a multicast address is set as an IP address set as activation exclusion, but it may be a unicast address. By setting the activation exclusion IP address here, it is possible to avoid temporary activation by a packet that frequently flows on the network although it is not directly related to the communication processing apparatus 101.

なお、本実施形態では省電力モード中に電力を供給するメモリとしてローカルRAM107を使用する例を説明したが、別途IPアドレス情報を格納できる省電力モード中の電力を供給する資源であれば他のメモリを用いてもよい。例えば、省電力モード制御部104にメモリを設け、そのメモリを利用するようにしてもよい。   In this embodiment, an example in which the local RAM 107 is used as a memory for supplying power during the power saving mode has been described. However, any resource that supplies power during the power saving mode that can store IP address information can be used. A memory may be used. For example, a memory may be provided in the power saving mode control unit 104 and the memory may be used.

上記のように、本実施形態では、通常電力状態201から省電力モード状態202へ移行する際に、通信処理装置101に割り当てられたIPアドレスの中からローカルRAM107へ記憶させるIPアドレスを選択する。ここで、ローカルRAM107の容量に応じて、通信処理装置101に割り当てられたIPアドレスの中から予め定められた個数のIPアドレスを選択することができる。通信処理装置101に割り当てられたIPアドレスの個数が予め定められた個数を上回るときは、通信処理装置101に割り当てられたIPアドレスの使用状態に基づき、記憶させるIPアドレスを選択する。この使用状態には、パケットの使用頻度ないし受信頻度や、受信時期等が含まれる。このように、本実施形態では、省電力モード状態202への移行の際に代理応答または起動除外すべきパケットのIPアドレスを自動的に選択して設定することが可能である。   As described above, in the present embodiment, when shifting from the normal power state 201 to the power saving mode state 202, an IP address to be stored in the local RAM 107 is selected from the IP addresses assigned to the communication processing device 101. Here, according to the capacity of the local RAM 107, a predetermined number of IP addresses can be selected from IP addresses assigned to the communication processing apparatus 101. When the number of IP addresses assigned to the communication processing device 101 exceeds a predetermined number, the IP address to be stored is selected based on the usage state of the IP address assigned to the communication processing device 101. This usage state includes the usage frequency or reception frequency of the packet, the reception time, and the like. As described above, in the present embodiment, it is possible to automatically select and set the IP address of a packet that should be excluded from a proxy response or activation when shifting to the power saving mode state 202.

本実施形態では以上のフローにより、任意のIPアドレスを選択する例を説明したが、これに限られない。すなわち、通常電力モード時に通信処理装置101に設定されたIPアドレスの中から代理応答または起動除外を行うべきIPアドレスを選択できるならば、他の手法や処理手順を用いてもよい。   In the present embodiment, an example in which an arbitrary IP address is selected by the above flow has been described, but the present invention is not limited to this. That is, other methods and processing procedures may be used as long as an IP address to be subjected to proxy response or activation exclusion can be selected from IP addresses set in the communication processing apparatus 101 in the normal power mode.

(省電力モード中の処理)
次に、通信処理装置101が省電力モード中にネットワークからパケットを受信した場合の動作について、図4を参照して説明する。図4は、省電力モード中の通信処理装置101の処理手順を示すフローチャートである。
(Processing in power saving mode)
Next, the operation when the communication processing apparatus 101 receives a packet from the network during the power saving mode will be described with reference to FIG. FIG. 4 is a flowchart illustrating a processing procedure of the communication processing apparatus 101 in the power saving mode.

前述のように、省電力モード状態202においては、パケット受信に応じて原則として通常電力状態201へ遷移するが、宛先IPアドレスが予め設定されたものであるならば、省電力モード状態202を継続しながら代理応答やパケットの破棄を行う。ただし、本実施形態ではこのような処理に加えて、パケット中のエラーの有無やパケットのプロトコル種別等に応じて通常電力状態201へ復帰する必要がないといえるときは、省電力モード状態202を維持する処理も行う。これにより、消費電力を低く抑えることができる。   As described above, in the power saving mode state 202, in principle, a transition is made to the normal power state 201 in response to packet reception, but if the destination IP address is preset, the power saving mode state 202 is continued. The proxy response and the packet are discarded. However, in this embodiment, in addition to such processing, when it can be said that there is no need to return to the normal power state 201 according to the presence or absence of an error in the packet or the protocol type of the packet, the power saving mode state 202 is set. Processing to maintain is also performed. Thereby, power consumption can be kept low.

まず、S401において、宛先MACアドレスが自装置宛のMACアドレスであるかを判定する。自装置宛でない場合(S401でNO)はS410へ進みパケットを破棄して省電力モードを継続して処理を終了する。宛先MACアドレスが自装置宛である場合(S401でYES)はS402へ進む。このように、本実施形態では、通信処理装置101のMACアドレスに基づいて、ネットワークからパケットを選択的に受信する。   First, in S401, it is determined whether the destination MAC address is a MAC address addressed to the own apparatus. If it is not addressed to the own device (NO in S401), the process proceeds to S410, the packet is discarded, the power saving mode is continued, and the process is terminated. If the destination MAC address is addressed to its own device (YES in S401), the process proceeds to S402. Thus, in this embodiment, a packet is selectively received from a network based on the MAC address of the communication processing apparatus 101.

S402において、受信したパケットのIPパケットのエラーチェックを行い、エラーがあるか否かを判定する。ここでいうIPパケットのエラーとはIPヘッダに記載された情報の不備等、IP通信を行う上でのパケットヘッダにおけるエラーをいう。エラーがある場合(S402でYES)はS410へ進みパケットを破棄して省電力モードを継続して処理を終了する。IPパケットのエラーがない場合(S402でNO)はS403へ進む。   In S402, the IP packet error check of the received packet is performed to determine whether there is an error. The IP packet error here refers to an error in the packet header in performing IP communication, such as incomplete information described in the IP header. If there is an error (YES in S402), the process proceeds to S410, the packet is discarded, the power saving mode is continued, and the process is terminated. If there is no IP packet error (NO in S402), the process proceeds to S403.

S403において、パケット種別に応じたエラーチェックを実施し、エラーがあるか否かを判定する。ここでパケット種別に応じたエラーチェックとは、ヘッダに記載された情報の整合性の確認である。例えば、TCP、UDP、ICMPv6ではチェックサム値の検査等である。エラーがある場合(S403でYES)はS410へ進み、パケットを破棄して省電力モードを継続し、処理を終了する。エラーがない場合(S403でNO)はS404へ進む。   In S403, an error check corresponding to the packet type is performed to determine whether there is an error. Here, the error check according to the packet type is confirmation of the consistency of information described in the header. For example, in TCP, UDP, and ICMPv6, checksum value inspection and the like are performed. If there is an error (YES in S403), the process proceeds to S410, the packet is discarded, the power saving mode is continued, and the process ends. If there is no error (NO in S403), the process proceeds to S404.

S404において、受信したパケットの種別が代理応答要因に該当するか否かを判定する。代理応答要因に該当するパケットであった場合(S404でYES)はS405へ進み、代理応答要因に該当しないパケットであった場合(S404でNO)はS407へ進む。代理応答要因とは、受信パケットが代理応答をすべきパケットであることを基礎付ける原因をいう。代理応答要因に該当するパケット種別にあたるかの判定は、例えば、IPの上位プロトコルがICMPの場合、タイプ、コードがエコーリクエストであるかを確認することにより行われる。エコーリクエストにあたるときは、エコーレスポンスを返すべきであるから、代理応答要因に該当すると判定する。また、例えば、UDPの場合、特定のアプリケーションでの応答が必要であるかをポート番号情報から確認する等により代理応答要因の該当性を判定する。このように、代理応答要因の該当性は、通信プロトコルの種類やその内容に応じて判定されるところ、その判定基準は省電力モード制御部104に予め設定されている。これによりネットワークに接続されたリモートコントローラからの問合せを受信し、その問い合わせが代理応答要因に該当する場合は、システム全体を通常電力状態に復帰させることなく応答を送信する。このため、消費電力を抑えることができる。   In S404, it is determined whether the type of the received packet corresponds to a proxy response factor. If the packet corresponds to the proxy response factor (YES in S404), the process proceeds to S405. If the packet does not correspond to the proxy response factor (NO in S404), the process proceeds to S407. The proxy response factor is a cause based on the fact that the received packet is a packet for which a proxy response should be made. The determination as to whether the packet type corresponds to the proxy response factor is made, for example, by confirming whether the type and code are an echo request when the IP upper protocol is ICMP. When an echo request is made, an echo response should be returned, so that it is determined to be a proxy response factor. Also, for example, in the case of UDP, the appropriateness of the proxy response factor is determined by confirming from the port number information whether a response with a specific application is necessary. As described above, the suitability of the proxy response factor is determined according to the type and content of the communication protocol, and the determination criterion is preset in the power saving mode control unit 104. As a result, an inquiry from a remote controller connected to the network is received. If the inquiry corresponds to a proxy response factor, a response is transmitted without returning the entire system to the normal power state. For this reason, power consumption can be suppressed.

S405において、宛先IPアドレスがS303で設定した代理応答IPアドレスリストに含まれているか否かを判定する。代理応答IPアドレスリストに含まれている場合(S405でYES)はS406へ進み、含まれていない場合(S405でNO)はS408へ進む。   In S405, it is determined whether the destination IP address is included in the proxy response IP address list set in S303. If it is included in the proxy response IP address list (YES in S405), the process proceeds to S406, and if not included (NO in S405), the process proceeds to S408.

S406において、受信パケットに対応する応答パケットを作成して送信し、省電力モードを継続して処理を終了する。   In S406, a response packet corresponding to the received packet is created and transmitted, the power saving mode is continued, and the process is terminated.

S407において、パケット種別が復帰要因に該当するかを判定する。復帰要因とは、省電力モード状態202から通常電力状態201へ復帰すべき要因をいう。復帰要因に該当するかの判定は、通常電力状態201に復帰して、アプリケーションシステム部102のCPU114やアプリケーション機能部117が処理を行うべきであるか否かに基づき行う。例えば、パケット種別がUDPの場合、特定のポートへのパケットであるかを確認することにより復帰要因にあたるか判定する。TCPの場合は、さらにTCPヘッダ内のフラグを確認し、特定ポート番号へのSYNパケットであるかを確認する等、リモートコントローラからの起動要求であるパケットであるかを確認することにより復帰要因にあたるかを判定する。復帰要因に該当しないパケットであった場合(S407でNO)はS410へ進みパケットを破棄して省電力モードを継続して処理を終了する。復帰要因であった場合(S407でYES)はS408へ進む。   In S407, it is determined whether the packet type corresponds to a return factor. The return factor is a factor that should return from the power saving mode state 202 to the normal power state 201. The determination of whether or not it corresponds to the return factor is made based on whether the CPU 114 or the application function unit 117 of the application system unit 102 should return to the normal power state 201 and perform processing. For example, when the packet type is UDP, it is determined whether it is a return factor by checking whether the packet is for a specific port. In the case of TCP, further check the flag in the TCP header and confirm whether it is a SYN packet to a specific port number, etc. Determine whether. If the packet does not correspond to the return factor (NO in S407), the process proceeds to S410, the packet is discarded, the power saving mode is continued, and the process is terminated. If it is a return factor (YES in S407), the process proceeds to S408.

S408において、パケットの宛先IPアドレスがS304で設定した起動除外IPアドレスリストに含まれているかを判定する。起動除外IPアドレスリストに含まれている場合(S408でYES)はS410へ進み、パケットを破棄して省電力モードを継続して処理を終了する。起動除外IPアドレスリストに含まれていない場合(S408でNO)はS409へ進む。S409において、システム復帰要求となる信号を省電力モード制御部104へ通知して処理を終了する。   In S408, it is determined whether the destination IP address of the packet is included in the activation exclusion IP address list set in S304. If it is included in the activation exclusion IP address list (YES in S408), the process proceeds to S410, the packet is discarded, the power saving mode is continued, and the process ends. If it is not included in the activation exclusion IP address list (NO in S408), the process proceeds to S409. In step S409, a signal to be a system return request is notified to the power saving mode control unit 104, and the process ends.

本実施形態では以上のフローで省電力モード時のパケット受信処理フローを示したが、省電力モード時に受信したパケットの処理手順として整合性のとれる処理手順であればよい。例えば、図4に示すステップの一部を省略したり、処理の順序を入れ替えたりしてもよい。   In the present embodiment, the packet reception processing flow in the power saving mode is shown in the above flow. However, any processing procedure may be used as long as the processing procedure of the packet received in the power saving mode is consistent. For example, a part of the steps shown in FIG. 4 may be omitted or the processing order may be changed.

上記のように、本実施形態では、省電力モード状態202(第2の動作状態)においてネットワークからパケットを受信したことに応じて、省電力モード状態202から通常電力状態201(第1の動作状態)へ復帰するか否かを判定する。そして、その判定結果に応じて通信処理装置101の動作状態を切り替える切替処理を行う。復帰の判定においては、受信したパケットの宛先アドレスが予め記憶されたIPアドレスのいずれにも一致しないときは、通常電力状態201へ復帰すると判定する。このように、本実施形態では、システム復帰すべきIPアドレスを予め記憶するのではなく、省電力モード状態を維持すべきIPアドレスを記憶するため、多数のIPアドレスが付与されている機器において、記憶すべき情報量を削減することができる。したがって、メモリ資源による電力消費を低減することができる。   As described above, in this embodiment, in response to receiving a packet from the network in the power saving mode state 202 (second operation state), the normal power state 201 (first operation state) is changed from the power saving mode state 202. It is determined whether or not to return to (). And the switching process which switches the operation state of the communication processing apparatus 101 according to the determination result is performed. In the return determination, when the destination address of the received packet does not match any of the IP addresses stored in advance, it is determined to return to the normal power state 201. As described above, in this embodiment, in order to store the IP address that should maintain the power saving mode state, instead of storing the IP address that should return to the system in advance, in a device to which a large number of IP addresses are assigned, The amount of information to be stored can be reduced. Therefore, power consumption due to memory resources can be reduced.

また、本実施形態では、省電力モード状態202を継続したまま受信したパケットに対して応答する代理応答を行うべきIPアドレスを代理応答アドレスとして記憶する。そして、省電力モード状態202において受信したパケットの宛先アドレスが代理応答アドレスと一致するときは、省電力モード状態202を継続したまま当該パケットに対して代理応答を行う。このため、記憶装置の記憶容量が限られていたとしても、代理応答の必要性が高いアプリケーションに対応するIPアドレスを予め登録しておくことで、代理応答を行うことができる。   In the present embodiment, an IP address to which a proxy response for responding to a packet received while the power saving mode state 202 is continued is stored as a proxy response address. When the destination address of the received packet matches the proxy response address in the power saving mode state 202, a proxy response is made to the packet while continuing the power saving mode state 202. For this reason, even if the storage capacity of the storage device is limited, a proxy response can be made by registering in advance an IP address corresponding to an application for which a proxy response is highly necessary.

また、本実施形態では、省電力モード状態202を継続したまま受信したパケットを破棄すべきIPアドレスを除外アドレスとして記憶する。そして、省電力モード状態202において受信したパケットの宛先アドレスが除外アドレスと一致するときは、省電力動作状態を継続したまま当該パケットを破棄する。このため、記憶装置の記憶容量が限られていたとしても、破棄すべきパケットのIPアドレスを予め登録しておくことで、省電力モード状態202を維持することができる。   In the present embodiment, an IP address that should discard a packet received while the power saving mode state 202 is continued is stored as an exclusion address. When the destination address of the received packet matches the excluded address in the power saving mode state 202, the packet is discarded while the power saving operation state is continued. For this reason, even if the storage capacity of the storage device is limited, the power saving mode state 202 can be maintained by registering in advance the IP address of the packet to be discarded.

さらに、本実施形態では、受信したパケットの種別、パケットのMACアドレス、パケット内のエラーの有無に応じて、省電力モード状態202を維持したままパケットを破棄する。そのため、記憶装置の記憶容量に関わらず消費電力を抑制することができる。なお、代理応答を行うべきIPアドレスと破棄すべきIPアドレスとは共通するものが存してもよい。そのようなIPアドレスを宛先とするパケットを省電力モード状態202において受信したときは、通信処理装置101は、省電力モード状態202を維持しつつ代理応答を行い、受信パケットを破棄する。   Furthermore, in this embodiment, the packet is discarded while maintaining the power saving mode state 202 according to the type of the received packet, the MAC address of the packet, and the presence or absence of an error in the packet. Therefore, power consumption can be suppressed regardless of the storage capacity of the storage device. Note that there may be a common IP address to which a proxy response should be made and an IP address to be discarded. When a packet addressed to such an IP address is received in the power saving mode state 202, the communication processing apparatus 101 makes a proxy response while maintaining the power saving mode state 202, and discards the received packet.

(復帰処理)
次に、省電力モード状態202から通常電力状態201への復帰を検知した場合に行う復帰処理について図5を用いて説明する。図5は、省電力モード状態から通常電力状態へ復帰する処理の処理手順を示すフローチャートである。
(Return processing)
Next, a return process performed when the return from the power saving mode state 202 to the normal power state 201 is detected will be described with reference to FIG. FIG. 5 is a flowchart showing a processing procedure for returning from the power saving mode state to the normal power state.

S501において、省電力モード状態202から通常電力状態201への復帰処理を行う。省電力モード制御部104からの制御により、アプリケーションシステム部102、ネットワーク通信部103へ通常動作モードにおける電源供給を行う。それに応じて、アプリケーションシステム部102、ネットワーク通信部103は、システムの起動処理を行う。   In step S501, a return process from the power saving mode state 202 to the normal power state 201 is performed. Under the control of the power saving mode control unit 104, power is supplied to the application system unit 102 and the network communication unit 103 in the normal operation mode. In response to this, the application system unit 102 and the network communication unit 103 perform system activation processing.

S502において、省電力モード状態202からの復帰要因の確認を行う。復帰要因は例えば、リモートコントローラからの起動パケットによる復帰指示、通信処理装置101の電源ボタンの押下やリモコン等での起動指示、省電力モード状態202における一定時間経過による自動復帰等である。   In S502, the cause of return from the power saving mode state 202 is confirmed. The return factor is, for example, a return instruction by a start-up packet from the remote controller, a press instruction of a power button of the communication processing apparatus 101 or a start-up by a remote controller, an automatic return after a certain period of time in the power saving mode state 202, or the like.

S503において、復帰要因がリモートコントローラからの起動パケットによる復帰であるか否かを判定する。例えば、図4のS409におけるS409によるシステム復帰は起動パケットによる復帰にあたる。起動パケットによる復帰の場合(S503でYES)はS505へ進み、その他の要因である場合(S503でNO)はS504へ進む。S504において通常電力状態での処理を開始して処理を終了する。   In step S503, it is determined whether or not the return factor is a return due to an activation packet from the remote controller. For example, the system recovery at S409 in S409 of FIG. 4 corresponds to the recovery by the activation packet. In the case of return by the activation packet (YES in S503), the process proceeds to S505, and in the case of other factors (NO in S503), the process proceeds to S504. In S504, the process in the normal power state is started and the process is terminated.

S505において、起動トリガパケットの宛先IPアドレスが通信処理装置101自身のIPアドレスのいずれかにあたるか否かを判定する。自身のIPアドレス宛であった場合(S505でYES)はS509へ進み、自身のIPアドレス宛でない場合(S505でNO)はS506へ進む。   In S505, it is determined whether or not the destination IP address of the activation trigger packet is one of the IP addresses of the communication processing apparatus 101 itself. If it is addressed to its own IP address (YES in S505), the process proceeds to S509. If it is not addressed to its own IP address (NO in S505), the process proceeds to S506.

S506において、起動除外IPアドレスリストに受信パケットの宛先IPアドレスを追加する。起動除外IPアドレスリストがこれ以上登録できない場合は、頻度の高いものを優先的に設定してもよいし、LRU等のアルゴリズムによって登録するIPアドレスを選択してもよい。また、その他、自装置宛ではないIPアドレスで誤って起動させることを防ぐためのIPアドレス選択方式を使用して、登録するIPアドレスを選択することができる。   In S506, the destination IP address of the received packet is added to the activation exclusion IP address list. When the activation exclusion IP address list cannot be registered any more, a frequently-used one may be preferentially set, or an IP address to be registered may be selected by an algorithm such as LRU. In addition, it is possible to select an IP address to be registered by using an IP address selection method for preventing erroneous activation with an IP address not addressed to the own apparatus.

S507において、起動トリガとなったパケットを破棄し、S508において省電力モードへ再度移行して処理を終了する。   In S507, the packet that has become the activation trigger is discarded, and in S508, the process shifts again to the power saving mode and the process is terminated.

S509において、パケット種別が代理応答の必要なパケットか否かを判定する。代理応答が必要なパケットであった場合(S509でYES)はS510へ進む。代理応答が必要なパケットではない起動要求パケットであった場合(S509でNO)はS504へ進み、通常電力状態での処理を開始して処理を終了する。   In step S509, it is determined whether the packet type is a packet that requires a proxy response. If the packet requires a proxy response (YES in S509), the process proceeds to S510. If it is an activation request packet that is not a packet that requires a proxy response (NO in S509), the process proceeds to S504, where the process in the normal power state is started and the process is terminated.

S510において、受信したパケットに応答する送信パケットを作成してネットワークへ送信する。   In S510, a transmission packet that responds to the received packet is created and transmitted to the network.

S511において、代理応答IPアドレスリストに受信したパケットの宛先IPアドレスを追加してS508へ進む。代理応答IPアドレスリストに設定するIPアドレスの個数が省電力モード時に保持できるIPアドレス情報の個数を超える場合は、省電力モード時代理応答を行う頻度の高いものを優先的に設定する。また、その他LRU等のアルゴリズムによって代理応答IPアドレスリストに登録可能なIPアドレスを選択してもよい。   In S511, the destination IP address of the received packet is added to the proxy response IP address list, and the process proceeds to S508. If the number of IP addresses set in the proxy response IP address list exceeds the number of IP address information that can be held in the power saving mode, a proxy response that is frequently performed in the power saving mode is preferentially set. In addition, an IP address that can be registered in the proxy response IP address list may be selected by an algorithm such as LRU.

上記のように、本実施形態では、パケットの受信に応じて省電力モード状態202(第2の動作状態)から通常電力状態201(第1の動作状態)へ復帰した場合に、当該パケットが代理応答を行うべきパケットにあたるか否かを判別する。代理応答を行うべきパケットにあたると判別したときは、受信したパケットの宛先IPアドレスを代理応答アドレスとしてローカルRAM107に記憶させる記憶制御を行う。さらに、通信処理装置101の動作状態を通常電力状態201から省電力モード状態202へ自動的に切り替える。したがって、電力消費を可能な限り抑えつつ、ローカルRAM107に記憶された代理応答アドレス(代理応答IPアドレスリスト)を自動的に更新することができる。   As described above, in this embodiment, when the packet is returned to the normal power state 201 (first operation state) from the power saving mode state 202 (second operation state) in response to reception of the packet, the packet is substituted. It is determined whether or not the packet is a response. When it is determined that the packet is to be subjected to the proxy response, storage control is performed to store the destination IP address of the received packet in the local RAM 107 as the proxy response address. Further, the operation state of the communication processing apparatus 101 is automatically switched from the normal power state 201 to the power saving mode state 202. Therefore, it is possible to automatically update the proxy response address (proxy response IP address list) stored in the local RAM 107 while suppressing power consumption as much as possible.

また、本実施形態では、パケットの受信に応じて省電力モード状態202から通常電力状態201へ復帰した場合に、当該パケットが破棄すべきパケットにあたるか否かを判別する。例えば、通信処理装置101のIPアドレスと異なるIPアドレスを宛先とするパケットを受信したときは、当該パケットは破棄すべきパケットにあたると判別することができる。判別の結果、破棄すべきパケットにあたるときは、受信したパケットの宛先IPアドレスを除外アドレスとして記憶させるとともに、通信処理装置101の動作状態を通常電力状態201から省電力モード状態202へ切り替える。したがって、電力消費を可能な限り抑えつつ、ローカルRAM107に記憶された除外アドレス(起動除外IPアドレスリスト)を自動的に更新することができる。   Further, in the present embodiment, when returning from the power saving mode state 202 to the normal power state 201 in response to reception of a packet, it is determined whether or not the packet is a packet to be discarded. For example, when a packet whose destination is an IP address different from the IP address of the communication processing apparatus 101 is received, it can be determined that the packet is a packet to be discarded. As a result of determination, when the packet is to be discarded, the destination IP address of the received packet is stored as an exclusion address, and the operation state of the communication processing apparatus 101 is switched from the normal power state 201 to the power saving mode state 202. Therefore, it is possible to automatically update the excluded address (startup excluded IP address list) stored in the local RAM 107 while suppressing power consumption as much as possible.

本実施形態では、以上のフローにより復帰処理を行う例を説明したが、通信処理装置101が省電力モードから通常モードへ移行した際の復帰処理として整合性のとれる方式であればよい。   In this embodiment, an example in which the return process is performed according to the above flow has been described. However, any method may be used as long as the communication process apparatus 101 can maintain consistency as the return process when the communication processing apparatus 101 shifts from the power saving mode to the normal mode.

以上のように、本実施形態では、通信処理装置101において省電力モード移行時に自装置に設定されたIPアドレスから代理応答に必要になるIPアドレス、及び自装置のアドレスではない起動除外IPアドレスを選択して、省電力モード移行時に設定する。これにより省電力モード時に自装置のIPアドレス情報として保持するのに必要となるメモリ容量を削減でき、かつ、省電力モード時に求められるネットワーク通信動作を維持することが可能となる。   As described above, in the present embodiment, the IP address required for the proxy response from the IP address set in the own device at the time of shifting to the power saving mode in the communication processing device 101, and the activation exclusion IP address that is not the address of the own device are set. Select and set when shifting to power saving mode. As a result, it is possible to reduce the memory capacity required to hold the IP address information of the own apparatus in the power saving mode and maintain the network communication operation required in the power saving mode.

また、代理応答パケット及び起動除外アドレスのパケット以外のパケットを受信した場合にシステムを省電力モードから一度復帰させ、その後受信パケットのIPアドレスを確認する。これにより、省電力モード時に起動に必要になるIPアドレスを設定しなくてもリモートコントローラから起動することが可能となる。   Further, when a packet other than the proxy response packet and the start exclusion address packet is received, the system is once returned from the power saving mode, and then the IP address of the received packet is confirmed. As a result, it is possible to start from the remote controller without setting an IP address necessary for starting in the power saving mode.

また、起動除外IPアドレスを省電力モード時に保持することにより、スイッチングハブ等で自装置宛として転送されたパケットであっても起動させないパケットを指定することが可能となる。これにより無駄に省電力モードからシステム復帰させることを防ぐことが可能となり、省電力効果を高めることが可能となる。   Further, by holding the activation exclusion IP address in the power saving mode, it is possible to specify a packet that is not activated even if it is a packet that is forwarded to the own device by a switching hub or the like. As a result, it is possible to prevent the system from being unnecessarily restored from the power saving mode, and the power saving effect can be enhanced.

また、省電力モード時に設定する代理応答IPアドレス及び起動除外IPアドレスのリストに指定するIPアドレスの個数が必要なメモリ量を超えてしまう場合、使用頻度や任意のアルゴリズムを用いて入れ替えを行う。これにより、より省電力効果を高めつつ、メモリ容量を削減することが可能となる。   In addition, when the number of IP addresses specified in the proxy response IP address and activation exclusion IP address lists set in the power saving mode exceeds the necessary memory amount, replacement is performed using the use frequency or an arbitrary algorithm. As a result, the memory capacity can be reduced while further improving the power saving effect.

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

101:通信処理装置、102:アプリケーションシステム部、103:ネットワーク通信部、104:省電力モード制御部 101: Communication processing device, 102: Application system unit, 103: Network communication unit, 104: Power saving mode control unit

Claims (16)

第1の動作状態と、当該第1の動作状態よりも省電力に動作する第2の動作状態とを有する通信装置であって、
IPアドレスを記憶する記憶手段と、
ネットワークから前記通信装置のMACアドレスに基づいて、パケットを選択的に受信する受信手段と、
前記第2の動作状態において前記受信手段が前記ネットワークからパケットを受信したことに応じて、前記第2の動作状態から前記第1の動作状態へ復帰するか否かを判定する判定手段と、
前記判定手段の判定結果に応じて前記通信装置の動作状態を切り替える切替手段と
を備え、
前記判定手段は、前記受信手段が前記通信装置のMACアドレスに基づいて受信した前記パケットの宛先アドレスが前記記憶手段に記憶されたIPアドレスのいずれにも一致しないときは、前記第1の動作状態へ復帰すると判定することを特徴とする通信装置。
A communication device having a first operation state and a second operation state that operates more power-saving than the first operation state,
Storage means for storing an IP address;
Receiving means for selectively receiving packets from the network based on the MAC address of the communication device;
Determining means for determining whether or not to return from the second operating state to the first operating state in response to the receiving unit receiving a packet from the network in the second operating state;
Switching means for switching the operation state of the communication device according to the determination result of the determination means,
The determination unit is configured to perform the first operation state when a destination address of the packet received by the reception unit based on a MAC address of the communication device does not match any of the IP addresses stored in the storage unit. A communication device, characterized in that it is determined to return to.
前記記憶手段は、前記第2の動作状態を継続したまま前記受信手段が受信したパケットに対して応答する所定の応答処理を行うべきIPアドレスを第1のアドレスとして記憶することを特徴とする請求項1に記載の通信装置。   The storage means stores, as a first address, an IP address to be subjected to a predetermined response process for responding to a packet received by the receiving means while continuing the second operation state. Item 4. The communication device according to Item 1. 前記受信手段が受信したパケットの宛先アドレスが前記第1のアドレスと一致するときは、前記第2の動作状態を継続したまま当該パケットに対して前記所定の応答処理を行う応答手段を更に備えることを特徴とする請求項2に記載の通信装置。   When the destination address of the packet received by the receiving means matches the first address, the information processing apparatus further comprises response means for performing the predetermined response processing on the packet while continuing the second operation state. The communication device according to claim 2. パケットの受信に応じて前記第2の動作状態から前記第1の動作状態へ復帰した場合に、当該パケットが前記所定の応答処理を行うべきパケットにあたるか否かを判別する第1の判別手段と、
前記第1の判別手段が前記所定の応答処理を行うべきパケットにあたると判別したときは、前記受信手段が受信したパケットの宛先IPアドレスを前記記憶手段に記憶させる記憶制御手段と
をさらに備え、
前記切替手段は、パケットの受信に応じて前記第2の動作状態から前記第1の動作状態へ復帰した場合に前記第1の判別手段が前記所定の応答処理を行うべきパケットにあたると判別したときは、前記通信装置の動作状態を前記第1の動作状態から前記第2の動作状態へ切り替えることを特徴とする請求項2又は3に記載の通信装置。
First discrimination means for discriminating whether or not the packet corresponds to a packet to be subjected to the predetermined response process when the second operation state is returned to the first operation state in response to reception of the packet; ,
A storage control unit that stores the destination IP address of the packet received by the reception unit in the storage unit when the first determination unit determines that the packet corresponds to the predetermined response process;
When the switching means determines that the first determination means corresponds to the packet to be subjected to the predetermined response process when the second operation state returns to the first operation state in response to reception of the packet 4. The communication device according to claim 2, wherein the operation state of the communication device is switched from the first operation state to the second operation state. 5.
前記記憶手段は、前記第2の動作状態を継続したまま受信したパケットを破棄すべきIPアドレスを第2のアドレスとして記憶することを特徴とする請求項1から4のいずれか1項に記載の通信装置。   5. The storage device according to claim 1, wherein the storage unit stores, as a second address, an IP address that should discard a received packet while continuing the second operation state. 6. Communication device. 前記受信したパケットの宛先アドレスが前記第2のアドレスと一致するときは、前記第2の動作状態を継続したまま当該パケットを破棄する破棄手段を更に有することを特徴とする請求項5に記載の通信装置。   6. The apparatus according to claim 5, further comprising: a discarding unit that discards the packet while continuing the second operation state when a destination address of the received packet matches the second address. Communication device. パケットの受信に応じて前記第2の動作状態から前記第1の動作状態へ復帰した場合に、当該パケットが破棄すべきパケットにあたるか否かを判別する第2の判別手段と、
前記第2の判別手段が破棄すべきパケットにあたると判別したときは、前記受信したパケットの宛先IPアドレスを前記第2のアドレスとして前記記憶手段に記憶させる記憶制御手段と
をさらに備え、
前記切替手段は、パケットの受信に応じて前記第2の動作状態から前記第1の動作状態へ復帰した場合に前記第2の判別手段が破棄すべきパケットにあたると判別したときは、前記通信装置の動作状態を前記第1の動作状態から前記第2の動作状態へ切り替えることを特徴とする請求項5又は6に記載の通信装置。
Second determination means for determining whether the packet corresponds to a packet to be discarded when the second operation state is returned to the first operation state in response to reception of the packet;
A storage control unit that stores the destination IP address of the received packet in the storage unit as the second address when it is determined that the second determination unit corresponds to a packet to be discarded;
When the switching means determines that the second determination means corresponds to a packet to be discarded when returning from the second operation state to the first operation state in response to reception of the packet, the communication device The communication apparatus according to claim 5 or 6, wherein the operation state is switched from the first operation state to the second operation state.
前記第2の判別手段は、前記通信装置のIPアドレスと異なるIPアドレスを宛先とするパケットの受信に応じて前記第2の動作状態から前記第1の動作状態へ復帰した場合に、当該パケットは破棄すべきパケットにあたると判別することを特徴とする請求項7に記載の通信装置。   When the second determination unit returns from the second operation state to the first operation state in response to reception of a packet whose destination is an IP address different from the IP address of the communication device, the packet is The communication apparatus according to claim 7, wherein the communication apparatus determines that the packet is to be discarded. 前記判定手段は、前記受信したパケットの種別に応じて、前記第2の動作状態を継続したまま当該パケットを破棄すると判定することを特徴とする請求項1から8のいずれか1項に記載の通信装置。   The determination unit according to any one of claims 1 to 8, wherein the determination unit determines to discard the packet while continuing the second operation state according to a type of the received packet. Communication device. 前記判定手段は、前記受信したパケットのMACアドレスが、前記通信装置のMACアドレスと一致しない場合に、前記第2の動作状態を継続したまま当該パケットを破棄すると判定することを特徴とする請求項1から9のいずれか1項に記載の通信装置。   The determination unit, when the MAC address of the received packet does not match the MAC address of the communication device, determines to discard the packet while continuing the second operation state. The communication device according to any one of 1 to 9. 前記判定手段は、前記受信したパケットがエラーを含む場合に、前記第2の動作状態を継続したまま当該パケットを破棄すると判定することを特徴とする請求項1から10のいずれか1項に記載の通信装置。   The determination unit according to any one of claims 1 to 10, wherein, when the received packet includes an error, the determination unit determines to discard the packet while continuing the second operation state. Communication equipment. 前記第1の動作状態から前記第2の動作状態へ移行する際に、前記通信装置に割り当てられたIPアドレスの中から前記記憶手段へ記憶させるIPアドレスを選択する選択手段をさらに備えることを特徴とする請求項1から11のいずれか1項に記載の通信装置。   The apparatus further comprises selection means for selecting an IP address to be stored in the storage means from among IP addresses assigned to the communication device when shifting from the first operation state to the second operation state. The communication device according to any one of claims 1 to 11. 前記選択手段は、前記通信装置に割り当てられたIPアドレスの中から予め定められた個数のIPアドレスを選択することを特徴とする請求項12に記載の通信装置。   13. The communication apparatus according to claim 12, wherein the selection unit selects a predetermined number of IP addresses from among IP addresses assigned to the communication apparatus. 前記選択手段は、前記通信装置に割り当てられたIPアドレスの個数が前記予め定められた個数を上回るときは、前記通信装置に割り当てられたIPアドレスの使用状態に基づき、前記記憶手段に記憶させるIPアドレスを選択することを特徴とする請求項13に記載の通信装置。   When the number of IP addresses assigned to the communication device exceeds the predetermined number, the selection means stores the IP to be stored in the storage means based on the usage state of the IP address assigned to the communication device. The communication apparatus according to claim 13, wherein an address is selected. IPアドレスを記憶する記憶手段を備え、第1の動作状態と、当該第1の動作状態よりも省電力に動作する第2の動作状態とを有する通信装置の制御方法であって、
ネットワークから前記通信装置のMACアドレスに基づいて、パケットを選択的に受信する受信工程と、
前記第2の動作状態においてネットワークからパケットを受信したことに応じて、前記第2の動作状態から前記第1の動作状態へ復帰するか否かを判定する判定工程と、
前記判定工程における判定結果に応じて前記通信装置の動作状態を切り替える切替工程と
を備え、
前記判定工程においては、前記受信工程において前記通信装置のMACアドレスに基づいて受信した前記パケットの宛先アドレスが前記記憶手段に記憶されたIPアドレスのいずれにも一致しないときは、前記第1の動作状態へ復帰すると判定することを特徴とする通信装置の制御方法。
A control method for a communication apparatus comprising a storage means for storing an IP address, and having a first operation state and a second operation state that operates more power-saving than the first operation state,
A reception step of selectively receiving a packet based on the MAC address of the communication device from a network;
A determination step of determining whether to return from the second operation state to the first operation state in response to receiving a packet from the network in the second operation state;
A switching step of switching the operating state of the communication device according to the determination result in the determination step,
In the determination step, when the destination address of the packet received based on the MAC address of the communication device in the reception step does not match any of the IP addresses stored in the storage unit, the first operation A control method for a communication device, characterized in that it is determined to return to a state.
コンピュータを請求項1から14のいずれか1項に記載の通信装置が備える各手段として機能させるためのコンピュータプログラム。   The computer program for functioning a computer as each means with which the communication apparatus of any one of Claim 1 to 14 is provided.
JP2016145692A 2016-07-25 2016-07-25 Communication device and control method for the same, computer program Pending JP2018018168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016145692A JP2018018168A (en) 2016-07-25 2016-07-25 Communication device and control method for the same, computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016145692A JP2018018168A (en) 2016-07-25 2016-07-25 Communication device and control method for the same, computer program

Publications (1)

Publication Number Publication Date
JP2018018168A true JP2018018168A (en) 2018-02-01

Family

ID=61075909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016145692A Pending JP2018018168A (en) 2016-07-25 2016-07-25 Communication device and control method for the same, computer program

Country Status (1)

Country Link
JP (1) JP2018018168A (en)

Similar Documents

Publication Publication Date Title
JP4470006B2 (en) Power saving support device
JP5488183B2 (en) Communication apparatus and communication control method
JP6772007B2 (en) Information processing equipment and its control method, computer program
WO2013186825A1 (en) Computer system, communication control server, communication control method, and program
JP2010130151A (en) Receiver and image forming apparatus
JP2009049699A (en) Communication controller, program and image forming apparatus
JP5717398B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
JP2009081735A (en) COMMUNICATION SYSTEM, RELAY DEVICE, AND PROGRAM
JP2018018168A (en) Communication device and control method for the same, computer program
JP6088959B2 (en) Electronics
US10587428B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP6308295B2 (en) COMMUNICATION DEVICE, SERVER, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
JP2017102584A (en) Information processing device, control method therefor, and program
JP5791564B2 (en) Image forming apparatus
JP5963562B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5675554B2 (en) Network communication device, electronic device, and program
KR101116802B1 (en) Dual Stack Module Control Unit for Low Power Consumption
JP5742245B2 (en) Image forming apparatus
JP2005174195A (en) Method, apparatus, and program for automatic configuration of network device
JP2006197051A (en) Network communication control unit and method
US10545702B2 (en) Information processing apparatus, communication control method and communication system
JP6480747B2 (en) Communication device, control method, and program
JP6794202B2 (en) Communication equipment and its control method
JP2016101674A (en) Image formation apparatus
KR20140086353A (en) Method for managing routing table in router and the router