JP5153841B2 - Communication device and communication control method thereof - Google Patents

Communication device and communication control method thereof Download PDF

Info

Publication number
JP5153841B2
JP5153841B2 JP2010199402A JP2010199402A JP5153841B2 JP 5153841 B2 JP5153841 B2 JP 5153841B2 JP 2010199402 A JP2010199402 A JP 2010199402A JP 2010199402 A JP2010199402 A JP 2010199402A JP 5153841 B2 JP5153841 B2 JP 5153841B2
Authority
JP
Japan
Prior art keywords
network
address
address resolution
interface means
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010199402A
Other languages
Japanese (ja)
Other versions
JP2011010359A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010199402A priority Critical patent/JP5153841B2/en
Publication of JP2011010359A publication Critical patent/JP2011010359A/en
Application granted granted Critical
Publication of JP5153841B2 publication Critical patent/JP5153841B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワークに接続され、当該ネットワークを介してデータを送受信する通信装置及び通信制御方法に関するものである。 The present invention is connected to a network, to a communication device及beauty communications control method for transmitting and receiving data via the network.

ビジネスやオフィス環境をサポートするネットワーク環境では、しばしばネットワーク機能を備えた印刷装置等のように、そのネットワークには異なる機能や能力を有する種々のタイプ、或は異なる世代のネットワークデバイスが含まれる。新しい技術が出現し、機能が改善された新しいモデルや次世代のネットワークデバイスが普及するにつれて、そのネットワーク内で使用できる機能が大幅に変化する。しかし、1つのネットワーク内で、セキュアプリンティングをサポートできる新しい印刷装置と、セキュアプリンティングを全くサポートしていない旧タイプの印刷装置とが混在するという事態も生じ得る。このような状態では、ネットワーク全体の機能が向上したとは考えられない。   In a network environment that supports a business or office environment, the network often includes various types or different generations of network devices having different functions and capabilities, such as a printing device having a network function. As new technologies emerge and new models with improved functionality and next-generation network devices become available, the functionality available within that network will change significantly. However, a situation may occur in which a new printing apparatus that can support secure printing and an old type printing apparatus that does not support secure printing are mixed in one network. In such a state, it cannot be considered that the function of the entire network has improved.

そこで新しい技術及びその改良をネットワーク全体に亘って実施し、全てのネットワークユーザが全てのネットワークデバイスについて同じ機能を使用できるようにするのが望ましい。そうでないと、一部のネットワークユーザに割り当てられた旧タイプのネットワークデバイスが、他の新しいネットワークデバイスでサポートされた新しい機能をサポートできない場合、それら一部の旧タイプのデバイスのユーザは、セキュアプリンティングや電子メール印刷などの新しい有用な機能を利用できない。   It is therefore desirable to implement new technologies and improvements throughout the network so that all network users can use the same functionality for all network devices. Otherwise, if the old type network devices assigned to some network users cannot support the new features supported by other new network devices, the users of those old type devices New useful features such as email and email printing are not available.

この問題に対する1つの解決手法は、単純に、全ての旧タイプのネットワークデバイスを、所望の新しい機能や能力を有する新しいネットワークデバイスに置き換えることである。しかしながら、この解決手法を実施する場合の労力及び費用は多大であり、新しい機能や能力を必要とする新しいエンタープライズアプリケーションが頻繁に実施されるような場合には現実的な方法ではない。   One solution to this problem is simply to replace all old type network devices with new network devices with the desired new functions and capabilities. However, the effort and cost of implementing this solution is tremendous and is not practical when new enterprise applications that require new features and capabilities are frequently implemented.

またこの問題に対する他の解決手法としては、新しいファームウェアを各旧タイプのネットワークデバイスにダウンロードすることによって、その旧タイプのネットワークデバイスをバージョンアップするものがある(特許文献1)。しかし、この手法では、ネットワークアドミニストレータ或はサービス担当者が、物理的に旧タイプのネットワークデバイスのそれぞれにアクセスし、それぞれに適切なバージョンのファームウェアをダウンロードして、そのネットワークデバイスが新規なネットワークデバイスと整合の取れた機能をサポートできるしなければならず、著しい労力が要求される。また多くの場合、旧タイプのネットワークデバイスは、ハードウェアやデザイン上の制限等があるため、新しい機能を実現するための新しいバージョンのファームウェアをダウンロードできない可能性もある。   In addition, as another solution to this problem, there is a method of upgrading an old type network device by downloading new firmware to each old type network device (Patent Document 1). However, in this approach, a network administrator or service representative physically accesses each of the older network devices, downloads the appropriate version of firmware for each, and makes the network device a new network device. It must be able to support consistent functions and requires significant effort. In many cases, the old-type network device has hardware and design limitations, and therefore, there is a possibility that a new version of firmware for realizing a new function cannot be downloaded.

更に他の解決手法として、インターフェイスを介して旧タイプのネットワークデバイスと接続可能な、旧タイプのネットワークデバイスのための所望の追加機能をサポートするネットワークモジュールを用いるという手法が考えられる。このようなネットワークモジュールの具体例として、インターフェイスを介して印刷装置に接続可能なインテリジェント型ネットワークカードモジュールが挙げられる。このネットワークカードモジュールは、独自にCPUを備えるインテリジェントな形態のモジュールである。通常、このネットワークカードモジュールには、ネットワーク経由での各種プリントサービスの統括制御を行うプリントサーバ機能が備えられている。これにより印刷装置とネットワークカードモジュールとはインターフェイスを介して通信を行ない、所望のサービスを実現している。これは逆に、負荷の重い画像処理などの機能を印刷装置からネットワークカードモジュールに肩代わりさせることが可能となる。これにより相対的に、印刷装置本体のCPUや、その周辺回路の機能を下げることが可能となり、印刷装置本体のコスト削減をもたらしている。   As another solution, a method of using a network module that supports a desired additional function for an old type network device that can be connected to the old type network device through an interface is conceivable. A specific example of such a network module is an intelligent network card module that can be connected to a printing apparatus via an interface. This network card module is an intelligent module having its own CPU. Normally, this network card module is provided with a print server function for performing overall control of various print services via the network. As a result, the printing apparatus and the network card module communicate with each other via the interface to realize a desired service. Conversely, functions such as heavy image processing can be transferred from the printing apparatus to the network card module. As a result, the functions of the CPU of the printing apparatus main body and its peripheral circuits can be lowered, resulting in cost reduction of the printing apparatus main body.

特開平06−214929号公報JP 06-214929 A

このようなネットワークカードモジュールと印刷装置では、それぞれが非同期に、ネットワークカードモジュールに備えられた物理インターフェイスを介して、ネットワーク上に存在するホストコンピュータ等の通信端末とTCP/IP等のネットワークプロトコルを使用した通信を行う。このTCP/IPプロトコルでは、ネットワーク上に存在する全ての端末は、ネットワークの管理者がネットワーク構成に合わせて体系的に付与したネットワークアドレス(例えばIPアドレス)と、当該端末の製造時に付与された固有の物理アドレス(例えばMACアドレス:Media Access Control)との2つのアドレスによって一意に識別される。ここで上記の場合において、ネットワークカードモジュールと印刷装置とは同じネットワークアドレスと同じ物理アドレスを使用している。このことは、ネットワーク上の他の通信端末から見た場合、印刷装置とネットワークカードモジュールとは、ネットワーク上に存在するただ1つの通信端末として認識されることを意味している。これにより、ネットワークカードモジュールに備えられたプリントサーバ機能などのサービスが、あたかも印刷装置本体に追加・拡張されたサービスであるかのように振舞うことを可能としている。尚、TCP/IPプロトコルにおいて、ネットワーク上に存在するいずれかの端末から他の端末にデータを送信する際には、送信先のネットワークアドレスと物理アドレスとの2つのアドレスが必要となる。しかしながら、送信元の端末において送信を開始する時点では、送信先端末の物理アドレスが不明であることが多い。そのため、送信元の端末はアドレス解決プロトコル(ARP:Address Resolution Protocol)を用いて送信先の端末の物理アドレスを取得している。このアドレス解決プロトコルとは、ネットワーク上の通信端末間で、通信相手のネットワークアドレスから、それに対応する固有の物理アドレスを知るために使われるプロトコルである。   In such a network card module and a printing apparatus, each asynchronously uses a communication terminal such as a host computer on the network and a network protocol such as TCP / IP via a physical interface provided in the network card module. Communication. In this TCP / IP protocol, all terminals existing on the network have a network address (for example, an IP address) systematically given by the network administrator according to the network configuration, and a unique address given when the terminal is manufactured. And two physical addresses (for example, MAC address: Media Access Control). In the above case, the network card module and the printing apparatus use the same network address and the same physical address. This means that when viewed from other communication terminals on the network, the printing apparatus and the network card module are recognized as only one communication terminal existing on the network. As a result, services such as the print server function provided in the network card module can behave as if they were added / extended to the printing apparatus main body. In the TCP / IP protocol, when data is transmitted from any terminal existing on the network to another terminal, two addresses, a network address of the transmission destination and a physical address, are required. However, the physical address of the transmission destination terminal is often unknown at the time when transmission is started at the transmission source terminal. For this reason, the transmission source terminal acquires the physical address of the transmission destination terminal using an address resolution protocol (ARP). This address resolution protocol is a protocol used to know a specific physical address corresponding to a communication partner's network address from communication terminals on the network.

インターネットの標準化組織であるIETF(Internet Engineering Task Force、インターネット技術標準化委員会)では、RFC826の「Ethernet(登録商標) Address Resolution Protocol」で、アドレス解決プロトコル仕様について規定している。以下、アドレス解決プロトコルによるアドレス解決の処理の概要について簡単に説明する。   In the Internet standardization organization IETF (Internet Engineering Task Force), RFC 826 “Ethernet (registered trademark) Address Resolution Protocol” defines address resolution protocol specifications. The outline of address resolution processing by the address resolution protocol will be briefly described below.

TCP/IPプロトコルにおいてデータを送信する際に、送信元の通信端末は、まず通信相手のネットワークアドレスをキーにして、キャッシュメモリ内のアドレス情報テーブルを検索し、送信先端末が登録されているかどうかを調べ、登録されていれば、その物理アドレスを送信データの宛先アドレスに設定する。対応する登録情報がない場合は、ネットワークアドレスに対応する物理アドレスを要求するアドレス解決要求メッセージ(ARPリクエスト)をネットワーク上の全ての端末にブロードキャストで送信する。このアドレス解決要求メッセージを受け取ったネットワーク上の各端末は、その受信したアドレス解決要求メッセージの宛先に該当するネットワークアドレスが自端末に付与されているネットワークアドレスと一致するかどうかを判定し、一致すると判定した場合は、自端末の物理アドレスを格納したアドレス解決応答メッセージ(ARPリプライ)を、そのアドレス解決要求メッセージの送信元の端末に返す。その送信元の端末は、このアドレス解決応答メッセージを受信すると、そのアドレス解決応答メッセージに格納されているネットワークアドレスと物理アドレスとの対応関係を自身のアドレス情報テーブルに登録して、以降の当該端末へのデータ送信の際には、そのアドレス情報を使用する。尚、上記処理において、アドレス解決要求メッセージを受け取ったネットワーク上の各端末は、受信したアドレス解決要求メッセージの宛先に該当するネットワークアドレスが自端末に付与されているネットワークアドレスと一致しない場合は、その受信したアドレス解決要求メッセージを破棄し、アドレス解決要求メッセージに対する応答は返さない。   When transmitting data in the TCP / IP protocol, the source communication terminal first searches the address information table in the cache memory using the network address of the communication partner as a key, and whether the destination terminal is registered. If registered, the physical address is set as the destination address of the transmission data. If there is no corresponding registration information, an address resolution request message (ARP request) requesting a physical address corresponding to the network address is broadcast to all terminals on the network. Each terminal on the network that has received this address resolution request message determines whether or not the network address corresponding to the destination of the received address resolution request message matches the network address assigned to its own terminal. If it is determined, an address resolution response message (ARP reply) storing the physical address of the terminal itself is returned to the terminal that sent the address resolution request message. Upon receiving this address resolution response message, the transmission source terminal registers the correspondence between the network address and the physical address stored in the address resolution response message in its own address information table, and the subsequent terminal The address information is used when transmitting data to the. In the above processing, each terminal on the network that has received the address resolution request message, if the network address corresponding to the destination of the received address resolution request message does not match the network address assigned to the terminal itself, The received address resolution request message is discarded and no response is returned to the address resolution request message.

ネットワークカードモジュールと印刷装置とが、上述のようなアドレス解決プロトコルを使用してアドレス解決を行うアドレス解決処理部を独立して別個に備えている場合がある。また、ネットワークアドレスと物理アドレスとの対応関係を登録するアドレス情報テーブルも独立して別個に備えている場合がある。そのため、例えばネットワークカードモジュールにおいて、ネットワークカードモジュールに備えられた物理インターフェイスを介してネットワーク上に存在するホストコンピュータ等のクライアントにデータを送信する場合は、まずクライアントのネットワークアドレスをキーにして、ネットワークカードモジュール自身に備えられたアドレス情報テーブルを検索してアドレス解決を試みる。アドレス情報テーブルに該当する情報が登録されていない場合は、アドレス解決要求メッセージをネットワーク上の全ての端末にブロードキャスト送信する。そのアドレス解決要求メッセージに対するクライアントからのアドレス解決応答メッセージを受信した場合、クライアントのネットワークアドレスと物理アドレスとの対応関係をネットワークカードモジュール自身に備えられたアドレス情報テーブルに登録する。同様に印刷装置においても、ネットワークカードモジュールに備えられた物理インターフェイスを介してネットワーク上に存在するホストコンピュータ等のクライアントにデータを送信する場合、まず印刷装置自身に備えられたアドレス情報テーブルを検索してアドレス解決を試み、その結果アドレスの解決が得られなかった場合は、アドレス解決要求メッセージによるアドレス解決を試みる。そして、そのアドレス解決要求メッセージに対するアドレス解決応答メッセージが得られた場合は、クライアントのネットワークアドレスと物理アドレスとの対応関係を印刷装置自身に備えられたアドレス情報テーブルに登録する。   In some cases, the network card module and the printing apparatus are independently provided with an address resolution processing unit that performs address resolution using the address resolution protocol as described above. In addition, an address information table for registering the correspondence between the network address and the physical address may be provided separately and separately. Therefore, for example, in a network card module, when data is transmitted to a client such as a host computer existing on the network via a physical interface provided in the network card module, the network card is first set using the network address of the client as a key. The address information table provided in the module itself is searched and address resolution is attempted. If the corresponding information is not registered in the address information table, an address resolution request message is broadcasted to all terminals on the network. When an address resolution response message is received from the client in response to the address resolution request message, the correspondence between the client network address and the physical address is registered in the address information table provided in the network card module itself. Similarly, in the printing apparatus, when data is transmitted to a client such as a host computer existing on the network via a physical interface provided in the network card module, the address information table provided in the printing apparatus itself is first searched. If address resolution is not obtained as a result, address resolution is attempted using an address resolution request message. When an address resolution response message for the address resolution request message is obtained, the correspondence between the client network address and the physical address is registered in an address information table provided in the printing apparatus itself.

先に述べた通り、ネットワークカードモジュールと印刷装置とは、それぞれ独立した別個のアドレス情報テーブルを備えている場合、印刷装置が印刷装置自身に備えられたアドレス情報テーブルを検索して解決を得られなかったアドレス情報であっても、ネットワークカードモジュールに備えられたアドレス情報テーブルには当該アドレス情報が登録されている可能性がある。このような場合に、印刷装置によって生成されたアドレス解決要求メッセージが、ネットワークカードモジュールに備えられた物理インターフェイスを介してネットワーク上にブロードキャスト送信されることは、ネットワークの回線負荷を増やすことになり好ましくない。また印刷装置においてアドレス解決に時間を要してしまうという問題もある。   As described above, when the network card module and the printing apparatus have separate and independent address information tables, the printing apparatus can obtain a solution by searching the address information table provided in the printing apparatus itself. Even if there is no address information, there is a possibility that the address information is registered in the address information table provided in the network card module. In such a case, it is preferable that the address resolution request message generated by the printing apparatus be broadcasted on the network via the physical interface provided in the network card module, which increases the line load of the network. Absent. There is also a problem that it takes time for address resolution in the printing apparatus.

また、ネットワークカードモジュールと印刷装置とが、それぞれ独立して別個に備えられたアドレス解決処理部と、独立して別個に備えられたアドレス情報テーブルをそれぞれ使用してアドレス解決を行っている場合、これらネットワークカードモジュールと印刷装置のそれぞれは、それぞれに備えられたアドレス解決処理部において、アドレス解決要求メッセージが自ネットワークアドレス宛であるのかを判断し、自分宛の場合はアドレス解決応答メッセージをアドレス解決要求メッセージの送信元に対して送信し、自分宛で無い場合は、アドレス解決要求メッセージを破棄するという一連のアドレス解決処理を行うことになる。そのため、アドレス解決要求メッセージが自ネットワークアドレス宛であった場合には、ネットワークカードモジュール及び印刷装置のそれぞれに備えられたアドレス解決処理部より、アドレス解決応答メッセージが重複して送信されてしまう。またアドレス解決要求メッセージが自ネットワークアドレス宛であるか無いかに拘わらず、ネットワークカードモジュールと印刷装置とが同じアドレス解決要求メッセージに対するアドレス解決処理を重複して行うことは、ネットワーク全体の処理効率の面から考えても望ましくない。   In addition, when the network card module and the printing apparatus perform address resolution using an address resolution processing unit provided separately and separately, and an address information table provided separately separately, respectively, Each of the network card module and the printing device determines whether the address resolution request message is addressed to its own network address in the address resolution processing unit provided for each, and if it is addressed to itself, the address resolution response message is address resolved. If the request message is transmitted to the transmission source and is not addressed to itself, a series of address resolution processing of discarding the address resolution request message is performed. For this reason, when the address resolution request message is addressed to its own network address, the address resolution response message is redundantly transmitted from the address resolution processing unit provided in each of the network card module and the printing apparatus. Regardless of whether the address resolution request message is addressed to its own network address or not, the network card module and the printing device perform the same address resolution processing for the same address resolution request message in terms of overall network processing efficiency. It is not desirable even from the viewpoint of.

本発明は、上記従来技術の欠点を解決することにある。   The present invention is to solve the above-mentioned drawbacks of the prior art.

また本願発明の特徴は、アドレス解決処理に要する作業負荷を軽減できる通信装置及びその通信制御方法を提供することにある。   Another feature of the present invention is to provide a communication device and a communication control method thereof that can reduce the work load required for address resolution processing.

本発明の一態様に係る通信装置は以下のような構成を備える。即ち、
ネットワークに接続され、当該ネットワークを介してデータを送受信する通信装置であって、
前記ネットワークと接続する第1のインターフェイス手段と、
データ処理端末と接続する第2のインターフェイス手段と、
前記ネットワーク上のネットワーク端末のネットワークアドレスと物理アドレスとの対応関係を登録する登録手段と、
前記通信装置内に備えられたアプリケーションから受け取った送信データを前記第1のインターフェイス手段を介して送信する際に、当該送信データの宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されているかどうかを判別する第1の判別手段と、
前記第1の判別手段による判別の結果、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されていると判別された場合、当該登録されている物理アドレスを前記送信データの宛先として設定し、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されていないと判別された場合、前記宛先として指定されているネットワークアドレスを問い合わせ対象とするアドレス解決要求メッセージを前記第1のインターフェイス手段を介して送信し、当該アドレス解決要求メッセージに対する応答として返信されたアドレス解決応答メッセージに含まれる物理アドレスを前記登録手段に登録させるとともに、当該物理アドレスを前記送信データの宛先として設定する設定手段と、
前記第2のインターフェイス手段を介して前記データ処理端末から受信したアドレス解決要求メッセージを、前記第1のインターフェイス手段を介して前記ネットワークに転送する要求メッセージ転送手段と、
記アドレス解決要求メッセージに対する応答として前記第1のインターフェイス手段を介して前記ネットワークから受信したアドレス解決応答メッセージを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する応答メッセージ転送手段とを有し、
前記登録手段は、前記データ処理端末から受信したアドレス解決要求メッセージの問い合わせ対象のネットワークアドレスと前記受信したアドレス解決応答メッセージに含まれる物理アドレスとの対応関係を登録することを特徴とする。
A communication apparatus according to one aspect of the present invention has the following configuration. That is,
A communication device connected to a network and transmitting / receiving data via the network,
First interface means for connecting to the network;
A second interface means for connecting to the data processing terminal;
Registration means for registering a correspondence relationship between a network address and a physical address of a network terminal on the network;
When transmitting transmission data received from an application provided in the communication device via the first interface unit, a physical address corresponding to a network address specified as a destination of the transmission data is the registration unit First discriminating means for discriminating whether or not it is registered in
When it is determined that the physical address corresponding to the network address specified as the destination is registered in the registration unit as a result of the determination by the first determination unit, the registered physical address is transmitted If it is determined that the physical address corresponding to the network address designated as the destination is not registered in the registration means, the network address designated as the destination is set as an inquiry target. sending via said first interface means address resolution request message, causes registered in the registration unit physical address included in the reply address resolution response message in response to the address resolution request message, the physical address And the destination of the transmission data And setting means for setting Te,
A request message transferring means for transferring the data processing terminal or we received address resolution request message via the second interface means, to said network via said first interface means,
Transferring pre Symbol address resolution request message address resolution response message the network or we receive through the front Symbol first interface means as a response to, to the data processing terminal via the second interface means Response message transfer means for
It said registration means, characterized in that to register the correspondence between the physical address included in the address resolution response the received message the network address of the queried address resolution request message received from the data processing terminal.

尚、この発明の概要は、必要な特徴を全て列挙しているものでなく、よって、これら特徴群のサブコンビネーションも発明になり得る。   The outline of the present invention does not enumerate all necessary features, and therefore, a sub-combination of these feature groups can also be an invention.

本発明によれば、アドレス解決処理に要する作業負荷を軽減できる。またネットワークの負荷を軽減できるという効果がある。   According to the present invention, the workload required for address resolution processing can be reduced. In addition, the network load can be reduced.

本発明の実施の形態に係る印刷装置(プリンタ)の構成を説明するブロック図である。1 is a block diagram illustrating a configuration of a printing apparatus (printer) according to an embodiment of the present invention. 本発明の実施の形態に係るプリンタ内の制御機器であるネットワークプリントサーバ及びプリンタコントローラの各記憶デバイスに記憶された制御プログラム内のソフトウェア構成を説明するブロック図である。FIG. 2 is a block diagram illustrating a software configuration in a control program stored in each storage device of a network print server and a printer controller that are control devices in the printer according to the embodiment of the present invention. 本実施の形態に係るネットワークプリントサーバ上に備えられたアドレス情報テーブルのデータ構成例を示す図である。It is a figure which shows the data structural example of the address information table with which the network print server which concerns on this Embodiment was equipped. 本実施の形態に係るプリンタコントローラ上に備えられたアドレス情報テーブルのデータ構成例を示す図である。It is a figure which shows the data structural example of the address information table with which the printer controller based on this Embodiment was equipped. 本実施の形態に係るネットワークプリントサーバ上で動作するアドレス解決処理部によるアドレス解決メッセージの受信処理を説明するフローチャートである。It is a flowchart explaining the reception process of the address resolution message by the address resolution process part which operate | moves on the network print server which concerns on this Embodiment. 本実施の形態に係るネットワークプリントサーバ上で動作するアドレス解決処理部によるアドレス解決メッセージの受信処理を説明するフローチャートで、プリンタコントローラからアドレス解決要求メッセージを受信した場合の処理を示している。FIG. 9 is a flowchart for explaining address resolution message reception processing by an address resolution processing unit operating on the network print server according to the present embodiment, and shows processing when an address resolution request message is received from a printer controller. 本実施の形態に係るネットワークプリントサーバ上で動作するアドレス解決処理部によるアドレス解決要求メッセージの送信処理を説明するフローチャートである。It is a flowchart explaining the transmission process of the address resolution request message by the address resolution process part which operate | moves on the network print server which concerns on this Embodiment. 本実施の形態に係るプリンタコントローラ上で動作するアドレス解決処理部によるアドレス解決メッセージの受信処理を説明するフローチャートである。7 is a flowchart for explaining address resolution message reception processing by an address resolution processing unit operating on the printer controller according to the present embodiment. 本実施の形態に係るプリンタコントローラ上で動作するアドレス解決処理部によるアドレス解決要求メッセージの送信処理を説明するフローチャートである。6 is a flowchart for explaining address resolution request message transmission processing by an address resolution processing unit operating on the printer controller according to the present embodiment.

以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。尚、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the invention according to the scope of claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention.

図1は、本発明の実施の形態に係る印刷装置(プリンタ)1000の構成を説明するブロック図である。このプリンタ1000は、内部で大きく分けて、ネットワークプリンタサーバ1500とプリンタコントローラ1600とからなる制御系を司る機器で構成されている。   FIG. 1 is a block diagram illustrating a configuration of a printing apparatus (printer) 1000 according to an embodiment of the present invention. The printer 1000 is roughly divided into internal devices that control a control system including a network printer server 1500 and a printer controller 1600.

まずネットワークプリントサーバ1500の構成について説明する。ネットワークプリントサーバ用CPU1は、書き換え可能なフラッシュメモリ(FlashROM)3に記憶された制御プログラムに基づいて、システムバス4に接続される各部の動作を制御している。このフラッシュメモリ3には、後述する図5及び図6のフローチャートで示されるようなアドレス解決処理を行うプログラムも記憶されている。ネットワークコントローラ(LANC)5は、ローカルエリアネットワーク(LAN)2000に接続されたホストコンピュータ等の複数の外部装置(不図示)と所定のネットワーク通信プロトコルを用いて、外部装置から送られる印刷データやプリンタ制御命令等の各種データの送受信を行う。拡張インターフェイスコントローラ(EXPC)7は、インターフェイス17を介して接続されているプリンタコントローラ1600との間でデータの送受信を行う。RAM2はCPU1の主メモリとして使用され、CPU1による制御処理時に、ワークエリア等の一時記憶領域として用いられる。LED6は、ネットワークプリントサーバ1500の動作状態を示す表示部として用いられており、例えばネットワークコントローラ(LANC)5とローカルエリアネットワーク(LAN)2000との電気的な接続状態(LINK)やネットワーク通信モード(10Baseや100Base、全二重、半二重)等の各種動作状態を、このLED6の点滅パターンや色で表示することができる。更に、このネットワークプリントサーバ1500とプリンタコントローラ1600を繋ぐ拡張インターフェイス17は、図示しないコネクタで構成されており、ネットワークプリントサーバ1500のみが着脱し、同じ構成を持つ別のプリンタ1000にネットワークプリントサーバ1500を装着することも可能な構成となっている。   First, the configuration of the network print server 1500 will be described. The network print server CPU 1 controls the operation of each unit connected to the system bus 4 based on a control program stored in a rewritable flash memory (Flash ROM) 3. The flash memory 3 also stores a program for performing address resolution processing as shown in flowcharts of FIGS. 5 and 6 described later. The network controller (LANC) 5 uses a predetermined network communication protocol with a plurality of external devices (not shown) such as a host computer connected to the local area network (LAN) 2000, and print data and printers sent from the external device. Sends and receives various data such as control commands. An extended interface controller (EXPC) 7 transmits and receives data to and from the printer controller 1600 connected via the interface 17. The RAM 2 is used as a main memory of the CPU 1 and is used as a temporary storage area such as a work area during control processing by the CPU 1. The LED 6 is used as a display unit that indicates an operation state of the network print server 1500. For example, an electrical connection state (LINK) between the network controller (LANC) 5 and the local area network (LAN) 2000, a network communication mode ( Various operating states such as 10Base, 100Base, full-duplex, and half-duplex) can be displayed by the blinking pattern and color of the LED 6. Further, the expansion interface 17 that connects the network print server 1500 and the printer controller 1600 is configured by a connector (not shown). Only the network print server 1500 is attached and detached, and the network print server 1500 is connected to another printer 1000 having the same configuration. It can also be attached.

次にプリンタコントローラ1600の構成について説明する。プリンタコントローラ用CPU8は、ROM9に記憶された制御プログラム、或はディスクコントローラ(DKC)15を介して接続された外部メモリ10に記憶された制御プログラムやリソースデータ(資源情報)等に基づいて、システムバス11に接続される各種デバイスとのアクセスを統括的に制御している。拡張インターフェイスコントローラ(EXPC)13は、インターフェイス17を介してネットワークプリントサーバ1500から供給される印刷データを受信する。ラスタコントローラ12は、その印刷データを基に画像情報を生成し、プリントエンジン16に対して画像信号を出力する。CPU8の主メモリ、ワークエリア等として機能するRAM14は、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。操作パネル(操作部)18は、プリンタ1000の動作モード等の設定や印刷データの取り消し等の操作を行うためのボタン、及びプリンタ1000の動作状態を示す液晶パネルやLED等の表示部を有している。尚、プリンタエンジン16は、既知の印刷技術を利用するものであり、好適な実施系として例えば電子写真方式(レーザービーム方式)やインクジェット方式、昇華(熱転写)方式等が挙げられる。   Next, the configuration of the printer controller 1600 will be described. The printer controller CPU 8 is based on a control program stored in the ROM 9 or a control program or resource data (resource information) stored in the external memory 10 connected via the disk controller (DKC) 15. Access to various devices connected to the bus 11 is comprehensively controlled. The extended interface controller (EXPC) 13 receives print data supplied from the network print server 1500 via the interface 17. The raster controller 12 generates image information based on the print data and outputs an image signal to the print engine 16. The RAM 14 that functions as the main memory, work area, and the like of the CPU 8 is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The operation panel (operation unit) 18 has buttons for performing operations such as setting the operation mode of the printer 1000 and canceling print data, and a display unit such as a liquid crystal panel and an LED indicating the operation state of the printer 1000. ing. The printer engine 16 uses a known printing technique, and examples of suitable implementation systems include an electrophotographic system (laser beam system), an ink jet system, and a sublimation (thermal transfer) system.

図2は、本発明の実施の形態に係るプリンタ1000内の制御機器であるネットワークプリントサーバ1500及びプリンタコントローラ1600の各記憶デバイスに記憶された制御プログラム内のソフトウェア構成を説明するブロック図である。尚、これら各制御プログラムは、各制御機器のCPU(1,8)によって、そのプログラムが解析され処理が実行される。   FIG. 2 is a block diagram illustrating a software configuration in a control program stored in each storage device of the network print server 1500 and the printer controller 1600 that are control devices in the printer 1000 according to the embodiment of the present invention. These control programs are analyzed and processed by the CPU (1, 8) of each control device.

まず最初にネットワークプリントサーバ1500のソフトウェア構成について説明する。オペレーティングシステム1501は、ネットワークプリントサーバ1500の基本的なデータの入出力制御を統括するオペレーティングシステム(OS)である。更に、このオペレーティングシステム1501は、プログラム/データ記憶部1509との入出力制御を行うファイルシステム1505、プリンタコントローラ1600と拡張インターフェイス17を介して通信制御を行う拡張インターフェイスドライバ1506、ローカルエリアネットワーク(LAN)2000の通信媒体を介して不図示のホストコンピュータ等の外部装置と通信を行うネットワークインターフェイスドライバ1507、アドレス情報テーブル1511を制御してアドレス解決処理を行うアドレス解決処理部1510を内包している。   First, the software configuration of the network print server 1500 will be described. An operating system 1501 is an operating system (OS) that controls basic data input / output control of the network print server 1500. The operating system 1501 further includes a file system 1505 that performs input / output control with the program / data storage unit 1509, an expansion interface driver 1506 that performs communication control via the printer controller 1600 and the expansion interface 17, and a local area network (LAN). A network interface driver 1507 that communicates with an external device such as a host computer (not shown) via a 2000 communication medium and an address resolution processing unit 1510 that controls an address information table 1511 and performs address resolution processing are included.

尚、このアドレス解決処理部1510は、図5及び図6のフローチャートで示されるアドレス解決処理をどちらも備えていることを特徴とする。図5及び図6のフローチャートについての詳細については後述する。   The address resolution processing unit 1510 is characterized by including both of the address resolution processing shown in the flowcharts of FIGS. Details of the flowcharts of FIGS. 5 and 6 will be described later.

アプリケーションプログラムインターフェイス(API)1502は、ネットワークプリントサーバ1500で動作するユーザアプリケーション1503やプリンタ1000やユーザアプリケーションの登録及び管理を行う管理アプリケーション等のアプリケーションプログラムに対して、オペレーティングシステム1501が備える各種機能を提供する。またアプリケーションプログラムインターフェイス1502で提供される機能として、印刷データの送受信機能を提供するデータ転送API1520、ビットマップ画像や表示メッセージ等のリソースデータの入出力制御を行うリソース制御API1521、プリンタ1000の再起動や設定値の初期化や設定等の制御を行うプリンタ制御API1522、印刷ジョブの取り消しや再印刷指示などを制御するジョブ制御API1523、ネットワークプリントサーバ1500の再起動や設定値の初期化や設定、及びアプリケーションプログラムの起動、登録、削除を行うプリントサーバ制御API1524等がある。   An application program interface (API) 1502 provides various functions of the operating system 1501 to application programs such as a user application 1503 that operates on the network print server 1500, a printer 1000, and a management application that registers and manages user applications. To do. Functions provided by the application program interface 1502 include a data transfer API 1520 that provides a print data transmission / reception function, a resource control API 1521 that performs input / output control of resource data such as bitmap images and display messages, and restart of the printer 1000. Printer control API 1522 for controlling initialization and setting of setting values, job control API 1523 for controlling cancellation and reprinting of print jobs, restart of network print server 1500, initialization and setting of setting values, and application There is a print server control API 1524 for starting, registering, and deleting programs.

次に、プリンタコントローラ1600のソフトウェア構成について説明する。プリンタコントローラ1600の各種処理制御を統括するオペレーティングシステム1601は、内部にプリントエンジン16との通信制御を行うプリントエンジン制御部1603、ネットワークプリントサーバ1500から参照されるビットマップ画像やエラーメッセージ等の機種依存リソース及びプリンタコントローラ1600上で動作する機種依存アプリケーションプログラム等を記憶する機種依存リソース/プログラム記憶部1610との入出力制御を行うファイルシステム1604、アドレス情報テーブル1611を制御してアドレス解決処理を行うアドレス解決処理部1606とを内包している。   Next, the software configuration of the printer controller 1600 will be described. An operating system 1601 that controls various processing controls of the printer controller 1600 includes a print engine control unit 1603 that performs communication control with the print engine 16 therein, and depends on a model such as a bitmap image and an error message that are referred to from the network print server 1500. A file system 1604 that performs input / output control with a model-dependent resource / program storage unit 1610 that stores a resource and a model-dependent application program that runs on the printer controller 1600, and an address that performs address resolution processing by controlling the address information table 1611 A solution processing unit 1606 is included.

拡張インターフェイス制御部1602は、拡張インターフェイス17を介してネットワークプリントサーバ1500との間で通信制御を行う。更に、拡張インターフェイス制御部1602は、制御種別毎に印刷データの入出力を制御するデータ転送論理インターフェイス1620、機種依存リソース/プログラム記憶部1610に記憶された各種データの入出力を制御するリソース制御論理インターフェイス1621、プリンタ1000の再起動や設定値の初期化や設定等の制御を行うプリンタ制御論理インターフェイス1622、印刷ジョブの取り消しや再印刷指示などを制御するジョブ制御論理インターフェイス1623を備えており、各論理インターフェイスを介してネットワークプリントサーバ1500から要求された命令をオペレーティングシステム1601に対して転送し、その処理結果をネットワークプリントサーバ1500に対して返信する。   The extension interface control unit 1602 performs communication control with the network print server 1500 via the extension interface 17. Further, the extended interface control unit 1602 has a data transfer logic interface 1620 for controlling input / output of print data for each control type, and a resource control logic for controlling input / output of various data stored in the model-dependent resource / program storage unit 1610. An interface 1621; a printer control logic interface 1622 for controlling restart of the printer 1000, initialization of setting values, settings, and the like; and a job control logic interface 1623 for controlling cancellation of a print job and a reprint instruction. A command requested from the network print server 1500 is transferred to the operating system 1601 via the logical interface, and the processing result is returned to the network print server 1500.

図3は、本実施の形態に係るアドレス情報テーブル1511のデータ構成例を示す図である。このアドレス情報テーブル1511は、サーバ1500のRAM2に確保されており、アドレス解決処理により取得した、LAN2000に接続された不図示のホストコンピュータ等の外部装置のネットワークアドレスと、その物理アドレスとが対応付けて格納されている。ここでは、IPアドレスがネットワークアドレスとして格納され、MACアドレスが物理アドレスとして格納されている。   FIG. 3 is a diagram showing a data configuration example of the address information table 1511 according to the present embodiment. This address information table 1511 is secured in the RAM 2 of the server 1500, and the network address of an external device such as a host computer (not shown) connected to the LAN 2000, obtained by address resolution processing, is associated with the physical address. Stored. Here, the IP address is stored as a network address, and the MAC address is stored as a physical address.

図4は、本実施の形態に係るアドレス情報テーブル1611のデータ構成例を示す図である。このアドレス情報テーブル1611は、プリンタコントローラ1600のRAM14に確保されており、アドレス解決処理により取得した、LAN2000に接続された不図示のホストコンピュータ等の外部装置のネットワークアドレスと、その物理アドレスとが対応付けて格納されている。ここでは、IPアドレスがネットワークアドレスとして格納され、MACアドレスが物理アドレスとして格納されている。   FIG. 4 is a diagram showing a data configuration example of the address information table 1611 according to the present embodiment. This address information table 1611 is secured in the RAM 14 of the printer controller 1600. The network address of an external device such as a host computer (not shown) connected to the LAN 2000, obtained by address resolution processing, corresponds to the physical address. It is stored with. Here, the IP address is stored as a network address, and the MAC address is stored as a physical address.

図5は、本実施の形態に係るネットワークプリントサーバ1500上で動作するアドレス解決処理部1510によるアドレス解決メッセージの受信処理を説明するフローチャートである。尚、ステップS401〜S411は各処理ステップを示し、LAN2000に接続された不図示のホストコンピュータ等の外部装置から、このプリンタ1000に対してのアドレス解決メッセージを受信した場合の、ネットワークプリントサーバ1500におけるアドレス解決処理部1510の処理の流れで説明している。尚、各ステップに対応する制御手順は、ネットワークプリントサーバ1500のフラッシュメモリ3に記憶されている。   FIG. 5 is a flowchart for explaining address resolution message reception processing by the address resolution processing unit 1510 operating on the network print server 1500 according to the present embodiment. Steps S401 to S411 indicate each processing step. In the network print server 1500 when an address resolution message for the printer 1000 is received from an external device such as a host computer (not shown) connected to the LAN 2000, This is described in the processing flow of the address resolution processing unit 1510. The control procedure corresponding to each step is stored in the flash memory 3 of the network print server 1500.

まずステップS401で、LAN2000に接続されたホストコンピュータ等の外部装置から、このプリンタ1000に対して送信されたアドレス解決メッセージを受信するとステップS402で、その受信したアドレス解決メッセージのヘッダ情報を取得して、そのアドレス解決メッセージがアドレス解決要求メッセージ(ARPリクエスト)であるかを判定する。ここでアドレス解決要求メッセージでないい場合はステップS403に進み、アドレス解決応答メッセージ(ARPリプライ)であるかを判定する。ここでアドレス解決応答メッセージでない場合は、ステップS401で受信したアドレス解決メッセージは不正なメッセージであると判断してステップS411に進み、その受信したアドレス解決メッセージを破棄して処理を終了する。   First, in step S401, when an address resolution message transmitted to the printer 1000 is received from an external device such as a host computer connected to the LAN 2000, header information of the received address resolution message is acquired in step S402. , It is determined whether the address resolution message is an address resolution request message (ARP request). If it is not an address resolution request message, the process advances to step S403 to determine whether it is an address resolution response message (ARP reply). If it is not an address resolution response message, it is determined that the address resolution message received in step S401 is an invalid message, the process proceeds to step S411, the received address resolution message is discarded, and the process ends.

一方、ステップS403で、アドレス解決応答メッセージであると判定した場合はステップS404に進み、その受信したアドレス解決応答メッセージから、送信元の端末のネットワークアドレス及び物理アドレスを取得する。次にネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511に、その取得したネットワークアドレス及び物理アドレスを対応付けて登録する。そしてステップS405に進み、受信したアドレス解決応答メッセージを拡張インターフェイス17を介してプリンタコントローラ1600へ転送した後、処理を終了する。   On the other hand, if it is determined in step S403 that the message is an address resolution response message, the process proceeds to step S404, and the network address and physical address of the transmission source terminal are acquired from the received address resolution response message. Next, the acquired network address and physical address are registered in association with each other in the address information table 1511 provided in the network print server 1500. In step S405, the received address resolution response message is transferred to the printer controller 1600 via the extension interface 17, and the process ends.

また前述のステップS402で、ステップS401で受信したアドレス解決メッセージがアドレス解決要求メッセージであった場合はステップS406に進み、その受信したアドレス解決要求メッセージの問い合わせ先のネットワークアドレスを取得する。次にステップS407で、その取得した問い合わせ先ネットワークアドレスが自ネットワークアドレスと一致するかどうかを判定する。ここで一致しない場合は、自分宛のアドレス解決要求メッセージではないと判断してステップS411に進み、その受信したアドレス解決要求メッセージを破棄した後、処理を終了する。   If it is determined in step S402 that the address resolution message received in step S401 is an address resolution request message, the process proceeds to step S406, and the network address of the inquiry destination of the received address resolution request message is acquired. Next, in step S407, it is determined whether or not the acquired inquiry destination network address matches the own network address. If they do not coincide with each other, it is determined that the address resolution request message is not addressed to itself, and the process proceeds to step S411. After the received address resolution request message is discarded, the process is terminated.

一方、ステップS407で、問い合わせ先ネットワークアドレスが自ネットワークアドレスと一致した場合はステップS408で、このネットワークプリントサーバ1500が有する物理アドレスを格納したアドレス解決応答メッセージを作成する。次にステップS409で、LAN2000を介して当該アドレス解決要求メッセージの送信元の端末に、アドレス解決応答メッセージを送信する。次にステップS410で、受信したアドレス解決要求メッセージから送信元の端末のネットワークアドレス及び物理アドレスを取得し、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511に登録する。その後、ステップS411に進み、受信したアドレス解決要求メッセージを破棄して処理を終了する。   On the other hand, if it is determined in step S407 that the inquiry destination network address matches the own network address, an address resolution response message storing the physical address of the network print server 1500 is created in step S408. In step S409, an address resolution response message is transmitted to the terminal that has transmitted the address resolution request message via the LAN 2000. In step S410, the network address and physical address of the transmission source terminal are acquired from the received address resolution request message and registered in the address information table 1511 provided in the network print server 1500. Thereafter, the process proceeds to step S411, where the received address resolution request message is discarded and the process is terminated.

図6は、本実施の形態に係るネットワークプリントサーバ1500上で動作するアドレス解決処理部1510によるアドレス解決メッセージの受信処理を説明するフローチャートである。尚、ステップS501〜S506は各処理ステップを示し、ここではプリンタコントローラ1600から拡張インターフェイス17を介してアドレス解決要求メッセージ(ARPリクエスト)が転送された場合の、ネットワークプリントサーバ1500におけるアドレス解決処理部1510の処理の流れで説明している。なお、各ステップに対応する制御手順はネットワークプリントサーバ1500のフラッシュメモリ3に記憶されている。   FIG. 6 is a flowchart for explaining address resolution message reception processing by the address resolution processing unit 1510 operating on the network print server 1500 according to the present embodiment. Steps S501 to S506 indicate processing steps. Here, the address resolution processing unit 1510 in the network print server 1500 when the address resolution request message (ARP request) is transferred from the printer controller 1600 via the extension interface 17 is shown. This is described in the process flow. The control procedure corresponding to each step is stored in the flash memory 3 of the network print server 1500.

まずステップS501で、プリンタコントローラ1600から拡張インターフェイス17を介して転送されたアドレス解決要求メッセージの問い合わせ先のネットワークアドレスを取得する。次にステップS502で、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511を検索して、その問い合わせ先ネットワークアドレスに対応した物理アドレスが登録されているかどうかを判断する。登録されていない場合はステップS503に進み、通常のアドレス解決要求メッセージの送信の場合と同様にして、プリンタコントローラ1600から拡張インターフェイス17を介して転送されたアドレス解決要求メッセージを、LAN2000上に存在する不図示のホストコンピュータ等の外部装置に対してブロードキャスト送信した後、処理を終了する。   First, in step S501, the network address of the inquiry destination of the address resolution request message transferred from the printer controller 1600 via the extension interface 17 is acquired. In step S502, the address information table 1511 provided in the network print server 1500 is searched to determine whether a physical address corresponding to the inquiry destination network address is registered. If not registered, the process proceeds to step S503, and the address resolution request message transferred from the printer controller 1600 via the expansion interface 17 exists on the LAN 2000 in the same manner as in the case of transmission of a normal address resolution request message. After broadcast transmission to an external device such as a host computer (not shown), the process is terminated.

一方、ステップS502で、対応した物理アドレスが、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511に登録されていた場合はステップS504に進み、その問い合わせ先ネットワークアドレスに対応した物理アドレスを格納したアドレス解決応答メッセージを作成する。次にステップS505に進み、ステップS504で作成したアドレス解決応答メッセージを、拡張インターフェイス17を介してプリンタコントローラ1600に転送する。その後ステップS506で、プリンタコントローラ1600から拡張インターフェイス17を介して転送されたアドレス解決要求メッセージを破棄して、処理を終了する。   On the other hand, if the corresponding physical address is registered in the address information table 1511 provided in the network print server 1500 in step S502, the process proceeds to step S504, where the physical address corresponding to the inquiry destination network address is stored. Create a resolution response message. In step S 505, the address resolution response message created in step S 504 is transferred to the printer controller 1600 via the extension interface 17. In step S506, the address resolution request message transferred from the printer controller 1600 via the extension interface 17 is discarded, and the process ends.

図7は、本実施の形態に係るネットワークプリントサーバ1500上で動作するアドレス解決処理部1510によるアドレス解決要求メッセージ(ARPリクエスト)の送信処理を説明するフローチャートである。尚、ステップS601〜S610は各処理ステップを示し、ここではネットワークプリントサーバ1500で動作するユーザアプリケーション1503等から、ローカルエリアネットワーク(LAN)2000上に存在する不図示のホストコンピュータ等の外部装置に対する送信データを渡された場合の、ネットワークプリントサーバ1500におけるアドレス解決処理部1510の処理の流れで説明している。尚、各ステップに対応する制御手順は、ネットワークプリントサーバ1500のフラッシュメモリ3に記憶されている。   FIG. 7 is a flowchart for explaining an address resolution request message (ARP request) transmission process by the address resolution processing unit 1510 operating on the network print server 1500 according to the present embodiment. Steps S601 to S610 indicate respective processing steps. Here, transmission from a user application 1503 or the like operating on the network print server 1500 to an external device such as a host computer (not shown) existing on the local area network (LAN) 2000 is performed. This is described in the processing flow of the address resolution processing unit 1510 in the network print server 1500 when data is transferred. The control procedure corresponding to each step is stored in the flash memory 3 of the network print server 1500.

まずステップS601で、ネットワークプリントサーバ1500で動作するユーザアプリケーション1503等から渡された、ローカルエリアネットワーク(LAN)2000上に存在する不図示のホストコンピュータ等の外部装置に対する送信データを受取り、その送信データに含まれる、その送信データの宛て先であるネットワークアドレスを取得する。次にステップS602で、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511を検索して、その取得したネットワークアドレスに対応した物理アドレスが登録されているかどうかを判断する。登録されている場合はステップS608に進み、その物理アドレスを送信データのヘッダに格納する。その後ステップS609で、送信データをLAN2000上に存在する不図示のホストコンピュータ等の外部装置に対して送信して、処理を終了する。   First, in step S601, transmission data to an external device such as a host computer (not shown) existing on the local area network (LAN) 2000 passed from the user application 1503 or the like operating on the network print server 1500 is received and the transmission data is received. The network address that is the destination of the transmission data included in the is acquired. In step S602, the address information table 1511 provided in the network print server 1500 is searched to determine whether a physical address corresponding to the acquired network address is registered. If registered, the process proceeds to step S608, and the physical address is stored in the header of the transmission data. Thereafter, in step S609, the transmission data is transmitted to an external device such as a host computer (not shown) existing on the LAN 2000, and the process is terminated.

一方、ステップS602で、対応した物理アドレスが、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511に登録されていない場合はステップS603に進み、対応した物理アドレスを問い合わせるためのアドレス解決要求メッセージを作成する。次にステップS604で、前述のステップS603で作成したアドレス解決要求メッセージをLAN2000上に存在する不図示のホストコンピュータ等の外部装置に対してブロードキャストで送信する。その後ステップS605に進み、ステップS604で送信したアドレス解決要求メッセージに対するアドレス解決応答メッセージ(ARPリプライ)を受信するのを待つ。ステップS605で、所定時間を経過してもアドレス解決応答メッセージが無い場合は、ステップS610に進み、送信データの送信依頼元であるネットワークプリントサーバ1500で動作するユーザアプリケーション1503等に送信エラーを通知して、処理を終了する。   On the other hand, if the corresponding physical address is not registered in the address information table 1511 provided in the network print server 1500 in step S602, the process proceeds to step S603, and an address resolution request message for inquiring the corresponding physical address is created. To do. In step S604, the address resolution request message created in step S603 is broadcasted to an external device such as a host computer (not shown) on the LAN 2000. Thereafter, the process proceeds to step S605, and waits for reception of an address resolution response message (ARP reply) for the address resolution request message transmitted in step S604. If it is determined in step S605 that there is no address resolution response message even after a predetermined time has passed, the process proceeds to step S610, and a transmission error is notified to the user application 1503 or the like operating on the network print server 1500 that is the transmission request source of the transmission data. To end the process.

ステップS605で、ステップS604で送信したアドレス解決要求メッセージに対するアドレス解決応答メッセージを受信するとステップS606に進み、ネットワークプリントサーバ1500上で動作するアドレス解決処理部1510によるアドレス解決メッセージの受信処理を実行する。具体的には、前述の図5のステップS401〜S411に示す各処理ステップを実行する。次にステップS607に進み、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511を検索して、ステップS601で取得したネットワークアドレスに対応した物理アドレスを取得する。次にステップS608で、その取得した物理アドレスを送信データのヘッダに格納する。その後ステップS609で、その送信データをLAN2000上に存在する不図示のホストコンピュータ等の外部装置に対して送信して、処理を終了する。   In step S605, when the address resolution response message for the address resolution request message transmitted in step S604 is received, the process proceeds to step S606, where the address resolution processing unit 1510 operating on the network print server 1500 performs address resolution message reception processing. Specifically, each processing step shown in steps S401 to S411 of FIG. 5 is executed. In step S607, the address information table 1511 provided in the network print server 1500 is searched to acquire a physical address corresponding to the network address acquired in step S601. In step S608, the acquired physical address is stored in the header of the transmission data. Thereafter, in step S609, the transmission data is transmitted to an external device such as a host computer (not shown) existing on the LAN 2000, and the process ends.

図8は、本実施の形態に係るプリンタコントローラ1600上で動作するアドレス解決処理部1606によるアドレス解決メッセージの受信処理を説明するフローチャートである。尚、ステップS701〜S704は各処理ステップを示し、ここではネットワークプリントサーバ1500から拡張インターフェイス17を介してアドレス解決メッセージが転送された場合の、プリンタコントローラ1600におけるアドレス解決処理部1606の処理の流れで説明している。なお、各ステップに対応する制御手順はプリンタコントローラ1600のROM9に記憶されている。   FIG. 8 is a flowchart for explaining the reception processing of the address resolution message by the address resolution processing unit 1606 operating on the printer controller 1600 according to the present embodiment. Steps S701 to S704 indicate each processing step. Here, the processing flow of the address resolution processing unit 1606 in the printer controller 1600 when the address resolution message is transferred from the network print server 1500 via the extension interface 17 is shown. Explains. The control procedure corresponding to each step is stored in the ROM 9 of the printer controller 1600.

まずステップS701で、ネットワークプリントサーバ1500から拡張インターフェイス17を介してアドレス解決メッセージを受信するとステップS702に進み、その受信したアドレス解決メッセージのヘッダ情報を取得して、そのアドレス解決メッセージがアドレス解決応答メッセージ(ARPリプライ)であるかを判定する。ここでアドレス解決応答メッセージでない場合は、ステップS701で受信したアドレス解決メッセージが不正なメッセージであると判断してステップS704に進み、その受信したアドレス解決メッセージを破棄して処理を終了する。尚、前述の図5に関して説明したように、LAN2000に接続されたホストコンピュータ等の外部装置から、このプリンタ1000に対して送信されたアドレス解決要求メッセージ(ARPリクエスト)は、ネットワークプリントサーバ1500上で動作するアドレス解決処理部1510によって処理されるため、プリンタコントローラ1600上で動作するアドレス解決処理部1606には転送されない。   First, in step S701, when an address resolution message is received from the network print server 1500 via the extended interface 17, the process proceeds to step S702, where header information of the received address resolution message is acquired, and the address resolution message is an address resolution response message. (ARP reply) is determined. If it is not an address resolution response message, it is determined that the address resolution message received in step S701 is an invalid message, the process proceeds to step S704, the received address resolution message is discarded, and the process ends. As described above with reference to FIG. 5, an address resolution request message (ARP request) transmitted from the external device such as a host computer connected to the LAN 2000 to the printer 1000 is transmitted on the network print server 1500. Since it is processed by the operating address resolution processing unit 1510, it is not transferred to the address resolution processing unit 1606 operating on the printer controller 1600.

一方、ステップS702で、アドレス解決応答メッセージであると判定した場合はステップS703に進み、その受信したアドレス解決応答メッセージから、送信元の端末のネットワークアドレス及び物理アドレスを取得する。次にプリンタコントローラ1600に備えられたアドレス情報テーブル1611に、その取得したネットワークアドレス及び物理アドレスを対応付けて登録する。そしてステップS704に進み、受信したアドレス解決応答メッセージを破棄して処理を終了する。   On the other hand, if it is determined in step S702 that the message is an address resolution response message, the process proceeds to step S703, and the network address and physical address of the transmission source terminal are acquired from the received address resolution response message. Next, the acquired network address and physical address are registered in the address information table 1611 provided in the printer controller 1600 in association with each other. In step S704, the received address resolution response message is discarded, and the process ends.

図9は、本実施の形態に係るプリンタコントローラ1600上で動作するアドレス解決処理部1606による、アドレス解決要求メッセージ(ARPリクエスト)の送信処理を説明するフローチャートである。尚、ステップS801〜S810は各処理ステップを示し、ここではプリンタコントローラ1600上で動作する機種依存アプリケーションプログラム等から、ローカルエリアネットワーク(LAN)2000上に存在する不図示のホストコンピュータ等の外部装置に対する送信データを渡された場合の、プリンタコントローラ1600におけるアドレス解決処理部1606の処理の流れで説明している。尚、各ステップに対応する制御手順は、プリンタコントローラ1600のROM9に記憶されている。   FIG. 9 is a flowchart for explaining an address resolution request message (ARP request) transmission process by the address resolution processing unit 1606 operating on the printer controller 1600 according to the present embodiment. Steps S801 to S810 indicate respective processing steps. Here, a model-dependent application program or the like operating on the printer controller 1600 is used to connect an external device such as a host computer (not shown) existing on the local area network (LAN) 2000. The processing flow of the address resolution processing unit 1606 in the printer controller 1600 when transmission data is transferred will be described. The control procedure corresponding to each step is stored in the ROM 9 of the printer controller 1600.

まずステップS801で、プリンタコントローラ1600上で動作する機種依存アプリケーションプログラム等から渡された、ローカルエリアネットワーク(LAN)2000上に存在する不図示のホストコンピュータ等の外部装置に対する送信データより、宛て先ネットワークアドレスを取得する。次にステップS802で、プリンタコントローラ1600に備えられたアドレス情報テーブル1611を検索して、その取得したネットワークアドレスに対応した物理アドレスが登録されているかどうかを判断する。登録されている場合はステップS808に進み、その物理アドレスを送信データのヘッダに格納する。その後ステップS809で、その送信データを拡張インターフェイス17を介してネットワークプリントサーバ1500に転送して、処理を終了する。   First, in step S801, the destination network is transmitted from the transmission data to the external device such as a host computer (not shown) existing on the local area network (LAN) 2000, which is passed from the model-dependent application program operating on the printer controller 1600. Get the address. In step S802, the address information table 1611 provided in the printer controller 1600 is searched to determine whether a physical address corresponding to the acquired network address is registered. If registered, the process proceeds to step S808, and the physical address is stored in the header of the transmission data. Thereafter, in step S809, the transmission data is transferred to the network print server 1500 via the extension interface 17, and the process ends.

一方、ステップS802で、対応した物理アドレスが、プリンタコントローラ1600に備えられたアドレス情報テーブル1611に登録されていない場合はステップS803に進み、対応した物理アドレスを問い合わせるためのアドレス解決要求メッセージを作成する。次にステップS804で、ステップS803で作成したアドレス解決要求メッセージを、拡張インターフェイス17を介してネットワークプリントサーバ1500に転送する。その後ステップS805に進み、ステップS804で転送したアドレス解決要求メッセージに対するアドレス解決応答メッセージ(ARPリプライ)を待つ。ステップS805で、所定時間を経過してもアドレス解決応答メッセージが無い場合は、ステップS810に進み、送信データの送信依頼元であるプリンタコントローラ1600上で動作する機種依存アプリケーションプログラム等に送信エラーを通知して、処理を終了する。   On the other hand, if the corresponding physical address is not registered in the address information table 1611 provided in the printer controller 1600 in step S802, the process proceeds to step S803, and an address resolution request message for inquiring the corresponding physical address is created. . In step S804, the address resolution request message created in step S803 is transferred to the network print server 1500 via the extension interface 17. Thereafter, the process proceeds to step S805 to wait for an address resolution response message (ARP reply) for the address resolution request message transferred in step S804. If it is determined in step S805 that there is no address resolution response message even after a predetermined time has passed, the process proceeds to step S810, where a transmission error is notified to the model-dependent application program or the like operating on the printer controller 1600 that is the transmission request source of the transmission data. Then, the process ends.

ステップS805では、ステップS804で転送したアドレス解決要求メッセージに対するアドレス解決応答メッセージを受信したかどうかを判定し、アドレス解決応答メッセージを受信した場合はステップS806に進み、プリンタコントローラ1600上で動作するアドレス解決処理部1606によるアドレス解決メッセージの受信処理を実行する。この処理は、前述した図8のステップS701〜S704の各処理ステップで実行される。次にステップS807に進み、ネットワークプリントサーバ1500に備えられたアドレス情報テーブル1511を検索して、ステップS601で取得したネットワークアドレスに対応した物理アドレスを取得する。次にステップS808で、その物理アドレスを送信データのヘッダ中に格納する。その後ステップS809で、送信データを拡張インターフェイス17を介してネットワークプリントサーバ1500に転送して、処理を終了する。   In step S805, it is determined whether or not an address resolution response message for the address resolution request message transferred in step S804 has been received. An address resolution message reception process is executed by the processing unit 1606. This processing is executed in each processing step of steps S701 to S704 in FIG. In step S807, the address information table 1511 provided in the network print server 1500 is searched, and a physical address corresponding to the network address acquired in step S601 is acquired. In step S808, the physical address is stored in the header of the transmission data. Thereafter, in step S809, the transmission data is transferred to the network print server 1500 via the extension interface 17, and the process ends.

