JP3890243B2 - Control device, network communication method, and control program - Google Patents

Control device, network communication method, and control program Download PDF

Info

Publication number
JP3890243B2
JP3890243B2 JP2002091748A JP2002091748A JP3890243B2 JP 3890243 B2 JP3890243 B2 JP 3890243B2 JP 2002091748 A JP2002091748 A JP 2002091748A JP 2002091748 A JP2002091748 A JP 2002091748A JP 3890243 B2 JP3890243 B2 JP 3890243B2
Authority
JP
Japan
Prior art keywords
address
data
network
network interface
port number
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
JP2002091748A
Other languages
Japanese (ja)
Other versions
JP2003289319A (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 JP2002091748A priority Critical patent/JP3890243B2/en
Priority to US10/267,645 priority patent/US7408661B2/en
Publication of JP2003289319A publication Critical patent/JP2003289319A/en
Priority to US11/539,297 priority patent/US20070156920A1/en
Application granted granted Critical
Publication of JP3890243B2 publication Critical patent/JP3890243B2/en
Priority to US12/164,435 priority patent/US7738131B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Facsimiles In General (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワーク通信機能を備えた画像処理装置とネットワークを介して接続される装置に関するものであって、画像処理装置が備えるデータ送信機能を、別のネットワークへと転送する機能を備える装置及びその装置での処理方法に関するものである。
【0002】
【従来の技術】
近年、プリンタ、スキャナ、FAX、あるいはそれらの機能を複合的に備えた画像処理装置の多くは、ネットワーク通信機能を備えるようになっている。これらの通信機能を備えた画像処理装置の中には、ネットワークを介して接続されたPCやサーバなどへ画像データを送付するデータ転送機能を備えるものもある。
【0003】
このようなデータ転送機能では、電子メールを転送するためのSMTPプロトコル、i−Fax、ファイルアップロードが可能なHTTP(Hyper Text Transfer Protocol)プロトコル、ファイル送付を行うFTP(File Transfer Protocol)プロトコルなどの上位プロトコルが利用されている。
【0004】
一方、画像処理装置の機能を拡張する手段として外部コントローラ装置がある。外部コントローラ装置は、ユーザ環境で使用されているネットワーク(LAN)の通信方式のデータを、画像処理装置が持つI/F方式に適したデータに変換するネットワーク機能拡張や、通信データをスプールするストレージ拡張機能や、画像処理装置やあるいはクライアント装置で行う処理の一部を肩代わりするなどの負荷分散機能などを行う。
【0005】
このような外部コントローラ装置と画像処理装置との接続形態、画像処理装置が備えているネットワーク通信機能を介するものがある。この場合の接続形態では、画像処理装置とLANとの間に外部コントローラ装置が入り、外部コントローラ装置が両者の橋渡しを行う機能を持つデュアルネットワーク型と、画像処理装置と外部コントローラ装置がそれぞれLANに接続する単一ネットワーク型とがある。
【0006】
単一ネットワーク型と、デュアルネットワーク型とを比較した場合、デュアルネットワーク型は外部コントローラ装置と画像処理装置の間は独立したローカルネットワークを構成するため、LANの帯域を消費しないという利点がある。そして、外部コントローラ装置と画像処理装置との間では大量の画像データが交換されるが、デュアルネットワーク型の場合には、ローカルネットワークがLANよりも広帯域の伝送方式を利用することが容易である。
【0007】
さらにデュアルネットワーク型では、外部コントローラ装置と画像処理装置とが一つのネットワーク機器として振舞う。一方、単一ネットワーク型では、外部コントローラ装置と画像処理装置とのそれぞれが、ネットワークアドレスなどの論理資源やハブのポートなどの物理資源を消費する。従って、デュアルネットワーク型は単一ネットワーク型に比べてLANにおけるネットワーク資源の消費量が少ない、という利点がある。
【0008】
【発明が解決しようとする課題】
しかし、LANと画像処理装置との間に従来の外部コントローラ装置が入ると、画像処理装置自身がLANの上で通信を行うことができなくなり、上記で述べたような画像処理装置の備えるデータ転送機能がLAN上において使用できなくなってしまう、という問題がある。
【0009】
従って、本発明は、ネットワーク通信が可能な画像処理装置とLANとの間に、外部コントローラ装置を接続しても、画像処理装置が提供するデータ送信機能をクライアント装置に提供できるようにする。
【0010】
【課題を解決するための手段】
上記課題を解決するために、本発明に係る制御装置は、情報処理装置が接続されている第1のネットワークに接続するための第1のネットワークインターフェースと、画像処理装置が接続されている第2のネットワークに接続するための第2のネットワークインターフェースとを備える制御装置であって、前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークインターフェースのアドレスであるか否かを判定する第1の送信先アドレス判定手段と、前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークのブロードキャストアドレスであるか否かを判定する第2の送信先アドレス判定手段と、前記第2のネットワークインターフェースのアドレスでないと前記第1の送信先アドレス判定手段により判定され、かつ前記第2のネットワークのブロードキャストアドレスでないと前記第2の送信先アドレス判定手段により判定された場合に、前記データの送信先アドレスを変更することなく、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更し、前記第2のネットワークのブロードキャストアドレスであると前記第2の送信先アドレス判定手段により判定された場合に、前記データの送信先アドレスを前記第1のネットワークのブロードキャストアドレスに、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更する変更手段と、前記変更手段により送信元アドレスを変更された後のデータを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力するデータ出力手段と、前記第2のネットワークインターフェースのアドレスであると前記第1の送信先アドレス判定手段により判定された場合に、前記データを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力することなく、前記データを処理するデータ処理手段とを有することを特徴とする。
【0011】
また、前記制御装置は、前記情報処理装置から受信されるプリンタ記述言語形式の印刷データから画像データを生成し、前記画像データを前記画像処理装置に送信することを特徴とする。
【0012】
また、前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと、当該データの送信元論理ポート番号と、前記データ出力手段により出力されるデータに対して返信される第2のデータを前記第1のネットワークインターフェースを介して受信するときのポート番号を示す受信用論理ポート番号とを対応付けて登録する登録手段を有し、前記変更手段は、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに、前記データの送信元論理ポート番号を前記受信用論理ポート番号に変更することを特徴とする。
【0013】
また、前記登録手段は、前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと送信元論理ポート番号とが前記登録手段により登録されていない場合、新たな受信用論理ポート番号を登録することを特徴とする。
【0014】
また、前記第1のネットワークインターフェースに入力された前記第2のデータの送信先論理ポート番号と同じ受信用論理ポート番号が前記登録手段により登録されているか否かを判定する送信先論理ポート番号判定手段と、
登録されていると前記送信先論理ポート番号判定手段により判定された場合に、前記第2のデータの送信先アドレスを、前記登録手段により登録されている送信元アドレスと同じアドレスに変更する第2の変更手段とを有することを特徴とする。
【0015】
【発明の実施の形態】
図1は、本発明の一実施例であるプリントコントローラボックス(外部コントローラ装置)の概要を示す。
【0016】
このプリントコントローラボックス(コントローラボックス)300はクライアント装置110(PC, MacintoshあるいはUNIXワークステーションなど)から、プリンタ記述言語(PDL)形式の印刷データ(PDLデータ)を受け付け、PDLデータに対して、PDL解釈、画像展開、画像合成などの処理を施して画像データを生成し、生成した画像データを画像デバイス210(画像処理装置)へ送信して印刷を行うという基本機能を備えている。
【0017】
また、コントローラボックス300は二つのネットワーク通信インターフェース(ネットワークインターフェース1、ネットワークインタフェース2)を備えており、一方はユーザ環境のネットワーク100に接続され、もう一方はプリンタ機能を備えた画像デバイス210にローカルネットワーク200を介して接続される。
【0018】
ユーザ環境のネットワーク100には、クライアント装置110(クライアント装置1〜5)が接続されている。これらのクライアント装置では、プリンタドライバが、アプリケーションプログラムから出力されたデータを、プリンタ記述言語で記述された印刷データに変換し、コントローラボックスに転送する。
【0019】
ローカルネットワーク200には、画像デバイス210(画像デバイス1〜3)が接続されている。画像デバイスは、プリンタ、複写機、複合機、ファクシミリ装置などである。
【0020】
また、コントローラボックス300は、内部に演算処理ユニット、記録デバイス、メモリといったハードウェア構成を持つ。
【0021】
また、コントローラボックス300の機能構成は以下のとおりである。まず、ネットワークインタフェース301(NIC1)とネットワークインタフェース302(NIC2)は、それぞれユーザ環境のネットワーク100、ローカルネットワーク200へ接続するためのインタフェースである。
【0022】
また、通常パケット処理部303は、それぞれのネットワークインタフェース宛てのパケットの入力・出力処理を行う。送信パケット転送処理部304は、画像デバイス210からクライアント装置110へのパケットを転送を行う。
【0023】
受信パケット転送処理部305は、クライアント装置110から画像デバイス210へパケットの転送を行う。変換テーブル306は、パケットの転送をどのように行うのかを記録するテーブルである。
【0024】
また、送信パケット転送処理部304内には、転送受信用論理ポート取得手段311、転送受信用論理ポート生成手段312、送信パケット偽装処理部313、送信パケット送信手段314が存在し、ローカルネットワーク200からユーザ環境のネットワーク100へ転送するパケットの偽装処理を行っている。
【0025】
また、受信パケット転送処理部305内には、受信パケット偽装処理部321、受信パケット送信手段322が存在し、ネットワーク100からローカルネットワーク200へ転送するパケットの偽装処理を行っている。
【0026】
つぎに、ネットワークについて説明する。ユーザ環境のネットワーク100とローカルネットワーク200とは、それぞれネットワークとして独立しており、別々の論理ネットワークアドレスを備えている。
【0027】
ここでは、ネットワークはInternet Protocol(IP)を用いて通信が行われており、ユーザ環境のネットワークでは、ネットワークアドレスが192.168.1.0、同サブネットマスクが255.255.255.0になっている。また、ローカルネットワークでは、ネットワークアドレスが10.255.255.0、同サブネットマスクが255.255.255.0が設定されている。
【0028】
つぎに、画像デバイスについて説明する。画像デバイス210は、ネットワーク通信機能を備えており、コントローラボックスを接続せずに、直接ユーザ環境のネットワーク100に接続すると、ネットワーク100を経由した様々なサービスを利用し、または提供することができる。例えば、画像デバイス210は、ドキュメント(原稿)をスキャンして、読み込んだデータをその場からクライアント機器110へデータ転送する、いわゆるプッシュスキャン機能や、ネットワーク上のウェブサーバ(WWWサーバ)上に公開されている画像データをダウンロードしてそれを印刷する、いわするプルプリント機能などを提供することができる。
【0029】
画像デバイスはEthernetの物理ポートを一つだけ備えている。そのため、コントローラボックスとEthernetの物理ポートを介して接続しようとすると、従来ならば、コントローラボックス以外のネットワーク機器と通信する手段がなくなってしまう。
【0030】
そこで、コントローラボックスを接続した場合でも、コントローラボックスを経由してユーザ環境のネットワークへアクセスすることを可能にする方法を説明する。以下にコントローラボックス300内部で行われている、パケットの偽装処理と転送処理の詳細を説明する。
【0031】
まず、画像デバイス210が、WWWサーバ上のデータファイルをプルプリントする場合を説明する。各ネットワーク機器のアドレス設定値は以下の通りである。WWWサーバのアドレスは209.137.157.33である。ユーザ環境のルータのアドレスは192.168.1.10である。コントローラボックスのネットワークインターフェース1のアドレスは192.168.1.112である。コントローラボックスのネットワークインターフェース2のアドレスは10.255.255.1である。画像デバイスのアドレスは10.255.255.2である。
【0032】
ユーザが、画像デバイス210の操作パネルでダウンロードするファイルのURL(Uniform Resource Locator)を指定すると、画像デバイス210はURLに対応するネットワークアドレスに対してHTTPでファイルのダウンロードを指示する。HTTPは下位プロトコルとしてTCPを利用し、さらにTCPは下位プロトコルとしてIPを利用している。WWWサーバのネットワークアドレスは、画像デバイス210から直接到達できないアドレスであるため、画像デバイス210は、IPパケットをGatewayとして登録されているコントローラボックス300に送る。
【0033】
画像デバイス210がこのTCPのセッションのために開いた論理ポート番号が1234番だったとすると、コントローラボックス300のネットワークインタフェース2に届くパケットは、送信元アドレスが10.255.255.2、送信元論理ポート番号が1234、送信先アドレスが209.137.157.33、送信先論理ポート番号が80となる。
【0034】
コントローラボックス300はこのパケットを図2が示すフローチャートに従って処理する。図2は、ネットワークインタフェース2に入力されたパケットの処理を示すフローチャートである。
【0035】
まず、パケットの送信元アドレスがネットワークインターフェース2のアドレスであるかを判定する(ステップS201)。ネットワークインターフェース2宛てのパケットである場合には、パケットを通常どおりに処理するために、通常パケット処理部で処理を行う(ステップS202)。
【0036】
つぎに、送信先アドレスがブロードキャストアドレスであるかどうかを判定する(ステップS203)。ブロードキャストアドレスの場合には、パケットの送信先アドレスを、ネットワーク100におけるブロードキャストアドレスに変更する(ステップS204)。ここでは、192.168.1.255に変更する。
【0037】
つぎに、変換テーブルに送信元アドレスと送信元論理ポート番号との組が登録されているか否かを確認する(ステップS205)。
【0038】
図4は、変換テーブルの一例である。変換テーブルは送信元アドレスと送信元論理ポート番号とに対応して転送受信用論理ポート番号が登録されている。従って、パケットの送信元アドレスと送信元論理ポート番号の組を、テーブルの送信元アドレスと送信元論理ポート番号の組とを比較して検索し、転送受信用論理ポート番号を取得する。
【0039】
この組が変換テーブルに登録されているか否か、つまり転送受信用論理ポート番号を取得できたかどうかを判断する(ステップS206)。登録されていない場合には、あたらしく転送受信用論理ポートを開き(ステップS207)、その番号を変換テーブルに新たに登録する(ステップS208)。新しく開いたとしてもテーブルから検索したとしても、その後の動作は同じである。
【0040】
つぎに、パケットの送信元アドレスをNIC1のアドレスに書き換え、パケットの送信元論理ポート番号を転送受信用論理ポート番号に書き換える(ステップS209)。例えば転送受信用論理ポート番号が54321だったとすると、パケットのヘッダを以下のように書き換える。ヘッダ無いのアドレスやポート番号を変更する際にはチェックサムの値も変更するが、以後は特に記さない。ヘッダの送信元アドレスは192.168.1.112、送信元論理ポート番号は54321、送信先アドレスは209.137.157.33、送信先論理ポート番号は80になる。
【0041】
そして、その後は通常のNIC1からのパケット送信と同様に、ユーザ環境のネットワークあるいはルータへこのパケットを送出する(ステップS210)。この場合には、送信先がさらに先のネットワークにあるので、ユーザ環境のルータへとパケットが転送されていく。
【0042】
このようにパケットの偽装を行うことで、パケットの届いたWWWサーバでは、パケットの送り元が画像デバイス210ではなく、コントローラボックス300だと判断されるため、WWWサーバからの返信パケットは、正常に、コントロールボックス300へ送信される。返信パケットは以下のように、送信元アドレスは209.137.157.33、送信元論理ポート番号は80、送信先アドレスは192.168.1.112、送信先論理ポート番号は54321になる。
【0043】
コントローラボックス300のNIC1に上記のパケットが届くと、パケットは図3のフローチャートに従って処理される。図3は、ネットワークインタフェース1に入力されたパケットの処理を示すフローチャートである。
【0044】
まず、届いたパケットの送信先論理ポート番号が変換テーブルの転送受信用ポートとして登録されているか確認する(ステップS301)。ここでは、パケットの送信先論理ポート番号と、変換テーブルに記録されている転送受信用論理ポート番号とを比較し、登録されているかどうかを確認する。
【0045】
登録されていない場合には、送信先アドレスがブロードキャストアドレスであるかどうかを判定する(ステップS302)。ブロードキャストアドレスでなければ、コントローラボックス宛てのパケットであると判断して、通常のパケット処理を行う(ステップS303)。
【0046】
パケットの送信先アドレスがブロードキャストアドレスである場合には、パケットを複製して、複製で生成されたパケットの送信先アドレスを、ネットワーク200でのブロードキャストアドレスに変更し(ステップS304)、複製で生成されたパケットがネットワーク200上へブロードキャストされるようにする(ステップS305)。また、元のパケットは通常のパケット処理を行う(ステップS304)。
【0047】
パケットの送信先論理ポート番号が変換テーブルの転送受信用ポートとして登録されている場合には、対応する送信元アドレスと送信元ポート番号を取得する(ステップS306)。
【0048】
そして、パケットの送信先アドレスがブロードキャストアドレスであるか判定する(ステップS307)。ブロードキャストアドレスである場合には、パケットをネットワーク上でブロードキャストするために、パケットの送信先アドレスをネットワーク200におけるブロードキャストアドレスに変更し、パケットの送信先論理ポート番号をステップS306で取得した送信元論理ポート番号に変更する(ステップS308)。
【0049】
また、パケットの送信先アドレスがブロードキャストアドレスでない場合には、所定の画像デバイスにパケットを送信するために、パケットの送信先アドレスをステップS306で取得した送信元アドレスに変更し、パケットの送信先論理ポート番号をステップS306で取得した送信元論理ポート番号に変更する(ステップS309)。
【0050】
図4の場合には、登録がされているため、取得したアドレスとポート番号によって、パケットのヘッダは以下のように書き換えられる。すなわち、パケットの送信元アドレスは209.137.157.33、送信元論理ポート番号は80、送信先アドレスは10.255.255.2、送信先論理ポート番号は1234になる。
【0051】
なお、パケットは、NIC2から通常のパケットと同様にネットワーク200へ創出される。画像デバイス210は届いたパケットがWWWサーバから届けられたものだと判断し、続きの処理を行うことができる。
【0052】
上記では、画像デバイス210が、WWWサーバ上のデータファイルをプルプリントするために、ファイルのダウンロードを指示するパケットをコントロールボックスに送信した。画像デバイス210がプッシュスキャン機能を提供するときには、読み込んだデータを含むパケットをコントロールボックスに送信するだけで、コントロールボックスが行う処理を同様である。この場合、パケットの送信先アドレスには、送信先のクライアント機器のアドレスが設定される。
【0053】
この一連の処理で重要なのは、ローカルネットワーク200のアドレスがユーザ環境のネットワーク100のパケットには一切含まれていないということである。このため、ユーザ環境のネットワーク100にコントローラボックスが複数台接続されており、それぞれが別々のローカルネットワークに接続されていたとしても、複数のローカルネットワークは同じローカルネットワークアドレスを利用することができる。
【0054】
また、画像デバイスにとっては、ユーザ環境のネットワーク100に直接接続している場合と全く同じ送信処理をするだけでよい。またこの一連の処理は、パケットヘッダ内に記された論理アドレスと論理ポート番号によって経路と通信相手の特定を行うプロトコルであれば、TCP/IP以外にも応用可能で、例えばUDP/IPやIPXに対しても同様の効果を得ることができる。
【0055】
さらに、ある特定の画像デバイスが送信したパケットに対する返信パケットが、複数の画像デバイスのうちの特定の画像デバイスに必ず送信されるため、通信が適切に行われる。
【0056】
ただしいくつかのプロトコルでは、ユーザ環境のネットワーク100に直接つながっているときとは異なった動作をして、正常に通信ができない場合がある。この一つの原因に、画像デバイスとネットワーク100上のクライアント装置とで別のサブネットワークになってしまうため、ブロードキャストパケットが届かなくなるというものがあった。ブロードキャストパケットは、ネットワーク上から該当する機器を探索するためなどに利用される。例えばICMPのECHOコマンドによるICMPサポート機器の検索や、SMBの名前解決サービス、RPCのサービス検索などがよく知られている。
【0057】
本発明ではこのブロードキャストパケットの問題も解決しており、具体例として、画像デバイスがリモート重連コピーを行うために、リモート重連コピーをサポートする他の画像デバイスをブロードキャストパケットによって検索する場合を挙げて説明する。各ネットワーク機器のアドレス設定値と、ポート番号は以下の通りである。リモート中連コピーとは、検索によって検出された少なくとも1台の画像デバイスに対して印刷データを送信して、画像デバイスによって印刷を並行に行うことである。
【0058】
ユーザ環境のネットワーク100に直接接続された画像デバイス(外部画像デバイス)の論理アドレスは192.168.1.111、コントローラボックスのNIC1のアドレスは192.168.1.112、コントローラボックスのNIC2のアドレスは10.255.255.1、ローカルネットワーク200に接続されたの画像デバイス(内部画像デバイス)の論理アドレスは10.255.255.2である。また、リモート重連コピーサービスポート番号は47545である。
【0059】
内部画像デバイスはリモート重連コピーサービスをサポートする機器が、同じサブネット内にないかを調べるために、まず次のようなUDPパケットをブロードキャスト送信する。ここで、送信に使用された論理ポート番号が2234だとすると、パケットのヘッダでは、送信元アドレスが10.255.255.2、送信元論理ポート番号が2234、送信先アドレスが10.255.255.255、送信先論理ポート番号が47545になる。
【0060】
コントローラボックス300はNIC2に届いたブロードキャストパケットを図2のフローチャートに従って処理する。まず送信先アドレスがNIC2のアドレスではないことを確認する(ステップS201で「いいえ」)。次に送信先アドレスがブロードキャストアドレスかの確認し(ステップS203)、ここでアドレスがブロードキャストアドレスだった場合には、送信先アドレスをネットワーク100でのブロードキャストアドレスに変更する(ステップS204)。
【0061】
その後は、パケットの送信元アドレスをNIC1のアドレスに変更して、パケットの論理ポート番号を受信転送用ポート番号(ここでは5532の場合の例を示す)に変更し、パケットの偽装を行う。ここで、ネットワーク100に創出されるパケットでは、送信元アドレスが192.168.1.112、送信元論理ポート番号が55321、送信先アドレスが192.168.1.255、送信先論理ポート番号が47545になっている。
【0062】
つぎに、外部画像デバイスからの返事のパケットが、以下のように、送信元アドレスが209.137.157.33、送信元論理ポート番号が47545、送信元アドレスが192.168.1.111、送信元論理ポート番号が55321になっている場合には、パケット変換がおこなわれて、以下のようなパケットが内部画像デバイスへと送られる。このパケットでは、送信元アドレスが209.137.157.33、送信元論理ポート番号が47545、送信元アドレスが10.255.255.2、送信元論理ポート番号が2234になっている。
【0063】
そして、内部画像デバイスは自分が送出したブロードキャストパケットの返事としてこのパケットを受け取ることで、送信元アドレスが209.137.157.33である、リモート重連コピーサービスを備えた外部画像デバイスが存在することを認識することができる。
【0064】
また、本発明を実現するためのプログラム及び関連データは、フロッピーディスク(FD)やCD−ROM中に記憶され、そこからコンピュータに供給される。
【0065】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウエア(制御プログラム)のプログラムコードを記録した記憶媒体を、コンピュータに供給し、そのコンピュータのCPUが記憶媒体に格納されたプログラムコードを読出し実行することによって達成される。プログラムやデータをコンピュータに供給する方法として記憶媒体に記憶させてコンピュータ本に供給する方法が一般的である。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体及びそのプログラムコードは本発明を構成することになる。
【0066】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスクやハードディスク以外にも,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0067】
【発明の効果】
以上説明したように、本発明によれば、ネットワーク通信が可能な画像処理装置と制御装置とを第2のネットワークを介して接続して、画像処理装置と第1のネットワークとの間に制御装置を接続しても、画像処理装置が提供するデータ送信機能をクライアント装置に提供可能である。
【0068】
また、第1のネットワークで制御装置および画像処理装置のために消費されるアドレスは一つですむため、ネットワーク内の資源を節約することができる。
【0069】
また、画像処理装置からブロードキャストされたデータも、制御装置を経由して画像処理装置から第1のネットワークへ送信が可能になる。
【0070】
また、制御装置を接続する場合としない場合とで、画像処理装置はネットワーク通信の処理方法を変更する必要はない。このため、画像処理装置におけるデータ転送などの通信機能は、制御装置に依存して開発される必要がなく、画像処理装置の開発コストを削減し開発期間を短縮することができる。
【図面の簡単な説明】
【図1】プリントコントローラボックス(外部コントローラ装置)の概要を示す図である。
【図2】ネットワークインタフェース2に入力されたパケットの処理を示すフローチャートである。
【図3】ネットワークインタフェース1に入力されたパケットの処理を示すフローチャートである。
【図4】変換テーブルの一例を示す図である。
【符号の説明】
100 ユーザ環境のネットワーク
110 クライアント機器
200 ローカルネットワーク
210 画像デバイス
300 コントローラボックス
301 ネットワークインターフェース1
302 ネットワークインターフェース2
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus connected to an image processing apparatus having a network communication function via a network, and an apparatus having a function of transferring a data transmission function included in an image processing apparatus to another network, and The present invention relates to a processing method in the apparatus.
[0002]
[Prior art]
In recent years, many printers, scanners, fax machines, or image processing apparatuses having a combination of these functions have a network communication function. Some image processing apparatuses having these communication functions include a data transfer function for sending image data to a PC or server connected via a network.
[0003]
In such a data transfer function, an SMTP protocol for transferring an e-mail, i-Fax, an HTTP (Hyper Text Transfer Protocol) protocol capable of uploading a file, an FTP (File Transfer Protocol) protocol for sending a file, etc. Protocol is being used.
[0004]
On the other hand, there is an external controller device as means for extending the functions of the image processing apparatus. The external controller device is a network function expansion that converts data in a network (LAN) communication method used in the user environment into data suitable for the I / F method of the image processing device, and storage that spools communication data. An extended function, a load distribution function such as taking over a part of processing performed by the image processing apparatus or the client apparatus, and the like are performed.
[0005]
There is a connection form between such an external controller device and an image processing device, and a network communication function provided in the image processing device. In the connection form in this case, an external controller device is inserted between the image processing device and the LAN, and the external controller device functions as a bridge between them, and the image processing device and the external controller device are respectively connected to the LAN. There is a single network type to connect.
[0006]
When the single network type and the dual network type are compared, the dual network type has an advantage of not consuming LAN bandwidth because an independent local network is formed between the external controller device and the image processing device. A large amount of image data is exchanged between the external controller device and the image processing device. However, in the case of the dual network type, it is easy for the local network to use a transmission system having a wider bandwidth than the LAN.
[0007]
Further, in the dual network type, the external controller device and the image processing device behave as one network device. On the other hand, in the single network type, each of the external controller device and the image processing device consumes logical resources such as a network address and physical resources such as a hub port. Therefore, the dual network type has an advantage that the consumption of network resources in the LAN is smaller than that of the single network type.
[0008]
[Problems to be solved by the invention]
However, if a conventional external controller device is inserted between the LAN and the image processing device, the image processing device itself cannot communicate over the LAN, and data transfer provided in the image processing device as described above There is a problem that the function cannot be used on the LAN.
[0009]
Therefore, the present invention makes it possible to provide the client apparatus with the data transmission function provided by the image processing apparatus even when an external controller apparatus is connected between the LAN and the image processing apparatus capable of network communication.
[0010]
[Means for Solving the Problems]
In order to solve the above problems, a control device according to the present invention includes a first network interface for connecting to a first network to which an information processing device is connected, and a second network to which an image processing device is connected. A second network interface for connecting to the second network interface, wherein a destination address of data from the image processing apparatus input to the second network interface is the second network interface First destination address determination means for determining whether or not the address is the address of the data, and the destination address of the data from the image processing apparatus input to the second network interface is broadcast on the second network. Second destination address determination for determining whether the address is an address If the address is not the address of the second network interface, it is determined by the first destination address determining means, and if it is not the broadcast address of the second network, it is determined by the second destination address determining means. In this case, the source address of the data is changed to the address of the first network interface without changing the destination address of the data, and the second transmission is the broadcast address of the second network. Changing means for changing the transmission destination address of the data to a broadcast address of the first network and changing the transmission source address of the data to an address of the first network interface when determined by the destination address determination means; By the changing means Data output means for outputting data after changing the transmission source address to the first network via the first network interface; and the first transmission destination if the address is the address of the second network interface And data processing means for processing the data without outputting the data to the first network via the first network interface when the address determination means determines.
[0011]
Further, the control device generates image data from print data in a printer description language format received from the information processing device, and transmits the image data to the image processing device.
[0012]
The transmission source address of the data input to the second network interface, the transmission source logical port number of the data, and the second data returned to the data output by the data output means are Registration means for registering in association with a reception logical port number indicating a port number when receiving via the first network interface, wherein the changing means sets the source address of the data to the first In the network interface address, the transmission source logical port number of the data is changed to the reception logical port number.
[0013]
The registration unit registers a new reception logical port number when the transmission source address and the transmission source logical port number of the data input to the second network interface are not registered by the registration unit. It is characterized by that.
[0014]
Further, a transmission destination logical port number determination for determining whether or not the reception logical port number that is the same as the transmission destination logical port number of the second data input to the first network interface is registered by the registration unit. Means,
A second address for changing the transmission destination address of the second data to the same address as the transmission source address registered by the registration means when it is determined by the transmission destination logical port number determination means that it is registered; And changing means.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows an outline of a print controller box (external controller device) according to an embodiment of the present invention.
[0016]
The print controller box (controller box) 300 receives print data (PDL data) in the printer description language (PDL) format from the client apparatus 110 (PC, Macintosh, UNIX workstation, etc.), and interprets the PDL data with PDL. The basic function of generating image data by performing processing such as image expansion and image synthesis, and transmitting the generated image data to the image device 210 (image processing apparatus) for printing.
[0017]
The controller box 300 includes two network communication interfaces (network interface 1 and network interface 2). One is connected to the network 100 in the user environment, and the other is connected to the image device 210 having a printer function in the local network. 200 is connected.
[0018]
A client device 110 (client devices 1 to 5) is connected to the network 100 of the user environment. In these client apparatuses, the printer driver converts the data output from the application program into print data described in the printer description language and transfers it to the controller box.
[0019]
An image device 210 (image devices 1 to 3) is connected to the local network 200. The image device is a printer, a copier, a multifunction machine, a facsimile machine, or the like.
[0020]
The controller box 300 has a hardware configuration such as an arithmetic processing unit, a recording device, and a memory.
[0021]
The functional configuration of the controller box 300 is as follows. First, the network interface 301 (NIC1) and the network interface 302 (NIC2) are interfaces for connecting to the network 100 and the local network 200 in the user environment, respectively.
[0022]
The normal packet processing unit 303 performs input / output processing of packets addressed to the respective network interfaces. A transmission packet transfer processing unit 304 transfers a packet from the image device 210 to the client device 110.
[0023]
The received packet transfer processing unit 305 transfers packets from the client device 110 to the image device 210. The conversion table 306 is a table that records how to transfer a packet.
[0024]
The transmission packet transfer processing unit 304 includes a transfer reception logical port acquisition unit 311, a transfer reception logical port generation unit 312, a transmission packet spoofing processing unit 313, and a transmission packet transmission unit 314. Forged processing of packets transferred to the network 100 in the user environment.
[0025]
The received packet transfer processing unit 305 includes a received packet forgery processing unit 321 and a received packet transmission unit 322 for performing a camouflaging process for a packet transferred from the network 100 to the local network 200.
[0026]
Next, the network will be described. The network 100 and the local network 200 in the user environment are independent as networks, and have different logical network addresses.
[0027]
Here, the network communicates using the Internet Protocol (IP), and in the network of the user environment, the network address is 192.168.1.0 and the subnet mask is 255.255.255.0. ing. In the local network, a network address of 10.255.255.0 and a subnet mask of 255.255.255.0 are set.
[0028]
Next, the image device will be described. The image device 210 has a network communication function. When the image device 210 is directly connected to the network 100 of the user environment without connecting a controller box, various services via the network 100 can be used or provided. For example, the image device 210 scans a document (original) and transfers the read data to the client device 110 from the spot, and is disclosed on a web server (WWW server) on the network. It is possible to provide a so-called pull print function that downloads and prints image data.
[0029]
The image device has only one physical port of Ethernet. For this reason, when trying to connect to the controller box via the Ethernet physical port, conventionally, there is no means for communicating with network devices other than the controller box.
[0030]
Therefore, a method for enabling access to the network of the user environment via the controller box even when the controller box is connected will be described. Details of the packet disguise process and transfer process performed inside the controller box 300 will be described below.
[0031]
First, a case where the image device 210 pull-prints a data file on the WWW server will be described. The address setting values of each network device are as follows. The address of the WWW server is 209.137.157.33. The address of the router in the user environment is 192.168.1.10. The address of the network interface 1 of the controller box is 192.168.1.112. The address of the network interface 2 of the controller box is 10.255.255.1. The address of the image device is 10.255.255.2.
[0032]
When the user designates a URL (Uniform Resource Locator) of a file to be downloaded on the operation panel of the image device 210, the image device 210 instructs the network address corresponding to the URL to download the file using HTTP. HTTP uses TCP as a lower protocol, and TCP uses IP as a lower protocol. Since the network address of the WWW server is an address that cannot be directly reached from the image device 210, the image device 210 sends an IP packet to the controller box 300 registered as Gateway.
[0033]
Assuming that the logical port number opened for the TCP session by the image device 210 is 1234, the packet that reaches the network interface 2 of the controller box 300 has a source address of 10.255.255.2, a source logic of The port number is 1234, the transmission destination address is 209.137.157.33, and the transmission destination logical port number is 80.
[0034]
The controller box 300 processes this packet according to the flowchart shown in FIG. FIG. 2 is a flowchart showing processing of a packet input to the network interface 2.
[0035]
First, it is determined whether the source address of the packet is the address of the network interface 2 (step S201). If the packet is addressed to the network interface 2, the normal packet processing unit performs processing in order to process the packet as usual (step S202).
[0036]
Next, it is determined whether or not the transmission destination address is a broadcast address (step S203). In the case of the broadcast address, the packet transmission destination address is changed to the broadcast address in the network 100 (step S204). Here, it is changed to 192.168.1.255.
[0037]
Next, it is confirmed whether or not a pair of a transmission source address and a transmission source logical port number is registered in the conversion table (step S205).
[0038]
FIG. 4 is an example of a conversion table. In the conversion table, transfer reception logical port numbers are registered in correspondence with the transmission source addresses and the transmission source logical port numbers. Therefore, a pair of a packet transmission source address and a transmission source logical port number is searched by comparing the combination of the transmission source address and the transmission source logical port number in the table, and a transfer reception logical port number is obtained.
[0039]
It is determined whether or not this set is registered in the conversion table, that is, whether or not the transfer reception logical port number has been acquired (step S206). If not registered, the transfer reception logical port is newly opened (step S207), and the number is newly registered in the conversion table (step S208). Whether it is newly opened or searched from the table, the subsequent operation is the same.
[0040]
Next, the transmission source address of the packet is rewritten to the address of NIC1, and the transmission source logical port number of the packet is rewritten to the transfer reception logical port number (step S209). For example, if the logical port number for transfer reception is 54321, the packet header is rewritten as follows. When changing an address or port number without a header, the checksum value is also changed, but this is not particularly described below. The header transmission source address is 192.168.1.112, the transmission source logical port number is 54321, the transmission destination address is 209.137.157.33, and the transmission destination logical port number is 80.
[0041]
Thereafter, this packet is sent to the network or router in the user environment in the same manner as packet transmission from the normal NIC 1 (step S210). In this case, since the transmission destination is in the further network, the packet is transferred to the router in the user environment.
[0042]
By performing packet disguise in this way, it is determined that the source of the packet is not the image device 210 but the controller box 300 in the WWW server to which the packet has arrived. Therefore, the reply packet from the WWW server is normally To the control box 300. The reply packet has a source address of 209.137.157.33, a source logical port number of 80, a destination address of 192.168.1.112, and a destination logical port number of 54321 as follows.
[0043]
When the packet reaches the NIC 1 of the controller box 300, the packet is processed according to the flowchart of FIG. FIG. 3 is a flowchart showing processing of a packet input to the network interface 1.
[0044]
First, it is confirmed whether the destination logical port number of the received packet is registered as a transfer reception port in the conversion table (step S301). Here, the transmission destination logical port number of the packet is compared with the transfer reception logical port number recorded in the conversion table to confirm whether or not the packet is registered.
[0045]
If it is not registered, it is determined whether or not the transmission destination address is a broadcast address (step S302). If it is not a broadcast address, it is determined that the packet is addressed to the controller box, and normal packet processing is performed (step S303).
[0046]
If the destination address of the packet is a broadcast address, the packet is duplicated, and the destination address of the packet generated by duplication is changed to the broadcast address in the network 200 (step S304), and is generated by duplication. The packet is broadcast on the network 200 (step S305). The original packet is subjected to normal packet processing (step S304).
[0047]
If the packet transmission destination logical port number is registered as a transfer reception port in the conversion table, the corresponding transmission source address and transmission source port number are acquired (step S306).
[0048]
Then, it is determined whether the transmission destination address of the packet is a broadcast address (step S307). If it is a broadcast address, in order to broadcast the packet on the network, the transmission destination address of the packet is changed to the broadcast address in the network 200, and the transmission destination logical port number obtained in step S306 is the packet transmission destination logical port number. The number is changed (step S308).
[0049]
If the transmission destination address of the packet is not a broadcast address, the transmission destination address of the packet is changed to the transmission source address acquired in step S306 in order to transmit the packet to a predetermined image device. The port number is changed to the transmission source logical port number acquired in step S306 (step S309).
[0050]
In the case of FIG. 4, since registration has been performed, the header of the packet is rewritten as follows according to the acquired address and port number. That is, the source address of the packet is 209.137.157.33, the source logical port number is 80, the destination address is 10.255.255.2, and the destination logical port number is 1234.
[0051]
The packet is created from the NIC 2 to the network 200 in the same manner as a normal packet. The image device 210 determines that the received packet has been delivered from the WWW server, and can perform subsequent processing.
[0052]
In the above, the image device 210 transmits a packet instructing file download to the control box in order to pull-print the data file on the WWW server. When the image device 210 provides the push scan function, the process performed by the control box is the same by simply transmitting a packet including the read data to the control box. In this case, the address of the destination client device is set as the destination address of the packet.
[0053]
What is important in this series of processing is that the address of the local network 200 is not included in any packet of the network 100 in the user environment. For this reason, even if a plurality of controller boxes are connected to the network 100 of the user environment and each is connected to a separate local network, the plurality of local networks can use the same local network address.
[0054]
For the image device, it is only necessary to perform exactly the same transmission processing as when directly connected to the network 100 of the user environment. This series of processes can be applied to a protocol other than TCP / IP as long as it is a protocol for specifying a route and a communication partner by a logical address and a logical port number written in a packet header. For example, UDP / IP or IPX The same effect can be obtained for.
[0055]
Furthermore, since a reply packet to a packet transmitted by a specific image device is always transmitted to the specific image device among the plurality of image devices, communication is appropriately performed.
[0056]
However, some protocols may operate differently than when directly connected to the network 100 of the user environment, and may not be able to communicate normally. One of the causes is that the broadcast packet cannot be received because the image device and the client apparatus on the network 100 become different sub-networks. The broadcast packet is used for searching for a corresponding device on the network. For example, an ICMP support device search using an ICMP ECHO command, an SMB name resolution service, an RPC service search, and the like are well known.
[0057]
The present invention also solves the problem of the broadcast packet. As a specific example, in order to perform remote multiple copy, the image device searches for another image device that supports remote multiple copy using the broadcast packet. I will explain. The address setting values and port numbers of each network device are as follows. Remote continuous copying refers to sending print data to at least one image device detected by the search and performing printing in parallel by the image device.
[0058]
The logical address of the image device (external image device) directly connected to the network 100 in the user environment is 192.168.1.111, the address of NIC1 of the controller box is 192.168.1.112, and the address of NIC2 of the controller box Is 10.255.255.1, and the logical address of the image device (internal image device) connected to the local network 200 is 10.255.255.2. The remote duplicate copy service port number is 47545.
[0059]
The internal image device first broadcasts the following UDP packet in order to check whether a device that supports the remote multiple copy service is in the same subnet. Here, if the logical port number used for transmission is 2234, in the packet header, the transmission source address is 10.255.255.2, the transmission source logical port number is 2234, and the transmission destination address is 10.255.255. 255 and the destination logical port number is 47545.
[0060]
The controller box 300 processes the broadcast packet that reaches the NIC 2 according to the flowchart of FIG. First, it is confirmed that the transmission destination address is not the address of NIC2 ("No" in step S201). Next, it is confirmed whether the transmission destination address is a broadcast address (step S203). If the address is a broadcast address, the transmission destination address is changed to a broadcast address in the network 100 (step S204).
[0061]
Thereafter, the source address of the packet is changed to the address of NIC1, the logical port number of the packet is changed to a port number for reception transfer (here, an example of 5532 is shown), and the packet is camouflaged. Here, in the packet created in the network 100, the source address is 192.168.1.112, the source logical port number is 55321, the destination address is 192.168.1.255, and the destination logical port number is 47545.
[0062]
Next, the reply packet from the external image device has a source address of 209.137.157.33, a source logical port number of 47545, a source address of 192.168.1.111, When the transmission source logical port number is 55321, packet conversion is performed and the following packet is sent to the internal image device. In this packet, the source address is 209.137.157.33, the source logical port number is 47545, the source address is 10.255.255.2, and the source logical port number is 2234.
[0063]
Then, the internal image device receives this packet as a reply to the broadcast packet sent by itself, so that there is an external image device having a remote duplication copy service whose source address is 209.137.157.33. I can recognize that.
[0064]
A program and related data for realizing the present invention are stored in a floppy disk (FD) or a CD-ROM, and are supplied to the computer therefrom.
[0065]
Also, an object of the present invention is to supply a computer with a storage medium that records a program code of software (control program) that realizes the functions of the above-described embodiments, and a program in which the CPU of the computer is stored in the storage medium. This is accomplished by reading and executing the code. As a method of supplying a program and data to a computer, a method of storing the program and data in a storage medium and supplying the computer book is common. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code and the program code constitute the present invention.
[0066]
As a storage medium for supplying the program code, for example, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, etc. are used in addition to a floppy disk and a hard disk. Can do. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included. Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or 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.
[0067]
【The invention's effect】
As described above, according to the present invention, an image processing device capable of network communication and a control device are connected via a second network, and the control device is provided between the image processing device and the first network. Even if connected, the data transmission function provided by the image processing apparatus can be provided to the client apparatus.
[0068]
Further, since only one address is consumed for the control device and the image processing device in the first network, resources in the network can be saved.
[0069]
Also, data broadcast from the image processing device can be transmitted from the image processing device to the first network via the control device.
[0070]
In addition, the image processing apparatus does not need to change the network communication processing method depending on whether the control apparatus is connected or not. For this reason, communication functions such as data transfer in the image processing apparatus do not need to be developed depending on the control apparatus, and the development cost of the image processing apparatus can be reduced and the development period can be shortened.
[Brief description of the drawings]
FIG. 1 is a diagram showing an outline of a print controller box (external controller device).
FIG. 2 is a flowchart showing processing of a packet input to the network interface 2;
FIG. 3 is a flowchart showing processing of a packet input to the network interface 1;
FIG. 4 is a diagram illustrating an example of a conversion table.
[Explanation of symbols]
100 User environment network
110 Client device
200 Local network
210 Image device
300 Controller box
301 Network interface 1
302 Network interface 2

Claims (11)

情報処理装置が接続されている第1のネットワークに接続するための第1のネットワークインターフェースと、画像処理装置が接続されている第2のネットワークに接続するための第2のネットワークインターフェースとを備える制御装置であって、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークインターフェースのアドレスであるか否かを判定する第1の送信先アドレス判定手段と、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークのブロードキャストアドレスであるか否かを判定する第2の送信先アドレス判定手段と、
前記第2のネットワークインターフェースのアドレスでないと前記第1の送信先アドレス判定手段により判定され、かつ前記第2のネットワークのブロードキャストアドレスでないと前記第2の送信先アドレス判定手段により判定された場合に、前記データの送信先アドレスを変更することなく、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更し、前記第2のネットワークのブロードキャストアドレスであると前記第2の送信先アドレス判定手段により判定された場合に、前記データの送信先アドレスを前記第1のネットワークのブロードキャストアドレスに、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更する変更手段と、
前記変更手段により送信元アドレスを変更された後のデータを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力するデータ出力手段と、
前記第2のネットワークインターフェースのアドレスであると前記第1の送信先アドレス判定手段により判定された場合に、前記データを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力することなく、前記データを処理するデータ処理手段とを有することを特徴とする制御装置。
A control comprising: a first network interface for connecting to a first network to which an information processing apparatus is connected; and a second network interface for connecting to a second network to which an image processing apparatus is connected. A device,
First transmission destination address determination means for determining whether a transmission destination address of data from the image processing apparatus input to the second network interface is an address of the second network interface;
Second transmission destination address determination means for determining whether a transmission destination address of data from the image processing apparatus input to the second network interface is a broadcast address of the second network;
When it is determined by the first destination address determining means that it is not the address of the second network interface, and when it is determined by the second destination address determining means that it is not the broadcast address of the second network, Without changing the destination address of the data, the source address of the data is changed to the address of the first network interface, and the second destination address determination is made as the broadcast address of the second network Changing means for changing the transmission destination address of the data to a broadcast address of the first network and changing the transmission source address of the data to an address of the first network interface, if determined by the means;
Data output means for outputting data after the source address has been changed by the changing means to the first network via the first network interface;
Without being output to the first network via the first network interface when the first destination address determination means determines that the address is the second network interface, And a data processing means for processing the data.
前記制御装置は、前記情報処理装置から受信されるプリンタ記述言語形式の印刷データから画像データを生成し、前記画像データを前記画像処理装置に送信することを特徴とする請求項1に記載の制御装置。  The control according to claim 1, wherein the control device generates image data from print data in a printer description language format received from the information processing device, and transmits the image data to the image processing device. apparatus. 前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと、当該データの送信元論理ポート番号と、前記データ出力手段により出力されるデータに対して返信される第2のデータを前記第1のネットワークインターフェースを介して受信するときのポート番号を示す受信用論理ポート番号とを対応付けて登録する登録手段を有し、
前記変更手段は、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに、前記データの送信元論理ポート番号を前記受信用論理ポート番号に変更することを特徴とする請求項1或いは2に記載の制御装置。
The transmission source address of the data input to the second network interface, the transmission source logical port number of the data, and the second data returned for the data output by the data output means are the first data. Registration means for registering in association with a reception logical port number indicating a port number when receiving via the network interface of
3. The changing unit according to claim 1, wherein the data source address is changed to the address of the first network interface, and the data source logical port number is changed to the reception logical port number. The control device described in 1.
前記登録手段は、前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと送信元論理ポート番号とが前記登録手段により登録されていない場合、新たな受信用論理ポート番号を登録することを特徴とする請求項3に記載の制御装置。  The registration unit registers a new reception logical port number when the transmission source address and the transmission source logical port number of the data input to the second network interface are not registered by the registration unit. The control device according to claim 3. 前記第1のネットワークインターフェースに入力された前記第2のデータの送信先論理ポート番号と同じ受信用論理ポート番号が前記登録手段により登録されているか否かを判定する送信先論理ポート番号判定手段と、
登録されていると前記送信先論理ポート番号判定手段により判定された場合に、前記第2のデータの送信先アドレスを、前記登録手段により登録されている送信元アドレスと同じアドレスに変更する第2の変更手段とを有することを特徴とする請求項3或いは4に記載の制御装置。
A destination logical port number determination unit that determines whether or not the reception logical port number that is the same as the transmission destination logical port number of the second data input to the first network interface is registered by the registration unit; ,
A second address for changing the transmission destination address of the second data to the same address as the transmission source address registered by the registration means when it is determined by the transmission destination logical port number determination means that it is registered; 5. The control device according to claim 3, further comprising: a changing unit.
情報処理装置が接続されている第1のネットワークに接続するための第1のネットワークインターフェースと、画像処理装置が接続されている第2のネットワークに接続するための第2のネットワークインターフェースとを備える装置におけるネットワーク通信方法であって、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークインターフェースのアドレスであるか否かを判定する第1の送信先アドレス判定ステップと、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークのブロードキャストアドレスであるか否かを判定する第2の送信先アドレス判定ステップと、
前記第2のネットワークインターフェースのアドレスでないと前記第1の送信先アドレス判定ステップで判定され、かつ前記第2のネットワークのブロードキャストアドレスでないと前記第2の送信先アドレス判定ステップで判定された場合に、前記データの送信先アドレスを変更することなく、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更し、前記第2のネットワークのブロードキャストアドレスであると前記第2の送信先アドレス判定ステップで判定された場合に、前記データの送信先アドレスを前記第1のネットワークのブロードキャストアドレスに、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更する変更ステップと、
前記変更ステップで送信元アドレスを変更された後のデータを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力するデータ出力ステップと、
前記第2のネットワークインターフェースのアドレスであると前記第1の送信先アドレス判定ステップで判定された場合に、前記データを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力することなく、前記データを処理するデータ処理ステップとを有することを特徴とするネットワーク通信方法。
An apparatus comprising: a first network interface for connecting to a first network to which an information processing apparatus is connected; and a second network interface for connecting to a second network to which an image processing apparatus is connected. A network communication method in
A first transmission destination address determination step of determining whether or not a transmission destination address of data from the image processing apparatus input to the second network interface is an address of the second network interface;
A second destination address determination step of determining whether or not a transmission destination address of data from the image processing apparatus input to the second network interface is a broadcast address of the second network;
If it is determined in the first destination address determining step if it is not the address of the second network interface, and if it is determined in the second destination address determining step if it is not the broadcast address of the second network, Without changing the destination address of the data, the source address of the data is changed to the address of the first network interface, and the second destination address determination is made as the broadcast address of the second network A change step of changing the data transmission destination address to the broadcast address of the first network and the data transmission source address to the address of the first network interface when determined in the step;
A data output step of outputting the data after the transmission source address is changed in the changing step to the first network via the first network interface;
When the address of the second network interface is determined in the first destination address determination step, without outputting the data to the first network via the first network interface, And a data processing step for processing the data.
前記装置は、前記情報処理装置から受信されるプリンタ記述言語形式の印刷データから画像データを生成し、前記画像データを前記画像処理装置に送信することを特徴とする請求項6に記載のネットワーク通信方法。  The network communication according to claim 6, wherein the apparatus generates image data from print data in a printer description language format received from the information processing apparatus, and transmits the image data to the image processing apparatus. Method. 前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと、当該データの送信元論理ポート番号と、前記データ出力ステップで出力されるデータに対して返信される第2のデータを前記第1のネットワークインターフェースを介してデータを受信するときのポート番号を示す受信用論理ポート番号とを対応付けて登録する登録ステップとを有し、
前記変更ステップは、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに、前記データの送信元論理ポート番号を前記受信用論理ポート番号に変更することを特徴とする請求項6或いは7に記載のネットワーク通信方法。
The transmission source address of the data input to the second network interface, the transmission source logical port number of the data, and the second data returned for the data output in the data output step are the first data. A registration step of registering in association with a reception logical port number indicating a port number when receiving data via the network interface of
8. The change step according to claim 6, wherein the data transmission source address is changed to the address of the first network interface, and the data transmission source logical port number is changed to the reception logical port number. The network communication method described in 1.
前記登録ステップは、前記第2のネットワークインターフェースに入力されたデータの送信元アドレスと送信元論理ポート番号とが前記登録ステップにより登録されていない場合、新たな受信用論理ポート番号を登録することを特徴とする請求項8に記載のネットワーク通信方法。  The registration step is to register a new reception logical port number when the transmission source address and the transmission source logical port number of the data input to the second network interface are not registered in the registration step. The network communication method according to claim 8, wherein: 前記第1のネットワークインターフェースに入力された前記第2のデータの送信先論理ポート番号と同じ受信用論理ポート番号が前記登録ステップにより登録されているか否かを判定する送信先論理ポート番号判定ステップと、
登録されていると前記送信先論理ポート番号判定ステップで判定された場合に、前記第2のデータの送信先アドレスを、前記登録ステップで登録されている送信元アドレスと同じアドレスに変更する第2の変更ステップとを有することを特徴とする請求項8或いは9に記載のネットワーク通信方法。
A transmission destination logical port number determination step for determining whether or not a reception logical port number identical to the transmission destination logical port number of the second data input to the first network interface is registered in the registration step; ,
When it is determined in the transmission destination logical port number determination step that it is registered, a second address for changing the transmission destination address of the second data to the same address as the transmission source address registered in the registration step The network communication method according to claim 8 or 9, further comprising:
情報処理装置が接続されている第1のネットワークに接続するための第1のネットワークインターフェースと、画像処理装置が接続されている第2のネットワークに接続するための第2のネットワークインターフェースとを備える装置を制御するための制御プログラムであって、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークインターフェースのアドレスであるか否かを判定する第1の送信先アドレス判定ステップと、
前記第2のネットワークインターフェースに入力された前記画像処理装置からのデータの送信先アドレスが、前記第2のネットワークのブロードキャストアドレスであるか否かを判定する第2の送信先アドレス判定ステップと、
前記第2のネットワークインターフェースのアドレスでないと前記第1の送信先アドレス判定ステップで判定され、かつ前記第2のネットワークのブロードキャストアドレスでないと前記第2の送信先アドレス判定ステップで判定された場合に、前記データの送信先アドレスを変更することなく、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更し、前記第2のネットワークのブロードキャストアドレスであると前記第2の送信先アドレス判定ステップで判定された場合に、前記データの送信先アドレスを前記第1のネットワークのブロードキャストアドレスに、前記データの送信元アドレスを前記第1のネットワークインターフェースのアドレスに変更する変更ステップと、
前記変更ステップで送信元アドレスを変更された後のデータを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力するデータ出力ステップと、
前記第2のネットワークインターフェースのアドレスであると前記第1の送信先アドレス判定ステップで判定された場合に、前記データを前記第1のネットワークインターフェースを介して前記第1のネットワークに出力することなく、前記データを処理するデータ処理ステップとをコンピュータに実行させることを特徴とする制御プログラム。
An apparatus comprising: a first network interface for connecting to a first network to which an information processing apparatus is connected; and a second network interface for connecting to a second network to which an image processing apparatus is connected. A control program for controlling
A first transmission destination address determination step of determining whether or not a transmission destination address of data from the image processing apparatus input to the second network interface is an address of the second network interface;
A second destination address determination step of determining whether or not a transmission destination address of data from the image processing apparatus input to the second network interface is a broadcast address of the second network;
If it is determined in the first destination address determining step if it is not the address of the second network interface, and if it is determined in the second destination address determining step if it is not the broadcast address of the second network, Without changing the destination address of the data, the source address of the data is changed to the address of the first network interface, and the second destination address determination is made as the broadcast address of the second network A change step of changing the data transmission destination address to the broadcast address of the first network and the data transmission source address to the address of the first network interface when determined in the step;
A data output step of outputting the data after the transmission source address is changed in the changing step to the first network via the first network interface;
When the address of the second network interface is determined in the first destination address determination step, without outputting the data to the first network via the first network interface, A control program causing a computer to execute a data processing step for processing the data.
JP2002091748A 2001-10-12 2002-03-28 Control device, network communication method, and control program Expired - Fee Related JP3890243B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002091748A JP3890243B2 (en) 2002-03-28 2002-03-28 Control device, network communication method, and control program
US10/267,645 US7408661B2 (en) 2001-10-12 2002-10-10 Control apparatus and its method, and control program and storage medium holding it, with access designating second address being performed based on link to the second address included in display information
US11/539,297 US20070156920A1 (en) 2001-10-12 2006-10-06 Control apparatus and its method, and control program and storage medium holding it, with changing of transmission source
US12/164,435 US7738131B2 (en) 2001-10-12 2008-06-30 Control apparatus and its method, and control program and storage medium holding it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002091748A JP3890243B2 (en) 2002-03-28 2002-03-28 Control device, network communication method, and control program

Publications (2)

Publication Number Publication Date
JP2003289319A JP2003289319A (en) 2003-10-10
JP3890243B2 true JP3890243B2 (en) 2007-03-07

Family

ID=29236759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002091748A Expired - Fee Related JP3890243B2 (en) 2001-10-12 2002-03-28 Control device, network communication method, and control program

Country Status (1)

Country Link
JP (1) JP3890243B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3829849B2 (en) 2004-01-20 2006-10-04 セイコーエプソン株式会社 Scan data transmission apparatus and scan data transmission system
JP4382528B2 (en) 2004-02-27 2009-12-16 富士通株式会社 Multicast network device, multicast network system, and multicast method
JP4592483B2 (en) * 2005-04-15 2010-12-01 シャープ株式会社 Image processing system
JP4677340B2 (en) * 2005-12-21 2011-04-27 キヤノン株式会社 Information processing apparatus, information processing method, program, and storage medium
JP4781125B2 (en) * 2006-02-17 2011-09-28 キヤノン株式会社 Information processing system, information processing apparatus, and peripheral device
JP2010087655A (en) * 2008-09-30 2010-04-15 Hitachi Ltd Communication system
JP5836638B2 (en) * 2011-05-13 2015-12-24 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP2003289319A (en) 2003-10-10

Similar Documents

Publication Publication Date Title
US7738131B2 (en) Control apparatus and its method, and control program and storage medium holding it
US10681002B2 (en) Internet of Things (IoT) mediation and adaptation secure application gateway
US8817785B2 (en) Communication apparatus having a plurality of network interfaces, method of communication by the communication apparatus, and storage medium
US9563389B2 (en) Image processing system, gateway apparatus, server apparatus, method of controlling gateway apparatus, method of controlling server apparatus, program for controlling gateway apparatus, and program for controlling server apparatus wherein the job includes an operation related to the job
US8832312B2 (en) Communication apparatus and communication control method
US7720097B2 (en) Communication apparatus, communication method, communication program and recording medium
US20130117835A1 (en) Image Forming Apparatus, Image Forming System, and Method for Realizing Pseudo Single Sign-On
JP2006268166A (en) Information processor, information processing method, and program
JP4405933B2 (en) Control device, communication control method, communication control program, and storage medium
US20050226171A1 (en) Information processing apparatus and information processing method
JP3890243B2 (en) Control device, network communication method, and control program
US20060077421A1 (en) System and method for driverless printers
JP5473248B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP2006252321A (en) Electronic document management system, print setting device, print history device, image forming apparatus, print setting service device, temporary document keeping service device and control program
US8699483B2 (en) Method and system having an application for a run time IPv6 only network
JP2010218223A (en) Information processor, information processing method, and program
JP4273053B2 (en) Information processing apparatus and method, and program
JP4368776B2 (en) Network device, network device control method, program, and recording medium
JP5113095B2 (en) Network setting notification device, network setting method, program, and recording medium
JP5021533B2 (en) Information processing terminal
JP2004038550A (en) Network device and control method therefor
JP2000059421A (en) Data communication method and system, device thereof
JP2003345552A (en) Method and device for controlling operation mode of network equipment, network equipment, program and storage medium
JP2007088902A (en) Network system, program and storage medium
JP2004080452A (en) Image processing apparatus, and control method and control program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060905

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061101

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3890243

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121208

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131208

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees