JP2005096111A - Connection interchangeability judging apparatus and judging method - Google Patents

Connection interchangeability judging apparatus and judging method Download PDF

Info

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
Application number
JP2003329908A
Other languages
Japanese (ja)
Inventor
Naoyuki Iwabuchi
直行 岩渕
Kazuhito Konno
和仁 今野
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2003329908A priority Critical patent/JP2005096111A/en
Publication of JP2005096111A publication Critical patent/JP2005096111A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a connection interchangeability judging apparatus and judging method capable of surely judging connection interchangeability among a plurality of apparatuses connected with each other even when version information of software for a printer driver is frequently updated. <P>SOLUTION: The apparatus comprises an acquiring means for acquiring the version information for an interface from an external apparatus having individually the version information for the apparatus and the version information for the interface for communicating with the external apparatus, a storing means for storing adaptability judging information for judging adaptability of the version information for the interface, and the judging means for judging the connection interchangeability among apparatuses connected with each other based on the version information for the interface acquired by the acquiring means and the adaptability judging information for the interface stored in the storing means. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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.

特開平8−76643号公報JP-A-8-76643 特開2002−196906号公報JP 2002-196906 A

従来、この種の電子写真方式やインクジェットプリント方式などを適用したプリンタや複写機等の画像形成装置において、コントローラとプリンタエンジンとの間や、プリンタとホストコンピュータ(上のデバイスドライバ)との間のように、サブシステムとして自由に組み合わせて使用される複数の装置では、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 claim 1 is 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; 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 claim 2 is the connection compatibility determination device according to claim 1, wherein the version information of the interface is a version number assigned to the interface.

さらに、請求項3に記載された発明は、前記記憶手段には、インターフェースの適合性判断情報として、複数のインターフェースのバージョン番号が記憶されていることを特徴とする請求項2に記載の接続互換性判断装置である。   Furthermore, the invention described in claim 3 is characterized in that the storage unit stores version numbers of a plurality of interfaces as interface suitability determination information. It is a sex determination device.

又、請求項4に記載された発明は、前記取得手段を有する装置に接続された装置は、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段を有していることを特徴とする請求項1に記載の接続互換性判断装置である。   The invention described in claim 4 is characterized in that the device connected to the device having the obtaining means has a sending means for sending interface version information to an external device. The connection compatibility determination device according to claim 1.

また、請求項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 claim 6 is a connection compatibility determination device that determines connection compatibility between at least two devices 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; 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 claim 6.

更に、請求項8に記載された発明は、前記判断手段は、最も大きいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Further, the invention described in claim 8 is the connection compatibility determination device according to claim 7, wherein the determination means selects the largest version information as the version information of the optimum interface.

また、請求項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 claim 7, wherein:

さらに、請求項10に記載された発明は、前記判断手段は、複数に区切られたバージョン情報毎に重み付けした差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Furthermore, the invention described in claim 10 is characterized in that the determination means selects, as the version information of the optimum interface, the one having a small sum of differences weighted for each piece of version information divided into a plurality of pieces. The connection compatibility determination device according to claim 7.

又、請求項11に記載された発明は、前記判断手段は、複数に区切られたバージョン情報毎の差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。   The invention described in claim 11 is characterized in that the determination means selects a version having a small sum of differences for each piece of version information divided into a plurality of pieces as the version information of the optimum interface. 7 is a connection compatibility determination device according to item 7.

更に、請求項12に記載された発明は、前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Furthermore, in the invention described in claim 12, the determination means selects version information of the control-side device, which is the most prioritized version information, out of at least two devices communicably connected to each other. The connection compatibility determination device according to claim 7, wherein:

また、請求項13に記載された発明は、前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、被制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Further, in the invention described in claim 13, the determination means is the version information of the controlled device among at least two devices communicably connected to each other, and the version information having the highest priority is obtained. The connection compatibility determination device according to claim 7, wherein the connection compatibility determination device is selected.

さらに、請求項14に記載された発明は、前記判断手段は、最も新しいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Furthermore, the invention described in claim 14 is the connection compatibility determination device according to claim 7, wherein the determination means selects the latest version information as the version information of the optimum interface.

また更に、請求項15に記載された発明は、前記判断手段は、マイナーなバージョン情報が大きいもの選択することを特徴とする請求項7に記載の接続互換性判断装置である。   Furthermore, the invention described in claim 15 is the connection compatibility determination device according to claim 7, wherein the determination means selects a larger version of minor version information.

更に、請求項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に係る接続互換性判断装置及び判断方法を適用した画像形成装置としてのプリンタを示すブロック図である。
Embodiment 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 Embodiment 1 of the present invention are applied.

この実施の形態1に係る画像形成装置としてのプリンタ1は、図1に示すように、制御側の装置としてのコントローラ2と、被制御側の装置としてのプリンタエンジン3とから構成されており、コントローラ2とプリンタエンジン3とは、通信線4を介して互いに通信可能に接続されている。上記プリンタエンジン3は、コントローラ2によって制御され、図示しないパーソナルコンピュータやLANあるいは電話回線等を介して送られてくる画像データに基づいて、電子写真方式やインクジェット方式等に従い、プリント動作を実行するように構成されている。ここで、コントローラ2は、プリンタ1のコントローラとして独自に製造されたものであっても良いし、パーソナルコンピュータ等をそのままコントローラとして使用しても良い。また、上記コントローラ2は、任意のプログラムに基づいて制御されるものであり、画像形成装置としてのプリンタ1自体のバージョン情報を、後述するインターフェースのバージョン情報とは別個に備えているものである。   As shown in FIG. 1, a printer 1 as an image forming apparatus according to the first embodiment includes a controller 2 as a control-side apparatus and a printer engine 3 as a controlled-side apparatus. The controller 2 and the printer engine 3 are connected via a communication line 4 so that they can communicate with each other. The printer engine 3 is controlled by the controller 2 and executes a printing operation in accordance with an electrophotographic system, an inkjet system, or the like based on image data sent via a personal computer (not shown), a LAN, or a telephone line. It is configured. Here, the controller 2 may be independently manufactured as the controller of the printer 1, or a personal computer or the like may be used as the controller as it is. The controller 2 is controlled based on an arbitrary program, and includes version information of the printer 1 itself as an image forming apparatus separately from version information of an interface described later.

上記コントローラ2は、プリンタエンジン3のプリント動作を制御するとともに、当該コントローラ2自体の動作をも制御するように構成されている。このコントローラ2は、バージョン取得手段5を備えており、当該バージョン取得手段5は、プリンタエンジン3と通信を行うことによって、プリンタエンジン3のインターフェースのバージョン情報を取得するようになっている。上記バージョン取得手段5は、例えば、通信線4を介してシリアル通信を行い、プリンタエンジン3にインターフェースバージョンを要求する。その際、コントローラ2のバージョン取得手段5は、例えば、getIFVersionというコマンドを用いて、当該コントローラ2から通信線4を介してプリンタエンジン3のインターフェースのバージョン情報を取得するように構成されている。   The controller 2 is configured to control the printing operation of the printer engine 3 and also to control the operation of the controller 2 itself. The controller 2 includes a version acquisition unit 5, and the version acquisition unit 5 acquires version information of the interface of the printer engine 3 by communicating with the printer engine 3. The version acquisition means 5 performs serial communication via the communication line 4, for example, and requests an interface version from the printer engine 3. At this time, the version acquisition means 5 of the controller 2 is configured to acquire the version information of the interface of the printer engine 3 from the controller 2 via the communication line 4 using, for example, a command called getIFVersion.

また、上記コントローラ2は、当該コントローラ2が種々のプリンタエンジン3等の装置と接続された場合に、インターフェースのバージョン情報の適合性を判断するための適合性判断情報7が記憶された第1の記憶手段としての第1のメモリ6を備えており、この第1のメモリ6には、インターフェースのバージョン情報の適合性を判断するための適合性判断情報7が、予め又は適宜実行される書き換え動作によって記憶されている。上記インターフェースのバージョン情報の適合性は、インターフェースのバージョン情報に基づいて、互いに接続される装置間の接続互換性を判断するためのものであり、接続互換性があると判断された場合には、互いに接続された装置間で、データのやり取り等が可能であり、例えば、制御側の装置で被制御側の装置を制御することが可能であることを意味する。   The controller 2 stores the first compatibility determination information 7 for determining the compatibility of the interface version information when the controller 2 is connected to various devices such as the printer engine 3. A first memory 6 is provided as a storage means, and in this first memory 6, a rewriting operation in which compatibility determination information 7 for determining the compatibility of interface version information is executed in advance or as appropriate. Is remembered by. The compatibility of the interface version information is for determining connection compatibility between devices connected to each other based on the interface version information. When it is determined that there is connection compatibility, This means that data can be exchanged between devices connected to each other. For example, it means that a control-side device can be controlled by a control-side device.

