JP4967996B2 - Network device, network system, network control method, and network control program - Google Patents
Network device, network system, network control method, and network control program Download PDFInfo
- Publication number
- JP4967996B2 JP4967996B2 JP2007285901A JP2007285901A JP4967996B2 JP 4967996 B2 JP4967996 B2 JP 4967996B2 JP 2007285901 A JP2007285901 A JP 2007285901A JP 2007285901 A JP2007285901 A JP 2007285901A JP 4967996 B2 JP4967996 B2 JP 4967996B2
- Authority
- JP
- Japan
- Prior art keywords
- event notification
- clients
- event
- client
- priority
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 13
- 238000012986 modification Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 239000000523 sample Substances 0.000 description 3
- 238000001994 activation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、ネットワークデバイス、ネットワークシステム、ネットワーク制御方法及びネットワーク制御プログラムに関する。 The present invention relates to a network device, a network system, a network control method, and a network control program.
ネットワーク上に接続された複数のクライアントに対してサービスを提供するWebサービスにおいて、自己の情報を通知するイベント通知機能を実現する際、如何にして複数のクライアントに対してタイムラグなくイベント通知を実現するかが課題となる。 In a Web service that provides services to a plurality of clients connected to the network, when implementing an event notification function for notifying its own information, how to realize event notifications to multiple clients without time lag Is a challenge.
単純に1つのスレッドで逐次処理すると、1つのクライアントとの通信に時間を要する場合や、不慮の切断により通信が途切れてしまう場合(この場合タイムアウトするまで待つことになる)などがあり、このような場合、他のクライアントへのイベント通知にタイムラグが生じてしまう。 If serial processing is simply performed with one thread, there are cases where it takes time to communicate with one client, or when communication is interrupted due to accidental disconnection (in this case, it will wait until timeout). In such a case, a time lag occurs in event notification to other clients.
このような問題を回避するためには、同時に複数のクライアントへイベント通知を行う際、複数のスレッドを起動し、クライアントごとに別スレッドにてイベント通知する必要がある。しかしながら、Webサービスを搭載するハードウェアのリソース制限上、無制限にスレッド起動し、同時処理を実現するという方法は現実的ではない。特にデバイスへの組み込みソフトウェアにおいては、PC(Personal Computer)などに比べ、ハードウェアのリソース制限はより厳しく、RAM容量オーバーや、ソケット枯渇がないよう、配慮する必要がある。 In order to avoid such a problem, when an event is notified to a plurality of clients at the same time, it is necessary to activate a plurality of threads and notify the event in a separate thread for each client. However, due to the resource limitation of the hardware on which the Web service is mounted, a method of initiating an unlimited thread and realizing simultaneous processing is not realistic. In particular, in software embedded in a device, hardware resource restrictions are more strict than in a PC (Personal Computer) or the like, and it is necessary to consider that there is no RAM capacity over or socket exhaustion.
この問題を解決するために、例えば特許文献1には、複数サーバーで構成されるシステムでの負荷分散の方法が記載されている。
In order to solve this problem, for example,
しかしながら、従来の方法では、単一のサーバーでは負荷分散を行えないという課題がある。 However, the conventional method has a problem that load cannot be distributed by a single server.
本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。 SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.
[適用例1]
複数のクライアントに複数のイベントを通知するイベント通知を行うネットワークデバイスであって、前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信部と、前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント部と、前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択部と、を含む、ことを特徴とするネットワークデバイス。
[Application Example 1]
A network device that performs event notification for notifying a plurality of clients of a plurality of events, and receiving an event notification request for requesting the event notification transmitted from the plurality of clients, and the event notification A counting unit that counts the number of clients that have transmitted a request; and an event notification selection unit that controls whether or not to perform the event notification to the client according to the number of clients. Network device to use.
この構成によれば、ネットワークデバイスに対してイベント通知要求を送信したクライアントシステムが所定の数を超え高負荷状態となった場合、通知するイベントを制限できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。 According to this configuration, when a client system that has transmitted an event notification request to a network device exceeds a predetermined number and becomes in a high load state, the event to be notified can be limited. An event can be notified without time lag.
[適用例2]
上記に記載のネットワークデバイスにおいて、前記複数のイベントは、各々、優先度が割り当てられ、前記イベント通知選択部は、前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、ことを特徴とするネットワークデバイス。
[Application Example 2]
In the network device described above, each of the plurality of events is assigned a priority, and the event notification selection unit transmits the event assigned the priority according to the number of clients. A network device characterized by
この構成によれば、ネットワークデバイスに対してイベント通知要求を送信したクライアントシステムの数に応じて通知すべきイベントの優先度を設定できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。 According to this configuration, the priority of events to be notified can be set according to the number of client systems that have transmitted an event notification request to a network device, so necessary events can be notified to multiple client systems without time lag. can do.
[適用例3]
上記に記載のネットワークデバイスにおいて、前記ネットワークデバイスは、前記クライアントの数と前記優先度と前記優先度が割り当てられた前記イベントとの対応を定義した書き換え可能なイベント優先度テーブルを含み、前記イベント通知選択部は、前記イベント優先度テーブルを参照して前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、ことを特徴とするネットワークデバイス。
[Application Example 3]
In the network device described above, the network device includes a rewritable event priority table that defines a correspondence between the number of clients, the priority, and the event to which the priority is assigned, and the event notification The selection unit transmits the event to which the priority according to the number of clients is assigned with reference to the event priority table.
この構成によれば、イベント毎の優先度の設定を必要に応じて変更できるので、ネットワークデバイスの負荷状況に応じた設定ができる。 According to this configuration, the priority setting for each event can be changed as necessary, so that the setting according to the load status of the network device can be performed.
[適用例4]
上記に記載のネットワークデバイスにおいて、前記ネットワークデバイスは、前記クライアントの属性を判断するクライアント属性判断部を含み、前記イベント通知選択部は、前記クライアント属性判断部がネットワークデバイス管理用クライアントと判断したクライアントに対しては全てのイベントを通知する、ことを特徴とするネットワークデバイス。
[Application Example 4]
In the network device described above, the network device includes a client attribute determination unit that determines an attribute of the client, and the event notification selection unit selects a client that the client attribute determination unit determines to be a network device management client. A network device that notifies all events.
この構成によれば、高負荷状況でもネットワークデバイス管理用クライアントにすべてのイベントをタイムラグなく通知することができる。 According to this configuration, all events can be notified to the network device management client without time lag even in a high load situation.
[適用例5]
複数のクライアントに複数のイベントを通知するイベント通知を行うネットワークシステムであって、前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信部と、前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント部と、前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択部と、を含む、ことを特徴とするネットワークシステム。
[Application Example 5]
A network system for notifying a plurality of clients of a plurality of events, an event notification request receiving unit for receiving an event notification request for requesting the event notification transmitted from the plurality of clients, and the event notification A counting unit that counts the number of clients that have transmitted a request; and an event notification selection unit that controls whether or not to perform the event notification to the client according to the number of clients. Network system.
この構成によれば、ネットワークシステムに対してイベント通知要求を送信したクライアントシステムが所定の数を超え高負荷状態となった場合、通知するイベントを制限できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。 According to this configuration, when a client system that has transmitted an event notification request to the network system exceeds a predetermined number and becomes in a high load state, the event to be notified can be limited. Therefore, it is necessary for a plurality of client systems. An event can be notified without time lag.
[適用例6]
複数のクライアントに複数のイベントを通知するイベント通知を行うネットワーク制御方法であって、前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信工程と、前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント工程と、前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択工程と、を含む、ことを特徴とするネットワーク制御方法。
[Application Example 6]
An event notification request receiving step for receiving an event notification request for requesting the event notification transmitted from the plurality of clients, the network control method performing an event notification for notifying a plurality of events to a plurality of clients, and the event A counting step for counting the number of clients that have transmitted a notification request, and an event notification selection step for controlling whether or not the event notification is sent to the client according to the number of clients. Network control method.
この構成によれば、イベント通知要求を送信したクライアントシステムが所定の数を超え高負荷状態となった場合、通知するイベントを制限できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。 According to this configuration, when the number of client systems that have sent an event notification request exceeds a predetermined number and becomes in a high load state, it is possible to limit the events to be notified, so that necessary events can be notified to multiple client systems without time lag. can do.
[適用例7]
複数のクライアントに複数のイベントを通知するイベント通知を行うネットワーク制御プログラムであって、前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信ステップと、前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウントステップと、前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択ステップと、を含む、ことを特徴とするネットワーク制御プログラム。
[Application Example 7]
An event notification request receiving step for receiving an event notification request for requesting the event notification transmitted from the plurality of clients, a network control program for notifying a plurality of events of a plurality of events, and the event A counting step for counting the number of clients that have transmitted a notification request; and an event notification selection step for controlling whether or not the event notification is sent to the client according to the number of clients. Network control program.
この構成によれば、イベント通知要求を送信したクライアントシステムが所定の数を超え高負荷状態となった場合、通知するイベントを制限できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。 According to this configuration, when the number of client systems that have sent an event notification request exceeds a predetermined number and becomes in a high load state, it is possible to limit the events to be notified, so that necessary events can be notified to multiple client systems without time lag. can do.
以下、Webサービスシステムの実施形態について図面に従って説明する。 Hereinafter, an embodiment of a Web service system will be described with reference to the drawings.
(第1実施形態)
<Webサービスシステムの構成>
まず、第1実施形態に係るネットワークデバイスの構成について、図1を参照して説明する。図1は、第1実施形態に係るネットワークデバイスの構成を示すブロック図である。なお、本実施形態では、ネットワークデバイスとしてWSD(Web Service for Device)に準拠した印刷装置であるWSDプリンタ100の場合について説明する。
(First embodiment)
<Configuration of Web service system>
First, the configuration of the network device according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a network device according to the first embodiment. In the present embodiment, the case of a
図1に示すように、WSDプリンタ100は、内部バス10に接続されたCPU20と、ROM30と、RAM40と、EEPROM50と、印刷エンジン60と、を含んで構成されている。WSDプリンタ100は、さらに、LANケーブル300に接続され、WSDプリンタ100を管理する管理者用PC200や、複数のクライアントシステムであるクライアントPC(201〜203など)と接続されている。
As shown in FIG. 1, the WSD
WSDプリンタ100を制御するためのプログラム70は、ROM30に格納され、実行時にRAM40へロードされる。プログラム70は、管理者用PC200やクライアントPC(201〜203など)から送信されるイベント通知要求を受信するイベント通知要求受信部71と、イベント通知要求を送信してきたクライアントPC(201〜203など)の数をカウントするカウント部72と、クライアントPCの数に応じてイベントを送信するか否かを制御するイベント通知選択部73と、を含んでいる。
A
EEPROM50は、クライアントPCの数と優先度と優先度が割り当てられたイベントとの対応を定義した書き換え可能なイベント優先度テーブル51を含んでいる。 The EEPROM 50 includes a rewritable event priority table 51 that defines the correspondence between the number of client PCs, the priority, and the event to which the priority is assigned.
<WSDの概略シーケンス>
次に、WSDの概略シーケンスについて図2を参照して説明する。図2は、WSDの概略シーケンスを示すシーケンス図である。
<Outline sequence of WSD>
Next, a schematic sequence of WSD will be described with reference to FIG. FIG. 2 is a sequence diagram showing a schematic sequence of WSD.
先ず、ステップS1では、WSDプリンタ100は、サービス起動時に起動しているクライアントPC(201〜203などのいずれか)に対して、Helloコマンドを投げ自己の存在を通知する。クライアントはHelloコマンドを受信すると、新たなプリンタがネットワークに参加したと認識し、ステップS2でProbeコマンドをプリンタに発行する。このProbeコマンドを受信することによってサービス起動時に起動していたクライアントPC(201〜203などのいずれか)は、WSDプリンタ100によって認識される。
First, in step S1, the WSD
次に、ステップS3では、WSDプリンタ100は、受け取ったProbeコマンドが自己を対象とするものであった場合、ProbeMatchコマンドをクライアントPC(201〜203などのいずれか)に返す。
Next, in step S3, if the received Probe command is for itself, the WSD
WSDプリンタサービス起動後に起動したクライアントPCは、ステップS2から起動処理を開始することによってWSDプリンタにクライアントの存在を認識させる共に、ProbeMatchコマンドをWSDプリンタから受信することによってWSDプリンタの存在を認識する。 The client PC activated after activation of the WSD printer service causes the WSD printer to recognize the presence of the client by starting the activation process from step S2, and also recognizes the presence of the WSD printer by receiving the ProbeMatch command from the WSD printer.
次に、ステップS4では、クライアントPC(201〜203などのいずれか)は、利用するWSDプリンタ100のアドレス情報を解決するためにResolveコマンドを発行する。
Next, in step S4, the client PC (any one of 201 to 203, etc.) issues a Resolve command in order to resolve the address information of the WSD
次に、ステップS5では、WSDプリンタ100は、受け取ったResolveコマンドが自己を対象とするものであった場合、ResolveMatchコマンドをクライアントPC(201〜203などのいずれか)に返す。
Next, in step S5, when the received Resolve command is intended for itself, the
次に、ステップS6では、クライアントPC(201〜203などのいずれか)は、利用したいWSDプリンタ100のMetaData情報を取得するためにWS−Transfer Getコマンドを発行する。
Next, in step S6, the client PC (any one of 201 to 203, etc.) issues a WS-Transfer Get command to acquire the MetaData information of the
次に、ステップS7では、WSDプリンタ100は、クライアントPC(201〜203などのいずれか)にGet ResponseコマンドによりMetaData情報を返す。
Next, in step S7, the
次に、ステップS8では、クライアントPC(201〜203などのいずれか)は、WSDプリンタ100から通知してほしいイベントを予約するための予約メッセージであるSubscribeコマンドを発行する。カウント部72は、Subscribeコマンドを発行したクライアントPCの数をカウントする。
Next, in step S8, the client PC (any one of 201 to 203, etc.) issues a Subscribe command that is a reservation message for reserving an event that the
次に、ステップS9では、WSDプリンタ100は、クライアントPC(201〜203などのいずれか)からのSubscribe情報を自己に登録し、Responseコマンドを返す。Subscribe情報は、図5に示すように、Subscribeコマンドを発行したクライアント名と、イベント名と、から構成されている。
Next, in step S9, the
次に、ステップS10では、WSDプリンタ100にてイベントが発生すると、WSDプリンタ100は登録されているSubscribe情報を参照して、クライアントPC(201〜203などのいずれか)に対してイベント発生を通知する。イベント通知選択部73は、ここでカウント部72がカウントしたクライアントPCの数に応じてイベントを送信するか否かを制御する。
In step S10, when an event occurs in the
次に、ステップS11では、クライアントPC(201〜203などのいずれか)は、WSDプリンタ100からのイベント通知が不要になると、Unsubscribeコマンドを発行し、イベント通知を止めるよう要求する。カウント部72は、Unsubscribeコマンドを受信するとクライアントPCの数から減算する。
Next, in step S11, when the event notification from the
次に、ステップS12では、WSDプリンタ100は、Unsubscribe ResponseコマンドをクライアントPC(201〜203などのいずれか)に返す。
Next, in step S12, the
次に、ステップS13では、WSDプリンタ100は、サービス終了時にSubscriptionEndコマンドを発行する。
Next, in step S13, the
次に、ステップS14では、WSDプリンタ100は、サービス終了時にByeコマンドを発行し、自己の終了を通知する。
Next, in step S14, the
<イベント優先度テーブルの構成>
次に、イベント優先度テーブルの構成について図3を参照して説明する。図3は、イベント優先度テーブルの構成を示すテーブル図である。なお、図3では、LANケーブル300に接続されているクライアントPCの数が5台あるものとして説明する。
<Configuration of event priority table>
Next, the configuration of the event priority table will be described with reference to FIG. FIG. 3 is a table showing the structure of the event priority table. In FIG. 3, it is assumed that there are five client PCs connected to the
図3に示すように、イベント優先度テーブル51は、クライアントPCの数CNTと、イベントの優先度と、優先度が割り当てられたイベントと、から構成されている。クライアントPCの数CNTが2以下の場合、優先度Lowとなり、イベントEL1,EL2が割り当てられている。クライアントPCの数CNTが3以上4以下の場合、優先度Middleとなり、イベントEM1,EM2が割り当てられている。クライアントPCの数CNTが5以上の場合、優先度Highとなり、イベントEH1,EH2が割り当てられている。 As shown in FIG. 3, the event priority table 51 includes the number CNT of client PCs, event priorities, and events to which priorities are assigned. When the number CNT of client PCs is 2 or less, the priority is Low and events EL1 and EL2 are assigned. When the number CNT of client PCs is 3 or more and 4 or less, the priority is Middle, and events EM1 and EM2 are assigned. When the number CNT of client PCs is 5 or more, the priority is High and events EH1 and EH2 are assigned.
イベント優先度テーブル51は、EEPROM50に記憶されており、外部の管理者用PC200から書き換え可能である。
The event priority table 51 is stored in the
<イベント通知選択部の動作>
次に、イベント通知選択部の動作について図4を参照して説明する。図4は、イベント通知選択部の動作を示すフローチャートである。イベント通知選択部73は、図3のイベント優先度テーブル51を参照して動作する場合を説明する。
<Operation of event notification selection unit>
Next, the operation of the event notification selection unit will be described with reference to FIG. FIG. 4 is a flowchart showing the operation of the event notification selection unit. The event
先ず、ステップS100では、クライアントPCの数CNTが2以下か否かを判定し、2以下の場合ステップS102に移行し、2以下でない場合ステップS104に移行する。 First, in step S100, it is determined whether the number CNT of client PCs is 2 or less. If it is 2 or less, the process proceeds to step S102, and if it is not 2 or less, the process proceeds to step S104.
次に、ステップS102では、優先度LowのイベントEL1,EL2とMiddleのイベントEM1,EM2とHighのイベントEH1,EH2を発生順に送信する。 Next, in step S102, the low-priority events EL1 and EL2, the middle events EM1 and EM2, and the high events EH1 and EH2 are transmitted in the order of occurrence.
次に、ステップS104では、クライアントPCの数CNTが4以下か否かを判定し、4以下の場合ステップS106に移行し、4以下でない場合ステップS108に移行する。 Next, in step S104, it is determined whether or not the number CNT of client PCs is 4 or less. If 4 or less, the process proceeds to step S106, and if not 4 or less, the process proceeds to step S108.
次に、ステップS106では、優先度MiddleのイベントEM1,EM2とHighのイベントEH1,EH2を発生順に送信する。 Next, in step S106, events EM1 and EM2 with priority Middle and events EH1 and EH2 with high priority are transmitted in the order of occurrence.
一方、ステップS108では、優先度HighのイベントEH1,EH2を発生順に送信する。 On the other hand, in step S108, priority level High events EH1 and EH2 are transmitted in the order of occurrence.
上述したようにイベント通知選択部73は、クライアントPCの数CNTが5以上の場合は、イベントEH1,EH2を送信対象とし、3以上の場合は、イベントEM1,EM2,EH1,EH2を送信対象とし、2以下の場合は、すべてのイベントEL1,EL2,EM1,EM2,EH1,EH2を送信対象とする。図5の場合、クライアントPCの数CNT=3なので、イベントEM1,EM2,EH1,EH2を送信対象とし、イベントEL1,EL2は送信されない。
As described above, the event
以上に述べた本実施形態によれば、以下の効果が得られる。 According to the present embodiment described above, the following effects can be obtained.
本実施形態では、ネットワークデバイスに対して予約メッセージを送信したクライアントシステムが所定の数を超え高負荷状態となった場合、通知するイベントを制限できるので、複数のクライアントシステムに対して必要なイベントをタイムラグなく通知することができる。また、イベント毎の優先度の設定を必要に応じて変更できるので、ネットワークデバイスの付加状況に応じた設定ができる。 In this embodiment, when a client system that has transmitted a reservation message to a network device exceeds a predetermined number and becomes in a high load state, it is possible to limit the event to be notified. Notification can be made without time lag. In addition, since the priority setting for each event can be changed as necessary, it is possible to set according to the addition status of the network device.
以上、ネットワークデバイスの実施形態を説明したが、こうした実施の形態に何ら限定されるものではなく、趣旨を逸脱しない範囲内において様々な形態で実施し得ることができる。以下、変形例を挙げて説明する。 Although the embodiments of the network device have been described above, the present invention is not limited to these embodiments, and can be implemented in various forms without departing from the scope of the invention. Hereinafter, a modification will be described.
(変形例1)ネットワークデバイスの変形例1について説明する。前記第1実施形態では、イベント優先度テーブル51を外部の管理者用PC200から書き換える場合について説明したが、ネットワークデバイスの負荷状況に応じて動的にイベント優先度テーブル51を書き換えるようにしてもよい。例えば、ネットワークデバイスが高負荷な状態では、優先度HighのクライアントPCの数CNTの下限値を下げ、負荷が少ない状態では、優先度MiddleのクライアントPCの数CNTの下限値を上げるように制御する。
(Modification 1)
(変形例2)ネットワークデバイスの変形例2について説明する。前記第1実施形態では、優先度をLow,Middle,Highの3段階で説明したが、2段階でもよいし、4段階以上に詳細に設定してもよい。
(Modification 2)
(変形例3)ネットワークデバイスの変形例3について説明する。前記第1実施形態では、クライアントPC(201〜203などのいずれか)に対するイベントの制御を行う場合について説明したが、管理者用PC200とクライアントPC(201〜203などのいずれか)の優先度を別々に設定してもよい。その場合、イベント優先度テーブル51の他にクライアントの属性を判断するクライアント属性判断部を追加し、クライアント属性判断部がネットワークデバイス管理用クライアントと判断したクライアントに対しては全てのイベントを通知するようにすればよい。
(Modification 3)
図6(A)は、クライアント名とクライアント属性を定義したクライアント属性テーブル52であり、図1に示すEEPROM50に記憶されている。図6(B)は、クライアント属性判断部の動作を示すフローチャートである。クライアント属性判断部は、ステップS200でクライアント属性テーブル52を参照し、クライアントPCが管理者か否かを判断し、管理者である場合は、ステップS202に示すようにすべてのイベントが発生順に送信され、管理者でない場合は、図4に示すイベント通知選択部73に処理を移行する。
FIG. 6A shows a client attribute table 52 that defines client names and client attributes, and is stored in the
10…内部バス、20…CPU、30…ROM、40…RAM、50…EEPROM、51…イベント優先度テーブル、60…印刷エンジン、70…プログラム、71…イベント通知要求受信部、72…カウント部、73…イベント通知選択部、100…WSDプリンタ、200…管理者用PC、300…LANケーブル。
DESCRIPTION OF
Claims (6)
イスであって、
前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信部と、
前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント部と、
前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択部と、
を含み、
前記複数のイベントは、各々、優先度が割り当てられ、
前記イベント通知選択部は、前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、
ことを特徴とするネットワークデバイス。 A network device that performs event notification for notifying multiple clients of multiple events,
An event notification request receiving unit for receiving an event notification request for requesting the event notification transmitted from the plurality of clients;
A counting unit that counts the number of clients that have transmitted the event notification request;
An event notification selection unit for controlling whether to perform the event notification to the client according to the number of clients;
Only including,
Each of the plurality of events is assigned a priority,
The event notification selection unit transmits the event assigned the priority according to the number of the clients.
A network device characterized by that.
前記ネットワークデバイスは、前記クライアントの数と前記優先度と前記優先度が割り当てられた前記イベントとの対応を定義した書き換え可能なイベント優先度テーブルを含み、
前記イベント通知選択部は、前記イベント優先度テーブルを参照して前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、
ことを特徴とするネットワークデバイス。 The network device according to claim 1 , wherein
The network device includes a rewritable event priority table that defines a correspondence between the number of clients, the priority, and the event to which the priority is assigned,
The event notification selection unit transmits the event to which the priority according to the number of clients is assigned with reference to the event priority table.
A network device characterized by that.
前記ネットワークデバイスは、前記クライアントの属性を判断するクライアント属性判断部を含み、
前記イベント通知選択部は、前記クライアント属性判断部がネットワークデバイス管理用クライアントと判断したクライアントに対しては全てのイベントを通知する、
ことを特徴とするネットワークデバイス。 The network device according to claim 1 or 2 ,
The network device includes a client attribute determination unit that determines an attribute of the client,
The event notification selection unit notifies all events to the client determined by the client attribute determination unit as a network device management client.
A network device characterized by that.
前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信部と、
前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント部と、
前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択部と、
を含み、
前記複数のイベントは、各々、優先度が割り当てられ、
前記イベント通知選択部は、前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、
ことを特徴とするネットワークシステム。 A network system that performs event notification for notifying multiple clients of multiple events,
An event notification request receiving unit for receiving an event notification request for requesting the event notification transmitted from the plurality of clients;
A counting unit that counts the number of clients that have transmitted the event notification request;
An event notification selection unit for controlling whether to perform the event notification to the client according to the number of clients;
Only including,
Each of the plurality of events is assigned a priority,
The event notification selection unit transmits the event assigned the priority according to the number of the clients.
A network system characterized by this.
前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信工程と、
前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウント工程と、
前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択工程と、
を含み、
前記複数のイベントは、各々、優先度が割り当てられ、
前記イベント通知選択工程において前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、
ことを特徴とするネットワーク制御方法。 A network control method for performing event notification for notifying multiple clients of multiple events,
An event notification request receiving step of receiving an event notification request for requesting the event notification transmitted from the plurality of clients;
A counting step of counting the number of clients that have transmitted the event notification request;
An event notification selection step for controlling whether to perform the event notification to the clients according to the number of clients;
Only including,
Each of the plurality of events is assigned a priority,
Transmitting the event assigned the priority according to the number of clients in the event notification selection step;
A network control method.
前記複数のクライアントから送信される前記イベント通知を要求するイベント通知要求を受信するイベント通知要求受信ステップと、
前記イベント通知要求を送信してきた前記クライアントの数をカウントするカウントステップと、
前記クライアントの数に応じて前記イベント通知を前記クライアントに行うか否かを制御するイベント通知選択ステップと、
を含み、
前記複数のイベントは、各々、優先度が割り当てられ、
前記イベント通知選択ステップにおいて前記クライアントの数に応じた前記優先度が割り当てられた前記イベントを送信する、
ことを特徴とするネットワーク制御プログラム。 A network control program for notifying a plurality of clients of a plurality of events,
An event notification request receiving step for receiving an event notification request for requesting the event notification transmitted from the plurality of clients;
A counting step of counting the number of clients that have transmitted the event notification request;
An event notification selection step for controlling whether to perform the event notification to the clients according to the number of clients;
Only including,
Each of the plurality of events is assigned a priority,
Transmitting the event assigned the priority according to the number of clients in the event notification selection step;
A network control program characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007285901A JP4967996B2 (en) | 2007-11-02 | 2007-11-02 | Network device, network system, network control method, and network control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007285901A JP4967996B2 (en) | 2007-11-02 | 2007-11-02 | Network device, network system, network control method, and network control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009117941A JP2009117941A (en) | 2009-05-28 |
JP4967996B2 true JP4967996B2 (en) | 2012-07-04 |
Family
ID=40784618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007285901A Expired - Fee Related JP4967996B2 (en) | 2007-11-02 | 2007-11-02 | Network device, network system, network control method, and network control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4967996B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3492249B2 (en) * | 1998-08-25 | 2004-02-03 | キヤノン株式会社 | PRINTING APPARATUS, PRINTING SYSTEM, AND CONTROL METHOD THEREOF |
JP3583767B2 (en) * | 2002-06-06 | 2004-11-04 | 株式会社エヌ・ティ・ティ・ドコモ | Message delivery system and message delivery method |
KR100690787B1 (en) * | 2005-02-25 | 2007-03-09 | 엘지전자 주식회사 | Method for notifying event in the wireless communication system |
JP4956314B2 (en) * | 2006-09-12 | 2012-06-20 | 株式会社リコー | Event notification device, event notification method, and event notification program |
-
2007
- 2007-11-02 JP JP2007285901A patent/JP4967996B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009117941A (en) | 2009-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5885410B2 (en) | Pull print system, print server, control method therefor, and program | |
US7558859B2 (en) | Peer-to-peer auction based data distribution | |
JP5002647B2 (en) | System and method for managing a network | |
US7737826B2 (en) | Event notification device, event notification method, and computer program product | |
JP5068435B2 (en) | Information exchange system, management server, network load reducing method used therefor, and program thereof | |
KR100975162B1 (en) | Communication system and communication apparatus and control method thereof | |
KR100825349B1 (en) | Information exchange system and management server, terminal unit, and method for reducing network load used in the same | |
US20080016144A1 (en) | Method for providing information service and push mode service | |
US20060031395A1 (en) | Method and system for managing programs for web service system | |
JP2009251708A (en) | I/o node control system and method | |
US20060215214A1 (en) | Hierarchical architecture for a distributed and scalable network printing system | |
JP2019032686A (en) | Managing device, control method for managing device, and program | |
JP2013235518A (en) | Server device, system, and control method thereof | |
EP2283621A1 (en) | Methods and devices for managing a network | |
US8676967B2 (en) | Event proxy notification apparatus and method of controlling the same and program | |
KR100746028B1 (en) | Device, system, and method for handing printing operation on home network | |
US8863149B2 (en) | Message processing apparatus and message processing method | |
JP4967996B2 (en) | Network device, network system, network control method, and network control program | |
JP2009188655A (en) | Communication control method, information processing system, information processor, and program | |
JP5024024B2 (en) | Spool server and data communication control method | |
JP5678556B2 (en) | Job execution system, job execution device, and program | |
JP2009015716A (en) | Image forming apparatus by multiple ip addresses | |
JP2006185229A (en) | Online synchronous processing method and device | |
JP6233141B2 (en) | Database system, database server, database server program, database client, and database client program | |
JP2010154312A (en) | Network device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100901 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120124 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120214 |
|
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: 20120306 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120319 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150413 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4967996 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |