JP2001257688A - Network device - Google Patents

Network device

Info

Publication number
JP2001257688A
JP2001257688A JP2000069562A JP2000069562A JP2001257688A JP 2001257688 A JP2001257688 A JP 2001257688A JP 2000069562 A JP2000069562 A JP 2000069562A JP 2000069562 A JP2000069562 A JP 2000069562A JP 2001257688 A JP2001257688 A JP 2001257688A
Authority
JP
Japan
Prior art keywords
frame
transmission
storage unit
stored
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000069562A
Other languages
Japanese (ja)
Other versions
JP3906890B2 (en
Inventor
Yukio Masubuchi
幸夫 舛渕
Kazuhito Konno
和仁 今野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2000069562A priority Critical patent/JP3906890B2/en
Publication of JP2001257688A publication Critical patent/JP2001257688A/en
Application granted granted Critical
Publication of JP3906890B2 publication Critical patent/JP3906890B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a network device which can use its sleep function without depending on other network devices even when a service application being used requires answers to the periodical inquiries or requires the periodical transmission of information on a LAN. SOLUTION: The latest reception frame 27 that arrives at a network device 1 is stored in a receiving frame storage 13 when the CPU resource 19 of the device 1 is active. Meanwhile, the latest transmission frame 26 sent from the resource 19 is stored in a transmitting frame storage 12 in response to the frame 27 stored in the storage 13. When the resource 19 enters a sleep mode, a new reception frame 27 is compared with the frame 27 stored in the storage 13 at a comparison part 14. When both frames are equal to each other, the frame 26 stored in the storage 12 is transmitted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ローカルエリアネ
ットワークに接続されるネットワーク装置に関し、特に
省エネルギーに対応したネットワーク装置に関するもの
である。
The present invention relates to a network device connected to a local area network, and more particularly to a network device compatible with energy saving.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータなどのコ
ンピュータにネットワークインタフェースを設け、例え
ばイーサネット(登録商標)(Ethernet(登録
商標))などのローカルエリアネットワーク(以下LA
Nと略す)に接続して使用することが一般的になってい
る。
2. Description of the Related Art In recent years, a computer such as a personal computer has been provided with a network interface, for example, a local area network (hereinafter referred to as LA) such as Ethernet (registered trademark).
N (abbreviated as N).

【0003】図9は、ネットワークインタフェースを持
つコンピュータの一般的な構成例を示すブロック図であ
る。図中、31はCPU、32はバスブリッジ、33は
メインメモリ、34はキーボード・マウスインタフェー
ス、35はHDDインタフェース、36は画像インタフ
ェース、37はネットワークインタフェース、38はキ
ーボード及びマウス、39はHDD、40はCRT、4
1はネットワーク、42はバスである。図9に示すコン
ピュータは、ネットワークインタフェース37を介して
ネットワーク41に接続されており、ネットワーク41
に接続された他のネットワーク機器との間でデータの交
換等を行うことができる。
FIG. 9 is a block diagram showing a general configuration example of a computer having a network interface. In the figure, 31 is a CPU, 32 is a bus bridge, 33 is a main memory, 34 is a keyboard / mouse interface, 35 is an HDD interface, 36 is an image interface, 37 is a network interface, 38 is a keyboard and mouse, 39 is an HDD, 40 Is CRT, 4
1 is a network, 42 is a bus. The computer shown in FIG. 9 is connected to a network 41 via a network interface 37.
Can exchange data with other network devices connected to the server.

【0004】ところで、最近では省エネルギーに対応す
るために節電機構を含むように設計がなされているの
で、予め定められた時間内にコンピュータのいずれかの
デバイスに対してアクセスがない場合には、各デバイス
を待機状態(スリープモード)にして電力消費を抑える
ことが可能である。一例をあげれば、キーボード・マウ
ス38などの入力機器からのデータの入力が一定時間な
くなった場合には、CPU31が画像インタフェース3
6やHDDインタフェース35に対しスリープモード要
求を行い、その要求を受けたCRT40は画面表示を消
し、HDD39はモータを停止する。さらに、CPU3
1は自分自身のクロック周波数を低下させるか、もしく
は自ら電源を切断してシャットダウンするなど、CPU
31が自らスリープモードに移行する。また、ネットワ
ークインタフェース37については、他のコンピュータ
からのアクセス要求に応答できるように、ネットワーク
インターフェース37のみ通電した状態でスリープモー
ドに移行する。このような省エネルギーのための手法
は、特開平6−37765号公報などに開示されてい
る。
In recent years, designs have been made to include a power saving mechanism in order to cope with energy saving. Therefore, if there is no access to any device of the computer within a predetermined time, each device is It is possible to put the device in a standby state (sleep mode) to suppress power consumption. For example, when data input from an input device such as a keyboard / mouse 38 has been lost for a certain period of time, the CPU 31
6 and the HDD interface 35, the CRT 40 receiving the request turns off the screen display, and the HDD 39 stops the motor. Furthermore, CPU3
1 is to reduce the clock frequency of itself, or to shut down by shutting down the power supply.
31 itself shifts to the sleep mode. The network interface 37 shifts to the sleep mode with only the network interface 37 energized so that it can respond to an access request from another computer. Such a method for energy saving is disclosed in JP-A-6-37765.

【0005】しかし、ネットワーク上におけるフレーム
の送信および受信に関しては、送信または受信の都度、
CPUやメインメモリ等のCPU資源を用いて受信フレ
ームを解釈したり、送信するためのフレームを組み立て
たりして、それに対する処理をソフトウェアで行ってい
ることが多い。そのため、ネットワークにおいて使用す
るプロトコルやサービスによっては、ネットワーク機器
がスリープモードに移行できない場合がある。
However, regarding transmission and reception of frames on a network, each time transmission or reception is performed,
In many cases, a received frame is interpreted using a CPU resource such as a CPU or a main memory, or a frame for transmission is assembled, and processing for the frame is performed by software. Therefore, depending on the protocol or service used in the network, the network device may not be able to shift to the sleep mode.

【0006】例えば、他のネットワーク機器からの頻繁
な問いかけに対して即座に応答しなければならないよう
なネットワーク構成になっているケースがある。このケ
ースの場合、他のネットワーク機器からの問いかけに対
して即座に応答しないと、そのネットワーク機器がネッ
トワーク上に存在していないと他のネットワーク機器が
判断してしまうことがある。
[0006] For example, there is a case where the network configuration is such that a frequent inquiry from another network device must be immediately answered. In this case, if the network device does not immediately respond to the inquiry from the other network device, the other network device may determine that the network device does not exist on the network.

【0007】このようなケースの一例として、NetW
areのプロトコルを用いたネットワークシステムにつ
いて説明する。NetWareにおいては、コンピュー
タがネットワーク上で使用可能なサービスについて照会
する時には、サービス照会のフレームであるSAP(S
ervice Advertising Protoc
ol)要求フレームをネットワーク上に送信する。例え
ば、コンピュータにおいてシェル(NETX.COM)
のロードする時に、ネットワーク上の使用可能なサービ
スを知るためにこのSAP要求フレームが送信される。
また、NetWareDOSリクエスタ(VLM.EX
E)は、SAP要求フレームを送信して最寄りのディレ
クトリサーバを探す。もしも、どのネットワーク機器も
応答しなければ、もう一度SAP要求フレームを送信し
て最寄りのファイルサーバを探す。そして、このSAP
要求フレームの送信時に、該当するサービスを有してい
るサーバが即座に応答しなければ、SAP要求フレーム
を送信したコンピュータはそのようなサービスが存在し
ないと判断して、関連処理を中断するか他の処理に移っ
てしまう。
As an example of such a case, NetW
A network system using the are protocol will be described. In NetWare, when a computer inquires about services available on a network, a service inquiry frame, SAP (S
service Advertising Protocol
ol) Send the request frame over the network. For example, in a computer, a shell (NETX.COM)
Upon loading, this SAP request frame is sent to know the services available on the network.
In addition, NetWareDOS requester (VLM.EX)
E) sends an SAP request frame to search for the nearest directory server. If no network device responds, it sends another SAP request frame to find the nearest file server. And this SAP
If the server having the corresponding service does not immediately respond when transmitting the request frame, the computer that transmitted the SAP request frame determines that such a service does not exist and suspends the related processing or takes other actions. Processing.

【0008】したがって、このようなケースでは、CP
U資源をコールドスタート(システムブート)を要する
ような、完全に電源が切断された状態にすることはでき
ず、すぐに応答できるような状態、例えばCPUのクロ
ック速度を遅くしておく程度の状態にしておかなければ
ならず、CPU資源をスリープモードにすることができ
ない。
Therefore, in such a case, the CP
A state in which the U resources cannot be completely turned off such as requiring a cold start (system boot) and can be immediately responded, for example, a state in which the clock speed of the CPU is reduced. And the CPU resource cannot be put into the sleep mode.

【0009】さらに、コンピュータが定期的に自己の情
報をネットワーク上にブロードキャストしないと、他の
サーバや、ルータ、クライアントなどにおいてそのネッ
トワーク機器がネットワーク上に存在しないと判断して
しまうケースがある。例えば、NetWareのプロト
コルを用いたネットワークシステムにおいては、ファイ
ルサーバ、プリントサーバ、NetWareアクセスサ
ーバ、リモートコントロールサーバなどの各種サーバが
ネットワーク上に設けられる。これらのサーバは、自分
自身が持っているサービスリストを60秒毎にSAP情
報フレームとしてブロードキャストしなければならな
い。そして、最後のSAP情報フレームの送信から3分
間を過ぎても当該サーバがSAP情報フレームをブロー
ドキャストしなければ、他のすべてのサーバやルータは
このサーバが利用できないものと判断し、バインダリ
(データベース)からこのサーバを削除してしまう。
Furthermore, unless a computer periodically broadcasts its information on a network, other servers, routers, clients, and the like may determine that the network device does not exist on the network. For example, in a network system using the NetWare protocol, various servers such as a file server, a print server, a NetWare access server, and a remote control server are provided on the network. These servers must broadcast their own service list every 60 seconds as an SAP information frame. If the server does not broadcast the SAP information frame three minutes after the transmission of the last SAP information frame, all other servers and routers determine that this server cannot be used, and the bindery (database) Delete this server from.

【0010】したがって、このケースにおいても、定期
的にフレームを送信する関係上、CPU資源をスリープ
モードにすることができない。よって、上述のようなス
リープモードの導入は、ネットワークインタフェースか
らCPU資源に対してウエイクアップ要求が行われてか
らシステムが立ちあがるまでの時間がある程度長くても
よいコンピュータに限定されていた。例えば、単なるク
ライアントとして使用されるコンピュータや、TCP/
IPなど上述のような問題を引き起こさない通信プロト
コルのみで構成されたネットワークシステムのサーバと
して使用されるコンピュータなどである。
Therefore, even in this case, the CPU resource cannot be set to the sleep mode due to the periodical transmission of frames. Therefore, the introduction of the sleep mode as described above has been limited to a computer that may take a certain amount of time from when a wakeup request is issued to a CPU resource from a network interface to when the system starts up. For example, a computer used as a mere client, TCP /
A computer used as a server of a network system configured only with a communication protocol that does not cause the above-described problems, such as IP, is used.

【0011】そこで、上述のような問題を解決するため
に、以下に述べるような技術がいくつか提案されてい
る。そのような提案の一例として、例えば特開平8−1
63127号公報に開示されているように、クライアン
トに代わってLANアダプタが応答するように構成する
ことが考えられている。具体的には、LANアダプタに
おいて、判別部がクライアント側においてレジューム機
能を使用して動作停止状態に入ったことを判別すると、
信号制御部がサーバ側からの信号がクライアント側に伝
達されるのを停止し、格納部にサーバ側から信号が入力
されたことを通知する。格納部に格納されたプログラム
は、信号制御部の通知によってサーバ側から信号が入力
されたことを認識すると、その信号に対する応答処理あ
るいはネットワーク処理を行い、あたかもクライアント
が動作しているかのように動作する。このとき、格納部
はサーバからの確認信号と応答信号とを対応付けて格納
しておき、クライアントの動作が再開されたときに停止
中のサーバとの間の通信履歴をクライアント側に送出す
る。このようにして、クライアントのコンピュータに代
わってLANアダプタが応答するようにしたことによ
り、クライアントのレジューム機能(スリープモード)
を使用することが可能になる。
Therefore, in order to solve the above-mentioned problems, several techniques described below have been proposed. As an example of such a proposal, for example, Japanese Patent Application Laid-Open No. Hei 8-1
As disclosed in JP-A-63127, it has been considered that a LAN adapter responds on behalf of a client. Specifically, in the LAN adapter, when the determination unit determines that the operation has been stopped by using the resume function on the client side,
The signal control unit stops transmission of the signal from the server to the client, and notifies the storage that the signal has been input from the server. When the program stored in the storage unit recognizes that a signal has been input from the server side by the notification of the signal control unit, the program performs a response process or a network process for the signal, and operates as if the client is operating. I do. At this time, the storage unit stores the acknowledgment signal and the response signal from the server in association with each other, and sends the history of communication with the stopped server to the client when the operation of the client is restarted. In this way, the LAN adapter responds on behalf of the client computer, so that the client resume function (sleep mode)
Can be used.

【0012】しかしながら、この例においては、格納部
に格納されたプログラムがあたかもクライアントのよう
に振る舞うので、当該プログラムはクライアントにおい
て対応すべきあらゆる種類の信号やプロトコルに対応せ
ざるを得ない。したがって、LANアダプタにおいて多
様かつ複雑な処理を行う必要があり、LANアダプタの
構成がかなり複雑なものになる。当然、このようなLA
Nアダプタは高価なものになる。また、クライアントに
よってはLANアダプタにおいてすべての応答を行うこ
とが困難な場合もある。さらに、このようにすべての応
答を行うようなLANアダプタは、スリープ中のCPU
と同等の機能を果たすため消費電力も大きく、省エネル
ギーを実現することはできない。
However, in this example, since the program stored in the storage unit behaves as if it were a client, the program must correspond to all kinds of signals and protocols to be supported by the client. Therefore, it is necessary to perform various and complicated processes in the LAN adapter, and the configuration of the LAN adapter becomes considerably complicated. Naturally, such LA
N adapters are expensive. Also, depending on the client, it may be difficult to make all responses in the LAN adapter. Further, such a LAN adapter that performs all responses is provided by a CPU that is in sleep mode.
Since it performs the same function as, it consumes a large amount of power and cannot achieve energy saving.

【0013】また、別の例として特開平9−24719
4号公報に開示されているように、クライアントに代わ
ってサーバ上の領域に作成された仮想クライアントを動
作させるようにしたものがある。具体的には、クライア
ントはネットワーク接続の際、レジューム機能の使用可
否をサーバに通知する。この通知に応答してサーバは、
サーバ上の領域に仮想クライアントを作成する。スリー
プモードに入る際、クライアントはサーバにその旨を通
知する。サーバは仮想クライアントをクライアントの代
わりとして割り当てる。スリープモードの間、仮想クラ
イアントがクライアントの代わりに動作する。この結
果、クライアントでレジューム機能を使用しても、サー
バではクライアントが切断されたとは認識しないように
なる。クライアントがスリープモードに入っている間の
通信履歴を保存しておき、クライアントがスリープモー
ドから復帰する際、通信履歴を送出する。このようにし
て、レジューム機能を使用するクライアントに代わって
サーバ上の領域に作成された仮想クライアントを動作さ
せることにより、クライアントにおいてレジューム機能
の使用することが可能になる。
Another example is disclosed in Japanese Patent Application Laid-Open No. 9-24719.
As disclosed in Japanese Patent Laid-Open Publication No. 4 (1999) -2005, there is an apparatus in which a virtual client created in an area on a server is operated instead of a client. Specifically, at the time of network connection, the client notifies the server whether or not the resume function can be used. In response to this notification, the server
Create a virtual client in an area on the server. When entering the sleep mode, the client notifies the server to that effect. The server assigns a virtual client on behalf of the client. During sleep mode, the virtual client acts on behalf of the client. As a result, even if the client uses the resume function, the server does not recognize that the client has been disconnected. The communication history is stored while the client is in the sleep mode, and the communication history is transmitted when the client returns from the sleep mode. In this way, by operating the virtual client created in the area on the server in place of the client using the resume function, the client can use the resume function.

【0014】しかしながら、この例においては、仮想ク
ライアントが作成されるサーバは、スリープモードにす
ることができない。そのため、クライアント側において
省エネルギーを図ることができても、ネットワーク全体
として省エネルギーを図ることは困難である。
[0014] In this example, however, the server on which the virtual client is created cannot be put into sleep mode. Therefore, even if energy saving can be achieved on the client side, it is difficult to achieve energy saving for the entire network.

【0015】さらに、別の例として特開平5−1759
64号公報に開示されているように、スリープモードに
入るコンピュータに代わって他のコンピュータが応答す
ることが考えられている。具体的には、レジューム機能
を有するパソコン等の機器が電源をオフしてスリープモ
ードに入るときに、仮想回線を確立している他の機器に
対してスリープモードに入ることを知らせるメッセージ
を送る。これにより、電源をオフしてから電源をオンす
る間もネットワーク環境を保存する。また、スリープモ
ードに入ることを知らせるメッセージに、他のパソコン
に自らのネットワーク処理機能を代りに実行してもらう
データを含ませ、電源をオフしたときに他のパソコンに
自らのネットワーク処理機能を代りに実行してもらう。
このようにして、スリープモードに入るコンピュータに
代わって他のコンピュータがネットワーク処理機能を代
行することにより、スリープモードを使用することが可
能になる。
Further, as another example, Japanese Patent Application Laid-Open No. H5-1759
As disclosed in Japanese Patent Publication No. 64, it has been considered that another computer responds in place of the computer entering the sleep mode. Specifically, when a device such as a personal computer having a resume function is turned off and enters a sleep mode, a message is transmitted to other devices that have established a virtual circuit to notify that the device will enter the sleep mode. Thus, the network environment is preserved even after the power is turned off and then on. In addition, the message that informs the user to enter sleep mode includes data that causes other PCs to execute their own network processing functions instead. When the power is turned off, other PCs use their own network processing functions instead. Have it run.
In this way, the sleep mode can be used by another computer taking over the network processing function instead of the computer entering the sleep mode.

【0016】しかし、この例の場合でも、ネットワーク
処理機能を代行するコンピュータをスリープモードに移
行させることができない。そのため、ネットワーク全体
として省エネルギーを図ることは困難である。
However, even in this case, the computer acting as the network processing function cannot be shifted to the sleep mode. Therefore, it is difficult to save energy as a whole network.

【0017】[0017]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、LAN上において定期的な
問い合わせに対する応答、もしくは定期的な情報発信を
必要とするサービスアプリケーションを使用していて
も、他のネットワーク装置に依存することなくスリープ
機能を使用することが可能なネットワーク装置を提供す
ることを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and uses a service application that requires a response to a periodic inquiry or a periodic information transmission on a LAN. It is another object of the present invention to provide a network device that can use the sleep function without depending on other network devices.

【0018】[0018]

【課題を解決するための手段】本発明は、通信が行われ
ているときに受信フレーム及び送信フレームをそれぞれ
受信フレーム記憶手段及び送信フレーム記憶手段に格納
しておき、スリープ機能時には、新たな受信フレームと
受信フレーム記憶手段に格納されている受信フレームと
を比較し、一致すれば送信フレーム記憶手段に格納され
ている送信フレームを送信するものである。例えばCP
U資源において通信を行う際に、受信フレーム記憶手段
及び送信フレーム記憶手段の内容を更新していれば、定
期的な受信フレームとそれに応答する送信フレームが受
信フレーム記憶手段及び送信フレーム記憶手段に格納さ
れる。そのため、CPU資源がスリープ機能によって動
作を停止しても、例えば定期的な問い合わせに対しては
CPU資源やその他のデバイスを用いずに応答すること
ができる。そのため、ネットワーク機器のCPU資源や
その他のデバイスをスリープモードに移行させることが
できる。また、記憶された受信フレームと新たな受信フ
レームとが一致した時に送信フレームを送信する程度の
処理でよいため、受信フレームに対するフレーム処理解
析等の複雑な処理を行う必要がなく、低消費電力の回路
構成によって実現することができる。
According to the present invention, a reception frame and a transmission frame are stored in a reception frame storage unit and a transmission frame storage unit respectively when communication is being performed, and a new reception frame is stored when a sleep function is performed. The frame is compared with the received frame stored in the received frame storage means, and if they match, the transmission frame stored in the transmission frame storage means is transmitted. For example, CP
If the contents of the reception frame storage unit and the transmission frame storage unit are updated when performing communication using U resources, the periodic reception frame and the transmission frame corresponding thereto are stored in the reception frame storage unit and the transmission frame storage unit. Is done. Therefore, even if the CPU resource stops operating due to the sleep function, for example, it is possible to respond to a periodic inquiry without using the CPU resource and other devices. Therefore, CPU resources of network devices and other devices can be shifted to the sleep mode. Further, since the processing of transmitting the transmission frame when the stored reception frame matches the new reception frame is sufficient, there is no need to perform complicated processing such as frame processing analysis on the reception frame, and low power consumption is achieved. It can be realized by a circuit configuration.

【0019】なお、新たに受信した受信フレームが受信
フレーム記憶手段に記憶されている受信フレームとが一
致しなかった場合には、無理に応答せずにスリープ機能
を解除するように構成すればよい。また、受信フレーム
を選別するためのフレームフィルタを設けておけば、そ
のネットワーク機器に無関係な受信フレームによってス
リープ機能が無意味に解除されることを防止することが
できる。
If the newly received frame does not match the received frame stored in the received frame storage means, the sleep function may be canceled without forcibly responding. . In addition, if a frame filter for selecting a received frame is provided, it is possible to prevent the sleep function from being unnecessarily canceled by a received frame irrelevant to the network device.

【0020】また本発明は、通信が行われているときに
送信された送信フレームを送信フレーム記憶手段に格納
しておくとともに、その送信フレームが送信される時間
間隔を測定あるいは設定しておく。そして、スリープ機
能時には、測定あるいは設定された時間間隔で送信フレ
ーム記憶手段に格納されている送信フレームを送信する
ものである。例えばネットワーク装置から所定の時間間
隔で送信フレームを送信しなければならない場合があ
る。このような場合でも、通信時に測定した時間間隔、
あるいは設定された時間間隔で、送信されていた送信フ
レームを定期的に送信することができる。そのため、C
PU資源やその他のデバイスをスリープモードに移行さ
せることができ、自動的に定期的な送信フレームの送信
を続行することができる。
Further, according to the present invention, a transmission frame transmitted during communication is stored in a transmission frame storage means, and a time interval at which the transmission frame is transmitted is measured or set. Then, at the time of the sleep function, the transmission frame stored in the transmission frame storage unit is transmitted at the measured or set time interval. For example, a transmission frame may need to be transmitted from the network device at a predetermined time interval. Even in such a case, the time interval measured during communication,
Alternatively, the transmitted transmission frame can be periodically transmitted at a set time interval. Therefore, C
PU resources and other devices can be shifted to a sleep mode, and transmission of a transmission frame can be automatically and automatically continued.

【0021】[0021]

【発明の実施の形態】図1は、本発明のネットワーク装
置の第1の実施の形態を示すブロック図である。図中、
1はネットワーク装置、2は外部ネットワーク側、11
は制御部、12は送信フレーム記憶部、13は受信フレ
ーム記憶部、14は比較部、19はCPU資源、21は
スリープモード信号線、22は割り込み信号線、23は
送信命令信号線、24は比較結果信号線、26は送信フ
レーム、27は受信フレーム、28はウェイクアップ信
号線である。なお、図1においては、ネットワーク装置
1は、ネットワークシステムにおいて例えばファイルサ
ーバ、プリントサーバなどのサーバである。また、ネッ
トワーク装置1内のCPU資源19は、ネットワーク装
置1全体の動作を制御するCPUを含むものである。さ
らにCPU資源19は、メインメモリや、HDD、キー
ボードなど、例えば図9において示した種々のデバイス
を含んで構成することができる。また、外部ネットワー
ク側2には、ネットワーク装置1が接続されているネッ
トワークと、このネットワークに接続されている他のネ
ットワーク装置、例えば他のサーバやクライアントが設
けられている。
FIG. 1 is a block diagram showing a first preferred embodiment of a network device according to the present invention. In the figure,
1 is a network device, 2 is an external network side, 11
Is a control unit, 12 is a transmission frame storage unit, 13 is a reception frame storage unit, 14 is a comparison unit, 19 is a CPU resource, 21 is a sleep mode signal line, 22 is an interrupt signal line, 23 is a transmission command signal line, and 24 is A comparison result signal line, 26 is a transmission frame, 27 is a reception frame, and 28 is a wake-up signal line. In FIG. 1, the network device 1 is a server such as a file server or a print server in a network system. The CPU resources 19 in the network device 1 include a CPU that controls the operation of the entire network device 1. Further, the CPU resource 19 can be configured to include, for example, various devices shown in FIG. 9 such as a main memory, an HDD, and a keyboard. The external network 2 is provided with a network to which the network device 1 is connected, and other network devices connected to this network, for example, other servers and clients.

【0022】制御部11は、スリープモード信号線21
を常時モニタリングし、CPU資源19からスリープモ
ードを指示する信号を受信したらスリープ機能時の動作
を行う。スリープ機能時においては比較部14から送ら
れてきた比較結果信号線24に従い、新たに受信したフ
レームと受信フレーム記憶部13に格納されている受信
フレームとが一致する場合には、送信フレーム記憶部1
2を制御して外部ネットワーク側2へ送信フレーム26
を送信させる。また、新たに受信したフレームと受信フ
レーム記憶部13に格納されている受信フレームとが一
致しない場合には、CPU資源等19をウェイクアップ
させる割り込み信号をCPU資源19へ送る。また、C
PU資源19からウェイクアップ信号線28によってC
PU資源19がウェイクアップしたことを示す信号が送
られてきた場合には、スリープ機能時の制御動作を終了
する。
The control unit 11 includes a sleep mode signal line 21
Is constantly monitored, and when a signal indicating a sleep mode is received from the CPU resource 19, the operation at the time of the sleep function is performed. At the time of the sleep function, if the newly received frame matches the received frame stored in the received frame storage unit 13 according to the comparison result signal line 24 sent from the comparison unit 14, the transmission frame storage unit 1
2 to the external network side 2 to transmit a frame 26
Is sent. If the newly received frame and the received frame stored in the received frame storage unit 13 do not match, an interrupt signal to wake up the CPU resources 19 is sent to the CPU resources 19. Also, C
PU resource 19 from wake-up signal line 28
When a signal indicating that the PU resource 19 has been woken up has been sent, the control operation at the time of the sleep function ends.

【0023】送信フレーム記憶部12は、送信フレーム
26(応答フレーム)がCPU資源19から外部ネット
ワーク側2へ送られるのと同時に、この送信フレーム2
6を格納する。また、送信フレーム記憶部12において
は、送信する1フレームの最大バイト長、例えばEth
ernetであれば1514バイトまでを格納可能であ
る。よって、CPU資源19から新たな送信フレーム2
6が送られると、すでに格納されている送信フレーム2
6に替えて新たな送信フレーム26を格納する。したが
って、送信フレーム記憶部12には、常に最新の送信フ
レーム26が格納される。当該ネットワーク装置1が他
の装置とのデータ通信を終えてからスリープモードに入
るまでの間、当該ネットワーク装置1から外部ネットワ
ーク側に送られる送信フレーム26は、ほとんどが定常
的に送信される応答フレームとなる。そのため、上述の
ような送信フレームの更新を行ってゆくと、定常的に送
信される応答フレームが送信フレーム記憶部12に格納
されることになる。スリープ機能時には、制御部11か
らの送信命令に従って、格納されている送信フレーム2
6を外部ネットワーク側2へ送る。
The transmission frame storage unit 12 stores the transmission frame 26 (response frame) at the same time that the transmission frame 26 (response frame) is transmitted from the CPU resource 19 to the external network 2.
6 is stored. In the transmission frame storage unit 12, the maximum byte length of one frame to be transmitted, for example, Eth
If it is Ethernet, up to 1514 bytes can be stored. Therefore, a new transmission frame 2
6 is sent, the already stored transmission frame 2
6, a new transmission frame 26 is stored. Therefore, the latest transmission frame 26 is always stored in the transmission frame storage unit 12. A transmission frame 26 sent from the network device 1 to the external network side from the network device 1 to the external network side after the data communication with the other device ends the data communication with another device is a response frame which is almost constantly transmitted. Becomes Therefore, as the transmission frame is updated as described above, a response frame that is constantly transmitted is stored in the transmission frame storage unit 12. At the time of the sleep function, according to the transmission command from the control unit 11, the stored transmission frame 2
6 to the external network side 2.

【0024】受信フレーム記憶部13は、受信フレーム
27(問合せフレーム)が外部ネットワーク側2からC
PU資源19へ送られてくると同時に、この受信フレー
ム27を格納する。また、受信フレーム記憶部13にお
いては、受信する1フレームの最大バイト長、例えばE
thernetであれば1514バイトまでを格納可能
である。さらに、外部ネットワーク側2から新たな受信
フレーム27が送られてくると、すでに記憶されている
フレームに替えて新たな受信フレーム27を格納する。
したがって、受信フレーム記憶部13には、常に最新の
受信フレーム27が格納される。当該ネットワーク装置
1が他の装置とのデータ通信を終えてからスリープモー
ドに入るまでの間、当該ネットワーク装置1に入ってく
る受信フレーム27は、ほとんどが定常的に受信される
問合せフレームである。そのため、上述のような受信フ
レームの更新を行ってゆくと、定常的に受信される問い
合わせフレームが受信フレーム記憶部13に格納される
ことになる。スリープ機能時には、新たな受信フレーム
27が送られてくると、格納されている受信フレーム2
7を比較部14へ送る。なお、受信フレーム記憶部13
には、SRAMやFIFOなどの半導体メモリを採用す
ることができる。
The received frame storage unit 13 stores a received frame 27 (query frame) from the external network 2
The received frame 27 is stored at the same time as being sent to the PU resource 19. In the received frame storage unit 13, the maximum byte length of one frame to be received, for example, E
In the case of the Ethernet, up to 1514 bytes can be stored. Further, when a new received frame 27 is sent from the external network side 2, the new received frame 27 is stored in place of the already stored frame.
Therefore, the latest received frame 27 is always stored in the received frame storage unit 13. Most of the received frames 27 that enter the network device 1 from the end of the data communication of the network device 1 with other devices until the network device 1 enters the sleep mode are inquiry frames that are almost constantly received. Therefore, as the above-described updating of the reception frame is performed, the inquiry frame that is constantly received is stored in the reception frame storage unit 13. At the time of the sleep function, when a new received frame 27 is sent, the stored received frame 2
7 to the comparing unit 14. The received frame storage unit 13
, A semiconductor memory such as an SRAM or a FIFO can be employed.

【0025】比較部14は、受信フレーム27(応答フ
レーム)が外部ネットワーク側2からCPU資源19へ
送られてくるのと同時にこの受信フレーム27を取り込
む。そして、この受信フレーム27と受信フレーム記憶
部13に格納されている受信フレーム27とを比較す
る。そして比較した結果、1フレーム分すべてが一致し
たか否かを比較結果信号線24として制御部11へ送
る。
The comparing unit 14 takes in the received frame 27 (response frame) at the same time as the received frame 27 is sent from the external network side 2 to the CPU resource 19. Then, the received frame 27 is compared with the received frame 27 stored in the received frame storage unit 13. Then, as a result of the comparison, whether or not all of the frames correspond to each other is sent to the control unit 11 as a comparison result signal line 24.

【0026】スリープモード信号線21は、CPU資源
19から制御部11へスリープモードの指示信号を伝え
る。割り込み信号線22は、制御部11からCPU資源
19へウェイクアップのための割り込み信号を伝える。
送信命令信号線23は、制御部11から送信フレーム記
憶部12へ外部ネットワーク側2に対して送信フレーム
26を送信させる命令を伝える。比較結果信号線24
は、比較部14において新たな受信フレーム27と受信
フレーム記憶部13から送られてきた受信フレーム27
とを比較した結果を伝える。ウェイクアップ信号線28
は、CPU資源19から制御部11へCPU資源19が
ウェイクアップしたことを伝える。これらの信号線にお
いては、例えば当該信号線を1または所定複数クロック
分だけアクティブにすることによって命令等を伝えるこ
とができる。もちろん、‘H’レベルと‘L’レベルで
示したり、データを転送するなど、命令の伝達方法は任
意である。なお、スリープモード信号線21とウェイク
アップ信号線28は、同一信号線によってCPU資源1
9の状態を示すように構成することも可能である。
The sleep mode signal line 21 transmits a sleep mode instruction signal from the CPU resource 19 to the control unit 11. The interrupt signal line 22 transmits an interrupt signal for waking up from the control unit 11 to the CPU resource 19.
The transmission command signal line 23 transmits a command for transmitting the transmission frame 26 to the external network 2 from the control unit 11 to the transmission frame storage unit 12. Comparison result signal line 24
Is the new received frame 27 in the comparing unit 14 and the received frame 27 sent from the received frame storage unit 13.
And tell the result of the comparison. Wake-up signal line 28
Informs the control unit 11 that the CPU resource 19 has been woken up. In these signal lines, for example, a command or the like can be transmitted by activating the signal line for one or a predetermined plurality of clocks. Of course, any method of transmitting the command, such as indicating at the “H” level and the “L” level and transferring data, is arbitrary. The sleep mode signal line 21 and the wake-up signal line 28 are connected to the CPU resource 1 by the same signal line.
It is also possible to configure so as to show the state 9.

【0027】次に、本発明のネットワーク装置の実施の
一形態における動作の一例について説明する。ネットワ
ーク装置は、応答すべき受信フレーム27を受信すると
即座に対応する送信フレーム26を送り返す。このと
き、受信フレーム27を受信した時点で、その受信フレ
ーム27が受信フレーム記憶部13に格納される。ま
た、対応する送信フレーム26が送信された時点で、そ
の送信フレーム26が送信フレーム記憶部12に格納さ
れる。
Next, an example of the operation of the network device according to the embodiment of the present invention will be described. Upon receiving the reception frame 27 to be responded to, the network device immediately returns the corresponding transmission frame 26. At this time, when the reception frame 27 is received, the reception frame 27 is stored in the reception frame storage unit 13. When the corresponding transmission frame 26 is transmitted, the transmission frame 26 is stored in the transmission frame storage unit 12.

【0028】このような通信を行ってゆき、定常的な受
信フレーム27の受信とそれに対応する送信フレーム2
6の送信が一定間隔で繰り返されるようになると、受信
フレーム記憶部13には定常的に受信される受信フレー
ムが格納され、また、それに対する送信フレームが送信
フレーム格納部12に格納されることになる。そしてC
PU資源19は、このような定常的な送受信のみとなっ
て所定時間経過すると、スリープモードに移行する。こ
の時点で、定常的な受信フレームが受信フレーム格納部
13に格納され、その受信フレームに対する送信フレー
ムが送信フレーム格納部12に格納された状態となって
いる。そして、CPU資源19がスリープモードに移行
すると、制御部11がスリープ機能時の動作を行う。
Such communication is performed, and the steady reception of the reception frame 27 and the transmission frame 2 corresponding thereto are performed.
6 is repeated at a constant interval, the received frame stored in the received frame storage unit 13 is stored in the transmission frame storage unit 12, and the transmission frame corresponding thereto is stored in the transmission frame storage unit 12. Become. And C
The PU resource 19 shifts to the sleep mode when a predetermined time elapses after only such regular transmission and reception. At this point, a steady reception frame is stored in the reception frame storage unit 13, and a transmission frame for the reception frame is stored in the transmission frame storage unit 12. Then, when the CPU resource 19 shifts to the sleep mode, the control unit 11 performs an operation at the time of the sleep function.

【0029】図2は、本発明のネットワーク装置の実施
の一形態における制御部の動作の一例を示すフローチャ
ートである。上述のように、制御部11は、この例では
CPU資源19からのスリープモード信号線21を監視
している。S51において、CPU資源19からスリー
プモードである旨を指示する信号が送られてきた否かを
判断する。そして、CPU資源19がスリープモードに
移行するまでこのステップで待つ。
FIG. 2 is a flowchart showing an example of the operation of the control unit in the embodiment of the network device of the present invention. As described above, the control unit 11 monitors the sleep mode signal line 21 from the CPU resource 19 in this example. In S51, it is determined whether or not a signal indicating the sleep mode has been sent from the CPU resource 19. Then, it waits in this step until the CPU resource 19 shifts to the sleep mode.

【0030】CPU資源19がスリープモードに移行し
たら、S52において、CPU資源19がウェイクアッ
プしたことを示す信号がウェイクアップ信号線28を介
して送られてきた否かを判断する。そして、当該信号が
送られてきた場合には、制御部11におけるスリープ機
能時の処理を終了してS51へ戻る。CPU資源19が
ウェイクアップしていなければ、さらにS53におい
て、比較部14から比較結果信号線24を介して比較結
果が送られてきたか否かを判定する。比較結果が送られ
て来なければ、受信フレームを受信しておらず、対応す
る処理を行わなくてよいので、S52へ戻って、CPU
19のウェイクアップを監視する。
When the CPU resource 19 shifts to the sleep mode, in S52, it is determined whether or not a signal indicating that the CPU resource 19 has been woken up has been sent via the wake-up signal line 28. Then, when the signal is sent, the process at the time of the sleep function in the control unit 11 is ended, and the process returns to S51. If the CPU resource 19 has not been woken up, it is further determined in S53 whether or not a comparison result has been sent from the comparison unit 14 via the comparison result signal line 24. If the comparison result is not sent, the received frame has not been received and the corresponding processing need not be performed.
Monitor 19 wake-ups.

【0031】新たに受信フレームが到来すると、新たに
到来した受信フレーム27とすでに受信フレーム記憶部
13に格納されていた受信フレーム27とを比較部14
で比較する。そして制御部11は、S54において、比
較部14による比較結果を比較結果信号線24を介して
受け取る。上述のように、受信フレーム記憶部13に格
納されていた受信フレーム27は定常的に受信する受信
フレームであるので、新たな受信フレーム27との比較
を行えば、送信フレーム記憶部12に格納されている送
信フレーム26を返すべきものか否かを簡単に判断する
ことができる。
When a new reception frame arrives, the comparison unit 14 compares the newly arrived reception frame 27 with the reception frame 27 already stored in the reception frame storage unit 13.
To compare. Then, in S54, the control unit 11 receives the comparison result by the comparison unit 14 via the comparison result signal line 24. As described above, the reception frame 27 stored in the reception frame storage unit 13 is a reception frame that is constantly received. Therefore, if the reception frame 27 is compared with a new reception frame 27, the reception frame 27 is stored in the transmission frame storage unit 12. It is possible to easily determine whether or not the transmitted transmission frame 26 should be returned.

【0032】S55において、比較部14による比較結
果が、新たに到来した受信フレーム27とすでに受信フ
レーム記憶部13に格納されていた受信フレーム27が
一致するか否かを判断する。一致する場合には、S56
において、制御部11から送信フレーム記憶部12へ送
信フレーム26を送信させる命令を送り、送信フレーム
記憶部12に格納されている送信フレーム26を送信さ
せる。なお、送信フレーム記憶部12に格納されていた
送信フレーム26は応答フレームであるので、応答フレ
ームを新たに生成するような動作を行う必要はない。
In S55, it is determined whether or not the comparison result by the comparing unit 14 matches the newly arrived received frame 27 with the received frame 27 already stored in the received frame storage unit 13. If they match, S56
In step (1), a command to transmit the transmission frame 26 is transmitted from the control unit 11 to the transmission frame storage unit 12, and the transmission frame 26 stored in the transmission frame storage unit 12 is transmitted. Since the transmission frame 26 stored in the transmission frame storage unit 12 is a response frame, it is not necessary to perform an operation for newly generating a response frame.

【0033】送信フレームを送信した後はS52へ戻
り、再びS52におけるCPU資源19のウェイクアッ
プの監視及びS53における比較結果の到来を待つこと
になる。
After transmitting the transmission frame, the flow returns to S52 to wait for the wakeup of the CPU resource 19 in S52 and the arrival of the comparison result in S53.

【0034】また、新たに到来した受信フレーム27と
すでに受信フレーム記憶部13に格納されていた受信フ
レーム27が一致しない場合には、S57においてCP
U資源19をウェイクアップさせ、スリープ機能時の動
作を終了してS51へ戻る。以後はCPU資源19が受
信フレームへの応答を行うとともに、以後の通信を行う
ことになる。
If the newly-arrived received frame 27 does not match the received frame 27 already stored in the received-frame storage unit 13, the control goes to step S57.
The U resource 19 is woken up, the operation at the time of the sleep function ends, and the process returns to S51. Thereafter, the CPU resource 19 responds to the received frame and performs subsequent communication.

【0035】なお、上述の動作例では、制御部11は、
CPU資源19からのスリープモードを指示する信号を
常時モニタリングするものとして示しているが、当該信
号を受信するによって起動し、割り込み信号を送出する
ことによって動作を停止するように構成してもよい。
In the above operation example, the control unit 11
Although a signal instructing the sleep mode from the CPU resource 19 is shown as being constantly monitored, it may be configured to start by receiving the signal and stop the operation by sending an interrupt signal.

【0036】図3は、本発明のネットワーク装置の第1
の実施の形態を用いたネットワークシステムにおける通
信状態の一例を模式的に示した説明図である。なお、本
発明の第1の実施の形態に係るネットワーク装置をネッ
トワーク装置1とし、同一ネットワーク上にネットワー
ク2とネットワークNが接続されているものとする。
FIG. 3 shows a first example of the network device of the present invention.
FIG. 13 is an explanatory diagram schematically showing an example of a communication state in the network system using the embodiment. It is assumed that the network device according to the first embodiment of the present invention is a network device 1, and a network 2 and a network N are connected on the same network.

【0037】通常は、ネットワーク装置1は他のネット
ワーク装置、すなわちネットワーク装置2もしくはネッ
トワーク装置Nとデータ転送等の通信を行っている。こ
の時にはCPU資源19等を必要としているために、ネ
ットワーク装置1はスリープモードではない。
Normally, the network device 1 performs communication such as data transfer with another network device, that is, the network device 2 or the network device N. At this time, since the CPU resources 19 and the like are required, the network device 1 is not in the sleep mode.

【0038】ネットワーク装置1は、ネットワーク装置
2もしくはネットワーク装置Nとのデータ通信が終了す
ると、CPU資源19は定期的な問合せフレームに対し
て応答フレームを送り返すのみの動作を行う。よって、
ネットワーク装置1の受信フレーム記憶部13には問合
せフレームが記憶され続けることになる。また同様に、
送信フレーム記憶部12には応答フレームが記憶され続
けることになる。問合せのための受信フレーム27は、
問合せの対象となるサービスアプリケーションが同一で
ある限り、フレーム内容も常に同じである。同様に応答
フレームの内容も常に同じである。この状態を図中Aと
して示している。
When data communication with the network device 2 or the network device N is completed, the network device 1 performs an operation of only returning a response frame to a periodic inquiry frame. Therefore,
The inquiry frame continues to be stored in the reception frame storage unit 13 of the network device 1. Similarly,
The response frame continues to be stored in the transmission frame storage unit 12. The received frame 27 for the inquiry is
As long as the service application to be queried is the same, the frame contents are always the same. Similarly, the contents of the response frame are always the same. This state is shown as A in the figure.

【0039】そして、ネットワーク装置1において、例
えばキーボード・マウスなどの入力がない状態が一定時
間以上続き、かつネットワークにおいてはデータ転送な
どのCPU資源19を必要とする通信が終了し、一定周
期の問い合わせフレームのみしか受信していない状態が
続く場合には、ネットワーク装置1はスリープモードに
入る。この時には、CPU資源19の電源は切断してよ
いが、図1に示す制御部11,送信フレーム記憶部1
2,受信フレーム記憶部13,比較部14については通
電状態を維持する。そして、スリープモードに移行した
後は、ネットワーク装置2からの受信フレーム27がス
リープ状態に入る直前に受信したものと同一であれば、
スリープモードに入る直前に送信したフレームをネット
ワーク装置2へ送信する。この状態を図中Bとして示し
ている。これによって、ネットワーク装置2には、CP
U資源19が動作していたときと同じ応答フレームが返
される。なお、ネットワーク装置Nなどについても同様
である。
Then, in the network device 1, for example, a state where there is no input such as a keyboard / mouse or the like continues for a certain period of time, and in the network, communication which requires the CPU resource 19, such as data transfer, is completed. When the state where only the frame is received continues, the network device 1 enters the sleep mode. At this time, the power of the CPU resource 19 may be turned off, but the control unit 11 and the transmission frame storage unit 1 shown in FIG.
2. The energized state of the received frame storage unit 13 and the comparison unit 14 is maintained. Then, after the transition to the sleep mode, if the received frame 27 from the network device 2 is the same as that received immediately before entering the sleep state,
The frame transmitted immediately before entering the sleep mode is transmitted to the network device 2. This state is shown as B in the figure. As a result, the network device 2 has a CP
The same response frame as when the U resource 19 was operating is returned. The same applies to the network device N and the like.

【0040】もしも、この受信したフレームが、新規送
信フレームとして示したようにスリープモードに入る直
前に受信したフレームと異なっていれば、制御部11か
ら割り込み信号をCPU資源19へ伝え、CPU資源1
9をウェイクアップさせる。そして、CPU資源19
が、受信した新規送信フレームに対する応答フレームを
返すことになる。
If the received frame is different from the frame received immediately before entering the sleep mode as shown as a new transmission frame, the control unit 11 transmits an interrupt signal to the CPU resource 19, and
Wake up 9 And CPU resources 19
Will return a response frame to the received new transmission frame.

【0041】上述のように、この第1の実施の形態にお
いては、スリープ機能時においても問い合わせフレーム
に対して応答フレームを返すことができるので、例えば
サーバにおいてもスリープモードに移行することが可能
である。この問い合わせフレームに対応した応答フレー
ムの送信は、図1に示したように非常に簡単な構成によ
って実現でき、消費電力も抑えることができる。そのた
め、消費電力の大きなCPU資源19をスリープモード
に移行させ、スリープ機能時の処理を最低限の構成で行
うことによって、全体として消費電力を低減することが
できる。なお、定常時に問い合わせフレーム以外の受信
フレームについては、CPU資源19をウェイクアップ
させて応答するので、通信に支障が生じることはない。
As described above, in the first embodiment, a response frame can be returned in response to the inquiry frame even during the sleep function, so that, for example, the server can shift to the sleep mode. is there. Transmission of a response frame corresponding to this inquiry frame can be realized by a very simple configuration as shown in FIG. 1, and power consumption can be suppressed. Therefore, the power consumption can be reduced as a whole by shifting the CPU resources 19 having large power consumption to the sleep mode and performing the processing at the time of the sleep function with the minimum configuration. It should be noted that, for a received frame other than the inquiry frame in the steady state, the CPU resource 19 is woken up to respond, so that there is no trouble in communication.

【0042】また、以上の構成において、受信フレーム
27が問合せフレームであるか否かの判断のみを行う、
すなわち1種類の受信フレームのみについて、対応した
送信フレームを返すものとしたが、2種類以上のフレー
ムに対応可能に構成することもできる。例えば受信フレ
ーム記憶部を2個以上設け、それぞれの受信フレーム記
憶部に異なる種類の受信フレームが格納されるようにす
る。また、送信フレーム格納部を受信フレーム記憶部と
同数設け、受信フレーム記憶部に対応する送信フレーム
を対応付けて格納しておけばよい。例えば受信フレーム
記憶部13と送信フレーム記憶部12とを対応付けたテ
ーブルとして構成してもよい。そして、CPU資源19
がスリープモードに移行した後に、新たな受信フレーム
が来たときに、テーブルを参照して受信フレームに応じ
た送信フレームを送り返すように構成すればよい。この
ようにすれば、外部ネットワーク側から送られる様々な
フレームに対して対応を行うことが可能になる。
Further, in the above configuration, it is only determined whether or not the received frame 27 is an inquiry frame.
In other words, the transmission frame corresponding to only one type of received frame is returned, but it may be configured to be compatible with two or more types of frames. For example, two or more reception frame storage units are provided, and different types of reception frames are stored in the respective reception frame storage units. Also, the same number of transmission frame storage units as the reception frame storage unit may be provided, and the transmission frames corresponding to the reception frame storage unit may be stored in association with each other. For example, it may be configured as a table in which the reception frame storage unit 13 and the transmission frame storage unit 12 are associated with each other. And CPU resources 19
After a shift to the sleep mode, when a new received frame comes, the transmission frame corresponding to the received frame may be sent back by referring to the table. This makes it possible to deal with various frames sent from the external network side.

【0043】さらに、例えば特定のプロトコルのみに限
定するのであれば、受信フレーム記憶部13及び送信フ
レーム記憶部12に格納される受信フレーム及び対応す
る送信フレームは固定的なデータであってもよい。この
場合、受信フレーム記憶部13及び送信フレーム記憶部
12の更新は不要になる。また、上述のようにテーブル
化した場合でも、固定データであれば容易に対応可能で
ある。
Further, for example, if only a specific protocol is used, the received frames stored in the received frame storage unit 13 and the transmission frame storage unit 12 and the corresponding transmission frames may be fixed data. In this case, the update of the reception frame storage unit 13 and the transmission frame storage unit 12 becomes unnecessary. Further, even if the data is tabulated as described above, it can be easily coped with fixed data.

【0044】なお、以上の構成においては、制御部11
等をCPU資源19と一体的に示したが、例えばネット
ワークインタフェースに組み込む構成など、それぞれの
配置には限定されない。また、図1のネットワーク装置
1はサーバに限らず、クライアントであってもよい。な
お、これらの点は以下に述べる他の実施の形態において
も採用可能である。
In the above configuration, the control unit 11
And the like are shown integrally with the CPU resources 19, but the arrangement is not limited to the respective arrangements such as a configuration incorporated in a network interface. 1 is not limited to a server, but may be a client. These points can be adopted in other embodiments described below.

【0045】図4は、本発明のネットワーク装置の第2
の実施の形態を示すブロック図である。図中、図1と同
様の部分には同じ符号を付して説明を省略する。15は
受信フレームフィルタである。受信フレームフィルタ1
5は、ネットワーク装置1が必要とする受信フレームの
みを透過し、不要なフレーム、例えば当該ネットワーク
装置が応答する必要のないブロードキャストフレームな
どを破棄するものである。また、受信フレームフィルタ
15は、透過させるフレームの種類やパターンなどをあ
らかじめCPU等から指定可能に構成しておくことがで
きる。この他の構成は、図1に示したものと同じであ
る。
FIG. 4 shows a second example of the network device of the present invention.
It is a block diagram showing an embodiment. In the figure, the same parts as those in FIG. Reference numeral 15 denotes a reception frame filter. Receive frame filter 1
Reference numeral 5 is for transmitting only a received frame required by the network device 1 and discarding an unnecessary frame, for example, a broadcast frame which does not need to respond to the network device. In addition, the reception frame filter 15 can be configured in advance so that the type and pattern of a frame to be transmitted can be designated by a CPU or the like. Other configurations are the same as those shown in FIG.

【0046】次に、本発明のネットワーク装置の第2の
実施の形態における動作の一例について説明する。この
第2の実施の形態では、CPU資源19が動作している
間でも受信フレームフィルタ15が作動し、特定のフレ
ームのみを透過してCPU資源19が受信処理し、応答
フレームを返す。受信フレーム記憶部13には、受信フ
レームフィルタ15を通過した受信フレームが格納され
る。また送信フレーム記憶部12には、受信フレームフ
ィルタ15を通過した受信フレームに対応する送信フレ
ームが格納される。
Next, an example of the operation of the network device according to the second embodiment of the present invention will be described. In the second embodiment, the reception frame filter 15 operates even while the CPU resource 19 is operating, and the CPU resource 19 transmits only a specific frame, performs a reception process, and returns a response frame. The reception frame storage unit 13 stores the reception frames that have passed through the reception frame filter 15. Further, the transmission frame storage unit 12 stores a transmission frame corresponding to the reception frame that has passed through the reception frame filter 15.

【0047】定常的な受信フレーム27の受信とそれに
対応する送信フレーム26の送信が一定間隔で繰り返さ
れ、CPU資源19がスリープモードに移行すると、制
御部11がスリープ機能時の動作を行う。この時点で、
受信フレームフィルタ15を通過した、定常的な受信フ
レームが受信フレーム格納部13に格納され、その受信
フレームに対する送信フレームが送信フレーム格納部1
2に格納された状態となっている。
The stationary reception of the reception frame 27 and the transmission of the corresponding transmission frame 26 are repeated at regular intervals, and when the CPU resource 19 shifts to the sleep mode, the control unit 11 performs the operation at the time of the sleep function. at this point,
The stationary received frame that has passed through the received frame filter 15 is stored in the received frame storage unit 13, and the transmission frame corresponding to the received frame is stored in the transmission frame storage unit 1.
2 is stored.

【0048】制御部11におけるスリープ機能時の動作
は、図2とほぼ同様である。S51でCPU資源19が
スリープモードへ移行したことを検知すると、スリープ
機能における動作に移行する。そして、CPU資源19
がウェイクアップしたか否かを判定し、ウェイクアップ
すればスリープ機能における動作を終了してS51へ戻
る。また、CPU資源19がスリープ状態であれば、さ
らにS53において、受信フレームが到来して比較部1
4から比較結果が入力されたか否かを判定する。
The operation of the control unit 11 at the time of the sleep function is substantially the same as that of FIG. When detecting that the CPU resource 19 has shifted to the sleep mode in S51, the process shifts to an operation in the sleep function. And CPU resources 19
It is determined whether or not has been woken up, and if so, the operation in the sleep function ends and the process returns to S51. If the CPU resource 19 is in the sleep state, further, in S53, the receiving frame arrives and the comparing unit 1
It is determined from step 4 whether the comparison result has been input.

【0049】新たに受信フレームが到来すると、到来し
た受信フレームのうち不要なものは受信フレームフィル
タ15で廃棄される。そのため、廃棄された受信フレー
ムは比較部14に到達せず、従って制御部11に比較信
号も送出されないので、制御部11はなにもしない。こ
れによって、不要な受信フレームが到来し、受信フレー
ム記憶部13に格納された受信フレームと異なってCP
U資源19がウェイクアップされるといった事態を防止
することができる。
When a new received frame arrives, unnecessary frames among the arrived received frames are discarded by the received frame filter 15. Therefore, the discarded received frame does not reach the comparing unit 14, and therefore the comparison signal is not sent to the control unit 11, so that the control unit 11 does nothing. As a result, an unnecessary reception frame arrives and differs from the reception frame stored in the reception frame storage unit 13 in CP.
It is possible to prevent the U resource 19 from being woken up.

【0050】到来した新たな受信フレームが受信フレー
ムフィルタ15を通過すると、その受信フレームは、す
でに受信フレーム記憶部13に格納されていた受信フレ
ーム27と比較部14で比較され、比較結果が制御部1
1に渡されることになる。以降の動作は上述の第1の実
施の形態と同様である。
When the new incoming received frame passes through the received frame filter 15, the received frame is compared with the received frame 27 already stored in the received frame storage unit 13 by the comparing unit 14, and the comparison result is obtained by the control unit. 1
1 will be passed. Subsequent operations are the same as in the first embodiment.

【0051】図5は、本発明のネットワーク装置の第2
の実施の形態を用いたネットワークシステムにおける通
信状態の一例を模式的に示した説明図である。なお、本
発明の第2の実施の形態に係るネットワーク装置をネッ
トワーク装置1とし、同一ネットワーク上にネットワー
ク2とネットワークNが接続されているものとする。
FIG. 5 shows a second example of the network device of the present invention.
FIG. 13 is an explanatory diagram schematically showing an example of a communication state in the network system using the embodiment. It is assumed that the network device according to the second embodiment of the present invention is a network device 1 and a network 2 and a network N are connected on the same network.

【0052】通常は、ネットワーク装置1は他のネット
ワーク装置、すなわちネットワーク装置2もしくはネッ
トワーク装置Nとデータ転送等の通信を行っている。通
信終了後、ネットワーク装置1は定期的な問合せフレー
ムに対して応答フレームを送り返すのみの動作を行う。
このときの問い合わせフレームは受信フレームフィルタ
15を通過し、CPU資源19により処理されて応答フ
レームが送信されている。この間に、受信フレーム記憶
部13には問合せフレームが記憶され、また送信フレー
ム記憶部12には応答フレームが記憶されるこの状態を
図中Aとして示している。
Normally, the network device 1 communicates with another network device, that is, the network device 2 or the network device N, such as data transfer. After the end of the communication, the network device 1 performs only an operation of returning a response frame to the periodic inquiry frame.
The inquiry frame at this time passes through the reception frame filter 15, is processed by the CPU resource 19, and the response frame is transmitted. During this time, the inquiry frame is stored in the reception frame storage unit 13 and the response frame is stored in the transmission frame storage unit 12, as indicated by A in the figure.