上記インターフェースの適合性判断情報7は、コントローラ2がサポートしているインターフェースバージョンについての情報である。このインターフェースの適合性判断情報7は、上位互換性があるバージョンの場合には最上位のバージョンで代表し、互換性がないバージョンについては併記するようになっている。ここでは、説明の都合上併記されたバージョンについては詳しく説明しない。   The interface suitability determination information 7 is information about an interface version supported by the controller 2. The compatibility determination information 7 of the interface is represented by the highest version in the case of a version having upward compatibility, and is written together for a version having no compatibility. Here, the version written together for convenience of explanation will not be described in detail.

一方、上記インターフェースのバージョン情報8は、例えば、図2に示すように、インターフェースに付されたバージョンの番号で表示され、ピリオドに対応した境界線を境にして、Majorなバージョンを示す数字9と、Minorなバージョンを示す数字10とが併記された状態で表示されている。そして、上記インターフェースのバージョン番号で表示されたバージョン情報8のうち、上位の数字9は、例えば、上位互換性がない場合に1増分し、下位の数字10は、上位互換性がある場合に1増分するように設定されている。   On the other hand, the interface version information 8 is displayed with a version number attached to the interface, for example, as shown in FIG. 2, and a number 9 indicating a major version with a boundary corresponding to a period as a boundary. , And a number 10 indicating a minor version are displayed together. Of the version information 8 displayed by the version number of the interface, the upper number 9 is incremented by 1 when there is no upward compatibility, for example, and the lower number 10 is 1 when there is upward compatibility. It is set to increment.

さらに、上記コントローラ2は、図1に示すように、バージョン取得手段5によって取得された相手方の装置のインターフェースのバージョン情報13と、第1のメモリ6に記憶されたインターフェースの適合性判断情報7に基づいて、互いに接続された装置間の接続互換性を判断する判断手段11を備えている。   Further, as shown in FIG. 1, the controller 2 stores the interface version information 13 of the counterpart device acquired by the version acquisition unit 5 and the interface compatibility determination information 7 stored in the first memory 6. Based on this, there is provided determination means 11 for determining connection compatibility between devices connected to each other.

上記判断手段11は、バージョン取得手段5によって取得されたプリンタエンジン3のインターフェースのバージョン情報13と、インターフェース適合性判断情報7とを照会することにより、コントローラ2とプリンタエンジン3が互いに接続可能かどうかを判断するように構成されている。なお、コントローラ2とプリンタエンジン3が互いに接続可能と判断された場合における制御動作は、通常の制御動作と同様に行われる。   Whether the controller 2 and the printer engine 3 can be connected to each other or not by inquiring the interface version information 13 of the interface of the printer engine 3 acquired by the version acquisition unit 5 and the interface compatibility determination information 7. Is configured to determine. The control operation when it is determined that the controller 2 and the printer engine 3 can be connected to each other is performed in the same manner as a normal control operation.

一方、上記プリンタエンジン3は、当該プリンタエンジン3が他の装置と接続された場合に、当該他の装置と通信を行うためのインターフェースのバージョン情報13が記憶された第2の記憶手段としての第2のメモリ12を備えており、この第2のメモリ12には、インターフェースのバージョン情報13が予め記憶されている。   On the other hand, when the printer engine 3 is connected to another apparatus, the printer engine 3 is a second storage unit that stores version information 13 of an interface for communicating with the other apparatus. The second memory 12 has interface version information 13 stored in advance.

また、上記プリンタエンジン3は、当該プリンタエンジン3が外部の装置に対して、インターフェースのバージョン情報13を送信する送信手段としてのバージョン送信手段14を備えている。このバージョン送信手段14は、他の装置からインターフェースのバージョン情報13が要求された場合に、第2のメモリ12からインターフェースのバージョン情報13を読み出して、他の装置に送信するように構成されている。   The printer engine 3 includes a version transmission unit 14 as a transmission unit that transmits interface version information 13 to an external device. The version transmission means 14 is configured to read the interface version information 13 from the second memory 12 and transmit it to another device when the interface version information 13 is requested from another device. .

ここで、インターフェースのバージョン情報13は、プリンタエンジン3がコントローラ2と通信線4を介して処理を行う場合の処理方法を決定するバージョンである。バージョン送信手段14は、インターフェースバージョン情報13をコントローラ2に送信して、コントローラ2がプリンタエンジン3と接続可能かどうかの判定を行えるようにするためのものである。   Here, the interface version information 13 is a version for determining a processing method when the printer engine 3 performs processing via the controller 2 and the communication line 4. The version transmission means 14 is for transmitting the interface version information 13 to the controller 2 so that the controller 2 can determine whether or not it can be connected to the printer engine 3.

以上の構成において、この実施の形態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 printer 1, as shown in FIG. 3, first, the controller 2 issues an interface version acquisition request to the printer engine 3 (step 101), and getIFVersion is sent as a version acquisition request command from the version acquisition unit 5. A message is transmitted to the printer engine 3.

上記プリンタエンジン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 version transmission unit 14 receives the getIFVersion message, the printer engine 3 reads the version information 13 from the second memory 12 (step 102), and uses the version information 13 from the version transmission unit 14 to the controller 2 by using the notifyIfVersion message. (Step 103). The structure of the getIFVersion and notifyIfVersion messages is as shown in FIG. That is, as shown in FIG. 4, the message format of getIFVersion is composed of, for example, an 8-bit signal of 0x01 (getIFVersionMessageID), and a message format of notifyIfVersion is an 8-bit signal of 0x02 (notifyIfVersion Message ID) And Minor Interface Version.

次に、コントローラ2の判断手段11は、図3に示すように、プリンタエンジン3からインターフェースのバージョン情報13を取得すると(ステップ104)、この取得したインターフェースのバージョン情報13を利用して、コントローラ2とプリンタエンジン3との接続互換性の判断を以下のステップに従って行う。   Next, as shown in FIG. 3, the determination unit 11 of the controller 2 acquires the interface version information 13 from the printer engine 3 (step 104). Using the acquired interface version information 13, the controller 2 The connection compatibility between the printer engine 3 and the printer engine 3 is determined according to the following steps.

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 determination unit 11 acquires suitability determination information 7 for determining information of the printer engine 3 to which the controller 2 can be connected from the first memory 6 (step 105).
2. The suitability determination information 7 may be composed of a plurality of pieces of information. At this time, any one of the suitability determination information 7 is selected (step 106).
3. There may also be a plurality of interface version information 13 notified from the printer engine 3. At this time, one arbitrary version information 13 is selected from the plurality of interface version information 13 (step 107).
4). Next, the determination unit 11 compares the interface version information 13 of the printer engine 3 selected as described above with the compatibility determination information 7 (step 108). The flowchart for comparison is as shown in FIG.

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 determination unit 11 determines whether the Major Interface Version is the same based on the interface version information 13 as shown in FIG. 2 (step 201). If the Major Interface Version does not match, it is determined that the compatibility determination information 7 that is currently compared and the interface information 13 of the printer engine 3 do not have upward compatibility (compatibility) (step 202). For this reason, the comparison with any more relevant information is stopped.
4-2 On the other hand, if the determination unit 11 determines that the Major Interface Version matches, the determination unit 11 next determines whether the Minor Interface Version matches (Step 203).
4-3. If the Minor Interface Version matches and the version number completely matches, the determination unit 11 determines that the version information 13 of the matched interface is the matched version because the version number is completely matched (Step S4). 204).
4-4 If the determination unit 11 determines that the interface version information 13 of the printer engine 3 is larger, the determination unit 11 sets the interface version on the controller 2 side as a compatible version (step 204).
4-5 On the other hand, if the determination unit 11 determines that the minor interface version of the printer engine 3 is smaller than the minor interface version on the controller 2 side, the interface version on the printer engine 3 side is determined as the compatible version. (Step 205).

5.このように、判断手段11は、図3に示すように、適合性があると判断した場合、互いにバージョンが同一でない限り、下位のバージョン情報を選択し、バージョン情報が下位のインターフェースに合わせて、動作を制限するようになっており(ステップ109)、決定された適合バージョンをRAM等に記録する(ステップ110)。   5). In this way, as shown in FIG. 3, when the determination unit 11 determines that there is compatibility, the determination unit 11 selects lower version information unless the versions are the same, and the version information matches the lower interface, The operation is restricted (step 109), and the determined compatible version is recorded in a RAM or the like (step 110).

6.そして、判断手段11は、プリンタエンジン3から送られてきたインターフェースのバージョン情報13についてすべて比較が終了したか否かを判別し(ステップ111)、すべてのインターフェースのバージョン情報13について比較が済んでいない場合には、ステップ107に戻り、すべてのインターフェースのバージョン情報13について比較が済んだが、まだすべての互換性の判断が終了していない場合には(ステップ112)、ステップ106に戻る。   6). Then, the determination unit 11 determines whether or not the comparison has been completed for all the interface version information 13 sent from the printer engine 3 (step 111), and the comparison has not been completed for the version information 13 for all the interfaces. In this case, the process returns to step 107, and the version information 13 of all interfaces has been compared. If all the compatibility determinations have not been completed yet (step 112), the process returns to step 106.

7.判断手段11は、適合性情報がすべて無くなるまで上記の処理を繰り返す。   7). The determination unit 11 repeats the above processing until all the compatibility information is lost.

8.その結果、判断手段11は、記録された適合バージョン情報が存在するか否かを判断し(ステップ113)、記録された適合バージョン情報が存在する場合は、最も適したバージョン情報を選択する(ステップ114)。また、記録された適合バージョン情報が存在しない場合は、動作を停止して(ステップ115)、必要に応じてその旨を表示する。   8). As a result, the determination unit 11 determines whether or not the recorded compatible version information exists (step 113). If the recorded compatible version information exists, the most appropriate version information is selected (step 113). 114). If the recorded compatible version information does not exist, the operation is stopped (step 115), and this is displayed as necessary.

ここで、判断手段11は、記録された適合バージョン情報が複数存在する場合は、最適なインターフェースのバージョン情報を選択する。この最適なインターフェースのバージョン情報としては、最も新しいバージョン情報か、マイナーなバージョン情報が大きいものか、無作為に選択されたバージョン情報のいずれかが選択される。   Here, when there are a plurality of recorded compatible version information, the determination unit 11 selects the version information of the optimum interface. As the version information of the optimum interface, any of the latest version information, the minor version information is large, or the version information selected at random is selected.

次に、以上の動作を、プリンタエンジン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 version information 13 of the interface on the printer engine 3 side and the compatibility determination information 7 on the controller 2 side. . Here, as the version information 13 of the interface on the printer engine 3 side, there are two version information 1.5 and 2.2 as shown in FIG. 6, and the compatibility determination information 7 on the controller 2 side is as follows: There are two version information, 1.3 and 2.3.

まず、コントローラ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 controller 2 acquires interface version information 13 from the printer engine 3 (step 301). Here, (1.5) and (2.2) are acquired as the version information 13 of the interface of the printer engine 3 as shown in FIG. Further, the controller 2 acquires (1.3) and (2.3) as the interface suitability determination information 7.

ここで、取得したプリンタエンジン2のインターフェースのバージョン情報13は2つ、コントローラ2自身が持っている適合性判断情報7も2つであるため、合計4つの組み合わせが比較対象となる。   Here, since the acquired version information 13 of the interface of the printer engine 2 is two and the compatibility determination information 7 held by the controller 2 itself is also two, a total of four combinations are comparison targets.

基本的な動作を示す図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 suitability judgment information 7. Here, first, for example, (1.3) is selected as the suitability determination information 7 (step 302). Next, one version information 13 is also selected from the interface version information 13 (step 303). Here, for example, (1.5) is selected. When the two version information (numbers) are compared according to the flowchart shown in FIG. 5, the compatible interface version is (1.3) (step 304).

続いて、プリンタエンジン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 version information 13 of the interface of the printer engine 2 (step 305), and the interface version (2.2) is compared with the suitability determination information (1.3). To do. In this case, since the version of Major is different, it is determined that there is no conforming version (step 306). Similarly, as a result of comparing the next compatible information (2.3) with the interface version information (1.5), it is determined that there is no compatible interface version (steps 307 to 309). Further, as a result of selecting the compatibility determination information (2.3) and the interface version information (2.2), the compatible interface version information (2.2) is obtained (steps 310 to 311). In this case, since (1.3) and (2.2) are found as the compatible interface version information, finally, one of the optimum interface version information is selected from both (step 312). .

