JP2005267294A - Network interrupt control method, information processing apparatus and image forming apparatus - Google Patents

Network interrupt control method, information processing apparatus and image forming apparatus Download PDF

Info

Publication number
JP2005267294A
JP2005267294A JP2004079381A JP2004079381A JP2005267294A JP 2005267294 A JP2005267294 A JP 2005267294A JP 2004079381 A JP2004079381 A JP 2004079381A JP 2004079381 A JP2004079381 A JP 2004079381A JP 2005267294 A JP2005267294 A JP 2005267294A
Authority
JP
Japan
Prior art keywords
asic
interrupt
network
packet data
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
JP2004079381A
Other languages
Japanese (ja)
Other versions
JP4541007B2 (en
Inventor
Shuji Hamada
修史 浜田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004079381A priority Critical patent/JP4541007B2/en
Publication of JP2005267294A publication Critical patent/JP2005267294A/en
Application granted granted Critical
Publication of JP4541007B2 publication Critical patent/JP4541007B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a reduction in the performance of an information processing apparatus, an image forming apparatus or the like by preventing an increase in the processing load on a CPU due to an interrupt at data reception via a network. <P>SOLUTION: When some of packet data arriving at a network 101 are received, an ASIC 103 issues a batch interrupt to the CPU 102, which reduces the bus occupation rate of interrupts to reduce the CPU load. The interrupt is generated according to the number of received packets, the lapse of a predetermined time or the combination of both. Once the interrupt is generated, interrupt issuance is suspended until software finishes processing the received packets, and after the finish of packet processing by the software is notified, another interrupt can be generated. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ネットワーク割り込み制御方法、情報処理装置及び画像形成装置に係り、特に、ネットワークに接続された情報処理装置あるいは画像形成装置において、ネットワークを介して送信されてくるパケットデータを受信したときにCPUへの割り込みを制御するネットワーク割り込み制御方法、情報処理装置及び画像形成装置に関する。   The present invention relates to a network interrupt control method, an information processing apparatus, and an image forming apparatus, and more particularly, when an information processing apparatus or image forming apparatus connected to a network receives packet data transmitted via the network. The present invention relates to a network interrupt control method for controlling an interrupt to a CPU, an information processing apparatus, and an image forming apparatus.

一般に、ネットワークに接続された情報処理装置、画像形成装置等は、ネットワークを介して送信されてくるパケットデータ(フレームデータであってもよいが、以下では、パケットデータとして説明する)を受信すると、パケットデータの受信毎にCPUへの割り込みを行って、受信したパケットデータの処理を行っている。   In general, when an information processing apparatus, an image forming apparatus, or the like connected to a network receives packet data (which may be frame data but will be described as packet data below) transmitted via the network, Each time packet data is received, the CPU is interrupted to process the received packet data.

図8は従来技術によるパケットデータ受信とその処理の動作について説明する図である。図8において、101はネットワーク、102はCPU、103はASIC、104はメモリ、81はインタフェース、82はコントローラである。   FIG. 8 is a diagram for explaining packet data reception and processing operations according to the prior art. In FIG. 8, 101 is a network, 102 is a CPU, 103 is an ASIC, 104 is a memory, 81 is an interface, and 82 is a controller.

情報処理装置、画像形成装置等のネットワーク接続部には、図8に示すように、ネットワーク101を接続するインタフェース81、コントローラ82を有するASIC103が備えられている。そして、ASIC103に接続されているメモリ104には、ネットワークを介して受信されるパケットデータを格納する領域が用意されており、また、そのパケットデータの制御を行うために、従来からよく知られている複数のディスクリプタがリング状に接続されてCPU102により予め設定されている。   As shown in FIG. 8, an ASIC 103 having an interface 81 and a controller 82 for connecting the network 101 is provided in a network connection unit such as an information processing apparatus or an image forming apparatus. The memory 104 connected to the ASIC 103 has an area for storing packet data received via the network, and is well known in the past for controlling the packet data. A plurality of descriptors connected in a ring shape are preset by the CPU 102.

図8において、いま、ネットワーク101から1つのパケットデータが受信されると、ASIC103は、受信したパケットデータをメモリ104内に格納すると共に、空きのディスクリプタの1つに、そのパケットデータを説明するための情報を格納する。ディスクリプタは、次のディスクリプタの場所を示すネクストディスクリプタポインター(ND)、受信したパケットデータを格納したスタートアドレス、そのディスクリプタが有効か無効かを示すVALID、受信したパケットデータの処理の状態を示すSTATUSを有して構成されている。   In FIG. 8, when one packet data is received from the network 101, the ASIC 103 stores the received packet data in the memory 104 and describes the packet data in one of the empty descriptors. Stores the information. The descriptor includes a next descriptor pointer (ND) indicating the location of the next descriptor, a start address storing the received packet data, a VALID indicating whether the descriptor is valid or invalid, and a STATUS indicating the processing status of the received packet data. It is configured.

また、ASIC103は、受信したパケットデータをメモリ104に格納し、パケットデータに対応したディスクリプタに必要なデータを設定すると、CPU102に対して割り込みを発生させる。CPU102は、この割り込みに対する割り込み処理を実行すると共に、メモリ104内に格納されたパケットデータに対する処理を実行する。   Further, the ASIC 103 stores the received packet data in the memory 104, and when the necessary data is set in the descriptor corresponding to the packet data, causes the CPU 102 to generate an interrupt. The CPU 102 executes interrupt processing for this interrupt and also executes processing for packet data stored in the memory 104.

前述したように、従来技術によるネットワークからのパケットデータの受信は、1つのパケットデータを受信すると、そのパケットを処理するために1つの割り込みが発生(ネットワークの速度に対するシステムの処理速度が十分間に合う場合)して、受信したパケットの処理が実行される。この結果、1つのパケットの受信毎に発生する割り込み処理命令が、システムバスに流れることになり、CPUの処理負荷の増大を招くと共に、システムとしてのパフォーマンスを低下させてしまうことになる。   As described above, in the reception of packet data from the network according to the conventional technique, when one packet data is received, one interrupt is generated to process the packet (when the processing speed of the system is sufficiently in time with respect to the speed of the network) Then, the received packet is processed. As a result, an interrupt processing instruction generated every time one packet is received flows to the system bus, which increases the processing load on the CPU and decreases the performance of the system.

このような割り込み処理によるCPUの処理負荷の増大とシステムとしてのパフォーマンスの低下を防止することができる従来技術として、例えば、特許文献1等に記載された技術が知られている。この従来技術は、ネットワーク・データのバーストの受信中にCPUに過剰な割り込みによる負担を掛けないように、パケット到着割り込みの調整を行うようにしたものであり、新しいデータ・バーストの第1のパケット、または、短メッセージの第1のパケットによりCPUに対して即時に割り込みを発生させ、CPUの応答の不要な待ち時間を回避するようにしたものである。
特開平9−223091号公報
As a conventional technique that can prevent an increase in CPU processing load and a decrease in performance as a system due to such interrupt processing, for example, a technique described in Patent Document 1 is known. In this prior art, a packet arrival interrupt is adjusted so that the CPU is not burdened with an excessive interrupt while receiving a burst of network data, and the first packet of a new data burst is adjusted. Alternatively, an interrupt is immediately generated to the CPU by the first packet of the short message so as to avoid an unnecessary waiting time for the CPU response.
Japanese Patent Laid-Open No. 9-223091

図8により説明した従来技術は、ネットワークからの1つのパケットの受信毎に割り込みが発生し、ソフトウェアがメモリ上でデータを処理する実パケット処理の時間が発生することになり、割り込み発生の頻度が上がってしまうことになり、発生する割り込み処理命令が、システムバスに流れ、CPUの処理負荷の増大を招くと共に、システムとしてのパフォーマンスを低下させてしまうことになるという問題点を有している。   In the prior art described with reference to FIG. 8, an interrupt occurs every time one packet is received from the network, and the actual packet processing time for the software to process data on the memory occurs. As a result, the generated interrupt processing instruction flows to the system bus, causing an increase in the processing load on the CPU and degrading the performance of the system.

また、特許文献1に記載された従来技術は、新しいデータ・バーストの第1のパケット、または、短メッセージの第1のパケットによりCPUに対して即時に割り込みを発生させ、以後の割り込みの発生を受信パケット数に基づいて調整し、CPUの応答の不要な待ち時間を回避することができるものであるが、パケットデータの到来がバースト的でなく、分散されて到来するような場合については配慮されていないという問題点を有している。   The prior art described in Patent Document 1 generates an interrupt immediately to the CPU by a first packet of a new data burst or a first packet of a short message, and generates subsequent interrupts. Although it can be adjusted based on the number of received packets to avoid unnecessary waiting time for the CPU response, it is considered that the arrival of packet data is not bursty but distributed. Have the problem of not.

本発明の目的は、前述した従来技術の問題点を解決し、最初のパケットデータの受信後、一定時間経過するまで、あるいは、一定数のパケットが受信されるまで、CPUに対する割り込みの発生を抑止することにより、CPUへの割り込みによる処理負荷が増大することを防止し、システムとしてのパフォーマンスの低下を防止することができるネットワーク割り込み制御方法、情報処理装置及び画像形成装置を提供することにある。   The object of the present invention is to solve the above-mentioned problems of the prior art, and suppress the occurrence of interrupts to the CPU until a certain time elapses after receiving the first packet data or until a certain number of packets are received. Accordingly, an object of the present invention is to provide a network interrupt control method, an information processing apparatus, and an image forming apparatus that can prevent an increase in processing load due to an interrupt to a CPU and prevent a decrease in performance as a system.

前記目的を達成するため、本発明の第1の手段は、ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICが、予め定めた数の複数のパケットデータの受信を行ったときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とする。   In order to achieve the above object, a first means of the present invention is a network interrupt control method for receiving data transmitted via a network in an information processing apparatus or an image forming apparatus having an ASIC for connecting to a network. And when the ASIC receives a predetermined number of pieces of packet data, the CPU connected to the ASIC generates an interrupt to process the received data. To do.

また、本発明の第2の手段は、ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICが、予め定めた一定の時間毎に、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせることを特徴とする。   According to a second means of the present invention, there is provided a network interrupt control method for receiving data transmitted via a network in an information processing apparatus or an image forming apparatus having an ASIC for connecting to a network. In addition, it is characterized in that an interrupt is generated for the CPU connected to the ASIC at predetermined time intervals to process the data received within the predetermined time.

また、本発明の第3の手段は、第2の手段において、前記一定時間の計時が、最初のパケットデータが受信されたときに開始されることを特徴とする。   The third means of the present invention is characterized in that, in the second means, the measurement of the predetermined time is started when the first packet data is received.

また、本発明の第4の手段は、ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICが、予め定めた数の複数のパケットデータの受信を行ったとき、及び、予め定めた一定の時間毎に、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とする。   According to a fourth means of the present invention, there is provided a network interrupt control method for receiving data transmitted via a network in an information processing apparatus or image forming apparatus having an ASIC for connecting to a network. When a predetermined number of pieces of packet data are received, and at predetermined intervals, the received data is processed by generating an interrupt to the CPU connected to the own ASIC. It is characterized by making it.

また、本発明の第5の手段は、第4の手段において、前記予め定めた数の複数のパケットデータの受信を行ったときの割り込みの発生、予め定めた一定の時間毎の割り込みの発生の一方が先に発生した場合、他方の割り込みの発生が停止されることを特徴とする。   According to a fifth means of the present invention, in the fourth means, the generation of an interrupt when receiving the predetermined number of packet data, the generation of an interrupt every predetermined time interval, When one occurs first, the generation of the other interrupt is stopped.

また、本発明の第6の手段は、ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICが、受信したパケットデータを自ASICに接続されたメモリに格納し、格納されたパケットデータの容量が予め定めた容量になったとき、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とする。   According to a sixth means of the present invention, there is provided a network interrupt control method at the time of receiving data transmitted via a network in an information processing apparatus or image forming apparatus having an ASIC for connecting to a network. The received packet data is stored in a memory connected to the own ASIC, and when the capacity of the stored packet data reaches a predetermined capacity, an interrupt is generated for the CPU connected to the own ASIC and received. It is characterized in that the processed data is processed.

また、本発明の第7の手段は、ネットワークとの接続を行うASICを有する情報処理装置または画像形成装置において、前記ASICが、受信したパケットデータの数をカウントするカウンタと、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする。   According to a seventh aspect of the present invention, in the information processing apparatus or image forming apparatus having an ASIC for connecting to a network, the ASIC counts a number of packet data received, a predetermined number of And means for causing the CPU connected to the ASIC to process the received data when the counter counts the reception of a plurality of packet data.

また、本発明の第8の手段は、ネットワークとの接続を行うASICを有する情報処理装置または画像形成装置において、前記ASICが、所定時間を計時する計時手段と、該計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする。   According to an eighth aspect of the present invention, there is provided an information processing apparatus or image forming apparatus having an ASIC for connecting to a network, wherein the ASIC counts a predetermined time, and a predetermined time determined by the timing means. And means for generating an interrupt to the CPU connected to the ASIC and processing the received data within a predetermined time.

また、本発明の第9の手段は、第8の手段において、前記計時手段が、最初のパケットデータが受信されたときに計時を開始させることを特徴とする。   According to a ninth means of the present invention, in the eighth means, the time measuring means starts time counting when the first packet data is received.

また、本発明の第10の手段は、ネットワークとの接続を行うASICを有する情報処理装置または画像形成装置において、前記ASICが、受信したパケットデータの数をカウントするカウンタと、所定時間を計時する計時手段と、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたとき、あるいは、前記計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする。   According to a tenth means of the present invention, in the information processing apparatus or image forming apparatus having an ASIC that connects to a network, the ASIC counts a number of received packet data and a predetermined time. When the counter counts the reception of a predetermined number of pieces of packet data, or when the time measuring means measures a predetermined time, the CPU connected to the own ASIC And means for processing the data received within a predetermined time by generating an interrupt.

また、本発明の第11の手段は、第10の手段において、前記予め定めた数の複数のパケットデータの受信を行ったときの割り込みの発生、予め定めた一定の時間毎の割り込みの発生の一方が先に発生した場合に、他方の割り込みの発生を停止させる手段を有することを特徴とする。   The eleventh means of the present invention is characterized in that, in the tenth means, an interrupt is generated when the predetermined number of pieces of packet data are received, and an interrupt is generated at predetermined intervals. It is characterized by having means for stopping the generation of the other interrupt when one occurs first.

また、本発明の第12の手段は、ネットワークとの接続を行うASICを有する情報処理装置または画像形成装置において、前記ASICが、受信したパケットデータを自ASICに接続されたメモリに格納する手段と、格納されたパケットデータの容量が予め定めた容量になったことを判別する判別手段と、該判別手段がパケットデータの容量が予め定めた容量になったことを判別したときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする。   According to a twelfth aspect of the present invention, in the information processing apparatus or image forming apparatus having an ASIC for connecting to a network, the ASIC stores received packet data in a memory connected to the ASIC. Determining means for determining that the capacity of the stored packet data has reached a predetermined capacity; and when the determining means determines that the capacity of the packet data has reached a predetermined capacity, And a means for causing the connected CPU to generate an interrupt and to process the received data.

本発明によれば、最初のパケットデータの受信後、一定時間経過するまで、あるいは、一定数のパケットが受信されるまで、CPUに対する割り込みの発生を抑止することとしているので、CPUへの割り込みによる処理負荷が増大することを防止し、情報処理装置、画像形成装置等のシステムとしてのパフォーマンスの低下を防止することができる。   According to the present invention, the occurrence of an interrupt to the CPU is suppressed until a certain time elapses after the first packet data is received or until a certain number of packets are received. It is possible to prevent an increase in processing load and to prevent a decrease in performance as a system such as an information processing apparatus or an image forming apparatus.

以下、本発明によるネットワーク割り込み制御方法、情報処理装置及び画像形成装置の実施形態を図面により詳細に説明する。   Embodiments of a network interrupt control method, an information processing apparatus, and an image forming apparatus according to the present invention will be described below in detail with reference to the drawings.

図1は本発明が適用される画像形成装置の一実施形態の構成例を示すブロック図、図2は本発明が適用される画像形成装置の一実施形態の他の構成例を示すブロック図であり、まず、本発明が適用される画像形成装置の構成について説明する。なお、本発明の実施形態として、本発明を適用した画像形成装置を挙げて説明するが、本発明は、一般的なワークステーション、PCに通信機能を設けた情報処理装置に対しても適用することができる。図1、図2において、100は画像形成装置、107はASIC、105はMAC、106は画像形成部であり、他の符号は図1の場合と同一である。   FIG. 1 is a block diagram showing a configuration example of an embodiment of an image forming apparatus to which the present invention is applied, and FIG. 2 is a block diagram showing another configuration example of the embodiment of the image forming apparatus to which the present invention is applied. First, the configuration of the image forming apparatus to which the present invention is applied will be described. Note that, as an embodiment of the present invention, an image forming apparatus to which the present invention is applied will be described. However, the present invention is also applied to an information processing apparatus in which a general workstation and a PC are provided with a communication function. be able to. 1 and 2, reference numeral 100 denotes an image forming apparatus, 107 denotes an ASIC, 105 denotes a MAC, and 106 denotes an image forming unit. Other reference numerals are the same as those in FIG.

図1に示す画像形成装置100は、ネットワーク101に接続されたASIC103に、CPU102、メモリ104、画像形成部104に接続されて構成されている。そして、ネットワーク101を制御する図示しないインタフェースが直接ASIC103に接続されていて、ネットワークからのパケットデータ等の受信は、ASIC103のネットワーク制御部のMAC105で処理される。   An image forming apparatus 100 illustrated in FIG. 1 is configured by connecting an ASIC 103 connected to a network 101 to a CPU 102, a memory 104, and an image forming unit 104. An interface (not shown) that controls the network 101 is directly connected to the ASIC 103, and reception of packet data and the like from the network is processed by the MAC 105 of the network control unit of the ASIC 103.

図2に示す画像形成装置100は、ネットワーク等に対するI/O系ASIC107を使用する場合の例であり、図1に示すASIC103にPCIバス等の汎用バスを介してMAC105を有するASIC107を接続し、ネットワークからのパケットデータ等の受信を、ASIC107のネットワーク制御部のMAC105で処理し、受信したパケットデータの処理をPCIバスを通してASIC103が行うようにしたものである。   An image forming apparatus 100 shown in FIG. 2 is an example in the case of using an I / O ASIC 107 for a network or the like. An ASIC 107 having a MAC 105 is connected to the ASIC 103 shown in FIG. 1 via a general-purpose bus such as a PCI bus. Reception of packet data or the like from the network is processed by the MAC 105 of the network control unit of the ASIC 107, and processing of the received packet data is performed by the ASIC 103 through the PCI bus.

本発明の実施形態は、ネットワークに到来するパケットデータの幾つかが受信されたときに、まとめて割り込みを出し、割り込みによるバス占有率を減らしCPU負荷を低減しようとするもので、受信したパケット数、または、時間による割り込み、あるいは、両者を併用する割り込みを行うようにしたものである。そして、本発明の実施形態は、1回の割り込みが発生すると、ソフトウェアが受信したパケットの処理が終わるまで割り込みを出すことを停止し、ソフトウェアによるパケットの処理が終了したことが通知されると、再び割り込みを発生させることが可能となるようにしている。また、受信したパケット数による割り込みの発生における割り込み数のスレッショルド、時間による割り込みの発生における時間のカウント数は、動作中に変更することが可能である。前述したように、本発明の根本的な考え方は、ソフトウェアの処理が終了する前に割り込みを発生させても、処理しきれないので割り込み動作の開始をソフトウェアに決定させるようにしている。   In the embodiment of the present invention, when several pieces of packet data arriving on the network are received, an interrupt is collectively issued, the bus occupation rate due to the interrupt is reduced to reduce the CPU load. Or, an interrupt based on time or an interrupt that uses both is performed. Then, in the embodiment of the present invention, when one interruption occurs, the interruption of the packet received by the software is stopped until the processing of the packet received by the software is notified. An interrupt can be generated again. Further, the threshold of the number of interrupts when an interrupt is generated depending on the number of received packets and the time count when an interrupt is generated according to time can be changed during operation. As described above, the basic idea of the present invention is to allow the software to determine the start of an interrupt operation because an interrupt cannot be processed even if an interrupt is generated before the software process ends.

図3は本発明の一実施形態での時間による割り込みによりパケットの処理を行う例を説明する図である。図3には、図8により説明した場合と同様に、メモリ上に展開されているディスクリプタを示しており、ディスクリプタの個数はシステムの仕様により任意に決定することができる。図3において、濃い色が空のディスクリプタであり、白抜きが未処理のパケットデータがあるディスクリプタを示している。   FIG. 3 is a diagram for explaining an example in which a packet is processed by interruption according to time in an embodiment of the present invention. FIG. 3 shows the descriptors developed on the memory as in the case described with reference to FIG. 8, and the number of descriptors can be arbitrarily determined according to the system specifications. In FIG. 3, the dark color is an empty descriptor, and the outline has an unprocessed packet data.

本発明の実施形態は、時間による割り込みの処理を行う場合のために、ASIC内に予め設定した割り込みまでの時間を計時するタイマー(減算カウンタまたは加算カウンタにより計時を行う)を備えている。そして、ネットワークから最初のパケットデータが受信されると、タイマーが起動されて計時を開始し、一定時間の経過後、その間に受信されたパケットデータの処理のために割り込みが発生する。例えば、割り込みまでの時間かt秒に設定されていたとすれば、最初のパケットデータの受信からt秒の間、割り込みが発生することはなく、t秒後に割り込みが発生する。図3に示す例では、このt秒の間に3つのパケットデータが到来したとして示している。t秒後に発生した割り込みにより、3つのパケットデータは、ディスクリプタに格納された3つのパケットデータの情報に従ってソフトウェアにより処理されることになる。なお、この3つのパケットデータの処理中に、次のパケットデータが到来した場合、そのパケットデータは、メモリに格納され、対応するディスクリプタが生成され、ディスクリプタのチェーンに接続されるので、この途中で受信されパケットデータも、割り込みを発生させることなく処理されることになる。   The embodiment of the present invention is provided with a timer (time is measured by a subtraction counter or an addition counter) that measures the time until the interruption set in advance in the ASIC for the case of performing interruption processing by time. When the first packet data is received from the network, a timer is started to start timing, and after a certain period of time, an interrupt is generated for processing the packet data received during that time. For example, if the time until the interruption is set to t seconds, no interruption occurs for t seconds after the reception of the first packet data, and the interruption occurs after t seconds. In the example shown in FIG. 3, it is assumed that three packet data have arrived during t seconds. Due to the interrupt generated after t seconds, the three packet data are processed by software according to the information of the three packet data stored in the descriptor. When the next packet data arrives during the processing of these three packet data, the packet data is stored in the memory, and the corresponding descriptor is generated and connected to the descriptor chain. The received packet data is also processed without generating an interrupt.

前述した例によれば、タイマー割り込みにより一定時間に1回だけ割り込みを発生させればよいことになり、割り込みの回数を低減することができる。   According to the above-described example, it is only necessary to generate an interrupt once every predetermined time by a timer interrupt, and the number of interrupts can be reduced.

図4は本発明の一実施形態での受信パケット数による割り込みによりパケットの処理を行う例を説明する図である。図4には、図8により説明した場合と同様に、メモリ上に展開されているディスクリプタを示しており、ディスクリプタの個数はシステムの仕様により任意に決定することができる。図3においても、濃い色が空のディスクリプタであり、白抜きが未処理のパケットデータがあるディスクリプタを示している。   FIG. 4 is a diagram illustrating an example in which a packet is processed by an interruption based on the number of received packets according to an embodiment of the present invention. FIG. 4 shows the descriptors developed on the memory as in the case described with reference to FIG. 8, and the number of descriptors can be arbitrarily determined according to the system specifications. In FIG. 3 as well, a dark color is an empty descriptor, and an outline is a descriptor with unprocessed packet data.

本発明の実施形態は、パケット数による割り込みの処理を行う場合のために、ASIC内に予め設定した受信パケット数を計数するカウンタ(減算カウンタまたは加算カウンタ)を備えている。そして、ネットワークから最初のパケットデータが受信されると、受信パケット数を計数するカウンタが起動され、一定数のパケットデータが受信されると、受信されたパケットデータの処理のために割り込みが発生する。例えば、パケットデータの受信数が5に設定されていたとすれば、最初のパケットデータの受信から全部で5つのパケットデータが受信されるまでの間、割り込みが発生することはなく、5つのパケットデータが受信された後に割り込みが発生する。発生した割り込みにより、5つのパケットデータは、ディスクリプタに格納された5つのパケットデータの情報に従ってソフトウェアにより処理されることになる。なお、この5つのパケットデータの処理中に、次のパケットデータが到来した場合、そのパケットデータは、メモリに格納され、対応するディスクリプタが生成され、ディスクリプタのチェーンに接続されるので、この途中で受信されパケットデータも、割り込みを発生させることなく処理されることになる。   The embodiment of the present invention includes a counter (a subtraction counter or an addition counter) that counts the number of received packets set in advance in the ASIC for the case of performing an interrupt process based on the number of packets. When the first packet data is received from the network, a counter for counting the number of received packets is activated. When a certain number of packet data is received, an interrupt is generated for processing the received packet data. . For example, if the reception number of packet data is set to 5, no interruption occurs between the reception of the first packet data and the reception of a total of 5 packet data, and 5 packet data An interrupt is generated after is received. Due to the generated interrupt, the five packet data are processed by software according to the information of the five packet data stored in the descriptor. When the next packet data arrives during the processing of these five packet data, the packet data is stored in the memory, the corresponding descriptor is generated, and connected to the descriptor chain. The received packet data is also processed without generating an interrupt.

前述した例によれば、パケットデータの所定数の受信により割り込みが発生するので、設定した数のパケットデータの受信時に1回だけ割り込みを発生させればよいことになり、割り込みの回数を低減することができる。   According to the above-described example, an interrupt is generated when a predetermined number of packet data is received. Therefore, it is only necessary to generate an interrupt once when a set number of packet data is received, thereby reducing the number of interrupts. be able to.

前述では、タイマーによる割り込みとパケット数による割り込みとについて説明したが、これらは、単独で使用することもできるが、実際には、タイマー割り込みとパケット数による割り込みとの2つ割り込みを併用することが望ましい。その理由は、タイマー割り込みによる時間で待っている間に、ディスクリプタがオーバーフローとなってしまう場合や、パケット数による割り込みのために設定したパケット数以下で、いつまでもパケットデータが転送されず、メモリ上に未処理のパケットデータが残り続ける場合等が考えられるからである。   In the above description, the interrupt by the timer and the interrupt by the number of packets have been described. However, these can be used alone, but in practice, two interrupts of the timer interrupt and the interrupt by the number of packets may be used in combination. desirable. The reason is that the descriptor overflows while waiting for the timer interrupt time, or the packet data is not transferred indefinitely in the memory if it is less than the number of packets set for the interrupt due to the number of packets. This is because there may be a case where unprocessed packet data remains.

図5はタイマー割り込みとパケット数による割り込みとの2つ割り込みを併用した場合で、タイマー割り込みが先に発生した場合の動作を説明する図である。図5において、図の上から下に向けて時間が経過しているものとする。また、パケットのカウントとタイマーによる計時は、図5の図示しない上方の位置で開始されているものとする。   FIG. 5 is a diagram for explaining the operation in the case where the timer interrupt and the interrupt based on the number of packets are used in combination, and the timer interrupt occurs first. In FIG. 5, it is assumed that time has passed from the top to the bottom of the figure. Further, it is assumed that the packet count and the time measurement by the timer are started at an upper position (not shown) in FIG.

図5において、パケット数のカウンタが所定の受信パケット数に達しない状態で、時刻t1でタイマーが所定の時間を計時してタイマーカウントを停止すると、タイマー割り込みがCPUに対して発せられ、CPUが受信したパケットデータの処理に入る。このタイマーのカウントの停止により、同時に受信パケットを計数するカウンタも停止させられる。そして、時刻t2でCPUでのパケットデータの処理が終了すると、タイマー割り込みの要因がクリアされる。また、同時に、タイマーが再びカウントを開始することができる状態にされる。タイマー割り込みがクリアされるということは、パケットデータの処理が終了したということであるので、同時にパケット数による割り込みのためのカウンタもクリアする。このように、本発明の実施形態は、タイマー割り込みのカウンタをクリアすると同時にパケット数による割り込みのカウント数をクリアし、再びカウントを開始することができるようにする。なお、タイマーとしてのカウンタ、パケット数のカウンタは、メモリ内にレジスタを用意して構成することができる。   In FIG. 5, when the timer counts a predetermined time and stops the timer count at time t1 in a state where the packet number counter does not reach the predetermined number of received packets, a timer interrupt is issued to the CPU. The received packet data is processed. By stopping the timer count, the counter for counting received packets is also stopped at the same time. Then, when the processing of the packet data in the CPU ends at time t2, the cause of the timer interruption is cleared. At the same time, the timer is brought into a state where it can start counting again. The fact that the timer interrupt is cleared means that the processing of the packet data has ended, and at the same time, the counter for the interrupt based on the number of packets is also cleared. As described above, according to the embodiment of the present invention, the timer interrupt counter is cleared, and at the same time, the interrupt count according to the number of packets is cleared so that the count can be started again. The counter as a timer and the counter for the number of packets can be configured by preparing a register in the memory.

図6はタイマー割り込みとパケット数による割り込みとの2つ割り込みを併用した場合で、パケット数による割り込みが先に発生した場合の動作を説明する図である。図6において、図の上から下に向けて時間が経過しているものとする。また、パケットのカウントとタイマーによる計時は、図6の図示しない上方の位置で開始されているものとする。   FIG. 6 is a diagram for explaining the operation when an interrupt based on the number of packets first occurs when two interrupts of a timer interrupt and an interrupt based on the number of packets are used in combination. In FIG. 6, it is assumed that time has passed from the top to the bottom of the figure. Further, it is assumed that the packet count and the time measurement by the timer are started at an upper position (not shown) in FIG.

図6において、タイマーカウンタが所定の時間の計時を終了しない状態で、時刻t1でパケット計数カウンタが所定の受信パケットをカウントしてカウントを停止すると、パケット数による割り込みがCPUに対して発せられ、CPUが受信したパケットデータの処理に入る。このパケット数のカウントの停止により、同時にタイマーカウンタも停止させられる。そして、時刻t2でCPUでのパケットデータの処理が終了すると、パケット数による割り込みの要因がクリアされる。また、同時に、タイマーが再びカウントを開始することができる状態にされる。パケット数による割り込みがクリアされるということは、パケットデータの処理が終了したということであるので、同時にタイマーによる割り込みのためのカウンタもクリアする。このように、本発明の実施形態は、パケット数による割り込みのカウンタをクリアすると同時にタイマーによる割り込みのカウント数をクリアし、再びカウントを開始することができるようにする。なお、タイマーとしてのカウンタ、パケット数のカウンタは、メモリ内にレジスタを用意して構成することができる。   In FIG. 6, when the packet counter counter counts a predetermined received packet and stops counting at time t1 in a state where the timer counter does not finish measuring the predetermined time, an interrupt based on the number of packets is issued to the CPU. The CPU starts processing the packet data received. By stopping the counting of the number of packets, the timer counter is also stopped at the same time. When the packet data processing at the CPU ends at time t2, the cause of the interruption due to the number of packets is cleared. At the same time, the timer is brought into a state where it can start counting again. The fact that the interrupt due to the number of packets is cleared means that the processing of the packet data has ended, and at the same time, the counter for the interrupt due to the timer is also cleared. As described above, the embodiment of the present invention clears the interrupt counter based on the number of packets and simultaneously clears the interrupt count based on the timer so that the counting can be started again. The counter as a timer and the counter for the number of packets can be configured by preparing a register in the memory.

前述において、タイマー割り込みとフレーム割り込みとが同時に発生した場合、本発明の実施形態では、フレーム割り込みを優先させることとする。また、タイマー割り込みとフレーム割り込みと使用している場合で、一方の割り込みが発生して、他方の割り込みを発生させないようにする処理は、ハードウェアで行っているが、ソフトウェアにより行うこともできる。また、それぞれの割り込みのカウンタを動作させるのは、ソフトウェアが処理を終了したという信号を送ってきてからである。   In the above description, when the timer interrupt and the frame interrupt occur simultaneously, the frame interrupt is given priority in the embodiment of the present invention. In addition, when the timer interrupt and the frame interrupt are used, the process of generating one interrupt and not generating the other interrupt is performed by hardware, but can also be performed by software. The interrupt counters are operated only after the software sends a signal indicating that the processing has been completed.

前述した本発明の実施形態は、受信したパケット数、または、時間による割り込み、あるいは、両者を併用する割り込みを行うとして説明したが、本発明は、受信したパケット数により割り込みを発生させる場合の変形例として、受信したパケットデータを格納するメモリのパケットデータが占めるメモリ容量にスレッショルドを設定して、このメモリ容量のスレッショルドを監視して割り込みを発生させるようにすることもできる。   In the above-described embodiment of the present invention, the number of received packets, the interruption by time, or the combination of both is described. However, the present invention is a modification in the case of generating an interrupt by the number of received packets. As an example, a threshold may be set for the memory capacity occupied by the packet data of the memory that stores the received packet data, and an interrupt may be generated by monitoring the threshold of the memory capacity.

図7は従来技術と本発明の実施形態とにおける受信パケットデータの処理を説明するタイミングチャートであり、次に、これについて説明する。   FIG. 7 is a timing chart for explaining processing of received packet data in the prior art and the embodiment of the present invention. Next, this will be described.

従来技術の場合、図7(a)に示すように、1つのパケットが受信される毎に割り込みが発生し、ソフトウェアがメモリ上でデータを処理する実パケット処理時間が発生する。このため、割り込み発生の頻度が大きくなり、割り込み発生のバス占有率が上がりシステムのパフォーマンスが落ちてしまう。   In the case of the prior art, as shown in FIG. 7A, an interrupt is generated every time one packet is received, and an actual packet processing time is required for the software to process data on the memory. For this reason, the frequency of occurrence of interrupts increases, the bus occupancy rate of interrupts increases, and the performance of the system decreases.

図7(b)に示している例は、本発明の実施形態によるもので、受信したパケット数(受信パケット数を3に設定した場合)、または、時間による割り込み(設定時間内に3つのパケットが受信去れた場合)の例で、割り込みが発生すると、3つのパケットデータが、1つの割り込みだけで順に処理されている。このため、この例では、3つの割り込み処理時間を1つに短縮することができる。   The example shown in FIG. 7B is according to the embodiment of the present invention, and the number of received packets (when the number of received packets is set to 3) or interruption by time (three packets within the set time). When an interrupt occurs, three packet data are sequentially processed with only one interrupt. For this reason, in this example, the three interrupt processing times can be reduced to one.

図7(c)に示す例は、前述で受信したパケット数により割り込みを発生させる場合の変形例として説明したメモリ容量によるスレッショルドにより割り込みを発生させる例である。この例では、ネットワークからのパケットのバイト数によりメモリ容量との対比でスレッショルドを超えた場合に割り込みを発生させている。この例では、例えば、メモリ容量がの4分の3がちょうどパケット1から3であった場合、その容量のスレッショルドを超えると割り込みを発生させている。この方法は、メモリ上でデータを処理するソフト側の処理がバイト数で考えられている場合に有効な方法である。   The example shown in FIG. 7C is an example in which an interrupt is generated by the threshold based on the memory capacity described as a modification in the case of generating an interrupt depending on the number of packets received as described above. In this example, an interrupt is generated when the threshold is exceeded in comparison with the memory capacity due to the number of bytes of packets from the network. In this example, for example, if 3/4 of the memory capacity is just packets 1 to 3, an interrupt is generated when the threshold of that capacity is exceeded. This method is effective when processing on the software side that processes data on the memory is considered in terms of the number of bytes.

図7(d)に示す例は、パケット数による割り込みだけを使用した場合に、いつまで待っても受信パケット数が設定値にならずに、パケットデータの処理が進まなくなることを防止するため、時間による割り込みを併用した場合の例である。例えば、パケットが2個しか到来しなかったとしても、時間による割り込みを併用することにより、t秒たてば時間による割り込みを発生させてパケットデータの処理を行うことができることになる。この時間の設定値は、任意であり、動作クロックにより設定することができる。   In the example shown in FIG. 7D, when only the interruption based on the number of packets is used, in order to prevent packet data processing from proceeding without waiting until the number of received packets does not reach the set value, This is an example in the case of using an interrupt due to. For example, even if only two packets have arrived, packet data can be processed by generating an interrupt by time after t seconds by using an interrupt by time. The set value of this time is arbitrary and can be set by the operation clock.

前述した本発明の実施形態は、ネットワークから到来するパケットデータの到来頻度が、システム側(ASICを備えて構成される情報処理装置、画像形成装置)で充分に処理可能な程度であることを前提としていたが、システム側での処理が追いつかないような頻度でデータパケットが到来するような場合、本発明の実施形態では、ポーズパケットを一定の間隔でネットワークに送信し、ネットワークから到来するパケットデータを制限するようにすることもできる。   The above-described embodiment of the present invention is based on the premise that the arrival frequency of packet data coming from the network is such that it can be sufficiently processed on the system side (information processing apparatus and image forming apparatus configured with an ASIC). However, if the data packet arrives at such a frequency that the processing on the system side cannot catch up, in the embodiment of the present invention, the pause packet is transmitted to the network at regular intervals, and the packet data coming from the network It can also be made to restrict.

前述した本発明の実施形態によれば、受信パケット数、または、タイマーの設定値により割り込みを発生させることができ、パケットの受信毎に割り込みを発生させる必要がなくなるため、CPUの負荷を低減して、システムのパフォーマンスを向上させることができる。   According to the embodiment of the present invention described above, an interrupt can be generated according to the number of received packets or a set value of a timer, and it is not necessary to generate an interrupt every time a packet is received. System performance can be improved.

本発明が適用される画像形成装置の一実施形態の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of an embodiment of an image forming apparatus to which the present invention is applied. 本発明が適用される画像形成装置の一実施形態の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of one Embodiment of the image forming apparatus with which this invention is applied. 本発明の一実施形態での時間による割り込みによりパケットの処理を行う例を説明する図である。It is a figure explaining the example which processes a packet by interruption by time in one Embodiment of this invention. 本発明の一実施形態での受信パケット数による割り込みによりパケットの処理を行う例を説明する図である。It is a figure explaining the example which processes a packet by the interruption by the number of received packets in one Embodiment of this invention. タイマー割り込みとパケット数による割り込みとの2つ割り込みを併用した場合で、タイマー割り込みが先に発生した場合の動作を説明する図である。It is a figure explaining the operation | movement when a timer interruption generate | occur | produces first, when using two interruptions of a timer interruption and interruption by the number of packets together. タイマー割り込みとパケット数による割り込みとの2つ割り込みを併用した場合で、パケット数による割り込みが先に発生した場合の動作を説明する図である。It is a figure explaining the operation | movement when the interruption by a packet number generate | occur | produces first in the case of using two interruptions of a timer interruption and the interruption by a packet number together. 従来技術と本発明の実施形態とにおける受信パケットデータの処理を説明するタイミングチャートであり、It is a timing chart explaining processing of received packet data in the prior art and the embodiment of the present invention, 従来技術によるパケットデータ受信とその処理の動作について説明する図である。It is a figure explaining operation of packet data reception by the prior art, and its processing.

符号の説明Explanation of symbols

100 画像形成装置
101 ネットワーク
102 CPU
103、107 ASIC
104 メモリ
105 MAC
106 画像形成部
81 インタフェース
82 コントローラ
100 Image forming apparatus 101 Network 102 CPU
103, 107 ASIC
104 memory 105 MAC
106 Image forming unit 81 Interface 82 Controller

Claims (18)

ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICは、予め定めた数の複数のパケットデータの受信を行ったときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とするネットワーク割り込み制御方法。   In a network interrupt control method for receiving data transmitted via a network in an information processing apparatus or an image forming apparatus having an ASIC for connecting to a network, the ASIC includes a predetermined number of packet data. A network interrupt control method characterized in that when a reception is performed, an interrupt is generated for a CPU connected to the own ASIC to process the received data. ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICは、予め定めた一定の時間毎に、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせることを特徴とするネットワーク割り込み制御方法。   In the network interrupt control method for receiving data transmitted via the network in an information processing apparatus or image forming apparatus having an ASIC for connecting to the network, the ASIC is automatically updated at predetermined time intervals. What is claimed is: 1. A network interrupt control method, comprising: causing a CPU connected to an ASIC to generate an interrupt and processing received data within a predetermined time. 前記一定時間の計時は、最初のパケットデータが受信されたときに開始されることを特徴とする請求項2記載のネットワーク割り込み制御方法。   3. The network interrupt control method according to claim 2, wherein the counting of the predetermined time is started when the first packet data is received. ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICは、予め定めた数の複数のパケットデータの受信を行ったとき、及び、予め定めた一定の時間毎に、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とするネットワーク割り込み制御方法。   In a network interrupt control method for receiving data transmitted via a network in an information processing apparatus or an image forming apparatus having an ASIC for connecting to a network, the ASIC includes a predetermined number of packet data. A network interrupt control method characterized by causing a CPU connected to its own ASIC to generate an interrupt and processing the received data at the time of reception and at predetermined time intervals. 前記予め定めた数の複数のパケットデータの受信を行ったときの割り込みの発生、予め定めた一定の時間毎の割り込みの発生の一方が先に発生した場合、他方の割り込みの発生が停止されることを特徴とする請求項4記載のネットワーク割り込み制御方法。   When one of the occurrence of an interrupt when receiving a predetermined number of packet data and the occurrence of an interrupt every predetermined time interval occurs first, the generation of the other interrupt is stopped 5. The network interrupt control method according to claim 4, wherein: ネットワークとの接続を行うASICを有する情報処理装置あるいは画像形成装置でのネットワークを介して送信されてくるデータ受信時のネットワーク割り込み制御方法において、前記ASICは、受信したパケットデータを自ASICに接続されたメモリに格納し、格納されたパケットデータの容量が予め定めた容量になったとき、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせることを特徴とするネットワーク割り込み制御方法。   In the network interrupt control method when receiving data transmitted via the network in an information processing apparatus or image forming apparatus having an ASIC that connects to the network, the ASIC connects the received packet data to its own ASIC. When the capacity of the stored packet data reaches a predetermined capacity, the CPU connected to the ASIC is interrupted to process the received data. Network interrupt control method. ネットワークとの接続を行うASICを有する情報処理装置において、前記ASICは、受信したパケットデータの数をカウントするカウンタと、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする情報処理装置。   In an information processing apparatus having an ASIC that connects to a network, the ASIC includes a counter that counts the number of received packet data and a counter that counts reception of a predetermined number of packet data. An information processing apparatus comprising: means for generating an interrupt to a CPU connected to the own ASIC and processing the received data. ネットワークとの接続を行うASICを有する情報処理装置において、前記ASICは、所定時間を計時する計時手段と、該計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする情報処理装置。   In an information processing apparatus having an ASIC for connecting to a network, the ASIC includes a time measuring means for measuring a predetermined time, and a CPU connected to the own ASIC when the time measuring means measures a predetermined time. An information processing apparatus comprising: means for generating an interrupt to process data received within a predetermined time. 前記計時手段は、最初のパケットデータが受信されたときに計時を開始させることを特徴とする請求項8記載の情報処理装置。   9. The information processing apparatus according to claim 8, wherein the time measuring unit starts time counting when the first packet data is received. ネットワークとの接続を行うASICを有する情報処理装置において、前記ASICは、受信したパケットデータの数をカウントするカウンタと、所定時間を計時する計時手段と、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたとき、あるいは、前記計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする情報処理装置。   In an information processing apparatus having an ASIC that connects to a network, the ASIC receives a counter that counts the number of received packet data, a time measuring unit that measures a predetermined time, and reception of a predetermined number of packet data. When the counter counts or when the time measuring means measures a predetermined time, processing of data received within a predetermined time by generating an interrupt to the CPU connected to the ASIC And an information processing apparatus. 前記予め定めた数の複数のパケットデータの受信を行ったときの割り込みの発生、予め定めた一定の時間毎の割り込みの発生の一方が先に発生した場合に、他方の割り込みの発生を停止させる手段を有することを特徴とする請求項10記載の情報処理装置。   When one of the generation of an interrupt when receiving a predetermined number of packet data and the generation of an interrupt at a predetermined fixed time occurs first, the generation of the other interrupt is stopped. The information processing apparatus according to claim 10, further comprising: means. ネットワークとの接続を行うASICを有する情報処理装置において、前記ASICは、受信したパケットデータを自ASICに接続されたメモリに格納する手段と、格納されたパケットデータの容量が予め定めた容量になったことを判別する判別手段と、該判別手段がパケットデータの容量が予め定めた容量になったことを判別したときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする情報処理装置。   In an information processing apparatus having an ASIC for connecting to a network, the ASIC stores means for storing received packet data in a memory connected to its own ASIC, and the capacity of the stored packet data becomes a predetermined capacity. And a data received by generating an interrupt to the CPU connected to the ASIC when the determination means determines that the capacity of the packet data has reached a predetermined capacity. An information processing apparatus comprising: means for performing the process. ネットワークとの接続を行うASICを有する画像形成装置において、前記ASICは、受信したパケットデータの数をカウントするカウンタと、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする画像形成装置。   In an image forming apparatus having an ASIC for connecting to a network, the ASIC includes a counter that counts the number of received packet data and a counter that counts reception of a predetermined number of packet data. An image forming apparatus comprising: means for generating an interrupt to a CPU connected to the own ASIC and processing the received data. ネットワークとの接続を行うASICを有する画像形成装置において、前記ASICは、所定時間を計時する計時手段と、該計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする画像形成装置。   In an image forming apparatus having an ASIC for connecting to a network, the ASIC includes a time measuring means for measuring a predetermined time, and a CPU connected to the own ASIC when the time measuring means measures a predetermined time. An image forming apparatus comprising: means for generating an interrupt to process received data within a predetermined time. 前記計時手段は、は、最初のパケットデータが受信されたときに計時を開始させることを特徴とする請求項8記載の画像形成装置。   9. The image forming apparatus according to claim 8, wherein the time measuring unit starts time counting when the first packet data is received. ネットワークとの接続を行うASICを有する画像形成装置において、前記ASICは、受信したパケットデータの数をカウントするカウンタと、所定時間を計時する計時手段と、予め定めた数の複数のパケットデータの受信を前記カウンタがカウントしたとき、あるいは、前記計時手段が予め定めた一定の時間を計時したときに、自ASICに接続されたCPUに対して割り込みを発生させて一定時間内に受信したデータの処理を行わせる手段とを有することを特徴とする画像形成装置。   In an image forming apparatus having an ASIC that connects to a network, the ASIC receives a counter that counts the number of received packet data, a time measuring unit that measures a predetermined time, and reception of a predetermined number of packet data. When the counter counts or when the time measuring means measures a predetermined time, processing of data received within a predetermined time by generating an interrupt to the CPU connected to the ASIC And an image forming apparatus. 前記予め定めた数の複数のパケットデータの受信を行ったときの割り込みの発生、予め定めた一定の時間毎の割り込みの発生の一方が先に発生した場合に、他方の割り込みの発生を停止させる手段を有することを特徴とする請求項10記載の画像形成装置。   When one of the generation of an interrupt when receiving a predetermined number of packet data and the generation of an interrupt at a predetermined fixed time occurs first, the generation of the other interrupt is stopped. 11. The image forming apparatus according to claim 10, further comprising: means. ネットワークとの接続を行うASICを有する画像形成装置において、前記ASICは、受信したパケットデータを自ASICに接続されたメモリに格納する手段と、格納されたパケットデータの容量が予め定めた容量になったことを判別する判別手段と、該判別手段がパケットデータの容量が予め定めた容量になったことを判別したときに、自ASICに接続されたCPUに対して割り込みを発生させて受信したデータの処理を行わせる手段とを有することを特徴とする画像形成装置。   In an image forming apparatus having an ASIC that is connected to a network, the ASIC stores a received packet data in a memory connected to the ASIC, and a capacity of the stored packet data becomes a predetermined capacity. And a data received by generating an interrupt to the CPU connected to the ASIC when the determination means determines that the capacity of the packet data has reached a predetermined capacity. And an image forming apparatus.
JP2004079381A 2004-03-19 2004-03-19 Network interrupt control method, information processing apparatus, and image forming apparatus Expired - Fee Related JP4541007B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004079381A JP4541007B2 (en) 2004-03-19 2004-03-19 Network interrupt control method, information processing apparatus, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004079381A JP4541007B2 (en) 2004-03-19 2004-03-19 Network interrupt control method, information processing apparatus, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2005267294A true JP2005267294A (en) 2005-09-29
JP4541007B2 JP4541007B2 (en) 2010-09-08

Family

ID=35091775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004079381A Expired - Fee Related JP4541007B2 (en) 2004-03-19 2004-03-19 Network interrupt control method, information processing apparatus, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4541007B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218357A (en) * 2009-03-18 2010-09-30 Fuji Xerox Co Ltd Interrupt control apparatus and image forming apparatus
JP2010277434A (en) * 2009-05-29 2010-12-09 Renesas Electronics Corp Semiconductor integrated circuit
JP2011154023A (en) * 2010-01-25 2011-08-11 Advantest Corp Test device and test method
JP2013012009A (en) * 2011-06-29 2013-01-17 Renesas Electronics Corp Host controller device, information processor, and event information output method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09223091A (en) * 1995-07-07 1997-08-26 Sun Microsyst Inc Interruption controller for receiving high-speed burst network traffic
JPH10312360A (en) * 1997-05-13 1998-11-24 Sony Corp Method for reception processing and reception device
JP2001014243A (en) * 1999-07-01 2001-01-19 Mitsubishi Electric Corp Reception interrupt processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09223091A (en) * 1995-07-07 1997-08-26 Sun Microsyst Inc Interruption controller for receiving high-speed burst network traffic
JPH10312360A (en) * 1997-05-13 1998-11-24 Sony Corp Method for reception processing and reception device
JP2001014243A (en) * 1999-07-01 2001-01-19 Mitsubishi Electric Corp Reception interrupt processor

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218357A (en) * 2009-03-18 2010-09-30 Fuji Xerox Co Ltd Interrupt control apparatus and image forming apparatus
US8250272B2 (en) 2009-03-18 2012-08-21 Fuji Xerox Co., Ltd. Interrupt control apparatus and image forming apparatus
JP2010277434A (en) * 2009-05-29 2010-12-09 Renesas Electronics Corp Semiconductor integrated circuit
JP2011154023A (en) * 2010-01-25 2011-08-11 Advantest Corp Test device and test method
CN102193056A (en) * 2010-01-25 2011-09-21 爱德万测试株式会社 Test apparatus and test method
JP2013012009A (en) * 2011-06-29 2013-01-17 Renesas Electronics Corp Host controller device, information processor, and event information output method
US8924614B2 (en) 2011-06-29 2014-12-30 Renesas Electronics Corporation Host controller apparatus, information processing apparatus, and event information output method
US9201822B2 (en) 2011-06-29 2015-12-01 Renesas Electronics Corporation Host controller apparatus, information processing apparatus, and event information output method

Also Published As

Publication number Publication date
JP4541007B2 (en) 2010-09-08

Similar Documents

Publication Publication Date Title
US7672328B2 (en) WLAN transmit scheduler comprising an accelerated back-off function
CN103997465A (en) Method and device for generating CNM
JP2002135257A (en) Data processor for serial communication
CN113722069A (en) Novel bus polling scheduling method and system based on FPGA
CN101924679A (en) Message rate-limiting method of Ethernet port, device and data communication device
US7177963B2 (en) System and method for low-overhead monitoring of transmit queue empty status
JP4541007B2 (en) Network interrupt control method, information processing apparatus, and image forming apparatus
JP2009194504A (en) Computer device and packet reception control method
CN101593048B (en) Realizing method of scroll ball
CN101593046A (en) A kind of implementation method of spin
CN110505607B (en) Communication method based on Bluetooth safety equipment, bluetooth chip and Bluetooth safety equipment
JP5428416B2 (en) Multitask processing apparatus and method, and program
JPH11237993A (en) Method and device for controlling task priority
JP4733735B2 (en) WLAN transmission scheduler with accelerated backoff function
EP1894337A1 (en) Methods and receives of data transmission using clock domains
JP2006195607A (en) Method and circuit for determining bulk-out transfer end
JP5586442B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE DATA TRANSFER METHOD, AND COMMUNICATION PROGRAM
EP4401363A1 (en) Physical layer collision avoidance device and method for performing emergency transmission thereof
JP2000076163A (en) Real time communication device and system
JP4219835B2 (en) Data generation apparatus and data transmission method
JP2000299716A (en) Data receiver and data receiving method
JPS6381553A (en) Interruption management system
JP2005032036A (en) Device for automatically setting interruption interval value for channel card
JPH08265364A (en) Congestion control system
JPH06334705A (en) Communication controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100419

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

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

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

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees