JPH03134771A - Automatic generating system for picture form format - Google Patents

Automatic generating system for picture form format

Info

Publication number
JPH03134771A
JPH03134771A JP1271687A JP27168789A JPH03134771A JP H03134771 A JPH03134771 A JP H03134771A JP 1271687 A JP1271687 A JP 1271687A JP 27168789 A JP27168789 A JP 27168789A JP H03134771 A JPH03134771 A JP H03134771A
Authority
JP
Japan
Prior art keywords
format
step means
cell
processing
information
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.)
Granted
Application number
JP1271687A
Other languages
Japanese (ja)
Other versions
JPH0748230B2 (en
Inventor
Masayuki Tsuchiya
土屋 雅幸
Hiroshi Fujise
藤瀬 洋
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi 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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP1271687A priority Critical patent/JPH0748230B2/en
Priority to KR1019910700612A priority patent/KR950006410B1/en
Priority to DE4091841A priority patent/DE4091841C2/en
Priority to DE19904091841 priority patent/DE4091841T/de
Priority to US07/689,071 priority patent/US5231579A/en
Priority to PCT/JP1990/001354 priority patent/WO1991006057A1/en
Publication of JPH03134771A publication Critical patent/JPH03134771A/en
Publication of JPH0748230B2 publication Critical patent/JPH0748230B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To improve the work efficiency by only allowing a reader to read format of a slip or a form to automatically generate a format to be processed by a computer. CONSTITUTION:A console device 2 and a reader 3 are connected to a processor 1 through a reader controller 4, and a printer 6 is connected to the processor 1 through a printer controller 5, and a storage device 8 is connected there through a storage device controller 7. The format of a slip or a form is only inputted from the reader 3 to generate a picture format to be processed by the computer, and it is so most suitably adjusted and outputted that all of this format can be displayed on a display device. Thus, the work process where a user generates the format on the display device is eliminated to improve the efficiency of the user.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ユーザの一般的な業務処理をコンピユータ化
する際に、発生する業務プログラム作成作業で伝票や帳
票からコンピュータ処理用画面、及びその画面から帳票
を自動作成する方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is applicable to computerizing a user's general business processing and converting documents and forms into computer processing screens and the like in the business program creation work that occurs. Concerning a method for automatically creating forms from the screen.

[従来の技術] 従来、ユーザの業務をコンピユータ化するには。[Conventional technology] Traditionally, how to computerize user work.

環境の整備として伝票画面形式の作成、帳票形式の作成
がある。これらの作成は、−船釣にはパラメタで外から
条件を与えて作成するバッチ方式と、画面と対話しなが
ら作り上げるペインティング方式がとられている。これ
らの方式は、オペレータが作成する画面や帳票の形式を
見ながらカラム変換を行って、ディスプレイ上に1カラ
ムづつ描いていく方式をとっている。この種の技術に関
連するものとして、特原平1−175469号がある。
Preparing the environment includes creating a slip screen format and a form format. These are created using the batch method, in which conditions are given externally using parameters, and the painting method, in which the products are created while interacting with the screen. In these methods, the operator performs column conversion while looking at the format of the screen or form being created, and draws one column at a time on the display. Tokuhara No. 1-175469 is related to this type of technology.

[発明が解決しようとする課題] 通常ユーザの業務は、入力として画面、出力として帳票
から成り立っている。現状において、この画面や帳票を
コンピュータ処理用として作成するには、紙上に描かれ
ているフォーマットをディスプレイ上のカラム単位に変
換し、ディスプレイに描いていく。しかし、位置合わせ
の計算が難しく、カラムの数え誤りも多く発生し、作成
工数が非常にかかる。
[Problems to be Solved by the Invention] Normally, a user's work consists of a screen as input and a form as output. Currently, in order to create screens and forms for computer processing, the format drawn on paper is converted into column units on the display, and then drawn on the display. However, alignment calculations are difficult, column counting errors occur frequently, and the creation process is extremely time-consuming.

さらに、伝票や帳票は、行や列の間に空欄が多く、この
ままディスプレイに描くとディスプレイ画面よりはみ出
すことが多い。このはみ出したままで業務を実行すると
、業務実行中に画面のスクロールが発生し、業務実行性
能に影響が出る。従って、できるだけディスプレイ画面
内に納めることが必要であり、これらの調整を全てオペ
レータが考えながら作成していた。
Furthermore, slips and forms often have blank spaces between rows and columns, and if drawn on the display as is, it often extends beyond the display screen. If you run a job with this protruding area, the screen will scroll while the job is being executed, which will affect the job execution performance. Therefore, it is necessary to fit as much as possible within the display screen, and all these adjustments have been made while being considered by the operator.

このように、ユーザのフォーマット作成作業に要する時
間は、多大なものであった。
As described above, the time required for the user to create the format is enormous.

本発明の目的は、ユーザのフォーマット作成作業をなく
し、また、ユーザの業務処理の効率向上をはかり、ユー
ザの業務を低減する画面帳票形式の自動作成方式を提供
することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an automatic screen form creation method that eliminates the user's format creation work, improves the efficiency of the user's business processing, and reduces the user's work.

[課題を解決するための手段] 上記目的を達成するために、帳票の処理を行う帳票処理
装置において、帳票のフォーマットが記述されている被
記述媒体からフォーマットの被記述情報を読み取る第1
のステップ手段と、読み取った被記述情報からディスプ
レイ1行当りの文字サイズを決定する第2のステップ手
段と、該決定した文字サイズをもとにセル情報を配置す
る第3のステップ手段と、該配置したセル情報をもとに
セル外情報を配置する第4のステップ手段と、該文字サ
イズ情報と該セル情報と該セル外情報をディスプレイ画
面外にはみ出さないように圧縮する第5のステップ手段
と、ディスプレイ画面内へ表示したフォーマットの各項
目の処理手順を決定する第6のステップ手段とを有した
ものである。
[Means for Solving the Problems] In order to achieve the above object, in a form processing device that processes forms, there is a first method that reads written information of a format from a written medium in which a form format is written.
a second step means for determining a character size per line of display from the read written information; a third step means for arranging cell information based on the determined character size; A fourth step of arranging out-of-cell information based on the arranged cell information, and a fifth step of compressing the character size information, the cell information, and the out-of-cell information so that they do not protrude outside the display screen. and sixth step means for determining the processing procedure for each item of the format displayed on the display screen.

また、前記第5のステップ手段は、空白行、空白列の削
除する第7のステップ手段と、知識ベースを利用しての
文字列の同意語変換をする第8のステップ手段と、全角
文字から半角文字への変換をする第9のステップ手段を
含んだものである。
Further, the fifth step means includes a seventh step means for deleting blank lines and blank columns, an eighth step means for synonymously converting character strings using a knowledge base, and a double-byte character string. This includes ninth step means for converting into half-width characters.

また、前記第6のステップ手段は、各項目の文字列を知
識ベースとのマツチングによって判断する第10のステ
ップ手段を含んだものである。
Further, the sixth step means includes a tenth step means for determining the character string of each item by matching it with the knowledge base.

c作泪] 帳票から基準文字サイズを求め、罫線や文字のミリメー
トル位置からこの基準サイズによってディスプレイの行
桁位置を求める手段によって帳票や伝票上の形式と類似
のフォーマットを作成することができる。
A format similar to the format on a form or slip can be created by determining the standard character size from the form and determining the line position of the display based on this standard size from the millimeter positions of the ruled lines and characters.

先に罫線で囲まれた部分の行列変換を行い、配置した後
に罫線で囲まれていない文字列の配置を罫線で囲まれた
部分の配置テーブルを見ながら行うため、帳票、伝票上
にある文字の大きさによる配置の伸び縮みに依存せず、
伝票、帳票上にある相対位置とほぼ同じに配置でき、−
見して違和感を覚えるようなフォーマットができあがら
ない。
First, the part surrounded by ruled lines is converted into a matrix, and after placement, the character strings not surrounded by ruled lines are placed while looking at the arrangement table for the part surrounded by ruled lines, so the characters on the form or slip are It does not depend on the expansion and contraction of the arrangement due to the size of
It can be placed at almost the same relative position on the slip or form, and -
I can't create a format that feels strange when I look at it.

知識ベースを利用し、同意語変換による文字列の圧縮を
行うことによってディスプレイ内に効率よく納めること
ができ、また、先に処理すべき項目を選びだし、読み込
んだ形式とを照らしあわせて処理順序を付加することに
よって効率のよい業務処理ができる。
By using the knowledge base and compressing character strings through synonym conversion, it is possible to efficiently fit them on the display, and it is also possible to select items to be processed first and compare them with the read format to determine the processing order. By adding , efficient business processing is possible.

[実施例] 以下、本発明の一実施例を図面を用いて詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail using the drawings.

第1図は、本発明の一実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

全体の制御を行う中央のプロセッサ1には、オペレータ
が指示を行ったり、作成したフォーマットを表示したり
するコンソール装置2、伝票、帳票を読み取るための読
み取り装置3が読み取り装置用コントローラ4を介して
接続されている。また、処理した伝票や帳票の出力を行
うためのプリンタ6がプリンタコントローラ5を介して
、作成したフォーマット等を格納するための記憶装置8
が記憶装置用コントローラ7を介して接続されている。
A central processor 1 that performs overall control includes a console device 2 for giving instructions from the operator and displaying created formats, and a reading device 3 for reading slips and documents via a reading device controller 4. It is connected. Additionally, a storage device 8 is used to store formats created by the printer 6 via the printer controller 5 for outputting processed slips and forms.
are connected via a storage device controller 7.

プロセッサ1は、読み取り装置3から伝票、もしくは帳
票を読み取らせ、その入力情報を記憶装置8内の入力情
報格納領域10に格納する。格納した入力情報よりプロ
セッサ1が記憶装置8内の知識ベース9を使って伝票、
帳票の形やその中で使用されている各項目内容等の認識
を行う。認識結果を認識結果格納領域11に格納し、認
識結果からプロセッサ1でフォーマットの作成を自動的
に行う。フォーマット格納領域12に格納し、生成され
たフォーマットから処理手順の設定を行い、業務プログ
ラムの実行を行う。
The processor 1 causes the reading device 3 to read a slip or form, and stores the input information in the input information storage area 10 in the storage device 8 . Based on the stored input information, the processor 1 uses the knowledge base 9 in the storage device 8 to create a slip,
Recognize the form of the form and the contents of each item used within it. The recognition result is stored in the recognition result storage area 11, and the processor 1 automatically creates a format based on the recognition result. The data is stored in the format storage area 12, a processing procedure is set based on the generated format, and the business program is executed.

第2図は、本発明の一実施例の実行時における一連の処
理の流れを説明するための図である。
FIG. 2 is a diagram for explaining the flow of a series of processes during execution of an embodiment of the present invention.

これからコンピュータによって処理を行おうとする伝票
がある(1000)。伝票の用紙をOCR等の読み取り
装置3により読み取らせ、入力情報の入力を行う(10
01)。読み込んだ罫線、文字、画像などの入力情報を
もとに、コンソール装置のディスプレイ上に表示を行う
(1002)。
There is a slip that is about to be processed by the computer (1000). The slip paper is read by a reading device 3 such as OCR, and input information is input (10
01). Based on the read input information such as ruled lines, characters, and images, display is performed on the display of the console device (1002).

オペレータは、この表示内容の確認・修正ができる(1
003)。コンピュータは読み込んだ入力情報や、オペ
レータからの入力情報等を利用して入出カフイールドの
認識を行い、認識した入出カフイールドの表示を行う(
1004)。
The operator can check and modify the displayed contents (1)
003). The computer uses the read input information and the input information from the operator to recognize the input and output cuff fields, and displays the recognized input and output cuff fields (
1004).

さらに、ここでも確認・修正ができる(1o05)。確
認・修正後、読み込んだ入力情報や認識した入出カフイ
ールドをもとにこれから処理するフォーマットの自動作
成を行う(1006)。生成した結果を、ディスプレイ
上に表示しく10゜7)、オペレータは、確認修正でき
る。作成したフォーマットは記憶装置8内のフォーマッ
ト格納領域12に格納する(1008)。作成したフォ
ーマットの情報等をもとに処理の手続きを作成しく10
09) 、業務の実行を行い(1010)、データの入
力等の処理が行われる(1011)。
Furthermore, confirmation and correction can be done here as well (1o05). After confirmation and correction, a format to be processed from now on is automatically created based on the read input information and the recognized input/output fields (1006). The generated results are displayed on the display (10°7), allowing the operator to check and modify them. The created format is stored in the format storage area 12 in the storage device 8 (1008). Create processing procedures based on the created format information etc. 10
09), business is executed (1010), and processing such as data input is performed (1011).

第3図は、本発明の一実施例の画面帳票形式の自動作成
処理の流れを示すフローチャートである。
FIG. 3 is a flowchart showing the flow of automatic creation processing in a screen form format according to an embodiment of the present invention.

基準となる文字サイズを求めたり、拡大する文字の抽出
を行う等の処理からなる前処理を行う(1100)。第
4図に示しであるような「顧客名」のように、罫線で囲
まれた情報(以下、セルと呼ぶ)群の各配置を行い(1
101)、また上記の罫線で囲まれた情報以外の情報(
以下、セル外情報と呼ぶ)群の配置を行い(1102)
、作成結果がディスプレイ画面をはみ出さないようにす
る縮小処理や、処理の順序を決定する順序処理等の後処
理を行う(1103)。
Preprocessing is performed (1100), which includes processing such as determining a standard character size and extracting characters to be enlarged. Each group of information (hereinafter referred to as a cell) surrounded by ruled lines is arranged (1
101), and information other than the information surrounded by the above ruled lines (
(hereinafter referred to as extra-cell information) is arranged (1102)
, post-processing is performed such as reduction processing to prevent the created result from extending beyond the display screen and order processing to determine the order of processing (1103).

第4図は1本発明の一実施例の処理するためのセル情報
および、セル外情報と伝票の一例を示す図である。
FIG. 4 is a diagram showing an example of cell information, extra-cell information, and a slip to be processed in an embodiment of the present invention.

伝票15内では、情報は罫線で囲まれた部分とそれ以外
1例えば「顧客名」、「コード」、「品名」等と、「納
品書」、1月」、「日」等の2種類に分けられる。前述
のものをセル情報、後述のものをセル外情報と呼び、1
00〜110は、セル情報、200〜203はセル外情
報である。これらの情報は、文字列とmm単位で表現さ
れた開始位置および、終了位置から表されている。これ
らの情報は、入力処理や認識処理で作成され、フォーマ
ットの自動作成の際も、これらの情報を利用して配置し
、作成する。
In the slip 15, the information is divided into two types: one surrounded by ruled lines and the other 1, such as "customer name", "code", "product name", etc., and "delivery note", "January", "date", etc. Can be divided. The above-mentioned information is called cell information, and the below-mentioned information is called extra-cell information.
00 to 110 are cell information, and 200 to 203 are outside cell information. This information is represented by a character string, a start position expressed in mm, and an end position. This information is created through input processing and recognition processing, and is also used to arrange and create formats when automatically creating formats.

第5図は1本発明の一実施例の第3図に示したフローチ
ャート中の前処理の流れを示すフローチャートである。
FIG. 5 is a flowchart showing the flow of preprocessing in the flowchart shown in FIG. 3 in one embodiment of the present invention.

前処理(1100)は、基準文字サイズを求める処理(
1200)と、拡大する文字の抽出を行う処理(120
1)の2つの処理がらなり、まず、ディスプレイ画面上
の1文字に相当する伝票@票上の1文字の大きさを求め
る。これは、読み込む伝票や帳票中の全ての文字の中が
ら一番多く使用されている文字のサイズを基準文字サイ
ズ205と決定し、第6図に示すように、行ピッチ、文
字ピッチを加えた値を設定する。この大きさを使用して
以降セルの配置処理を行っていく。
The preprocessing (1100) is the process of calculating the standard character size (
1200) and processing for extracting characters to be enlarged (120
1) consists of two processes. First, the size of one character on the slip @ slip that corresponds to one character on the display screen is determined. This is done by determining the standard character size 205 as the size of the most commonly used character among all the characters in the document or form to be read, and then adding the line pitch and character pitch as shown in Figure 6. Set the value. Using this size, cell placement processing will be performed thereafter.

次に、拡大文字として処理する文字の抽出を行う。第7
図に示すように、基準文字サイズから行ピッチ、列ピツ
チの大きさを引いた値とを比較し、ある値以上あれば拡
大文字として認識していく。
Next, characters to be processed as enlarged characters are extracted. 7th
As shown in the figure, the values obtained by subtracting the line pitch and column pitch sizes from the standard character size are compared, and if the characters are larger than a certain value, they are recognized as enlarged characters.

第8図は、本発明の一実施例の配置処理の流れを示すフ
ローチャートである。
FIG. 8 is a flowchart showing the flow of placement processing according to an embodiment of the present invention.

ここで、伝票内のセルの構成について、第9図により説
明する。
Here, the structure of cells within a slip will be explained with reference to FIG.

通常の伝票や帳票の形はセルのかたまりから成り立って
おり、このかたまり単位に配置していくことによってき
れいな形で配置できる。この隣接したセルのかたまりを
ブロックと呼ぶ。
The shape of normal slips and forms is made up of clusters of cells, and by arranging cells in units of cells, they can be arranged neatly. This group of adjacent cells is called a block.

第9図では115,116,117の各ブロックに分か
れており、それぞれのブロックの一番左上の118,1
19,120のセルを基準セルと呼ぶ。第8図のフロー
チャートで、まず、この基準セルを求める(1300)
この基準セルの開始点、終了点をディスプレイ画面上の
行、列数に変換し、これをもとにして、ブロック内の各
セルについても位置計算を行い、配置を行う(1301
)。上下左右の微調整を行い(1302)、全セルにつ
いて配置を行ったか判定しく1303)、全てのセルに
ついて配置が行われていれば終了し、行われていなけれ
ば、次のセルについて配置を行う。
In Figure 9, it is divided into blocks 115, 116, 117, and 118, 1 at the top left of each block.
Cells 19 and 120 are called reference cells. In the flowchart of FIG. 8, first find this reference cell (1300)
The starting point and ending point of this reference cell are converted into the number of rows and columns on the display screen, and based on this, the position of each cell in the block is calculated and arranged (1301
). Fine adjustment is performed in the vertical and horizontal directions (1302), and it is determined whether all cells have been placed (1303). If all cells have been placed, the process ends; if not, the next cell is placed. .