最適なインターフェースバージョン情報を選択するための方法は、いくつか考えられる。例えば、適合インターフェースバージョンのうち大きい方を選択した場合は、(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 interface version information 13 of the printer engine 3 and the compatibility determination information 7 is small, the sum of the differences between the interface version (2.2) of the printer engine 2 and the compatibility determination information (2.3). Minor Version O.D. Since the difference of 1 is the smallest, it becomes the compatible interface version (2.2). Also, if it is assumed that the interface version information (1.3) is newer than the interface version information (2.2) in advance, it is selected if the newer version information is selected. The version information is (1.3). Here, the sum of the differences between the interface version (2.2) of the printer engine 2 and the compatibility determination information (2.3) is the difference between MajorVersions and MinorVersions as shown in FIG. It means obtaining the sum of these differences.

図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 version 1 to be compared and version 2 to be compared match with (1.0), both the Major number and the Minor number match. Have.

また、比較されるバージョン1が(1.1)で、比較されるバージョン2が(1.2)である場合は、Major番号が互いに一致しているが、Minor番号が比較バージョン2の方が大きいため、当該比較バージョン2の方が比較バージョン1に対して上位互換性を有しており、1.1のバージョンで互いに接続可能である。   If the version 1 to be compared is (1.1) and the version 2 to be compared is (1.2), the Major numbers match each other, but the Minor number is the comparison version 2 Since it is larger, the comparison version 2 has higher compatibility with the comparison version 1 and can be connected to each other with the version 1.1.

逆に、比較されるバージョン1が(1.2)で、比較されるバージョン2が(1.1)である場合は、Major番号が互いに一致しているが、Minor番号が比較バージョン1の方が大きいため、当該比較バージョン1の方が比較バージョン2に対して上位互換性を有しており、上記の場合と同じく、1.1のバージョンで互いに接続可能である。   Conversely, if the version 1 to be compared is (1.2) and the version 2 to be compared is (1.1), the Major numbers are the same, but the Minor number is the comparison version 1. Therefore, the comparison version 1 has higher compatibility with the comparison version 2 and can be connected to each other with the version 1.1 as in the above case.

さらに、比較されるバージョン1が(1.2)で、比較されるバージョン2が(2.2)である場合は、Major番号が相違するため、互換性はない。   Further, when the version 1 to be compared is (1.2) and the version 2 to be compared is (2.2), the Major numbers are different, so there is no compatibility.

同様に、比較されるバージョン1が(2.0)で、比較されるバージョン2が(1.0)である場合は、Major番号が相違するため、互換性はない。   Similarly, if the version 1 to be compared is (2.0) and the version 2 to be compared is (1.0), the Major numbers are different, so there is no compatibility.

これに対して、比較されるバージョン1が(2.1)で、比較されるバージョン2が(2.0)である場合は、Major番号が同じで、Minor番号が比較バージョン1の方が大きいため、当該比較バージョン1の方が比較バージョン2に対して上位互換性を有しており、2.0のバージョンで互いに接続可能である。   On the other hand, when the version 1 to be compared is (2.1) and the version 2 to be compared is (2.0), the Major number is the same, and the Minor number is higher in the comparison version 1. Therefore, the comparison version 1 has upward compatibility with the comparison version 2 and can be connected to each other with the version 2.0.

また、比較されるバージョン1が(3.0)で、比較されるバージョン2が(1.1)である場合は、Major番号が相違するため、互換性はない。   Further, when the version 1 to be compared is (3.0) and the version 2 to be compared is (1.1), the Major numbers are different, so there is no compatibility.

同様に、比較されるバージョン1が(3.1)で、比較されるバージョン2が(2.0)である場合も、Major番号が相違するため、互換性はない。   Similarly, when the version 1 to be compared is (3.1) and the version 2 to be compared is (2.0), the Major numbers are different, so there is no compatibility.

一方、比較されるバージョン1が(3.2)で、比較されるバージョン2が(3.4)である場合は、Major番号が同じで、Minor番号が比較バージョン2の方が大きいため、当該比較バージョン2の方が比較バージョン1に対して上位互換性を有しており、3.1のバージョンで互いに接続可能である。   On the other hand, when the version 1 to be compared is (3.2) and the version 2 to be compared is (3.4), the Major number is the same, and the Minor number is larger in the comparison version 2, so Comparison version 2 has upward compatibility with comparison version 1 and can be connected to each other in version 3.1.

このように、上記実施の形態によれば、プリンタドライバ等のソフトウエアのバージョン情報が頻繁に更新された場合であっても、プリンタエンジンのインターフェースのバージョン情報に基づいて、互いに接続されたコントローラ2とプリンタエンジン3との接続互換性を確実に判断することができ、コントローラ2側で相互接続を強制的に拒否したり、正常に動作するかどうかの保障をユーザーに委ねることがなく、コントローラ2とプリンタエンジン3との間の確実な動作を判断することが可能となる。   As described above, according to the above embodiment, the controller 2 connected to each other based on the version information of the interface of the printer engine, even when the version information of the software such as the printer driver is frequently updated. And the printer engine 3 can be reliably determined, and the controller 2 does not forcibly refuse the mutual connection on the controller 2 side or leave the guarantee of normal operation to the user. And a reliable operation between the printer engine 3 and the printer engine 3 can be determined.

なお、上記コントローラ2とプリンタエンジン3については、当然のことながら物理的に接続可能なことが保証され、情報を交換するための最低限の通信は行えるものとする。また、プリンタエンジン3は、インターフェースバージョン取得要求を明示的に受けなくとも、インターフェースが接続されたことを認識した時点でコントローラ2側にインターフェースバージョンを送信するように構成されたものであっても勿論構わない。   It should be noted that the controller 2 and the printer engine 3 are of course guaranteed to be physically connectable and can perform minimum communication for exchanging information. Further, the printer engine 3 may be configured to transmit the interface version to the controller 2 when it recognizes that the interface is connected without explicitly receiving an interface version acquisition request. I do not care.

図1はこの発明の実施の形態1に係る接続互換性判断装置及び判断方法を適用した画像形成装置としてのプリンタを示す概念図である。FIG. 1 is a conceptual diagram showing a printer as an image forming apparatus to which a connection compatibility determination device and determination method according to Embodiment 1 of the present invention are applied. 図2はインターフェースのバージョン情報を示す説明図である。FIG. 2 is an explanatory diagram showing interface version information. 図3はこの発明の実施の形態1に係る接続互換性判断装置及び判断方法を適用した画像形成装置としてのプリンタの動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of a printer as an image forming apparatus to which the connection compatibility determination device and determination method according to Embodiment 1 of the present invention is applied. 図4はバージョン情報を取得及び送信するメッセージを示す説明図である。FIG. 4 is an explanatory diagram showing a message for acquiring and transmitting version information. 図5はバージョン情報の適合性を判断するための動作を示すフローチャートである。FIG. 5 is a flowchart showing an operation for determining the suitability of version information. 図6はバージョン情報の具体例を示す説明図である。FIG. 6 is an explanatory diagram showing a specific example of version information. 図7はバージョン情報の具体例の適合性を判断するための動作を示すフローチャートである。FIG. 7 is a flowchart showing an operation for determining suitability of a specific example of version information. 図8はバージョン情報の比較方法を示す説明図である。FIG. 8 is an explanatory diagram showing a comparison method of version information. 図9はバージョン情報の具体的な比較例を示す図表である。FIG. 9 is a chart showing a specific comparative example of version information. 図10は従来のプリンタ等の機器における接続互換性を示す説明図である。FIG. 10 is an explanatory diagram showing connection compatibility in a conventional device such as a printer.

符号の説明Explanation of symbols

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)

