JP2010273227A - Network communication device - Google Patents

Network communication device Download PDF

Info

Publication number
JP2010273227A
JP2010273227A JP2009124781A JP2009124781A JP2010273227A JP 2010273227 A JP2010273227 A JP 2010273227A JP 2009124781 A JP2009124781 A JP 2009124781A JP 2009124781 A JP2009124781 A JP 2009124781A JP 2010273227 A JP2010273227 A JP 2010273227A
Authority
JP
Japan
Prior art keywords
communication
data
communication control
control means
nic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009124781A
Other languages
Japanese (ja)
Inventor
Tetsuya Kuwabara
哲也 桑原
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2009124781A priority Critical patent/JP2010273227A/en
Publication of JP2010273227A publication Critical patent/JP2010273227A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network communication device capable of reducing power consumption without interrupting a communication operation. <P>SOLUTION: An NIC 10 to be used as a network communication device includes a first NIC 100 for performing communication via a LAN 51 and a second NIC 120 connected to the first NIC 100 via a bus 23 and capable of taking a normal power state and a low power consumption state. The first NIC 100 includes a receiving part 101, a power state determination part 105 for determining a power state of the second NIC 120, a start signal output part 107 for outputting a start signal when data is received and the second NIC 120 is determined as a low power consumption state, a storage part 104 for storing data received up to the start of the second NIC 120, a bus transfer part 108 for transferring the stored data to the second NIC 120 after starting the second NIC 120, and a transmission part 103 for replying to a response received from the second NIC 120. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ネットワークを介して通信を行うネットワーク通信装置に関する。   The present invention relates to a network communication apparatus that performs communication via a network.

近年、CO排出量削減等の観点から、電気機器の低消費電力化が社会的に求められている。例えばLAN等のネットワークに接続されるネットワーク機器においては、待機時にCPUやハードディスク等の電源を停止し、ネットワークに直接接続しているネットワークインターフェースコントローラ(NIC)のみを動作させることにより省電力化を実現したものが知られている。 Recently, from the viewpoint of reducing CO 2 emissions, power consumption of the electric equipment has been required socially. For example, in a network device connected to a network such as a LAN, power is saved by stopping the power supply of the CPU and hard disk during standby and operating only the network interface controller (NIC) directly connected to the network. Is known.

このようなネットワーク機器として、特許文献1には、ネットワークを介して接続された他の装置との通信を行うネットワーク通信部と、少なくとも1つ以上のアプリケーション機能部を含むアプリケーションシステム部とを有し、アプリケーションシステム部を低消費電力状態とし、ネットワーク通信部のみ動作させることができるアプリケーション装置が開示されている。このアプリケーション装置では、アプリケーションシステム部が低消費電力状態のときに、他の装置からのアプリケーション機能部に係る通信の開始要求を受け取ると、ネットワーク通信部が、アプリケーションシステム部を低消費電力状態から通常電力状態へと復帰させるように構成されている。   As such a network device, Patent Literature 1 includes a network communication unit that performs communication with other devices connected via a network, and an application system unit that includes at least one application function unit. An application device is disclosed in which the application system unit is set in a low power consumption state and only the network communication unit can be operated. In this application device, when the application system unit is in a low power consumption state and receives a request to start communication related to the application function unit from another device, the network communication unit normally removes the application system unit from the low power consumption state. It is configured to return to the power state.

特開2007−183797号公報JP 2007-183797 A

上述したように、特許文献1記載のアプリケーション装置では、待機時に、アプリケーションシステム部を低消費電力状態とし、ネットワーク通信部のみ動作させることにより、装置の省電力化を図っている。しかしながら、上記ネットワーク通信部は、ネットワークを介して送られてくる他の装置からの通信の開始要求に何時でも対応できるように常時稼動させておく必要があり、低消費電力状態にすることができない。そのため、通信動作を妨げることなく、ネットワーク通信部の省電力化を図ることは困難であった。   As described above, in the application apparatus described in Patent Document 1, the application system unit is set in a low power consumption state during standby, and only the network communication unit is operated to save power in the apparatus. However, the network communication unit must always be operated so as to be able to respond to communication start requests from other devices sent via the network at any time, and cannot be brought into a low power consumption state. . For this reason, it has been difficult to save power in the network communication unit without hindering the communication operation.

本発明は、上記問題点を解消する為になされたものであり、通信動作を妨げることなく、消費電力をより低減することが可能なネットワーク通信装置を提供することを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a network communication apparatus capable of further reducing power consumption without hindering communication operation.

本発明に係るネットワーク通信装置は、ネットワークを介して通信端末と接続され、該通信端末との間で通信を行なう第1通信制御手段と、第1通信制御手段と通信路を介して接続され、通常電力状態と低消費電力状態とを取り得る第2通信制御手段とを備え、第1通信制御手段が、通信端末からネットワークを介してデータを受信する受信手段と、第2通信制御手段の電力状態を判定する判定手段と、受信手段によりデータが受信され、かつ、判定手段により第2通信制御手段が低消費電力状態であると判定された場合に、第2通信制御手段に対して、該第2通信制御手段を起動させるための起動信号を出力する起動手段と、第2通信制御手段が起動されるまでの間受信手段により受信されたデータを記憶する記憶手段と、第2通信制御手段が起動されて低消費電力状態から通常電力状態に遷移したと判定された場合に、第2通信制御手段が起動するまでに受信されて記憶手段に記憶されているデータを第2通信制御手段に通信路を介して転送するとともに、第2通信制御手段が通常電力状態にあるときに、受信手段により受信されたデータを第2通信制御手段に通信路を介して転送する転送手段と、受信手段により受信されたデータに対する応答、又は、第2通信制御手段から受け取った応答を、ネットワークを介して通信端末へ出力する送信手段とを有し、第2通信制御手段が、転送手段により転送されたデータを、通信路を介して受け取る受取手段と、受取手段により受け取られたデータに対する応答を、通信路を介して、第1通信制御手段に出力する出力手段とを有することを特徴とする。   A network communication apparatus according to the present invention is connected to a communication terminal via a network, and is connected to the first communication control means for communicating with the communication terminal, and the first communication control means via a communication path, Second communication control means capable of taking a normal power state and a low power consumption state, wherein the first communication control means receives data from the communication terminal via the network, and power of the second communication control means When the data is received by the determination means for determining the state and the reception means, and the second communication control means is determined to be in the low power consumption state by the determination means, the second communication control means An activation means for outputting an activation signal for activating the second communication control means; a storage means for storing data received by the reception means until the second communication control means is activated; Is determined to have transitioned from the low power consumption state to the normal power state, the data received until the second communication control means is activated and stored in the storage means is stored in the second communication control means. A transfer unit that transfers the data received by the receiving unit to the second communication control unit via the communication path when the second communication control unit is in a normal power state and transfers the data via the communication channel; And a transmission unit that outputs a response to the data received by the communication unit or a response received from the second communication control unit to the communication terminal via the network, and the second communication control unit is transferred by the transfer unit. Receiving means for receiving data via a communication path; and output means for outputting a response to the data received by the receiving means to the first communication control means via the communication path. And wherein the door.

本発明に係るネットワーク通信装置によれば、装置が第1通信制御手段と第2通信制御手段とに分割されて構成され、例えば待機時に、第2通信制御手段が低消費電力状態(省電力モード)にされるとともに、第1通信制御手段のみが稼動されて、データの待ち受け動作が行われる。よって、データの待ち受け時に、ネットワーク通信装置の一部、すなわち第1通信制御手段を除いて低消費電力状態にすることができるため、ネットワーク通信装置の消費電力をより低減することが可能となる。また、ネットワークを介してデータが受信された場合には、第2通信制御手段が起動されるとともに、該第2通信制御手段が起動するまで、受信されたデータが記憶され、第2通信制御手段の起動後に、該第2通信制御手段にバスを介して転送される。一方、通信端末への応答は、第1通信制御手段を介して送信される。よって、第1通信制御手段と第2通信制御手段とが機能的に一体となって通信動作が実行される。その結果、通信動作を妨げることなく、消費電力をより低減することが可能となる。   According to the network communication apparatus of the present invention, the apparatus is divided into the first communication control means and the second communication control means. For example, during standby, the second communication control means is in a low power consumption state (power saving mode). In addition, only the first communication control means is operated, and a data waiting operation is performed. Therefore, when waiting for data, a part of the network communication device, that is, the first communication control means can be removed to make the power consumption state low, so that the power consumption of the network communication device can be further reduced. Further, when data is received via the network, the second communication control means is activated, and the received data is stored until the second communication control means is activated. Is transferred to the second communication control means via the bus. On the other hand, the response to the communication terminal is transmitted via the first communication control means. Accordingly, the first communication control means and the second communication control means are functionally integrated to execute a communication operation. As a result, the power consumption can be further reduced without hindering the communication operation.

本発明に係るネットワーク通信装置では、第1通信制御手段が、受信手段によりデータが受信され、かつ、判定手段により第2通信制御手段が低消費電力状態であると判断された場合に、第2通信制御手段を起動する必要があるか否かを判定する起動判定手段を備え、起動判定手段により第2通信制御手段を起動する必要があると判定された場合に、起動手段が、起動信号を出力することが好ましい。   In the network communication apparatus according to the present invention, when the first communication control unit receives data by the receiving unit and the determination unit determines that the second communication control unit is in the low power consumption state, the second communication control unit An activation determination unit that determines whether or not the communication control unit needs to be activated is provided. When the activation determination unit determines that the second communication control unit needs to be activated, the activation unit outputs an activation signal. It is preferable to output.

この場合、第2通信制御手段を起動する必要がある場合にのみ、第2通信制御手段が起動される。そのため、第2通信制御手段の稼働時間を必要最小限に抑えることができる。よって、ネットワーク通信装置の消費電力をより低減することが可能となる。   In this case, the second communication control means is activated only when it is necessary to activate the second communication control means. Therefore, the operation time of the second communication control unit can be minimized. Therefore, it is possible to further reduce the power consumption of the network communication device.

また、本発明に係るネットワーク通信装置では、第1通信制御手段が、起動判定手段により第2通信制御手段を起動する必要がないと判定された場合に、受信手段により受信されたデータに対する応答を生成する生成手段を有し、起動判定手段により第2通信制御手段を起動する必要がないと判定された場合に、送信手段が、生成手段により生成された応答を通信端末へ出力することが好ましい。   In the network communication device according to the present invention, when the first communication control unit determines that the second communication control unit does not need to be activated by the activation determination unit, the response to the data received by the reception unit is sent. Preferably, the transmitting unit outputs the response generated by the generating unit to the communication terminal when it is determined that the second determining unit does not need to be activated by the activation determining unit. .

このようにすれば、第2通信制御手段を起動する必要がない場合には、第2通信制御手段が起動されることなく、第1通信制御手段側で受信データに対する応答が行われる。そのため、第2通信制御手段の不必要な起動を抑制することができる。よって、ネットワーク通信装置の消費電力をより低減することが可能となる。   In this way, when there is no need to activate the second communication control means, the first communication control means side responds to the received data without activating the second communication control means. Therefore, unnecessary activation of the second communication control unit can be suppressed. Therefore, it is possible to further reduce the power consumption of the network communication device.

本発明に係るネットワーク通信装置では、第1通信制御手段が、受信手段により通信端末からのセッション確立要求信号が受信されたときに、該通信端末との間にセッションを確立するとともに、起動判定手段により第2通信制御手段を起動する必要があると判定された場合に、第2通信制御手段が起動されるまで、セッションを張った状態で通信端末に対してデータの送信を禁止する持続接続制御を実行する持続接続制御手段を有し、該持続接続制御手段が、第2通信制御手段が起動したと判定された場合に、通信端末に対してデータの送信を許可することが好ましい。   In the network communication apparatus according to the present invention, the first communication control means establishes a session with the communication terminal when the reception means receives a session establishment request signal from the communication terminal, and the activation determination means Persistent connection control for prohibiting data transmission to a communication terminal in a state where a session is established until it is determined that it is necessary to activate the second communication control means by the second communication control means It is preferable that the persistent connection control means for executing the communication is permitted, and when it is determined that the second communication control means is activated, the persistent connection control means permits the communication terminal to transmit data.

この場合、セッション確立要求信号が受信され、かつ第2通信制御手段を起動する必要があると判定されたときに、通信端末との間でセッションが確立されるとともに、第2通信制御手段に対して起動信号が出力される。また、第2通信制御手段が起動するまでの間、セッションを張った状態を保持しつつ通信端末に対してデータの送信を禁止する持続接続制御が実行される。よって、データを一時的に格納するための大容量メモリを第1通信制御手段側で備える必要がないため、メモリの消費電力を抑えることができる。また、このようにすれば、持続接続制御が解除される時点では、既にセッションが張られているため、迅速にデータ通信を開始することができる。   In this case, when the session establishment request signal is received and it is determined that the second communication control means needs to be activated, a session is established with the communication terminal, and the second communication control means Start signal is output. In addition, until the second communication control unit is activated, the persistent connection control is executed to prohibit the transmission of data to the communication terminal while maintaining the session extension state. Therefore, since it is not necessary to provide a large capacity memory for temporarily storing data on the first communication control means side, the power consumption of the memory can be suppressed. In this way, since the session has already been established when the persistent connection control is released, data communication can be started quickly.

本発明に係るネットワーク通信装置では、第1通信制御手段が、通信端末から受信される受信データを一時的に格納する受信バッファを有し、送信手段が、該受信バッファの空き容量に応じた受信可能データ量を所定の通信プロトコルに従って通信端末へ送信し、持続接続制御手段が、判定手段により第2通信制御手段が起動したと判定されるまで、受信可能データ量が該通信端末の最小送信可能データ量よりも小さくなるように、受信バッファから読み出すデータ量を非持続接続制御時よりも少なくすることが好ましい。   In the network communication apparatus according to the present invention, the first communication control means has a reception buffer for temporarily storing reception data received from the communication terminal, and the transmission means receives data according to the free capacity of the reception buffer. The possible data amount is transmitted to the communication terminal according to a predetermined communication protocol, and the receivable data amount can be transmitted to the communication terminal at a minimum until the persistent connection control means determines that the second communication control means is activated by the determination means. It is preferable that the amount of data read from the reception buffer is smaller than that during non-persistent connection control so as to be smaller than the amount of data.

このようにすれば、第2通信制御手段が起動するまで、受信可能データ量が該通信端末の最小送信可能データ量よりも小さくなるように、受信バッファから読み出されるデータ量が非持続接続制御時(すなわち通常制御時)よりも少なくされる。よって、該通信端末から受信されるデータ量よりも受信バッファから読み出されるデータ量が少なくなるため、受信バッファの空き容量が減少し、受信可能データ量として該通信端末の最小送信可能データ量よりも小さな値(典型的にはゼロ)が該通信端末に対して送信される。その結果、セッションを張った状態で該通信端末による送信データの送出を抑制すること、すなわち持続接続制御を実現することが可能となる。   In this way, until the second communication control means is activated, the amount of data read from the reception buffer is such that the amount of receivable data is smaller than the minimum amount of transmittable data of the communication terminal. (Ie, during normal control). Therefore, since the amount of data read from the reception buffer is smaller than the amount of data received from the communication terminal, the free capacity of the reception buffer is reduced, and the receivable data amount is smaller than the minimum transmittable data amount of the communication terminal. A small value (typically zero) is transmitted to the communication terminal. As a result, it is possible to suppress transmission of transmission data by the communication terminal in a state where a session is established, that is, to realize persistent connection control.

また、本発明に係るネットワーク通信装置では、持続接続制御手段が、持続接続制御を終了してセッション確立要求信号を送信した通信端末に対してデータの送信を許可する場合、受信可能データ量が該通信端末の最小送信可能データ量よりも大きくなるように、受信バッファから読み出すデータ量を持続接続制御時よりも多くすることが好ましい。   Further, in the network communication device according to the present invention, when the persistent connection control means permits the transmission of data to the communication terminal that ends the persistent connection control and transmits the session establishment request signal, the receivable data amount is It is preferable that the amount of data read from the reception buffer is larger than that at the time of continuous connection control so as to be larger than the minimum transmittable data amount of the communication terminal.

この場合、第2通信制御手段が起動され、持続接続制御が終了されるときに、受信バッファから読み出されるデータ量が持続接続制御時よりも増やされ、受信バッファの空き容量(すなわち受信可能データ量)が通信端末の最小送信可能データ量よりも大きくされる。そして、その空き容量に応じたサイズが受信可能データ量としてセッション確立要求信号を送信した通信端末に送信される。そのため、該通信端末が送信データを送出することができるようになり、第2通信制御手段の起動後に、持続接続制御から通常制御に円滑に移行することが可能となる。   In this case, when the second communication control means is activated and the continuous connection control is terminated, the amount of data read from the reception buffer is increased from that during the continuous connection control, and the free capacity of the reception buffer (that is, the receivable data amount) ) Is made larger than the minimum transmittable data amount of the communication terminal. Then, the size corresponding to the available capacity is transmitted as the receivable data amount to the communication terminal that has transmitted the session establishment request signal. For this reason, the communication terminal can transmit transmission data, and after the second communication control means is activated, it is possible to smoothly shift from the persistent connection control to the normal control.

本発明に係るネットワーク通信装置は、ネットワークを介して通信端末と接続され、該通信端末とのセッション確立を含むネットワーク通信機能を有する第1通信制御手段と、該第1通信制御手段と通信路により接続され、該第1通信制御手段を介して通信端末との間で通信を行う第2通信制御手段とを備え、省エネルギー状態を取り得るネットワーク通信装置であって、省エネルギー状態において、第1通信制御手段は通信可能であり、第2通信制御手段は通信不能であり、上記第1通信制御手段は、省エネルギー状態において、通信端末からネットワーク通信要求を受信すると、第2通信制御手段を起動するとともに、通信端末との間でセッション確立処理を実行し、該セッション確立処理で通信端末から受信した第1のデータを記憶し、通信端末との間でセッション確立処理が完了した後、セッションを確立した状態で通信端末に対してデータの送信を禁止する持続接続制御を実行し、第2通信制御手段が起動したことを検出すると、記憶している第1のデータを第2通信制御手段に転送して該第2通信制御手段との間で擬似的セッション確立処理を実行し、擬似的セッション確立処理の完了後、通信端末との間の持続接続制御を解除し、上記第2通信制御手段は、持続接続制御が解除された後、第1通信制御手段を介して、通信端末との間でデータ通信を実行する。   A network communication apparatus according to the present invention is connected to a communication terminal via a network and has a first communication control means having a network communication function including session establishment with the communication terminal, and the first communication control means and the communication path. And a second communication control unit that communicates with the communication terminal via the first communication control unit, and is a network communication device capable of taking an energy saving state, wherein the first communication control is performed in the energy saving state. The means is communicable, the second communication control means is incapable of communication, and the first communication control means activates the second communication control means upon receiving a network communication request from the communication terminal in the energy saving state, A session establishment process is executed with the communication terminal, and the first data received from the communication terminal in the session establishment process is stored. After the session establishment process is completed with the communication terminal, the persistent connection control for prohibiting the transmission of data to the communication terminal is executed in the state where the session is established, and it is detected that the second communication control means is activated. , Transferring the stored first data to the second communication control means, executing a pseudo session establishment process with the second communication control means, and after completing the pseudo session establishment process, The second communication control means performs data communication with the communication terminal via the first communication control means after the persistent connection control is released.

本発明に係るネットワーク通信装置によれば、省エネルギー状態で第2通信制御手段への給電を停止又は低減できる。また、第2通信制御手段の起動中に通信端末とのセッションが維持され、第2通信制御手段の起動完了後に擬似的セッション確立処理が実行される。そのため、第2通信制御手段の起動完了後、迅速に第2通信制御手段と通信端末とのデータ通信が開始できる。   The network communication apparatus according to the present invention can stop or reduce the power supply to the second communication control means in an energy saving state. In addition, a session with the communication terminal is maintained during activation of the second communication control means, and a pseudo session establishment process is executed after completion of activation of the second communication control means. Therefore, after the activation of the second communication control means is completed, data communication between the second communication control means and the communication terminal can be started quickly.

本発明に係るネットワーク通信装置では、第1通信制御手段が、ネットワーク通信要求の内容を解析して第2通信制御手段の起動要否を判定し、起動が必要であると判断した場合、第2通信制御手段を起動させるとともに、通信端末との間でセッション確立処理を実行し、起動が不要であると判断した場合、第2通信制御手段を起動させることなく、通信端末との間でセッション確立処理を実行する。このようにすれば、必要な場合のみ第2通信制御手段を起動させるので、通信装置の省エネルギー化を図ることができる。   In the network communication apparatus according to the present invention, when the first communication control unit analyzes the content of the network communication request to determine whether or not the second communication control unit needs to be activated, Activating the communication control means, executing session establishment processing with the communication terminal, and establishing a session with the communication terminal without activating the second communication control means when it is determined that activation is not necessary Execute the process. In this way, the second communication control means is activated only when necessary, so that energy saving of the communication device can be achieved.

本発明に係るネットワーク通信装置では、第1通信制御手段が、セッション確立処理において通信端末へ送信した第2のデータを記憶し、第2通信制御手段との擬似的セッション確立処理において、第2通信制御手段から受取ったデータと記憶している第2のデータとを比較し、一致する場合、受取ったデータに対する応答となるデータを第2通信制御手段に転送する。このようにすれば、擬似的セッション確立処理の確実性を向上できる。   In the network communication apparatus according to the present invention, the first communication control unit stores the second data transmitted to the communication terminal in the session establishment process, and the second communication is performed in the pseudo session establishment process with the second communication control unit. The data received from the control means is compared with the stored second data, and if they match, the data serving as a response to the received data is transferred to the second communication control means. In this way, the certainty of the pseudo session establishment process can be improved.

本発明に係るネットワーク通信装置では、第1通信制御手段が、持続接続制御を解除した後、通信端末から受信したデータを、そのまま第2通信制御手段に転送する。このようにすれば、転送処理の処理負荷を低減でき、高速に転送処理を行うことができる。   In the network communication apparatus according to the present invention, after the first communication control unit cancels the persistent connection control, the data received from the communication terminal is transferred to the second communication control unit as it is. In this way, the processing load of the transfer process can be reduced, and the transfer process can be performed at high speed.

本発明に係るネットワーク通信装置では、第1通信制御手段が、通信端末との間でセッション確立処理が完了した後、通信端末から第3のデータを受信して記憶し、その後、通信端末との間で持続接続制御を実行する。また、第1通信制御手段は、擬似的セッション確立処理の完了後、記憶している第3のデータを第2通信制御手段に転送し、その後、通信端末との間の持続接続制御を解除する。このようにすれば、第2通信制御手段の起動中に可能な分だけ第1通信制御手段によりデータ受信が行えるので、第2通信制御手段と通信端末との通信時間を短縮できる。   In the network communication apparatus according to the present invention, the first communication control means receives and stores the third data from the communication terminal after the session establishment process is completed with the communication terminal, and then communicates with the communication terminal. Persistent connection control between them. The first communication control means transfers the stored third data to the second communication control means after the completion of the pseudo session establishment process, and thereafter releases the persistent connection control with the communication terminal. . In this way, data can be received by the first communication control means as much as possible during activation of the second communication control means, so that the communication time between the second communication control means and the communication terminal can be shortened.

本発明によれば、通信動作を妨げることなく、ネットワーク通信装置の消費電力をより低減することが可能となる。   According to the present invention, it is possible to further reduce the power consumption of the network communication device without hindering the communication operation.

実施形態に係るネットワーク通信装置が搭載されたネットワーク複合機の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a network multifunction peripheral equipped with a network communication apparatus according to an embodiment. ネットワーク複合機を構成するNICの構成を示すブロック図である。2 is a block diagram showing a configuration of a NIC constituting the network multifunction peripheral. FIG. ネットワーク複合機による通信処理(擬似的セッション処理、持続接続制御処理)の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the communication process (pseudo session process, persistent connection control process) by a network compound machine. ネットワーク複合機とPCとの間の通信手順を示すシーケンス図である。It is a sequence diagram showing a communication procedure between the network multifunction peripheral and the PC. ネットワーク複合機を構成する第1NIC、第2NICとPCとの間の通信手順を示すシーケンス図である。It is a sequence diagram showing a communication procedure between the first NIC, the second NIC and the PC constituting the network multifunction peripheral.

以下、図面を参照して本発明の好適な実施形態について詳細に説明する。なお、各図において、同一要素には同一符号を付して重複する説明を省略する。なお、ここでは、実施形態に係るネットワーク通信装置をネットワーク複合機(MFP)に適用した場合を例にして説明する。また、ネットワーク複合機がLANを介してパーソナルコンピュータ(以下「PC」という。特許請求の範囲に記載の通信端末に相当)と接続されているネットワークシステムを例にして説明する。なお、例示するネットワークシステムは、理解を容易にするためにその構成を簡略化したものである。まず、図1及び図2を併せて用いて、ネットワーク複合機1の全体構成について説明する。図1は、LAN51に接続されたネットワーク複合機1の全体構成を示すブロック図である。図2は、ネットワーク複合機1を構成するネットワーク・インターフェース・コントローラ(以下「NIC」という)10の構成を示すブロック図である。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the same element and the overlapping description is abbreviate | omitted. Here, a case where the network communication apparatus according to the embodiment is applied to a network multifunction peripheral (MFP) will be described as an example. Further, a network system in which the network multifunction peripheral is connected to a personal computer (hereinafter referred to as “PC”, corresponding to the communication terminal described in the claims) via a LAN will be described as an example. The illustrated network system has a simplified configuration for easy understanding. First, the overall configuration of the network MFP 1 will be described with reference to FIGS. 1 and 2 together. FIG. 1 is a block diagram showing the overall configuration of the network multifunction device 1 connected to the LAN 51. FIG. 2 is a block diagram showing a configuration of a network interface controller (hereinafter referred to as “NIC”) 10 constituting the network multifunction peripheral 1.

ネットワーク複合機1は、待機時に省エネルギー状態を取り得るネットワーク複合機であり、原稿を読み取り画像データを生成するスキャナ機能、読み取り生成した画像データを用紙に記録するコピー機能、及びファクシミリ通信により受信した画像データを用紙に記録するFAX受信機能に加え、LAN51を介して接続されているPC30から受信した画像データを用紙に記録するPCプリント機能を備えている。また、ネットワーク複合機1は、読み取った画像データをファクシミリ送信するFAX送信機能に加え、外部のPC30から受信した画像データをファクシミリ送信するPC−FAX機能を備えている。さらに、ネットワーク複合機1は、電子メールを利用してIP網経由で画像データを送受信するインターネットFAX(IFAX)機能等も有している。これらの各機能を実現するためにネットワーク複合機1は、NIC10、制御部11、記録部12、操作部13、表示部14、読取部15、コーデック16、画像記憶部17、モデム18、NCU19、IFAX制御部20、及び、Webサーバ21等を備えている。なお、上記各部はバス(通信路)23で相互に通信可能に接続されている。   The network multifunction peripheral 1 is a network multifunction peripheral capable of taking an energy saving state during standby, and includes a scanner function for reading an original and generating image data, a copy function for recording the read and generated image data on paper, and an image received by facsimile communication. In addition to a FAX reception function for recording data on paper, a PC print function for recording image data received from the PC 30 connected via the LAN 51 on paper is provided. Further, the network multifunction peripheral 1 has a PC-FAX function for facsimile transmission of image data received from the external PC 30 in addition to a FAX transmission function for facsimile transmission of the read image data. Further, the network multifunction device 1 also has an Internet FAX (IFAX) function for transmitting and receiving image data via an IP network using electronic mail. In order to realize these functions, the network multifunction peripheral 1 includes a NIC 10, a control unit 11, a recording unit 12, an operation unit 13, a display unit 14, a reading unit 15, a codec 16, an image storage unit 17, a modem 18, an NCU 19, An IFAX control unit 20 and a Web server 21 are provided. The above units are connected to each other via a bus (communication path) 23 so that they can communicate with each other.

NIC10は、各種通信プロトコルの送受信制御処理、及び各種通信プロトコル上のデータ解析処理及びデータ作成処理を行なうネットワークインターフェースである。外部のPC30とのデータ通信はこのNIC10を通して行われる。NIC10は、LAN51を介してPC30に接続されており、PC30との間で、例えばTCP/IPに従ってデータの通信を行なう。NIC10は、ネットワークパケット(データ)を受信するネットワークパケット受信専用基板(特許請求の範囲に記載の第1通信制御手段に相当、以下「第1NIC」という)100と、各種アプリケーションに対応した処理を行うネットワークアプリケーション対応基板(特許請求の範囲に記載の第2通信制御手段に相当、以下「第2NIC」という)120とを備えている。第1NIC100は、LAN51を介して例えばPC30と接続され、該PC30との間で通信を行なう。第2NIC120は、例えばPCI(Peripheral Component Interconnect)又はPCI Express等のバス23(特許請求の範囲に記載の通信路に相当)を介して第1NIC100と相互にデータ転送可能に接続されている。すなわち、第2NIC120は、直接的にはLAN51と接続されていないが、第1NIC100を介してPC30と通信可能に構成されている。また、第2NIC120は、稼動時に通常電力状態を取り、待機時に低消費電力状態を取り得るように構成されている。なお、待機時すなわちネットワーク複合機1が省エネルギー状態にあるときであっても、第1NIC100には電力が供給される。   The NIC 10 is a network interface that performs transmission / reception control processing of various communication protocols, data analysis processing and data creation processing on various communication protocols. Data communication with the external PC 30 is performed through the NIC 10. The NIC 10 is connected to the PC 30 via the LAN 51, and performs data communication with the PC 30 in accordance with, for example, TCP / IP. The NIC 10 performs processing corresponding to various applications with a network packet reception dedicated board (corresponding to the first communication control means described in the claims, hereinafter referred to as “first NIC”) 100 that receives network packets (data). And a network application-compatible board (corresponding to the second communication control means described in the claims, hereinafter referred to as “second NIC”) 120. The first NIC 100 is connected to, for example, the PC 30 via the LAN 51 and communicates with the PC 30. The second NIC 120 is connected to the first NIC 100 so as to be able to transfer data with each other via a bus 23 (equivalent to a communication path described in claims) such as PCI (Peripheral Component Interconnect) or PCI Express. That is, the second NIC 120 is not directly connected to the LAN 51, but is configured to be able to communicate with the PC 30 via the first NIC 100. Further, the second NIC 120 is configured to take a normal power state during operation and a low power consumption state during standby. Note that power is supplied to the first NIC 100 even during standby, that is, when the network multifunction peripheral 1 is in an energy saving state.

第1NIC100は、演算を行なうマイクロプロセッサ、マイクロプロセッサに各処理を実行させるためのプログラム等を記憶するROM、マイクロプロセッサにより制御されて通信処理を行う通信用チップ(IC)、及び通信用チップにより受信され、該通信用チップから読み出された受信データや演算結果等の各種データを一時的に記憶するRAM等により構成されている。なお、第1NIC100は、上述したマイクロプロセッサ、通信用チップ、ROM、RAM等がワンチップに収められたマイクロコンピュータを用いて構成してもよい。また、第1NIC100で用いられるマイクロプロセッサは、第2NIC120で用いられるものよりも例えばクロック周波数が低く、より低消費電力のものを用いることが好ましい。さらに、第1NIC100で用いられるRAM等のメモリは、第2NIC120で用いられるものよりも容量が小さく、消費電力がより低いものを用いることが好ましい。   The first NIC 100 receives a microprocessor that performs computation, a ROM that stores a program for causing the microprocessor to execute each process, a communication chip (IC) that performs communication processing under the control of the microprocessor, and a communication chip. The RAM is configured to temporarily store various data such as received data and calculation results read from the communication chip. The first NIC 100 may be configured using a microcomputer in which the above-described microprocessor, communication chip, ROM, RAM, and the like are housed in one chip. The microprocessor used in the first NIC 100 preferably has a lower clock frequency and lower power consumption than that used in the second NIC 120, for example. Furthermore, it is preferable that a memory such as a RAM used in the first NIC 100 has a smaller capacity and lower power consumption than that used in the second NIC 120.

図2に示されるように、第1NIC100では、上述したハードウェアとソフトウェアの組み合わせにより、受信部101、受信バッファ102、送信部103、記憶部104、電力状態判定部105、起動要否判定部106、起動信号出力部107、バス転送部108、応答データ生成部109、持続接続制御部110が構築されている。   As shown in FIG. 2, in the first NIC 100, the reception unit 101, the reception buffer 102, the transmission unit 103, the storage unit 104, the power state determination unit 105, and the activation necessity determination unit 106 are combined by the combination of the hardware and software described above. The activation signal output unit 107, the bus transfer unit 108, the response data generation unit 109, and the persistent connection control unit 110 are constructed.

受信部101は、例えばPC30からLAN51を介してネットワークパケット(データ)を受信するものであり、特許請求の範囲に記載の受信手段に相当する。記憶部104は、上述したRAMにより構成され、第2NIC120が低消費電力状態のときに送受信された信号及びデータを記憶するものであり、特許請求の範囲に記載の記憶手段として機能する。より詳細には、記憶部104には、受信部101で受信されたPC30からのSYN信号,ACK信号をEthernet(登録商標)レベルで格納するコマンド受信バッファ領域、送信部103から送出したACK/SYN信号を格納するコマンド送信バッファ領域、及び、受信部101で受信されたPC30からのデータを格納するデータ受信バッファ領域が設けられている。   The receiving unit 101 receives a network packet (data) from the PC 30 via the LAN 51, for example, and corresponds to a receiving unit described in the claims. The storage unit 104 includes the above-described RAM, stores signals and data transmitted and received when the second NIC 120 is in a low power consumption state, and functions as a storage unit described in the claims. More specifically, the storage unit 104 includes a command reception buffer area for storing the SYN signal and the ACK signal from the PC 30 received at the reception unit 101 at the Ethernet (registered trademark) level, and the ACK / SYN transmitted from the transmission unit 103. A command transmission buffer area for storing signals and a data reception buffer area for storing data received from the PC 30 by the receiving unit 101 are provided.

電力状態判定部105は、第2NIC120と接続されたポートのレベル(Hi又はLow)に基づいて、第2NIC120の電力状態を判定する。具体的には、電力状態判定部105は、ポートレベルがHi(5V)の場合には通常電力状態(通常モード)と判定し、Low(0V)のときには低消費電力状態(省エネモード)と判定する。すなわち、電力状態判定部105は、特許請求の範囲に記載の判定手段として機能する。   The power state determination unit 105 determines the power state of the second NIC 120 based on the level (Hi or Low) of the port connected to the second NIC 120. Specifically, the power state determination unit 105 determines the normal power state (normal mode) when the port level is Hi (5 V), and determines the low power consumption state (energy saving mode) when the port level is Low (0 V). To do. That is, the power state determination unit 105 functions as a determination unit described in the claims.

起動要否判定部106は、受信部101によりネットワークパケット(データ)が受信され、かつ、電力状態判定部105により第2NIC120が低消費電力状態であると判断された場合に、第2NIC120を起動する必要があるか否かを判定する。すなわち、起動要否判定部106は、特許請求の範囲に記載の起動判定手段に相当する。ここで、第2NIC120を起動する必要があるか否かは、例えば、第1NIC100のみで応答(レスポンス)可能かどうかで判断される。ちなみに、第1NIC100のみで応答可能な場合とは、例えば、ARP応答、SNMP応答、ICMP応答(例えばPingパケット応答)、UDP/IPを用いたネットワークパケットで応答を待たすことができないパケット応答制御等が挙げられる。一方、第1NIC100のみで応答を返すことができない場合とは、例えば、LPD、Port9100、IPP等のTCP/IPを用いたネットワーク制御が挙げられる。   The activation necessity determination unit 106 activates the second NIC 120 when the reception unit 101 receives a network packet (data) and the power state determination unit 105 determines that the second NIC 120 is in a low power consumption state. Determine whether it is necessary. That is, the activation necessity determination unit 106 corresponds to the activation determination unit described in the claims. Here, whether or not it is necessary to activate the second NIC 120 is determined, for example, by whether or not a response (response) is possible only by the first NIC 100. Incidentally, the case where only the first NIC 100 can respond is, for example, an ARP response, an SNMP response, an ICMP response (for example, a Ping packet response), a packet response control in which a network packet using UDP / IP cannot wait for a response, etc. Is mentioned. On the other hand, the case where a response cannot be returned only by the first NIC 100 includes, for example, network control using TCP / IP such as LPD, Port 9100, and IPP.

起動信号出力部107は、起動要否判定部106により第2NIC120を起動する必要があると判定された場合に、第2NIC120に対して、該第2NICを低消費電力状態から通常電力状態へ遷移させるための起動信号を出力する。すなわち、起動信号出力部107は、特許請求の範囲に記載の起動手段として機能する。起動信号出力部107から起動信号が出力されると、第2NIC120への電源供給が開始される。そして、第2NIC120においてプログラムロード等の起動処理が実行され、第2NIC120が起動される。第2NIC120の起動が完了すると、上述したポートレベルがHiにセットされる。   The activation signal output unit 107 causes the second NIC 120 to transition the second NIC from the low power consumption state to the normal power state when the activation necessity determination unit 106 determines that the second NIC 120 needs to be activated. The start signal for output is output. That is, the activation signal output unit 107 functions as activation means described in the claims. When an activation signal is output from the activation signal output unit 107, power supply to the second NIC 120 is started. Then, startup processing such as program loading is executed in the second NIC 120, and the second NIC 120 is started up. When the activation of the second NIC 120 is completed, the port level described above is set to Hi.

バス転送部108は、第2NIC120が低消費電力状態から通常電力状態に遷移したと判定された場合(起動された場合)に、第2NIC120が起動するまでに受信されて記憶部104に記憶されている信号及びデータを、バス23を介して第2NIC120に転送する。また、バス転送部108は、第2NIC120が通常電力状態にあるときに、受信部101により受信されたデータを第2NIC120にバス23を介して転送する。すなわち、バス転送部108は、特許請求の範囲に記載の転送手段として機能する。   When it is determined that the second NIC 120 has transitioned from the low power consumption state to the normal power state (when activated), the bus transfer unit 108 is received and stored in the storage unit 104 until the second NIC 120 is activated. The signal and data are transferred to the second NIC 120 via the bus 23. The bus transfer unit 108 transfers data received by the receiving unit 101 to the second NIC 120 via the bus 23 when the second NIC 120 is in the normal power state. That is, the bus transfer unit 108 functions as a transfer unit described in the claims.

応答データ生成部109は、起動要否判定部106により、第2NIC120を起動する必要がないと判定された場合に、受信部101により受信されたデータに対する応答(レスポンス)データを生成する。例えば、応答データ生成部109は、上述したARP、SNMP、ICMP等に対する応答データを生成する。すなわち、応答データ生成部109は、特許請求の範囲に記載の生成手段として機能する。なお、応答データ生成部109により生成された応答データは、送信部103へ出力される。   The response data generation unit 109 generates response data for the data received by the reception unit 101 when the activation necessity determination unit 106 determines that it is not necessary to activate the second NIC 120. For example, the response data generation unit 109 generates response data for the ARP, SNMP, ICMP, and the like described above. That is, the response data generation unit 109 functions as a generation unit described in the claims. Note that the response data generated by the response data generation unit 109 is output to the transmission unit 103.

送信部103は、生成部109により生成された応答データをLAN51を介してPC30へ出力する。また、送信部103は、第2NIC120から受け取った応答データを、必要に応じて、LAN51を介してPC30へ出力する。すなわち、送信部103は、特許請求の範囲に記載の送信手段として機能する。   The transmission unit 103 outputs the response data generated by the generation unit 109 to the PC 30 via the LAN 51. Further, the transmission unit 103 outputs the response data received from the second NIC 120 to the PC 30 via the LAN 51 as necessary. That is, the transmission unit 103 functions as a transmission unit described in the claims.

持続接続制御部110は、受信部101により例えばPC30からのセッション確立要求信号が受信された場合、該セッション確立要求信号を送信したPC30との間にセッションを確立する。そして、持続接続制御部110は、電力状態判定部105の判定結果に基づいて、第2NIC120が通常電力状態であるか否か(すなわち受信処理を行える状態であるか否か)を判断し、低消費電力状態である場合(すなわち受信処理を行えない状態である場合)には、電力状態判定部105により第2NIC120が低消費電力状態から通常電力状態に遷移したと判定されるまで、セッションを張った状態でPC30に対してデータの送信を禁止する持続接続制御(キープアライブ)を実行する。一方、第2NIC120が通常電力状態である場合には、持続接続制御を実行することなくPC30に対してデータの送信を許可する。すなわち、持続接続制御部110は、特許請求の範囲に記載の持続接続制御手段として機能する。   For example, when the session establishment request signal is received from the PC 30 by the receiving unit 101, the persistent connection control unit 110 establishes a session with the PC 30 that has transmitted the session establishment request signal. Based on the determination result of the power state determination unit 105, the persistent connection control unit 110 determines whether or not the second NIC 120 is in the normal power state (that is, whether or not reception processing can be performed). In the power consumption state (that is, in a state where reception processing cannot be performed), a session is held until the power state determination unit 105 determines that the second NIC 120 has transitioned from the low power consumption state to the normal power state. In this state, persistent connection control (keep alive) for prohibiting data transmission to the PC 30 is executed. On the other hand, when the second NIC 120 is in the normal power state, the PC 30 is permitted to transmit data without executing the persistent connection control. That is, the persistent connection control unit 110 functions as persistent connection control means described in the claims.

ここで、第1NIC100(通信用チップ)は、PC30等から所定のポートを通して受信される受信データを一時的に格納する、例えば4Kバイト程度の容量を持つ受信バッファ102を有し、送信部103は、受信バッファ102の空き容量に応じた受信可能データ量をTCP/IPに従ってPC30等へ送信する。なお、受信バッファ102の空き容量が所定値以下(例えば半分以下)になった場合には、受信可能データ量としてゼロを送信する構成としてもよい。また、持続接続制御部110は、第2NIC120が低消費電力状態であると判定された場合には、該第2NIC120が低消費電力状態から通常電力状態に遷移したと判定されるまで、受信可能データ量がPC30の最小送信可能データ量よりも小さくなるように、受信バッファ102から読み出すデータ量を非持続接続制御時(すなわち通常制御時)よりも少なく(例えば数バイト〜数十バイト)することにより持続接続制御を実現する。   Here, the first NIC 100 (communication chip) has a reception buffer 102 that temporarily stores reception data received from a PC 30 or the like through a predetermined port, and has a capacity of about 4 Kbytes, for example. The amount of receivable data corresponding to the free capacity of the reception buffer 102 is transmitted to the PC 30 or the like according to TCP / IP. Note that, when the free capacity of the reception buffer 102 becomes equal to or less than a predetermined value (for example, half or less), zero may be transmitted as the receivable data amount. If the second NIC 120 is determined to be in the low power consumption state, the persistent connection control unit 110 receives the receivable data until it is determined that the second NIC 120 has transitioned from the low power consumption state to the normal power state. By making the amount of data read from the reception buffer 102 smaller (for example, several bytes to several tens of bytes) than the time of non-persistent connection control (that is, normal control) so that the amount becomes smaller than the minimum transmittable data amount of the PC 30 Realize persistent connection control.

また、持続接続制御部110は、持続接続制御を実行した場合に、第2NIC120が低消費電力状態から通常電力状態に遷移したと判定されたとき(起動されたとき)に持続接続制御を終了し、セッション確立要求信号を送信したPC30に対してデータの送信を許可する。ここで、持続接続制御部110は、持続接続制御を終了してPC30に対してデータの送信を許可する場合、受信可能データ量がPC30の最小送信可能データ量よりも大きくなるように、受信バッファ102から読み出すデータ量を持続接続制御時よりも多くする(例えば数百〜数Kバイト)ことにより通常制御(非持続接続制御)に移行させる。   Further, the persistent connection control unit 110 ends the persistent connection control when it is determined that the second NIC 120 has transitioned from the low power consumption state to the normal power state (when activated) when the persistent connection control is executed. The data transmission is permitted to the PC 30 that has transmitted the session establishment request signal. Here, when the persistent connection control unit 110 ends the persistent connection control and permits data transmission to the PC 30, the reception buffer so that the receivable data amount is larger than the minimum transmittable data amount of the PC 30. Shifting to normal control (non-persistent connection control) by increasing the amount of data read from 102 (for example, several hundred to several kilobytes) than during continuous connection control.

一方、第2NIC120も、演算を行なうマイクロプロセッサ、マイクロプロセッサに各処理を実行させるためのプログラム等を記憶するROM、第1NICから転送された受信データや演算結果等の各種データを一時的に記憶するRAM、及びバックアップデータを記憶するバックアップRAM等により構成されている。なお、第2NIC120は、これらのマイクロプロセッサ、ROM、RAM等がワンチップに収められたマイクロコンピュータを用いて構成してもよい。   On the other hand, the second NIC 120 also temporarily stores various data such as a microprocessor that performs calculations, a ROM that stores a program for causing the microprocessor to execute each process, received data transferred from the first NIC, and calculation results. A RAM and a backup RAM for storing backup data are used. The second NIC 120 may be configured using a microcomputer in which these microprocessor, ROM, RAM, and the like are housed in one chip.

第2NIC120では、上述したハードウェアとソフトウェアの組み合わせにより、受取部121、出力部122等が構築されている。受取部121は、バス23を介して、バス転送部108により転送されたデータを受け取るディスクリプタ・バッファであり、特許請求の範囲に記載の受取手段に相当する。出力部122は、受取部121により受け取られたデータに対する応答(レスポンス)を、バス23を介して、第1NIC100に出力するものであり、特許請求の範囲に記載の出力手段に相当する。   In the second NIC 120, a receiving unit 121, an output unit 122, and the like are constructed by a combination of the hardware and software described above. The receiving unit 121 is a descriptor buffer that receives data transferred by the bus transfer unit 108 via the bus 23, and corresponds to a receiving unit described in the claims. The output unit 122 outputs a response to the data received by the receiving unit 121 to the first NIC 100 via the bus 23, and corresponds to an output unit described in the claims.

第2NIC120は、所定時間以上連続して通信が行われない場合に電源が遮断(オフ)され、低消費電力状態となる。一方、第2NIC120では、上述したように、起動信号出力部107から出力された起動信号を受けて電源供給が開始され、通常電力状態となる。   The second NIC 120 is turned off when the communication is not continuously performed for a predetermined time or longer, and enters a low power consumption state. On the other hand, as described above, the second NIC 120 receives the activation signal output from the activation signal output unit 107, starts power supply, and enters the normal power state.

