[go: up one dir, main page]

JP2011114805A - Communication apparatus and method, and program - Google Patents

Communication apparatus and method, and program Download PDF

Info

Publication number
JP2011114805A
JP2011114805A JP2009271906A JP2009271906A JP2011114805A JP 2011114805 A JP2011114805 A JP 2011114805A JP 2009271906 A JP2009271906 A JP 2009271906A JP 2009271906 A JP2009271906 A JP 2009271906A JP 2011114805 A JP2011114805 A JP 2011114805A
Authority
JP
Japan
Prior art keywords
search
packet
transfer
received
response packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009271906A
Other languages
Japanese (ja)
Inventor
Norihito Sako
律人 佐光
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 JP2009271906A priority Critical patent/JP2011114805A/en
Publication of JP2011114805A publication Critical patent/JP2011114805A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

【課題】本発明は、受信した検索パケットが所定の転送条件を満たす場合に、当該検索パケットを転送することで、転送による情報漏洩を防止すると共に、デバイス検索の精度を向上させることができる通信装置を提供する。
【解決手段】互いに異なるネットワークに各々が接続される複数のネットワークI/Fを備えるデバイス100は、検索パケットを第1のNIC108で受信した場合、受信した検索パケットのうち所定の転送条件を満たすものを第2のNIC109から転送する。そして、転送された検索パケットに対する応答パケットを第2のNIC109で受信した場合、受信した応答パケットを第1のNIC108から検索パケットの送信元に転送する。
【選択図】図4b
The present invention relates to communication capable of preventing information leakage due to transfer and improving the accuracy of device search by transferring the search packet when the received search packet satisfies a predetermined transfer condition. Providing equipment.
When a search packet is received by a first NIC, a device having a plurality of network I / Fs connected to different networks from each other satisfies a predetermined transfer condition among the received search packets Is transferred from the second NIC 109. When the second NIC 109 receives a response packet for the transferred search packet, the received response packet is transferred from the first NIC 108 to the transmission source of the search packet.
[Selection] Figure 4b

Description

本発明は、通信装置及び方法、並びにプログラムに関し、特に、異なるネットワークに接続して複数のネットワーク上に存在する通信装置を検索するマルチホーム機能を有する通信装置及び方法、並びにプログラムに関する。   The present invention relates to a communication apparatus, method, and program, and more particularly, to a communication apparatus, method, and program having a multihome function for searching for communication apparatuses that are connected to different networks and exist on a plurality of networks.

従来、ネットワークに接続された画像形成装置等のデバイスをクライアントPCからネットワーク経由で検索(探索)して印刷等に利用することが可能になっている。ネットワーク上のデバイスを検索する技術については、WSD(Web Services on Device)、SLP(Service Location Protocol)、SNMP(Simple Network Management Protocol)等がある。   Conventionally, a device such as an image forming apparatus connected to a network can be searched (searched) via a network from a client PC and used for printing or the like. Technologies for searching for devices on the network include WSD (Web Services on Device), SLP (Service Location Protocol), SNMP (Simple Network Management Protocol), and the like.

ところで、上述したデバイスの検索技術では、ルータで分離された異なるネットワークに跨ってデバイス検索を行うことができないという課題がある。これは、デバイスの検索時に使用されるブロードキャストパケットやマルチキャストパケットがルータを超えて転送されない(マルチキャストパケットは技術的には可能だが運用上超えられない環境が多い)ためである。   However, the above-described device search technique has a problem that device search cannot be performed across different networks separated by routers. This is because broadcast packets and multicast packets used when searching for devices are not transferred beyond the router (multicast packets are technically possible, but there are many environments that cannot be exceeded in operation).

上記課題を解決するために、デバイスを一元管理する検索サーバも提案されているが、デバイスやクライアントPCが検索サーバのアドレスを自動的に知る手段がない。また、検索用のサーバシステムが構築されていても、あまり利用されていない。   In order to solve the above problem, a search server that centrally manages devices has been proposed, but there is no means for the device or client PC to automatically know the address of the search server. Even if a server system for search is constructed, it is not used much.

ところで、複数のネットワークインターフェース(I/F)を備え、それらで同時に通信することができるマルチホーム機能を有するデバイスが実用化されている。マルチホーム機能を有するデバイスでは、当該機能を利用してマルチキャストパケットをネットワーク間で転送するものがある(例えば、特許文献1参照)。これにより、異なるネットワークのデバイス(サービス)を検索することが可能となる。   By the way, a device having a multi-home function that includes a plurality of network interfaces (I / F) and can simultaneously communicate with them is put into practical use. Some devices having a multihome function transfer multicast packets between networks using the function (see, for example, Patent Document 1). This makes it possible to search for devices (services) in different networks.

特開2004−320766号公報JP 2004-320766 A

しかしながら、従来のマルチホーム機能を有するデバイスでは、マルチキャストパケットをすべて転送するため、意図しないパケットを転送することにより情報漏洩のおそれがある。   However, since a device having a conventional multihome function transfers all multicast packets, there is a risk of information leakage by transferring unintended packets.

また、デバイスを検索する手段(プロトコル)は複数存在し、単純にマルチキャストパケットを転送するだけでは、ユーザが使用したいデバイス(サービス)を確実に見つけることができないので、使いづらい面がある。   In addition, there are a plurality of means (protocols) for searching for devices, and it is difficult to use a device (service) that a user wants to use by simply transferring a multicast packet.

本発明は、受信した検索パケットが所定の転送条件を満たす場合に、当該検索パケットを転送することで、転送による情報漏洩を防止すると共に、デバイス検索の精度を向上させることができる通信装置及び方法、並びにプログラムを提供することを目的とする。   The present invention is a communication apparatus and method capable of preventing information leakage due to transfer and improving the accuracy of device search by transferring the search packet when the received search packet satisfies a predetermined transfer condition. It aims at providing a program.

上記目的を達成するために、請求項1記載の通信装置は、互いに異なるネットワークに各々が接続される複数のネットワークインターフェースを備える通信装置において、前記ネットワークに接続されたデバイスを検索するための検索パケットを前記複数のネットワークインターフェースの一方で受信した場合、前記受信した検索パケットのうち所定の転送条件を満たすものを前記複数のネットワークインターフェースの他方から転送する第1の転送手段と、前記転送された検索パケットに対する応答パケットを前記複数のネットワークインターフェースの他方で受信した場合、前記受信した応答パケットを前記複数のネットワークインターフェースの一方から前記検索パケットの送信元に転送する第2の転送手段とを備えることを特徴とする。   In order to achieve the above object, a communication device according to claim 1 is a search packet for searching for a device connected to the network in a communication device including a plurality of network interfaces each connected to different networks. When one of the plurality of network interfaces is received, first transfer means for transferring, from the other of the plurality of network interfaces, a search condition that satisfies a predetermined transfer condition among the received search packets, and the transferred search A second transfer unit configured to transfer the received response packet from one of the plurality of network interfaces to the transmission source of the search packet when a response packet to the packet is received by the other of the plurality of network interfaces. Features .

本発明によれば、受信した検索パケットが所定の転送条件を満たす場合に、当該検索パケットを転送することで、転送による情報漏洩を防止すると共に、デバイス検索の精度を向上させることができる。   According to the present invention, when a received search packet satisfies a predetermined transfer condition, by transferring the search packet, information leakage due to transfer can be prevented and device search accuracy can be improved.

本発明の実施形態の一例である画像形成装置のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of an image forming apparatus that is an example of an embodiment of the present invention. 図1のデバイスが存在するネットワーク環境の一例を示す図である。It is a figure which shows an example of the network environment where the device of FIG. 1 exists. デバイスにおける検索処理に関連するソフトウェア構成を示すブロック図である。It is a block diagram which shows the software structure relevant to the search process in a device. デバイスにおける検索パケット転送処理の一例を示すフローチャートである(その1)。It is a flowchart which shows an example of the search packet transfer process in a device (the 1). デバイスにおける検索パケット転送処理の一例を示すフローチャートである(その2)。It is a flowchart which shows an example of the search packet transfer process in a device (the 2). 検索パケットの転送条件である検索パケット転送許可テーブルの一例を示す図である。It is a figure which shows an example of the search packet transfer permission table which is the transfer conditions of a search packet. デバイスが転送した検索パケットを管理するための検索テーブルの一例を示す図である。It is a figure which shows an example of the search table for managing the search packet which the device transferred. デバイスが受信した検索応答パケットを管理するための検索応答テーブルの一例を示す図である。It is a figure which shows an example of the search response table for managing the search response packet which the device received. デバイスにおける検索パケットの転送条件を設定するための設定画面の一例を示す図である。It is a figure which shows an example of the setting screen for setting the transfer conditions of the search packet in a device. デバイスにおける検索応答パケットの転送条件を設定するための設定画面の一例を示す図である。It is a figure which shows an example of the setting screen for setting the transfer conditions of the search response packet in a device. デバイスが受信する検索パケットの一例を示す図である。It is a figure which shows an example of the search packet which a device receives. デバイスが送信する検索パケットの一例を示す図である。It is a figure which shows an example of the search packet which a device transmits. デバイスが送信する検索応答パケットの一例を示す図である。It is a figure which shows an example of the search response packet which a device transmits.

以下、本発明の実施の形態を図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施形態の一例である画像形成装置のハードウェア構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a hardware configuration of an image forming apparatus which is an example of an embodiment of the present invention.

図1において、画像形成装置(以下、「デバイス」と呼ぶ)100は、2つのネットワークインターフェース(ネットワークI/F)を備えたプリンタであり、以下に説明する構成要素を備える。   In FIG. 1, an image forming apparatus (hereinafter, referred to as “device”) 100 is a printer including two network interfaces (network I / F), and includes the components described below.

CPU101は、デバイスのソフトウェアプログラムを実行し、デバイス全体の制御を行なう。ROM102は、リードオンリーメモリであり、デバイスのブートプログラムや固定パラメータ等が格納されている。RAM103は、ランダムアクセスメモリであり、CPU101がデバイスを制御する際に、一時的なデータの格納などに使用される。   The CPU 101 executes the device software program and controls the entire device. The ROM 102 is a read-only memory, and stores a device boot program, fixed parameters, and the like. A RAM 103 is a random access memory, and is used for temporary data storage when the CPU 101 controls a device.

HDD104は、ハードディスクドライブであり、印刷データの格納など、様々なデータの格納に使用される。プリンタI/F制御部105は、プリンタ部112を制御する装置である。NVRAM106は、不揮発性のメモリであり、デバイス100の各種設定値を保存する。パネル制御部107は、オペレーションパネル111を制御し、各種情報の表示、使用者からの指示入力を行なう。   The HDD 104 is a hard disk drive and is used for storing various data such as print data. The printer I / F control unit 105 is a device that controls the printer unit 112. The NVRAM 106 is a non-volatile memory, and stores various setting values of the device 100. The panel control unit 107 controls the operation panel 111 to display various information and input instructions from the user.

第1のネットワークI/F制御部108は、例えば、ネットワークインターフェースカード(NIC)であり、ネットワーク113に接続し、ネットワーク113とのデータの送受信を制御する。以下、第1のネットワークI/F制御部108を第1のNIC108と呼ぶ。第2のネットワークI/F制御部109は、例えば、ネットワークインターフェースカード(NIC)であり、ネットワーク114に接続し、ネットワーク114とのデータの送受信を制御するNICである。以下、第2のネットワークI/F制御部109を第2のNIC109と呼ぶ。   The first network I / F control unit 108 is, for example, a network interface card (NIC), is connected to the network 113, and controls data transmission / reception with the network 113. Hereinafter, the first network I / F control unit 108 is referred to as a first NIC 108. The second network I / F control unit 109 is, for example, a network interface card (NIC), and is a NIC that is connected to the network 114 and controls transmission / reception of data with the network 114. Hereinafter, the second network I / F control unit 109 is referred to as a second NIC 109.

バス110は、CPU101、ROM102、RAM103、HDD104、プリンタI/F制御部105、NVRAM106、パネル制御部107、第1のNIC108、及び第2のNIC109が接続されている。バス110は、CPU101からの制御信号や各装置間のデータ信号が送受信されるシステムバスである。   The bus 110 is connected to the CPU 101, ROM 102, RAM 103, HDD 104, printer I / F control unit 105, NVRAM 106, panel control unit 107, first NIC 108, and second NIC 109. The bus 110 is a system bus through which control signals from the CPU 101 and data signals between devices are transmitted and received.

図2は、図1のデバイス100が存在するネットワーク環境の一例を示す図である。なお、デバイス100の内部構成は図1に示した内部構成よりも一部が省略されている。   FIG. 2 is a diagram illustrating an example of a network environment in which the device 100 of FIG. 1 exists. A part of the internal configuration of the device 100 is omitted from the internal configuration shown in FIG.

デバイス100は、第1のNIC108によりネットワーク113に接続されている。また、第2のNIC109によりネットワーク114にも接続されている。ネットワーク113とネットワーク114は、ルータ204を介して接続されている。PC(パーソナルコンピュータ)201とデバイス202はネットワーク113に接続されている。デバイス207はネットワーク114に接続されている。   The device 100 is connected to the network 113 by the first NIC 108. The second NIC 109 is also connected to the network 114. The network 113 and the network 114 are connected via the router 204. A PC (personal computer) 201 and a device 202 are connected to a network 113. The device 207 is connected to the network 114.

図3は、デバイス100における検索処理に関連するソフトウェア構成を示すブロック図である。   FIG. 3 is a block diagram illustrating a software configuration related to search processing in the device 100.

図3において、パケット受信部301は、第1のNIC108又は第2のNIC109でネットワーク113,114からパケットを受信する処理を行う。   In FIG. 3, the packet reception unit 301 performs processing for receiving packets from the networks 113 and 114 by the first NIC 108 or the second NIC 109.

デバイス検索パケット判断部302は、パケット受信部301が受信したパケットが、予め決められたデバイス検索パケット(以下、単に「検索パケット」と称す)かどうかを判断する。デバイス検索応答パケット判断部303は、パケット受信部301が受信したパケットが、予め決められたデバイス検索応答パケット(以下、単に「検索応答パケット」と称す)かどうかを判断する。   The device search packet determination unit 302 determines whether the packet received by the packet reception unit 301 is a predetermined device search packet (hereinafter simply referred to as “search packet”). The device search response packet determination unit 303 determines whether the packet received by the packet reception unit 301 is a predetermined device search response packet (hereinafter simply referred to as “search response packet”).

デバイス検索パケット転送管理部304は、受信した検索パケットの転送を行うか否かを判断する。例えば、デバイス検索パケット転送管理部304は、設定画面で設定された転送許可IPアドレスや検索パケット転送許可テーブルを参照して、受信した検索パケットの送信元アドレスがあるかどうかを判断し、検索パケットの転送を行うか否かを判断する。   The device search packet transfer management unit 304 determines whether to transfer the received search packet. For example, the device search packet transfer management unit 304 refers to the transfer-permitted IP address or search packet transfer permission table set on the setting screen, determines whether there is a source address of the received search packet, and searches for the search packet. It is determined whether or not to transfer.

デバイス検索応答パケット転送管理部305は、受信した検索応答パケットの転送を行うか否かを判断する。例えば、デバイス検索応答パケット転送管理部305は、図9に示す設定画面900にて設定された転送許可IPアドレスを参照する。そして、受信した検索応答パケットの送信元アドレスがあるかどうかを判断し、検索応答パケットの転送を行うか否かを判断する。   The device search response packet transfer management unit 305 determines whether to transfer the received search response packet. For example, the device search response packet transfer management unit 305 refers to the transfer-permitted IP address set on the setting screen 900 shown in FIG. Then, it is determined whether or not there is a source address of the received search response packet, and it is determined whether or not to transfer the search response packet.

デバイス検索・応答パケット転送管理部306は、検索パケットや検索応答パケットの送受信状況を管理し、検索パケットや検索応答パケットの転送処理を制御する。検索パケット管理部307は、図6に示すような、受信した検索パケットと転送した検索パケットの対応関係を示す検索テーブル600を管理する。また、検索パケット管理部307は、検索パケットを転送する度に、受信した検索パケットと転送した検索パケットの関連を示すエントリを検索テーブル600に追加する。検索テーブル600は、検索応答パケットを受信したときに、どの宛先にどのプロトコルで送信するかを判断するために使用される。   The device search / response packet transfer management unit 306 manages the transmission / reception status of search packets and search response packets, and controls transfer processing of search packets and search response packets. The search packet management unit 307 manages a search table 600 indicating the correspondence between the received search packet and the transferred search packet as shown in FIG. The search packet management unit 307 adds an entry indicating the relationship between the received search packet and the transferred search packet to the search table 600 each time the search packet is transferred. The search table 600 is used to determine which destination is to be transmitted with which protocol when a search response packet is received.

検索プロトコル変換部308は、受信した検索パケットや検索応答パケットを所定のプロトコルに変換して、転送用の検索パケットや検索応答パケットを生成する。検索応答パケット管理部309は、転送した検索応答パケットを管理する。複数のプロトコルで検索を行った場合、同一のデバイスから複数の応答が返ることが考えられる。その場合、もともとの検索パケット送信先に重複して検索応答を返さないよう制御するために、図7に示すような、検索応答したデバイスを管理する検索応答テーブル700を保持し、既に検索応答済みであった場合、検索応答を行わない。   The search protocol conversion unit 308 converts the received search packet or search response packet into a predetermined protocol, and generates a transfer search packet or search response packet. The search response packet management unit 309 manages the transferred search response packet. When searching with a plurality of protocols, a plurality of responses may be returned from the same device. In that case, in order to control to not return the search response redundantly to the original search packet transmission destination, the search response table 700 for managing the device that has made the search response is held as shown in FIG. If it is, the search response is not performed.

パケット送信部310は、第1のNIC108又は第2のNIC109からネットワーク113,114にパケットを送信する処理を行う。   The packet transmission unit 310 performs processing for transmitting a packet from the first NIC 108 or the second NIC 109 to the networks 113 and 114.

次に、PC201から検索パケットを受信したときのデバイス100における検索パケットの転送処理について説明する。   Next, search packet transfer processing in the device 100 when a search packet is received from the PC 201 will be described.

図4a及び図4bは、デバイス100における検索パケット転送処理の一例を示すフローチャートである。   4A and 4B are flowcharts illustrating an example of search packet transfer processing in the device 100. FIG.

ステップS401では、パケット受信部301は、第1のNIC108でPC201からの検索パケット(1)を受信する。受信する検索パケットの一例を図10に示す。検索パケットには検索IDがセットされているが、ここでは、検索パケット(1)の検索IDをオリジナル検索IDと呼ぶ。検索パケットかどうかは、デバイス検索パケット判断部302により判断される。   In step S <b> 401, the packet receiving unit 301 receives the search packet (1) from the PC 201 by the first NIC 108. An example of a received search packet is shown in FIG. A search ID is set in the search packet. Here, the search ID of the search packet (1) is referred to as an original search ID. The device search packet determination unit 302 determines whether the packet is a search packet.

次に、ステップS402では、デバイス検索・応答パケット転送管理部306は、検索パケット(1)に対する検索応答パケットを第1のNIC108からPC201に送信する。   In step S <b> 402, the device search / response packet transfer management unit 306 transmits a search response packet for the search packet (1) from the first NIC 108 to the PC 201.

ステップS403では、デバイス検索パケット判断部302は、検索パケット(1)を受信してから所定時間経過するまでに第2のNIC109で検索パケット(1)と同じ検索パケットを受信したか否かを判定する。この判定の結果、同じ検索パケットを受信した場合は、検索パケットがルータ204経由で転送されていると判断して、本処理を終了する。一方、受信しなかった場合は、ステップS404へ移行する。   In step S403, the device search packet determination unit 302 determines whether or not the second NIC 109 has received the same search packet as the search packet (1) until a predetermined time has elapsed after receiving the search packet (1). To do. If the same search packet is received as a result of this determination, it is determined that the search packet has been transferred via the router 204, and this process is terminated. On the other hand, if not received, the process proceeds to step S404.

ステップS404では、デバイス検索パケット転送管理部304は、図5に示す検索パケット転送許可テーブル500と図8に示す設定画面800で設定されたIPアドレス情報を参照し、これらの転送条件を検索パケット(1)が満足するか否かを判定する。なお、検索パケット転送許可テーブル500と設定画面800の詳細については後述する。   In step S404, the device search packet transfer management unit 304 refers to the search packet transfer permission table 500 shown in FIG. 5 and the IP address information set on the setting screen 800 shown in FIG. It is determined whether or not 1) is satisfied. Details of the search packet transfer permission table 500 and the setting screen 800 will be described later.

ステップS404の判定の結果、転送条件を満足している場合は、パケット送信部310は、検索パケット(1)と同じプロトコルを用いて第2のNIC109から検索パケット(1)を転送する。ステップS404は、第1の転送手段の一例である。送信する検索パケットの一例を図11に示す。例えば、検索パケット(1)のプロトコルがSLPの場合は、検索パケット(1)はSLPで転送される。   If the transfer condition is satisfied as a result of the determination in step S404, the packet transmitting unit 310 transfers the search packet (1) from the second NIC 109 using the same protocol as the search packet (1). Step S404 is an example of a first transfer unit. An example of a search packet to be transmitted is shown in FIG. For example, when the protocol of the search packet (1) is SLP, the search packet (1) is transferred by SLP.

さらに、ステップS404では、デバイス検索・応答パケット転送管理部306は、検索パケットの検索プロトコルをデバイス100がサポートする他の検索プロトコルに変換し、変換された検索パケットをパケット送信部310が第2のNIC109から送信する。例えば、検索パケット(1)のプロトコルがSLPの場合、検索パケット(1)に対応するSNMPやCPCA等の検索パケットが生成され、転送される。転送した検索パケットには、プロトコルの種類に関わらず、同じIDが転送検索IDとして、デバイス検索・応答パケット転送管理部306により付加される。本実施の形態では、転送検索IDは、図6に示すように、1〜6の数字で付与されているが、この形式に限定されるものではなく、転送した検索パケットが識別可能であれば、どのような識別情報であってもよい。ステップS404は、第1の変換手段の一例である。   Further, in step S404, the device search / response packet transfer management unit 306 converts the search protocol of the search packet into another search protocol supported by the device 100, and the packet transmission unit 310 converts the converted search packet into the second search protocol. It is transmitted from the NIC 109. For example, when the protocol of the search packet (1) is SLP, a search packet such as SNMP or CPCA corresponding to the search packet (1) is generated and transferred. Regardless of the protocol type, the same ID is added by the device search / response packet transfer management unit 306 as the transfer search ID to the transferred search packet. In this embodiment, as shown in FIG. 6, the transfer search ID is assigned with numbers 1 to 6, but the transfer search ID is not limited to this format, and if the transferred search packet can be identified. Any identification information may be used. Step S404 is an example of a first conversion unit.

次に、ステップS405では、検索パケット管理部307は、転送した検索パケットに関する所定の情報を図6に示す検索テーブル600に登録する。なお、検索テーブル600の詳細については後述する。   Next, in step S405, the search packet management unit 307 registers predetermined information related to the transferred search packet in the search table 600 shown in FIG. Details of the search table 600 will be described later.

次に、ステップS407〜ステップS414の処理を所定時間繰り返して、第2のNIC109から転送した検索パケットに対する検索応答パケットの受信処理を行う。   Next, the process of step S407 to step S414 is repeated for a predetermined time, and a search response packet reception process for the search packet transferred from the second NIC 109 is performed.

ステップS407において、パケット受信部301が、第2のNIC109で検索応答パケット(2)を受信すると、ステップS408へ移行する。ステップS408では、デバイス検索応答パケット判断部303が、図6に示す検索テーブル600を参照し、検索応答パケット(2)に含まれる転送検索IDからオリジナル検索IDを取得する。さらに、検索応答パケット(2)の送信元である検索応答デバイスのIPを取得する。   In step S407, when the packet receiving unit 301 receives the search response packet (2) by the second NIC 109, the process proceeds to step S408. In step S408, the device search response packet determination unit 303 refers to the search table 600 shown in FIG. 6 and acquires the original search ID from the transfer search ID included in the search response packet (2). Further, the IP of the search response device that is the transmission source of the search response packet (2) is acquired.

次に、ステップS409では、検索応答パケット管理部309は、例えば、図7に示すオリジナル検索IDの検索応答テーブル700に、ステップS408で取得された検索応答デバイスのIPが登録されているか否かを判定する。なお、検索応答テーブル700の詳細については後述する。   Next, in step S409, the search response packet management unit 309 determines whether or not the IP of the search response device acquired in step S408 is registered in the search response table 700 of the original search ID shown in FIG. judge. Details of the search response table 700 will be described later.

ステップS409の判定の結果、オリジナル検索IDの検索応答テーブル700に検索応答デバイスのIPが登録されている場合は、既に検索応答パケットが転送済みであることから、何もせずに検索応答パケットの受信待ち状態に戻る。一方、オリジナル検索IDの検索応答テーブル700に検索応答デバイスのIPが登録されていない場合は、ステップS410へ移行する。   As a result of the determination in step S409, if the IP of the search response device is registered in the search response table 700 of the original search ID, the search response packet has already been transferred, so the search response packet is received without doing anything. Return to the waiting state. On the other hand, if the IP of the search response device is not registered in the search response table 700 of the original search ID, the process proceeds to step S410.

ステップS410では、検索パケット管理部307は、オリジナル検索IDの検索応答テーブル700に、ステップS408で取得された検索応答デバイスのIPを登録する。ステップS411では、デバイス検索・応答パケット転送管理部306は、転送検索IDに基づいて検索テーブル600を参照し、検索応答パケット(2)のプロトコルがオリジナル(もともとの)検索プロトコルと同じであるか否かを判定する。同じである場合は、ステップS413へ移行する。一方、同じでない場合は、ステップS412へ移行する。   In step S410, the search packet management unit 307 registers the IP of the search response device acquired in step S408 in the search response table 700 of the original search ID. In step S411, the device search / response packet transfer management unit 306 refers to the search table 600 based on the transfer search ID, and determines whether or not the protocol of the search response packet (2) is the same as the original (original) search protocol. Determine whether. If they are the same, the process proceeds to step S413. On the other hand, if not, the process proceeds to step S412.

ステップS412では、検索プロトコル変換部308は、オリジナルの検索プロトコルに変換した検索応答パケット(3)を生成する。ステップS412は、第2の変換手段の一例である。   In step S412, the search protocol conversion unit 308 generates a search response packet (3) converted into the original search protocol. Step S412 is an example of a second conversion unit.

ステップS413では、パケット送信部310は、検索応答パケット(2)又は(3)を第1のNIC108から送信する。検索応答パケット(2)を送信するときは、オリジナルの検索プロトコルと検索応答パケット(2)のプロトコルが同じであった場合である。検索応答パケット(3)を送信するときは、オリジナルの検索プロトコルと検索応答パケット(2)のプロトコルが異なっていた場合である。また、ステップS413では、デバイス検索・応答パケット転送管理部306は、送信元のIPアドレスに検索応答パケット(2)の送信元アドレスをセットし、送信元MACアドレスにデバイス100のMACアドレスをセットする。ステップS413は、第2の転送手段の一例である。   In step S413, the packet transmission unit 310 transmits the search response packet (2) or (3) from the first NIC 108. When the search response packet (2) is transmitted, the original search protocol and the protocol of the search response packet (2) are the same. The search response packet (3) is transmitted when the original search protocol and the protocol of the search response packet (2) are different. In step S413, the device search / response packet transfer management unit 306 sets the source address of the search response packet (2) as the source IP address, and sets the MAC address of the device 100 as the source MAC address. . Step S413 is an example of a second transfer unit.

ステップS414では、デバイス検索・応答パケット転送管理部306は、検索パケットを転送した後、所定時間が経過したか否かを判定し、所定時間が経過していないときは、ステップS407へ戻る一方、所定時間が経過したときは、本処理を終了する。   In step S414, the device search / response packet transfer management unit 306 determines whether or not a predetermined time has elapsed after transferring the search packet. If the predetermined time has not elapsed, the process returns to step S407. When the predetermined time has elapsed, this process is terminated.

なお、上記処理では、ネットワーク113上のPC201から第1のNIC108で検索パケットを受信して、第2のNIC109からネットワーク114へ検索パケットを転送する場合について説明したが、これに限定されない。例えば、ネットワーク114上のPCやデバイスから第2のNIC109で検索パケットを受信し、第1のNIC108からネットワーク113へ転送することも可能である。   In the above-described processing, the case where the search packet is received from the PC 201 on the network 113 by the first NIC 108 and transferred from the second NIC 109 to the network 114 has been described. However, the present invention is not limited to this. For example, the search packet can be received by the second NIC 109 from a PC or device on the network 114 and transferred from the first NIC 108 to the network 113.

図5は、検索パケットの転送条件である検索パケット転送許可テーブルの一例を示す図である。   FIG. 5 is a diagram illustrating an example of a search packet transfer permission table, which is a search packet transfer condition.

検索タイプ505は、検索パケットのプロトコルの種類毎に、SLP検索501、SNMP検索502、CPCA(Common Peripherals Controling Architecture)検索503、及びWSD検索504に分けられている。転送条件として、これらの検索タイプのパケットで、さらにデバイスを検索するパケットである場合にのみ、検索パケットの転送を行う。各検索タイプの転送条件は、I/F間で転送する検索パケット506に定義されている。   The search type 505 is divided into an SLP search 501, an SNMP search 502, a CPCA (Common Peripherals Controling Architecture) search 503, and a WSD search 504 for each type of search packet protocol. As a transfer condition, the search packet is transferred only when the search type packet is a packet for further searching for a device. The transfer conditions for each search type are defined in the search packet 506 transferred between the I / Fs.

SLP検索501の場合の転送条件は、宛先(送信先アドレス)がマルチキャストアドレス、送信先ポートが427であることとなっている。加えて、SLPのパケットのデータエリアにセットできる検索属性であるservice typeが「printer」、scopeが「xxx」であることも転送条件となる。これにより、例えば、xxx社製のデバイスから受信した検索パケットのみを転送するようにできる。   The transfer condition in the case of the SLP search 501 is that the destination (destination address) is a multicast address and the destination port is 427. In addition, the transfer condition is that the service type, which is a search attribute that can be set in the data area of the SLP packet, is “printer” and the scope is “xxx”. Thereby, for example, only a search packet received from a device manufactured by xxx can be transferred.

SNMP検索502の場合の転送条件は、宛先(送信先アドレス)がブロードキャストアドレス、送信先ポートが161であることとなっている。CPCA検索503の場合の転送条件は、宛先(送信先アドレス)がブロードキャストアドレス、送信先ポートが47545であるとなっている。加えて、CPCAヘッダがb9b9であることも転送条件となる。これにより、不正なCPCAパケットの転送を抑制することができる。WSD検索504の場合の転送条件は、宛先(送信先アドレス)がマルチキャストアドレス、送信先ポートが80であることとなっている。   The forwarding condition in the case of SNMP search 502 is that the destination (transmission destination address) is a broadcast address and the transmission destination port is 161. The transfer condition in the case of the CPCA search 503 is that the destination (transmission destination address) is a broadcast address and the transmission destination port is 47545. In addition, the fact that the CPCA header is b9b9 is also a transfer condition. Thereby, transfer of an illegal CPCA packet can be suppressed. The transfer condition for the WSD search 504 is that the destination (transmission destination address) is a multicast address and the transmission destination port is 80.

上述した検索パケットを受信した場合に、別のネットワークI/Fから転送する検索パケットの種別が、デバイスが別I/Fから実施する検索507に定義されている。図示例では、それぞれの検索タイプを受信すると、すべての検索タイプで検索を行うように定義されている。   When the search packet described above is received, the type of search packet transferred from another network I / F is defined in the search 507 performed by the device from another I / F. In the illustrated example, when each search type is received, the search is defined to be performed for all search types.

図6は、デバイス100が転送した検索パケットを管理するための検索テーブル600の一例を示す図である。   FIG. 6 is a diagram illustrating an example of a search table 600 for managing search packets transferred by the device 100.

検索テーブル600では、受信したオリジナル(もともと)の検索プロトコルや検索元アドレスと転送した検索パケットとの対応が管理される。検索テーブル600は、転送先ネットワークから検索応答パケットを受信したときに、オリジナルの検索プロトコル、送信先アドレスを知るために使用される。   The search table 600 manages the correspondence between the received original search protocol and the search source address and the transferred search packet. The search table 600 is used to know the original search protocol and destination address when a search response packet is received from the transfer destination network.

オリジナル検索ID601は、転送した検索パケットのオリジナル検索パケットの検索IDを示す。オリジナル検索プロトコル602は、オリジナル検索パケットの検索プロトコルを示す。オリジナル検索送信元IPアドレス603は、オリジナル検索パケットの送信元アドレスを示す。   The original search ID 601 indicates the search ID of the original search packet of the transferred search packet. An original search protocol 602 indicates a search protocol for an original search packet. The original search transmission source IP address 603 indicates the transmission source address of the original search packet.

転送検索ID604は、転送した検索パケットの検索IDを示す。この検索IDは、検索テーブル600の中でIDが重複せず、一意の値になるように、デバイス100により生成される。転送検索プロトコル605は、転送した検索パケットのプロトコルを示す。   The transfer search ID 604 indicates the search ID of the transferred search packet. The search ID is generated by the device 100 so that the ID does not overlap in the search table 600 and has a unique value. The transfer search protocol 605 indicates the protocol of the transferred search packet.

デバイス100は、検索パケットを転送する度に検索テーブル600にエントリを追加する。一方、上述した図4bのステップS414にて、検索応答パケットの受信処理を行うために予め設定された所定時間が経過すると(ステップS414でYES)、タイムアウトしたオリジナル検索IDを持つエントリが削除される。   The device 100 adds an entry to the search table 600 each time a search packet is transferred. On the other hand, in step S414 of FIG. 4b described above, when a predetermined time set in advance for performing the search response packet reception process has elapsed (YES in step S414), the entry having the time-out original search ID is deleted. .

図7は、デバイス100が受信した検索応答パケットを管理するための検索応答テーブル700の一例を示す図である。   FIG. 7 is a diagram illustrating an example of a search response table 700 for managing search response packets received by the device 100.

検索応答テーブル700は、オリジナル検索ID毎に存在する。検索応答テーブル700は、検索応答パケットを転送する際に、重複して検索応答パケットを返さないために、検索応答パケットの転送状況を管理するためのテーブルである。ここにエントリがあるデバイスからの検索応答パケットは転送済みであることを示す。   The search response table 700 exists for each original search ID. The search response table 700 is a table for managing the transfer status of the search response packet so that the search response packet is not duplicated when the search response packet is transferred. This indicates that the search response packet from the device having the entry has been transferred.

検索応答デバイス702は、検索応答パケットを返信したデバイスのIPアドレスを示す。検索応答テーブル700のエントリは、検索応答パケットを受信する度に追加される。ただし、検索応答テーブル700に既に検索応答デバイスが登録されている場合、登録は行われない。一方、上述した図4bのステップS414にて、検索応答パケットの受信処理を行うために予め設定された所定時間が経過すると(ステップS414でYES)、一致するオリジナル検索ID701の検索応答テーブル700が削除される。   The search response device 702 indicates the IP address of the device that has returned the search response packet. An entry in the search response table 700 is added every time a search response packet is received. However, when a search response device is already registered in the search response table 700, registration is not performed. On the other hand, when a predetermined time set in advance for performing the search response packet reception process elapses in step S414 of FIG. 4b described above (YES in step S414), the search response table 700 of the matching original search ID 701 is deleted. Is done.

次に、デバイス100における検索パケットや検索応答パケットの転送条件の設定方法について説明する。   Next, a method for setting the transfer conditions of the search packet and search response packet in the device 100 will be described.

デバイス100では、図8及び図9に示すような設定画面をオペレーションパネル111に表示し、ユーザが検索パケットや検索応答パケットの転送条件を設定することができる。以下に説明する設定画面は、オペレーションパネル111に対する所定の操作指示に応じて、CPU101が所定の処理を実行することで表示される。   In the device 100, a setting screen as shown in FIGS. 8 and 9 is displayed on the operation panel 111, and the user can set transfer conditions for the search packet and the search response packet. A setting screen described below is displayed when the CPU 101 executes a predetermined process in response to a predetermined operation instruction to the operation panel 111.

図8は、デバイス100における検索パケットの転送条件を設定するための設定画面の一例を示す図である。   FIG. 8 is a diagram illustrating an example of a setting screen for setting search packet transfer conditions in the device 100.

検索パケット転送許可発信元アドレス表示欄801には、現在検索パケットの転送が許可されている発信元アドレス(IPアドレス)の一覧が表示される。ユーザは、アドレス追加欄802にIPアドレスを入力して追加ボタン804を押すと、転送許可発信元アドレスを追加することができる。追加されたアドレスは、検索パケット転送許可発信元アドレス表示欄801に表示される。   The search packet transfer permitted source address display field 801 displays a list of source addresses (IP addresses) that are currently permitted to transfer search packets. When the user inputs an IP address in the address addition field 802 and presses the add button 804, the transfer-permitted source address can be added. The added address is displayed in the search packet transfer permission source address display field 801.

一方、ユーザは、検索パケット転送許可発信元アドレス表示欄801のチェックボックス805にチェックした状態で削除ボタン803を押すと、チェックされたアドレスが検索パケット転送許可発信元アドレス表示欄801から削除される。この結果、削除された発信元アドレスから受信した検索パケットについては、検索パケットが転送されることはない。設定画面800は、第1の設定手段の一例である。   On the other hand, when the user presses the delete button 803 with the check box 805 in the search packet transfer permitted source address display field 801 checked, the checked address is deleted from the search packet transfer permitted source address display field 801. . As a result, the search packet is not transferred for the search packet received from the deleted source address. The setting screen 800 is an example of a first setting unit.

図9は、デバイス100における検索応答パケットの転送条件を設定するための設定画面の一例を示す図である。   FIG. 9 is a diagram illustrating an example of a setting screen for setting the search response packet transfer condition in the device 100.

検索応答パケット転送許可発信元アドレス表示欄901には、現在検索応答パケットの転送が許可されている発信元アドレス(IPアドレス)の一覧が表示される。ユーザは、アドレス追加欄902にIPアドレスを入力して追加ボタン904を押すと、転送許可発信元アドレスを追加することができる。追加されたアドレスは、検索応答パケット転送許可発信元アドレス表示欄901に表示される。   The search response packet transfer permitted source address display field 901 displays a list of source addresses (IP addresses) that are currently permitted to transfer search response packets. When the user inputs an IP address in the address addition field 902 and presses an add button 904, the transfer permitted source address can be added. The added address is displayed in the search response packet transfer permission source address display field 901.

一方、ユーザは、検索応答パケット転送許可発信元アドレス表示欄901のチェックボックス905にチェックした状態で削除ボタン903を押すと、チェックされたアドレスが検索応答パケット転送許可発信元アドレス表示欄901から削除される。この結果、削除された発信元アドレスから受信した検索応答パケットについては、検索応答パケットが転送されることはない。設定画面900は、第2の設定手段の一例である。   On the other hand, when the user presses the delete button 903 with the check box 905 in the search response packet transfer permitted source address display field 901 checked, the checked address is deleted from the search response packet transfer permitted source address display field 901. Is done. As a result, the search response packet is not transferred for the search response packet received from the deleted source address. The setting screen 900 is an example of a second setting unit.

図10は、デバイス100が受信する検索パケット(SLP)の一例を示す図である。   FIG. 10 is a diagram illustrating an example of a search packet (SLP) received by the device 100.

図10において、宛先Etherアドレス1001には、SLPマルチキャストアドレスがセットされている。発信元Etherアドレス1002には、本検索パケットの送信元であるPC201のアドレスがセットされている。発信元IPアドレス1003には、本検索パケットの送信元であるPC201のアドレスがセットされている。宛先IPアドレス1004には、SLPマルチキャストアドレスがセットされている。Xid1005には、検索IDがセットされている。図示のパケットは検索パケットなので、Xid1005にセットされた値が本実施形態におけるオリジナル検索IDとなる。   In FIG. 10, the destination Ether address 1001 is set with the SLP multicast address. In the transmission source Ether address 1002, the address of the PC 201 that is the transmission source of the search packet is set. In the transmission source IP address 1003, the address of the PC 201 that is the transmission source of the search packet is set. In the destination IP address 1004, an SLP multicast address is set. A search ID is set in Xid1005. Since the illustrated packet is a search packet, the value set in Xid 1005 is the original search ID in the present embodiment.

図11は、デバイス100が送信する検索パケット(SLP)の一例を示す図である。   FIG. 11 is a diagram illustrating an example of a search packet (SLP) transmitted by the device 100.

図示例は、図10に示す検索パケットをネットワーク113から第1のNIC108で受信して、第2のNIC109からネットワーク114へ転送される検索パケットである。   In the illustrated example, the search packet shown in FIG. 10 is received by the first NIC 108 from the network 113 and transferred from the second NIC 109 to the network 114.

図11において、宛先Etherアドレス1101には、SLPマルチキャストアドレスがセットされている。発信元Etherアドレス1102には、デバイス100のアドレスがセットされている。発信元IPアドレス1103には、デバイス100のアドレスがセットされている。宛先IPアドレス1104には、SLPマルチキャストアドレスがセットされている。Xid1105には、検索IDがセットされている。図示のパケットは転送された検索パケットなので、Xid1105にセットされた値が本実施形態における転送検索IDとなる。この値はデバイス100が一意な値として生成したものである。   In FIG. 11, an SLP multicast address is set in the destination Ether address 1101. The address of the device 100 is set in the transmission source Ether address 1102. In the source IP address 1103, the address of the device 100 is set. The destination IP address 1104 is set with an SLP multicast address. A search ID is set in Xid 1105. Since the illustrated packet is a forwarded search packet, the value set in Xid 1105 is the forward search ID in this embodiment. This value is generated by the device 100 as a unique value.

図12は、デバイス100が送信する検索応答パケット(SLP)の一例を示す図である。   FIG. 12 is a diagram illustrating an example of a search response packet (SLP) transmitted by the device 100.

図示例は、図11に示す検索パケットに対してデバイス207から返信され、第2のNIC109で受信した検索応答パケットであって、第1のNIC108からネットワーク113上の送信元のPC201に転送される検索応答パケットを示している。   The illustrated example is a search response packet that is returned from the device 207 in response to the search packet illustrated in FIG. 11 and received by the second NIC 109, and is transferred from the first NIC 108 to the transmission source PC 201 on the network 113. A search response packet is shown.

図12において、宛先Etherアドレス1201には、オリジナル検索パケットの送信元であるPC201のアドレスがセットされている。発信元Etherアドレス1202には、デバイス100のアドレスがセットされている。発信元IPアドレス1203には、デバイス207のアドレスがセットされている。宛先IPアドレス1204には、オリジナル検索パケットの送信元であるPC201のアドレスがセットされている。Xid1205には、オリジナル検索IDがセットされる。   In FIG. 12, the destination Ether address 1201 is set to the address of the PC 201 that is the source of the original search packet. The source Ether address 1202 is set with the address of the device 100. The source IP address 1203 is set with the address of the device 207. In the destination IP address 1204, the address of the PC 201 that is the transmission source of the original search packet is set. An original search ID is set in Xid 1205.

上記実施形態によれば、デバイス100では、検索パケットを一方のネットワークI/Fから受信した場合、所定の転送条件を満たす検索パケットのみを他方のネットワークI/Fから転送する。転送する際には、検索パケットをデバイス100がサポートするプロトコルに変換する。そして、転送した検索パケットに対する検索応答パケットを他方のネットワークI/Fで受信した場合、検索応答テーブル700に基づいて所定の検索応答パケットのみを一方のネットワークI/Fから検索パケットの送信元に転送する。転送する際には、検索応答パケットを検索パケットのプロトコルに合わせて変換する。このように転送するパケットを特定のパケットに限定することにより、情報漏洩のおそれがなくなり、さらに複数のデバイス検索方式で自動的にデバイス検索を実行することにより、確実にデバイスを検索することが可能となる。   According to the above embodiment, when the device 100 receives a search packet from one network I / F, the device 100 transfers only the search packet satisfying a predetermined transfer condition from the other network I / F. When transferring, the search packet is converted into a protocol supported by the device 100. When a search response packet for the transferred search packet is received by the other network I / F, only a predetermined search response packet is transferred from the one network I / F to the transmission source of the search packet based on the search response table 700. To do. When transferring, the search response packet is converted according to the protocol of the search packet. By limiting the packets to be transferred to specific packets in this way, there is no risk of information leakage, and device search can be performed reliably by automatically performing device search using multiple device search methods. It becomes.

上記実施形態では、本発明を画像形成装置に適用した形態について説明したが、これに限定されるものではなく、通信装置や通信機能を有する情報処理装置、端末等であってもよいことは云うまでもない。   In the above embodiment, the embodiment in which the present invention is applied to the image forming apparatus has been described. However, the present invention is not limited to this, and may be a communication apparatus, an information processing apparatus having a communication function, a terminal, or the like. Not too long.

また、デバイス100は、ネットワーク113,114の有線ネットワークに接続されていたが、無線通信機能を備え、異なる無線通信方式により複数のネットワークに接続可能な構成であっても、本発明を実現可能である。   Further, although the device 100 is connected to the wired networks of the networks 113 and 114, the present invention can be realized even if the device 100 has a wireless communication function and can be connected to a plurality of networks by different wireless communication methods. is there.

また、上記実施形態では、SLP検索を用いた場合について説明したが、これに限定されるものではなく、SNMP、CPCA、WSDであっても構わないし、他の検索方法であっても本発明の適用が可能であることは云うまでもない。   In the above embodiment, the case where the SLP search is used has been described. However, the present invention is not limited to this, and SNMP, CPCA, WSD may be used, and other search methods may be used. Needless to say, this is applicable.

本発明の実施の形態は、ネットワーク又は各種記憶媒体を介して取得したソフトウェア(プログラム)をパーソナルコンピュータ(CPU,プロセッサ)にて実行することでも実現できる。   The embodiment of the present invention can also be realized by executing software (program) acquired via a network or various storage media on a personal computer (CPU, processor).

1 画像形成装置(デバイス)
108 第1のネットワークI/F制御部(第1のNIC)
109 第2のネットワークI/F制御部(第2のNIC)
113,114 ネットワーク
301 パケット受信部
302 デバイス検索パケット判断部
303 デバイス検索応答パケット判断部
306 デバイス検索・応答パケット転送管理部
307 検索パケット管理部307
308 検索プロトコル変換部
1 Image forming device (device)
108 First network I / F control unit (first NIC)
109 Second network I / F control unit (second NIC)
113, 114 Network 301 Packet reception unit 302 Device search packet determination unit 303 Device search response packet determination unit 306 Device search / response packet transfer management unit 307 Search packet management unit 307
308 Search protocol converter

Claims (8)

互いに異なるネットワークに各々が接続される複数のネットワークインターフェースを備える通信装置において、
前記ネットワークに接続されたデバイスを検索するための検索パケットを前記複数のネットワークインターフェースの一方で受信した場合、前記受信した検索パケットのうち所定の転送条件を満たすものを前記複数のネットワークインターフェースの他方から転送する第1の転送手段と、
前記転送された検索パケットに対する応答パケットを前記複数のネットワークインターフェースの他方で受信した場合、前記受信した応答パケットを前記複数のネットワークインターフェースの一方から前記検索パケットの送信元に転送する第2の転送手段とを備えることを特徴とする通信装置。
In a communication device including a plurality of network interfaces each connected to different networks,
When a search packet for searching for a device connected to the network is received by one of the plurality of network interfaces, one of the received search packets that satisfies a predetermined transfer condition is received from the other of the plurality of network interfaces. A first transfer means for transferring;
A second transfer unit configured to transfer the received response packet from one of the plurality of network interfaces to a transmission source of the search packet when a response packet to the transferred search packet is received by the other of the plurality of network interfaces; A communication device comprising:
前記受信した検索パケットの検索プロトコルを他の検索プロトコルに変換する第1の変換手段をさらに備え、
前記第1の転送手段は、前記第1の変換手段により他の検索プロトコルに変換された複数の検索パケットを転送することを特徴とする請求項1記載の通信装置。
First conversion means for converting the search protocol of the received search packet into another search protocol;
2. The communication apparatus according to claim 1, wherein the first transfer unit transfers a plurality of search packets converted into another search protocol by the first conversion unit.
前記転送された複数の検索パケットに対して複数の応答パケットを受信したときに同一のデバイスから受信した応答パケットかを判定する判定手段をさらに備え、
前記第2の転送手段は、前記判定手段により同一のデバイスから受信した応答パケットであると判定された場合、受信した応答パケットを転送済みとして転送を行わないことを特徴とする請求項2記載の通信装置。
A determination means for determining whether a response packet is received from the same device when receiving a plurality of response packets with respect to the plurality of forwarded search packets;
3. The second transfer unit according to claim 2, wherein when the determination unit determines that the response packet is received from the same device, the second transfer unit sets the received response packet as transferred and does not transfer the response packet. Communication device.
前記受信した応答パケットのプロトコルが前記受信した検索パケットの検索プロトコルと異なるときは、前記応答パケットのプロトコルを前記検索プロトコルに変換する第2の変換手段をさらに備え、
前記第2の転送手段は、前記第2の変換手段により変換された応答パケットを転送することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。
When the protocol of the received response packet is different from the search protocol of the received search packet, it further comprises second conversion means for converting the protocol of the response packet into the search protocol,
4. The communication apparatus according to claim 1, wherein the second transfer unit transfers the response packet converted by the second conversion unit. 5.
前記受信した検索パケットの転送を許可する送信元アドレスを前記所定の転送条件として設定させる第1の設定手段をさらに備え、
前記第1の転送手段は、前記受信した検索パケットの送信元アドレスが前記第1の設定手段により設定された転送を許可する送信元アドレスでなかった場合は、前記検索パケットの転送を行わないことを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。
First setting means for setting a transmission source address permitting transfer of the received search packet as the predetermined transfer condition;
The first transfer means does not transfer the search packet when the transmission source address of the received search packet is not a transmission source address that permits transfer set by the first setting means. The communication device according to any one of claims 1 to 4, wherein
前記受信した応答パケットの転送を許可する送信元アドレスを前記所定の転送条件として設定させる第2の設定手段をさらに備え、
前記第2の転送手段は、前記受信した応答パケットの送信元アドレスが前記第2の設定手段により設定された転送を許可する送信元アドレスでなかった場合は、前記応答パケットの転送を行わないことを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。
A second setting means for setting a source address permitting transfer of the received response packet as the predetermined transfer condition;
The second transfer means does not transfer the response packet when the transmission source address of the received response packet is not the transmission source address that permits the transfer set by the second setting means. The communication device according to claim 1, wherein:
互いに異なるネットワークに各々が接続される複数のネットワークインターフェースを備える通信装置の通信方法において、
前記ネットワークに接続されたデバイスを検索するための検索パケットを前記複数のネットワークインターフェースの一方で受信した場合、前記受信した検索パケットのうち所定の転送条件を満たすものを前記複数のネットワークインターフェースの他方から転送する第1の転送工程と、
前記転送された検索パケットに対する応答パケットを前記複数のネットワークインターフェースの他方で受信した場合、前記受信した応答パケットを前記複数のネットワークインターフェースの一方から前記検索パケットの送信元に転送する第2の転送工程とを備えることを特徴とする通信方法。
In a communication method of a communication device including a plurality of network interfaces each connected to different networks,
When a search packet for searching for a device connected to the network is received by one of the plurality of network interfaces, one of the received search packets that satisfies a predetermined transfer condition is received from the other of the plurality of network interfaces. A first transfer step of transferring;
A second transfer step of transferring the received response packet from one of the plurality of network interfaces to a transmission source of the search packet when a response packet to the transferred search packet is received by the other of the plurality of network interfaces; A communication method comprising:
請求項7記載の通信方法をコンピュータに実行させるためのコンピュータに読み取り可能なプログラム。   A computer-readable program for causing a computer to execute the communication method according to claim 7.
JP2009271906A 2009-11-30 2009-11-30 Communication apparatus and method, and program Pending JP2011114805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009271906A JP2011114805A (en) 2009-11-30 2009-11-30 Communication apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009271906A JP2011114805A (en) 2009-11-30 2009-11-30 Communication apparatus and method, and program

Publications (1)

Publication Number Publication Date
JP2011114805A true JP2011114805A (en) 2011-06-09

Family

ID=44236780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009271906A Pending JP2011114805A (en) 2009-11-30 2009-11-30 Communication apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP2011114805A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125580A (en) * 2017-01-30 2018-08-09 コニカミノルタ株式会社 Communication relay device, server device, image processing unit, and program
JP2019033370A (en) * 2017-08-08 2019-02-28 コニカミノルタ株式会社 Communication control system, image processing unit, router, communication relay device, and program
JP2019186908A (en) * 2018-04-06 2019-10-24 キヤノン株式会社 Image forming system, communication apparatus, image forming apparatus, control method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125580A (en) * 2017-01-30 2018-08-09 コニカミノルタ株式会社 Communication relay device, server device, image processing unit, and program
JP2019033370A (en) * 2017-08-08 2019-02-28 コニカミノルタ株式会社 Communication control system, image processing unit, router, communication relay device, and program
JP2019186908A (en) * 2018-04-06 2019-10-24 キヤノン株式会社 Image forming system, communication apparatus, image forming apparatus, control method, and program
JP7210302B2 (en) 2018-04-06 2023-01-23 キヤノン株式会社 IMAGE FORMING SYSTEM, COMMUNICATION DEVICE, IMAGE FORMING APPARATUS, CONTROL METHOD AND PROGRAM

Similar Documents

Publication Publication Date Title
JP5388784B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2010282610A (en) Network system and management method thereof
US8489766B2 (en) Information processing apparatus, control method therefor, and computer-readable storage medium, for updating device information corresponding to a device among the device information stored in a storage unit, and for sending a notification for releasing an internet-protocol address assigned to the device to a dynamic-host-configuration-protocol server based on whether received information specifies a specific condition
US8572061B2 (en) Information processing apparatus, image forming apparatus, and control method therefor
JP2012146197A (en) Printing support device, printing system and printing support program
KR100611172B1 (en) Network printer control system and its data reception control method
US20200341704A1 (en) Communication Control System, Image Processing Unit, Router, Communication Relay Device and Non-Transitory Recording Medium
JP5508273B2 (en) Network location service
JP5464960B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, AND PROGRAM
US8718058B2 (en) Device search apparatus and method, and device search server, device search system, and storage medium
US20070076250A1 (en) System For Providing Device Information, and Device, Method and Computer Program For The System
JP5159071B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND ITS CONTROL METHOD
JP5473248B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP2011114805A (en) Communication apparatus and method, and program
JP2011035871A (en) Scanner device
CN109617935A (en) Information processing apparatus and non-transitory computer-readable recording medium
JP2013025647A (en) Information processor, information processing method and program
JP5383415B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, AND PROGRAM
CN101008888A (en) Printer
JP6295643B2 (en) Managing the scope of network services
JP2008148243A (en) Communication apparatus, communication system, communication method and communication program
US20190386870A1 (en) Information processing apparatus, information processing method, and computer-readable medium
JP2008072519A (en) Device search device, device search method and program
JP2021088153A (en) Printing device, control method and program
JP2008271041A (en) Communication apparatus performing network selection, connection and service execution by service identifier, method thereof and program thereof