JP2005096111A - Connection interchangeability judging apparatus and judging method - Google Patents
Connection interchangeability judging apparatus and judging method Download PDFInfo
- Publication number
- JP2005096111A JP2005096111A JP2003329908A JP2003329908A JP2005096111A JP 2005096111 A JP2005096111 A JP 2005096111A JP 2003329908 A JP2003329908 A JP 2003329908A JP 2003329908 A JP2003329908 A JP 2003329908A JP 2005096111 A JP2005096111 A JP 2005096111A
- Authority
- JP
- Japan
- Prior art keywords
- version information
- interface
- compatibility
- version
- determination
- 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.)
- Withdrawn
Links
Images
Abstract
Description
この発明は、電子写真方式やインクジェットプリント方式などを適用したプリンタ、複写機、ファクシミリ、あるいはこれらの機能を兼ね備えた複合機等の画像形成装置などの機器において、コントローラとプリンタエンジンとの間や、プリンタとホストコンピュータとの間のように、サブシステムとして自由に組み合わせうる複数の装置間の接続互換性を判断する接続互換性判断装置及び判断方法に関するものである。 The present invention relates to an image forming apparatus such as a printer, a copying machine, a facsimile, or a multifunction machine having these functions, to which an electrophotographic method or an inkjet printing method is applied, between a controller and a printer engine, The present invention relates to a connection compatibility determination device and a determination method for determining connection compatibility between a plurality of devices that can be freely combined as subsystems, such as between a printer and a host computer.
従来、この種の電子写真方式やインクジェットプリント方式などを適用したプリンタや複写機等の画像形成装置において、コントローラとプリンタエンジンとの間や、プリンタとホストコンピュータ(上のデバイスドライバ)との間のように、サブシステムとして自由に組み合わせて使用される複数の装置では、1つのコントローラに対して、複数のプリンタエンジンを適宜組み合せて使用したり、複数のホストコンピュータに対して、1つのプリンタを適宜組み合わせて使用する場合など、異なる組み合わせにおいて、プリンタエンジンやプリンタ等が誤動作することなく、正常に動作するように構成されている必要がある。 2. Description of the Related Art Conventionally, in an image forming apparatus such as a printer or a copying machine to which this type of electrophotographic method or ink jet printing method is applied, between a controller and a printer engine or between a printer and a host computer (upper device driver). As described above, in a plurality of apparatuses that are freely combined as subsystems, a plurality of printer engines are appropriately combined for one controller, or one printer is appropriately used for a plurality of host computers. In different combinations, such as when used in combination, the printer engine, the printer, etc. need to be configured to operate normally without malfunction.
そこで、通常は、特開平8−76643号公報や特開2002−196906号公報等に開示されているように、プリンタドライバに付与されているバージョン情報や、固有の識別子などを利用して、複数の装置間の組み合わせを管理するように構成したものが既に提案されている。 Therefore, normally, as disclosed in JP-A-8-76643, JP-A-2002-196906, and the like, a plurality of information can be obtained by using version information given to the printer driver, a unique identifier, or the like. A device configured to manage a combination of these devices has already been proposed.
上記特開平8−76643号公報に係る画像形成装置は、画像形成装置に接続する、後処理周辺機のバージョン(機能、仕様)に応じて前記画像形成装置本体のバージョンが適切に調整され画像形成システムとして目的とする本来の機能が動作可能となるように構成したものである。 In the image forming apparatus according to the above-mentioned JP-A-8-76643, the version of the main body of the image forming apparatus is appropriately adjusted according to the version (function, specification) of the post-processing peripheral device connected to the image forming apparatus. The system is configured so that the intended original function can be operated.
また、上記特開2002−196906号公報に係るプリンタ装置は、ネットワークに接続して、データの送受信が可能なプリンタ装置において、前記ネットワークを介して印刷データを受信する印刷データ受信手段と、前記ネットワークを介してプリンタドライバのバージョン情報を受領するバージョン情報受領手段と、このバージョン情報受領手段で受領したバージョン情報を記憶・保持する記憶手段と、前記印刷データ受信手段で受信した印刷データを印刷する印刷手段と、を備えるように構成したものである。 Further, the printer device according to the above-mentioned Japanese Patent Application Laid-Open No. 2002-196906 is a printer device that is connected to a network and capable of transmitting and receiving data, a print data receiving unit that receives print data via the network, and the network Version information receiving means for receiving the version information of the printer driver via the storage, storage means for storing and holding the version information received by the version information receiving means, and printing for printing the print data received by the print data receiving means And means.
しかしながら、上記従来技術の場合には、次のような問題点を有している。すなわち、上記特開平8−76643号公報や特開2002−196906号公報に開示された技術の場合には、画像形成装置本体や後処理周辺機のバージョン情報、あるいはプリンタドライバのバージョン情報に基づいて接続可能性を判断するように構成したものである。 However, the conventional technique has the following problems. That is, in the case of the technique disclosed in the above Japanese Patent Laid-Open Nos. 8-76643 and 2002-196906, it is based on the version information of the image forming apparatus main body and the post-processing peripheral device, or the version information of the printer driver. The connection possibility is determined.
ところが、プリンタドライバのバージョン情報や固有識別子は、本来、ソフトウエア自体の変更やデバイス自体の変更を管理するためのものであり、コントローラとプリンタエンジン等との間の接続互換性を判断するためのものではない。そのため、コントローラとプリンタエンジン等の接続互換性に関連する情報は、プリンタドライバのバージョン情報や固有識別子の情報とは別に、これらのバージョン情報や固有識別子の情報に基づいて、別途作成乃至管理する必要がある。 However, the version information and unique identifier of the printer driver are originally for managing changes in the software itself and changes in the device itself, and are used to determine connection compatibility between the controller and the printer engine. It is not a thing. For this reason, information related to connection compatibility between the controller and the printer engine must be created or managed separately based on the version information and unique identifier information separately from the printer driver version information and unique identifier information. There is.
しかし、上記画像形成装置で使用されるプリンタドライバ等のソフトウエアは、デバックや改良などのために、アップデートが頻繁になされているのが実情であり、プリンタドライバのバージョン情報等に基づいて接続互換性を判断するように構成した場合には、図10に示すように、プリンタドライバのバージョン情報等をすべて管理していなければ、接続互換性を判断することができないという問題点を有している。さらに説明すると、特に将来的に開発される機器に対して、バージョンとの対応関係を長期間管理することはほぼ不可能であるため、互いに接続される機器においては、どちらか一方だけを更新していくことはできず、一定期間をおいて少なくとも両方のソフトウエアを更新する必要が生じる。 However, the software such as the printer driver used in the image forming apparatus is frequently updated for debugging or improvement, and the connection compatibility is based on the version information of the printer driver. In the case where the configuration is determined, the connection compatibility cannot be determined unless all the version information of the printer driver is managed as shown in FIG. . To explain further, it is almost impossible to manage the correspondence with the version for a long time, especially for devices developed in the future, so only one of the devices connected to each other is updated. In other words, it is necessary to update at least both pieces of software after a certain period of time.
したがって、上記プリンタドライバ等のバージョン情報に基づいて、接続互換性を判断できる範囲は非常に狭く、たとえ接続できる周辺機器であっても、プリンタドライバのバージョン情報等の不適合によって、装置側では接続互換性を判断することができないため、装置によっては、相互接続を強制的に拒否するように構成するか、正常に動作するかどうかの保障は、ユーザーの責任にまかせられ、装置間の確実な動作を判断することができないという問題点を有していた。 Therefore, the range in which connection compatibility can be determined based on the above version information of the printer driver, etc. is very narrow. Even if it is a peripheral device that can be connected, it is compatible on the device side due to incompatibility of the printer driver version information, etc. Depending on the device, it is up to the user to make sure that the device is configured to forcibly refuse the interconnection, or to ensure that it works properly. There was a problem that could not be judged.
そこで、この発明は、上記従来技術の問題点を解決するためになされたものであり、その目的とするところは、プリンタドライバ等のソフトウエアのバージョン情報が頻繁に更新された場合であっても、互いに接続された複数の装置間の接続互換性を確実に判断することができ、装置側で相互接続を強制的に拒否したり、正常に動作するかどうかの保障をユーザーに委ねることがなく、装置間の確実な動作を判断することが可能な接続互換性判断装置及び判断方法を提供することにある。 Therefore, the present invention has been made to solve the above-described problems of the prior art, and the object of the present invention is even when the version information of software such as a printer driver is frequently updated. It is possible to reliably determine the connection compatibility between multiple devices connected to each other without forcibly refusing the interconnection on the device side or entrusting the user with the guarantee of normal operation. Another object of the present invention is to provide a connection compatibility determination device and determination method capable of determining a reliable operation between devices.
上記の課題を解決するため、請求項1に記載された発明は、互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断装置において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置である。
In order to solve the above problem, the invention described in
Acquisition means for acquiring interface version information from an external device that individually has version information of the device and interface version information for the device to communicate with an external device;
Storage means for storing compatibility determination information for determining the compatibility of the version information of the interface;
A determination unit configured to determine connection compatibility between devices connected to each other based on the version information of the interface acquired by the acquisition unit and the compatibility determination information of the interface stored in the storage unit; Is a connection compatibility determination device characterized by
ここで、「バージョン情報」とは、装置またはプログラムまたはインターフェースの違いをそれぞれ検出できるという意味であり、必ずしも何らかのバージョンが直接装置やプログラムに存在することを意味しない。例えば、バージョン情報には、プログラムそれ自身の互いに識別する部分またはチェックサムなども含まれる。その理由は、チェックサムを利用して装置の外部でバージョンを特定することが可能であるからである。 Here, “version information” means that a difference in device, program, or interface can be detected, and does not necessarily mean that some version directly exists in the device or program. For example, the version information includes a mutually distinguishing part of the program itself or a checksum. The reason is that it is possible to specify the version outside the apparatus using the checksum.
また、請求項2に記載された発明は、前記インターフェースのバージョン情報が、前記インターフェースに付されたバージョンの番号であることを特徴とする請求項1に記載の接続互換性判断装置である。
The invention described in
さらに、請求項3に記載された発明は、前記記憶手段には、インターフェースの適合性判断情報として、複数のインターフェースのバージョン番号が記憶されていることを特徴とする請求項2に記載の接続互換性判断装置である。
Furthermore, the invention described in
又、請求項4に記載された発明は、前記取得手段を有する装置に接続された装置は、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段を有していることを特徴とする請求項1に記載の接続互換性判断装置である。
The invention described in
また、請求項5に記載された発明は、前記取得手段を有する装置に接続された装置は、インターフェースのバージョン情報を複数有していることを特徴とする請求項4に記載の接続互換性判断装置である。 According to a fifth aspect of the present invention, in the connection compatibility judgment according to the fourth aspect, the device connected to the device having the acquisition means has a plurality of interface version information. Device.
さらに、請求項6に記載された発明は、互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断装置において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記取得手段を有する装置に接続された装置に設けられ、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置である。
Furthermore, the invention described in
Acquisition means for acquiring interface version information from an external device that individually has version information of the device and interface version information for the device to communicate with an external device;
A transmission unit that is provided in a device connected to the device having the acquisition unit and that transmits interface version information to an external device;
Storage means for storing compatibility determination information for determining the compatibility of the version information of the interface;
A determination unit configured to determine connection compatibility between devices connected to each other based on the version information of the interface acquired by the acquisition unit and the compatibility determination information of the interface stored in the storage unit; Is a connection compatibility determination device characterized by
又、請求項7に記載された発明は、前記判断手段が、複数のインターフェースのバージョン情報が接続互換性を有すると判断した場合には、そのうち最適なインターフェースのバージョン情報を利用して接続を行うことを特徴とする請求項6に記載の接続互換性判断装置である。
According to a seventh aspect of the present invention, when the determination means determines that the version information of a plurality of interfaces has connection compatibility, the connection is made using the version information of the optimum interface. The connection compatibility determination device according to
更に、請求項8に記載された発明は、前記判断手段は、最も大きいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Further, the invention described in
また、請求項9に記載された発明は、前記判断手段は、互いに通信可能に接続された少なくとも2つの装置間で、最もバージョン情報の間で差が少ないものを最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。
According to a ninth aspect of the present invention, the determination means selects, as the version information of the optimum interface, the one having the smallest difference between the version information between at least two devices that are communicably connected to each other. The connection compatibility determination device according to
さらに、請求項10に記載された発明は、前記判断手段は、複数に区切られたバージョン情報毎に重み付けした差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Furthermore, the invention described in
又、請求項11に記載された発明は、前記判断手段は、複数に区切られたバージョン情報毎の差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。
The invention described in
更に、請求項12に記載された発明は、前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Furthermore, in the invention described in
また、請求項13に記載された発明は、前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、被制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Further, in the invention described in
さらに、請求項14に記載された発明は、前記判断手段は、最も新しいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Furthermore, the invention described in
また更に、請求項15に記載された発明は、前記判断手段は、マイナーなバージョン情報が大きいもの選択することを特徴とする請求項7に記載の接続互換性判断装置である。
Furthermore, the invention described in claim 15 is the connection compatibility determination device according to
更に、請求項16に記載された発明は、前記判断手段は、最適なバージョン情報が複数ある場合には、その中から無作為にバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置である。 Furthermore, the invention described in claim 16 is characterized in that, when there are a plurality of optimum version information, the determination means randomly selects version information from among the plurality of optimum version information. It is a connection compatibility determination device.
また、請求項17に記載された発明は、互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断方法において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得ステップと、
予め記憶された前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を読み出す読出ステップと、
前記取得ステップによって取得されたインターフェースのバージョン情報と、前記読出ステップによって読み出されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断ステップとを備えたことを特徴とする接続互換性判断方法である。
The invention described in claim 17 is a connection compatibility determination method for determining connection compatibility between at least two devices communicably connected to each other.
An acquisition step of acquiring interface version information from an external device individually having version information of the device and interface version information for the device to communicate with an external device;
A step of reading out the compatibility determination information for determining the compatibility of the version information of the interface stored in advance;
A determination step of determining connection compatibility between devices connected to each other based on interface version information acquired in the acquisition step and interface compatibility determination information read out in the reading step; This is a connection compatibility determination method characterized by the above.
この発明によれば、プリンタドライバ等のソフトウエアのバージョン情報が頻繁に更新された場合であっても、互いに接続された複数の装置間の接続互換性を確実に判断することができ、装置側で相互接続を強制的に拒否したり、正常に動作するかどうかの保障をユーザーに委ねることがなく、装置間の確実な動作を判断することが可能な接続互換性判断装置及び判断方法を提供することができる。 According to the present invention, even when version information of software such as a printer driver is frequently updated, it is possible to reliably determine connection compatibility between a plurality of devices connected to each other. Provides a connection compatibility judgment device and judgment method that can judge reliable operation between devices without forcibly refusing interconnections or entrusting the user with the guarantee of normal operation. can do.
以下に、この発明の実施の形態について図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
実施の形態1
図1はこの発明の実施の形態1に係る接続互換性判断装置及び判断方法を適用した画像形成装置としてのプリンタを示すブロック図である。
FIG. 1 is a block diagram showing a printer as an image forming apparatus to which a connection compatibility determination device and determination method according to
この実施の形態1に係る画像形成装置としてのプリンタ1は、図1に示すように、制御側の装置としてのコントローラ2と、被制御側の装置としてのプリンタエンジン3とから構成されており、コントローラ2とプリンタエンジン3とは、通信線4を介して互いに通信可能に接続されている。上記プリンタエンジン3は、コントローラ2によって制御され、図示しないパーソナルコンピュータやLANあるいは電話回線等を介して送られてくる画像データに基づいて、電子写真方式やインクジェット方式等に従い、プリント動作を実行するように構成されている。ここで、コントローラ2は、プリンタ1のコントローラとして独自に製造されたものであっても良いし、パーソナルコンピュータ等をそのままコントローラとして使用しても良い。また、上記コントローラ2は、任意のプログラムに基づいて制御されるものであり、画像形成装置としてのプリンタ1自体のバージョン情報を、後述するインターフェースのバージョン情報とは別個に備えているものである。
As shown in FIG. 1, a
上記コントローラ2は、プリンタエンジン3のプリント動作を制御するとともに、当該コントローラ2自体の動作をも制御するように構成されている。このコントローラ2は、バージョン取得手段5を備えており、当該バージョン取得手段5は、プリンタエンジン3と通信を行うことによって、プリンタエンジン3のインターフェースのバージョン情報を取得するようになっている。上記バージョン取得手段5は、例えば、通信線4を介してシリアル通信を行い、プリンタエンジン3にインターフェースバージョンを要求する。その際、コントローラ2のバージョン取得手段5は、例えば、getIFVersionというコマンドを用いて、当該コントローラ2から通信線4を介してプリンタエンジン3のインターフェースのバージョン情報を取得するように構成されている。
The
また、上記コントローラ2は、当該コントローラ2が種々のプリンタエンジン3等の装置と接続された場合に、インターフェースのバージョン情報の適合性を判断するための適合性判断情報7が記憶された第1の記憶手段としての第1のメモリ6を備えており、この第1のメモリ6には、インターフェースのバージョン情報の適合性を判断するための適合性判断情報7が、予め又は適宜実行される書き換え動作によって記憶されている。上記インターフェースのバージョン情報の適合性は、インターフェースのバージョン情報に基づいて、互いに接続される装置間の接続互換性を判断するためのものであり、接続互換性があると判断された場合には、互いに接続された装置間で、データのやり取り等が可能であり、例えば、制御側の装置で被制御側の装置を制御することが可能であることを意味する。
The
上記インターフェースの適合性判断情報7は、コントローラ2がサポートしているインターフェースバージョンについての情報である。このインターフェースの適合性判断情報7は、上位互換性があるバージョンの場合には最上位のバージョンで代表し、互換性がないバージョンについては併記するようになっている。ここでは、説明の都合上併記されたバージョンについては詳しく説明しない。
The interface
一方、上記インターフェースのバージョン情報8は、例えば、図2に示すように、インターフェースに付されたバージョンの番号で表示され、ピリオドに対応した境界線を境にして、Majorなバージョンを示す数字9と、Minorなバージョンを示す数字10とが併記された状態で表示されている。そして、上記インターフェースのバージョン番号で表示されたバージョン情報8のうち、上位の数字9は、例えば、上位互換性がない場合に1増分し、下位の数字10は、上位互換性がある場合に1増分するように設定されている。
On the other hand, the
さらに、上記コントローラ2は、図1に示すように、バージョン取得手段5によって取得された相手方の装置のインターフェースのバージョン情報13と、第1のメモリ6に記憶されたインターフェースの適合性判断情報7に基づいて、互いに接続された装置間の接続互換性を判断する判断手段11を備えている。
Further, as shown in FIG. 1, the
上記判断手段11は、バージョン取得手段5によって取得されたプリンタエンジン3のインターフェースのバージョン情報13と、インターフェース適合性判断情報7とを照会することにより、コントローラ2とプリンタエンジン3が互いに接続可能かどうかを判断するように構成されている。なお、コントローラ2とプリンタエンジン3が互いに接続可能と判断された場合における制御動作は、通常の制御動作と同様に行われる。
Whether the
一方、上記プリンタエンジン3は、当該プリンタエンジン3が他の装置と接続された場合に、当該他の装置と通信を行うためのインターフェースのバージョン情報13が記憶された第2の記憶手段としての第2のメモリ12を備えており、この第2のメモリ12には、インターフェースのバージョン情報13が予め記憶されている。
On the other hand, when the
また、上記プリンタエンジン3は、当該プリンタエンジン3が外部の装置に対して、インターフェースのバージョン情報13を送信する送信手段としてのバージョン送信手段14を備えている。このバージョン送信手段14は、他の装置からインターフェースのバージョン情報13が要求された場合に、第2のメモリ12からインターフェースのバージョン情報13を読み出して、他の装置に送信するように構成されている。
The
ここで、インターフェースのバージョン情報13は、プリンタエンジン3がコントローラ2と通信線4を介して処理を行う場合の処理方法を決定するバージョンである。バージョン送信手段14は、インターフェースバージョン情報13をコントローラ2に送信して、コントローラ2がプリンタエンジン3と接続可能かどうかの判定を行えるようにするためのものである。
Here, the
以上の構成において、この実施の形態1に係る接続互換性判断装置及び判断方法を適用した画像形成装置としてのプリンタでは、次のようにして、プリンタドライバ等のソフトウエアのバージョン情報が頻繁に更新された場合であっても、互いに接続された複数の装置間の接続互換性を確実に判断することができ、装置側で相互接続を強制的に拒否したり、正常に動作するかどうかの保障をユーザーに委ねることがなく、装置間の確実な動作を判断することが可能となっている。 In the above configuration, in a printer as an image forming apparatus to which the connection compatibility determination device and determination method according to the first embodiment are applied, software version information such as a printer driver is frequently updated as follows. Even if it is done, it is possible to reliably determine the connection compatibility between multiple devices connected to each other, and to ensure that the device side forcibly refuses the interconnection and operates normally. It is possible to determine the reliable operation between the devices without entrusting to the user.
すなわち、上記プリンタ1では、図3に示すように、まず、コントローラ2がプリンタエンジン3に対して、インターフェースのバージョン取得要求を行い(ステップ101)、バージョン取得手段5からバージョン取得要求のコマンドとしてgetIFVersionメッセージをプリンタエンジン3に送信する。
That is, in the
上記プリンタエンジン3は、バージョン送信手段14がgetIFVersionメッセージを受け取ると、バージョン情報13を第2のメモリ12から読み出し(ステップ102)、バージョン送信手段14からバージョン情報13をコントローラ2にnotifyIfVersionメッセージを利用して送信する(ステップ103)。上記getIFVersionとnotifyIfVersionメッセージの構成は、図4に示す通りである。即ち、getIFVersionのメッセージフォーマットは、図4に示すように、例えば、0x01(getIFVersionMessageID)の8bitの信号から構成され、notifyIfVersionのメッセージフォーマットは、0x02(notifyIfVersion Message ID)の8bitの信号と、Major Interface Versionと、Minor Interface Versionとから構成されている。
When the
次に、コントローラ2の判断手段11は、図3に示すように、プリンタエンジン3からインターフェースのバージョン情報13を取得すると(ステップ104)、この取得したインターフェースのバージョン情報13を利用して、コントローラ2とプリンタエンジン3との接続互換性の判断を以下のステップに従って行う。
Next, as shown in FIG. 3, the
1.判断手段11は、コントローラ2が接続可能なプリンタエンジン3の情報を判断するための適合性判断情報7を、第1のメモリ6から取得する(ステップ105)。
2.適合性判断情報7は、複数の情報から構成される場合がある。このときは、適合性判断情報7のうち任意の1つを選択する(ステップ106)。
3.また、プリンタエンジン3から通知されたインターフェースのバージョン情報13も複数ある場合がある。このときは、複数のインターフェースバージョン情報13の中から任意の1つのバージョン情報13を選択する(ステップ107)。
4.次に、判断手段11は、上記の如く選択されたプリンタエンジン3のインターフェースバージョン情報13と適合性判断情報7を比較する(ステップ108)。比較のためのフローチャートは、図5に示す通りである。
1. The
2. The
3. There may also be a plurality of
4). Next, the
4−1まず、判断手段11は、図2に示すようなインターフェースバージョン情報13に基づいて、Major Interface Versionが一致しているか否かを判断する(ステップ201)。Major Interface Versionが一致していない場合は、現在比較している適合性判断情報7とプリンタエンジン3のインターフェース情報13は上位互換性(適合性)がないと判断される(ステップ202)。このため、これ以上の適合情報との比較は止める。
4−2一方、判断手段11は、Major Interface Versionが一致していると判断した場合には、次に、Minor Interface Versionが一致しているか否かを判断する(ステップ203)。
4−3そして、判断手段11は、Minor Interface Versionが一致し、バージョン番号が完全に一致したと判断した場合は、完全適合であるため、適合したインターフェースのバージョン情報13を適合バージョンとする(ステップ204)。
4−4また、判断手段11は、プリンタエンジン3のインターフェースバージョン情報13の方が大きいと判断した場合は、コントローラ2側のインターフェースバージョンを適合バージョンとする(ステップ204)。
4−5これに対して、判断手段11は、プリンタエンジン3のMinor Interface Versionの方が、コントローラ2側のMinor Interface Versionより小さいと判断した場合は、プリンタエンジン3側のインターフェースバージョンを適合バージョンとする(ステップ205)。
4-1. First, the
4-2 On the other hand, if the
4-3. If the Minor Interface Version matches and the version number completely matches, the
4-4 If the
4-5 On the other hand, if the
5.このように、判断手段11は、図3に示すように、適合性があると判断した場合、互いにバージョンが同一でない限り、下位のバージョン情報を選択し、バージョン情報が下位のインターフェースに合わせて、動作を制限するようになっており(ステップ109)、決定された適合バージョンをRAM等に記録する(ステップ110)。
5). In this way, as shown in FIG. 3, when the
6.そして、判断手段11は、プリンタエンジン3から送られてきたインターフェースのバージョン情報13についてすべて比較が終了したか否かを判別し(ステップ111)、すべてのインターフェースのバージョン情報13について比較が済んでいない場合には、ステップ107に戻り、すべてのインターフェースのバージョン情報13について比較が済んだが、まだすべての互換性の判断が終了していない場合には(ステップ112)、ステップ106に戻る。
6). Then, the
7.判断手段11は、適合性情報がすべて無くなるまで上記の処理を繰り返す。
7). The
8.その結果、判断手段11は、記録された適合バージョン情報が存在するか否かを判断し(ステップ113)、記録された適合バージョン情報が存在する場合は、最も適したバージョン情報を選択する(ステップ114)。また、記録された適合バージョン情報が存在しない場合は、動作を停止して(ステップ115)、必要に応じてその旨を表示する。
8). As a result, the
ここで、判断手段11は、記録された適合バージョン情報が複数存在する場合は、最適なインターフェースのバージョン情報を選択する。この最適なインターフェースのバージョン情報としては、最も新しいバージョン情報か、マイナーなバージョン情報が大きいものか、無作為に選択されたバージョン情報のいずれかが選択される。
Here, when there are a plurality of recorded compatible version information, the
次に、以上の動作を、プリンタエンジン3側のインターフェースのバージョン情報13と、コントローラ2側の適合性判断情報7として、図6に示す値を採用した場合を例にして、具体的に説明する。ここで、プリンタエンジン3側のインターフェースのバージョン情報13としては、図6に示すように、1.5と2.2の2つのバージョン情報があり、コントローラ2側の適合性判断情報7としては、1.3と2.3の2つのバージョン情報がある。
Next, the above operation will be specifically described by taking as an example the case where the values shown in FIG. 6 are adopted as the
まず、コントローラ2は、図7に示すように、プリンタエンジン3からインターフェースのバージョ情報13を取得する(ステップ301)。ここで、プリンタエンジン3のインターフェースのバージョン情報13としては、図7に示すように、(1.5)と(2.2)が取得される。また、コントローラ2は、インターフェースの適合性判断情報7として、(1.3)と(2.3)を取得する。
First, as shown in FIG. 7, the
ここで、取得したプリンタエンジン2のインターフェースのバージョン情報13は2つ、コントローラ2自身が持っている適合性判断情報7も2つであるため、合計4つの組み合わせが比較対象となる。
Here, since the acquired
基本的な動作を示す図3のフローチャートのステップ106に従えば、まず、判断手段11は、適合性判断情報7を一つ選択することになる。ここでは、始めに適合性判断情報7として、例えば(1.3)を選択する(ステップ302)。次に、インターフェースのバージョン情報13からも1つのバージョン情報13を選択する(ステップ303)。ここでは、例えば(1.5)を選択する。この2つのバージョン情報(番号)を図5に示すフローチャートに従って比較すると、適合インターフェースバージョンは(1.3)となる(ステップ304)。
According to step 106 of the flowchart of FIG. 3 showing the basic operation, first, the judging means 11 selects one
続いて、プリンタエンジン2のインターフェースのバージョン情報13として、(2.2)を選択し(ステップ305)、このインターフェースバージョン(2.2)と、上記適合性判断情報(1.3)とを比較する。この場合は、Majorのバージョンが違っているため、適合バージョンは存在しないと判断される(ステップ306)。同様に、次の適合情報(2.3)とインターフェースのバージョン情報(1.5)を比較した結果として、適合インターフェースバージョンなし(ステップ307〜309)と判断される。また、適合性判断情報(2.3)とインターフェースのバージョン情報(2.2)を選択した結果として、適合インターフェースのバージョン情報(2.2)が得られる(ステップ310〜311)。この場合には、適合インターフェースバージョン情報として、(1.3)と(2.2)の2つが見つかったため、最後にこれらの両者のうち、最適なインターフェースバージョン情報を1つ選択する(ステップ312)。
Subsequently, (2.2) is selected as the
最適なインターフェースバージョン情報を選択するための方法は、いくつか考えられる。例えば、適合インターフェースバージョンのうち大きい方を選択した場合は、(2.2)となる。また、プリンタエンジン3のインターフェースバージョン情報13と適合性判断情報7の相違が小さい場合であれば、プリンタエンジン2のインターフェースバージョン(2.2)と適合性判断情報(2.3)の差の和が、Minor VersionのO.1の差でもっとも小さいので、適合インターフェースバージョン(2.2)となる。また、インターフェースのバージョン情報(1.3)がインターフェースのバージョン情報(2.2)よりも新しいことが予め判っているという前提であれば、新しい方のバージョン情報を選択するのであれば、選択されるバージョン情報は、(1.3)となる。ここで、プリンタエンジン2のインターフェースバージョン(2.2)と適合性判断情報(2.3)の差の和とは、図8に示すように、MajorVersion同士と、MinorVersion同士の差を先にとり、これらの差の和を求めることを意味する。
There are several possible ways to select optimal interface version information. For example, when the larger one of the compatible interface versions is selected, (2.2) is obtained. If the difference between the
図9は2つのバージョン情報(適合性判断情報を含む)を比較する場合について、具体的な値を用いて示した表である。 FIG. 9 is a table showing specific values for comparing two pieces of version information (including compatibility judgment information).
図9において、比較されるバージョン1と比較されるバージョン2とが、共に(1.0)で一致している場合には、Major番号、Minor番号とも一致しているため、完全に互換性を有している。
In FIG. 9, when both
また、比較されるバージョン1が(1.1)で、比較されるバージョン2が(1.2)である場合は、Major番号が互いに一致しているが、Minor番号が比較バージョン2の方が大きいため、当該比較バージョン2の方が比較バージョン1に対して上位互換性を有しており、1.1のバージョンで互いに接続可能である。
If the
逆に、比較されるバージョン1が(1.2)で、比較されるバージョン2が(1.1)である場合は、Major番号が互いに一致しているが、Minor番号が比較バージョン1の方が大きいため、当該比較バージョン1の方が比較バージョン2に対して上位互換性を有しており、上記の場合と同じく、1.1のバージョンで互いに接続可能である。
Conversely, if the
さらに、比較されるバージョン1が(1.2)で、比較されるバージョン2が(2.2)である場合は、Major番号が相違するため、互換性はない。
Further, when the
同様に、比較されるバージョン1が(2.0)で、比較されるバージョン2が(1.0)である場合は、Major番号が相違するため、互換性はない。
Similarly, if the
これに対して、比較されるバージョン1が(2.1)で、比較されるバージョン2が(2.0)である場合は、Major番号が同じで、Minor番号が比較バージョン1の方が大きいため、当該比較バージョン1の方が比較バージョン2に対して上位互換性を有しており、2.0のバージョンで互いに接続可能である。
On the other hand, when the
また、比較されるバージョン1が(3.0)で、比較されるバージョン2が(1.1)である場合は、Major番号が相違するため、互換性はない。
Further, when the
同様に、比較されるバージョン1が(3.1)で、比較されるバージョン2が(2.0)である場合も、Major番号が相違するため、互換性はない。
Similarly, when the
一方、比較されるバージョン1が(3.2)で、比較されるバージョン2が(3.4)である場合は、Major番号が同じで、Minor番号が比較バージョン2の方が大きいため、当該比較バージョン2の方が比較バージョン1に対して上位互換性を有しており、3.1のバージョンで互いに接続可能である。
On the other hand, when the
このように、上記実施の形態によれば、プリンタドライバ等のソフトウエアのバージョン情報が頻繁に更新された場合であっても、プリンタエンジンのインターフェースのバージョン情報に基づいて、互いに接続されたコントローラ2とプリンタエンジン3との接続互換性を確実に判断することができ、コントローラ2側で相互接続を強制的に拒否したり、正常に動作するかどうかの保障をユーザーに委ねることがなく、コントローラ2とプリンタエンジン3との間の確実な動作を判断することが可能となる。
As described above, according to the above embodiment, the
なお、上記コントローラ2とプリンタエンジン3については、当然のことながら物理的に接続可能なことが保証され、情報を交換するための最低限の通信は行えるものとする。また、プリンタエンジン3は、インターフェースバージョン取得要求を明示的に受けなくとも、インターフェースが接続されたことを認識した時点でコントローラ2側にインターフェースバージョンを送信するように構成されたものであっても勿論構わない。
It should be noted that the
1:プリンタ、2:コントローラ、3:プリンタエンジン、4:通信線、6:第1のメモリ、7:適合性判断情報、8:インターフェースのバージョン情報、11:判断手段。 1: printer, 2: controller, 3: printer engine, 4: communication line, 6: first memory, 7: compatibility determination information, 8: interface version information, 11: determination means.
Claims (17)
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置。 In a connection compatibility determination device that determines connection compatibility between at least two devices that are communicably connected to each other,
Acquisition means for acquiring interface version information from an external device that individually has version information of the device and interface version information for the device to communicate with an external device;
Storage means for storing compatibility determination information for determining the compatibility of the version information of the interface;
A determination unit configured to determine connection compatibility between devices connected to each other based on the version information of the interface acquired by the acquisition unit and the compatibility determination information of the interface stored in the storage unit; A device for determining compatibility of connections.
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記取得手段を有する装置に接続された装置に設けられ、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置。 In a connection compatibility determination device that determines connection compatibility between at least two devices that are communicably connected to each other,
Acquisition means for acquiring interface version information from an external device that individually has version information of the device and interface version information for the device to communicate with an external device;
A transmission unit that is provided in a device connected to the device having the acquisition unit and that transmits interface version information to an external device;
Storage means for storing compatibility determination information for determining the compatibility of the version information of the interface;
A determination unit configured to determine connection compatibility between devices connected to each other based on the version information of the interface acquired by the acquisition unit and the compatibility determination information of the interface stored in the storage unit; A device for determining compatibility of connections.
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得ステップと、
予め記憶された前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を読み出す読出ステップと、
前記取得ステップによって取得されたインターフェースのバージョン情報と、前記読出ステップによって読み出されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断ステップとを備えたことを特徴とする接続互換性判断方法。 In a connection compatibility determination method for determining connection compatibility between at least two devices that are communicably connected to each other,
An acquisition step of acquiring interface version information from an external device individually having version information of the device and interface version information for the device to communicate with an external device;
A step of reading out the compatibility determination information for determining the compatibility of the version information of the interface stored in advance;
A determination step of determining connection compatibility between devices connected to each other based on interface version information acquired in the acquisition step and interface compatibility determination information read out in the reading step; A connection compatibility determination method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003329908A JP2005096111A (en) | 2003-09-22 | 2003-09-22 | Connection interchangeability judging apparatus and judging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003329908A JP2005096111A (en) | 2003-09-22 | 2003-09-22 | Connection interchangeability judging apparatus and judging method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005096111A true JP2005096111A (en) | 2005-04-14 |
Family
ID=34459027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003329908A Withdrawn JP2005096111A (en) | 2003-09-22 | 2003-09-22 | Connection interchangeability judging apparatus and judging method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005096111A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010512886A (en) * | 2006-12-21 | 2010-04-30 | テールズ | Digital radiology system and method for performing a radiology system |
JP2011066848A (en) * | 2009-09-18 | 2011-03-31 | Yamaha Corp | Firmware updating apparatus and program |
-
2003
- 2003-09-22 JP JP2003329908A patent/JP2005096111A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010512886A (en) * | 2006-12-21 | 2010-04-30 | テールズ | Digital radiology system and method for performing a radiology system |
JP2011066848A (en) * | 2009-09-18 | 2011-03-31 | Yamaha Corp | Firmware updating apparatus and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7529920B2 (en) | Apparatus and method capable of executing plug and play installation processing operation upon acquiring one piece of device identification information including both printer and facsimile identification information | |
US8335846B2 (en) | Authentication system, multifunctional peripheral and authentication server | |
JP5025101B2 (en) | Image forming apparatus, program, recording medium, control method for image forming apparatus, image forming system, and operation method for image forming system | |
EP1903439A1 (en) | Image forming apparatus, device managing apparatus, device managing system, status acquiring method, device managing method, and computer program | |
JP5089250B2 (en) | Information processing device | |
US20050138231A1 (en) | Information processing device, information processing system, transmission rate setting method, transmission rate setting computer program, and storage medium containing computer program | |
JP4932324B2 (en) | Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method | |
US20080007768A1 (en) | Network device, network manager, network managing system, and method of performing clone process | |
JP4158783B2 (en) | Wireless connection setting program, recording medium, computer, and wireless network system | |
JP2007082157A (en) | Data processing system, its data management apparatus, program, and recording medium | |
JP2010076315A (en) | Printing apparatus, printing system, and program | |
JP2005096111A (en) | Connection interchangeability judging apparatus and judging method | |
EP1898306A1 (en) | Method and apparatus for variably enabling USB interaction | |
JP2006088591A (en) | Printer and its control method | |
JP2007179371A (en) | Printing system | |
JP2005335390A (en) | Lengthening of life span of printer | |
JP2005184360A (en) | Usb-compatible composite copy machine, host computer, and usb-compatible copy machine control system | |
US20090180137A1 (en) | Device setting system, device setting method, and computer-readable recording medium saving device setting program | |
JP2022085781A (en) | Information processing device, control method, and program | |
JP2007300545A (en) | Image forming apparatus | |
JP2007172493A (en) | Power supply management program, information processing system, and power supply management method | |
JP4150860B2 (en) | Device equipment | |
JP3324330B2 (en) | Facsimile machine | |
JP3813851B2 (en) | Program, scan peripheral device, scan peripheral device, and scan control method | |
JP2002014834A (en) | Control system for controlling image forming device and image forming device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20050121 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060824 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20081121 |