第10図は、基準セルの開始行列数、および終了行列数
を求める計算式を示した図である。
FIG. 10 is a diagram showing calculation formulas for determining the number of starting columns and the number of ending columns of the reference cell.

伝票や帳票のmm単位で表現されている位置の値を基準
文字サイズで割算して求めていく。これによりディスプ
レイ画面上の行、列数が求められる。
It is calculated by dividing the position value expressed in mm on the slip or form by the standard character size. This determines the number of rows and columns on the display screen.

第11図は、本発明の一実施例の配置を行った例の一図
である。
FIG. 11 is a diagram showing an example of the arrangement of an embodiment of the present invention.

伝票20の「顧客名」130が基準セルとなり、開始点
210、終了点212を第10図に示したような計算方
法で行列計算し、開始行列と、終了行列を求め、フォー
マット21の点220と点221に変換される。伝票2
0の「住所」131のセルの開始点212は、基準セル
の開始行と終了列点が同じ値であることからフォーマッ
ト21の点222が設定される。「住所」131の終了
点223は、基準となるものがないため、終了点223
の値をもとに行列計算し、終了行数、終了列数を求める
。伝票20の「氏名」132のセルの開始点214と終
了点215は、基準セルの終了行列数と「住所」131
のセルの終了行列数により、フォーマット21の点22
4と点225が求められる。
The "Customer Name" 130 of the slip 20 becomes the reference cell, and the starting point 210 and ending point 212 are matrix-calculated using the calculation method shown in FIG. is converted to point 221. Slip 2
The starting point 212 of the cell of the "address" 131 of 0 is set to the point 222 of format 21 because the starting row and ending column points of the reference cell have the same value. The end point 223 of "Address" 131 is the end point 223 because there is no reference.
Calculate the matrix based on the values of and find the ending number of rows and ending columns. The starting point 214 and ending point 215 of the cell of "Name" 132 of the slip 20 are the ending matrix number of the reference cell and "Address" 131.
Point 22 of format 21 by the ending matrix number of cells in
4 and point 225 are found.

「番号」133、空41’J 134のセルのように開
始点が前のセルの途中から始まっていて基準文字サイズ
以内の空きがある場合の開始点216,134は、基準
セルの開始行点210に合わせる。
"Number" 133, empty 41'J When the starting point starts from the middle of the previous cell and there is space within the standard character size, such as cell 134, the starting points 216 and 134 are the starting line points of the standard cell. Adjust to 210.

従って「番号」133の開始点216はフォーマット2
1の点226.終了点217はフォーマット21の点2
27となる。同様に空欄セル134の開始点218は、
フォーマット21の点228、終了点219は点229
と変換される。この場合「番号」228のセル内の文字
列は、2文字であるが、作成されたフォーマット21の
138のセルでは3文字介抱いている。
Therefore, the starting point 216 of "number" 133 is format 2
1 point 226. End point 217 is point 2 of format 21
It will be 27. Similarly, the starting point 218 of the blank cell 134 is
Format 21 point 228, end point 219 is point 229
is converted to In this case, the character string in the cell "Number" 228 is two characters, but in the cell 138 of the created format 21, it contains three characters.