【0053】ネットワーク装置1がスリープモードに入
った後も、受信フレームフィルタ15を通過する定期的
な問い合わせフレームに対しては、応答フレームが送信
される。この状態を図中Bとして示している。
After the network device 1 enters the sleep mode, a response frame is transmitted for a periodic inquiry frame passing through the reception frame filter 15. This state is shown as B in the figure.

【0054】このようなスリープ機能時に、図5ではネ
ットワーク装置Nからネットワーク装置1に無関係なブ
ロードキャストフレームが送られてきている。しかし、
このブロードキャストフレームが、受信フレームフィル
タ15を通過しないフレームであれば、ネットワーク装
置1に到達しても受信フレームフィルタ15で破棄され
る。そのため、定常的な問い合わせフレームと異なる受
信フレームとして処理されることはなく、CPU資源1
9がウェイクアップされることはない。
In such a sleep function, a broadcast frame unrelated to the network device 1 is transmitted from the network device N in FIG. But,
If this broadcast frame does not pass through the reception frame filter 15, even if it reaches the network device 1, it is discarded by the reception frame filter 15. Therefore, it is not processed as a received frame different from the stationary inquiry frame, and the CPU resource 1
9 will not be woken up.

【0055】もちろん、ネットワーク装置Nから新規送
信フレームとして示したように、受信フレームフィルタ
15を通過する受信フレームが到来した場合には、定常
的に送られてくる問い合わせフレームとは異なる受信フ
レームが受信されたものとしてCPU資源19をウェイ
クアップさせる。そして、CPU資源19が、受信した
新規送信フレームに対する応答フレームを返すことにな
る。
Of course, as shown as a new transmission frame from the network device N, when a reception frame passing through the reception frame filter 15 arrives, a reception frame different from the inquiry frame which is constantly transmitted is received. Then, the CPU resource 19 is woken up. Then, the CPU resource 19 returns a response frame to the received new transmission frame.

【0056】上述の例のように、ブロードキャストフレ
ームは応答する必要がない場合が多く、このような受信
フレームは受信フレームフィルタ15で破棄すると、C
PU資源19のウェイクアップを回避することができ
る。受信フレームフィルタ15は、このほか、例えば異
なるプロトコルの受信フレームなどを破棄する場合など
に利用することができる。また、受信フレームフィルタ
15をスリープ機能時のみ動作させるように構成するこ
ともできる。
As in the above-described example, it is often unnecessary to respond to a broadcast frame, and if such a received frame is discarded by the received frame filter 15, C
Wake-up of PU resources 19 can be avoided. The reception frame filter 15 can be used, for example, when discarding a reception frame of a different protocol. Further, the reception frame filter 15 may be configured to operate only during the sleep function.

【0057】図6は、本発明のネットワーク装置の第3
の実施の形態を示すブロック図である。図中、図1と同
様の部分には同じ符号を付して重複する説明を省略す
る。16はフレーム送信間隔計測部、17はフレーム送
信間隔記憶部、18はタイマ、25はフレーム間隔信号
線である。図6に示すネットワーク装置は、ネットワー
クシステムにおいて例えばファイルサーバ、プリントサ
ーバなどのサーバである。また、このネットワークシス
テムにおいては、サーバであるネットワーク装置1は、
一定間隔でブロードキャストフレームを外部ネットワー
ク側2に送信するものとする。
FIG. 6 shows a third embodiment of the network device according to the present invention.
It is a block diagram showing an embodiment. In the figure, the same parts as those in FIG. 1 are denoted by the same reference numerals, and redundant description will be omitted. 16 is a frame transmission interval measurement unit, 17 is a frame transmission interval storage unit, 18 is a timer, and 25 is a frame interval signal line. The network device illustrated in FIG. 6 is a server such as a file server and a print server in the network system. Further, in this network system, the network device 1 as a server includes:
It is assumed that a broadcast frame is transmitted to the external network side 2 at regular intervals.

【0058】制御部11は、スリープモード信号線21
をモニタリングしており、スリープモードを指示する信
号を受信した場合にはスリープ機能時の動作を行う。ま
ずタイマ18を起動し、タイマ18の計時値がフレーム
送信間隔記憶部17に記憶されているフレーム送信の時
間間隔と一致したら、送信フレーム記憶部12に格納し
ておいた送信フレーム26(ブロードキャストフレー
ム)を外部ネットワーク側2へ送信させる。また、CP
U資源19からウェイクアップ信号線28を介してCP
U資源19がウェイクアップした旨を示す信号を受信し
た場合には、スリープ機能時の動作を終了する。
The control unit 11 includes a sleep mode signal line 21
When a signal instructing the sleep mode is received, the operation at the time of the sleep function is performed. First, the timer 18 is started, and when the time value of the timer 18 matches the time interval of frame transmission stored in the frame transmission interval storage unit 17, the transmission frame 26 (broadcast frame) stored in the transmission frame storage unit 12 is transmitted. ) To the external network side 2. Also, CP
CP from U resource 19 via wake-up signal line 28
When receiving a signal indicating that the U resource 19 has woken up, the operation in the sleep function is ended.

【0059】送信フレーム記憶部12は、上述の第1ま
たは第2の実施の形態と同様に動作し、送信フレーム2
6がCPU資源19から外部ネットワーク側2へ送られ
るのと同時に、この送信フレーム26を格納する。それ
とともに、フレーム間隔信号線をアクティブにして、フ
レーム送信間隔計測部16に送信フレームを送ったこと
を伝える。さらに、制御部11からの送信命令に従っ
て、格納されている送信フレーム26を外部ネットワー
ク側2へ送る。なお、送信フレーム記憶部12には、S
RAMやFIFOなどの半導体メモリを採用することが
できる。
The transmission frame storage unit 12 operates in the same manner as in the above-described first or second embodiment.
6 is transmitted from the CPU resource 19 to the external network side 2 and at the same time, the transmission frame 26 is stored. At the same time, the frame interval signal line is activated to notify the frame transmission interval measuring unit 16 that the transmission frame has been transmitted. Further, according to a transmission command from the control unit 11, the stored transmission frame 26 is transmitted to the external network side 2. The transmission frame storage unit 12 stores S
A semiconductor memory such as a RAM or a FIFO can be employed.

【0060】フレーム送信間隔計測部16は、フレーム
間隔信号線25を常にモニタリングし、CPU資源19
が送信するフレームの送信間隔を計測する。さらに、そ
の計測値をフレーム送信間隔記憶部17に伝える。な
お、各フレーム間隔はその時々で異なるので、常に最新
の送信間隔を伝える。さらに、制御部11において直近
いくつかのフレーム送信間隔時間を平均した値を算出し
て、この算出結果を利用してもよいし、さらに長い期間
の平均値を算出して利用してもよい。あるいは、統計的
な手法を用いてもよい。
The frame transmission interval measuring section 16 constantly monitors the frame interval signal line 25 and
Measures the transmission interval of the frame transmitted by. Further, the measured value is transmitted to the frame transmission interval storage unit 17. In addition, since each frame interval differs from time to time, the latest transmission interval is always transmitted. Further, the control unit 11 may calculate a value obtained by averaging several recent frame transmission interval times and use this calculation result, or may calculate and use an average value for a longer period. Alternatively, a statistical method may be used.

【0061】フレーム送信間隔記憶部17は、フレーム
送信間隔計測部16から伝えられたフレームの送信時間
間隔の計測値を格納する。また、格納した計測値を制御
部11へ伝える。
The frame transmission interval storage unit 17 stores the measured value of the transmission time interval of the frame transmitted from the frame transmission interval measurement unit 16. Further, the stored measurement value is transmitted to the control unit 11.

【0062】タイマ18は、制御部の制御により計時を
開始もしくは停止する。制御部11から計時状態を参照
可能にするほか、制御部11から送信時間間隔を設定可
能にし、設定された送信時間間隔が経過した時点で制御
部11に知らせるように構成してもよい。
The timer 18 starts or stops measuring time under the control of the control unit. In addition to allowing the control unit 11 to refer to the timekeeping state, the control unit 11 may be capable of setting a transmission time interval, and may be configured to notify the control unit 11 when the set transmission time interval has elapsed.

【0063】フレーム間隔信号線25は、上述のように
送信フレーム記憶部12からフレーム送信間隔計測部1
6に送信フレームを送ったことを伝えるのに供される。
その他については図1と同じである。また、上述の第1
の実施の形態と同様の構成については、同様の変形が可
能である。例えばスリープモード信号線21とウェイク
アップ信号線28を同一の信号線で構成したり、送信フ
レーム記憶部12に複数の送信フレームを記憶可能に構
成してもよい。
The frame interval signal line 25 is transmitted from the transmission frame storage unit 12 to the frame transmission interval measurement unit 1 as described above.
6 is transmitted to inform that the transmission frame has been transmitted.
Others are the same as FIG. In addition, the first
About the structure similar to embodiment of this, the same deformation | transformation is possible. For example, the sleep mode signal line 21 and the wake-up signal line 28 may be configured by the same signal line, or the transmission frame storage unit 12 may be configured to be able to store a plurality of transmission frames.

【0064】次に、本発明のネットワーク装置の第3の
実施の形態における動作の一例について説明する。この
例では、ネットワーク装置は、送信フレーム26を外部
ネットワーク側2へ一定間隔で送信するものとする。こ
の送信フレーム26の送信の際に、送信フレームが送信
フレーム記憶部12に格納される。また、送信フレーム
が送信フレーム記憶部12に格納されるたびに、フレー
ム間隔信号線25を介してフレーム送信間隔計測部16
に信号が伝達され、送信フレームの送信間隔が計測され
る。計測された送信フレーム間の送信間隔は、フレーム
送信間隔記憶部17に格納される。
Next, an example of the operation of the network device according to the third embodiment of the present invention will be described. In this example, it is assumed that the network device transmits the transmission frame 26 to the external network side 2 at regular intervals. When transmitting the transmission frame 26, the transmission frame is stored in the transmission frame storage unit 12. Each time a transmission frame is stored in the transmission frame storage unit 12, the frame transmission interval measurement unit 16
And the transmission interval of the transmission frame is measured. The measured transmission interval between transmission frames is stored in the frame transmission interval storage unit 17.

【0065】このような送信フレームの定期的な送信を
行ってゆくと、定期的に送信される送信フレームが送信
フレーム記憶部12に格納されるとともに、その送信間
隔がフレーム送信間隔記憶部17に格納されることにな
る。CPU資源19は、このような定常的な送信のみと
なって所定時間経過すると、スリープモードに移行する
ことができる。CPU資源19がスリープモードに移行
すると、制御部11がスリープ機能時の動作を行う。
When such transmission frames are transmitted periodically, the transmission frames transmitted periodically are stored in the transmission frame storage unit 12 and the transmission intervals are stored in the frame transmission interval storage unit 17. Will be stored. The CPU resource 19 can shift to the sleep mode when a predetermined time elapses after only such a steady transmission. When the CPU resource 19 shifts to the sleep mode, the control unit 11 performs an operation at the time of the sleep function.

【0066】図7は、本発明のネットワーク装置の第3
の実施の形態における制御部の動作の一例を示すフロー
チャートである。まずS61で、CPU資源19からス
リープモードを指示する信号が送られてきたか否かを判
断する。そして、当該信号が送られてこない場合にはこ
の判断を繰り返す。
FIG. 7 shows a third embodiment of the network device according to the present invention.
9 is a flowchart illustrating an example of an operation of a control unit according to the embodiment. First, in S61, it is determined whether or not a signal instructing the sleep mode has been sent from the CPU resource 19. If the signal is not sent, this determination is repeated.

【0067】CPU資源19からスリープモードを指示
する信号が送られてきた場合には、スリープ機能時の動
作を行う。S62においてタイマ18を起動し、計時を
始める。S63において、例えばウェイクアップ信号線
28によりCPU資源19がウェイクアップしたか否か
を判定し、CPU資源19がウェイクアップしたらスリ
ープ機能時の動作を終了し、S61へ戻る。CPU資源
19がスリープ状態であれば、さらにS64において、
タイマ18の計時値と、フレーム送信間隔記憶部17に
格納されているフレーム送信間隔とが一致するか否かを
判定する。一致するまではS63に戻り、CPU資源1
9のウェイクアップの監視及びタイマの監視を繰り返
す。
When a signal instructing the sleep mode is sent from the CPU resource 19, the operation at the time of the sleep function is performed. In step S62, the timer 18 is started to start time measurement. In S63, for example, it is determined whether or not the CPU resource 19 has been woken up by the wake-up signal line 28, and when the CPU resource 19 has been woken up, the operation at the time of the sleep function ends, and the process returns to S61. If the CPU resource 19 is in the sleep state, further in S64,
It is determined whether or not the count value of the timer 18 matches the frame transmission interval stored in the frame transmission interval storage unit 17. Until they match, the process returns to S63, and the CPU resource 1
9 and the monitoring of the timer are repeated.

【0068】タイマ18の計時値がフレーム送信間隔記
憶部17に格納されているフレーム送信間隔とが一致
し、送信フレームを送信すべき時刻が到来したと判定さ
れたら、S65において、送信フレーム記憶部12へ送
信フレーム26を送信させる命令を送り、送信フレーム
26を送信させる。さらに、S66でタイマ18をリス
タートさせてS63へ戻り、次の送信フレームの送信タ
イミングを待つ。
If it is determined that the count value of the timer 18 matches the frame transmission interval stored in the frame transmission interval storage unit 17 and it is determined that the time to transmit the transmission frame has arrived, then in step S65, the transmission frame storage unit A command to transmit the transmission frame 26 is sent to the transmission unit 12 to cause the transmission frame 26 to be transmitted. Further, in S66, the timer 18 is restarted, and the flow returns to S63 to wait for the transmission timing of the next transmission frame.

【0069】以上のように、CPU資源19がスリープ
モードになった場合には、CPU資源19が介在せずに
一定の周期で送信フレーム27(ブロードキャストフレ
ーム)をネットワーク上へ送ることができる。
As described above, when the CPU resource 19 enters the sleep mode, the transmission frame 27 (broadcast frame) can be transmitted on the network at a constant cycle without the intervention of the CPU resource 19.

【0070】図8は、本発明のネットワーク装置の第3
の実施の形態を用いたネットワークシステムにおける通
信状態の一例を模式的に示した説明図である。なお、本
発明の第3の実施の形態に係るネットワーク装置をネッ
トワーク装置1とし、同一ネットワーク上にネットワー
クNが接続されているものとする。
FIG. 8 shows a third embodiment of the network device according to the present invention.
FIG. 13 is an explanatory diagram schematically showing an example of a communication state in the network system using the embodiment. It is assumed that the network device according to the third embodiment of the present invention is a network device 1 and a network N is connected on the same network.

【0071】通常は、ネットワーク装置1とネットワー
ク装置Nとの間で通常のファイル転送などの通信が行わ
れており、この時にはCPU資源19を必要としている
ためにネットワーク装置1はスリープモードになってい
ない。また、ネットワーク装置1は、サーバとしてのサ
ービスを有しているので自己のサービスを他のネットワ
ーク装置に知らせるために、定期的に送信フレーム26
(ブロードキャストフレーム)を送信する。
Normally, communication such as normal file transfer is performed between the network device 1 and the network device N. At this time, the network device 1 is in the sleep mode because the CPU resource 19 is required. Absent. Also, since the network device 1 has a service as a server, the network device 1 periodically transmits the transmission frame 26 to notify other network devices of its service.
(Broadcast frame).

【0072】ネットワーク装置1はネットワーク装置N
とのデータ通信が終了すると、定期的な送信フレーム2
6のみを送信することになる。そうすると、ネットワー
ク装置1に備えられた送信フレーム記憶部17には、送
信フレーム26のみが記憶され続けることになる。この
状態を図中Aとして示している。ブロードキャストフレ
ームは、サービスアプリケーションが同一である限り送
信フレーム26の内容は常に同じである。また、このよ
うな送信フレーム26が送信される間隔がフレーム送信
間隔計測部16において計測され、その結果がフレーム
送信間隔記憶部17に格納される。
The network device 1 is a network device N
When the data communication with the
6 will be transmitted. Then, only the transmission frame 26 continues to be stored in the transmission frame storage unit 17 provided in the network device 1. This state is shown as A in the figure. The contents of the transmission frame 26 of the broadcast frame are always the same as long as the service application is the same. The interval at which such a transmission frame 26 is transmitted is measured by the frame transmission interval measurement unit 16, and the result is stored in the frame transmission interval storage unit 17.

【0073】そして、ネットワーク装置1はネットワー
ク装置Nとのデータ通信が終了し、かつキーボードやマ
ウス等の入力機器からの入力が一定時間以上無くなる
と、スリープモードに移る。その際にCPU資源19か
らスリープモードを指示する信号が制御部11に通知さ
れる。制御部11は、フレーム送信間隔記憶部17に格
納されているフレーム送信間隔で、送信フレーム記憶部
12に記憶されている送信フレーム26を送信する。こ
れによって、CPU資源19が動作しているときと同様
の時間間隔で送信フレームが送信されることになる。こ
の状態を図中Bとして示している。
When the data communication with the network device N is completed and the input from the input device such as the keyboard and the mouse is stopped for a certain period of time, the network device 1 shifts to the sleep mode. At this time, a signal instructing the sleep mode is notified to the control unit 11 from the CPU resource 19. The control unit 11 transmits the transmission frame 26 stored in the transmission frame storage unit 12 at the frame transmission interval stored in the frame transmission interval storage unit 17. As a result, the transmission frame is transmitted at the same time interval as when the CPU resource 19 is operating. This state is shown as B in the figure.

【0074】もちろん、新規フレームが到来した場合に
は、CPU資源19はウェイクアップし、その旨が制御
部11に伝えられる。制御部11は、スリープ機能時の
処理を終了し、送信フレーム記憶部12内の送信フレー
ムの送出を停止する。CPU資源19は、到来した新規
フレームに対応する応答フレームを送信することにな
る。また、これ以後はCPU資源19によって定常的な
送信フレームの送信が再開される。
Of course, when a new frame arrives, the CPU resource 19 wakes up, and the fact is notified to the control unit 11. The control unit 11 ends the process at the time of the sleep function, and stops sending the transmission frame in the transmission frame storage unit 12. The CPU resource 19 transmits a response frame corresponding to the new frame that has arrived. Thereafter, the transmission of the transmission frame by the CPU resource 19 is resumed.

【0075】なお、図6に示した構成では、送信フレー
ムの送信間隔を計測するフレーム送信間隔計測部16を
設け、送信間隔を自動的に計測する構成を示したが、例
えばCPU資源19等から値を設定する構成にしてもよ
い。このような構成は、例えば予めフレーム送信間隔が
決められている場合などに有効である。
In the configuration shown in FIG. 6, the frame transmission interval measuring section 16 for measuring the transmission interval of the transmission frame is provided, and the configuration for automatically measuring the transmission interval is shown. A configuration for setting a value may be adopted. Such a configuration is effective, for example, when the frame transmission interval is determined in advance.

【0076】[0076]

【発明の効果】以上の説明から明らかなように、本発明
によれば、LAN上の他のネットワーク装置に改変を加
えることなく、また、他のネットワーク装置に依存する
ことなく、LAN上において定期的な問い合わせに対す
る応答、もしくは定期的な情報発信を必要とする場合で
あってもネットワーク装置のスリープ機能を使用するこ
とが可能となる。また、定期的な問い合わせに対する応
答、もしくは定期的な情報発信は、非常に簡単な構成に
よって実現されているので、CPU資源等がスリープモ
ードに入っている間における電力消費を必要最小限のも
のにすることができる。したがって、ネットワークシス
テム全体の省エネルギーに寄与するという効果がある。
As is apparent from the above description, according to the present invention, the network can be periodically switched on the LAN without modifying other network devices on the LAN and without depending on other network devices. It is possible to use the sleep function of the network device even when it is necessary to respond to a general inquiry or to periodically transmit information. In addition, since the response to the periodic inquiry or the periodic information transmission is realized by a very simple configuration, the power consumption while the CPU resources and the like are in the sleep mode is reduced to a minimum. can do. Therefore, there is an effect of contributing to energy saving of the entire network system.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明のネットワーク装置の第1の実施の形
態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a network device according to the present invention.

【図2】 本発明のネットワーク装置の実施の一形態に
おける制御部の動作の一例を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating an example of an operation of a control unit according to the embodiment of the network device of the present invention.

【図3】 本発明のネットワーク装置の第1の実施の形
態を用いたネットワークシステムにおける通信状態の一
例を模式的に示した説明図である。
FIG. 3 is an explanatory diagram schematically showing an example of a communication state in a network system using the network device according to the first embodiment of the present invention.

【図4】 本発明のネットワーク装置の第2の実施の形
態を示すブロック図である。
FIG. 4 is a block diagram showing a second embodiment of the network device of the present invention.

【図5】 本発明のネットワーク装置の第2の実施の形
態を用いたネットワークシステムにおける通信状態の一
例を模式的に示した説明図である。
FIG. 5 is an explanatory diagram schematically showing an example of a communication state in a network system using a network device according to a second embodiment of the present invention.

【図6】 本発明のネットワーク装置の第3の実施の形
態を示すブロック図である。
FIG. 6 is a block diagram showing a third embodiment of the network device of the present invention.

【図7】 本発明のネットワーク装置の第3の実施の形
態における制御部の動作の一例を示すフローチャートで
ある。
FIG. 7 is a flowchart illustrating an example of an operation of a control unit in the third embodiment of the network device of the present invention.

【図8】 本発明のネットワーク装置の第3の実施の形
態を用いたネットワークシステムにおける通信状態の一
例を模式的に示した説明図である。
FIG. 8 is an explanatory diagram schematically showing an example of a communication state in a network system using a network device according to a third embodiment of the present invention.

【図9】 ネットワークインタフェースを持つコンピュ
ータの一般的な構成例を示すブロック図である。
FIG. 9 is a block diagram illustrating a general configuration example of a computer having a network interface.

【符号の説明】[Explanation of symbols]

1…ネットワーク装置、2…外部ネットワーク側、11
…制御部、12…送信フレーム記憶部、13…受信フレ
ーム記憶部、14…比較部、15…受信フレームフィル
タ、16…フレーム送信間隔計測部、17…フレーム送
信間隔記憶部、18…タイマ、19…CPU資源、21
…スリープモード信号線、22…割り込み信号線、23
…送信命令信号線、24…比較結果信号線、25…フレ
ーム間隔信号線、26…送信フレーム、27…受信フレ
ーム、28…ウェイクアップ信号線、31…CPU、3
2…バスブリッジ、33…メインメモリ、34…キーボ
ード・マウスインタフェース、35…HDDインタフェ
ース、36…画像インタフェース、37…ネットワーク
インタフェース、38…キーボード及びマウス、39…
HDD、40…CRT、41…ネットワーク、42…バ
ス。
DESCRIPTION OF SYMBOLS 1 ... Network apparatus, 2 ... External network side, 11
... Control unit, 12 ... Transmission frame storage unit, 13 ... Reception frame storage unit, 14 ... Comparison unit, 15 ... Reception frame filter, 16 ... Frame transmission interval measurement unit, 17 ... Frame transmission interval storage unit, 18 ... Timer, 19 ... CPU resources, 21
... sleep mode signal line, 22 ... interrupt signal line, 23
... Transmission command signal line, 24 ... Comparison result signal line, 25 ... Frame interval signal line, 26 ... Transmission frame, 27 ... Reception frame, 28 ... Wake-up signal line, 31 ... CPU, 3
2 bus bridge, 33 main memory, 34 keyboard / mouse interface, 35 HDD interface, 36 image interface, 37 network interface, 38 keyboard and mouse, 39
HDD, 40 CRT, 41 network, 42 bus.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 電力消費を低減させるスリープ機能を有
するネットワーク装置において、受信フレームを格納す
る受信フレーム記憶手段と、送信フレームを格納する送
信フレーム記憶手段と、前記受信フレーム記憶手段に格
納されている受信フレームと前記新たな受信フレームと
を比較する比較手段と、前記スリープ機能時には前記比
較手段から前記受信フレーム記憶手段に格納されている
受信フレームと前記新たな受信フレームとが一致したこ
とが通知された場合に前記送信フレーム記憶手段に格納
されている送信フレームを送信するように制御する制御
手段を有することを特徴とするネットワーク装置。
1. A network device having a sleep function for reducing power consumption, a received frame storage unit for storing a received frame, a transmission frame storage unit for storing a transmission frame, and stored in the received frame storage unit. A comparing unit that compares a received frame with the new received frame; and a notification that the received frame stored in the received frame storage unit matches the new received frame during the sleep function. A control unit for controlling transmission of the transmission frame stored in the transmission frame storage unit when the transmission is performed.
【請求項2】 前記制御手段は、前記比較手段による比
較結果が前記受信フレーム記憶手段に記憶されている受
信フレームと前記新たな受信フレームとが一致しない場
合に前記スリープ機能を解除するように制御することを
特徴とする請求項1に記載のネットワーク装置。
2. The control unit controls the sleep function to be released when a comparison result by the comparison unit does not match a received frame stored in the received frame storage unit with the new received frame. The network device according to claim 1, wherein:
【請求項3】 さらに、受信フレームを選別するための
フレームフィルタを有し、前記受信フレーム記憶手段
は、前記フレームフィルタを通過した受信フレームのみ
を格納し、前記比較手段は、前記フレームフィルタを通
過した受信フレームのみについて前記受信フレーム記憶
手段に記憶されている受信フレームとの比較を行うこと
を特徴とする請求項1または請求項2に記載のネットワ
ーク装置。
3. The apparatus according to claim 1, further comprising a frame filter for selecting a received frame, wherein said received frame storing means stores only the received frames passing through said frame filter, and said comparing means stores said received frame through said frame filter. 3. The network device according to claim 1, wherein only the received frame obtained is compared with the received frame stored in the received frame storage unit.
【請求項4】 前記受信フレーム記憶手段は、受信フレ
ームを受信するたびに格納された受信フレームを新たな
受信フレームに置換して格納することを特徴とする請求
項1ないし請求項3のいずれか1項に記載のネットワー
ク装置。
4. The reception frame storing means according to claim 1, wherein the received frame storage means replaces the stored received frame with a new received frame each time a received frame is received and stores the received frame. 2. The network device according to claim 1.
【請求項5】 電力消費を低減させるスリープ機能を有
するネットワーク装置において、送信フレームを格納す
る送信フレーム記憶手段と、前記送信フレームが送信さ
れる時間間隔を計測するフレーム送信間隔計測手段と、
前記フレーム送信間隔計測手段で計測された時間間隔を
格納するフレーム送信間隔記憶手段と、前記スリープ機
能時に前記送信フレーム記憶手段に格納されている送信
フレームを前記フレーム送信間隔記憶手段に格納されて
いる時間間隔で送信するように制御する制御手段を有す
ることを特徴とするネットワーク装置。
5. A network device having a sleep function for reducing power consumption, a transmission frame storage unit for storing a transmission frame, a frame transmission interval measurement unit for measuring a time interval at which the transmission frame is transmitted,
A frame transmission interval storage unit for storing a time interval measured by the frame transmission interval measurement unit; and a transmission frame stored in the transmission frame storage unit during the sleep function, stored in the frame transmission interval storage unit. A network device comprising control means for controlling transmission at time intervals.
【請求項6】 電力消費を低減させるスリープ機能を有
するネットワーク装置において、送信フレームを格納す
る送信フレーム記憶手段と、前記送信フレームを送信す
る時間間隔を設定可能なフレーム送信間隔記憶手段と、
前記スリープ機能時に前記送信フレーム記憶手段に格納
されている送信フレームを前記フレーム送信間隔記憶手
段に格納されている時間間隔で送信するように制御する
制御手段を有することを特徴とするネットワーク装置。
6. A network device having a sleep function for reducing power consumption, a transmission frame storage unit for storing a transmission frame, a frame transmission interval storage unit for setting a time interval for transmitting the transmission frame,
A network device, comprising: a control unit that controls transmission frames stored in the transmission frame storage unit at the time intervals stored in the frame transmission interval storage unit during the sleep function.
【請求項7】 前記送信フレーム記憶手段は、送信フレ
ームが送信されるたびに格納されている送信フレームを
新たな送信フレームに置換して格納することを特徴とす
る請求項1ないし請求項6のいずれか1項に記載のネッ
トワーク装置。
7. The transmission frame storage unit according to claim 1, wherein the transmission frame storage unit replaces the stored transmission frame with a new transmission frame and stores the transmission frame each time the transmission frame is transmitted. The network device according to claim 1.
JP2000069562A 2000-03-13 2000-03-13 Network equipment Expired - Fee Related JP3906890B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000069562A JP3906890B2 (en) 2000-03-13 2000-03-13 Network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000069562A JP3906890B2 (en) 2000-03-13 2000-03-13 Network equipment

Publications (2)

Publication Number Publication Date
JP2001257688A true JP2001257688A (en) 2001-09-21
JP3906890B2 JP3906890B2 (en) 2007-04-18

Family

ID=18588412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000069562A Expired - Fee Related JP3906890B2 (en) 2000-03-13 2000-03-13 Network equipment

Country Status (1)

Country Link
JP (1) JP3906890B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006043436A1 (en) * 2004-10-22 2008-05-22 松下電器産業株式会社 Communication device
WO2008084541A1 (en) * 2007-01-11 2008-07-17 Panasonic Corporation Receiver and control method for strting of the same
JP2010176633A (en) * 2009-02-02 2010-08-12 Oki Electric Ind Co Ltd Control system, device, and method for electric power mode
JP2010244464A (en) * 2009-04-09 2010-10-28 Canon Inc Information processing apparatus, network interface device, control method thereof, and program
JP2011186602A (en) * 2010-03-05 2011-09-22 Murata Machinery Ltd Network interface device
JP2011221910A (en) * 2010-04-13 2011-11-04 Toyota Motor Corp Information processor corresponding to low power consumption and information processing system corresponding to low power consumption
JP2012079281A (en) * 2010-09-10 2012-04-19 Ricoh Co Ltd Information processor, information processing method and information processing program
US8261115B2 (en) 2009-03-26 2012-09-04 Brother Kogyo Kabushiki Kaisha Sub-processor configured to execute a specific program stored in the first memory or second memory on behalf of the main processor
US8390856B2 (en) 2009-03-24 2013-03-05 Fuji Xerox Co., Ltd. Image forming apparatus, communication device, computer readable medium, and communication method
JP2014110023A (en) * 2012-12-04 2014-06-12 Ricoh Co Ltd Image processing device, information processing device and response method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006043436A1 (en) * 2004-10-22 2008-05-22 松下電器産業株式会社 Communication device
JP4642020B2 (en) * 2004-10-22 2011-03-02 パナソニック株式会社 Communication device
US8024593B2 (en) 2004-10-22 2011-09-20 Panasonic Corporation Communication device
WO2008084541A1 (en) * 2007-01-11 2008-07-17 Panasonic Corporation Receiver and control method for strting of the same
JP2010176633A (en) * 2009-02-02 2010-08-12 Oki Electric Ind Co Ltd Control system, device, and method for electric power mode
US8390856B2 (en) 2009-03-24 2013-03-05 Fuji Xerox Co., Ltd. Image forming apparatus, communication device, computer readable medium, and communication method
US8261115B2 (en) 2009-03-26 2012-09-04 Brother Kogyo Kabushiki Kaisha Sub-processor configured to execute a specific program stored in the first memory or second memory on behalf of the main processor
JP2010244464A (en) * 2009-04-09 2010-10-28 Canon Inc Information processing apparatus, network interface device, control method thereof, and program
US9497298B2 (en) 2009-04-09 2016-11-15 Canon Kabushiki Kaisha Information processing apparatus, network interface device, control method therefor, and storage medium
JP2011186602A (en) * 2010-03-05 2011-09-22 Murata Machinery Ltd Network interface device
JP2011221910A (en) * 2010-04-13 2011-11-04 Toyota Motor Corp Information processor corresponding to low power consumption and information processing system corresponding to low power consumption
JP2012079281A (en) * 2010-09-10 2012-04-19 Ricoh Co Ltd Information processor, information processing method and information processing program
JP2014110023A (en) * 2012-12-04 2014-06-12 Ricoh Co Ltd Image processing device, information processing device and response method
JP2017146977A (en) * 2012-12-04 2017-08-24 株式会社リコー Image processing device, information processing device, and response method

Also Published As

Publication number Publication date
JP3906890B2 (en) 2007-04-18

Similar Documents

Publication Publication Date Title
US10386908B2 (en) Negotiating a transmit wake time
US5638541A (en) System and method for managing power on desktop systems
JP3436012B2 (en) Power management method and apparatus in a network of computer stations
US8364987B2 (en) Method and apparatus for implementing a sleep proxy for services on a network
JP3139481B2 (en) Network proxy response server, network system, and method for reducing power consumption of this network system
US8942152B2 (en) Network device
US8495393B2 (en) Remote power management system and method for cluster system
US20020144023A1 (en) Printing system with enhanced efficiency in power-saving, printer, substitute server, and method and program used by the substitute server
JP5704904B2 (en) DATA PROCESSING DEVICE, DATA PROCESSING DEVICE CONTROL METHOD, AND PROGRAM
JP2005523666A (en) Mechanism by which wireless devices give up status as network master based on their power savings
JP2006301749A (en) Server device
US6704561B2 (en) Power management system for use with wireless LAN terminal unit
JP2001257688A (en) Network device
US20180074566A1 (en) Information processing apparatus, method for controlling the same, and non-transitory computer-readable storage medium
US20220244772A1 (en) Power management method and device
JPH10312370A (en) Network system with power-saving function
US8832483B1 (en) System-on-chip with power-save mode processor
US20100113084A1 (en) Power saving in wireless networks
JP2001016222A (en) Network system, electronic equipment and power supply control method
US10587768B2 (en) Client apparatus and method
US7243249B1 (en) Method and apparatus for facilitating power state control and awareness of an autonomous subsystem in a computer based system
JP7424479B2 (en) Power management device, power management system, power management method, and power management program
JP3601895B2 (en) Multiprocessor system
JP2000137550A (en) Information processor, power managing method and recording medium
CN116033534B (en) Emergency distributed cluster and construction method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060419

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070109

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110126

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120126

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120126

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130126

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130126

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140126

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees