[go: up one dir, main page]

JP3221340B2 - Extended input device control method - Google Patents

Extended input device control method

Info

Publication number
JP3221340B2
JP3221340B2 JP35622096A JP35622096A JP3221340B2 JP 3221340 B2 JP3221340 B2 JP 3221340B2 JP 35622096 A JP35622096 A JP 35622096A JP 35622096 A JP35622096 A JP 35622096A JP 3221340 B2 JP3221340 B2 JP 3221340B2
Authority
JP
Japan
Prior art keywords
data
application
control
input device
extended input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35622096A
Other languages
Japanese (ja)
Other versions
JPH10187577A (en
Inventor
徳之 末盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP35622096A priority Critical patent/JP3221340B2/en
Publication of JPH10187577A publication Critical patent/JPH10187577A/en
Application granted granted Critical
Publication of JP3221340B2 publication Critical patent/JP3221340B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置に接
続される拡張装置の制御方式に関し、特に、小型コンピ
ュータ、例えばエンジニアリングワークステーション等
の情報処理装置に設けたRS−232Cインタフェース
を介して接続する拡張入力装置であるコントロールダイ
ヤル制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method of an extension device connected to an information processing apparatus, and more particularly, to a control method of an expansion apparatus connected to an information processing apparatus such as a small computer, for example, an engineering workstation. The present invention relates to a control dial control system which is an extended input device.

【0002】[0002]

【従来の技術】小型コンピュータ、例えばエンジニアリ
ングワークステーション、パーソナルコンピュータ等の
情報処理装置において、例えばRS−232Cインタフ
ェースを介して接続する拡張入力装置に対する制御は、
通常、コンピュータ側の基本ソフトウェアには実装され
ておらず、このため情報処理装置で実行される各アプリ
ケーション毎に制御する必要があった。なお、RS(re
comended standard)−232Cは、コンピュータ同士
やコンピュータと周辺装置を接続してデータを交換する
ためのインタフェース規格(データ端末装置DTEと回
線終端装置DCE間の物理インタフェース)であり米国
電子工業会(EIA)が定めたシルアルインタフェース
である。
2. Description of the Related Art In an information processing apparatus such as a small computer, for example, an engineering workstation or a personal computer, control of an extended input device connected via, for example, an RS-232C interface is performed by:
Usually, it is not implemented in the basic software on the computer side, and therefore, it is necessary to control each application executed in the information processing apparatus. Note that RS (re
232C is an interface standard (physical interface between the data terminal device DTE and the line termination device DCE) for exchanging data by connecting computers or a computer and a peripheral device, and is an Electronic Industries Association (EIA). This is a serial interface defined by.

【0003】この従来の方式では、各アプリケーション
において、拡張入力装置への制御を行う必要が生じ、こ
れに伴い、他の標準入力装置(キーボード、マウス等)
との処理分岐が必要となり、プログラミングの処理記述
が、煩雑になるという傾向があった。
In this conventional system, it is necessary for each application to control an extended input device, and accordingly, other standard input devices (keyboard, mouse, etc.) are required.
Therefore, there is a tendency that the process description of programming becomes complicated.

【0004】図4に、従来のシステムの構成の一例を示
す。図4を参照すると、クライアント装置であるエンジ
ニアリングワークステーション(EWS)とRS−23
2Cインタフェースを介して接続される、拡張入力装置
であるコントロールダイヤル40に対する制御は、Xウ
ィンドウ(X Window)サーバ20には実装されてい
ないため、アプリケーション10は、Xウィンドウシス
テム(X WindowSystem)イベント処理部11に加え
て、コントロールダイヤル制御部12を備えている。
FIG. 4 shows an example of the configuration of a conventional system. Referring to FIG. 4, an engineering workstation (EWS), which is a client device, and an RS-23
Since the control for the control dial 40, which is an extended input device, connected via the 2C interface is not implemented in the X Window server 20, the application 10 executes the X Window System event processing. A control dial control unit 12 is provided in addition to the unit 11.

【0005】アプリケーション10のXウィンドウシス
テムイベント処理部11は、Xウィンドウサーバ20に
対して、Xウィンドウイベントの懇請、及びXウィンド
ウイベントの受信処理を行う。またアプリケーション1
0のコントロールダイヤル制御プログラム12は、コン
トロールダイヤル40に対するイネーブル制御を実行
し、コントロールダイヤル40に対する操作の発生を待
ち、コントロールダイヤル40において操作が発生した
場合、アプリケーションプログラム10に組み込まれた
制御プログラム12が、ダイヤルデータを受信する。な
おXウィンドウ(X Window System)は、米国マサ
チューセッツ工科大学(MIT)のAthenaプロジェク
トが開発したマルチウィンドウ表示ソフトウェアであっ
て、ユーザインタフェース構築の基盤となるソフトウェ
アであり、「OSF/Motif」、「OPEN LO
OK」などのグラフィカルユーザインタフェース(GU
I)を実現する。
[0005] The X window system event processing unit 11 of the application 10 performs an X window event solicitation and an X window event reception process with respect to the X window server 20. Application 1
0, the control dial control program 12 executes enable control for the control dial 40, waits for an operation to be performed on the control dial 40, and when an operation occurs for the control dial 40, the control program 12 incorporated in the application program 10 And receive dial data. The X Window System is a multi-window display software developed by the Athena project of the Massachusetts Institute of Technology (MIT) in the United States. LO
OK ”and other graphical user interfaces (GU
Implement I).

【0006】図4に示した従来のシステムにおいては、
アプリケーション10において、コントロールダイヤル
40からのデータの受信は、イベント(Xウィンドウイ
ベント)とはならず、アプリケーション10側では、X
ウィンドウイベントとコントロールダイヤル40からの
受信データとを分岐させて処理する必要があり、処理が
複雑、及び煩雑となる。
In the conventional system shown in FIG.
In the application 10, reception of data from the control dial 40 does not become an event (X window event).
It is necessary to branch and process the window event and the data received from the control dial 40, which makes the processing complicated and complicated.

【0007】[0007]

【発明が解決しようとする課題】上記したように、従来
の方式においては、下記記載の問題点を有している。
As described above, the conventional system has the following problems.

【0008】(1)第1の問題点は、本来、依存すべき
ではない拡張入力装置の接続状態にアプリケーションが
依存してしまう、ということである。一例として、拡張
入力装置が未接続等の場合、また操作中の拡張入力装置
のハードウェア障害(例えば電源不備等)等にアプリケ
ーションの処理が依存することになる。
(1) The first problem is that the application depends on the connection state of the extended input device which should not originally depend on it. As an example, when the extension input device is not connected or the like, or when the extension input device is being operated, the processing of the application depends on a hardware failure (for example, insufficient power supply).

【0009】その理由は、アプリケーションに組み込ま
れる制御プログラムで、拡張入力装置に対するイネーブ
ル/ディセーブル、受信データの読み込み等の制御を行
う方式とされている、ことによる。
The reason is that a control program incorporated in an application is used to control enable / disable of an extended input device, read of received data, and the like.

【0010】特に、拡張入力装置からの受信データの読
み込みについては、装置側のハードウェア障害等の影響
を、データ受信中のアプリケーションが直接受けてしま
うため、アプリケーション自体の信頼性が損なわれてし
まう。
In particular, when reading received data from an extended input device, the application receiving the data is directly affected by a hardware failure on the device side, so that the reliability of the application itself is impaired. .

【0011】(2)第2の問題点は、アプリケーション
が複数プラットフォームに実装される場合、アプリケー
ション自体のポータビリティ(移植性)を非常に損な
う、ということである。
(2) The second problem is that when the application is implemented on a plurality of platforms, the portability (portability) of the application itself is greatly impaired.

【0012】その理由は、上述のような拡張入力装置へ
の制御をアプリケーションにより個別に行うことで、プ
ラットフォームに依存する部分がプログラム中に埋め込
まれることとなり、他のプラットフォームへの移行の際
に、各プラットフォーム毎にアプリケーションを修正す
ることが必要とされる、ことになるためである。
[0012] The reason is that by controlling the above-mentioned extended input device individually by an application, a platform-dependent portion is embedded in a program, and when shifting to another platform, This will require modifying the application for each platform.

【0013】その結果、別プラットフォームへの移行時
の修正範囲も大きくなり、作業工数が増大し、アプリケ
ーションの生産性/保守性の点からも、好ましくない。
As a result, the range of correction when shifting to another platform is increased, the number of man-hours is increased, and it is not preferable from the viewpoint of application productivity / maintenance.

【0014】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、パーソナルコン
ピュータ、エンジニアリングワークステーション等の情
報処理装置に設けた例えばRS−232Cインタフェー
スに接続される拡張入力装置の制御において、アプリケ
ーション中の装置制御部を分離することにより、アプリ
ケーションのポータビリティ、及び生産性、更に保守性
の向上を達成する制御方式を提供することにある。
SUMMARY OF THE INVENTION Accordingly, the present invention has been made in view of the above problems, and has as its object to provide an extension connected to, for example, an RS-232C interface provided in an information processing apparatus such as a personal computer or an engineering workstation. It is an object of the present invention to provide a control method for controlling an input device by separating a device control unit in an application to improve portability, productivity, and maintainability of the application.

【0015】[0015]

【課題を解決するための手段】前記目的を達成するた
め、本発明の制御方式は、情報処理装置に設けられたR
S−232C等所定のインタフェースを介して接続する
拡張入力装置の制御方式において、該拡張入力装置のイ
ネーブル/ディセーブル制御を行うと共に、前記拡張入
力装置からのデータを受信し、前記拡張入力装置からの
データを懇請しているアプリケーションに、該受信デー
タを配送する制御手段を、前記アプリケーションとは分
離して設けたことを特徴とする。
In order to achieve the above object, a control method according to the present invention uses an R system provided in an information processing apparatus.
In a control method of an extended input device connected via a predetermined interface such as S-232C, enable / disable control of the extended input device is performed, data from the extended input device is received, and data from the extended input device is received. A control means for distributing the received data to an application which is soliciting the data of the above is provided separately from the application.

【0016】また、本発明は、クライアント装置がサー
バ装置に対してイベントの懇請を行い前記サーバ装置か
らメッセージイベントを受信するシステムにおいて、前
記クライアント装置には所定のインタフェースを介して
拡張装置が接続され、前記拡張装置のイネーブル/ディ
セーブル制御を行うと共に、前記拡張装置からのデータ
を受信し、前記拡張装置からのデータを懇請している前
記クライアント装置上のアプリケーションに対して該受
信データの配送を制御する制御手段を前記アプリケーシ
ョンとは独立して備え、前記クライアント装置上のアプ
リケーションが前記拡張装置からのデータ入力を要請す
る際に、前記アプリケーションは前記サーバ装置に対し
てイベント懇請を行い、前記制御手段が前記拡張装置か
らデータを受信した際、前記制御手段は前記サーバ装置
に前記受信データを配送し、前記クライアント装置の前
記アプリケーションは前記サーバ装置からのメッセージ
イベントにて前記受信データを受け取る、ことを特徴と
する。
According to the present invention, in a system in which a client device solicits an event from a server device and receives a message event from the server device, an extension device is connected to the client device via a predetermined interface. Performing enable / disable control of the expansion device, receiving data from the expansion device, and distributing the received data to an application on the client device soliciting data from the expansion device. A control means for controlling is provided independently of the application, and when an application on the client device requests data input from the extension device, the application performs an event solicitation to the server device, and Means for receiving data from the expansion device Here, the control means delivers the received data to the server device, the application of the client device receives the received data in a message event from the server apparatus, it is characterized.

【0017】また、本発明のコントロールダイヤル制御
プログラムは、ワークステーション等の情報処理装置に
設けられたRS−232C等所定のインタフェースを介
して接続するコントロールダイヤルなどの拡張入力装置
を制御するための制御プログラムであって、前記拡張入
力装置のイネーブル/ディセーブル制御を行うと共に、
前記拡張入力装置からのデータを受信し、前記拡張入力
装置からのデータを懇請している前記情報処理装置上の
アプリケーションに対して該受信データを配送する手段
を備え、前記アプリケーションとは分離独立して配設さ
れる、ことを特徴とする。
Further, the control dial control program of the present invention provides a control for controlling an extended input device such as a control dial connected via a predetermined interface such as RS-232C provided in an information processing device such as a workstation. A program for enabling / disabling the extended input device;
Means for receiving data from the extended input device and delivering the received data to an application on the information processing device that is soliciting data from the extended input device, separately and independently from the application It is characterized by being arranged.

【0018】[0018]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、その好ましい実施の形態におい
て、情報処理装置とRS−232C等の所定のインタフ
ェースを介して接続される拡張入力装置の制御を行う制
御プログラムをアプリケーションと独立して備えたこと
を特徴としたものであり、制御プログラムは、拡張入力
装置からの受信データを懇請しているアプリケーション
に対して、受信データを配送する。
Embodiments of the present invention will be described below. In a preferred embodiment of the present invention, a control program for controlling an extended input device connected to a data processing device via a predetermined interface such as RS-232C is provided independently of an application. The control program distributes the received data to the application that is seeking the received data from the extended input device.

【0019】より詳細には、制御プログラム(図1の3
0)は、拡張入力装置に対するイネーブル/ディセーブ
ル等の制御、および受信データの読み込み、及び、この
受信データを拡張入力装置からのデータを懇請している
アプリケーションへ配送する手段を有する。
More specifically, the control program (3 in FIG. 1)
0) has control means such as enable / disable for the extended input device, reads received data, and distributes the received data to an application which is soliciting data from the extended input device.

【0020】データが配送されるアプリケーションは、
同時に1つに対してのみ配送可能とされ、制御プログラ
ムは、受信データを懇請するアプリケーションをその監
視下におくことで、配送先アプリケーションの選択を行
う。
The application to which the data is delivered is:
At the same time, it is possible to deliver to only one of them, and the control program selects an application to be delivered by keeping an application for soliciting received data under its monitoring.

【0021】本発明の実施の形態においては、上記制御
プログラムにより、拡張入力装置の制御を行うことで、
アプリケーションにおいて、拡張入力装置に対するデー
タ受信懇請及び拡張入力装置からのデータ受信手続き
は、キーボード等、他の標準の入力装置と同様の処理記
述となるため、アプリケーション中の修正範囲を極力抑
えることが可能となる。
In the embodiment of the present invention, by controlling the extended input device by the control program,
In the application, the procedure for soliciting data reception from the extended input device and receiving data from the extended input device is the same as the processing description of other standard input devices such as a keyboard, so the modification range in the application can be minimized. Becomes

【0022】また本発明の実施の形態においては、仮に
拡張入力装置で何らかの障害が発生した場合でも、制御
プログラムとアプリケーションとは独立しているため、
拡張入力装置からの受信データが配送されないこと以
外、アプリケーションは全く独立して動作を継続するこ
とができる。
In the embodiment of the present invention, the control program and the application are independent even if some trouble occurs in the extended input device.
The application can continue to operate completely independently, except that no data received from the extended input device is delivered.

【0023】このように、本発明の実施の形態において
は、アプリケーション側で拡張入力装置からのデータ受
信懇請/データ受信手続きは、他の標準入力装置と同様
の処理記述となるため、アプリケーションのポータビリ
ティを損なうことなく他のプラットフォームへの移行が
可能となり、アプリーションのポータビリティの確保、
保守性の向上が見込める。
As described above, in the embodiment of the present invention, the procedure for soliciting / receiving data from the extended input device on the application side has the same processing description as that of the other standard input devices. Can be migrated to other platforms without compromising, ensuring application portability,
Improved maintainability can be expected.

【0024】また、制御プログラムからアプリケーショ
ンに送信されるデータは、制御プログラム内のデータ変
換部にて要求されるデータに変換されるため、拡張入力
装置の操作性の向上を実現できる。すなわち拡張入力装
置から受信したデータを変換することで、例えば微少デ
ータの削除、配送データ単位の変更等が可能となり、ア
プリケーション側の操作性の向上が望める。
Further, since data transmitted from the control program to the application is converted into data required by a data conversion unit in the control program, operability of the extended input device can be improved. That is, by converting the data received from the extension input device, for example, it is possible to delete minute data, change the delivery data unit, etc., and it is expected that operability on the application side can be improved.

【0025】[0025]

【実施例】本発明の実施の形態について更に詳細に説明
すべく、本発明の実施例について図面を参照して詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to explain the embodiments of the present invention in more detail, embodiments of the present invention will be described in detail with reference to the drawings.

【0026】図1は、本発明の一実施例の構成を示す図
である。図1を参照すると、本発明の一実施例におい
て、制御プログラム30は、RS−232Cインタフェ
ースに接続されたコントロールダイヤル40の変位を監
視し、コントロールダイヤル40からの受信データを懇
請しているアプリケーション10に対し、データ配送を
行う。
FIG. 1 is a diagram showing the configuration of one embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a control program 30 monitors a displacement of a control dial 40 connected to an RS-232C interface, and sends an application 10 requesting data received from the control dial 40. , Data delivery is performed.

【0027】すなわち、制御プログラム30は、コント
ロールダイヤル40に対するイネーブル制御を実行し、
コントロールダイヤル40に対する操作の発生を待つ。
That is, the control program 30 executes enable control for the control dial 40,
Wait for an operation on the control dial 40 to occur.

【0028】コントロールダイヤル40において操作が
発生した場合、制御プログラム30は、ダイヤルデータ
を受信し、コントロールダイヤル40からの受信データ
を、懇請しているアプリケーションまで、Xウィンドウ
(X Window)サーバ20を経由して、データ配送を
完了する。
When an operation occurs on the control dial 40, the control program 30 receives the dial data, and transmits the received data from the control dial 40 to the solicited application via the X Window server 20. To complete the data delivery.

【0029】アプリケーション10では、配送されたダ
イヤルデータを、他の標準入力装置と同様に、取り込む
処理を実行する。
The application 10 executes a process of capturing the delivered dial data in the same manner as other standard input devices.

【0030】制御プログラム30が、ダイヤルデータを
配送するアプリケーション10は、ダイヤルデータを懇
請しているものの中で、その時点においてXウィンドウ
システム(X Window System)のウィンドウフォー
カスを所有しているものとする。
The application 10 to which the control program 30 distributes the dial data, among the ones soliciting the dial data, has the window focus of the X Window System at that time. .

【0031】また、ダイヤルデータを懇請可能なアプリ
ケーションは、Xウィンドウ(XWindow)サーバ20
のクライアントプロセスであることが前提条件となる。
An application capable of soliciting dial data is an X Window server 20.
Is a prerequisite for the client process.

【0032】次に、本発明の一実施例の動作について、
図2を参照して、詳細に説明する。図2(B)は、図2
(A)における制御プログラム30の構成及び処理を詳
細に示す図である。
Next, the operation of one embodiment of the present invention will be described.
This will be described in detail with reference to FIG. FIG.
FIG. 3A is a diagram showing the configuration and processing of the control program 30 in FIG.

【0033】制御プログラム30のコントロールダイヤ
ル制御部32は、コントロールダイヤル40に対して制
御コードを送信し、コントロールダイヤル40をイネー
ブルとし、以後コントロールダイヤル40に対する操作
を監視する。
The control dial control unit 32 of the control program 30 transmits a control code to the control dial 40, enables the control dial 40, and monitors the operation on the control dial 40 thereafter.

【0034】これと並行して、コントロールダイヤル4
0からの入力データを懇請するアプリケーション10の
登録も、要求があった時点で随時行い、登録後、制御プ
ログラム30の監視下におく。
At the same time, the control dial 4
Registration of the application 10 for soliciting input data from 0 is also performed as required at the time of request, and after registration, the application 10 is placed under monitoring of the control program 30.

【0035】人為的な操作の発生により、コントロール
ダイヤル40からのデータを受信した後、制御プログラ
ム30によるデータ変換を行う。変換時、制御プログラ
ム30に対し設定してある変換パラメータに従い、デー
タの切り捨て、データ単位の変換を行う。
After receiving data from the control dial 40 due to an artificial operation, the control program 30 performs data conversion. At the time of conversion, data is truncated and data is converted according to the conversion parameters set in the control program 30.

【0036】最後に、配送されるアプリケーション10
を確定し、当該アプリケーションに対し、データ配送を
実行する。データの配送について、Xウィンドウシステ
ム(X Window System)のクライアントメッセージ
イベント(Client Message Event)を使用し、X
ウィンドウ(X Window)サーバ20経由で最終ター
ゲットとなるアプリケーション10に配送される。
Finally, the application 10 to be delivered
Is determined, and data delivery is executed for the application. For data delivery, use the X Window System's client message event (Client Message Event) to send X data.
The data is delivered to the application 10 that is the final target via the window (X Window) server 20.

【0037】本発明の実施例について、更に図面を参照
して詳細に説明する。図3は、本発明の一実施例のシス
テムの動作を説明するための図である。
Embodiments of the present invention will be described in further detail with reference to the drawings. FIG. 3 is a diagram for explaining the operation of the system according to the embodiment of the present invention.

【0038】図3を参照すると、本発明の実施例におい
ては、エンジニアリングワークステーション上1で実行
されるアプリケーション10と、拡張入力装置のコント
ロールダイヤル40、及びこれを制御する制御プログラ
ム30から構成される。
Referring to FIG. 3, in the embodiment of the present invention, an application 10 executed on the engineering workstation 1, a control dial 40 of an extended input device, and a control program 30 for controlling the same are provided. .

【0039】制御プログラム30は、アプリケーション
10とは独立して作動しており、拡張入力装置40の制
御を司る。
The control program 30 operates independently of the application 10 and controls the extended input device 40.

【0040】次に、本発明の実施例の動作について、図
3を参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIG.

【0041】まず、図3(A)を参照すると、アプリケ
ーション10使用開始時(ログイン時)に、制御プログ
ラム30からコントロールダイヤル40に対しイネーブ
ル制御を行う。これにより、コントロールダイヤル40
からのデータ受信が可能となり、以後、データ受信待機
の状態となる。
First, referring to FIG. 3A, at the start of use of the application 10 (at the time of login), the control program 30 performs enable control on the control dial 40. Thereby, the control dial 40
Can be received, and thereafter, it is in a state of waiting for data reception.

【0042】この時点から、制御プログラム30は、ア
プリケーション10を監視下におき、受信データ配送先
のアプリケーションの選択を行う。
At this point, the control program 30 places the application 10 under monitoring and selects an application to which the received data is to be delivered.

【0043】続いて、図3(B)を参照すると、コント
ロールダイヤル40に対して人為的操作が発生した場
合、制御プログラム30はデータを受信し、内部でのデ
ータ変換を行う。データ変換時に、変換パラメータで指
定されている最小値以下のデータの切り捨て、データ単
位の重み付け等の加工を行った後に、アプリケーション
10に向け、データを配送する。その際、配送されるデ
ータは、ダイヤル番号、変位データを1セットとして配
送される。なお、配送先のアプリケーションは動的にデ
ィスパッチングし、同時に1つのアプリケーションに対
してのみデータ配送を実行する。
Subsequently, referring to FIG. 3B, when an artificial operation is performed on the control dial 40, the control program 30 receives data and performs internal data conversion. At the time of data conversion, after performing processing such as truncation of data equal to or less than the minimum value specified by the conversion parameter and weighting in data units, the data is delivered to the application 10. At this time, the data to be delivered is delivered as one set of the dial number and the displacement data. It should be noted that the application at the delivery destination dispatches dynamically, and simultaneously executes data delivery to only one application.

【0044】最後に、図3(C)を参照すると、アプリ
ケーション10の終了(ログオフ)時、コントロールダ
イヤル40に対しディセーブル制御を行い、以後データ
は受信されない状態となる。
Finally, referring to FIG. 3C, when the application 10 ends (logs off), disable control is performed on the control dial 40, and no data is received thereafter.

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0046】(1)本発明の第1の効果は、アプリケー
ション自体のポータビリティを高めることができる、と
いうことである。これにより、複数のプラットフォーム
上への移行が可能となり、アプリケーションの生産性/
保守性の向上が望める。
(1) The first effect of the present invention is that the portability of the application itself can be improved. This will enable migration to multiple platforms and increase application productivity /
Improved maintainability can be expected.

【0047】その理由は、本発明においては、拡張入力
装置制御部を、アプリケーションから制御プログラム側
に分離することにより、装置依存部を制御プログラムに
て処理することを可能とした、ことによる。すなわち、
アプリケーションからみて装置依存部は全てブラックボ
ックス化されており、装置制御関連の一切の処理をする
必要がなくなるためである。
The reason is that in the present invention, the extended input device control unit is separated from the application to the control program side, so that the device dependent unit can be processed by the control program. That is,
This is because all the device-dependent units are black-boxed from the viewpoint of the application, and there is no need to perform any processing related to device control.

【0048】(2)本発明の第2の効果は、アプリケー
ションの標準入力装置と拡張入力装置の入力処理部を共
通化することを可能とした、ということである。本発明
は、従来、排他的であった入力処理部のデータ受信を一
元化することで、データ処理の同期性が高まり、処理の
効率化や高度なデータの時系列置換等の処理を可能とし
ている。
(2) A second effect of the present invention is that the input processing unit of the standard input device of the application and the input processing unit of the extended input device can be shared. The present invention unifies the data reception of the input processing unit, which has been conventionally exclusive, so that the synchronization of the data processing is improved, and it is possible to perform processing such as more efficient processing and advanced time-series data replacement. .

【0049】(3)本発明の第3の効果は、アプリケー
ション自体の独立性を高める、ということである。
(3) A third effect of the present invention is that the independence of the application itself is enhanced.

【0050】前述したように、従来方式では、拡張入力
装置のイネーブル/ディセーブル、受信データの読み出
し、およびエラー処理等をアプリケーションで実行する
必要があり、アプリケーションが装置の状態に依存して
しまうという弊害が発生していた。
As described above, in the conventional method, it is necessary to execute enable / disable of the extended input device, reading of received data, error processing, and the like by the application, and the application depends on the state of the device. The evil was occurring.

【0051】本発明においては、装置依存部を制御プロ
グラムに分離させることで、アプリケーションは独立し
て動作することが可能としている。
In the present invention, the application can operate independently by separating the device-dependent unit into a control program.

【0052】(4)本発明の第4の効果は、拡張入力装
置のハードウェア仕様が同一である場合、他のプラット
フォーム上でも上述の制御プログラムを実装(implimen
t)する、ことが可能である、ということである。
(4) A fourth effect of the present invention is that when the hardware specifications of the extended input device are the same, the above-described control program is implemented on other platforms (implimen).
t) to be able to do it.

【0053】また、ハードウェア仕様が異なる場合にお
いても、制御コードの変更や、データ受信部の修正等わ
ずかな修正により、実装が可能であり、また、この場合
でも、アプリケーションには、何ら修正を行う必要はな
い。
Further, even when the hardware specifications are different, it can be implemented by a slight modification such as a change of a control code or a modification of a data receiving unit. Even in this case, the application requires no modification. No need to do.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の構成を示す概念図である。FIG. 1 is a conceptual diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の一実施例の制御プログラムの構成及び
動作を説明するための図である。
FIG. 2 is a diagram for explaining the configuration and operation of a control program according to one embodiment of the present invention.

【図3】本発明の一実施例の動作を説明するための図で
ある。
FIG. 3 is a diagram for explaining the operation of one embodiment of the present invention.

【図4】従来方式を説明するための図である。FIG. 4 is a diagram for explaining a conventional method.

【符号の説明】[Explanation of symbols]

1 エンジニアリングワークステーション 10 アプリケーション 11 Xウィンドウシステムイベント処理部 20 Xウィンドウ(X Window)サーバ 30 制御プログラム 40 コントロールダイヤル DESCRIPTION OF SYMBOLS 1 Engineering workstation 10 Application 11 X window system event processing part 20 X window (X Window) server 30 Control program 40 Control dial

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】情報処理装置に設けられたRS−232C
等所定のインタフェースを介して接続する拡張入力装置
の制御方式において、 該拡張入力装置のイネーブル/ディセーブル制御を行う
と共に、前記拡張入力装置からのデータを受信し、前記
拡張入力装置からのデータを懇請しているアプリケーシ
ョンに、該受信データを配送する制御手段を、前記アプ
リケーションとは分離して設けたことを特徴とする拡張
入力装置の制御方式。
1. An RS-232C provided in an information processing apparatus.
In a control method of an extended input device connected via a predetermined interface, the extended input device is enabled / disabled, data is received from the extended input device, and data from the extended input device is transmitted. A control method for an extended input device, wherein a control means for delivering the received data to an application solicited is provided separately from the application.
【請求項2】クライアント装置がサーバ装置に対してイ
ベントの懇請を行い前記サーバ装置からメッセージイベ
ントを受信するシステムにおいて、 前記クライアント装置には所定のインタフェースを介し
て拡張装置が接続され、 前記拡張装置のイネーブル/ディセーブル制御を行うと
共に、前記拡張装置からのデータを受信し、前記拡張装
置からのデータを懇請している前記クライアント装置上
のアプリケーションに対して該受信データの配送を制御
する制御手段を前記アプリケーションとは独立して備
え、 前記クライアント装置上のアプリケーションが前記拡張
装置からのデータ入力を要請する際に、前記アプリケー
ションは前記サーバ装置に対してイベント懇請を行い、 前記制御手段が前記拡張装置からデータを受信した際、
前記制御手段は前記サーバ装置に前記受信データを配送
し、前記クライアント装置の前記アプリケーションは前
記サーバ装置からのメッセージイベントにて前記受信デ
ータを受け取る、ことを特徴とする拡張装置の制御方
式。
2. A system in which a client device solicits an event from a server device and receives a message event from the server device, wherein an extension device is connected to the client device via a predetermined interface. Control means for performing enable / disable control of the communication device, receiving data from the expansion device, and controlling delivery of the received data to an application on the client device soliciting data from the expansion device. Independently of the application, and when the application on the client device requests data input from the extension device, the application performs an event solicitation to the server device, and the control unit performs the extension. When receiving data from the device,
The control method of an extended device, wherein the control means distributes the received data to the server device, and the application of the client device receives the received data in a message event from the server device.
【請求項3】前記制御手段が、更に、前記拡張装置から
受信したデータを所望の形態に変換する変換手段を備え
たことを特徴とする請求項2記載の拡張装置の制御方
式。
3. The control method according to claim 2, wherein said control means further comprises a conversion means for converting data received from said expansion device into a desired form.
【請求項4】前記拡張装置が、コントロールダイヤルか
らなることを特徴とする請求項2記載の拡張装置の制御
方式。
4. The control method according to claim 2, wherein said extension device comprises a control dial.
JP35622096A 1996-12-25 1996-12-25 Extended input device control method Expired - Fee Related JP3221340B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35622096A JP3221340B2 (en) 1996-12-25 1996-12-25 Extended input device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35622096A JP3221340B2 (en) 1996-12-25 1996-12-25 Extended input device control method

Publications (2)

Publication Number Publication Date
JPH10187577A JPH10187577A (en) 1998-07-21
JP3221340B2 true JP3221340B2 (en) 2001-10-22

Family

ID=18447945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35622096A Expired - Fee Related JP3221340B2 (en) 1996-12-25 1996-12-25 Extended input device control method

Country Status (1)

Country Link
JP (1) JP3221340B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102828243B1 (en) 2024-09-19 2025-07-02 (주)캔탑스 Parallel input/output expansion device for equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102828243B1 (en) 2024-09-19 2025-07-02 (주)캔탑스 Parallel input/output expansion device for equipment

Also Published As

Publication number Publication date
JPH10187577A (en) 1998-07-21

Similar Documents

Publication Publication Date Title
US7685257B2 (en) Portable thin client for the enterprise workspace
US4914619A (en) Apparatus and method for interconnecting an application of a transparent services access facility to remote source
KR100343517B1 (en) Extension server communication server
US6038664A (en) Method for selecting communication access method for local area networks
US6938257B1 (en) Apparatus and method to provide persistence for application interfaces
JPH06103205A (en) Device and method for adaptor installation and computer apparatus
US20150358428A1 (en) Information processing system, information processing method, information processing apparatus, and control methods and control programs thereof
JPH10207804A (en) Dummy terminal system and dummy terminal equipment
JP3221340B2 (en) Extended input device control method
JPH1185694A (en) Server operation system
US8214744B1 (en) Integrated device interface using multiple web servers
JP3494545B2 (en) Distributed computer system, computer and distributed processing method
JPH0749819A (en) Communicating method of server/client system
JPH0581163A (en) Information processing system
JP3033651B2 (en) In-circuit emulator
JPH06214914A (en) Method for processing cooperative job among plural systems
KR100281687B1 (en) Performance specification and negotiation method in client / server system
GB2339935A (en) Eliminating multiple log-on input dialogues
JPH05244217A (en) Communication control system
JP2000069066A (en) Structure and method for sharing video processor through lan
JPH04199317A (en) Keyboard device
JP2000181851A (en) Input and output controller and inter-processor data transfer method to be used in the same
JPH08190536A (en) Inter-cluster communication instruction control method
JPH0243657A (en) Transaction processing scheduling system
JPH05158832A (en) Terminal software transfer system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010717

LAPS Cancellation because of no payment of annual fees