このように調整して大きくなった場合、セル内の文字列
は、バランスよくなるようセンタリングされる。以上の
ような方法によってテーブル22が作成される。テーブ
ル22には、セルの番号と帳票上の位置の値、ディスプ
レイ上の行1列に変換した値が登録される。セルの配置
の後は、セル外の文字の配置である。セル外の文字の配
置は、上述したテーブルをもとに行う。セル外の文字列
の配置位置は、その近くにあるセルとの位置関係が重要
であり、単純に行列に変換しただけでは。
If the size is increased by adjusting in this way, the string within the cell will be centered to maintain a good balance. The table 22 is created by the method described above. In the table 22, the cell number, the value of the position on the form, and the value converted to the first row and column on the display are registered. After cell placement, characters outside the cell are placed. The arrangement of characters outside the cells is done based on the table described above. The location of strings outside cells is important in relation to nearby cells, so simply converting them to a matrix is not enough.

正しい配置が得られない。I can't get the correct placement.

第12図は1本発明の一実施例のセル外文字列の配置を
行った例を説明するための図である。
FIG. 12 is a diagram for explaining an example of arrangement of character strings outside cells according to an embodiment of the present invention.

セル外文字の配置はセル外文字の開始位置を基に上述の
セルの配置で作成したテーブルを検索し、一番近い値を
もつセルの開始行、および開始列を求める。
The arrangement of characters outside the cell is determined by searching the table created for the cell arrangement described above based on the start position of the character outside the cell, and finding the starting row and column of the cell with the closest value.

例えば、第12図で140〜143のセルがテーブル1
45のように配置されているとする。
For example, in Figure 12, cells 140 to 143 are in table 1.
45.

「年月日」144のセル外文字列の開始位置を求めるに
は、「年月日」144の開始行位置をもとにテーブルの
開始行位置を検索し、一番近い値のセルを見つける。こ
の例では、「氏名」140のセルとなる。この「氏名」
14oのセルの開始行数2が「年月日」144の文字列
の開始行となる。
To find the start position of the character string outside the cell of "Year, Month, Day" 144, search the starting row position of the table based on the start row position of "Year, Month, Day" 144, and find the cell with the closest value. . In this example, the cell is “Name” 140. This "name"
The starting line number 2 of the cell 14o becomes the starting line of the character string "year, month, day" 144.

同様に「年月日」144の開始列をもとにテーブルの開
始列位置を検索し、一番近いセル「金額」143を見つ
ける。このセルの開始列数が求める列数である。結果と
して、この例では「年月日」144の文字列の配置位置
は、2行8列目ということになる。これで、セル外文字
の配置処理が終了する。
Similarly, the starting column position of the table is searched based on the starting column of "year, month, day" 144, and the nearest cell "amount" 143 is found. The starting column number of this cell is the desired column number. As a result, in this example, the character string "year, month, day" 144 is placed in the 2nd row and 8th column. This completes the process of placing characters outside cells.

第13図は、本発明の一実施例の第3図に示した後処理
の中の処理の流れを示すフローチャートである。
FIG. 13 is a flowchart showing the flow of processing in the post-processing shown in FIG. 3 in one embodiment of the present invention.

ここでの後処理では、ディスプレイ画面内にできるだけ
納めるための作成したフォーマットの調整処理(140
0)と、業務処理を効率よく実行するための順序設定(
1401)を行う。
In the post-processing here, the created format is adjusted to fit as much as possible within the display screen (140
0) and order settings for efficiently executing business processes (
1401).

第14図に、調整処理のフローチャートを示す。FIG. 14 shows a flowchart of the adjustment process.

まず、セル内文字列のセンタリングを行い(1500)
、作成したフォーマットがディスプレイ画面より大きい
かチエツクを行う(1501)。
First, center the string in the cell (1500)
, checks whether the created format is larger than the display screen (1501).

ディスプレイ画面より大きい場合は、配置上一番多くと
られている空白行、列の削除を行う(1502)。削除
した後、再び作成したフォーマットがディスプレイ画面
より大きいかチエツクを行い(1503)、まだ大きい
場合は、文字列で同意語があるものについて、一番短い
同意語の文字列に変換し、文字列の縮小を行う(150
4)。三度、ディスプレイより大きいかチエツクを行い
(1505)、まだ大きい場合には、文字列の全角文字
から半角文字への変換を行う(1506)。
If it is larger than the display screen, the blank rows and columns that are the largest in layout are deleted (1502). After deleting, check whether the created format is larger than the display screen (1503), and if it is still larger, convert the strings with synonyms to the shortest synonyms, and (150
4). It is checked three times whether it is larger than the display (1505), and if it is still larger, the character string is converted from full-width characters to half-width characters (1506).

最後に、作成したフォーマットのディスプレイ画面内へ
のセンタリング調整を行い(1507)。
Finally, centering adjustment of the created format within the display screen is performed (1507).

終了する。finish.

なお、第14図のフローチャートでは、ステップ15o
6の後はディスプレイ画面内のセンタリングを行って終
了するが、ステップ1506の後に1作成したフォーマ
ットがディスプレイ画面より大きいかチエツクを行って
大きい場合には、項目欄を1行だったものを複数行とし
、明細桁数の縮小を行う処理も付加することができる。
In addition, in the flowchart of FIG. 14, step 15o
After step 6, the display screen is centered and the process ends. However, after step 1506, a check is made to see if the created format is larger than the display screen. If it is larger, the item field is changed from one line to multiple lines. It is also possible to add processing to reduce the number of digits in the details.

第15図は、第14図のステップ15o4の同意語変換
処理の一例を説明するための図である。
FIG. 15 is a diagram for explaining an example of the synonym conversion process in step 15o4 in FIG. 14.

「御客様御住所」155は、入力桁数より項目文字列の
方が大きく、ディスプレイ画面よりはみ出している。こ
のような場合、「御客様御住所」155の文字列を知識
ベース156を利用して、「御客住所」157のような
より短い文字列に同意語変換する。これによってディス
プレイ画面に納まるように縮小することができる。
In "Customer Address" 155, the item character string is larger than the number of input digits, and it protrudes from the display screen. In such a case, the character string "Customer's address" 155 is synonymously converted into a shorter character string such as "Customer's address" 157 using the knowledge base 156. This allows it to be reduced to fit on the display screen.

第16図は、第14図のステップ1506の全角文字か
ら半角文字への変換処理の一例を説明するための図であ
る。
FIG. 16 is a diagram for explaining an example of the conversion process from full-width characters to half-width characters in step 1506 of FIG. 14.

カタカナ文字等、半角文字が存在する文字に関しては、
該当する半角文字に変換する。「顧客コード」160の
文字列では、「コード」が半角文字に変換されることに
よって、「顧客コード」161のようにディスプレイ画
面内に納めることが可能となる。
For characters with half-width characters such as katakana characters,
Convert to the appropriate half-width characters. In the character string "Customer Code" 160, by converting the "Code" into half-width characters, it becomes possible to fit it within the display screen like "Customer Code" 161.

通常、各項目の処理順は、上から下、左から右といった
順に処理されていくが、伝票、帳票の内容によっては、
右から左へといった具合に逆の順で処理を行った方がよ
い場合もある。このような場合のために1.コンピュー
タで自動的に処理の順序を決定する処理を行って、効率
よく処理できるようにしである。
Normally, the processing order of each item is from top to bottom and left to right, but depending on the contents of the slip or form,
In some cases, it may be better to perform the processing in the reverse order, such as from right to left. For such cases 1. The computer automatically determines the processing order so that processing can be carried out efficiently.

第17図は1本発明の一実施例の処理順序の決定処理の
一例を説明するための図である。
FIG. 17 is a diagram for explaining an example of processing order determination processing according to an embodiment of the present invention.

伝票3oは、通常に左から右に順番を付けた例である。The slip 3o is an example in which the order is normally given from left to right.

それに対して、伝票31では右から左といった具合に通
常とは逆の処理を含んだ例である。
On the other hand, the slip 31 is an example in which processing is reversed from the normal one, such as from right to left.

通常の処理手順では、まず、年165、月16」、日1
67が自動表示され、オペレータが氏名に関するコード
、例えば顧客別に付加しである氏名コードの入力を行う
。コンピュータはデータベースより氏名コードに対応す
る氏名を検索して、氏名フィールド169に自動表示す
る。同様に品コードについてもオペレータからの入力で
品名フィールドに自動表示される。従って、伝票30に
ついてはこの処理順番でよい。しかし、伝票31の場合
は、「氏名」、「コード」、および「品コード」、「品
名」のフィールド位置が伝票30とは異なっており、こ
れを上から下、左から右に処理した場合には、氏名に関
するコードを入力する前に、また、品コードを入力する
前に、それぞれ氏名フィールド、品名フィールドがきて
しまい処理が面倒である。このため、このような場合は
、処理の順序を173→174→175→177→17
6→179→178→180の順に入れ替える処理を行
う。この入れ替えについても、知識ベースを利用して行
う。
In the normal processing procedure, first, "Year 165, Month 16", Day 1
67 is automatically displayed, and the operator inputs a code related to the name, for example, a name code added for each customer. The computer searches the database for the name corresponding to the name code and automatically displays it in the name field 169. Similarly, the product code is automatically displayed in the product name field upon input from the operator. Therefore, this processing order is sufficient for the slip 30. However, in the case of slip 31, the field positions of "Name", "Code", "Product Code", and "Product Name" are different from those in Slip 30, and when processed from top to bottom and left to right. , the name field and product name field appear before entering the name-related code and before entering the product code, respectively, making the process cumbersome. Therefore, in such a case, the processing order should be changed to 173 → 174 → 175 → 177 → 17.
Processing is performed to replace the data in the order of 6 → 179 → 178 → 180. This replacement is also performed using the knowledge base.

配置調整の処理終了後、まず、フィールドテーブル32
が作成され、各項目名称をもとに知識ベース33の入力
項目区別テーブル35中から、該当する項目名称の検索
を行い、オペレータが入力を行わなければならない入力
項目かどうかの区別の判定を行う。入力項目と関係する
表示項目で、入力項目の前に表示項目があるかをチエツ
クし、ある場合には、順序を入れ替える。伝票31の例
では、フィールドテーブル32の項目の中から入力項目
となるものとして、「コード」と「品コード」があがる
、この2つの項目の前には、「氏名」と「品名」という
、それぞれの入力項目に関係する表示項目があるため、
順序の入れ替えが行われ、処理順番テーブル34の順と
なるにのようにして、知識ベースを使いながら、正しい
処理順序の設定を行うことが可能となる。
After completing the placement adjustment process, first, the field table 32
is created, the corresponding item name is searched from the input item classification table 35 of the knowledge base 33 based on each item name, and the classification is determined as to whether it is an input item that the operator must input. . For display items related to input items, check whether there is a display item before the input item, and if there is, change the order. In the example of the slip 31, "code" and "product code" are listed as input items from among the items in the field table 32. Before these two items, "name" and "product name" are listed. There are display items related to each input item, so
The order is rearranged to match the order of the processing order table 34, and it becomes possible to set the correct processing order using the knowledge base.

本実施例によれば、伝票や帳票のフォーマットを読み取
り装置から読み取らせるだけで、コンピュータで処理す
るフォーマットが自動作成され、オペレータが作成する
という作業工程がなくなり、大幅な作業効率の向上とな
る。
According to this embodiment, simply by having a reading device read the format of a slip or form, a format to be processed by a computer is automatically created, eliminating the work process of having to be created by an operator, resulting in a significant improvement in work efficiency.