尚、ネットワークプリントサーバ1500は、プリンタコントローラ1600から拡張インターフェイス17を介して送信データが転送された場合、この送信データをLAN2000上に存在する不図示のホストコンピュータ等の外部装置に対して送信する。   When the transmission data is transferred from the printer controller 1600 via the extension interface 17, the network print server 1500 transmits the transmission data to an external device such as a host computer (not shown) existing on the LAN 2000.

[実施の形態2]
前述の実施の形態1において、ネットワークプリンタサーバ1500は、プリンタ1000から物理的に切り離されて存在する別個の機器であっても良い。この場合、プリンタ1000は、内部にプリンタコントローラ1600からなる制御系を司る制御部を備えている。
[Embodiment 2]
In the first embodiment, the network printer server 1500 may be a separate device that is physically separated from the printer 1000. In this case, the printer 1000 includes a control unit that controls a control system including a printer controller 1600.

ネットワークプリンタサーバ1500において、図1で示される拡張インターフェイスコントローラ(EXPC)7はシステムバス4に接続される第二のネットワークコントローラであり、図2で示される拡張インターフェイスドライバ1506は、オペレーティングシステム1501が内包する第二のネットワークインターフェイスドライバであっても良い。   In the network printer server 1500, the extended interface controller (EXPC) 7 shown in FIG. 1 is a second network controller connected to the system bus 4, and the extended interface driver 1506 shown in FIG. A second network interface driver may be used.

またプリンタコントローラ1600において、図1で示される拡張インターフェイスコントローラ(EXPC)13は、システムバス11に接続されるネットワークコントローラであり、図1及び図2で示される拡張インターフェイス17は、第二のローカルエリアネットワークであり、ネットワークプリントサーバ1500とプリンタコントローラ1600とは、この第二のローカルエリアネットワークに共に接続されていても良い。   In the printer controller 1600, an extended interface controller (EXPC) 13 shown in FIG. 1 is a network controller connected to the system bus 11, and an extended interface 17 shown in FIGS. 1 and 2 is a second local area. The network print server 1500 and the printer controller 1600 may be connected to the second local area network.

なお本発明は、前述した実施の形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接或いは遠隔から供給し、そのシステム或いは装置のコンピュータが、その供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。その場合、プログラムの機能を有していれば、その形態はプログラムである必要はない。従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明には、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。   In the present invention, a software program that realizes the functions of the above-described embodiments is supplied directly or remotely to a system or apparatus, and the computer of the system or apparatus reads and executes the supplied program code. In some cases, it can be achieved by In that case, as long as it has the function of a program, the form does not need to be a program. Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. That is, the present invention includes a computer program itself for realizing the functional processing of the present invention. In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS.

プログラムを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。その他のプログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。また本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明のクレームに含まれるものである。   As a storage medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card ROM, DVD (DVD-ROM, DVD-R) and the like. As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program itself of the present invention or a compressed file including an automatic installation function is downloaded from the homepage to a storage medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the claims of the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件を満足するユーザに対してインターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who satisfy predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.

またコンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。   In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instruction of the program may be part of the actual processing or The functions of the above-described embodiment can also be realized by performing all the processing and performing the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行ない、その処理によっても前述した実施形態の機能が実現される。   Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

Claims (11)

ネットワークに接続され、当該ネットワークを介してデータを送受信する通信装置であって、
前記ネットワークと接続する第1のインターフェイス手段と、
データ処理端末と接続する第2のインターフェイス手段と、
前記ネットワーク上のネットワーク端末のネットワークアドレスと物理アドレスとの対応関係を登録する登録手段と、
前記通信装置内に備えられたアプリケーションから受け取った送信データを前記第1のインターフェイス手段を介して送信する際に、当該送信データの宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されているかどうかを判別する第1の判別手段と、
前記第1の判別手段による判別の結果、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されていると判別された場合、当該登録されている物理アドレスを前記送信データの宛先として設定し、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記登録手段に登録されていないと判別された場合、前記宛先として指定されているネットワークアドレスを問い合わせ対象とするアドレス解決要求メッセージを前記第1のインターフェイス手段を介して送信し、当該アドレス解決要求メッセージに対する応答として返信されたアドレス解決応答メッセージに含まれる物理アドレスを前記登録手段に登録させるとともに、当該物理アドレスを前記送信データの宛先として設定する設定手段と、
前記第2のインターフェイス手段を介して前記データ処理端末から受信したアドレス解決要求メッセージを、前記第1のインターフェイス手段を介して前記ネットワークに転送する要求メッセージ転送手段と、
記アドレス解決要求メッセージに対する応答として前記第1のインターフェイス手段を介して前記ネットワークから受信したアドレス解決応答メッセージを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する応答メッセージ転送手段とを有し、
前記登録手段は、前記データ処理端末から受信したアドレス解決要求メッセージの問い合わせ対象のネットワークアドレスと前記受信したアドレス解決応答メッセージに含まれる物理アドレスとの対応関係を登録することを特徴とする通信装置。
A communication device connected to a network and transmitting / receiving data via the network,
First interface means for connecting to the network;
A second interface means for connecting to the data processing terminal;
Registration means for registering a correspondence relationship between a network address and a physical address of a network terminal on the network;
When transmitting transmission data received from an application provided in the communication device via the first interface unit, a physical address corresponding to a network address specified as a destination of the transmission data is the registration unit First discriminating means for discriminating whether or not it is registered in
When it is determined that the physical address corresponding to the network address specified as the destination is registered in the registration unit as a result of the determination by the first determination unit, the registered physical address is transmitted If it is determined that the physical address corresponding to the network address designated as the destination is not registered in the registration means, the network address designated as the destination is set as an inquiry target. sending via said first interface means address resolution request message, causes registered in the registration unit physical address included in the reply address resolution response message in response to the address resolution request message, the physical address And the destination of the transmission data And setting means for setting Te,
A request message transferring means for transferring the data processing terminal or we received address resolution request message via the second interface means, to said network via said first interface means,
Transferring pre Symbol address resolution request message address resolution response message the network or we receive through the front Symbol first interface means as a response to, to the data processing terminal via the second interface means Response message transfer means for
It said registering means, the communication apparatus characterized by register the correspondence between the physical address included in the queried network address and address resolution response message the received address resolution request message received from the data processing terminal .
ネットワークに接続され、当該ネットワークを介してデータを送受信する通信装置であって、A communication device connected to a network and transmitting / receiving data via the network,
前記ネットワークと接続する第1のインターフェイス手段と、First interface means for connecting to the network;
データ処理端末と接続する第2のインターフェイス手段と、A second interface means for connecting to the data processing terminal;
前記ネットワーク上のネットワーク端末のネットワークアドレスと物理アドレスとの対応関係を登録する登録手段と、Registration means for registering a correspondence relationship between a network address and a physical address of a network terminal on the network;
物理アドレスを取得するためのアドレス解決要求メッセージを、前記第1のインターフェイス手段を介して前記ネットワークに送信する送信手段と、Transmitting means for transmitting an address resolution request message for obtaining a physical address to the network via the first interface means;
前記アドレス解決要求メッセージに対する応答として前記第1のインターフェイス手段を介して前記ネットワークから受信したアドレス解決応答メッセージを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する応答メッセージ転送手段とを有し、Response message transfer means for transferring an address resolution response message received from the network via the first interface means to the data processing terminal via the second interface means as a response to the address resolution request message. Have
前記登録手段は、前記アドレス解決要求メッセージの問い合わせ対象のネットワークアドレスと前記受信したアドレス解決応答メッセージに含まれる物理アドレスとの対応関係を登録することを特徴とする通信装置。The communication device registers a correspondence relationship between a network address to be inquired of the address resolution request message and a physical address included in the received address resolution response message.
前記送信手段は、前記第2のインターフェイス手段を介して前記データ処理端末から受信したアドレス解決要求メッセージを、前記第1のインターフェイス手段を介して前記ネットワークに送信することを特徴とする請求項2に記載の通信装置。The transmission means transmits the address resolution request message received from the data processing terminal via the second interface means to the network via the first interface means. The communication device described. 前記第1のインターフェイス手段を介して前記ネットワークからアドレス解決要求メッセージを受信した場合に、当該アドレス解決要求メッセージの問い合わせ対象のネットワークアドレスが前記通信装置のネットワークアドレスであるか否かを判断する判断手段と、
前記判断手段による判断の結果、前記ネットワークから受信したアドレス解決要求メッセージの問い合わせ対象のネットワークアドレスが前記通信装置のネットワークアドレスであると判断された場合に、前記通信装置の物理アドレスを含むアドレス解決応答メッセージを、前記第1のインターフェイス手段を介して、前記ネットワークから受信したアドレス解決要求メッセージの送信元のネットワーク端末に対して送信する応答手段とを更に有することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。
When receiving an address resolution request message from the network via the first interface means, determination means for determining whether or not the network address to be queried of the address resolution request message is the network address of the communication device When,
As a result of the determination by the determination means, if it is determined that the network address to be queried in the address resolution request message received from the network is the network address of the communication device, an address resolution response including the physical address of the communication device 4. Response means for transmitting a message to the network terminal that is the transmission source of the address resolution request message received from the network via the first interface means . The communication apparatus of any one of Claims .
前記データ処理端末から前記第2のインターフェイス手段を介して受信したデータを、前記第1のインターフェイス手段を介して前記ネットワークに転送し、また前記ネットワークから前記第1のインターフェイス手段を介して受信したデータを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する転送手段を更に有することを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。 Data received from the data processing terminal via the second interface means is transferred to the network via the first interface means, and data received from the network via the first interface means the communication device according to any one of claims 1 to 4, further comprising a transfer means for transferring said data processing terminal via said second interface means. 第1のインターフェイス手段を介してネットワークに接続されるとともに、第2のインターフェイス手段を介してデータ処理端末に接続され、前記ネットワークを介してデータを送受信する通信装置における通信制御方法であって、
前記ネットワーク上のネットワーク端末のネットワークアドレスと物理アドレスとの対応関係をメモリに登録する登録工程と、
前記通信装置内に備えられたアプリケーションから受け取った送信データを前記第1のインターフェイス手段を介して送信する際に、当該送信データの宛先として指定されているネットワークアドレスに対応する物理アドレスが前記メモリに登録されているかどうかを判別する第1の判別工程と、
前記第1の判別工程における判別の結果、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記メモリに登録されていると判別された場合、当該登録されている物理アドレスを前記送信データの宛先として設定し、前記宛先として指定されているネットワークアドレスに対応する物理アドレスが前記メモリに登録されていないと判別された場合、前記宛先として指定されているネットワークアドレスを問い合わせ対象とするアドレス解決要求メッセージを前記第1のインターフェイス手段を介して送信し、当該アドレス解決要求メッセージに対する応答として返信されたアドレス解決応答メッセージに含まれる物理アドレスを前記メモリに登録させるとともに、当該物理アドレスを前記送信データの宛先として設定する設定工程と、
前記第2のインターフェイス手段を介して前記データ処理端末から受信したアドレス解決要求メッセージを、前記第1のインターフェイス手段を介して前記ネットワークに転送する要求メッセージ転送工程と、
前記アドレス解決要求メッセージに対する応答として前記第1のインターフェイス手段を介して前記ネットワークから受信したアドレス解決応答メッセージを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する応答メッセージ転送工程とを有し、
前記登録工程で、前記データ処理端末から受信したアドレス解決要求メッセージの問い合わせ対象のネットワークアドレスと前記受信したアドレス解決応答メッセージに含まれる物理アドレスとの対応関係を前記メモリに登録することを特徴とする通信制御方法。
A communication control method in a communication device that is connected to a network via a first interface means and connected to a data processing terminal via a second interface means, and transmits and receives data via the network,
A registration step of registering in a memory a correspondence between a network address and a physical address of a network terminal on the network;
When transmitting transmission data received from an application provided in the communication device via the first interface means, a physical address corresponding to a network address specified as a destination of the transmission data is stored in the memory. A first discriminating step for discriminating whether it is registered;
As a result of determination in the first determination step, when it is determined that a physical address corresponding to the network address specified as the destination is registered in the memory, the registered physical address is used as the transmission data. Address resolution that targets the network address specified as the destination when it is determined that the physical address corresponding to the network address specified as the destination is not registered in the memory. the request message transmitted via said first interface means, causes registered physical address included in the reply address resolution response message in response to the address resolution request message in said memory, said transmit the physical address As data destination A setting step of constant to,
The data processing terminal or we received address resolution request message via the second interface means, a request message transfer process via the first interface means for transferring to said network,
Response message transfers the address resolution request message address resolution response message the network or we receive via the first interface means in response to, in the data processing terminal via said second interface means A transfer process,
And wherein the registration step registers the correspondence between the physical address included in the queried network address and the received address resolution response message of the address resolution request message received from the data processing terminal before Symbol memory Communication control method.
ネットワークと接続する第1のインターフェイス手段と、データ処理端末と接続する第2のインターフェイス手段とを有し、当該ネットワークを介してデータを送受信する通信装置における通信制御方法であって、A communication control method in a communication apparatus having first interface means for connecting to a network and second interface means for connecting to a data processing terminal, and transmitting and receiving data via the network,
前記ネットワーク上のネットワーク端末のネットワークアドレスと物理アドレスとの対応関係を登録する登録工程と、A registration step of registering a correspondence relationship between a network address and a physical address of a network terminal on the network;
物理アドレスを取得するためのアドレス解決要求メッセージを、前記第2のインターフェイス手段を介して前記ネットワークに送信する送信工程と、A transmission step of transmitting an address resolution request message for obtaining a physical address to the network via the second interface means;
前記アドレス解決要求メッセージに対する応答として前記第1のインターフェイス手段を介して前記ネットワークから受信したアドレス解決応答メッセージを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する応答メッセージ転送工程とを有し、A response message transfer step of transferring an address resolution response message received from the network via the first interface means to the data processing terminal via the second interface means as a response to the address resolution request message; Have
前記登録工程は、前記アドレス解決要求メッセージの問い合わせ対象のネットワークアドレスと前記受信したアドレス解決応答メッセージに含まれる物理アドレスとの対応関係を登録することを特徴とする通信制御方法。The communication control method characterized in that the registration step registers a correspondence relationship between a network address to be inquired of the address resolution request message and a physical address included in the received address resolution response message.
前記第1のインターフェイス手段を介して前記ネットワークからアドレス解決要求メッセージを受信した場合に、当該アドレス解決要求メッセージの問い合わせ対象のネットワークアドレスが前記通信装置のネットワークアドレスであるか否かを判断する判断工程と、
前記判断工程における判断の結果、前記ネットワークから受信したアドレス解決要求メッセージの問い合わせ対象のネットワークアドレスが前記通信装置のネットワークアドレスであると判断された場合に、前記通信装置の物理アドレスを含むアドレス解決応答メッセージを、前記第1のインターフェイス手段を介して、前記ネットワークから受信したアドレス解決要求メッセージの送信元のネットワーク端末に対して送信する応答工程とを更に有することを特徴とする請求項6又は7に記載の通信制御方法。
When receiving an address resolution request message from the network via the first interface means, a determination step of determining whether or not the network address to be queried of the address resolution request message is the network address of the communication device When,
As a result of the determination in the determination step, when it is determined that the network address to be queried of the address resolution request message received from the network is the network address of the communication apparatus, an address resolution response including the physical address of the communication apparatus message, via said first interface means, in claim 6 or 7, further comprising a response step of transmitting the transmission source of the network terminal of the address resolution request message received from the network The communication control method described.
前記データ処理端末から前記第2のインターフェイス手段を介して受信したデータを、前記第1のインターフェイス手段を介して前記ネットワークに転送し、また前記ネットワークから前記第1のインターフェイス手段を介して受信したデータを、前記第2のインターフェイス手段を介して前記データ処理端末に転送する転送工程を更に有することを特徴とする請求項6乃至8のいずれか1項に記載の通信制御方法。 Data received from the data processing terminal via the second interface means is transferred to the network via the first interface means, and data received from the network via the first interface means The communication control method according to claim 6 , further comprising a transfer step of transferring the data to the data processing terminal via the second interface means. 請求項乃至のいずれか1項に記載の通信制御方法をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute the communication control method according to any one of claims 6 to 9 . 請求項10に記載のプログラムを記憶していることを特徴とする、コンピュータにより読取り可能な記憶媒体。 A computer-readable storage medium storing the program according to claim 10 .
JP2010199402A 2010-09-06 2010-09-06 Communication device and communication control method thereof Expired - Fee Related JP5153841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010199402A JP5153841B2 (en) 2010-09-06 2010-09-06 Communication device and communication control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010199402A JP5153841B2 (en) 2010-09-06 2010-09-06 Communication device and communication control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005109221A Division JP4947913B2 (en) 2005-04-05 2005-04-05 Communication device and communication control method thereof

Publications (2)

Publication Number Publication Date
JP2011010359A JP2011010359A (en) 2011-01-13
JP5153841B2 true JP5153841B2 (en) 2013-02-27

Family

ID=43566377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010199402A Expired - Fee Related JP5153841B2 (en) 2010-09-06 2010-09-06 Communication device and communication control method thereof

Country Status (1)

Country Link
JP (1) JP5153841B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7024602B2 (en) * 2018-05-23 2022-02-24 コニカミノルタ株式会社 Image processing equipment, network connection method and network connection program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06104899A (en) * 1992-09-22 1994-04-15 Matsushita Electric Ind Co Ltd Lan-to-lan connection method
JP2590734B2 (en) * 1994-04-30 1997-03-12 日本電気株式会社 LAN connection device discovery device
JPH0964900A (en) * 1995-08-25 1997-03-07 Hitachi Cable Ltd Switching hub with arp substitute reply function

Also Published As

Publication number Publication date
JP2011010359A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP4947913B2 (en) Communication device and communication control method thereof
EP3171581B1 (en) Print device monitoring method and system, and print monitoring server
EP0890897B1 (en) Print data generation system and corresponding method for use with a printing system
JP5377091B2 (en) Information processing apparatus and control method thereof
JP4979294B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
JP7059752B2 (en) Application program
JP5879987B2 (en) Information processing apparatus, information processing apparatus control method, control program, and image forming system
JP2007190839A (en) Authentication printer and method, and authentication printing system
JP2008004010A (en) Communication equipment and control method therefor
JP6755706B2 (en) Information processing device, its control method, and program
JP5153841B2 (en) Communication device and communication control method thereof
JP4892469B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP2006338268A (en) Data processor, network interface substrate and application program registering method
JP2004013662A (en) Information processing device, information processing method and control program
JP5817545B2 (en) Print trial device, print trial program, print trial method, print control server
JP2005038011A (en) Network system and its control method
JP2008146575A (en) Network controller and its control method
JP2006285903A (en) Method of avoiding duplication of communication port
US11803343B2 (en) Job processing apparatus, method of controlling job processing apparatus, and storage medium
JP4387710B2 (en) Network device and control method thereof
JP2006190032A (en) Distributed printing controller, distributed printing system, method for transmitting control command, and method for canceling printing job
JP2024027316A (en) Information processing system, information processing device, and control method for information processing device
JP2009140068A (en) Information processing apparatus and information processing method for information processing apparatus
JP2009301572A (en) Network device and its control method
JP2007157040A (en) Network device and service starting method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120720

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121204

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5153841

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees