JPH0744298A - Input emulator - Google Patents

Input emulator

Info

Publication number
JPH0744298A
JPH0744298A JP5192099A JP19209993A JPH0744298A JP H0744298 A JPH0744298 A JP H0744298A JP 5192099 A JP5192099 A JP 5192099A JP 19209993 A JP19209993 A JP 19209993A JP H0744298 A JPH0744298 A JP H0744298A
Authority
JP
Japan
Prior art keywords
data
input
application
read
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5192099A
Other languages
Japanese (ja)
Inventor
Koujirou Takeuchi
宏次郎 竹内
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP5192099A priority Critical patent/JPH0744298A/en
Publication of JPH0744298A publication Critical patent/JPH0744298A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To obviate an application exclusively used for SE preparation by fetching data read from a medium by a driver, working the data into character data, inputting the data to the application, and performing processing of the data. CONSTITUTION:A driver 3 fetches the data read from the medium by an input device 1, and gathers the data into a certain unit. An input emulate processing 4 receives the data fetched by the driver 3, and works the data into the standardized character data. Therefore, a code read by a code reader 12 or a magnetic card reader 13 becomes the dame form as a character code read and generated from a keyboard 11 by the input emulate processing 4, the data can be directly delivered to an application 5 being a circulation application generated so that the character code can be received. Thus, any data from various kinds of input devices such as the keyboard and the bar code reader can be worked into the standardized character data, easily inputted to the application, and processed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力装置からのデータ
をエミュレートしてアプリに渡す入力エミュレータに関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input emulator that emulates data from an input device and transfers it to an application.

【0002】在庫管理、製品管理、個人ID管理など
に、それぞれバーコード、磁気カードなどを用い、これ
らからデータを画面上に表示した帳票の入力フィールド
に入力し、当該入力されたデータをそのまま流通の表計
算アプリに入力して処理を行なわせることが行われてい
る。この際、バーコード、磁気カード、更にキーボード
から入力されたデータをそのまま画面上の帳票の入力フ
ィールドに簡易な構成で入力することが望まれている。
Bar codes, magnetic cards, etc. are used for inventory management, product management, personal ID management, etc., and data from these are input to the input fields of the form displayed on the screen, and the input data are distributed as is. It is performed by inputting into the spreadsheet application of the above to perform processing. At this time, it is desired that the data input from the bar code, the magnetic card, and the keyboard be directly input to the input field of the form on the screen with a simple configuration.

【0003】[0003]

【従来の技術】従来、バーコードリーダや磁気カードリ
ーダを用いてバーコードや磁気カードのデータをアプリ
に取り込む場合、図6に示すように、バーコードリーダ
21、バーコードドライバ22およびSE作成の専用ア
プリ23を介して、業務アプリに取り込むようにしてい
た。以下図6の構成および動作を簡単に説明する。
2. Description of the Related Art Conventionally, when data of a bar code or a magnetic card is loaded into an application using a bar code reader or a magnetic card reader, as shown in FIG. 6, a bar code reader 21, a bar code driver 22 and an SE are created. It was designed to be taken into the business application via the dedicated application 23. The configuration and operation of FIG. 6 will be briefly described below.

【0004】図6は、従来技術の説明図を示す。図6に
おいて、バーコードリーダ21は、バーコードを読み取
ってコードに変換するものである。
FIG. 6 shows an explanatory view of the prior art. In FIG. 6, a bar code reader 21 reads a bar code and converts it into a code.

【0005】バーコードドライバ22は、バーコードリ
ーダ21によって読み取ったコードをある一定の単位に
まとめ、SE作成の専用アプリ23に通知するものであ
る。SE作成の専用アプリ23は、SE(システムエン
ジニア)がバーコードドライバ22からのデータを業務
アプリに渡すために専用に作成したアプリである。
The bar code driver 22 collects codes read by the bar code reader 21 into a certain unit and notifies the special application 23 for SE creation. The SE-specific application 23 is an application specially created by the SE (system engineer) to pass the data from the barcode driver 22 to the business application.

【0006】次に、動作を説明する。 (1) バーコードリーダ21が商品に張りつけたバー
コードを読み取り、コードに変換する。
Next, the operation will be described. (1) The barcode reader 21 reads the barcode attached to the product and converts it into a code.

【0007】(2) (1)でバーコードから読み取っ
て変換したコードの通知を受けたバーコードドライバ2
2がある一定の単位にまとめ、SE作成の専用アプリ2
3に通知する。
(2) The bar code driver 2 which has received the notification of the code read and converted from the bar code in (1)
Special application for SE creation 2
Notify 3.

【0008】(3) (2)で通知を受けたSE作成の
専用アプリ23が業務アプリ用に加工を行い、当該業務
アプリに渡す。データを受け取った業務アプリは、所定
の業務処理を行なう。
(3) The SE-dedicated application 23, which has been notified in (2), processes the business application and passes it to the business application. The business application that has received the data performs a predetermined business process.

【0009】[0009]

【発明が解決しようとする課題】上述したように、従
来、バーコードや磁気カードなどから読み取ったデータ
を業務アプリに渡したり、画面上に表示された帳票の入
力フィールドに入力したりする場合、SE作成の専用ア
プリ23を作成して業務アプリが受け取れるようにデー
タを加工するアプリを個別に作成する必要が生じてしま
うという問題があった。
As described above, conventionally, when data read from a bar code or a magnetic card is passed to a business application or input in an input field of a form displayed on the screen, There is a problem in that it is necessary to individually create an application 23 that creates the SE-specific application 23 and processes the data so that the business application can receive it.

【0010】本発明は、これらの問題を解決するため、
バーコードリーダや磁気カードリーダなどから入力され
たデータをエミュレートしてキーボードなどからの入力
と同じ形式の文字コードに加工し、業務アプリに直接に
入力して処理を行わせ、SE作成の専用アプリなどを不
要とすることを目的としている。
The present invention solves these problems.
Data input from a bar code reader or magnetic card reader is emulated, processed into a character code in the same format as input from a keyboard, etc. The purpose is to make apps unnecessary.

【0011】[0011]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、ドライバ
3は、入力装置1によって媒体から読み取ったデータを
取り込むものである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, the driver 3 takes in the data read from the medium by the input device 1.

【0012】入力エミュレート処理4は、ドライバ3に
よって取り込んだデータを文字データに加工するもので
ある。アプリ5は、文字データを受け取り、処理を行な
うものである。
The input emulation processing 4 is for processing the data taken in by the driver 3 into character data. The application 5 receives character data and processes it.

【0013】[0013]

【作用】本発明は、図1に示すように、ドライバ3が入
力装置1によって媒体から読み取ったデータを取り込
み、入力エミュレート処理4がこの取り込んだデータを
受け取って文字データに加工して直接にアプリ5に入力
し、入力されたアプリ5が所定の処理を行なうようにし
ている。
According to the present invention, as shown in FIG. 1, the driver 3 takes in the data read from the medium by the input device 1, and the input emulation processing 4 receives the taken-in data, converts it into character data, and directly. The application 5 is input, and the input application 5 performs a predetermined process.

【0014】この際、加工した文字データをアプリ5に
渡して画面上のアクティブなウィンドウのカーソル位置
に入力するようにしている。また、入力装置1によって
媒体から読み取ったデータとして、バーコードあるいは
磁気カードから読み取ったデータとし、当該データをキ
ーボードから入力された文字データと同一に加工するよ
うにしている。
At this time, the processed character data is passed to the application 5 and input to the cursor position of the active window on the screen. Further, the data read from the medium by the input device 1 is data read from a barcode or a magnetic card, and the data is processed in the same manner as the character data input from the keyboard.

【0015】従って、バーコードリーダ12や磁気カー
ドリーダ12などから入力されたデータをエミュレート
してキーボード11などからの入力と同じ文字データに
加工し、業務アプリに直接に入力して処理を行わせるこ
とにより、従来のSE作成の専用アプリが不要となり、
各種入力装置1からのデータを容易にアプリに入力して
処理を行わせることが可能となった。
Therefore, the data input from the bar code reader 12 or the magnetic card reader 12 is emulated to be processed into the same character data as the input from the keyboard 11 or the like, and directly input to the business application for processing. By doing so, the conventional dedicated SE creation application becomes unnecessary,
It has become possible to easily input data from the various input devices 1 to the application and perform processing.

【0016】[0016]

【実施例】次に、図1から図5を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0017】図1は、本発明の1実施例構成図を示す。
図1において、入力装置1は、各種データや文字を入力
するものであって、ここでは、キーボード11、バーコ
ードリーダ12および磁気カードリーダ13などであ
る。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, an input device 1 is for inputting various data and characters, and here is a keyboard 11, a bar code reader 12, a magnetic card reader 13, and the like.

【0018】キーボード11は、文字や英数字、記号な
どを入力するものである。バーコードリーダ12は、バ
ーコードを読み取ってコードにするものである。磁気カ
ードリーダ13は、磁気カードを読み取ってコードにす
るものである。
The keyboard 11 is for inputting characters, alphanumeric characters, symbols and the like. The barcode reader 12 reads a barcode and converts it into a code. The magnetic card reader 13 reads a magnetic card and turns it into a code.

【0019】OS(Windowsシステム)2は、オ
ペレーティングシステムであって、ここでは、いわゆる
Windows(ウインドウズ)システムというオペレ
ーティングシステムである。このOS2は、全体を統括
制御するものであり、ここでは、入力装置1から入力さ
れたコードをドライバ3に渡したりなどするものであ
る。
The OS (Windows system) 2 is an operating system, and here is an operating system called a so-called Windows system. The OS 2 controls the entire system, and here, passes the code input from the input device 1 to the driver 3.

【0020】ドライバ3は、入力装置1によって媒体か
ら読み取ったデータを取り込み、一定の単位にまとめた
りなどするものであって、キーボードドライバ31、バ
ーコードドライバ32、磁気カードドライバ33などで
ある。
The driver 3 takes in data read from the medium by the input device 1 and collects the data in a certain unit, and is a keyboard driver 31, a bar code driver 32, a magnetic card driver 33, or the like.

【0021】キーボードドライバ31は、キーボード1
1から入力されたコードを受け取り、コード変換して文
字データにしたりなどするものである。バーコードドラ
イバ32は、バーコードリーダ12によってバーコード
から読み取ったコードをまとめた一定単位のデータにま
とめたりなどするものである。
The keyboard driver 31 is the keyboard 1
The code input from 1 is received, and the code is converted into character data. The bar code driver 32 collects the codes read from the bar code by the bar code reader 12 into a fixed unit of data.

【0022】磁気カードドライバ33は、磁気カードリ
ーダ13によって磁気カードから読み取ったコードをま
とめた一定単位のデータにまとめたりなどするものであ
る。入力エミュレート処理4は、ドライバ3によって取
り込んだデータを受け取り、規格化した文字データ(例
えばキーボードから入力されてアプリ5に入力する文字
データに規格した文字データ)に加工するものである。
従って、当該入力エミュレート処理4によって、バーコ
ードや磁気カードから読み取ったコードは、キーボード
11から読み取って生成した文字コードと同一形式とな
り、この文字コードを受け取れるように作成されている
流通アプリのアプリ5に直接に渡すことが可能となる。
例えばキーボード11からかな漢字変換の入力シフト状
態(シフトキーのON、OFF、かなモード、英字モー
ド、英大モード、英小モードの状態などの全ての状態)
によって何種類かのデータ(規格化された文字データ)
にした後、アプリ5に通知する。一方、バーコードから
読み取ったデータは、入力状態に左右されず、いつも入
力されたバーコードに対応する一定のデータ(規格化さ
れた文字データ)にしてアプリ5に通知する。
The magnetic card driver 33 collects the codes read from the magnetic card by the magnetic card reader 13 into a fixed unit of data. The input emulation processing 4 receives the data captured by the driver 3 and processes it into standardized character data (for example, standardized character data that is input from the keyboard and input to the application 5).
Therefore, the code read from the bar code or the magnetic card by the input emulation processing 4 has the same format as the character code generated by reading from the keyboard 11, and the application of the distribution application created to receive this character code. It is possible to directly pass to 5.
For example, input shift state of Kana-Kanji conversion from keyboard 11 (all states such as shift key ON / OFF, Kana mode, English mode, English large mode, English small mode)
Some types of data (standardized character data)
After that, the application 5 is notified. On the other hand, the data read from the barcode is notified to the application 5 as constant data (normalized character data) corresponding to the input barcode regardless of the input state.

【0023】アプリ5は、アプリケーションプログラム
であって、流通アプリであり、各種業務処理を行なうも
のである。次に、図2を用い、バーコードから読み取っ
て規格化して文字コードに加工し、アプリ5に入力する
例をもとに、図1の構成および動作の概念を詳細に説明
する。
The application 5 is an application program, which is a distribution application, and performs various business processes. Next, with reference to FIG. 2, the concept of the configuration and operation of FIG. 1 will be described in detail based on an example in which the barcode is read, standardized, processed into a character code, and input to the application 5.

【0024】図2において、S1は、バーコードリーダ
12がバーコードを読み取ってコードを生成する。S2
は、バーコードドライバ32がS1で読み取ったコード
を受け取り、まとめて一定単位のデータにし、バッファ
に格納するS3は、データ受信部41、データ加工部4
2、およびデータ送信部43によってデータを受け取
り、加工し、アプリ5に送信するものであって、S31
からS33の処理を行なう。
In FIG. 2, in S1, the barcode reader 12 reads the barcode and generates a code. S2
Receives the code read by the barcode driver 32 in S1, collects the data into a certain unit of data, and stores it in a buffer. In S3, the data receiving unit 41 and the data processing unit 4
2, the data is received by the data transmission unit 43, processed, and transmitted to the application 5, and S31
Through S33 are performed.

【0025】S31は、データ受信部41がリードをバ
ーコードドライバ32に発行し、バッファ中のまとめた
データを受信(リード)する。S32は、データ加工部
42がS31で受信(リード)したデータ(コード)
を、規格化した文字データに加工する(図5の(a)参
照)。
In S31, the data receiving unit 41 issues a read to the bar code driver 32, and receives (reads) the combined data in the buffer. In S32, the data (code) received (read) by the data processing unit 42 in S31.
Is processed into standardized character data (see (a) of FIG. 5).

【0026】S33は、データ送信部43がS32で加
工した規格化した文字データを直接にアプリ5に送信す
る。S4は、S33で送信された規格化された文字デー
タをアプリ5が受信(入力)する。
In S33, the data transmitting unit 43 directly transmits the standardized character data processed in S32 to the application 5. In S4, the application 5 receives (inputs) the standardized character data transmitted in S33.

【0027】以上によって、バーコードから読み取った
コードをまとめたバッファに格納し、これを取り出して
規格化した文字データに変換した後、この変換した文字
データを直接にアプリ5に入力する。これにより、図示
外のキーボード11からキー入力した文字データと同一
に規格化した文字データを直接にアプリ5に入力、例え
ばアクティブなウィンドウの入力域に入力し、当該アプ
リ5に取り込ませて処理を行なうことが可能となる。
As described above, the codes read from the bar code are stored in a buffer, which is taken out and converted into standardized character data, and the converted character data is directly input to the application 5. As a result, the standardized character data that is the same as the character data keyed in from the keyboard 11 (not shown) is directly input to the application 5, for example, in the input area of the active window, and is input to the application 5 for processing. It becomes possible to do it.

【0028】以下図3から図5を用い、図1の構成の動
作を詳細に説明する。図3は、本発明の動作説明図を示
す。これは、ハーコードから読み取ったコードを規格化
した文字データに加工し、アプリ5が管理する画面上の
アクティンブなウィンドウ上の入力域に入力するときの
動作を示したものである。
The operation of the configuration of FIG. 1 will be described in detail below with reference to FIGS. 3 to 5. FIG. 3 shows an operation explanatory diagram of the present invention. This shows the operation when the code read from the Harcode is processed into standardized character data and input into the input area on the active window on the screen managed by the application 5.

【0029】図3において、S11は、バーコードリー
ダ12がバーコードの読み取りを行なう。S12は、S
11で読み取ったデータをコード変換し、コード(例え
ばハードアスキーデータ)にする(図5の(a)参
照)。
In FIG. 3, in S11, the bar code reader 12 reads the bar code. S12 is S
The data read in 11 is code-converted into a code (for example, hard ASCII data) (see (a) in FIG. 5).

【0030】S13は、S12でコード変換した後のコ
ード(例えばハードアスキーデータ、A,B,C,・・
・(1バイト毎のデータ))をバッファに一時的に格納
する。
In S13, the code after the code conversion in S12 (for example, hard ASCII data, A, B, C, ...
・ (Data for each byte)) is temporarily stored in the buffer.

【0031】S14は、入力エミュレート処理4が一定
時間毎にバッファにデータありか読みにいく(READ
実行)。S15は、S14で読みにいってデータがあり
か判別する。YESの場合には、S17に進む。NOの
場合には、S14に戻る。
In step S14, the input emulation processing 4 reads at every fixed time whether there is data in the buffer (READ.
Run). In S15, it is determined whether or not there is data to read in S14. In the case of YES, it progresses to S17. If NO, the process returns to S14.

【0032】S16は、バーコードドライバ32がデー
タをバッファに一定単位にまとめる。例えばまとまりの
データ“ABC・・・”とまとめる。S17は、S15
のYESでバッファにデータありと判明したので、デー
タを読み出す。
In S16, the bar code driver 32 collects the data in a buffer in a certain unit. For example, it is summarized as a set of data "ABC ...". S17 is S15
Since it is determined that there is data in the buffer by YES, the data is read.

【0033】S18は、S17でバッファから読み出し
たデータを加工する。例えば図示のように、ハードアス
キーデータを規格化した文字データである図示の システムへのメッセージ 文字データ 文字コードメッセージ ABC・・・ のように加工する。
In step S18, the data read from the buffer in step S17 is processed. For example, as shown in the figure, it is processed as message character data character code message ABC ...

【0034】S19は、OSからアクティブな画面を得
る。S20は、アクティブな画面にメッセージを送信す
る。これらS19およびS20は、入力エミュレート処
理4が文字データを渡そうとするアプリ5のアクティブ
な画面(ウィンドウ)をOS2から得て、このアクティ
ブな画面(ウィンドウ)に、S18で加工した規格化し
たメッセージ(文字データ)を送信する。
In step S19, an active screen is obtained from the OS. S20 sends a message to the active screen. These S19 and S20 obtain the active screen (window) of the application 5 to which the input emulation processing 4 is going to pass the character data from the OS2, and standardize the active screen (window) processed in S18. Send a message (character data).

【0035】S21は、画面上のカーソルの位置にデー
タ入力する。これは、S20で送信されてきた文字デー
タメッセージをカーソルの位置に表示する(図5の
(c)参照)。
In step S21, data is input at the position of the cursor on the screen. This displays the character data message transmitted in S20 at the cursor position (see (c) in FIG. 5).

【0036】S22は、アプリ5がアクティブな画面
(ウィンドウ)上のカーソルの位置からデータを取り込
み、処理を実行する。以上によって、バーコードから読
み取ったコードをコード変換したデータをバッファに一
時的に格納し、このバッファから読み取ったデータを加
工して規格化した文字データ(メッセージ)にした後、
アクティブな画面(ウィンドウ)に送信してカーソルの
位置に入力(表示)し、アプリ5がこれを取り込んで処
理実行する。これらにより、バーコードから読み取った
コードをコード変換、更に加工して規格化した文字デー
タにし、直接にアプリ5のアクティブなウィンドウのカ
ーソルの位置に入力することが可能となる。
In S22, the application 5 takes in data from the position of the cursor on the active screen (window) and executes the process. As described above, after temporarily converting the code read from the bar code into the buffer and processing the data read from this buffer into standardized character data (message),
It is sent to the active screen (window) and input (displayed) at the position of the cursor, and the application 5 captures this and executes the process. As a result, it becomes possible to convert the code read from the bar code, further process it into standardized character data, and directly input it to the cursor position of the active window of the application 5.

【0037】一方、S23は、キーボードの場合に、キ
ー打鍵する。S24は、キーボードドライバ31がS2
3でキー打鍵されたキーコードをデータにコード変換す
る。
On the other hand, in S23, in the case of a keyboard, the key is pressed. In S24, the keyboard driver 31 is S2.
The key code keyed in 3 is converted into data.

【0038】S25は、S24でコード変換したデータ
をバッファに格納する。S26は、データ(文字デー
タ)を出力する。S27は、ウィンドウズシステム20
がメッセージ変換する。これは、S26で出力された文
字データをメッセージ(規格化した文字データ)に変換
する。
In S25, the data converted in S24 is stored in the buffer. S26 outputs data (character data). S27 is Windows system 20
Converts the message. This converts the character data output in S26 into a message (standardized character data).

【0039】S28は、アクティブな画面を得る。S2
9は、対応する画面にメッセージを送信する。これらS
28およびS29は、ウィンドウズシステム20経由で
S19およびS20と同様に、アクティブな画面(ウィ
ンドウ)に規格化した文字データ(メッセージ)を送信
する。そして、S21で画面上のカーソルの位置にデー
タを入力(表示)し、S22でアプリ5がデータを取り
込み、処理実行する。
In step S28, an active screen is obtained. S2
9 sends a message to the corresponding screen. These S
28 and S29 transmit the standardized character data (message) to the active screen (window), similarly to S19 and S20, via the Windows system 20. Then, in S21, data is input (displayed) at the position of the cursor on the screen, and in S22, the application 5 takes in the data and executes the process.

【0040】以上によって、キーボード11からキー入
力したコードをコード変換した文字データをアクティブ
な画面(ウィンドウ)に送信してカーソルの位置に入力
(表示)し、アプリ5がこれを取り込んで処理実行す
る。これらにより、従来通り、キーボード11から読み
取ったコードをコード変換した文字データをアプリ5の
アクティブなウィンドウのカーソルの位置に入力するこ
とができる。
As described above, the character data obtained by code conversion of the code input from the keyboard 11 is transmitted to the active screen (window) and input (displayed) at the position of the cursor, and the application 5 fetches and executes the processing. . As a result, the character data obtained by code conversion of the code read from the keyboard 11 can be input to the position of the cursor in the active window of the application 5 as in the conventional case.

【0041】図4は、本発明の要部構成および動作説明
図を示す。これは、入力エミュレート処理4として、キ
ー入力した同一の規格化した文字データの入力にエミュ
レートする場合の要部構成および動作説明図である。
FIG. 4 is a diagram showing the construction and operation of the essential parts of the present invention. This is a configuration diagram and an operation explanatory diagram of a main part in the case where the input emulation processing 4 emulates the same standardized character data input by key input.

【0042】図4において、バーコードドライバ32
は、図1のバーコードドライバ32であって、ここで
は、バーコードリーダ12によってバーコードから読み
取ったコードをデータにコード変換してバッファに一時
的に格納するものである。
In FIG. 4, the bar code driver 32
1 is the bar code driver 32 of FIG. 1, in which the code read from the bar code by the bar code reader 12 is converted into data and temporarily stored in a buffer.

【0043】アプリ5は、各種業務処理を行なうアプリ
(アプリケーションプログラム)であって、ここでは、
画面上にウィンドウを表示して当該ウィンドウのカーソ
ルの位置に文字データを入力し、当該入力されたデータ
を取り込んで処理を実行するものである。
The application 5 is an application (application program) that performs various business processes. Here,
A window is displayed on the screen, character data is input at the cursor position of the window, the input data is fetched, and processing is executed.

【0044】キー入力エミュレート処理41は、ここで
はバーコードドライバ32のバッファからデータを取り
込んで規格化された文字データに加工し、アクティブな
ウィンドウのカーソル位置に入力したりなどするもので
あって、読み込み処理プロシージャ42およびメインプ
ロシージャ43から構成されるものである。
The key input emulation processing 41, here, takes in data from the buffer of the bar code driver 32, processes it into standardized character data, and inputs it at the cursor position of the active window. , A read processing procedure 42 and a main procedure 43.

【0045】読み込み処理プロシージャ42は、バーコ
ードドライバ32のバッファからデータを読み込み、規
格化した文字データに加工した後、メインプロシージャ
43に通知するものである。
The read processing procedure 42 reads the data from the buffer of the bar code driver 32, processes the data into standardized character data, and then notifies the main procedure 43.

【0046】メインプロシージャ43は、読み込み処理
プロシージャ42から通知された文字データについて、
ここではアクティブなウィンドウに通知するものであ
る。次に、図4の動作を詳細に説明する。
The main procedure 43, for the character data notified from the read processing procedure 42,
Here it notifies the active window. Next, the operation of FIG. 4 will be described in detail.

【0047】図4において、は、バーコードライブラ
リのreadを実行し、バーコードドライバ32のバッ
ファから格納されているデータを読み込む(図3のS1
7)。
In FIG. 4, the bar code library is read and the stored data is read from the buffer of the bar code driver 32 (S1 in FIG. 3).
7).

【0048】は、で読み込むデータがない場合、リ
ターンする。は、通知するデータを作成する。これ
は、で読み込んだデータから規格化した文字データを
作成する(加工する、図3のS18)。
If there is no data to be read in, the process returns. Creates the data to be notified. This creates standardized character data from the data read in (processing, S18 in FIG. 3).

【0049】は、メインプロシージャ43のWM U
SERに通知する。は、メインプロシージャ43が現
在アクティブなウィンドウを得る。これは、図3のS1
9で説明したように、OSからアプリ5の現在のアクテ
ィブなウィンドウを得る。
Is the WMU of the main procedure 43.
Notify SER. Obtains the window in which the main procedure 43 is currently active. This is S1 in FIG.
As described in 9, obtain the currently active window of the app 5 from the OS.

【0050】は、アクティンブなウィンドウにデータ
(文字データ)を順番に通知する(図3のS20)。こ
の通知されたデータ(文字データ)は、カーソルの位置
に入力する。
(3) notifies the active windows of data (character data) in order (S20 in FIG. 3). The notified data (character data) is input at the cursor position.

【0051】は、データが残っていたら、10ミリ秒
タイマスタートする。そして、に戻り繰り返し、デー
タ(文字データ)をアクティブなウィンドウに通知する
ことを繰り返す。
If there is data remaining, starts a 10 millisecond timer. Then, the process returns to and is repeated, and the notification of the data (character data) to the active window is repeated.

【0052】は、全てのデータ(文字データ)の通知
を完了した後、終了する。以上によって、バーコードド
ライバ32のバッファに、バーコードから読み取って格
納したデータ(コード)を規格化した文字データに加工
し、アプリ5のアクティブなウィンドウのカーソルの位
置に入力(表示)する。これにより、バーコードデータ
を規格化した文字データに変換し、ウィンドウのカーソ
ル位置に入力し、アプリ5に渡すことが可能となり、従
来のアプリ5およびバーコードドライバ32に対応した
専用アプリをSEが作成する必要がなくなる。
After the notification of all data (character data) is completed, the process ends. As described above, the data (code) read from the barcode and stored in the buffer of the barcode driver 32 is processed into standardized character data and input (displayed) at the cursor position of the active window of the application 5. As a result, it becomes possible to convert the barcode data into standardized character data, input it at the cursor position of the window, and pass it to the application 5, and the SE can execute the dedicated application corresponding to the conventional application 5 and the barcode driver 32. Eliminates the need to create.

【0053】図5は、本発明のデータ/表示説明図であ
る。図5の(a)は、データ形式のイメージを示す。
(a−1)は、バーコードデータを示す。これは、図3
のS11およびS12で、バーコードから読み取ってコ
ード変換した後のバーコードデータであるハードアスキ
ーデータのイメージである。ここで、ハードアスキーデ
ータは、A,B,C,・・・というように1バイト単位
に分かれている。
FIG. 5 is a data / display explanatory diagram of the present invention. FIG. 5A shows an image of the data format.
(A-1) shows barcode data. This is shown in Figure 3.
It is an image of the hard ASCII data which is the barcode data after being read from the barcode and subjected to code conversion in S11 and S12. Here, the hard ASCII data is divided into 1-byte units such as A, B, C, ....

【0054】(a−2)は、バーコードドライバ32に
てまとめたデータを示す。これは、図3のS16でハー
ドアスキーデータをまとめてバッファに格納したイメー
ジである。ここで、ハードアスキーデータは、“ABC
・・・”というように一定単位にまとめたものである。
(A-2) shows the data collected by the bar code driver 32. This is an image of collectively storing the hard ASCII data in the buffer in S16 of FIG. Here, the hard ASCII data is "ABC
"..." are organized in a certain unit.

【0055】(a−3)は、キー入力エミュレート処理
4およびWindows(ウインドウズ)システムがア
プリ5に通知するデータを示す。これは、図3のS20
あるいはS29で文字コードメッセージ(規格化した文
字データ)としてアプリ5に送信するデータである。こ
こで、文字コードメッセージは、 システムへのメッセージ 文字データ 文字コードメッセージ ABC・・・ という規格化した文字データにしたものである。
(A-3) shows data notified to the application 5 by the key input emulation processing 4 and the Windows (Windows) system. This is S20 in FIG.
Alternatively, it is the data transmitted to the application 5 as a character code message (standardized character data) in S29. Here, the character code message is the standardized character data of message character data character code message ABC ... To the system.

【0056】(a−4)は、キーボードドライバ31が
Windows(ウィンドウズ)システムに通知するデ
ータを示す。これは、図3のS26でキーコードメッセ
ージとしてウィンドウズシステム20に送信するデータ
である。ここで、キーコードメッセージは、 キーコード=キーアドレス XYZ・・・ としたものである。このキーコードメッセージは、ウィ
ンドズシステム20により、(a−3)の形式に加工
し、アプリ5に通知する。
(A-4) shows data notified by the keyboard driver 31 to the Windows system. This is data transmitted to the Windows system 20 as a key code message in S26 of FIG. Here, the key code message is key code = key address XYZ ... This key code message is processed by the Windows system 20 into the format (a-3) and is notified to the application 5.

【0057】図5の(b)は、アクティブウィンドウテ
ーブルを示す。これは、アプリ5が現在アクティンブに
しているウィンドウがいずれであるかを記憶したテーブ
ルである。図3の19あるいはS28でアクティブなウ
ィンドウは、このアクティブウィンドウテーブルを参照
して見つける。
FIG. 5B shows an active window table. This is a table that stores which window the application 5 is currently active. The window active in 19 or S28 of FIG. 3 is found by referring to this active window table.

【0058】図5の(c)は、画面例を示す。これは、
図5の(b)で見つけたアクティブなウィンドウの例で
あって、当該ウィンドウの表中のカーソルの位置にバー
コードから読み取って加工して規格化した文字データあ
るいはキーボード11から入力されたコードを加工した
規格化した文字データを表示(入力)するウィンドウで
ある。
FIG. 5C shows an example of the screen. this is,
In the example of the active window found in (b) of FIG. 5, the character data read from the barcode and processed and standardized at the cursor position in the table of the window or the code input from the keyboard 11 is displayed. This is a window for displaying (inputting) processed standardized character data.

【0059】[0059]

【発明の効果】以上説明したように、本発明によれば、
バーコードリーダ12や磁気カードリーダ13などから
入力されたデータをエミュレートしてキーボード11な
どからの入力と同じ文字データに加工し、業務アプリに
直接に入力して処理を行わせる構成を採用しているた
め、各種入力装置1からのいずれのデータも規格化した
文字データに加工して容易にアプリ5に入力して処理を
行わせることができる。これにより、従来のSE作成の
専用アプリ23が不要となると共に、本発明に係る入力
エミュレート処理4を追加して機能向上を図ることによ
り、ユーザはバーコードリーダ12や磁気カードリーダ
13などの入力装置1からのデータをアプリ5に直接に
渡して処理実行でき、しかも既存の流通アプリをそのま
までデータを入力して処理実行できる。
As described above, according to the present invention,
The data input from the bar code reader 12 or the magnetic card reader 13 is emulated, processed into the same character data as the input from the keyboard 11, etc., and directly input to the business application for processing. Therefore, any data from the various input devices 1 can be processed into standardized character data and easily input to the application 5 to be processed. As a result, the dedicated application 23 for creating a conventional SE becomes unnecessary, and the input emulation processing 4 according to the present invention is added to improve the function, so that the user can operate the barcode reader 12 and the magnetic card reader 13 or the like. The data from the input device 1 can be directly passed to the application 5 to be processed, and furthermore, the existing distribution application can be input as it is to be processed and processed.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の要部構成説明図である。FIG. 2 is an explanatory diagram of a main part configuration of the present invention.

【図3】本発明の動作説明図である。FIG. 3 is an operation explanatory diagram of the present invention.

【図4】本発明の要部構成および動作説明図である。FIG. 4 is an explanatory diagram of a configuration and an operation of main parts of the present invention.

【図5】本発明のデータ/表示説明図である。FIG. 5 is a data / display explanatory diagram of the present invention.

【図6】従来技術の説明図である。FIG. 6 is an explanatory diagram of a conventional technique.

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

1:入力装置 11:キーボード 12:バーコードリーダ 13:磁気カードリーダ 2:OS(Windowsシステム、ウィンドウズシス
テム) 3:ドライバ 31:キーボードドライバ 32:バーコードドライバ 33:磁気カードドライバ 4:入力エミュレート処理 5:アプリ
1: Input device 11: Keyboard 12: Bar code reader 13: Magnetic card reader 2: OS (Windows system, Windows system) 3: Driver 31: Keyboard driver 32: Bar code driver 33: Magnetic card driver 4: Input emulation processing 5: App

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力装置からのデータをエミュレートして
アプリに渡す入力エミュレータにおいて、 入力装置(1)によって媒体から読み取ったデータを取
り込むドライバ(3)と、 このドライバ(3)によって取り込んだデータを文字デ
ータに加工する入力エミュレート処理(4)とを備え、 この加工した文字データを直接にアプリ(5)に渡すよ
うに構成したことを特徴とする入力エミュレータ。
1. An input emulator that emulates data from an input device and transfers the data to an application. A driver (3) for fetching data read from a medium by the input device (1) and data fetched by this driver (3). An input emulator comprising: an input emulation process (4) for converting the processed character data to a character data and directly passing the processed character data to an application (5).
【請求項2】上記加工した文字データをアプリ(5)に
渡して画面上のアクティブなウィンドウのカーソル位置
に入力するように構成したことを特徴とする請求項1記
載の入力エミュレータ。
2. The input emulator according to claim 1, wherein the processed character data is passed to an application (5) and input to the cursor position of an active window on the screen.
【請求項3】上記入力装置(1)によって媒体から読み
取ったデータとして、バーコードあるいは磁気カードか
ら読み取ったデータとし、当該データをキーボードから
入力された文字データと同一形式に加工するように構成
したことを特徴とする請求項1および請求項2記載の入
力エミュレータ。
3. The data read from the medium by the input device (1) is data read from a bar code or a magnetic card, and the data is processed into the same format as the character data input from the keyboard. The input emulator according to claim 1 or 2, characterized in that
JP5192099A 1993-08-03 1993-08-03 Input emulator Pending JPH0744298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5192099A JPH0744298A (en) 1993-08-03 1993-08-03 Input emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5192099A JPH0744298A (en) 1993-08-03 1993-08-03 Input emulator

Publications (1)

Publication Number Publication Date
JPH0744298A true JPH0744298A (en) 1995-02-14

Family

ID=16285639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5192099A Pending JPH0744298A (en) 1993-08-03 1993-08-03 Input emulator

Country Status (1)

Country Link
JP (1) JPH0744298A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014338A (en) * 2010-06-30 2012-01-19 Sharp Corp Authentication system
JP2016071815A (en) * 2014-10-02 2016-05-09 株式会社アスタリスク Portable terminal and keyboard application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014338A (en) * 2010-06-30 2012-01-19 Sharp Corp Authentication system
JP2016071815A (en) * 2014-10-02 2016-05-09 株式会社アスタリスク Portable terminal and keyboard application program

Similar Documents

Publication Publication Date Title
US10223565B2 (en) Data collection system having reconfigurable data collection terminal
US6507864B1 (en) Client-server software for controlling data collection device from host computer
JPH06214697A (en) Method for input of data of bar-code symbol and computer system
JPS5856143B2 (en) Terminal device test program startup method
JPH0744298A (en) Input emulator
JPH05298052A (en) Window system and event processing method
US7180504B2 (en) Keyboard matrix data transfer
US20020184347A1 (en) Configuration of a machine vision system over a network
JP2015135635A (en) Pos system and pos system control method
EP3885943A1 (en) Electronic device, and function limit cancel method and program
JP3552743B2 (en) Computer input method
KR100408289B1 (en) Plug and play system using input/output format code and method thereof
WO2008005152A2 (en) Methods and apparatus for generating an executable file from a use case
JP4368752B2 (en) Programmable display
JP2744528B2 (en) Keyboard input device
JP3305340B2 (en) Operation display panel
CN115803742A (en) Design support system, design support method, and design support program
JPH03253930A (en) Keyboard with magnetic card reader
JPS60193029A (en) Data input system
JPH0636150A (en) Merchandise sales registration data processor
JP2000056907A (en) Keyboard composite input device and pos terminal device
JP2004199214A (en) Input device
JPS6141417B2 (en)
JPH0675908A (en) On-line real time processing system
JPH0334010A (en) Key input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050920

A977 Report on retrieval

Effective date: 20070806

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070814

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071225