また、ディスプレイ画面内に納まるように最適に調整さ
れるため、オペレータが業務処理を実行してい(上で、
確認等がすぐにでき、オペレーティングが容易となる。
In addition, since it is optimally adjusted to fit within the display screen, it is possible for operators to perform business processing (
Confirmation, etc. can be done quickly, and operation becomes easy.

[発明の効果] 以上の説明から明らかなように、本発明によれば、伝票
や帳票のフォーマットをOCR等の読み取り装置から入
力するだけで、コンピュータで処理する画面フォーマッ
トが作成でき、しかもディスプレイに納まるように最適
に調整されて出力されることで、利用者がディスプレイ
上に作成していくという作業工程がなくなり、大幅な利
用者の効率向上がはかられるという効果がある。
[Effects of the Invention] As is clear from the above description, according to the present invention, a screen format to be processed by a computer can be created by simply inputting the format of a slip or document through a reading device such as OCR, and moreover, it is possible to create a screen format for processing on a computer. By optimally adjusting and outputting the image to fit the image, the user no longer has to create it on the display, which has the effect of greatly improving user efficiency.

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

第1図は、本発明の一実施例の全体構成を示すブロック
図、第2図は、本発明の一実施例のオペレータが使用す
る場合の手順の流れを説明するための図、第3図は、本
発明の一実施例の処理の一連の流れを示すフローチャー
ト、第4図は、本発明の一実施例のディスプレイ画面に
表示した伝票フォーマットと入力した情報のテーブルを
示す図、第5図は、本発明の一実施例の前処理の処理内
容を表すフローチャート、第6図は、本発明の一実施例
の配置する際の基準文字サイズの構成を説明するための
図、第7図は1本発明の一実施例の拡大文字の抽出方法
を説明するための図、第8図は、本発明の一実施例の配
置処理の流れを示すフローチャート、第9図は、本発明
の一実施例の各項目の関係を説明するための図、第10
図は、本発明の一実施例の読み込んだ入力情報の変換を
行う計算方法を示した図、第11図は、本発明の一実施
例の実際の配置例と帳票フォーマット格納テーブルを説
明するための図、第12図は、本発明の一実施例のセル
外文字列の配置方法を説明するための図、第13図は、
本発明の一実施例の後処理のフローチャート、第14図
は1本発明の一実施例のディスプレイ画面内への収納調
整の詳細なフローチャート、第15図は1本発明の一実
施例の同意語変換方式の概要を説明するための図、第1
6図は、本発明の一実施例の半角文字変換方式の概要を
示す図である6第17図は、本発明の一実施例の処理手
順の決定方法を説明するための図である。 1・・・プロツセッサ。 2・・・コンソール装置。 3・・・読み取り装置。 6・・・プリンタ。 8・・・記憶装置。 9・・・知識ベース。 10・・・入力情報格納領域。 11・・・認識結果格納領域。 12・・・フォーマット格納領域。 第2図 第3図 第8図 第4図 第10図 第5図 第6図 第7図 第11図 0 第12図 □80418508列目に年月日を股足第14図 第 3 図 第 5 図 第 6 図
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, FIG. 2 is a diagram for explaining the flow of procedures when an operator uses the embodiment of the present invention, and FIG. 4 is a flowchart showing a series of processing steps in an embodiment of the present invention, FIG. 4 is a diagram showing a slip format displayed on a display screen and a table of input information in an embodiment of the present invention, and FIG. 6 is a flowchart showing the processing contents of preprocessing according to an embodiment of the present invention, FIG. 6 is a diagram for explaining the configuration of the standard character size when arranging according to an embodiment of the present invention, and FIG. 1. A diagram for explaining a method for extracting enlarged characters according to an embodiment of the present invention. FIG. 8 is a flowchart showing the flow of arrangement processing according to an embodiment of the present invention. FIG. Diagram for explaining the relationship between each item in the example, No. 10
The figure is a diagram showing a calculation method for converting read input information according to an embodiment of the present invention, and FIG. , and FIG. 12 are diagrams for explaining a method for arranging character strings outside cells according to an embodiment of the present invention, and FIG.
14 is a flowchart of post-processing according to an embodiment of the present invention; FIG. 14 is a detailed flowchart of adjusting storage in a display screen according to an embodiment of the present invention; FIG. 15 is a synonym of 1, an embodiment of the present invention. Diagram for explaining the outline of the conversion method, Part 1
FIG. 6 is a diagram showing an overview of a half-width character conversion method according to an embodiment of the present invention. 6 FIG. 17 is a diagram for explaining a method for determining a processing procedure according to an embodiment of the present invention. 1...Processor. 2...Console device. 3...Reading device. 6...Printer. 8...Storage device. 9...Knowledge base. 10... Input information storage area. 11...Recognition result storage area. 12...Format storage area. Figure 2 Figure 3 Figure 8 Figure 4 Figure 10 Figure 5 Figure 6 Figure 7 Figure 11 Figure 0 Figure 12 □ 8041850 Enter the date in the 8th column Figure 14 Figure 3 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】 1、帳票の処理を行う帳票処理装置において、帳票のフ
ォーマットが記述されている被記述媒体からフォーマッ
トの被記述情報を読み取る第1のステップ手段と、読み
取った被記述情報からディスプレイ1行当りの文字サイ
ズを決定する第2のステップ手段と、該決定した文字サ
イズをもとにセル情報を配置する第3のステップ手段と
、該配置したセル情報をもとにセル外情報を配置する第
4のステップ手段と、該文字サイズ情報と該セル情報と
該セル外情報をディスプレイ画面外にはみ出さないよう
に圧縮する第5のステップ手段と、ディスプレイ画面内
へ表示したフォーマットの各項目の処理手順を決定する
第6のステップ手段とを有することを特徴とする画面帳
票形式の自動作成方式。 2、請求項1において、前記第5のステップ手段は、空
白行、空白列の削除をする第7のステップ手段と、知識
ベースを利用しての文字列の同意語変換をする第8のス
テップ手段と、全角文字から半角文字への変換をする第
9のステップ手段を含むことを特徴とする画面帳票形式
の自動作成方式。 3、請求項1において、前記第6のステップ手段は、各
項目の文字列を知識ベースとのマッチングによって判断
する第10のステップ手段を含むことを特徴とする画面
帳票形式の自動作成方式。
[Scope of Claims] 1. In a form processing device that processes a form, a first step means for reading written information of a format from a written medium in which a form format is written, and from the read written information. a second step means for determining the font size per line of display; a third step means for arranging cell information based on the determined font size; and a third step means for arranging cell information based on the arranged cell information. a fifth step means for compressing the font size information, the cell information, and the extra-cell information so that they do not protrude outside the display screen; and a sixth step means for determining a processing procedure for each item. 2. In claim 1, the fifth step means includes a seventh step means for deleting blank lines and blank columns, and an eighth step means for synonymous conversion of character strings using a knowledge base. and a ninth step means for converting full-width characters into half-width characters. 3. The automatic screen form creation method according to claim 1, wherein the sixth step means includes a tenth step means for determining the character string of each item by matching it with a knowledge base.
JP1271687A 1989-10-20 1989-10-20 Screen form format automatic creation method Expired - Lifetime JPH0748230B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP1271687A JPH0748230B2 (en) 1989-10-20 1989-10-20 Screen form format automatic creation method
KR1019910700612A KR950006410B1 (en) 1989-10-20 1990-10-19 Image display and processing method of formatted and document and apparatus therefor
DE4091841A DE4091841C2 (en) 1989-10-20 1990-10-19 Method for generating a form display and screen form generation system
DE19904091841 DE4091841T (en) 1989-10-20 1990-10-19
US07/689,071 US5231579A (en) 1989-10-20 1990-10-19 Method and system for displaying and processing image of form document
PCT/JP1990/001354 WO1991006057A1 (en) 1989-10-20 1990-10-19 Image display/processing method of formatted document and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1271687A JPH0748230B2 (en) 1989-10-20 1989-10-20 Screen form format automatic creation method

Publications (2)

Publication Number Publication Date
JPH03134771A true JPH03134771A (en) 1991-06-07
JPH0748230B2 JPH0748230B2 (en) 1995-05-24

Family

ID=17503456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1271687A Expired - Lifetime JPH0748230B2 (en) 1989-10-20 1989-10-20 Screen form format automatic creation method

Country Status (1)

Country Link
JP (1) JPH0748230B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581473A (en) * 1991-03-19 1993-04-02 T A S Tsusho Kk Method for generating program
JPH0737005A (en) * 1993-07-23 1995-02-07 Nec Corp Format information generating device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63316163A (en) * 1987-06-19 1988-12-23 Hitachi Ltd Electronic processing system for slip
JPH01119859A (en) * 1987-11-04 1989-05-11 Hitachi Ltd Business form issuance processing system
JPH01243174A (en) * 1988-03-25 1989-09-27 Hitachi Ltd System for defining business form data processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63316163A (en) * 1987-06-19 1988-12-23 Hitachi Ltd Electronic processing system for slip
JPH01119859A (en) * 1987-11-04 1989-05-11 Hitachi Ltd Business form issuance processing system
JPH01243174A (en) * 1988-03-25 1989-09-27 Hitachi Ltd System for defining business form data processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581473A (en) * 1991-03-19 1993-04-02 T A S Tsusho Kk Method for generating program
JPH0737005A (en) * 1993-07-23 1995-02-07 Nec Corp Format information generating device

Also Published As

Publication number Publication date
JPH0748230B2 (en) 1995-05-24

Similar Documents

Publication Publication Date Title
US20230005285A1 (en) Multi-page document recognition in document capture
KR950006410B1 (en) Image display and processing method of formatted and document and apparatus therefor
KR930009639B1 (en) Method of text data processing using image data
JPS5985530A (en) Blank card production processing system for processor of card image processing data
JP2568180B2 (en) Image processing method
JPH03134771A (en) Automatic generating system for picture form format
JP3663865B2 (en) Form processing apparatus and storage medium
JPH0236478A (en) Information processing system
JPH0452866A (en) Automatic formation system for operation program
JP7446558B2 (en) Document editing device, editing method for document editing device, document editing program for document editing device
JP4405604B2 (en) Information processing apparatus and definition method
JPH11316792A (en) Information processor and slip creating method
JPS59103122A (en) Table production control system for card image processing data processor
JP4737659B2 (en) Table set database system and table set data creation device
JPH01262149A (en) Document output device having dot-character font forming function
JPH08161350A (en) Method and device for electronic filing
JP4462508B2 (en) Information processing apparatus and definition information generation method
JP3428759B2 (en) Typesetting equipment
JP3976799B2 (en) Table creation processing unit
JP2000163271A (en) Method and apparatus for information processing
JP3047400B2 (en) Data processing device
JP3817871B2 (en) Document processing apparatus and program recording medium thereof
JP2001357342A (en) Information processing method and information processor
JPH0225360A (en) Document output device
JPH09167245A (en) Segment processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090524

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100524

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100524

Year of fee payment: 15