JPS6341929A - Program inputting device - Google Patents

Program inputting device

Info

Publication number
JPS6341929A
JPS6341929A JP61186433A JP18643386A JPS6341929A JP S6341929 A JPS6341929 A JP S6341929A JP 61186433 A JP61186433 A JP 61186433A JP 18643386 A JP18643386 A JP 18643386A JP S6341929 A JPS6341929 A JP S6341929A
Authority
JP
Japan
Prior art keywords
section
instruction
program
characters
parameter
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
JP61186433A
Other languages
Japanese (ja)
Inventor
Yuji Nishizawa
勇治 西澤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61186433A priority Critical patent/JPS6341929A/en
Publication of JPS6341929A publication Critical patent/JPS6341929A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To enable an operator to make a fair copy quickly and easily by reading the content of a coding sheet, recognizing and interpreting parameter of characters etc. and the content of instructions separatively as character recognizing section and instruction interpreting section, and combining and displaying the recognized and interpreted parameter of characters etc. and instructions. CONSTITUTION:The content of a coding sheet 1 is read optically by a photoelectric conversion section 2, converted to electrical image signals and stored in a memory section 3. As it is determined beforehand that characters are inputted, label part and parameter part are cut out as characters and recognized and interpreted by a character recognizing section 4. An instruction section makes a histogram on vertical direction in one line of a memory section in a histogram forming section 5, and at the same time, detects values above a specified threshold value, and sends out the detected information to an instruction interpreting section. The instruction interpreting section 6 interprets that it is a DI instruction basing on the information. THe content recognized by the character recognizing section 4 and the instruction interpreted by the instruction interpreting section 6 are combined and displayed in a display section 8.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は計算機にプログラムを入力するプログラム入
力装置に関し、特に原稿に記載されたプログラムを容易
に認識且つ入力することのできるプログラム入力装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program input device for inputting programs to a computer, and more particularly to a program input device that can easily recognize and input programs written in a manuscript.

〔従来の技術〕[Conventional technology]

この種の従来装置は第5図ないし第9図に示すようなも
のがあり、第5図にマイクロコンピュータ用の7センブ
ラ言語で記載されたプログラム図、第6図はキーボード
を用いる従来のプログラム入力装置のブロック構成図、
第7図はキーボードの配置構成図、第8図は文字認識装
置(以下0CR)を用いる従来装置のブロック構成図、
第9図に符号化されたプログラム図表の態様図を示す。
Conventional devices of this type include those shown in Figures 5 to 9. Figure 5 shows a program diagram written in the 7 assembly language for microcomputers, and Figure 6 shows a conventional program input using a keyboard. Block configuration diagram of the device,
Fig. 7 is a layout configuration diagram of the keyboard, Fig. 8 is a block configuration diagram of a conventional device using a character recognition device (hereinafter referred to as OCR),
FIG. 9 shows an example of an encoded program chart.

上記第5図に示すプログラム図は、左側の欄に定数定義
、ラベル等の全くランダムな文字が記入され、中央の欄
にORG、ECU、DI・・・等のアセンブラ命・)(
その種類、数は使用言語が決まれば決定する)が記入さ
れ、右側の欄に各命令のデータがパラメータとして全く
ランダムに記入される。
In the program diagram shown in Figure 5 above, completely random characters such as constant definitions and labels are written in the left column, and assembler instructions such as ORG, ECU, DI, etc. are written in the center column.
(The type and number of commands will be determined once the language to be used is determined) are entered, and data for each command is entered as parameters in the right column completely randomly.

この第5図のプログラムをキーボードにより入力する場
合、第6図のプログラム入力装置が用いられ、このプロ
グラム入力装置は、オペレータがキーボード(11)を
介して第5図のプログラムを入力し、この入力されたプ
ログラムに対応した信号がキーボードインターフェース
(12)にて電気信号に変換されてコード化され、この
コード化された43号がメモリ(7)に格納され、この
格納された信号を表示部(8)に表示する構成である。
When inputting the program shown in FIG. 5 using a keyboard, the program input device shown in FIG. 6 is used, and this program input device is used to input the program shown in FIG. The signal corresponding to the programmed program is converted into an electrical signal and coded by the keyboard interface (12), this coded No. 43 is stored in the memory (7), and this stored signal is displayed on the display unit ( This is the configuration shown in 8).

次に第5図のプログムを文字認識装置により入力する場
合に第8図に示すプログラム入力装置が用いられ、この
プログラム入力装置は、第5図に示すプログラムをコー
ディングシー) (10)に清書して表記し (OCR
の文字認識読取り字種例に従って作成する)、このコー
ディングシー) (10)に表記されたプログラムを光
電変換部(2)にて光学的に検出し、この検出したプロ
グラムの内容を電気信号に変換し、この変換された電気
信号の内容をメモリ部(3)に格納し、このメモリ部(
3)に格納された電気信号を文字認識部(4)にて1文
字毎に文字として切出し、認識を行なって表示部(8)
に表示する構成である。
Next, when inputting the program shown in FIG. 5 using a character recognition device, the program input device shown in FIG. 8 is used, and this program input device formats the program shown in FIG. (OCR
The program described in (10) is optically detected by the photoelectric conversion unit (2), and the content of the detected program is converted into an electrical signal. The contents of this converted electrical signal are stored in the memory section (3), and the contents of this converted electrical signal are stored in the memory section (3).
The electric signal stored in 3) is cut out as a character by character in the character recognition unit (4), recognized, and displayed on the display unit (8).
This is the configuration to be displayed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のプログラム入力装置は以上のように構成されてい
るので、オペレータが入力時に原稿 (第5図)とキー
ボード、表示部を各々交互に視認しつつ入力する必要が
あり入力に多大な労力・時間を要し、また文字認識装置
を用いた場合であっても文字認識の読取り字種に従って
プログラムを清書する必要があり、この清書したプログ
ラムであっても誤読やりジェツト(認識不能)が多発し
、認識後の修正を必要とするという問題点があった。
Conventional program input devices are configured as described above, so when inputting data, the operator must alternately view the original (Fig. 5), the keyboard, and the display while inputting data, which requires a great deal of effort and time. Furthermore, even when using a character recognition device, it is necessary to clean up the program according to the character types read by the character recognition, and even with this clean written program, there are many misreadings and jets (unrecognized), There was a problem in that it required correction after recognition.

この発明は上記問題点を解消するためになされたもので
、キーボード操作を必要とせず、文字認識のための清書
が容易で認識率の高いプログラム入力装置を得ることを
目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a program input device that does not require keyboard operations, allows easy copying for character recognition, and has a high recognition rate.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るプログラム入力装置は、コーディングシ
ートにプログラムを使用する命令に対応位置に印を付す
る命令部を設け、このコーディングシーpの内容を読取
り、文字等のパラメータと命令内容とを分けて文字認識
部と命令解読部とで認1、解読し、この認識、解読され
た文字等のパラメータと命令とを結合して表示する構成
である。
The program input device according to the present invention includes a coding sheet with a command section that marks a position corresponding to a command that uses a program, reads the contents of this coding sheet, and separates parameters such as characters from command contents. The character recognition unit and command decoding unit recognize and decode the characters, and the parameters of the recognized and decoded characters and commands are combined and displayed.

〔作用〕[Effect]

この発明におけるプログラム入力装置は、命令解読部に
てコーディングシート上に記入された印の位置を検出し
て命令内容を解読する。
In the program input device according to the present invention, the command decoding section detects the position of the mark written on the coding sheet and decodes the contents of the command.

〔実施例〕〔Example〕

以下、この発明の一実施例を第1図ないし第4図に基づ
いて説明する。第1図に本実施例に係るプログラム入力
装置のブロー2り構成図、第2図にコーディングシート
のパターン例の表図、第3図に第2図のコーディングシ
ートへ書込んだ状態の表図、第4図に命令部の認識態様
図を示す。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 4. Fig. 1 is a block diagram of the blow 2 configuration of the program input device according to the present embodiment, Fig. 2 is a table showing an example of a coding sheet pattern, and Fig. 3 is a table showing the state of writing on the coding sheet shown in Fig. 2. , FIG. 4 shows a recognition mode diagram of the instruction section.

上記各図において本実施例に係るプログラム入力装置は
、入力するプログラムの命令に対応し、このプログラム
を使用する命令の対応位置に印を付する命令部にて形成
される命令部(22)及び上記命令に対応するパラメー
タを記入するパラメータ欄にて形成されるパラメータ部
(23)を各々設け、上記命令に対応するパラメータを
上記パラメータ部(23)に文字として記入して表記す
るコーディングシー)(1)と、該コーディングシート
(1)に表記されたプログラムを光学的に読取り、この
読取られた画像を電気的な画像信号に変換する光電変換
部(2)と、該光電変換部(2)にて変換された画像信
号を記憶するメモリ部(3)と、該メモリ部(3)に記
憶された画像信号のうち上記プログラムのパラメータ部
(23)における内容を文字として切出して認識する文
字認識部(4)と、上記メモリ部(3)に記憶された画
像信号のうち上記プログラムの命令部(22)における
内容についてヒストグラムをとるヒストグラム生成部(
5)と、該ヒストグラム生成部(5)にてヒストグラム
をとられた命令の内容を解読する命令解読部(6)と、
上記文字認識部(4)及び命令解読部(6)の各出力を
結合する結合部(7)と、該結合部(7)にて結合され
て作成されたプログラムを表示する表示部(8)とを備
える構成である。
In each of the above figures, the program input device according to the present embodiment includes an instruction section (22) formed of an instruction section that corresponds to an instruction of an input program and marks the corresponding position of an instruction that uses this program; Each parameter section (23) is provided with a parameter column in which parameters corresponding to the above command are written, and the parameters corresponding to the above command are entered as characters in the parameter section (23). 1), a photoelectric conversion unit (2) that optically reads the program written on the coding sheet (1) and converts the read image into an electrical image signal, and the photoelectric conversion unit (2) a memory unit (3) that stores the image signal converted in the memory unit (3); and character recognition that extracts and recognizes the content in the parameter unit (23) of the program from the image signal stored in the memory unit (3) as a character. a histogram generation unit (4) that takes a histogram of the contents of the instruction part (22) of the program among the image signals stored in the memory unit (3);
5), an instruction decoding unit (6) that decodes the contents of the instruction whose histogram was taken by the histogram generation unit (5),
A combination unit (7) that combines the outputs of the character recognition unit (4) and instruction decoding unit (6), and a display unit (8) that displays the program created by the combination in the combination unit (7). The configuration includes the following.

上記コーディングシート(1)は、ラベル部(21)、
命令部(22)、パラメータ部(23)を備え、上記命
令部(22)には予め各命令に対応する欄が設けられて
いる。上記ラベル部(21)、パラメータ部(23)は
、ランダムな文字が配置されることとなるため、従来装
置の文字認識装置のように文字認識読取り字種に従って
文字を記入することになる。
The above coding sheet (1) includes a label part (21),
It includes an instruction section (22) and a parameter section (23), and the instruction section (22) is provided with columns corresponding to each instruction in advance. Since random characters are arranged in the label section (21) and parameter section (23), the characters are written in accordance with the type of character recognized and read like the conventional character recognition device.

次に上記構成に基づ〈本実施例に係るプログラム入力装
置の動作について説明する。まず、プログラムの各命令
に対応した命令部を有するコーディングシート(1)(
第2図参照)に該当する命令部(22)のブランクに第
3図に示すように印を記入してブロクラムに対応するコ
ーディングシート(1)を作成する。このコーディング
シート(1)の内容を光電変換部(2)で光学的に読取
ると共にこの読取られた内容を電気的な画像信号に変換
し、この変換された画像信号をメモリ部(3)内に格納
する。さらに、このメモリ部(3)に格納された画像信
号のうちラベル部(21)、パラメータ部(23)につ
いては予め文字が入力されることが決まっていることか
ら、このラベル部(21)、パラメータ部(23)につ
いて文字認識部(4)で文字として切出して認識・解読
されることとなる。
Next, the operation of the program input device according to this embodiment will be explained based on the above configuration. First, a coding sheet (1) (
As shown in FIG. 3, a coding sheet (1) corresponding to the blockrum is created by filling in the blanks of the instruction section (22) corresponding to the instructions (see FIG. 2) as shown in FIG. The content of this coding sheet (1) is optically read by a photoelectric conversion unit (2), and the read content is converted into an electrical image signal, and this converted image signal is stored in a memory unit (3). Store. Furthermore, since it is decided in advance that characters will be input into the label section (21) and parameter section (23) of the image signal stored in the memory section (3), the label section (21), The parameter section (23) is extracted as a character and recognized and decoded by the character recognition section (4).

他方、上記メモリ部(3)に格納された画像信号のうち
命令部(23)については、第4図に示すように記入さ
れたコーディングシート(1)に対応するメモリ部(3
)の−性分における縦方向についてヒストグラム生成部
(5)にてヒストグラムをとると共に所定の閾値以上の
値を検出し、この検出された情報を命令解読部(6)に
送出する。この命令解読部(6)はその情報に基づいて
DI命令であることを解読する。
On the other hand, the command part (23) of the image signal stored in the memory part (3) is stored in the memory part (3) corresponding to the coding sheet (1) filled in as shown in FIG.
) in the vertical direction in the -characteristics, a histogram generator (5) takes a histogram, detects a value equal to or higher than a predetermined threshold, and sends the detected information to an instruction decoder (6). The instruction decoder (6) decodes the instruction as a DI instruction based on the information.

上記文字認識部(4)にて認識された内容と、命令解読
部(6)にて解読された命令とを結合して、ラベル部(
21)、命令部(22)、パラメータ部(23)とから
なるプログラム内容を表示部(8)に送出して、この表
示部(8)がその内容を表示する。
The label part (
21), an instruction section (22), and a parameter section (23) are sent to a display section (8), and this display section (8) displays the contents.

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

以上のようにこの発明に係るプログラム入力装置は、コ
ーディングシートにプログラムを使用する命令に対応位
置に印を付する命令部を設け、このコーディングシート
の内容を読取り、文字等のパラメータと命令内容とを分
けて文字認識部と命令解読部として認識、解読し、この
認識、解読された文字等のパラメータと命令とを結合し
て表示する構成を採ったことから、すべての文字を文字
認識読取り字種に従って清書する必要がなく(命令部は
印で命令に対応する位置を指定すればよい)、オペレー
タが迅速且つ容易に清書ができる。また命令部は文字認
識を行なわず単にヒストグラムをとって位置を認識して
いるだけなのでこの部分の認識率を向上させることがで
き、全体の認識率が向上し、修正の手間を不用として短
い時間で楽にプログラムを入力できる。
As described above, the program input device according to the present invention has a coding sheet provided with an instruction section that marks a position corresponding to an instruction that uses a program, reads the contents of this coding sheet, and extracts parameters such as characters and instruction contents. The system is divided into a character recognition section and a command decoding section to recognize and decode the characters, and combines and displays the parameters of the recognized and decoded characters and commands, so all characters can be recognized and decoded by character recognition and reading characters. There is no need to transcribe according to the type (the command section only needs to specify the position corresponding to the command with a mark), and the operator can quickly and easily transcribe. In addition, since the command section does not perform character recognition but simply takes a histogram to recognize the position, the recognition rate of this part can be improved, the overall recognition rate is improved, and the time required for correction is shortened by eliminating the need for corrections. You can easily input programs with .

さらにまた、キー人力操作を全く必要としない効果をも
有する。
Furthermore, it also has the effect of not requiring any manual key operation.

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

第1図はこの発明の一実施例に係るプログラム入力装置
のブロック構成図、第2図はニーディングシートのパタ
ーン例の表面、第3図は第2図のコーディングシートに
書込んだ状態の表面、第4図に命令部の認識態様図、第
5図はマイクロコンピュータ用のアセンブラ言語で記載
されたプログラム図、第6図はキーボードを用いる従来
のプログラム入力装置のブロック構成図、第7図はキー
ボードの配置構成図、第8図は文字認識装置を用いる従
来装置のブロック構成図、第9図は符号化されたプログ
ラム図表の態様図を示す。 図において、 (1)・・・コーディングシート、 (2)・・・光電変換部、(3)・・・メモリ部、(4
)・・・文字認識部、 (5)・・・ヒストグラム生成部、 (6)・・・命令解読部、(7)・・・結合部、(8)
・・・表示部。 なお、図中同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram of a program input device according to an embodiment of the present invention, FIG. 2 is a surface of an example of a kneading sheet pattern, and FIG. 3 is a surface of a pattern written on the coding sheet shown in FIG. , FIG. 4 is a recognition mode diagram of the instruction section, FIG. 5 is a program diagram written in assembler language for microcomputers, FIG. 6 is a block diagram of a conventional program input device using a keyboard, and FIG. 7 is a diagram of a program input device using a keyboard. FIG. 8 is a block diagram of a conventional device using a character recognition device, and FIG. 9 is a diagram of an encoded program chart. In the figure, (1)...Coding sheet, (2)...Photoelectric conversion section, (3)...Memory section, (4
)...character recognition unit, (5)...histogram generation unit, (6)...instruction decoding unit, (7)...combining unit, (8)
...Display section. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] プログラムの命令に対応し、このプログラムを使用する
命令の対応位置に印を付する命令欄及び上記命令に対応
するパラメータを記入するパラメータ欄を各々設け、上
記命令に対応するパラメータを上記パラメータ欄に文字
として記入して表記するコーディングシートと、該コー
ディングシートに表記されたプログラムを光学的に読取
り、この読取られた画像を電気的な画像信号に変換する
光電変換部と、該光電変換部にて変換された画像信号を
記憶する記憶部と、該記憶部に記憶された画像信号のう
ち上記プログラムのパラメータ欄における内容を文字と
して切出して認識する文字認識部と、上記記憶部に記憶
された画像信号のうち上記プログラムの命令欄における
内容についてヒストグラムをとり、命令の内容を解読す
る命令解読部と、上記文字認識部及び命令解読部の各出
力を結合する結合部とを備えて構成したことを特徴とす
るプログラム入力装置。
Corresponding to the instructions of the program, an instruction column is provided to mark the corresponding position of the instruction that uses this program, and a parameter column is provided to enter the parameters corresponding to the above instructions.The parameters corresponding to the above instructions are written in the above parameter column. A coding sheet that is written and written as characters, a photoelectric conversion unit that optically reads the program written on the coding sheet and converts the read image into an electrical image signal, and the photoelectric conversion unit that a storage unit that stores the converted image signal; a character recognition unit that extracts and recognizes the content in the parameter field of the program from the image signal stored in the storage unit as a character; and an image stored in the storage unit. A command decoding section that takes a histogram of the contents of the instruction column of the program among the signals and decodes the contents of the instructions, and a coupling section that combines the respective outputs of the character recognition section and the instruction decoding section. Characteristic program input device.
JP61186433A 1986-08-08 1986-08-08 Program inputting device Pending JPS6341929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61186433A JPS6341929A (en) 1986-08-08 1986-08-08 Program inputting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61186433A JPS6341929A (en) 1986-08-08 1986-08-08 Program inputting device

Publications (1)

Publication Number Publication Date
JPS6341929A true JPS6341929A (en) 1988-02-23

Family

ID=16188352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61186433A Pending JPS6341929A (en) 1986-08-08 1986-08-08 Program inputting device

Country Status (1)

Country Link
JP (1) JPS6341929A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02166562A (en) * 1988-12-21 1990-06-27 Yokogawa Electric Corp Drawing reading device
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02166562A (en) * 1988-12-21 1990-06-27 Yokogawa Electric Corp Drawing reading device
JP2007318562A (en) * 2006-05-26 2007-12-06 Kyocera Mita Corp Image forming apparatus

Similar Documents

Publication Publication Date Title
JPS6341929A (en) Program inputting device
JPH0373914B2 (en)
JPS59228291A (en) Character pattern registration processing system
JPS6141012B2 (en)
JPH0850530A (en) Handwritten character input method
JP2909072B2 (en) Document processing method and apparatus
JP2578747B2 (en) Handwritten information processing method
JPH0236482A (en) Information recording device
JPH0651900A (en) On-line character input device
JPS61198376A (en) Optical character reader
JPS60146373A (en) Pattern recognition system
JP2682873B2 (en) Recognition device for tabular documents
JPH0514607Y2 (en)
JP2595399B2 (en) Document processing method
JP3045086B2 (en) Optical character reading method and apparatus
JPS61198378A (en) Optical character reader
JPS6326789A (en) Character recognizing device
JPH05712B2 (en)
JPS5958585A (en) Character processing device
JP2001084330A (en) Mark correction confirming system and method and program recording medium for confirmation
JPH04262660A (en) Picture recognition output device
JPH0459669B2 (en)
JPH03245284A (en) Character input device
JPH0473193B2 (en)
JPS5890270A (en) Character reader