互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断装置において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置。
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.
前記インターフェースのバージョン情報が、前記インターフェースに付されたバージョンの番号であることを特徴とする請求項1に記載の接続互換性判断装置。 The connection compatibility determination device according to claim 1, wherein the version information of the interface is a version number assigned to the interface. 前記記憶手段には、インターフェースの適合性判断情報として、複数のインターフェースのバージョン番号が記憶されていることを特徴とする請求項2に記載の接続互換性判断装置。 The connection compatibility determination device according to claim 2, wherein the storage means stores version numbers of a plurality of interfaces as interface compatibility determination information. 前記取得手段を有する装置に接続された装置は、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段を有していることを特徴とする請求項1に記載の接続互換性判断装置。 The connection compatibility determination device according to claim 1, wherein the device connected to the device having the acquisition unit includes a transmission unit that transmits interface version information to an external device. . 前記取得手段を有する装置に接続された装置は、インターフェースのバージョン情報を複数有していることを特徴とする請求項4に記載の接続互換性判断装置。 5. The connection compatibility determination device according to claim 4, wherein the device connected to the device having the acquisition unit has a plurality of interface version information. 互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断装置において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得手段と、
前記取得手段を有する装置に接続された装置に設けられ、外部の装置に対して、インターフェースのバージョン情報を送信する送信手段と、
前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を記憶した記憶手段と、
前記取得手段によって取得されたインターフェースのバージョン情報と、前記記憶手段に記憶されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断手段とを備えたことを特徴とする接続互換性判断装置。
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.
前記判断手段が、複数のインターフェースのバージョン情報が接続互換性を有すると判断した場合には、そのうち最適なインターフェースのバージョン情報を利用して接続を行うことを特徴とする請求項6に記載の接続互換性判断装置。 7. The connection according to claim 6, wherein when the determination unit determines that the version information of a plurality of interfaces has connection compatibility, the connection is performed using the version information of the optimum interface among them. Compatibility judgment device. 前記判断手段は、最も大きいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置。 The connection compatibility determination device according to claim 7, wherein the determination unit selects the largest version information as version information of an optimal interface. 前記判断手段は、互いに通信可能に接続された少なくとも2つの装置間で、最もバージョン情報の間で差が少ないものを最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The determination unit according to claim 7, wherein the determination unit selects, as the version information of the optimum interface, the one having the smallest difference between the version information between at least two apparatuses communicably connected to each other. Connection compatibility judgment device. 前記判断手段は、複数に区切られたバージョン情報毎に重み付けした差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The connection compatibility determination apparatus according to claim 7, wherein the determination unit selects a version having a small sum of differences weighted for each of pieces of version information divided into a plurality of pieces as optimal interface version information. 前記判断手段は、複数に区切られたバージョン情報毎の差分の和が小さいものを、最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The connection compatibility determination device according to claim 7, wherein the determination unit selects a version having a small sum of differences for each piece of version information divided into a plurality of pieces as optimal interface version information. 前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The determination unit according to claim 7, wherein the determination unit selects version information that is the version information of a control-side device and that has the highest priority among at least two devices that are communicably connected to each other. Connection compatibility judgment device. 前記判断手段は、互いに通信可能に接続された少なくとも2つの装置のうち、被制御側の装置のバージョン情報であって、最も優先されるバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The determination unit according to claim 7, wherein the determination unit selects version information that is the version information of a controlled-side device and that has the highest priority among at least two devices that are communicably connected to each other. Connection compatibility judgment device. 前記判断手段は、最も新しいバージョン情報を最適なインターフェースのバージョン情報として選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The connection compatibility determination device according to claim 7, wherein the determination unit selects the latest version information as the version information of the optimum interface. 前記判断手段は、マイナーなバージョン情報が大きいもの選択することを特徴とする請求項7に記載の接続互換性判断装置。 The connection compatibility determination device according to claim 7, wherein the determination unit selects a larger version of minor version information. 前記判断手段は、最適なバージョン情報が複数ある場合には、その中から無作為にバージョン情報を選択することを特徴とする請求項7に記載の接続互換性判断装置。 8. The connection compatibility determination device according to claim 7, wherein when there are a plurality of optimum version information, the determination unit randomly selects version information from the plurality of version information. 互いに通信可能に接続された少なくとも2つの装置間の接続互換性を判断する接続互換性判断方法において、
装置のバージョン情報と当該装置が外部の装置と通信を行うためのインターフェースのバージョン情報を個別に有する外部の装置から、インターフェースのバージョン情報を取得する取得ステップと、
予め記憶された前記インターフェースのバージョン情報の適合性を判断するための適合性判断情報を読み出す読出ステップと、
前記取得ステップによって取得されたインターフェースのバージョン情報と、前記読出ステップによって読み出されたインターフェースの適合性判断情報に基づいて、互いに接続された装置間の接続互換性を判断する判断ステップとを備えたことを特徴とする接続互換性判断方法。
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.
JP2003329908A 2003-09-22 2003-09-22 Connection interchangeability judging apparatus and judging method Withdrawn JP2005096111A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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