[go: up one dir, main page]

JP4389881B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP4389881B2
JP4389881B2 JP2006017522A JP2006017522A JP4389881B2 JP 4389881 B2 JP4389881 B2 JP 4389881B2 JP 2006017522 A JP2006017522 A JP 2006017522A JP 2006017522 A JP2006017522 A JP 2006017522A JP 4389881 B2 JP4389881 B2 JP 4389881B2
Authority
JP
Japan
Prior art keywords
processing
communication
connection
hardware
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2006017522A
Other languages
Japanese (ja)
Other versions
JP2007201785A (en
Inventor
好史 谷本
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 JP2006017522A priority Critical patent/JP4389881B2/en
Publication of JP2007201785A publication Critical patent/JP2007201785A/en
Application granted granted Critical
Publication of JP4389881B2 publication Critical patent/JP4389881B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Description

本発明は、複数の通信コネクションを生成して通信処理を実行する通信装置に関する。   The present invention relates to a communication apparatus that generates a plurality of communication connections and executes communication processing.

ネットワークを利用した通信処理を実行する装置において、TCP/IPなどの通信プロトコル処理をLSIで実現したものが存在する。これにより、PDA(Personal Digital Assistance)や携帯電話機など、CPUの処理能力が非力な装置においても、高速な通信処理が実現できるようになっている。   Some apparatuses that execute communication processing using a network realize communication protocol processing such as TCP / IP with an LSI. As a result, high-speed communication processing can be realized even in devices such as a PDA (Personal Digital Assistance) and a mobile phone, which have a weak CPU processing capability.

下記特許文献1では、通信プロトコル処理をハードウェア処理とソフトウェア処理の2通りの方法で実現可能としている。そして、処理負荷の重い処理には、ハードウェア処理を割り当て、処理負荷の小さい処理には、ソフトウェア処理を割り当てるようにしている。   In the following Patent Document 1, communication protocol processing can be realized by two methods of hardware processing and software processing. A hardware process is assigned to a process with a heavy processing load, and a software process is assigned to a process with a low processing load.

特開2002−354064号公報JP 2002-354064 A

上述したように、通信プロトコル処理をLSIで実現することにより、処理の高速化が図られる。したがって、携帯電話機などCPUの能力が小さい装置であっても、通信処理が高速化されるという点でメリットがある。ここで、携帯電話機などは、基本的にクライアント端末としてサーバに対する通信処理を実行する。したがって、生成する通信コネクション数もそれほど多くはなく、制御しなければならない通信コネクション数も限定的である。   As described above, the communication protocol processing is realized by LSI, so that the processing speed can be increased. Therefore, even a device having a small CPU capability such as a mobile phone has an advantage in that the communication processing is speeded up. Here, the cellular phone or the like basically executes communication processing with respect to the server as a client terminal. Therefore, the number of communication connections to be generated is not so large, and the number of communication connections to be controlled is limited.

これに対して、通信装置が、サーバ機能およびクライアント機能を備えているような場合には、多くの通信コネクションが生成されることになる。特に、サーバとして機能する場合には、複数のクライアント端末から同時に接続要求を受けることがあり、多数の通信コネクション生成能力が必要となる。このような場合まで、通信プロトコル処理をLSIで実現するためには、大規模なLSIが必要となり、装置構成が増大するとともに、コスト高となる。あるいは、システム全体の処理能力を向上させて実現する方法もあるが、やはり、CPUに高い処理能力が要求され、コスト高となる。   On the other hand, when the communication device has a server function and a client function, many communication connections are generated. In particular, when functioning as a server, connection requests may be simultaneously received from a plurality of client terminals, and a large number of communication connection generation capabilities are required. Up to such a case, in order to realize communication protocol processing by LSI, a large-scale LSI is required, which increases the device configuration and increases the cost. Alternatively, there is a method of improving the processing capability of the entire system, but again, a high processing capability is required for the CPU, which increases the cost.

また、上記特許文献1では、ハードウェア処理とソフトウェア処理を使い分けるようにしている。しかし、処理負荷の重い処理にハードウェア処理を割り当てるようにしていると、ユーザにとって重要な優先度の高い処理にソフトウェア処理が割り当てられるような場合があり、ユーザの要求にあった処理が行われているとは言えない。   In Patent Document 1, hardware processing and software processing are used properly. However, if hardware processing is assigned to processing with heavy processing load, software processing may be assigned to high priority processing important for the user, and processing that meets the user's request is performed. I can't say that.

そこで、本発明は前記問題点に鑑み、ハードウェア処理とソフトウェア処理を使い分けつつ、ユーザの要求に応じた通信処理を実現可能な技術を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a technique capable of realizing communication processing according to a user's request while properly using hardware processing and software processing.

上記課題を解決するため、請求項1記載の発明は、複数の通信コネクションを制御可能な通信装置であって、通信コネクションを生成するために使用される所定の通信プロトコルをソフトウェアで処理するソフトウェア処理手段と、通信コネクションを生成するために使用される所定の通信プロトコルをハードウェアで処理するハードウェア処理手段と、通信コネクションの生成を必要とする処理が発生したとき、あらかじめ設定された当該処理の設定情報に応じて、前記ソフトウェア処理手段あるいは前記ハードウェア処理手段のいずれかを割り当てることで通信コネクションを生成する制御手段と、を備え、前記制御手段は、優先度の高い処理に対して前記ハードウェア処理手段を割り当てるよう設定され、前記ハードウェア処理手段にコネクションを生成する資源が残っていない場合、優先度の高い処理に対して前記ソフトウェア処理手段を割り当てるよう設定されることを特徴とする。 In order to solve the above-mentioned problem, the invention according to claim 1 is a communication device capable of controlling a plurality of communication connections, and software processing for processing a predetermined communication protocol used for generating a communication connection by software Means, hardware processing means for processing a predetermined communication protocol used for generating a communication connection in hardware, and processing that requires generation of a communication connection occurs. Control means for generating a communication connection by allocating either the software processing means or the hardware processing means in accordance with setting information, and the control means is configured to control the hardware for high priority processing. Hardware processing means is assigned to the hardware processing means. If resources for generating Nekushon does not remain, characterized in that it is configured for high priority processing allocating the software processing unit.

請求項2記載の発明は、請求項1に記載の通信装置において、前記制御手段は、アプリケーションプログラムごとに処理の優先度が設定されることを特徴とする。 According to a second aspect of the present invention, in the communication apparatus according to the first aspect, the control means sets a processing priority for each application program.

請求項3記載の発明は、請求項1または請求項2に記載の通信装置において、前記ソフトウェア処理手段は、システム資源に余裕がある限りにおいて、通信コネクション数を増加させることを特徴とする。
請求項4記載の発明は、複数の通信コネクションを制御可能な通信装置であって、通信コネクションを生成するために使用される所定の通信プロトコルをソフトウェアで処理するソフトウェア処理手段と、通信コネクションを生成するために使用される所定の通信プロトコルをハードウェアで処理するハードウェア処理手段と、通信コネクションの生成を必要とする処理が発生したとき、あらかじめ設定された当該処理の設定情報に応じて、前記ソフトウェア処理手段あるいは前記ハードウェア処理手段のいずれかを割り当てることで通信コネクションを生成する制御手段と、を備え、前記ソフトウェア処理手段は、システム資源に余裕がある限りにおいて、通信コネクション数を増加させることを特徴とする。

According to a third aspect of the present invention, in the communication device according to the first or second aspect, the software processing means increases the number of communication connections as long as there is room in system resources.
The invention according to claim 4 is a communication device capable of controlling a plurality of communication connections, and software processing means for processing a predetermined communication protocol used for generating the communication connection by software, and generating the communication connection Hardware processing means for processing a predetermined communication protocol used for hardware, and when processing that requires generation of a communication connection occurs, according to the setting information of the processing set in advance, Control means for generating a communication connection by assigning either software processing means or hardware processing means, and the software processing means increases the number of communication connections as long as there is room in system resources. It is characterized by.

本発明の通信装置は、通信コネクションの生成を必要とする処理が発生したとき、あらかじめ設定された情報に応じて、ソフトウェア処理手段あるいはハードウェア処理手段のいずれかを割り当てる。これにより、たとえば設定情報として処理の優先度が設定されている場合には、優先度の高い処理にハードウェア処理が割り当てられ、処理効率が向上する。   The communication apparatus according to the present invention assigns either software processing means or hardware processing means according to preset information when processing requiring generation of a communication connection occurs. Thereby, for example, when the processing priority is set as the setting information, the hardware processing is assigned to the processing with high priority, and the processing efficiency is improved.

また、設定情報に従い、設定された処理にハードウェア処理を割り当てて、高速な処理を実現するとともに、ハードウェア処理だけでなく、ソフトウェア処理を併用している。これにより、メモリ等の資源に余裕がある限りにおいては、ソフトウェア処理によって柔軟にコネクション数を増加させることも可能である。つまり、ハードウェア処理とソフトウェア処理の両者の長所をうまく利用し、全体として柔軟性が高く、処理効率のよい装置構成となっている。   Further, according to the setting information, hardware processing is assigned to the set processing to realize high-speed processing, and not only hardware processing but also software processing is used in combination. As a result, the number of connections can be flexibly increased by software processing as long as resources such as memory are available. In other words, the apparatus has an apparatus configuration that makes good use of the advantages of both hardware processing and software processing, is highly flexible as a whole, and has high processing efficiency.

以下、図面を参照しつつ本発明の実施の形態について説明する。本発明の通信装置について、この実施の形態では、デジタル複合機を例に説明することとする。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, the communication apparatus of the present invention will be described using a digital multi-function peripheral as an example.

図1は、本実施の形態に係るデジタル複合機2のオフィス1内における利用形態を表す図である。オフィス1内には、LAN3が構築され、LAN3には、デジタル複合機2が接続されている。また、LAN3には、複数の社員によって使用されるパーソナルコンピュータ(以下、パソコン)4,4・・・が接続されている。さらに、デジタル複合機2は、インターネット5に接続され、インターネット5に接続された各種のサーバ6と通信可能となっている。サーバ6は、たとえば、メールサーバやWEBサーバなどである。   FIG. 1 is a diagram showing a usage pattern in the office 1 of the digital multifunction peripheral 2 according to the present embodiment. A LAN 3 is constructed in the office 1, and a digital multifunction machine 2 is connected to the LAN 3. Further, personal computers (hereinafter referred to as personal computers) 4, 4,... Used by a plurality of employees are connected to the LAN 3. Further, the digital multi-function peripheral 2 is connected to the Internet 5 and can communicate with various servers 6 connected to the Internet 5. The server 6 is, for example, a mail server or a WEB server.

デジタル複合機2は、1台で多数の機能を備えた機器である。デジタル複合機2は、ファックス機能、コピー機能、プリンタ機能、スキャナ機能などを備えるとともに、ネットワーク機能を備えている。したがって、LAN3に接続されたパソコン4は、LAN経由で、デジタル複合機2の各種の機能を利用可能である。オフィス1内で働く社員は、パソコン4を利用してLAN経由でデジタル複合機2を利用したり、実際にデジタル複合機2の場所へ移動して、コピー操作などを行ったりすることで、1台のデジタル複合機2を複数の社員で共用しているのである。   The digital multi-function peripheral 2 is a device having a large number of functions. The digital multifunction peripheral 2 has a fax function, a copy function, a printer function, a scanner function, and the like, and also has a network function. Accordingly, the personal computer 4 connected to the LAN 3 can use various functions of the digital multifunction peripheral 2 via the LAN. An employee working in the office 1 uses the digital multifunction device 2 via the LAN using the personal computer 4 or actually moves to the location of the digital multifunction device 2 and performs a copy operation or the like. The digital multifunction device 2 is shared by a plurality of employees.

また、上述したように、デジタル複合機2は、インターネット5に接続されたメールサーバやWEBサーバと通信可能である。たとえば、デジタル複合機2は、外部のSMTPサーバに送信メールを送信したり、外部のPOPサーバにメール問い合わせを行ったりする。あるいは、外部のWEBサーバからWEBコンテンツを取得する処理などを実行する。これらの処理に関しては、デジタル複合機2は、クライアント機器として機能する。つまり、デジタル複合機2で動作するアプリケーションプログラムは、通信処理に関してクライアントアプリケーションとして動作するものである。   Further, as described above, the digital multi-function peripheral 2 can communicate with a mail server or a WEB server connected to the Internet 5. For example, the digital multi-function peripheral 2 transmits outgoing mail to an external SMTP server, or makes an email inquiry to an external POP server. Or the process etc. which acquire a WEB content from an external WEB server are performed. Regarding these processes, the digital multi-function peripheral 2 functions as a client device. That is, the application program that operates on the digital multifunction peripheral 2 operates as a client application with respect to communication processing.

これに対して、上述したように、デジタル複合機2は、多数の社員が使用するパソコン4から処理要求を受ける。たとえば、デジタル複合機2は、WEBサーバとしての機能を備えており、クライアント端末であるパソコン4からHTTPによる要求を受けて、WEBサーバとしての処理を実行する。あるいは、パソコン4から、PC−FAX送信処理やIFAX(インターネットファックス)送信処理を受けて、処理を実行する。これらの処理において、デジタル複合機2は、パソコン4との間でサーバ機器として機能する。つまり、デジタル複合機2で動作するアプリケーションプログラムは、通信処理に関してサーバアプリケーションとして動作するものである。   On the other hand, as described above, the digital multifunction peripheral 2 receives a processing request from the personal computer 4 used by many employees. For example, the digital multifunction peripheral 2 has a function as a WEB server, and receives a request by HTTP from the personal computer 4 that is a client terminal, and executes processing as a WEB server. Alternatively, the personal computer 4 receives a PC-FAX transmission process or an IFAX (Internet fax) transmission process, and executes the process. In these processes, the digital multifunction peripheral 2 functions as a server device with the personal computer 4. That is, the application program that operates on the digital multifunction peripheral 2 operates as a server application with respect to communication processing.

図2は、デジタル複合機2の通信処理に関わる機能ブロックを示す図である。デジタル複合機2が実行する通信処理は、ソフトウェアによる処理とハードウェアによる処理で実現される。図2において、右側の処理ラインがソフトウェア処理による流れ、つまり、低速コネクションを生成する通信処理の流れであり、左側の処理ラインがハードウェア処理による流れ、つまり、高速コネクションを生成する通信処理の流れである。   FIG. 2 is a diagram illustrating functional blocks related to communication processing of the digital multifunction peripheral 2. Communication processing executed by the digital multi-function peripheral 2 is realized by software processing and hardware processing. In FIG. 2, the right processing line is a flow of software processing, that is, a communication processing flow for generating a low-speed connection, and the left processing line is a flow of hardware processing, that is, a communication processing flow for generating a high-speed connection. It is.

ソフトウェアによる通信処理とは、プログラム処理を示しており、プログラムが、CPU21や外部メモリ23などのハードウェア資源を利用して、CPU21上で実行されることにより実現される処理である。これに対して、ハードウェア処理とは、通信処理の大部分がネットワークLSI22の動作によって実現されている。ソフトウェア処理による通信処理では、通信コネクション数は、外部メモリ23の空き容量や、CPU21の能力によって増減する。したがって、メモリの増設などにより、ある程度の拡張が可能であるというメリットがある反面、CPU21の能力に依存するために、比較的、処理が低速である。これに対して、ハードウェアによる通信処理は、処理を専用のLSIで実現しているので、処理が高速である。しかし、通信コネクション数は、ハードウェアのスペックで規定されるため、固定的である。   The communication process by software indicates a program process, and is a process realized by executing a program on the CPU 21 using hardware resources such as the CPU 21 and the external memory 23. On the other hand, with hardware processing, most communication processing is realized by the operation of the network LSI 22. In communication processing by software processing, the number of communication connections increases or decreases depending on the free capacity of the external memory 23 and the capability of the CPU 21. Therefore, there is a merit that expansion to some extent is possible by adding memory, but the processing is relatively slow because it depends on the capability of the CPU 21. On the other hand, the communication processing by hardware is realized at a high speed because the processing is realized by a dedicated LSI. However, the number of communication connections is fixed because it is defined by hardware specifications.

図2の処理ブロックについて説明する。まず、アプリケーション211とは、アプリケーションプログラムがCPU21上で動作することにより実現される処理ブロックである。アプリケーション211には、WEBサーバアプリケーション、PC−FAXアプリケーション、IFAXアプリケーション、印刷アプリケーション、PC−SCANアプリケーション、メールクライアントアプリケーションなどが含まれる。印刷、PC−SCANアプリケーションとは、それぞれパソコン4からの指示を受けて、印刷処理やスキャニング処理を実行するアプリケーションである。   The processing block of FIG. 2 will be described. First, the application 211 is a processing block realized by an application program operating on the CPU 21. The application 211 includes a WEB server application, a PC-FAX application, an IFAX application, a printing application, a PC-SCAN application, a mail client application, and the like. The printing and PC-SCAN applications are applications that execute a printing process and a scanning process in response to an instruction from the personal computer 4.

また、上述したように、アプリケーション211には、サーバアプリケーションとクライアントアプリケーションが含まれる。サーバアプリケーションとは、デジタル複合機2がサーバとして機能するものであり、WEBサーバアプリケーションやPC−FAXアプリケーション、印刷アプリケーション、PC−SCANアプリケーションなどが含まれる。クライアントアプリケーションとは、デジタル複合機2が、クライアントとして機能するものであり、メールクライアントプログラム、HTTPクライアントプログラムなどが含まれる。IFAXアプリケーションについては、パソコン4との間では、サーバとして機能し、インターネット5に接続されたメールサーバとの間では、クライアントとして機能する。   As described above, the application 211 includes a server application and a client application. The server application is a function in which the digital multifunction peripheral 2 functions as a server, and includes a WEB server application, a PC-FAX application, a printing application, a PC-SCAN application, and the like. The client application is one in which the digital multifunction peripheral 2 functions as a client, and includes a mail client program, an HTTP client program, and the like. The IFAX application functions as a server with the personal computer 4 and functions as a client with the mail server connected to the Internet 5.

ソケットインタフェース212は、通信アプリケーションごとに生成されるインタフェースである。ソケットインタフェース212は、IPアドレスとポート番号を組み合わせて生成される通信用インタフェースである。アプリケーション211は、ソケットインタフェース212により、通信相手のアプリケーションを特定することができる。TCP/IP処理部213は、TCP/IPのプロトコルスタックであり、TCP/IPのプロトコル処理を担当する。つまり、TCP/IP処理部213は、TCP/IPプロトコルをソフトウェア処理により実行する処理部である。   The socket interface 212 is an interface generated for each communication application. The socket interface 212 is a communication interface generated by combining an IP address and a port number. The application 211 can specify a communication partner application through the socket interface 212. The TCP / IP processing unit 213 is a TCP / IP protocol stack, and is responsible for TCP / IP protocol processing. That is, the TCP / IP processing unit 213 is a processing unit that executes the TCP / IP protocol by software processing.

ネットワークLSI22は、インタフェース221、内蔵メモリ222、TCP/IP処理部223、制御部224、LANコントローラ225を備えている。インタフェース221は、CPU21あるいはCPUバスとのインタフェースである。内蔵メモリ222は、ハードウェアによる通信コネクションを設定するためのワークエリアとして使用される。TCP/IP処理部223は、TCP/IPのプロトコル処理をハードウェア化した処理部である。つまり、TCP/IP処理部223は、TCP/IPプロトコルをハードウェア処理により実行する処理部である。制御部224は、TCP/IP処理部213とLANコントローラ225との間でデータの受け渡しを行う。LANコントローラ225は、物理層のレベルでの通信処理を行い、LAN3との間でデータの送受信を行う。   The network LSI 22 includes an interface 221, a built-in memory 222, a TCP / IP processing unit 223, a control unit 224, and a LAN controller 225. The interface 221 is an interface with the CPU 21 or the CPU bus. The built-in memory 222 is used as a work area for setting a communication connection by hardware. The TCP / IP processing unit 223 is a processing unit that implements TCP / IP protocol processing in hardware. That is, the TCP / IP processing unit 223 is a processing unit that executes the TCP / IP protocol by hardware processing. The control unit 224 exchanges data between the TCP / IP processing unit 213 and the LAN controller 225. The LAN controller 225 performs communication processing at the physical layer level, and transmits / receives data to / from the LAN 3.

以上の構成のもと、本実施の形態に係る通信処理の流れについて図3を参照しながら説明する。通信処理を必要とするアプリケーションプログラムが処理を開始すると、CPU21は、当該アプリケーションが、高速コネクションを生成するよう設定されたアプリケーションであるか否かを判定する(ステップS1)。具体的には、コネクション選択用のプログラムがCPU21上で動作し、当該プログラムが、コネクション選択用設定ファイル25を参照し、高速コネクションを生成すべき処理であるか否かを判定する。   Based on the above configuration, the flow of communication processing according to the present embodiment will be described with reference to FIG. When an application program that requires communication processing starts processing, the CPU 21 determines whether or not the application is an application set to generate a high-speed connection (step S1). Specifically, a connection selection program runs on the CPU 21, and the program refers to the connection selection setting file 25 to determine whether it is a process for generating a high-speed connection.

表1〜表3は、コネクション選択用設定ファイル25の設定例を示している。コネクション選択用設定ファイル25は、ユーザの要望に応じて様々な観点から設定される。   Tables 1 to 3 show setting examples of the connection selection setting file 25. The connection selection setting file 25 is set from various viewpoints according to the user's request.

Figure 0004389881
Figure 0004389881

表1で示したコネクション選択用設定ファイル25を用いた場合、IP通信のフォーマットに応じて生成するコネクションが選択される。たとえば、IPv6を利用した通信処理では、IPsecや暗号化処理が実行されることを考慮して、高速コネクションが選択される。そして、IPv4を利用した通信処理については、低速コネクションが選択される。   When the connection selection setting file 25 shown in Table 1 is used, a connection to be generated is selected according to the IP communication format. For example, in communication processing using IPv6, a high-speed connection is selected in consideration of execution of IPsec and encryption processing. For communication processing using IPv4, a low speed connection is selected.

Figure 0004389881
Figure 0004389881

表2で示したコネクション選択用設定ファイル25を用いた場合、アプリケーションプログラムの種類によって生成するコネクションが選択される。   When the connection selection setting file 25 shown in Table 2 is used, a connection to be generated is selected depending on the type of application program.

たとえば、IFAXアプリケーションのうち、SMTPを利用したアプリケーションについては、高速コネクションを生成し、POP3を利用したアプリケーションについては、低速コネクションを生成する。これは、パソコン4を操作するユーザから見ると、送信処理については、高速に行いたいが、受信については、ある程度の処理時間待ちは許容できるという判断に基づく設定である。   For example, among the IFAX applications, a high-speed connection is generated for an application using SMTP, and a low-speed connection is generated for an application using POP3. This is a setting based on a determination that a user who operates the personal computer 4 wants to perform transmission processing at high speed, but that reception can wait for a certain amount of processing time.

また、Print(印刷)アプリケーションについては、高速コネクションを生成する。これは、ユーザは、印刷処理を高速にして、業務効率を向上させたいという要望が高いことを反映している。また、Scan(スキャン)は、パソコン4からスキャニング操作を行うPCスキャン用のアプリケーションを示している。これについても、高速な処理により、業務効率を向上させたいという要望が高いことを反映して高速コネクションを生成するよう設定されている。   For the print application, a high-speed connection is generated. This reflects the high demand of users to increase the printing process speed and improve business efficiency. Scan (scan) indicates a PC scan application for performing a scanning operation from the personal computer 4. This is also set to generate a high-speed connection, reflecting the high demand for improving business efficiency through high-speed processing.

また、PC−FAXアプリケーションについては、低速コネクションを生成するよう設定している。これは、デジタル複合機2側でダイヤル発信処理などが発生するため、パソコン4とデジタル複合機2との間で、高速な処理を実行しても、全体としてのスループットに与える影響が小さいという判断である。   In addition, the PC-FAX application is set to generate a low-speed connection. This is because dial transmission processing or the like occurs on the digital multi-function peripheral 2 side, so that even if high-speed processing is executed between the personal computer 4 and the digital multi-function peripheral 2, there is little influence on the overall throughput. It is.

また、HTTPについては、高速コネクションが設定されている。このアプリケーションは、デジタル複合機2がWEBサーバとして機能するアプリケーションである。デジタル複合機2に蓄積されているコンテンツを参照する場合、ユーザは、迅速にコンテンツを閲覧したいという要望があるためである。   For HTTP, a high-speed connection is set. This application is an application in which the digital multifunction peripheral 2 functions as a WEB server. This is because when the content stored in the digital multi-function peripheral 2 is referred to, the user has a desire to quickly browse the content.

Figure 0004389881
Figure 0004389881

表3で示したコネクション選択用設定ファイル25を用いた場合、アプリケーションプログラムがサーバとして機能するか、クライアントとして機能するかによって生成するコネクションが選択される。表3で示した例では、デジタル複合機2がクライアントとして機能するアプリケーションには高速コネクションを割り当てるようにしている。   When the connection selection setting file 25 shown in Table 3 is used, a connection to be generated is selected depending on whether the application program functions as a server or a client. In the example shown in Table 3, a high-speed connection is assigned to an application in which the digital multifunction peripheral 2 functions as a client.

このように、コネクション選択用設定ファイル25には、ユーザの要望に応じて様々な設定が可能であり、表1〜表3で示した例は一例である。そして、高速コネクションを、どのアプリケーションに割り当てるかにについては、ユーザの要望、業務の形態など種々の要因で決定されるものである。したがって、表1〜表3で示した設定例と異なる設定が最適な場合もある。   As described above, various settings can be made in the connection selection setting file 25 according to the user's request, and the examples shown in Tables 1 to 3 are examples. The application to which the high-speed connection is assigned is determined by various factors such as the user's request and the business form. Therefore, settings different from the setting examples shown in Tables 1 to 3 may be optimal.

再び、図3のフローチャートに戻る。実行されるアプリケーションが高速コネクションとして設定されるアプリケーションである場合(ステップS1でYES)、CPU21は、ネットワークLSI22のハードウェアによる通信コネクション数に空きがあるか否かをチェックする(ステップS2)。そして、空きコネクションが存在する場合(ステップS2でYES)には、当該アプリケーションに高速コネクションを割り当てる。これにより、アプリケーションは、ハードウェアを利用して高速コネクションを生成する(ステップS3)。具体的には、ネットワークLSI22のTCP/IP処理部223を利用して、通信相手のアプリケーションとの間でTCP/IPコネクションを生成する。   Again, it returns to the flowchart of FIG. When the application to be executed is an application set as a high-speed connection (YES in step S1), the CPU 21 checks whether or not there is a free communication connection number by the hardware of the network LSI 22 (step S2). If there is an empty connection (YES in step S2), a high-speed connection is assigned to the application. As a result, the application generates a high-speed connection using hardware (step S3). Specifically, a TCP / IP connection is generated with the communication partner application using the TCP / IP processing unit 223 of the network LSI 22.

もし、ネットワークLSI22のハードウェアによる通信コネクション数に空きがない場合(ステップS2でNO)、CPU21は、低速コネクションに切り替え可能か否かを判定する(ステップS4)。これは、高速コネクションに空きがない場合、低速コネクションに切替えてコネクションを生成するか否かの判断である。この判断を行うために、表1〜表3で示したコネクション選択用設定ファイル25には、切り替え可否のフラグが設定されている。つまり、高速コネクションが設定された場合には、低速コネクションへの切り替えを許可するか否かが設定されている。表2で示した例であれば、IFAX(SMTP)については、低速コネクションへの切り替えを許可しているが、Printについては、低速コネクションへの切り替えを許可していない。   If the number of communication connections by the hardware of the network LSI 22 is not free (NO in step S2), the CPU 21 determines whether or not switching to a low speed connection is possible (step S4). This is a determination as to whether or not to create a connection by switching to a low-speed connection when there is no available high-speed connection. In order to make this determination, a flag indicating whether or not switching is possible is set in the connection selection setting file 25 shown in Tables 1 to 3. That is, when a high-speed connection is set, whether or not switching to a low-speed connection is permitted is set. In the example shown in Table 2, switching to a low speed connection is permitted for IFAX (SMTP), but switching to a low speed connection is not permitted for Print.

低速コネクションへの切り替えが許可されていない場合(ステップS4でNO)、コネクション生成エラー処理を行う(ステップS5)。たとえば、ユーザに対して、コネクション生成エラー通知などを行う。低速コネクションへの切り替えが可能な場合(ステップS4でYES)、低速コネクションを生成する(ステップS6)。具体的には、TCP/IP処理部213を利用することで、通信相手のアプリケーションとの間でソフトウェアを利用したTCP/IPコネクションが生成される。   If switching to a low speed connection is not permitted (NO in step S4), connection generation error processing is performed (step S5). For example, the user is notified of a connection creation error. If switching to a low speed connection is possible (YES in step S4), a low speed connection is generated (step S6). Specifically, by using the TCP / IP processing unit 213, a TCP / IP connection using software is generated with the communication partner application.

一方、実行されるアプリケーションが高速コネクションとして設定されるアプリケーションでない場合(ステップS1でNO)、CPU21は、当該アプリケーションに低速コネクションを割り当てる。これにより、アプリケーションは、低速コネクションを生成する(ステップS6)。具体的には、TCP/IP処理部213を利用することで、通信相手のアプリケーションとの間でTCP/IPコネクションが生成される。   On the other hand, if the application to be executed is not an application set as a high speed connection (NO in step S1), the CPU 21 assigns a low speed connection to the application. Thereby, the application generates a low-speed connection (step S6). Specifically, by using the TCP / IP processing unit 213, a TCP / IP connection is generated with a communication partner application.

このように、本実施の形態によれば、ユーザの要望に応じて、たとえば、処理形態、通信形態、アプリケーション種別などに応じて、通信処理に高速コネクションを割り当てるか、低速コネクションを割り当てるかが設定される。つまり、ユーザによる自由な判断のもとで作成された設定情報に従って、高速コネクションと低速コネクションの割り当てが行われる。その設定基準は、特に限定されないが、典型的なのは、本実施の形態において説明したように、処理の優先度に応じて割り当て設定を行うという方法である。優先度に基づく設定が行われることで、優先度の高い処理には高速コネクションが割り当てられ、優先度の低い処理には、低速コネクションが割り当てられるので、効率的にハードウェア資源が割り当てられ、効率的な処理が実行される。これにより、業務効率を改善させることが可能である。   Thus, according to the present embodiment, according to the user's request, for example, according to the processing mode, communication mode, application type, etc., it is set whether to allocate a high-speed connection or a low-speed connection for communication processing Is done. That is, the high-speed connection and the low-speed connection are allocated according to the setting information created based on the user's free judgment. The setting standard is not particularly limited, but a typical method is to perform allocation setting according to the priority of processing as described in the present embodiment. By making settings based on priority, high-speed connections are assigned to high-priority processes, and low-speed connections are assigned to low-priority processes. Processing is executed. Thereby, it is possible to improve work efficiency.

たとえば、先着順に、高速コネクションを割り当てるような処理が考えられるが、この場合、ユーザにとって優先度の低い処理が先に発生すると、優先度の低い処理に高速コネクションが割り当てられ、後で発生した優先度の高い処理に高速コネクションが割り当てられないという状況が生じる。本発明においては、このような問題を回避できるのである。つまり、高速コネクションが空いていれば、高速コネクションを利用するという方法をとらず、ユーザにより設定された優先度に応じて、ハードウェア資源を割り当てるようにしているのである。たとえば、高速コネクションが空いている場合にも、優先度の低い処理には、低速コネクションを与え、優先度の高い処理のために高速コネクションを確保するようにしているのである。   For example, a process that assigns a high-speed connection in the order of arrival may be considered. In this case, if a process with a low priority for a user occurs first, a high-speed connection is assigned to a process with a low priority, and a priority that occurs later. A situation occurs in which a high-speed connection cannot be assigned to a high-level process. In the present invention, such a problem can be avoided. That is, if the high-speed connection is free, a method of using the high-speed connection is not used, and hardware resources are allocated according to the priority set by the user. For example, even when a high-speed connection is available, a low-speed connection is given to a process with a low priority, and a high-speed connection is secured for a process with a high priority.

また、本実施の形態によるデジタル複合機2は、重要度の高い処理にハードウェア処理を割り当てて、ハードウェア処理のメリットを利用する一方、ハードウェア処理だけでなく、ソフトウェア処理を併用している。これにより、メモリ等の資源に余裕がある限りにおいては、ソフトウェア処理により柔軟にコネクション数を増加させることが可能である。つまり、ハードウェア処理だけで通信コネクションを生成するのであれば、高速化は図れるが、コネクション数が固定的となり、柔軟性に欠く。また、多数の通信コネクションをハードウェア処理だけで実現しようとすると、LSI規模が大きくなりすぎる。これらの問題点をソフトウェア処理を併用することで解決しているのである。つまり、ハードウェア処理とソフトウェア処理の両者の長所をうまく利用し、全体として柔軟性が高く、処理効率のよい装置構成となっている。   The digital multifunction peripheral 2 according to the present embodiment assigns hardware processing to highly important processing and uses the merit of hardware processing, while using not only hardware processing but also software processing. . As a result, the number of connections can be flexibly increased by software processing as long as resources such as memory are available. In other words, if a communication connection is generated only by hardware processing, the speed can be increased, but the number of connections is fixed and lacks flexibility. Further, if a large number of communication connections are to be realized only by hardware processing, the LSI scale becomes too large. These problems are solved by using software processing together. In other words, the apparatus has an apparatus configuration that makes good use of the advantages of both hardware processing and software processing, is highly flexible as a whole, and has high processing efficiency.

図4は、デジタル複合機2の変形例を示す図である。図2で示したデジタル複合機2においては、ソフトウェアによるTCP/IPプロトコル処理は、ネットワークLSI22に実装せずに、CPU21による処理とした。図4で示した変形例では、ネットワークLSI22において、内蔵メモリ222を使用するか、外部メモリ23を使用するかによって、TCP/IP処理部223Aが、高速コネクション又は低速コネクションを実行可能としている。外部メモリ23を使用することで、TCP/IP処理に必要なメモリ資源を柔軟に増やすことができるので、処理速度は低速であるが、コネクション数の増加には対応しやすい。内蔵メモリ222を使用する場合には、処理速度は高速であるが、コネクション数は固定となる。   FIG. 4 is a diagram illustrating a modification of the digital multifunction peripheral 2. In the digital MFP 2 shown in FIG. 2, TCP / IP protocol processing by software is not implemented in the network LSI 22, but is processed by the CPU 21. In the modification shown in FIG. 4, in the network LSI 22, the TCP / IP processing unit 223A can execute a high-speed connection or a low-speed connection depending on whether the built-in memory 222 or the external memory 23 is used. By using the external memory 23, memory resources necessary for TCP / IP processing can be flexibly increased, so that the processing speed is low, but it is easy to cope with an increase in the number of connections. When the built-in memory 222 is used, the processing speed is high, but the number of connections is fixed.

したがって、アプリケーションに高速コネクションが割り当てられた場合には、TCP/IP処理部223Aは、内蔵メモリによる高速処理可能な通信コネクションを生成する。一方、アプリケーションに低速コネクションが割り当てられた場合には、TCP/IP処理部223Aは、外部メモリによる低速処理可能な通信コネクションを生成する。   Therefore, when a high-speed connection is assigned to an application, the TCP / IP processing unit 223A generates a communication connection that can be processed at high speed by the built-in memory. On the other hand, when a low-speed connection is assigned to the application, the TCP / IP processing unit 223A generates a communication connection capable of low-speed processing using an external memory.

デジタル複合機の利用形態を示す図である。It is a figure which shows the utilization form of a digital multi-function peripheral. デジタル複合機の通信処理に関わる機能ブロック図である。FIG. 2 is a functional block diagram related to communication processing of a digital multi-function peripheral. デジタル複合機の通信処理を示すフローチャートである。6 is a flowchart illustrating communication processing of the digital multi-function peripheral. 変形例に係るデジタル複合機の通信処理に関わる機能ブロック図である。It is a functional block diagram related to communication processing of a digital multi-function peripheral according to a modification.

符号の説明Explanation of symbols

2 デジタル複合機
21 CPU
22 ネットワークLSI
213 (ソフトウェアによる)TCP/IP処理部
223 (ハードウェアによる)TCP/IP処理部
2 Digital MFP 21 CPU
22 Network LSI
213 TCP / IP processing unit 223 (by software) TCP / IP processing unit (by hardware)

Claims (4)

複数の通信コネクションを制御可能な通信装置であって、
通信コネクションを生成するために使用される所定の通信プロトコルをソフトウェアで処理するソフトウェア処理手段と、
通信コネクションを生成するために使用される所定の通信プロトコルをハードウェアで処理するハードウェア処理手段と、
通信コネクションの生成を必要とする処理が発生したとき、あらかじめ設定された当該処理の設定情報に応じて、前記ソフトウェア処理手段あるいは前記ハードウェア処理手段のいずれかを割り当てることで通信コネクションを生成する制御手段と、
を備え、
前記制御手段は、優先度の高い処理に対して前記ハードウェア処理手段を割り当てるよう設定され、前記ハードウェア処理手段にコネクションを生成する資源が残っていない場合、優先度の高い処理に対して前記ソフトウェア処理手段を割り当てるよう設定されることを特徴とする通信装置。
A communication device capable of controlling a plurality of communication connections,
Software processing means for processing a predetermined communication protocol used for generating a communication connection by software;
Hardware processing means for processing a predetermined communication protocol used for generating a communication connection in hardware;
Control for generating a communication connection by assigning either the software processing unit or the hardware processing unit according to the setting information of the processing set in advance when a process requiring generation of a communication connection occurs Means,
With
The control means is configured to assign the hardware processing means to a high priority process, and when there is no remaining resource for generating a connection in the hardware processing means, the control means A communication device configured to assign software processing means.
請求項1に記載の通信装置において、  The communication device according to claim 1,
前記制御手段は、アプリケーションプログラムごとに処理の優先度が設定されることを特徴とする通信装置。  The control means is configured to set a processing priority for each application program.
請求項1または請求項2に記載の通信装置において、  The communication device according to claim 1 or 2,
前記ソフトウェア処理手段は、システム資源に余裕がある限りにおいて、通信コネクション数を増加させることを特徴とする通信装置。  The software processing unit increases the number of communication connections as long as system resources are available.
複数の通信コネクションを制御可能な通信装置であって、  A communication device capable of controlling a plurality of communication connections,
通信コネクションを生成するために使用される所定の通信プロトコルをソフトウェアで処理するソフトウェア処理手段と、  Software processing means for processing a predetermined communication protocol used for generating a communication connection by software;
通信コネクションを生成するために使用される所定の通信プロトコルをハードウェアで処理するハードウェア処理手段と、  Hardware processing means for processing a predetermined communication protocol used for generating a communication connection in hardware;
通信コネクションの生成を必要とする処理が発生したとき、あらかじめ設定された当該処理の設定情報に応じて、前記ソフトウェア処理手段あるいは前記ハードウェア処理手段のいずれかを割り当てることで通信コネクションを生成する制御手段と、  Control for generating a communication connection by assigning either the software processing unit or the hardware processing unit according to the setting information of the process set in advance when a process requiring generation of a communication connection occurs Means,
を備え、With
前記ソフトウェア処理手段は、システム資源に余裕がある限りにおいて、通信コネクション数を増加させることを特徴とする通信装置。  The software processing unit increases the number of communication connections as long as system resources are available.
JP2006017522A 2006-01-26 2006-01-26 Communication device Expired - Lifetime JP4389881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006017522A JP4389881B2 (en) 2006-01-26 2006-01-26 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006017522A JP4389881B2 (en) 2006-01-26 2006-01-26 Communication device

Publications (2)

Publication Number Publication Date
JP2007201785A JP2007201785A (en) 2007-08-09
JP4389881B2 true JP4389881B2 (en) 2009-12-24

Family

ID=38455923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006017522A Expired - Lifetime JP4389881B2 (en) 2006-01-26 2006-01-26 Communication device

Country Status (1)

Country Link
JP (1) JP4389881B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4964683B2 (en) 2007-06-18 2012-07-04 株式会社リコー Communication apparatus and program
JP2009070233A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Storage medium control apparatus and storage medium control method
KR101319561B1 (en) * 2013-04-18 2013-10-23 (주) 위즈네트 Ipv4/ipv6 dual stack software/hardware apparatus and method for processing internet packet
DE112013007045B4 (en) 2013-05-09 2020-01-23 Mitsubishi Electric Corporation High integration circuit for a factory automation network and communication device

Also Published As

Publication number Publication date
JP2007201785A (en) 2007-08-09

Similar Documents

Publication Publication Date Title
CN106330855B (en) Communication system, management server, and control method
KR20110036404A (en) Image forming apparatus for supporting wired network interface and wireless network interface and method for connecting network in same apparatus
JP2023092091A (en) IMAGE PROCESSING APPARATUS, SYSTEM, CONTROL METHOD AND PROGRAM FOR IMAGE PROCESSING APPARATUS
JP4389881B2 (en) Communication device
JP4964683B2 (en) Communication apparatus and program
JP2005057549A (en) MFP system, server, remote operation method, and program
JP5806503B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP4368776B2 (en) Network device, network device control method, program, and recording medium
JP7665425B2 (en) Information processing system, information processing device, and control method and program thereof
JP2009193547A (en) Image forming apparatus and its image formation control method
US20060282531A1 (en) Network interface apparatus for controlling image data forwarding according to performance function of each address and method thereof
EP2618552A1 (en) Image forming device
JP6850142B2 (en) How to send a fax message from a fax message transmitter to a fax message receiver
JP2007219644A (en) COMMUNICATION DEVICE, PORT NUMBER MANAGEMENT METHOD, AND PORT NUMBER MANAGEMENT PROGRAM
JP4690918B2 (en) Network equipment
JP2008242822A (en) Information processor and program
JP5760885B2 (en) Approval terminal device
JP3770261B2 (en) Facsimile machine
JP5353833B2 (en) Server, print setting file storage control method, and storage control program
JP2008270969A (en) Network multifunction device
JP5042079B2 (en) Image processing apparatus and application activation method
JP4602093B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP2019001107A (en) Print control apparatus, control method, and program
JP6429025B2 (en) Image transmitting apparatus and application program
JP2004247952A (en) Image processing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090820

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090915

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090928

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

Free format text: PAYMENT UNTIL: 20121016

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4389881

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121016

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131016

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20131016

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20141016

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250