図1に戻り説明を続ける。制御部11は、演算を行なうマイクロプロセッサ、マイクロプロセッサに各処理を実行させるためのプログラム等を記憶するROM、演算結果等の各種データを一時的に記憶するRAM、及びバックアップデータを記憶するバックアップRAM等により構成されている。制御部11は、ROMに記憶されているプログラムを実行することにより、ネットワーク複合機1を構成するハードウェアを統合的に制御する。   Returning to FIG. The control unit 11 includes a microprocessor that performs calculations, a ROM that stores programs for causing the microprocessor to execute each process, a RAM that temporarily stores various data such as calculation results, and a backup RAM that stores backup data. Etc. The control unit 11 comprehensively controls hardware configuring the network multifunction peripheral 1 by executing a program stored in the ROM.

記録部12は、電子写真方式のプリンタであり、外部のPC30から受信された画像データを用紙にプリントアウトする。また、記録部12は、読取部15により読み取られ生成された画像データ、及びFAX、IFAX等で受信された画像データを用紙にプリントアウトする。   The recording unit 12 is an electrophotographic printer, and prints out image data received from an external PC 30 on paper. The recording unit 12 prints out the image data read and generated by the reading unit 15 and the image data received by FAX, IFAX, or the like on a sheet.

操作部13は、ネットワーク複合機1の各機能を利用するために用いられる複数のキー、例えば、テンキー、短縮キー、スタートキー、ストップキー、及び各種のファンクションキー等を備えている。表示部14は、LCD等を用いた表示装置であり、ネットワーク複合機1の動作状態及び/又は各種設定内容等を表示する。読取部15は、光源及びCCD等によって構成されており、紙文書等の原稿を設定された副走査線密度に応じてライン毎に読み取り、画像データを生成する。   The operation unit 13 includes a plurality of keys used for using each function of the network multifunction device 1, such as a numeric keypad, an abbreviated key, a start key, a stop key, and various function keys. The display unit 14 is a display device using an LCD or the like, and displays the operation state of the network multifunction peripheral 1 and / or various setting contents. The reading unit 15 includes a light source, a CCD, and the like, and reads a document such as a paper document for each line according to a set sub-scanning line density, and generates image data.

コーデック16は、読取部15で読み取られた画像データを符号化圧縮するとともに符号化圧縮されている画像データを復号する。画像記憶部17は、DRAM等で構成されており、コーデック16で符号化圧縮された画像データ、FAX受信された画像データ、及び、外部のPC30から受信されて符号化圧縮された画像データ等を記憶する。   The codec 16 encodes and compresses the image data read by the reading unit 15 and decodes the encoded and compressed image data. The image storage unit 17 includes a DRAM or the like, and stores image data encoded and compressed by the codec 16, image data received by FAX, image data received from the external PC 30 and encoded and compressed, and the like. Remember.

モデム(変復調器)18は、ディジタル信号とアナログ信号との間の変復調を行なう。また、モデム18は、ディジタル命令信号(DCS)等の各種機能情報の発生及び検出を行なう。NCU(Network Control Unit)19は、モデム18と接続されており、モデム18と公衆交換電話網(PSTN)50との接続を制御する。また、NCU19は、送信先のファクシミリ番号に対応した呼出信号の送出、及びその着信を検出する機能を備えている。   A modem (modem / demodulator) 18 performs modulation / demodulation between a digital signal and an analog signal. The modem 18 generates and detects various function information such as a digital command signal (DCS). An NCU (Network Control Unit) 19 is connected to the modem 18 and controls the connection between the modem 18 and the public switched telephone network (PSTN) 50. The NCU 19 has a function of transmitting a call signal corresponding to the destination facsimile number and detecting the incoming call.

IFAX制御部20は、インターネット環境を利用したIFAX機能を司る。IFAX制御部20は、SMTP(Simple Mail Transfer Protocol)に従って電子メールを送信する機能、及び、POP(Post Office Protocol)に従って電子メールを受信する機能を有している。IFAX制御部20は、送信原稿をTIFF形式等の画像データとして電子メールに添付し、メールアドレス(SMTPサーバ)宛てに送信する。また、IFAX制御部20は、設定された時間毎にPOPサーバから電子メールを受信して添付ファイルをプリントアウトする。Webサーバ21は、例えばHTMLで記述されたホームページ、ログインページ、及びファクシミリ操作ページ等のデータに対して、PC30からアクセスして所定のHTTPタスクを実行することを可能にする。   The IFAX control unit 20 manages an IFAX function using the Internet environment. The IFAX control unit 20 has a function of transmitting an electronic mail according to SMTP (Simple Mail Transfer Protocol) and a function of receiving an electronic mail according to POP (Post Office Protocol). The IFAX control unit 20 attaches the transmission document to the e-mail as image data in the TIFF format or the like, and transmits it to the e-mail address (SMTP server). The IFAX control unit 20 receives an e-mail from the POP server at every set time and prints out the attached file. The Web server 21 makes it possible to access a data such as a home page, a login page, and a facsimile operation page described in HTML from the PC 30 and execute a predetermined HTTP task.

次に、図3〜図5を併せて参照しつつ、ネットワーク複合機1による通信処理(擬似的セッション処理、持続接続制御処理)について説明する。図3は、ネットワーク複合機1による通信処理(擬似的セッション処理、持続接続制御処理)の処理手順を示すフローチャートである。図4は、ネットワーク複合機1とPC30との間の通信手順を示すシーケンス図である。また、図5は、ネットワーク複合機1を構成する第1NIC100、第2NIC120とPC30との間の通信手順を示すシーケンス図である。   Next, communication processing (pseudo session processing, persistent connection control processing) by the network multifunction peripheral 1 will be described with reference to FIGS. FIG. 3 is a flowchart showing a processing procedure of communication processing (pseudo session processing, persistent connection control processing) by the network MFP 1. FIG. 4 is a sequence diagram showing a communication procedure between the network multifunction device 1 and the PC 30. FIG. 5 is a sequence diagram showing a communication procedure between the first NIC 100, the second NIC 120 and the PC 30 constituting the network multifunction peripheral 1.

ステップS100では、ジョブを受け付けるソケットとローカルアドレスとが関連付けられる(すなわちbindされる)。ここで、ローカルアドレスは、IPアドレスとポート番号とから構成され、本実施形態では、ポート番号として9100番が割り当てられる。すなわち、ポート番号9100番でbindされる。続いて、ステップS102では、listen処理によりステップS100においてbindされたソケットでセッション確立要求(接続要求)を待ち受ける。   In step S100, the socket that accepts the job and the local address are associated (that is, bound). Here, the local address is composed of an IP address and a port number, and in this embodiment, 9100 is assigned as the port number. That is, it is bound with the port number 9100. In step S102, a session establishment request (connection request) is awaited by the socket bound in step S100 by the listen process.

続くステップS104では、Select処理で指定ポート(9100番)へのセッション確立要求(図4に示されるSYN信号)があるか否かの判断が行われる。セッション確立要求がある場合は、ステップS106に処理が移行する。一方、セッション確立要求がないときには、セッション確立要求があるまでステップS104が繰り返し実行される。   In subsequent step S104, it is determined whether or not there is a session establishment request (SYN signal shown in FIG. 4) to the designated port (number 9100) in the Select process. If there is a session establishment request, the process proceeds to step S106. On the other hand, when there is no session establishment request, step S104 is repeatedly executed until there is a session establishment request.

セッション確立要求があった場合、ステップS106では、第2NIC120が通常電力状態であるか否かについての判断が行われる。ここで、第2NIC120が通常電力状態である場合には、ステップS108に処理が移行する。そして、ステップS108において、PC30との間でセッションが確立されるとともに、PC30に対して送信が許可され、第1NIC100、第2NIC120により送受信処理が行われる。そして、受信処理が終了した後、セッションが解除されて、本処理が終了する。   If there is a session establishment request, in step S106, it is determined whether or not the second NIC 120 is in the normal power state. If the second NIC 120 is in the normal power state, the process proceeds to step S108. In step S108, a session is established with the PC 30, transmission is permitted to the PC 30, and transmission / reception processing is performed by the first NIC 100 and the second NIC 120. Then, after the reception process is finished, the session is released and this process is finished.

一方、ステップS106において、第2NIC120が低消費電力状態であると判断されたときには、ステップS110に処理が移行する。ステップS110では、第2NIC120を起動するための起動信号が出力され、第2NIC120への電源供給が開始される。   On the other hand, when it is determined in step S106 that the second NIC 120 is in the low power consumption state, the process proceeds to step S110. In step S <b> 110, an activation signal for activating the second NIC 120 is output, and power supply to the second NIC 120 is started.

続くステップS112ではaccept処理でセッション確立要求を受け付けることにより、セッションが確立する。より具体的には、図4に示されるように、SYN信号に対してACK/SYN信号を返すことによりセッションが確立する。なお、ACK/SYN信号が返されない場合、セッション確立要求を送ったPC30は、6秒、12秒、24秒、48秒、72秒と送信間隔を徐々に大きくしてセッション確立要求を繰り返し送信する。そして、72秒経過した時点でACK/SYN信号が返ってこないときには、セッション確立要求処理を打ち切る。なお、受信されたPC30からのSYN信号(特許請求の範囲に記載の第1のデータに相当),ACK信号、及び送出したACK/SYN信号(特許請求の範囲に記載の第2のデータに相当)それぞれは、記憶部104に記憶される。また、セッションが確立した後、PC30から送られて来るパケットデータ(特許請求の範囲に記載の第3のデータに相当)も記憶部104に一時的に記憶される。   In subsequent step S112, a session is established by accepting a session establishment request in the accept process. More specifically, as shown in FIG. 4, a session is established by returning an ACK / SYN signal in response to a SYN signal. If the ACK / SYN signal is not returned, the PC 30 that sent the session establishment request repeatedly transmits the session establishment request by gradually increasing the transmission interval to 6 seconds, 12 seconds, 24 seconds, 48 seconds, and 72 seconds. . If no ACK / SYN signal is returned after 72 seconds, the session establishment request process is terminated. The received SYN signal from the PC 30 (corresponding to the first data recited in the claims), the ACK signal, and the transmitted ACK / SYN signal (corresponding to the second data recited in the claims) ) Are stored in the storage unit 104. Further, packet data (corresponding to third data described in claims) sent from the PC 30 after the session is established is also temporarily stored in the storage unit 104.

続いて、ステップS114では、第2NIC120が低消費電力状態から通常電力状態に遷移したか否か(すなわち起動され受信処理が可能な状態になったか否か)についての判断が行われる。ここで、第2NIC120が通常電力状態に遷移していない場合、すなわち起動中で受信処理を行うことができない場合には、ステップS116に処理が移行する。一方、第2NIC120が通常電力状態に遷移したとき、すなわち起動が完了し受信処理を行うことができるときには、ステップS118に処理が移行する。   Subsequently, in step S114, a determination is made as to whether or not the second NIC 120 has transitioned from the low power consumption state to the normal power state (that is, whether or not the second NIC 120 has been activated and is ready for reception processing). Here, when the second NIC 120 has not transitioned to the normal power state, that is, when the reception process cannot be performed during startup, the process proceeds to step S116. On the other hand, when the second NIC 120 transitions to the normal power state, that is, when the activation is completed and the reception process can be performed, the process proceeds to step S118.

第2NIC120が起動中である場合、ステップS116では、受信バッファ102から10バイトずつ受信データが読み出される。また、受信バッファ102の空き容量に応じた受信可能データ量がTCP/IPに従ってPC30へ送信される(図4に示されるACK(win=xxxx),ACK(win=yyyy)、ここでxxxx,yyyyは受信可能データ量を表し、xxxx>yyyyである)。その後、ステップS114に処理が移行し、第2NIC120が起動されるまでステップS114、S116の処理が繰り返し実行される。その間、PC30から受信されるデータ量よりも受信バッファ102から読み出されるデータ量が少なくなるため、受信バッファ102の空き容量が時間経過に伴って次第に減少し、所定時間経過後に、PC30に対して受信可能データ量としてゼロ(又はゼロに近い値)が送信される(図4に示されるACK(win=0))。より詳細には、第1NIC100で受信データの読み出しが実行されることに伴ってPC30に対してACKが帰される。PC30はACKを受信すると、次のデータを(1回又は複数回に分けて)送信する。その際、PC30は、受信した受信可能データ量より小さいパケットサイズを設定してデータを送信する。よって、読み出しが1回実行されれば、(1回又は複数回)データが受信される。そのため、ステップS116では、1回の読み出し量が、ACK1回あたりの受信データ量よりも小さくなるように受信データの読み出しが行われる。その結果、セッションを張った状態でPC30による送信データの送出が抑制される持続接続制御に移行し、第2NIC120が起動するまで、持続接続制御が継続して実行される。   When the second NIC 120 is activated, the received data is read from the reception buffer 102 by 10 bytes at step S116. Also, the receivable data amount corresponding to the free capacity of the reception buffer 102 is transmitted to the PC 30 according to TCP / IP (ACK (win = xxxx), ACK (win = yyyy) shown in FIG. 4, where xxx, yyyy). Represents the receivable data amount, and xxx> yyyy). Thereafter, the process proceeds to step S114, and the processes of steps S114 and S116 are repeatedly executed until the second NIC 120 is activated. During this time, the amount of data read from the reception buffer 102 is smaller than the amount of data received from the PC 30, so that the free capacity of the reception buffer 102 gradually decreases with time, and is received by the PC 30 after a predetermined time. Zero (or a value close to zero) is transmitted as the possible data amount (ACK (win = 0) shown in FIG. 4). More specifically, an ACK is returned to the PC 30 as the received data is read out by the first NIC 100. When receiving the ACK, the PC 30 transmits the next data (divided into one time or a plurality of times). At that time, the PC 30 sets the packet size smaller than the received receivable data amount and transmits the data. Therefore, if reading is executed once, data is received (one or more times). For this reason, in step S116, the received data is read so that the read amount per time is smaller than the received data amount per ACK. As a result, in a state where a session is established, the connection shifts to persistent connection control in which transmission of transmission data by the PC 30 is suppressed, and the persistent connection control is continuously executed until the second NIC 120 is activated.

より具体的には、図4に示されるように、ネットワーク複合機1がwindows sizeがゼロのACK(win=0)を返すと、PC30は、受信バッファ102が空いたか否かを問い合わせる信号TCP Zero Window Probe(win=0)を定期的に送出する。この信号に対して、持続接続制御が継続されている間、ネットワーク複合機1は、受信バッファ102に空き容量がないことを示す信号TCP Zero Window Probe ACK(win=0)を返す。すなわち、持続接続制御が維持されている間、TCP Zero Window Probe(win=0)に対してTCP Zero Window Probe ACK(win=0)が返信される。より詳細には、受信バッファ102の空き容量が所定値(例えば、受信バッファ容量の半分)より少ない場合には、正確な空き容量を受信可能データ量として送信するのではなく、受信可能データ量としてゼロを送信する。従って、持続接続制御から通常制御に移行した直後においても、空き容量が所定値に達するまでは、受信可能データ量としてゼロが送信され、空き容量が所定値に達した後、正確な空き容量が受信可能データ量として送信される。なお、受信可能データ量として、ゼロの代わりに、PC30の最小送信可能データ量よりも小さい値を設定してもよい。   More specifically, as shown in FIG. 4, when the network multifunction device 1 returns an ACK (win = 0) with a windows size of zero, the PC 30 inquires whether or not the reception buffer 102 is empty. TCP Zero A window probe (win = 0) is periodically transmitted. In response to this signal, the network MFP 1 returns a signal TCP Zero Window Probe ACK (win = 0) indicating that there is no free capacity in the reception buffer 102 while the continuous connection control is continued. That is, while the persistent connection control is maintained, a TCP Zero Window Probe ACK (win = 0) is returned to the TCP Zero Window Probe (win = 0). More specifically, when the free capacity of the reception buffer 102 is smaller than a predetermined value (for example, half of the reception buffer capacity), the accurate free capacity is not transmitted as the receivable data amount, but as the receivable data amount. Send zero. Therefore, immediately after the transition from the continuous connection control to the normal control, zero is transmitted as the receivable data amount until the free capacity reaches the predetermined value, and after the free capacity reaches the predetermined value, the accurate free capacity is determined. Sent as receivable data amount. The receivable data amount may be set to a value smaller than the minimum transmittable data amount of the PC 30 instead of zero.

第2NIC120が通常電力状態に遷移したとき、すなわち起動が完了し受信処理を行うことができるときには、ステップS118において、記憶部104に記憶されているPC30からのSYN信号(Ethernet(登録商標)レベル)が第2NIC120にバス23を介して転送(メモリ転送)される(図5参照)。   When the second NIC 120 transitions to the normal power state, that is, when startup is completed and reception processing can be performed, in step S118, the SYN signal from the PC 30 (Ethernet (registered trademark) level) stored in the storage unit 104 Is transferred (memory transfer) to the second NIC 120 via the bus 23 (see FIG. 5).

続くステップS120では、転送されたSYN信号に対するレスポンスとして、第2NIC120からACK/SYN信号を受け取ったか否かについての判断が行われる。ここで、第2NIC120からACK/SYN信号を受け取った場合には、ステップS122に処理が移行する。一方、第2NIC120からACK/SYN信号をまだ受け取っていないときには、ACK/SYN信号を受け取るまでステップS120が繰り返し実行される。   In the subsequent step S120, it is determined whether or not an ACK / SYN signal has been received from the second NIC 120 as a response to the transferred SYN signal. Here, when an ACK / SYN signal is received from the second NIC 120, the process proceeds to step S122. On the other hand, when the ACK / SYN signal has not been received from the second NIC 120, step S120 is repeatedly executed until the ACK / SYN signal is received.

ステップS122では、第2NIC120からバス23を介して受け取ったACK/SYN信号が、記憶部104(コマンド送信バッファ領域)に記憶されている信号と一致するか否かについての判断が行われる。ここで、双方が一致する場合には、ステップS124に処理が移行する。一方、双方が一致しない場合には、ステップS118に処理が移行し、上述したステップS118〜S122の処理が再度実行される。   In step S122, a determination is made as to whether or not the ACK / SYN signal received from the second NIC 120 via the bus 23 matches the signal stored in the storage unit 104 (command transmission buffer area). Here, when both match, the process proceeds to step S124. On the other hand, if the two do not match, the process proceeds to step S118, and the processes of steps S118 to S122 described above are executed again.

両信号が一致した場合、ステップS124では、図5に示されるように、記憶部104(コマンド受信バッファ領域)に記憶されているPC30からのACK信号が第2NIC120にバス23を介して転送(メモリ転送)される。続いて、ステップS126では、記憶部104(データ受信バッファ領域)に記憶されているPC30からのデータが第2NIC120にバス23を介して転送される(図5参照)。   If the two signals match, in step S124, as shown in FIG. 5, the ACK signal from the PC 30 stored in the storage unit 104 (command reception buffer area) is transferred to the second NIC 120 via the bus 23 (memory). Forwarded). Subsequently, in step S126, data from the PC 30 stored in the storage unit 104 (data reception buffer area) is transferred to the second NIC 120 via the bus 23 (see FIG. 5).

次に、ステップS128において通常の受信処理(受信バッファ102から数Kバイトずつ受信データを読み出す処理)が実行される。そのため、受信バッファ102の空き容量が急激に増大することにより、持続接続制御が解除され、PC30に対してデータの送信が許可される。より具体的には、持続接続制御を解除するときには、受信バッファ102からの読み出し量が持続接続制御よりも大幅に増大されることにより、図4に示されるように、TCP Zero Window Probe(win=0)に対し、(TCP Zero Window Probe ACK(win=0)に代えて)受信可能データ量を示すACK(win=xxxx)が返信される。これにより、PC30によるデータ送信が開始される。   Next, in step S128, normal reception processing (processing for reading received data from the reception buffer 102 by several kilobytes) is executed. Therefore, when the free capacity of the reception buffer 102 increases rapidly, the persistent connection control is released, and data transmission is permitted to the PC 30. More specifically, when releasing the persistent connection control, the amount of reading from the reception buffer 102 is significantly increased as compared with the persistent connection control, so that as shown in FIG. 4, the TCP Zero Window Probe (win = 0) (instead of TCP Zero Window Probe ACK (win = 0)), an ACK (win = xxxx) indicating a receivable data amount is returned. Thereby, data transmission by the PC 30 is started.

その後、第1NIC100、第2NIC120により送受信処理が行われる。より具体的には、PC30から受信されたデータが、第1NIC100により、バス23を介して第2NIC120へそのまま転送されるとともに、転送されたデータに対する応答(レスポンス)がバス23を介して第2NIC120から第1NIC100へ送られる。第2NIC120から応答を受け取った第1NIC100は、該応答をPC30へそのまま返信する。これにより、NIC10とPC30との間でデータの送受信が行なわれる。その後、PC30からFIN信号が受信された場合、図4に示されるようにPC30に対してACK/FIN信号が返され、セッションが終了される。そして、本処理が終了する。   Thereafter, transmission / reception processing is performed by the first NIC 100 and the second NIC 120. More specifically, the data received from the PC 30 is transferred by the first NIC 100 as it is to the second NIC 120 via the bus 23, and a response to the transferred data is sent from the second NIC 120 via the bus 23. It is sent to the first NIC 100. The first NIC 100 that has received the response from the second NIC 120 returns the response to the PC 30 as it is. Thereby, data transmission / reception is performed between the NIC 10 and the PC 30. Thereafter, when a FIN signal is received from the PC 30, an ACK / FIN signal is returned to the PC 30 as shown in FIG. 4, and the session is terminated. Then, this process ends.

本実施形態によれば、NIC10が第1NIC100と第2NIC120とに分割され、待機時に、第2NIC120が低消費電力状態にされるとともに、第1NIC100のみ動作させて、データの待ち受けが行われる。よって、データの待ち受け時に、NIC10の一部(すなわち第1NIC100)を除いて低消費電力状態にすることができるため、NIC10の消費電力をより低減することが可能となる。また、LAN51を介してデータが受信された場合には、第2NIC120が起動されるとともに、該第2NIC120が起動するまで、受信されたデータが記憶され、第2NIC120の起動後に、該第2NIC120にバス23を介して転送される。一方、第2NIC120からの応答は、第1NIC100を介してPC30に送信される。よって、第1NIC100と第2NIC120とが一体となって通信動作を行うことができる。その結果、通信動作を妨げることなく、消費電力をより低減することが可能となる。   According to the present embodiment, the NIC 10 is divided into the first NIC 100 and the second NIC 120, and during standby, the second NIC 120 is put into a low power consumption state, and only the first NIC 100 is operated to wait for data. Therefore, when waiting for data, a part of the NIC 10 (that is, the first NIC 100) can be removed to be in a low power consumption state, so that the power consumption of the NIC 10 can be further reduced. When data is received via the LAN 51, the second NIC 120 is activated and the received data is stored until the second NIC 120 is activated. After the second NIC 120 is activated, a bus is connected to the second NIC 120. 23 is transferred. On the other hand, a response from the second NIC 120 is transmitted to the PC 30 via the first NIC 100. Therefore, the first NIC 100 and the second NIC 120 can be integrated to perform a communication operation. As a result, the power consumption can be further reduced without hindering the communication operation.

また、本実施形態によれば、第2NIC120を起動する必要がある場合にのみ、第2NIC120が起動される。そのため、第2NIC120の稼働時間を必要最小限に抑えることができる。よって、NIC10の消費電力をより低減することが可能となる。   Further, according to the present embodiment, the second NIC 120 is activated only when the second NIC 120 needs to be activated. Therefore, the operation time of the second NIC 120 can be minimized. Therefore, the power consumption of the NIC 10 can be further reduced.

さらに、本実施形態によれば、第2NIC120を起動する必要がない場合には、第2NIC120が起動されることなく、第1NIC100側で受信データに対する応答が行われる。そのため、第2NIC120の不必要な起動を抑制することができる。よって、NIC10の消費電力をより低減することが可能となる。   Furthermore, according to the present embodiment, when there is no need to activate the second NIC 120, the first NIC 100 responds to the received data without activating the second NIC 120. Therefore, unnecessary activation of the second NIC 120 can be suppressed. Therefore, the power consumption of the NIC 10 can be further reduced.

また、本実施形態によれば、セッション確立要求信号が受信されたときに、セッション確立要求信号を送信したPC30との間でセッションが確立されるとともに、第2NIC120に対して起動信号が出力される。また、第2NIC120が起動するまでの間、セッションを張った状態を保持しつつPC30に対してデータの送信を禁止する持続接続制御が実行される。よって、データを一時的に格納するための大容量メモリを第1NIC100側で備える必要がないため、メモリの消費電力を抑えることができる。また、このようにすれば、持続接続制御が終了される時点では、既にセッションが張られているため、迅速にデータ通信を開始することが可能となる。   Further, according to the present embodiment, when a session establishment request signal is received, a session is established with the PC 30 that has transmitted the session establishment request signal, and an activation signal is output to the second NIC 120. . In addition, until the second NIC 120 is activated, persistent connection control is performed that prohibits data transmission to the PC 30 while maintaining a state where a session is established. Therefore, since it is not necessary to provide a large capacity memory for temporarily storing data on the first NIC 100 side, the power consumption of the memory can be suppressed. In this way, since the session is already established when the persistent connection control is terminated, it is possible to start data communication quickly.

