JP2004015497A - Network reception limitation system for composite machine - Google Patents

Network reception limitation system for composite machine Download PDF

Info

Publication number
JP2004015497A
JP2004015497A JP2002167153A JP2002167153A JP2004015497A JP 2004015497 A JP2004015497 A JP 2004015497A JP 2002167153 A JP2002167153 A JP 2002167153A JP 2002167153 A JP2002167153 A JP 2002167153A JP 2004015497 A JP2004015497 A JP 2004015497A
Authority
JP
Japan
Prior art keywords
network
packet
reception
packets
composite machine
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.)
Withdrawn
Application number
JP2002167153A
Other languages
Japanese (ja)
Inventor
Yasuo Hirouchi
廣内 康夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002167153A priority Critical patent/JP2004015497A/en
Publication of JP2004015497A publication Critical patent/JP2004015497A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network reception limitation system which enables a network-connected composite machine to operate with good performance in an environment of high network traffic. <P>SOLUTION: The composite machine has a network interface. The composite machine has a timer and an RTC for measuring time and hardware as the network interface has a function of limiting reception by packets. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、複合機におけるネットワーク受信制限システムに関する。
【0002】
【従来の技術】
ネットワーク機能を有する複合機や、プリンタ単体機において、消費電力を抑える省電力モードになった場合、ブロードキャストパケットや、マルチキャストパケットを受け取らない設定にし、省電力モード動作時の不要なパケットに対してCPU負荷を減らす処理などは行っていたが、通常動作時のネットワークパケット受信制限は、受信パケット欠損につながるため行っていなかった。
【0003】
【発明が解決しようとする課題】
しかしながら、ネットワークのトラフィックの激しい環境では、複合機上でコピージョブや、FAXジョブなどでCPUに負荷がかかっている際、そのほとんどが不要なパケットであるブロードキャストパケットや、マルチキャストパケットの処理にCPUパワーがついやされるという問題もあった。
【0004】
本発明は以上の点に着目してなされたもので、ネットワークトラフィックの高い環境下でネットワーク接続された複合機がパフォーマンスよく動作する複合機におけるネットワーク受信制限システムを提供することを目的とする。
【0005】
【課題を解決するための手段】
複合機のCPUの負荷状況を計測し、ある一定上のCPU負荷になった場合、または、自機宛てパケット(以下ユニキャストパケット)が多量に受信している場合には、ユニキャストパケットのみを受信する手段を用いる。
【0006】
またネットワーク上のパケットを送受信するコントローラチップには、受信すべきパケットを選別する機能があり、受信パケット制限をダイナミックにかえる手段を用いる。
【0007】
以上、本発明を整理して要約すれば以下の構成に集約できる。
【0008】
(1)プリンタ、スキャナ、Fax機能を持ち、これらを組み合わせて複写機能を行う装置において、機器内を制御するCPUの負荷状況に応じネットワークから受信するパケットを制限することを特徴とする複合機におけるネットワーク受信制限システム。
【0009】
【発明の実施の形態】
図1は本発明の特徴を最もよく表す機器内コントローラ部分の構成であり、同図において101は周辺機器コントローラ部を制御するCPU、102はシステム起動時の初期診断、システム制御用のプログラム等を格納したROM、103はコントローラ部と周辺機器のエンジン部分を接続するインターフェース、たとえばプリンタエンジンインターフェース、たとえばスキャナエンジンインターフェース、104は周辺機器のエンジン部、たとえばプリンタエンジン、スキャナエンジン、105は、コントローラ部を動作させる為に必要なプログラムや、コントローラ部、エンジン部のステータス情報等を記憶する主記憶メモリ、106は、例えばハードディスク等の外部記憶装置、107は、コントローラ部のデータが伝送されるシステムバス、108は周辺機器の表示装置である液晶パネルや、LED等の表示をコントロールする表示機器I/F、109は、周辺機器の表示装置、110はサウンドジェネレータで警告音等を発生するスピーカを制御するインターフェース、111は警告音等を発生するスピーカ、112は当コントローラとネットワーク上の外部機器との通信を行う為にEthernet(R)と接続するLAN I/F、113はEthernet(R)をあらわす。114は、計時動作を行うReal Time Clock(以下RTC)、115は、Faxの送受信を行えるFAX UNITを示す。
【0010】
本発明は、CPUの負荷、システム全体の負荷をどのように検知するかがポイントになっている。通常一般コンピュータの場合、おもにCPUの負荷がシステム全体の負荷を左右するが、複合機のような組み込み機器の場合、CPUの負荷も当然のことながらプリンタエンジン、スキャナエンジン、その他各ペリフェラルから来る割り込み処理が多く、システム全体の負荷に大きな影響を及ぼす。
【0011】
またネットワークを有する機器では、受信パケットのうちユニキャストパケットと、ブロードキャストパケット、マルチキャストパケットの比率を見ることにより、現状のネットワーク上からの複合機宛てのJOB依頼の負荷の度合いが計測できる。
【0012】
複合機内のCPU負荷の目安として、一定時間内に発生した各デバイスからの割り込み発生回数を計測する。図2は、その計測手法をあらわすフローチャートである。計測前に、割り込み回数を加算するカウンタを0でクリアし(S201)、その後、各割り込み処理ルーチンで、割り込みが発生するごとにカウンタ値をアップする(S202)。オペレーティングシステムの持つシステムタイマや、RTC等を使ったタイマなどで一定時間を測定し、期間に発生した割り込み回数を計測する(S203)。
【0013】
一方受信パケットのうち、ユニキャストパケットの比率を計算する方法をあらわすフローチャートを図3に示す。
【0014】
ユニキャストパケットの受信比率を計算する前に、ユニキャストパケット受信数カウンタの値をクリアする(S301)。その後パケットを受信すると(S302)、そのパケットがユニキャストパケットであるか、それ以外のブロードキャストパケットやマルチキャストパケットであるかを判定する(S303)。判定方法に関しては、2通り有り、ネットワークをコントロールするハードウェアがレジスタなどで受信パケットの種別をソフトウエアに通知する手段をもっているものであればその種別により判断する。ハードウェアにその機能がない場合は、実際に受信したパケットの先頭6バイトを読み、ユニキャストパケットか否かを判定する。ユニキャストパケットであるなら、受信数カウンタをアップさせ(S304)、その他のパケットであるなら受信数カウンタをアップさせない。一定時間を経過したら(S305)、ユニキャストパケット受信数カウンタを測定する(S306)。
【0015】
図4は、本発明のポイントとなるパケットの受信制限の処理を表すフローチャートである。
【0016】
図2のフローチャートで測定したカウンタ値がある一定以上の値を示した場合、システムとして負荷が高いと判断し(S401)、ネットワークの受信制限の処理を行う。このときネットワークの受信制限をする際、図3で計測したユニキャストパケットの受信比率によって受信制限の方法を変更する。ユニキャストパケットの受信比率が0に近い場合、その期間、複合機に投入されるJOBがネットワーク経由できていないと判断し(S402)、1から2秒程度、ユニキャストパケットを含む全パケットの受信をマスクする(S403)。通常TCP/IP等での通信をする場合、プロトコルの再送機能があるため、短時間の受信マスクがあっても再送により、欠損されたデータが補完される。またユニキャストパケットの受信比率が100%に近い場合(S404)、ブロードキャストパケット、ユニキャストパケットのみを受信する受信制限を行う処理を行う(S405)。この際、図2で計測したCPU負荷が下がるまで(S406)、受信制限を行いつづける。
【0017】
受信パケットの制限の仕方であるが、ネットワークをコントロールするハードウェアの機能として、ユニキャストパケット、ブロードキャストパケット、マルチキャストパケットをここにマスク設定できる機能があるため、そのマスク設定をダイナミックに変更し、受信するパケットを調整する。
【0018】
【発明の効果】
本発明を実施することにより、CPUの負荷が高い時、不要なネットワーク受信のために使用されるCPUパワーの浪費防ぎ、効率よく複合機のパフォーマンスを発揮できることが可能となる。
【図面の簡単な説明】
【図1】本発明の実施例に係るシステム構成を説明する図
【図2】本発明の実施例のフローチャート(その1)
【図3】本発明の実施例のフローチャート(その2)
【図4】本発明の実施例のフローチャート(その3)
【符号の説明】
101 CPU
102 ROM
103 エンジンI/F
104 エンジン部
105 揮発性記憶装置(メモリ)
106 外部記憶装置
107 システムバス
108 パネルI/F
109 表示装置
110 サウンドジェネレータ
111 スピーカ
112 LAN I/F
113 Ethernet(R)
114 RTC
115 FAX UNIT
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network reception restriction system in a multifunction peripheral.
[0002]
[Prior art]
When a multifunction device with a network function or a single printer device enters the power-saving mode to reduce power consumption, it is set to not receive broadcast packets or multicast packets, and the CPU is enabled for unnecessary packets during power-saving mode operation. Although processing to reduce the load was performed, network packet reception restriction during normal operation was not performed because reception packet loss would occur.
[0003]
[Problems to be solved by the invention]
However, in an environment where network traffic is intense, when a load is imposed on the CPU by a copy job, a facsimile job, or the like on the multifunction peripheral, the CPU power is mostly used for processing broadcast packets and multicast packets, which are unnecessary packets. There was also the problem of being healed.
[0004]
SUMMARY An advantage of some aspects of the invention is to provide a network reception restriction system in a multifunction peripheral in which a multifunction peripheral connected to a network operates with high performance in an environment with high network traffic.
[0005]
[Means for Solving the Problems]
The CPU load of the multifunction device is measured, and when the CPU load becomes a certain fixed value or when a large number of packets addressed to the own device (hereinafter, unicast packets) are received, only the unicast packets are received. Use the receiving means.
[0006]
Further, the controller chip for transmitting and receiving packets on the network has a function of selecting a packet to be received, and uses a means for dynamically changing the reception packet limit.
[0007]
As described above, the present invention can be summarized into the following configuration by organizing and summarizing the present invention.
[0008]
(1) In a multifunction peripheral having a printer, a scanner, and a fax function and performing a copying function by combining the functions, a packet received from a network is limited according to a load state of a CPU that controls the inside of the device. Network reception restriction system.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 shows the configuration of a controller in a device that best illustrates the features of the present invention. In FIG. 1, reference numeral 101 denotes a CPU for controlling a peripheral device controller, and 102 denotes a program for initial diagnosis at system startup and a system control program. The stored ROM 103 is an interface for connecting the controller and the engine of the peripheral device, for example, a printer engine interface, for example, a scanner engine interface. 104 is an engine of the peripheral device, for example, a printer engine, a scanner engine, and 105 is a controller. A main memory 106 stores programs necessary for operation, status information of the controller unit and the engine unit, etc. 106 is an external storage device such as a hard disk, and 107 is a system to which data of the controller unit is transmitted. A bus 108, a liquid crystal panel which is a display device of a peripheral device, and a display device I / F which controls display such as an LED, a display device 109 of a peripheral device, and a speaker 110 which generates a warning sound by a sound generator. An interface for controlling, 111 is a speaker for generating an alarm sound, etc., 112 is a LAN I / F for connecting the controller to an external device on a network to communicate with the external device on the network, and 113 is an Ethernet (R) for communicating with the external device on the network. Represent. Reference numeral 114 denotes a Real Time Clock (hereinafter, RTC) for performing a timekeeping operation, and reference numeral 115 denotes a FAX UNIT capable of transmitting and receiving a fax.
[0010]
The point of the present invention is how to detect the load on the CPU and the load on the entire system. Normally, in the case of a general computer, the load on the CPU mainly affects the load on the entire system. However, in the case of an embedded device such as a multifunction peripheral, the load on the CPU is, of course, the interrupt from the printer engine, scanner engine, and other peripherals. There are many processes, which greatly affect the load on the entire system.
[0011]
In a device having a network, the degree of the load of a JOB request from the current network to a multifunction device can be measured by checking the ratio of a unicast packet, a broadcast packet, and a multicast packet among received packets.
[0012]
As a measure of the CPU load in the multifunction peripheral, the number of interrupts generated from each device within a fixed time is measured. FIG. 2 is a flowchart showing the measurement method. Before the measurement, the counter for adding the number of interrupts is cleared to 0 (S201), and thereafter, in each interrupt processing routine, the counter value is incremented every time an interrupt occurs (S202). A certain time is measured by a system timer of the operating system or a timer using an RTC or the like, and the number of interrupts generated during the period is measured (S203).
[0013]
On the other hand, FIG. 3 is a flowchart showing a method of calculating a ratio of unicast packets among received packets.
[0014]
Before calculating the unicast packet reception ratio, the value of the unicast packet reception counter is cleared (S301). Thereafter, when a packet is received (S302), it is determined whether the packet is a unicast packet or any other broadcast packet or multicast packet (S303). There are two determination methods, and if the hardware controlling the network has a means for notifying the software of the type of the received packet to the software using a register or the like, the determination is made based on the type. If the hardware does not have the function, the first six bytes of the actually received packet are read to determine whether the packet is a unicast packet. If the packet is a unicast packet, the reception counter is incremented (S304). If the packet is another packet, the reception counter is not incremented. After a lapse of a predetermined time (S305), a unicast packet reception counter is measured (S306).
[0015]
FIG. 4 is a flowchart illustrating a process of restricting packet reception, which is a point of the present invention.
[0016]
When the counter value measured in the flowchart of FIG. 2 indicates a value equal to or more than a certain value, it is determined that the system is heavily loaded (S401), and the network reception restriction is performed. At this time, when restricting the reception of the network, the method of restricting the reception is changed according to the reception ratio of the unicast packet measured in FIG. When the reception ratio of the unicast packet is close to 0, it is determined that the job input to the multifunction device has not been able to pass through the network during that period (S402), and the reception of all packets including the unicast packet for about 1 to 2 seconds. Is masked (S403). Normally, when communication is performed by TCP / IP or the like, since there is a protocol retransmission function, lost data is complemented by retransmission even if there is a short reception mask. If the reception ratio of the unicast packet is close to 100% (S404), a process for restricting the reception of only the broadcast packet and the unicast packet is performed (S405). At this time, the reception restriction is continued until the CPU load measured in FIG. 2 decreases (S406).
[0017]
This is a way to limit the number of received packets. As a hardware function to control the network, there is a function to mask unicast packets, broadcast packets, and multicast packets here. Adjust the packets to be sent.
[0018]
【The invention's effect】
By implementing the present invention, when the load on the CPU is high, it is possible to prevent waste of CPU power used for unnecessary network reception and to efficiently exhibit the performance of the multifunction peripheral.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a system configuration according to an embodiment of the present invention. FIG. 2 is a flowchart (part 1) of an embodiment of the present invention.
FIG. 3 is a flowchart (part 2) of the embodiment of the present invention.
FIG. 4 is a flowchart (part 3) of the embodiment of the present invention.
[Explanation of symbols]
101 CPU
102 ROM
103 Engine I / F
104 Engine unit 105 Volatile storage device (memory)
106 External storage device 107 System bus 108 Panel I / F
109 Display device 110 Sound generator 111 Speaker 112 LAN I / F
113 Ethernet (R)
114 RTC
115 FAX UNIT

Claims (1)

プリンタ、スキャナ、Fax機能を持ち、これらを組み合わせて複写機能を行う装置において、機器内を制御するCPUの負荷状況に応じネットワークから受信するパケットを制限することを特徴とする複合機におけるネットワーク受信制限システム。In a device having a printer, a scanner, and a fax function, and performing a copying function by combining them, a network reception limit in a multifunction peripheral, which limits a packet received from a network according to a load state of a CPU that controls the inside of the device. system.
JP2002167153A 2002-06-07 2002-06-07 Network reception limitation system for composite machine Withdrawn JP2004015497A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002167153A JP2004015497A (en) 2002-06-07 2002-06-07 Network reception limitation system for composite machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002167153A JP2004015497A (en) 2002-06-07 2002-06-07 Network reception limitation system for composite machine

Publications (1)

Publication Number Publication Date
JP2004015497A true JP2004015497A (en) 2004-01-15

Family

ID=30434485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002167153A Withdrawn JP2004015497A (en) 2002-06-07 2002-06-07 Network reception limitation system for composite machine

Country Status (1)

Country Link
JP (1) JP2004015497A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009122514A1 (en) * 2008-03-31 2009-10-08 富士通株式会社 Information processing device, interrupt control device, interrupt control circuit, interrupt control method, and interrupt control program
JP2012176582A (en) * 2011-02-28 2012-09-13 Sharp Corp Image forming apparatus
JP2014531817A (en) * 2011-09-16 2014-11-27 クアルコム,インコーポレイテッド System and method for network quality estimation, connectivity detection, and load management
JP2014232931A (en) * 2013-05-28 2014-12-11 ブラザー工業株式会社 Printing apparatus
US9736045B2 (en) 2011-09-16 2017-08-15 Qualcomm Incorporated Systems and methods for network quality estimation, connectivity detection, and load management

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009122514A1 (en) * 2008-03-31 2009-10-08 富士通株式会社 Information processing device, interrupt control device, interrupt control circuit, interrupt control method, and interrupt control program
US8386683B2 (en) 2008-03-31 2013-02-26 Fujitsu Limited Information processing apparatus, interrupt control device and interrupt control method
JP2012176582A (en) * 2011-02-28 2012-09-13 Sharp Corp Image forming apparatus
JP2014531817A (en) * 2011-09-16 2014-11-27 クアルコム,インコーポレイテッド System and method for network quality estimation, connectivity detection, and load management
US9736045B2 (en) 2011-09-16 2017-08-15 Qualcomm Incorporated Systems and methods for network quality estimation, connectivity detection, and load management
JP2014232931A (en) * 2013-05-28 2014-12-11 ブラザー工業株式会社 Printing apparatus

Similar Documents

Publication Publication Date Title
US8635479B2 (en) Apparatus, system, and method of power saving control, and power saving control program
US7779451B2 (en) Securing wakeup network events
JP4580845B2 (en) Task execution device
US7555662B2 (en) Two controller communication control apparatus with power-saving control and power-saving control method
US8862709B2 (en) Remote management of boot application
US7516335B2 (en) Network control device for an image forming apparatus that enables a network filter during a grace time before entering an energy saving mode
US7376853B2 (en) Network apparatus, method for controlling the same, and program for the same
US8898490B2 (en) Information processing apparatus, control method therefore, and storage medium
US8078892B2 (en) Information-processing apparatus, packet processing method, and computer program product for communicating with an external network device and switching between a normal power mode and a power saving mode
US20080307042A1 (en) Information processing system, information processing method, and program
US20040252638A1 (en) Method and apparatus for managing flow control in a data processing system
JP2004015497A (en) Network reception limitation system for composite machine
JP3342507B2 (en) LAN control method
US7702930B2 (en) Power-supply control device, power-supply control method, and computer product
EP3029544B1 (en) Function control device apparatus including same and communication establishing method
US10587428B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP7110573B2 (en) Information processing device, information processing program and information processing method
JP2004153742A (en) Network apparatus and network system
JPH07195801A (en) Power on-of controller of printer
JP2010128747A (en) Communication apparatus, and method and program for suppressing restoration of the same
JP2004153738A (en) Network apparatus and network system
JP2003303080A (en) Network interface circuit and data output system
JP2004362282A (en) Network equipment and network system
KR100350456B1 (en) Method for recovering and checking ipc error on inter processor communication in a exchange
JP2016201696A (en) Packet reception processing apparatus and packet reception processing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906