JPH04170688A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH04170688A
JPH04170688A JP29705990A JP29705990A JPH04170688A JP H04170688 A JPH04170688 A JP H04170688A JP 29705990 A JP29705990 A JP 29705990A JP 29705990 A JP29705990 A JP 29705990A JP H04170688 A JPH04170688 A JP H04170688A
Authority
JP
Japan
Prior art keywords
pattern information
read
key
reference pattern
numeral
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
JP29705990A
Other languages
Japanese (ja)
Inventor
Isato Shinohara
勇人 篠原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP29705990A priority Critical patent/JPH04170688A/en
Publication of JPH04170688A publication Critical patent/JPH04170688A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To sharply improve a processing speed by reading out a comparing reference pattern information and selectively changing the information in accordance with the digit advance mode of an objective numeral/code. CONSTITUTION:This electronic computer is provided with a one-chip microcomputer 15, a liquid crystal display device (LCD) 2, a key switch group 16, a sensor 18, a sensor control circuit 17, an encoder 20, a timing circuit 19, a power supply unit 21 and so on. A numeral or a code is read out by manual scanning and the comparing reference pattern information of the objective numeral is selectively changed in accordance with the digit advance mode of the numeral to be computed. Consequently, the retrieval of useless reference pattern information can be omitted in coincidence comparing processing, so that the processing speed can be remarkably shortened.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は、光学的に数字や記号を読取って識別し、その
識別したデータに基づき演算を実行する電子計算機に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic computer that optically reads and identifies numbers and symbols and performs calculations based on the identified data.

[従来の技術] 従来、手動走査式光学的読取り手段を有する電子計算機
の分野においては、バーコードリーダーに代表されるよ
うに、数字や記号を規則性のある予め定められたフォー
マットに従った特定のパターンに置換えて、そのパター
ンを読み取り、そして数字や記号等を識別し、演算を実
行していた。
[Prior Art] Conventionally, in the field of electronic computers equipped with manual scanning optical reading means, numbers and symbols are identified according to a regular predetermined format, as typified by barcode readers. It read the pattern, identified numbers and symbols, and performed calculations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上記従来例では、その電子計算機に識別
させて演算させるべく、数字や記号の情報を人間が見て
直ちに判断できない(電子計算機にとって識別し易い)
特定のパターンに置換えているため、次のような欠点が
あった。
However, in the conventional example described above, in order for the electronic computer to identify and perform calculations, humans cannot immediately judge the numerical and symbol information (which is easy for the electronic computer to identify).
Because it was replaced with a specific pattern, it had the following drawbacks.

(1)定められたフォーマットに従いデータを規則性の
ある特定のパターンに置換える煩わしさがある。
(1) It is troublesome to replace data with a regular and specific pattern according to a prescribed format.

(2)その特定のパターンが、操作者にとって所望のデ
ータかどうかを入力前に確認できない。
(2) It is not possible to confirm whether the particular pattern is data desired by the operator before inputting it.

よって本発明の目的は上述の点に鑑み、バーコードなど
に変換することなく通常の文字パターンを直接識別する
ことができるようにした電子計算機を提供することにあ
る。
SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide an electronic computer that can directly identify ordinary character patterns without converting them into bar codes or the like.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係る電子計算機は、読取り対象画像を手動走査
で読取るための手動走査式光学読取り手段と、前記読取
り手段で読取ったパターン情報に基づいて数字・記号を
識別するための比較基準パターン情報を、読取り対象の
数字・記号の進数モードにより選択的に変更する手段と
を具備したものである。
The electronic computer according to the present invention includes a manual scanning optical reading means for manually scanning an image to be read, and comparison reference pattern information for identifying numbers and symbols based on the pattern information read by the reading means. , means for selectively changing the base number mode of the numbers and symbols to be read.

〔作 用] 本発明によれば、手動走査式による数字・記号識別電子
計算機により、従来からあるキー人力方式電子計算機の
キー人力の煩わしさを操作者から開放し、さらに従来の
手動走査式光学的読取り手段を有する電子計算機のよう
に予め特定のパターンに置換えることな(、手動走査に
より数字や記号を読取り、演算すべき数字の進数モード
に応じて読取り対象の数字の比較基準パターン情報を選
択的に変更する手段を設けることにより、−数比較処理
において無駄な基準パターン情報を検索しないようにし
たため、その処理スピードを大幅に短縮することができ
る。
[Function] According to the present invention, the manual scanning type number/symbol identification electronic computer relieves the operator of the troublesome manual operation of the key of the conventional key-operated type electronic computer, and furthermore, the conventional manual scanning type optical computer can be used. Instead of replacing the numbers and symbols with a specific pattern in advance like an electronic computer with a digital reading means, it reads numbers and symbols by manual scanning and compares reference pattern information of the numbers to be read according to the base mode of the numbers to be calculated. By providing a means for selectively changing the information, unnecessary reference pattern information is not searched in the minus number comparison process, so that the processing speed can be significantly reduced.

〔実施例〕〔Example〕

以下、図面に示す実施例に基づき、本発明の詳細な説明
する。
Hereinafter, the present invention will be described in detail based on embodiments shown in the drawings.

第1図は、本発明の一実施例に係る電子計算機の概形斜
視図である。本図中、1は本体に内蔵されたセンサ一部
であり、CCD、ロッドレンズアレイ、 LEDアレイ
、エンコーダ(いずれも図示せず)などで構成されてい
る。2は、識別したデータや演算の経過や結果を表示す
る液晶表示器(LCD)である。3は読取り開始・終了
キー、4は加算キー、5は減算キー、6は乗算キー、7
は除算キー、8は演算結果を求めるイコールキー、9は
本実施例の特徴である進数を指定するモードキー、IO
は演算データ及び結果をクリアするクリアキー、11は
電源0N10FFキー、12は小数点位置指定キー、1
3は四捨五入・切り捨て指示キー、14は識別した演算
データが被読取りデータと異なる時の数値入力用のキー
スイッチ群を示す。
FIG. 1 is a schematic perspective view of an electronic computer according to an embodiment of the present invention. In this figure, 1 is a part of the sensor built into the main body, which is composed of a CCD, a rod lens array, an LED array, an encoder (all not shown), and the like. 2 is a liquid crystal display (LCD) that displays the identified data and the progress and results of calculations. 3 is the reading start/stop key, 4 is the addition key, 5 is the subtraction key, 6 is the multiplication key, 7
8 is the division key, 8 is the equal key to obtain the calculation result, 9 is the mode key to specify the base number, which is a feature of this embodiment, and IO
is the clear key to clear the calculation data and results, 11 is the power supply 0N10FF key, 12 is the decimal point position specification key, 1
Reference numeral 3 indicates a rounding/truncation instruction key, and 14 indicates a group of key switches for inputting numerical values when the identified calculation data differs from the data to be read.

第2図は、第1図に示した電子計算機のブロック図であ
る。本図中、15はワンチップマイクロコンピュータ(
以下、MPUという)であり、LCD2゜キースイッチ
群16.センサー18.センサー制御回路17.エンコ
ーダー20.タイミング回路19を制御する。このMP
L115は、後述する処理手順や、読取りパターンを比
較一致させるための基準パターン等を格納するためのR
OM15a、処理におけるワークエリア、データのバッ
ファやメモリなどに使用されるRAM15bを内蔵する
。17はセンサー18からの出力信号を増幅・2値化し
、MPU15とのインターフェースを行うセンサー制御
回路である。19は、エンコーダー20の出力信号によ
り、センサー出力を取込むタイミングを制御するタイミ
ング制御回路である。21は、各部に電力を供給する電
源ユニットである。
FIG. 2 is a block diagram of the electronic computer shown in FIG. 1. In this figure, 15 is a one-chip microcomputer (
(hereinafter referred to as MPU), LCD 2° key switch group 16. Sensor 18. Sensor control circuit 17. Encoder 20. Controls the timing circuit 19. This MP
L115 is R for storing processing procedures described later and reference patterns for comparing and matching read patterns.
It includes an OM 15a, a work area for processing, and a RAM 15b used as a data buffer and memory. 17 is a sensor control circuit that amplifies and binarizes the output signal from the sensor 18 and interfaces with the MPU 15. Reference numeral 19 denotes a timing control circuit that controls the timing of capturing the sensor output based on the output signal of the encoder 20. 21 is a power supply unit that supplies power to each part.

第3図は、本電子計算機の2進数モードにおける操作及
び表示の一例を示したものである。まずfilでREA
Dキーをオンする。表示は、“O″のまま、入力待ち状
態となる。
FIG. 3 shows an example of the operation and display of the computer in binary mode. First, REA with fil
Turn on the D key. The display remains "O" and waits for input.

C2では、被読取り物である2進数“101”を読取り
走査する。β3でREADキーをオフすると読取りを終
了し、読取ったパターンを2進数データ“101 ”と
識別し、データレジスタに転送し、“101”を表示し
て次の入力待ち状態となる。
At C2, the binary number "101" which is the object to be read is read and scanned. When the READ key is turned off at β3, reading is completed, the read pattern is identified as binary data "101", transferred to the data register, "101" is displayed, and the state waits for the next input.

C4では+キーをオンして加算処理を指示し、12.5
〜℃7で同様に2進数“11”というデータを読み込み
、“11”を表示する。ρ8では=キーを押下し加算処
理を実行し、その結果“1000”を得て、表示して終
了する。
At C4, turn on the + key to instruct addition processing, and select 12.5.
At ~°C 7, the binary number "11" data is similarly read and "11" is displayed. At ρ8, the = key is pressed to execute the addition process, and the result is "1000", which is displayed and the process ends.

第4図(A)は、第2図のROM15aに内蔵され、第
3図によってその一例を示したONキー人力後の処理手
順を示すフローチャートである。
FIG. 4(A) is a flowchart showing a processing procedure after the ON key is manually operated, which is built in the ROM 15a of FIG. 2 and an example of which is shown in FIG.

まず、ステップS1にてフラグセット、メモリバッファ
クリア、入出力ボートの初期化1割込み処理のセットな
どの初期化処理を行う。次のステップS2では表示処理
を実行し、ステップS3ではキースイッチ群16からの
入力を待つ。キー人力があると、そのキー人力に対応す
る処理のサブルーチン34〜S13の各処理を実行する
First, in step S1, initialization processing such as flag setting, memory buffer clearing, and setting of input/output board initialization 1 interrupt processing is performed. In the next step S2, display processing is executed, and in step S3, input from the key switch group 16 is awaited. If there is key human power, each process of subroutines 34 to S13 corresponding to the key human power is executed.

ステップS13における0N10FFキーの処理の実行
においては、その処理の終了後0N10FFキー人力待
ち処理へ分岐する。
In the execution of the 0N10FF key process in step S13, after the process is completed, the process branches to the 0N10FF key human power waiting process.

ここで、第4図(B)はREADキーを押した時に実行
されるサブルーチンの詳細な説明を示すものである。ま
ず、ステップS14で再度READキーの0N10FF
を判断し、ONの状態のままであればステップS15に
進み、読取ったパターン情報を一時的に所定量蓄積して
おく RAM15b内に設けたバッファが一杯か否かを
判断し、−杯でなければステップ316、S17でエン
コーダーの出力信号のタイミングに同期してセンサー1
行分のパターンを読み込み、バッファヘデータを転送す
る。
Here, FIG. 4(B) shows a detailed explanation of the subroutine executed when the READ key is pressed. First, in step S14, press the READ key again to 0N10FF.
If it remains in the ON state, proceed to step S15 and temporarily store a predetermined amount of the read pattern information.Determine whether the buffer provided in the RAM 15b is full or not. For example, in steps 316 and S17, sensor 1 is activated in synchronization with the timing of the encoder output signal.
Reads a row of patterns and transfers the data to the buffer.

ステップS14でREADキーがオフに転じ、読み込み
が終了した時、あるいはステップS15でバッファが一
杯になったことを検出し、ステップ31gでバッファが
一杯になったことを操作者に警告するための表示処理を
実行した時、ステップ319以下の識別処理へ移行する
When the READ key is turned off in step S14 and reading is completed, or when it is detected that the buffer is full in step S15, a display is displayed to warn the operator that the buffer is full in step 31g. When the process is executed, the process moves to the identification process from step 319 onwards.

ステップS19では、識別すべきパターンデータがバッ
ファ内に存在するか否かを確認し、存在する時は、まず
ステップS20でバッファ内に蓄積された個々のパター
ンを切り出し、1つずつパターン情報を切り出して処理
をする。ステップS21では、その切り出された情報の
特徴パラメータを抽出する処理を実行する。特徴パラメ
ータとしては、入カバターンの基準点からの各方向への
長さやその方向、そして長さの比率等を数値化したもの
である。
In step S19, it is checked whether the pattern data to be identified exists in the buffer, and if it does exist, in step S20, the individual patterns accumulated in the buffer are first cut out, and pattern information is cut out one by one. process. In step S21, a process of extracting feature parameters of the extracted information is executed. The characteristic parameters include numerical values such as the length of the input pattern in each direction from the reference point, the direction, and the ratio of the lengths.

ステップ322〜S24では、モードキー9によって指
示された進数を判定する。もし、ステップS22で2進
数を判定した場合、ステップS25で第5図に示すよう
な基準パターン情報として、各々の数字の基準特徴パラ
メータが格納されているROM15aの最終アドレスを
nl(E)にセットし、ステップS23で8進数を判定
した場合、ステップ326で最終アドレスをn7 (E
)にセットし、ステップS24でlO進数を判定した場
合、ステップS27で最終アドレスをn9 (E)にセ
ットし、それ以外の時は16進数とみなし、ステップ3
28で最終アドレスをnF(E)にセットする。
In steps 322 to S24, the base number specified by the mode key 9 is determined. If a binary number is determined in step S22, the final address of the ROM 15a where the reference feature parameters of each number are stored is set to nl(E) as reference pattern information as shown in FIG. 5 in step S25. If the octal number is determined in step S23, the final address is n7 (E
), and if the lO base number is determined in step S24, the final address is set to n9 (E) in step S27, otherwise it is assumed to be a hexadecimal number, and step 3
At step 28, the final address is set to nF(E).

ステップS29では、ステップS21で抽出した読取り
パターンの特徴パラメータと、第5図に示すROM1S
a内の基準パターン情報としての各々の数字の基準特徴
パラメータが順次比較される。この時、比較される基準
特徴パラメータのROM15aにおける領域は、開始ア
ドレスをいかなる進数の時も“0″のアドレスno (
s)とするが、終了アドレスはステップS25〜32g
で設定されたように各進数の状態で異なる。
In step S29, the characteristic parameters of the reading pattern extracted in step S21 and the ROM1S shown in FIG.
The reference feature parameters of each number as reference pattern information in a are sequentially compared. At this time, the area in the ROM 15a of the reference characteristic parameters to be compared is set to an address no (
s), but the end address is from steps S25 to 32g.
It is different for each base number state as set in .

そして、その比較処理で一致あるいは一番近いパラメー
タ情報をもつ数字コードを検出した時、ステップS30
でデータレジスタに転送される。またステップS19で
バッファ内にパターンデータが無くなったと判断された
時、ステップS31でサブルーチンを抜は出て、メイン
ルーチンに戻る。
When a numerical code with matching or closest parameter information is detected in the comparison process, step S30
is transferred to the data register. When it is determined in step S19 that there is no more pattern data in the buffer, the subroutine is exited in step S31 and the process returns to the main routine.

i立並Ω11団 これまで述べてきた実施例では、第5図の如く基準特徴
パラメータのROM領域の開始アドレスを同一にし、そ
の進数により最終アドレスを変更する手法をとったが、
第6図に示す様に、全(別の領域に設けてもよい。すな
わち、その比較基準パターン情報である基準特徴パラメ
ータを、進数モードにより選択的に変更できれば良いこ
とになる。
In the embodiments described so far, the starting address of the ROM area of the reference characteristic parameter is made the same as shown in Fig. 5, and the final address is changed according to the base number.
As shown in FIG. 6, all (may be provided in a separate area. In other words, it is sufficient if the reference feature parameters, which are the comparative reference pattern information, can be selectively changed by the base mode.

〔発明の効果〕〔Effect of the invention〕

以上説明したとおり本発明によれば、被読取り物の上を
走査するに際して予め演算すべきデータを特定のパター
ン(例えばバーコード)に置換える必要がないので、入
力すべきデータが操作者にとって所望のデータかどうか
を入力前に確認でき、従来のキー人力の煩わしさから操
作者を開放することができる。
As explained above, according to the present invention, there is no need to replace the data to be calculated in advance with a specific pattern (for example, a barcode) when scanning the object to be read, so that the data to be input is the one desired by the operator. It is possible to check whether the data is correct before inputting it, freeing the operator from the hassle of conventional keystrokes.

さらに本発明によれば、進数に応じて、比較すべき数字
・記号の基準パターン情報を選択的に変更するようにし
たので、例えば2進数の演算時にも3以上の数字の基準
パターン情報を比較・検索するような無駄をなくして、
その処理スピードを大幅に改善することができる。
Furthermore, according to the present invention, the reference pattern information of numbers and symbols to be compared is selectively changed according to the base number, so that, for example, when calculating binary numbers, the reference pattern information of numbers 3 or more is compared.・Eliminate wasteful searching,
The processing speed can be significantly improved.

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

第1図は本発明を適用した電子計算機の一実施例を示す
斜視図、 第2図は第1図に示した電子計算機のブロック図、 第3図は操作および表示の一例を示す図、第4図(A)
および第4図(B)は本実施例における処理手順を示す
フローチャート、 第5図はROM15a内の基準パターン情報を示す図、 第6図は本発明に係る電子計算機の他の実施例を示す図
である。 l・・・センサ一部、 3・・・読取り開始・終了キー、 9・・・モードキー、 14・・・数値入力用キー。 (ジ七1くリカ東1鴨) ll  〜 12〜−−+−0−1− 13パノ 14 〜 !5 〜 16〜−−−−−−−−)−)− !7〜 !8〜 第3 (べ一棟作)         (L示)1図 2導用      8道用 第 10道用       I6虎用 6図
FIG. 1 is a perspective view showing an embodiment of a computer to which the present invention is applied; FIG. 2 is a block diagram of the computer shown in FIG. 1; FIG. 3 is a diagram showing an example of operation and display; Figure 4 (A)
4(B) is a flowchart showing the processing procedure in this embodiment, FIG. 5 is a diagram showing reference pattern information in the ROM 15a, and FIG. 6 is a diagram showing another embodiment of the computer according to the present invention. It is. l...part of the sensor, 3...reading start/end key, 9...mode key, 14...numeric input key. (Ji71kurikahigashi1kamo) ll ~ 12~--+-0-1- 13 Pano 14 ~! 5 ~ 16 ~------------)-)-! 7~! 8 - 3rd (made by Beichi) (L shown) 1 figure 2 guide 8 way for 10th way I6 tiger 6 figure

Claims (1)

【特許請求の範囲】 1)読取り対象画像を手動走査で読取るための手動走査
式光学読取り手段と、 前記読取り手段で読取ったパターン情報に基づいて数字
・記号を識別するための比較基準パターン情報を、読取
り対象の数字・記号の進数モードにより選択的に変更す
る手段と を具備したことを特徴とする電子計算機。 2)請求項第1項において、前記比較基準パターン情報
はROM内に連続的に配置され、読取り対象の数字・記
号がいかなる進数モードであっても先頭アドレスはすべ
て同一であって、その最終アドレスを読取り対象の数字
の進数モードにより選択的に変更することを特徴とする
電子計算機。
[Scope of Claims] 1) Manual scanning optical reading means for reading an image to be read by manual scanning, and comparison reference pattern information for identifying numbers and symbols based on the pattern information read by the reading means. , means for selectively changing the base mode of the numbers and symbols to be read. 2) In claim 1, the comparison reference pattern information is arranged continuously in the ROM, and no matter what base mode the numbers/symbols to be read are in, all the starting addresses are the same and the ending address is the same. selectively changes the decimal mode of the numbers to be read.
JP29705990A 1990-11-05 1990-11-05 Electronic computer Pending JPH04170688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29705990A JPH04170688A (en) 1990-11-05 1990-11-05 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29705990A JPH04170688A (en) 1990-11-05 1990-11-05 Electronic computer

Publications (1)

Publication Number Publication Date
JPH04170688A true JPH04170688A (en) 1992-06-18

Family

ID=17841684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29705990A Pending JPH04170688A (en) 1990-11-05 1990-11-05 Electronic computer

Country Status (1)

Country Link
JP (1) JPH04170688A (en)

Similar Documents

Publication Publication Date Title
DE60130855T2 (en) Device for reading image code data
US20030206150A1 (en) Optical reader comprising keyboard
US5557512A (en) Electronic data entry and analysis system
JPH06101758B2 (en) Automatic dial method
JPH04170688A (en) Electronic computer
JPH03164855A (en) Electronic apparatus
JP4378894B2 (en) Handy type information code reader
JPH03164854A (en) Electronic apparatus
JPS6051722B2 (en) Sequence controller instruction search method
JPH03296848A (en) Electronic equipment
JPH03161857A (en) Electronic equipment
JPH03158956A (en) Electronic computer
JP4915307B2 (en) Portable information reader
JPH0460783A (en) Information processor
JPH03164853A (en) Electronic apparatus
JPH0424859A (en) Electronic computer
JPH0561585A (en) Information processor
JPH0525324B2 (en)
JPH052445A (en) Keyboard simulator
JP2002312110A (en) Portable information terminal device
JPH0525326B2 (en)
JPS63292282A (en) Bar code reader
JPH0525323B2 (en)
JPH0622011B2 (en) Data calling method of data processing device
JPH08101877A (en) Bar code data processor