また、本実施形態によれば、第2NIC120が起動するまで、受信可能データ量がPC30の最小送信可能データ量よりも小さくなるように、受信バッファ102から読み出されるデータ量が非持続接続制御時(すなわち通常制御時)よりも少なくされる。よって、PC30から受信されるデータ量よりも受信バッファ102から読み出されるデータ量が少なくなるため、受信バッファ102の空き容量が減少し、受信可能データ量としてPC30の最小送信可能データ量よりも小さな値(典型的にはゼロ)が該通信端末に対して送信される。その結果、セッションを張った状態でPC30による送信データの送出を抑制すること、すなわち持続接続制御を実現することが可能となる。   Further, according to the present embodiment, until the second NIC 120 is activated, the amount of data read from the reception buffer 102 is not controlled during non-persistent connection control so that the amount of receivable data is smaller than the minimum amount of transmittable data of the PC 30 ( That is, it is less than during normal control. Therefore, since the amount of data read from the reception buffer 102 is smaller than the amount of data received from the PC 30, the free capacity of the reception buffer 102 decreases, and the receivable data amount is smaller than the minimum transmittable data amount of the PC 30. (Typically zero) is transmitted to the communication terminal. As a result, it is possible to suppress transmission of transmission data by the PC 30 in a state where a session is established, that is, to realize persistent connection control.

また、本実施形態によれば、第2NIC120が起動され、持続接続制御が終了されるときに、受信バッファ102から読み出されるデータ量が持続接続制御時よりも増やされ、受信バッファ102の空き容量(すなわち受信可能データ量)がPC30の最小送信可能データ量よりも大きくされる。そして、その空き容量に応じたサイズが受信可能データ量としてPC30に送信される。そのため、PC30が送信データを送出することができるようになり、第2NIC120の起動後に、持続接続制御から通常制御に円滑に移行することが可能となる。   In addition, according to the present embodiment, when the second NIC 120 is activated and the continuous connection control is terminated, the amount of data read from the reception buffer 102 is increased compared to that during the continuous connection control, and the free capacity of the reception buffer 102 ( That is, the receivable data amount) is made larger than the minimum transmittable data amount of the PC 30. Then, the size corresponding to the available capacity is transmitted to the PC 30 as the receivable data amount. For this reason, the PC 30 can transmit the transmission data, and after the second NIC 120 is activated, it is possible to smoothly shift from the continuous connection control to the normal control.

本実施形態によれば、第2NIC120は、直接的にはLAN51と接続されず、第1NIC100と同様の構成(特に、受信部101、受信バッファ102、送信部103等)を備える必要がない。そのため、第2NIC120の構成をより簡略化することができ、消費電力及びコストを低減することができる。   According to the present embodiment, the second NIC 120 is not directly connected to the LAN 51 and does not need to have the same configuration as the first NIC 100 (particularly, the reception unit 101, the reception buffer 102, the transmission unit 103, etc.). Therefore, the configuration of the second NIC 120 can be further simplified, and power consumption and cost can be reduced.

以上、本発明の実施の形態について説明したが、本発明は、上記実施形態に限定されるものではなく種々の変形が可能である。例えば、上記実施形態では、NIC10が第1NIC100と第2NIC120とに分割されて構成されていたが、第1NIC100及び第2NIC120それぞれは、必ずしも独立した基板で構成されている必要はない。例えば、1枚の基板上に第1NIC100及び第2NIC120が構築されていてもよいし、1つのチップの中に第1NIC100及び第2NIC120が形成されていてもよい。   Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications can be made. For example, in the above-described embodiment, the NIC 10 is divided into the first NIC 100 and the second NIC 120, but each of the first NIC 100 and the second NIC 120 does not necessarily have to be formed of independent substrates. For example, the first NIC 100 and the second NIC 120 may be constructed on one substrate, or the first NIC 100 and the second NIC 120 may be formed in one chip.

上記実施形態では本発明に係るネットワーク通信装置をネットワーク複合機に適用したが、ネットワーク複合機以外のネットワーク機器に適用することもできる。さらに、用いる通信プロトコル等は上記実施形態には限られない。   In the above embodiment, the network communication apparatus according to the present invention is applied to a network multifunction device, but can also be applied to network devices other than the network multifunction device. Furthermore, the communication protocol used is not limited to the above embodiment.

上記実施形態では、持続接続制御に移行する際、及び持続接続制御を維持する際に、受信バッファ102から10バイトずつ受信データを読み出したが、1度に読み出される受信データ量は10バイトには限られない。   In the above embodiment, when shifting to persistent connection control and maintaining persistent connection control, the received data is read from the reception buffer 102 by 10 bytes. However, the received data amount read at one time is 10 bytes. Not limited.

また、上記実施形態では、通信端末がPCである場合を例にして説明したが、通信端末はPCに限られない。例えば、通信端末はネットワーク複合機等であってもよい。   Moreover, although the case where the communication terminal is a PC has been described as an example in the above embodiment, the communication terminal is not limited to the PC. For example, the communication terminal may be a network multifunction device or the like.

1 ネットワーク複合機
10 NIC
100 第1NIC
101 受信部
102 受信バッファ
103 送信部
104 記憶部
105 電力状態判定部
106 起動要否判定部
107 起動信号出力部
108 バス転送部
109 応答データ生成部
110 持続接続制御部
120 第2NIC
121 受取部
122 出力部
11 制御部
12 記録部
13 操作部
14 表示部
15 読取部
16 コーデック
17 画像記憶部
18 モデム
19 NCU
20 IFAX制御部
21 Webサーバ
23 バス
30 パーソナルコンピュータ
51 LAN
1 Network MFP 10 NIC
100 1st NIC
DESCRIPTION OF SYMBOLS 101 Reception part 102 Reception buffer 103 Transmission part 104 Storage part 105 Power state determination part 106 Activation necessity determination part 107 Activation signal output part 108 Bus transfer part 109 Response data generation part 110 Persistent connection control part 120 2nd NIC
REFERENCE SIGNS LIST 121 Reception unit 122 Output unit 11 Control unit 12 Recording unit 13 Operation unit 14 Display unit 15 Reading unit 16 Codec 17 Image storage unit 18 Modem 19 NCU
20 IFAX control unit 21 Web server 23 Bus 30 Personal computer 51 LAN

Claims (12)

ネットワークを介して通信端末と接続され、該通信端末との間で通信を行なう第1通信制御手段と、
前記第1通信制御手段と通信路を介して接続され、通常電力状態と低消費電力状態とを取り得る第2通信制御手段と、を備え、
前記第1通信制御手段は、
前記通信端末から前記ネットワークを介してデータを受信する受信手段と、
前記第2通信制御手段の電力状態を判定する判定手段と、
前記受信手段によりデータが受信され、かつ、前記判定手段により前記第2通信制御手段が低消費電力状態であると判定された場合に、前記第2通信制御手段に対して、該第2通信制御手段を起動させるための起動信号を出力する起動手段と、
第2通信制御手段が起動されるまでの間前記受信手段により受信されたデータを記憶する記憶手段と、
前記第2通信制御手段が起動されて低消費電力状態から通常電力状態に遷移したと判定された場合に、前記第2通信制御手段が起動するまでに受信されて前記記憶手段に記憶されている前記データを前記第2通信制御手段に前記通信路を介して転送するとともに、前記第2通信制御手段が通常電力状態にあるときに、前記受信手段により受信されたデータを第2通信制御手段に前記通信路を介して転送する転送手段と、
前記受信手段により受信された前記データに対する応答、又は、前記第2通信制御手段から受け取った応答を、前記ネットワークを介して前記通信端末へ出力する送信手段と、を有し、
第2通信制御手段は、
前記転送手段により転送されたデータを、前記通信路を介して受け取る受取手段と、
前記受取手段により受け取られたデータに対する応答を、前記通信路を介して、前記第1通信制御手段に出力する出力手段と、を有する、
ことを特徴とするネットワーク通信装置。
A first communication control means connected to a communication terminal via a network and communicating with the communication terminal;
A second communication control means connected to the first communication control means via a communication path and capable of taking a normal power state and a low power consumption state;
The first communication control means includes
Receiving means for receiving data from the communication terminal via the network;
Determining means for determining a power state of the second communication control means;
When the data is received by the receiving means and the second communication control means is determined to be in a low power consumption state by the determination means, the second communication control is performed with respect to the second communication control means. An activation means for outputting an activation signal for activating the means;
Storage means for storing data received by the receiving means until the second communication control means is activated;
When it is determined that the second communication control unit is activated and transitions from the low power consumption state to the normal power state, the second communication control unit is received and stored until the second communication control unit is activated. The data is transferred to the second communication control means via the communication path, and when the second communication control means is in a normal power state, the data received by the receiving means is transferred to the second communication control means. Transfer means for transferring via the communication path;
A transmission unit that outputs a response to the data received by the reception unit or a response received from the second communication control unit to the communication terminal via the network;
The second communication control means
Receiving means for receiving the data transferred by the transfer means via the communication path;
Output means for outputting a response to the data received by the receiving means to the first communication control means via the communication path;
A network communication device.
前記第1通信制御手段は、前記受信手段によりデータが受信され、かつ、前記判定手段により前記第2通信制御手段が低消費電力状態であると判断された場合に、前記第2通信制御手段を起動する必要があるか否かを判定する起動判定手段を備え、
前記起動手段は、前記起動判定手段により前記第2通信制御手段を起動する必要があると判定された場合に、前記起動信号を出力することを特徴とする請求項1に記載のネットワーク通信装置。
The first communication control means switches the second communication control means when data is received by the receiving means and when the determination means determines that the second communication control means is in a low power consumption state. Provided with an activation determination means for determining whether or not activation is necessary,
The network communication device according to claim 1, wherein the activation unit outputs the activation signal when the activation determination unit determines that the second communication control unit needs to be activated.
前記第1通信制御手段は、前記起動判定手段により、前記第2通信制御手段を起動する必要がないと判定された場合に、前記受信手段により受信されたデータに対する応答を生成する生成手段を有し、
前記送信手段は、前記起動判定手段により前記第2通信制御手段を起動する必要がないと判定された場合に、前記生成手段により生成された応答を前記通信端末へ出力することを特徴とする請求項2に記載のネットワーク通信装置。
The first communication control means has a generation means for generating a response to the data received by the receiving means when the activation determining means determines that the second communication control means need not be activated. And
The transmission unit outputs a response generated by the generation unit to the communication terminal when the activation determination unit determines that the second communication control unit does not need to be activated. Item 3. The network communication device according to Item 2.
前記第1通信制御手段は、前記受信手段により前記通信端末からのセッション確立要求信号が受信されたときに、該通信端末との間にセッションを確立するとともに、前記起動判定手段により前記第2通信制御手段を起動する必要があると判定された場合に、前記第2通信制御手段が起動されるまで、セッションを張った状態で前記通信端末に対してデータの送信を禁止する持続接続制御を実行する持続接続制御手段を有し、
該持続接続制御手段は、前記第2通信制御手段が起動したと判定された場合に、前記通信端末に対してデータの送信を許可することを特徴とする請求項1〜3のいずれか1項に記載のネットワーク通信装置。
The first communication control means establishes a session with the communication terminal when the reception means receives a session establishment request signal from the communication terminal, and the activation determination means causes the second communication to be established. When it is determined that it is necessary to start the control means, persistent connection control is executed to prohibit data transmission to the communication terminal in a state where a session is established until the second communication control means is started. Having persistent connection control means,
The persistent connection control means permits the communication terminal to transmit data when it is determined that the second communication control means is activated. A network communication device according to 1.
前記第1通信制御手段は、前記通信端末から受信される受信データを一時的に格納する受信バッファを有し、
前記送信手段は、前記受信バッファの空き容量に応じた受信可能データ量を所定の通信プロトコルに従って前記通信端末へ送信し、
前記持続接続制御手段は、前記判定手段により前記第2通信制御手段が起動したと判定されるまで、前記受信可能データ量が該通信端末の最小送信可能データ量よりも小さくなるように、前記受信バッファから読み出すデータ量を非持続接続制御時よりも少なくすることを特徴とする請求項4に記載のネットワーク通信装置。
The first communication control means has a reception buffer for temporarily storing reception data received from the communication terminal,
The transmission means transmits a receivable data amount according to a free capacity of the reception buffer to the communication terminal according to a predetermined communication protocol,
The continuous connection control unit is configured to receive the reception data so that the receivable data amount is smaller than the minimum transmittable data amount of the communication terminal until the determination unit determines that the second communication control unit is activated. 5. The network communication device according to claim 4, wherein the amount of data read from the buffer is smaller than that during non-persistent connection control.
前記持続接続制御手段は、前記持続接続制御を終了して前記セッション確立要求信号を送信した通信端末に対してデータの送信を許可する場合、前記受信可能データ量が該通信端末の最小送信可能データ量よりも大きくなるように、前記受信バッファから読み出すデータ量を前記持続接続制御時よりも多くすることを特徴とする請求項5に記載のネットワーク通信装置。   When the persistent connection control means permits the communication terminal that has transmitted the session establishment request signal after terminating the persistent connection control to transmit data, the receivable data amount is the minimum transmittable data of the communication terminal. 6. The network communication device according to claim 5, wherein the amount of data read from the reception buffer is made larger than that during the persistent connection control so as to be larger than the amount. ネットワークを介して通信端末と接続され、該通信端末とのセッション確立を含むネットワーク通信機能を有する第1通信制御手段と、該第1通信制御手段と通信路により接続され、該第1通信制御手段を介して前記通信端末との間で通信を行う第2通信制御手段と、を備え、省エネルギー状態を取り得るネットワーク通信装置であって、
省エネルギー状態において、前記第1通信制御手段は通信可能であり、前記第2通信制御手段は通信不能であり、
前記第1通信制御手段は、
省エネルギー状態において、前記通信端末からネットワーク通信要求を受信すると、前記第2通信制御手段を起動するとともに、前記通信端末との間でセッション確立処理を実行し、該セッション確立処理で前記通信端末から受信した第1のデータを記憶し、
前記通信端末との間で前記セッション確立処理が完了した後、セッションを確立した状態で前記通信端末に対してデータの送信を禁止する持続接続制御を実行し、
前記第2通信制御手段が起動したことを検出すると、記憶している前記第1のデータを前記第2通信制御手段に転送して該第2通信制御手段との間で擬似的セッション確立処理を実行し、
前記擬似的セッション確立処理の完了後、前記通信端末との間の前記持続接続制御を解除し、
前記第2通信制御手段は、
前記持続接続制御が解除された後、前記第1通信制御手段を介して、前記通信端末との間でデータ通信を実行する、ネットワーク通信装置。
First communication control means connected to a communication terminal via a network and having a network communication function including session establishment with the communication terminal, and connected to the first communication control means via a communication path, the first communication control means And a second communication control means for communicating with the communication terminal via a network communication device capable of taking an energy saving state,
In an energy saving state, the first communication control means can communicate, and the second communication control means cannot communicate,
The first communication control means includes
When a network communication request is received from the communication terminal in the energy saving state, the second communication control unit is activated, a session establishment process is executed with the communication terminal, and the session establishment process receives the communication establishment terminal from the communication terminal. Store the first data,
After the session establishment process is completed with the communication terminal, a continuous connection control for prohibiting data transmission to the communication terminal in a state where a session is established is executed,
When it is detected that the second communication control means is activated, the stored first data is transferred to the second communication control means, and a pseudo session establishment process is performed with the second communication control means. Run,
After completion of the pseudo session establishment process, release the persistent connection control with the communication terminal,
The second communication control means includes
A network communication device that executes data communication with the communication terminal via the first communication control unit after the persistent connection control is released.
前記第1通信制御手段は、前記ネットワーク通信要求の内容を解析して前記第2通信制御手段の起動要否を判定し、起動が必要であると判断した場合、前記第2通信制御手段を起動させるとともに、前記通信端末との間で前記セッション確立処理を実行し、起動が不要であると判断した場合、前記第2通信制御手段を起動させることなく、前記通信端末との間で前記セッション確立処理を実行する請求項7に記載のネットワーク通信装置。   The first communication control unit analyzes the content of the network communication request to determine whether the second communication control unit needs to be activated. When the first communication control unit determines that the activation is necessary, the first communication control unit activates the second communication control unit And when the session establishment process is executed with the communication terminal and it is determined that the activation is unnecessary, the session establishment is established with the communication terminal without activating the second communication control unit. The network communication device according to claim 7, which executes processing. 前記第1通信制御手段は、前記セッション確立処理において前記通信端末へ送信した第2のデータを記憶し、前記第2通信制御手段との前記擬似的セッション確立処理において、前記第2通信制御手段から受取ったデータと記憶している前記第2のデータとを比較し、一致する場合、前記受取ったデータに対する応答となるデータを前記第2通信制御手段に転送する請求項7又は8に記載のネットワーク通信装置。   The first communication control means stores the second data transmitted to the communication terminal in the session establishment process, and from the second communication control means in the pseudo session establishment process with the second communication control means. The network according to claim 7 or 8, wherein the received data and the stored second data are compared, and if they match, the data serving as a response to the received data is transferred to the second communication control means. Communication device. 前記第1通信制御手段は、前記持続接続制御を解除した後、前記通信端末から受信したデータを、そのまま前記第2通信制御手段に転送する請求項7〜9のいずれか1項に記載のネットワーク通信装置。   The network according to any one of claims 7 to 9, wherein the first communication control unit transfers the data received from the communication terminal to the second communication control unit as it is after releasing the persistent connection control. Communication device. 前記第1通信制御手段は、前記通信端末との間で前記セッション確立処理が完了した後、前記通信端末から第3のデータを受信して記憶し、その後、前記通信端末との間で前記持続接続制御を実行する請求項7〜10のいずれか1項に記載のネットワーク通信装置。   The first communication control unit receives and stores the third data from the communication terminal after the session establishment process is completed with the communication terminal, and then continues with the communication terminal. The network communication device according to claim 7, wherein connection control is executed. 前記第1通信制御手段は、前記擬似的セッション確立処理の完了後、記憶している前記第3のデータを前記第2通信制御手段に転送し、その後、前記通信端末との間の前記持続接続制御を解除する請求項11に記載のネットワーク通信装置。

The first communication control means transfers the stored third data to the second communication control means after completion of the pseudo session establishment process, and then the persistent connection with the communication terminal. The network communication device according to claim 11, wherein the control is released.

JP2009124781A 2009-05-23 2009-05-23 Network communication device Pending JP2010273227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009124781A JP2010273227A (en) 2009-05-23 2009-05-23 Network communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009124781A JP2010273227A (en) 2009-05-23 2009-05-23 Network communication device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013119558A Division JP5664702B2 (en) 2013-06-06 2013-06-06 Network communication equipment

Publications (1)

Publication Number Publication Date
JP2010273227A true JP2010273227A (en) 2010-12-02

Family

ID=43420873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009124781A Pending JP2010273227A (en) 2009-05-23 2009-05-23 Network communication device

Country Status (1)

Country Link
JP (1) JP2010273227A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014115217A1 (en) * 2013-01-28 2014-07-31 株式会社デンソー Mobile communication device, and storage medium including program product for mobile communication device
JP2016081211A (en) * 2014-10-15 2016-05-16 セイコーエプソン株式会社 Electronic apparatus, control method, and program
US20180341441A1 (en) * 2017-05-29 2018-11-29 Oki Data Corporation Information processing apparatus and image forming apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10294811A (en) * 1997-04-17 1998-11-04 Fuji Xerox Co Ltd Image processor
JP2007324650A (en) * 2006-05-30 2007-12-13 Sharp Corp Image processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10294811A (en) * 1997-04-17 1998-11-04 Fuji Xerox Co Ltd Image processor
JP2007324650A (en) * 2006-05-30 2007-12-13 Sharp Corp Image processor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014115217A1 (en) * 2013-01-28 2014-07-31 株式会社デンソー Mobile communication device, and storage medium including program product for mobile communication device
JP2014146925A (en) * 2013-01-28 2014-08-14 Denso Corp Portable communication apparatus and program for portable communication apparatus
CN104937912A (en) * 2013-01-28 2015-09-23 株式会社电装 Mobile communication device, and storage medium including program product for mobile communication device
US9474024B2 (en) 2013-01-28 2016-10-18 Denso Corporation Mobile communication apparatus switching on and off state with distance from communicating external apparatus
JP2016081211A (en) * 2014-10-15 2016-05-16 セイコーエプソン株式会社 Electronic apparatus, control method, and program
US20180341441A1 (en) * 2017-05-29 2018-11-29 Oki Data Corporation Information processing apparatus and image forming apparatus
JP2018200646A (en) * 2017-05-29 2018-12-20 株式会社沖データ Information processing apparatus and image formation apparatus

Similar Documents

Publication Publication Date Title
JP5521511B2 (en) Network equipment
JP5407943B2 (en) Network interface device
US7933261B2 (en) Communication method, communication system, communication device, and program using multiple communication modes
JP2005045301A (en) Image processor
JP4341628B2 (en) Data communication apparatus and data communication processing program
US20110134477A1 (en) Network Printer
US20160150112A1 (en) Communication system and communication method
JP5779894B2 (en) Communication apparatus and image processing apparatus
JP2010273227A (en) Network communication device
US20080180718A1 (en) Client server system and image forming apparatus
JP5636806B2 (en) Network MFP
JP2013008293A (en) Image formation device, information processing terminal, image formation system, and information processing program
JP2012160086A (en) Data processing device, client device, and data processing system
JP5630339B2 (en) Communication apparatus and image processing apparatus
JP5664702B2 (en) Network communication equipment
US9049331B2 (en) Electronic device and computer program product
JP2008205617A (en) Communicating method and image communication device
JP5678497B2 (en) Network printer
JP2011199587A (en) Image processing apparatus
JP2007251568A (en) Network device
JP2008141489A (en) E-mail transmitter
US9392030B2 (en) Communication apparatus, communication apparatus control method, and storage medium for data communication using a call control server
JP2001333231A (en) Network facsimile equipment
US9209997B2 (en) Communication apparatus and communication system
JP6391238B2 (en) System, facsimile apparatus, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120229

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130416

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130813