JPH0748230B2 - Screen form format automatic creation method - Google Patents

Screen form format automatic creation method

Info

Publication number
JPH0748230B2
JPH0748230B2 JP1271687A JP27168789A JPH0748230B2 JP H0748230 B2 JPH0748230 B2 JP H0748230B2 JP 1271687 A JP1271687 A JP 1271687A JP 27168789 A JP27168789 A JP 27168789A JP H0748230 B2 JPH0748230 B2 JP H0748230B2
Authority
JP
Japan
Prior art keywords
format
character
screen
processing
cell
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1271687A
Other languages
Japanese (ja)
Other versions
JPH03134771A (en
Inventor
雅幸 土屋
洋 藤瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP1271687A priority Critical patent/JPH0748230B2/en
Priority to DE4091841A priority patent/DE4091841C2/en
Priority to KR1019910700612A priority patent/KR950006410B1/en
Priority to US07/689,071 priority patent/US5231579A/en
Priority to PCT/JP1990/001354 priority patent/WO1991006057A1/en
Priority to DE19904091841 priority patent/DE4091841T/de
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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ユーザの一般的な業務処理をコンピュータ化
する際に、発生する業務プログラム作成作業で伝票や帳
票からコンピュータ処理用画面、及びその画面から帳票
を自動作成する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a computer processing screen from a slip or a form in a business program creation work that occurs when computerizing a general business processing of a user, and a screen for the same. It relates to the method of automatically creating forms from the screen.

[従来の技術] 従来、ユーザの業務をコンピュータ化するには、環境の
整備として伝票画面形式の作成、帳票形式の作成があ
る。これらの作成は、一般的にはパラメタで外から条件
を与えて作成するバッチ方式と、画面と対話しながら作
り上げるペインティング方式がとられている。これらの
方式は、オペレータが作成する画面や帳票の形式を見な
がらカラム変換を行って、ディスプレイ上に1カラムづ
つ描いていく方式をとっている。この種の技術に関連す
るものとして、特願平1-175469号がある。
[Prior Art] Conventionally, in order to computerize a user's business, there is a creation of a slip screen format and a form format as environment maintenance. These are generally created by a batch method in which conditions are given from outside with parameters and a painting method in which they are created by interacting with the screen. In these methods, the column conversion is performed while viewing the screen and form of the form created by the operator, and each column is drawn on the display. Japanese Patent Application No. 1-175469 is related to this type of technology.

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

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

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

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

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

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

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

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

先に罫線で囲まれた部分の行列変換を行い、配置した後
に罫線で囲まれていない文字列の配置を罫線で囲まれた
部分の配置テーブルを見ながら行うため、帳票、伝票上
にある文字の大きさによる配置の伸び縮みに依存せず、
伝票、帳票上にある相対位置とほぼ同じに配置でき、一
見して違和感を覚えるようなフォーマットができあがら
ない。
Since the matrix conversion of the part surrounded by the ruled line is performed first and the character string not surrounded by the ruled line is arranged while looking at the arrangement table of the part surrounded by the ruled line, the characters on the form and slips are arranged. Does not depend on the expansion and contraction of the arrangement due to the size of
It can be placed almost the same as the relative position on the slips and forms, and it does not create a format that at first glance feels strange.

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

[実施例] 以下、本発明の一実施例を図面を用いて詳細に説明す
る。
[Embodiment] An embodiment of the present invention will be described in detail below with reference to 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 for controlling the whole is provided with a console device 2 for instructing an operator and displaying a created format, a reading device 3 for reading a slip and a form through a reading device controller 4. It is connected. Further, a printer 6 for outputting processed slips and forms is connected via a printer controller 5, and a storage device 8 for storing a created format and the like is 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 a form, and stores the input information in the input information storage area 10 in the storage device 8. From the stored input information, the processor 1 uses the knowledge base 9 in the storage device 8 to recognize the form of the slip, the form, the content of each item used in the form, and the like. The recognition result is stored in the recognition result storage area 11, and the processor 1 automatically creates a format from the recognition result. Stored in the format storage area 12, set the processing procedure from the generated format, and execute the business program.

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

これからコンピュータによって処理を行おうとする伝票
がある(1000)。伝票の用紙をOCR等の読み取り装置3
により読み取らせ、入力情報の入力を行う(1001)。読
み込んだ罫線、文字、画像などの入力情報をもとに、コ
ンソール装置のディスプレイ上に表示を行う(1002)。
オペレータは、この表示内容の確認・修正ができる(10
03)。コンピュータは読み込んだ入力情報や、オペレー
タからの入力情報等を利用して入出力フィールドの認識
を行い、認識した入出力フィールドの表示を行う(100
4)。
There are vouchers that are about to be processed by computers (1000). OCR etc. reading device for slip paper 3
Read it and input the input information (1001). Based on the read input information such as ruled lines, characters, and images, it is displayed on the display of the console device (1002).
The operator can confirm and correct this display (10
03). The computer recognizes the input / output field by using the input information read by the operator or the input information from the operator, and displays the recognized input / output field (100
Four).

さらに、ここでも確認・修正ができる(1005)。確認・
修正後、読み込んだ入力情報や認識した入出力フィール
ドをもとにこれから処理するフォーマットの自動作成を
行う(1006)。生成した結果を、ディスプレイ上に表示
し(1007)、オペレータは、確認修正できる。作成した
フォーマットは記憶装置8内のフォーマット格納領域12
に格納する(1008)。作成したフォーマットの情報等を
もとに処理の手続きを作成し(1009)、業務の実行を行
い(1010)、データの入力等の処理が行われる(101
1)。
In addition, you can check and correct here (1005). Confirmation·
After correction, the format to be processed is automatically created based on the read input information and the recognized input / output fields (1006). The generated result is displayed on the display (1007), and the operator can confirm and correct it. The created format is the format storage area 12 in the storage device 8.
It is stored in (1008). A processing procedure is created based on the created format information (1009), a job is executed (1010), and processing such as data input is performed (101).
1).

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

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

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

伝票15内では、情報は罫線で囲まれた部分とそれ以外、
例えば「顧客名」、「コード」、「品名」等と、「納品
書」、「月」、「日」等の2種類に分けられる。前述の
ものをセル情報、後述のものをセル外情報と呼び、100
〜110は、セル情報、200〜203はセル外情報である。こ
れらの情報は、文字列とmm単位で表現された開始位置お
よび、終了位置から表されている。これらの情報は、入
力処理や認識処理で作成され、フォーマットの自動作成
の際も、これらの情報を利用して配置し、作成する。
In the slip 15, the information is the part surrounded by the ruled line and other parts,
For example, there are two types, such as "customer name", "code", "product name", and "delivery note", "month", "day". The above information is called cell information, and the later information is called out-of-cell information.
˜110 are cell information, and 200˜203 are out-of-cell information. These pieces of information are represented by a character string and a start position and an end position expressed in mm units. These pieces of information are created by the input processing and the recognition processing, and are also arranged and created by using these pieces of information when the format is automatically created.

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

前処理(1100)は、基準文字サイズを求める処理(120
0)と、拡大する文字の抽出を行う処理(1201)の2つ
の処理からなり、まず、ディスプレイ画面上の1文字に
相当する伝票帳票上の1文字の大きさを求める。これ
は、読み込む伝票や帳票中の全ての文字の中から一番多
く使用されている文字のサイズを基準文字サイズ205と
決定し、第6図に示すように、行ピッチ、文字ピッチを
加えた値を設定する。この大きさを使用して以降セルの
配置処理を行っていく。
The pre-processing (1100) is the processing for obtaining the reference character size (120
0) and a process of extracting a character to be enlarged (1201). First, the size of one character on the slip form corresponding to one character on the display screen is obtained. The size of the most used character is determined as the standard character size 205 from all the characters in the slips and forms to be read, and line pitch and character pitch are added as shown in FIG. Set the value. Using this size, cell placement processing is performed thereafter.

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

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

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

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

第9図では115、116、117の各ブロックに分かれてお
り、それぞれのブロックの一番左上の118、119、120の
セルを基準セルと呼ぶ。第8図のフローチャートで、ま
ず、この基準セルを求める(1300)この基準セルの開始
点、終了点をディスプレイ画面上の行、列数に変換し、
これをもとにして、ブロック内の各セルについても位置
計算を行い、配置を行う(1301)。上下左右の微調整を
行い(1302)、全セルについて配置を行ったか判定し
(1303)、全てのセルについて配置が行われていれば終
了し、行われていなければ、次のセルについて配置を行
う。
In FIG. 9, it is divided into 115, 116, and 117 blocks, and the upper leftmost 118, 119, and 120 cells of each block are called reference cells. In the flow chart of FIG. 8, first, obtain this reference cell (1300). Convert the start and end points of this reference cell into the number of rows and columns on the display screen,
Based on this, position calculation is also performed for each cell in the block and placement is performed (1301). Fine adjustment of up / down / left / right (1302) is performed to determine whether placement has been performed for all cells (1303). If placement has been performed for all cells, the process ends. If not, placement is performed for the next cell. To do.

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

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

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

伝票20の「顧客名」130が基準セルとなり、開始点210、
終了点212を第10図に示したような計算方法で行列計算
し、開始行列と、終了行列を求め、フォーマット21の点
220と点221に変換される。伝票20の「住所」131のセル
の開始点212は、基準セルの開始行と終了列点が同じ値
であることからフォーマット21の点222が設定される。
「住所」131の終了点223は、基準となるものがないた
め、終了点223の値をもとに行列計算し、終了行数、終
了列数を求める。伝票20の「氏名」132のセルの開始点2
14と終了点215は、基準セルの終了行列数と「住所」131
のセルの終了行列数により、フォーマット21の点224と
点225が求められる。
"Customer name" 130 of slip 20 becomes the reference cell, starting point 210,
The end point 212 is matrix-calculated by the calculation method shown in FIG. 10, the start matrix and the end matrix are obtained, and the points of format 21 are calculated.
Converted to 220 and point 221. The point 212 of the format 21 is set as the starting point 212 of the cell of the “address” 131 of the slip 20 because the starting row and the ending column of the reference cell have the same value.
Since the end point 223 of the “address” 131 has no reference, a matrix calculation is performed based on the value of the end point 223 to obtain the end row number and the end column number. Starting point 2 of cell "Name" 132 on slip 20
14 and end point 215 are the end matrix number of the reference cell and the "address" 131.
The points 224 and 225 of the format 21 are obtained by the number of end matrices of the cells of

「番号」133、空欄134のセルのように開始点が前のセル
の途中から始まっていて基準文字サイズ以内の空きがあ
る場合の開始点216、134は、基準セルの開始行点210に
合わせる。従って「番号」133の開始点216はフォーマッ
ト21の点226、終了点217はフォーマット21の点227とな
る。同様に空欄セル134の開始点218は、フォーマット21
の点228、終了点219は点229と変換される。この場合
「番号」228のセル内の文字列は、2文字であるが、作
成されたフォーマット21の138のセルでは3文字分空い
ている。
When the start point starts in the middle of the previous cell and there is a space within the reference character size like the cell of “Number” 133 and blank 134, the start points 216 and 134 are aligned with the start line point 210 of the reference cell. . Therefore, the start point 216 of the “number” 133 becomes the point 226 of the format 21, and the end point 217 becomes the point 227 of the format 21. Similarly, the starting point 218 of the blank cell 134 is the format 21
The point 228 and the ending point 219 are converted into a point 229. In this case, the character string in the cell of “number” 228 has two characters, but in the created cell of format 138, three characters are vacant.

このように調整して大きくなった場合、セル内の文字列
は、バランスよくなるようセンタリングされる。以上の
ような方法によってテーブル22が作成される。テーブル
22には、セルの番号と帳票上の位置の値、ディスプレイ
上の行、列に変換した値が登録される。セルの配置の後
は、セル外の文字の配置である。セル外の文字の配置
は、上述したテーブルをもとに行う。セル外の文字列の
配置位置は、その近くにあるセルと位置関係が重要であ
り、単純に行列に変換しただけでは、正しい配置が得ら
れない。
When adjusted to be large in this way, the character strings in the cells are centered so as to be well balanced. The table 22 is created by the above method. table
The cell number, the position value on the form, and the value converted into the row and column on the display are registered in 22. After arranging cells, it is the arrangement of characters outside the cells. The characters outside the cell are arranged based on the table described above. The positional relationship of the character string outside the cell is important for the positional relationship with the cells near it, and the correct arrangement cannot be obtained by simply converting it into a matrix.

第12図は、本発明の一実施例のセル外文字列の配置を行
った例を説明するための図である。
FIG. 12 is a diagram for explaining an example in which an out-of-cell character string is arranged according to an embodiment of the present invention.

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

例えば、第12図で140〜143のセルがテーブル145のよう
に配置されているとする。「年月日」144のセル外文字
列の開始位置を求めるには、「年月日」144の開始行位
置をもとにテーブルの開始行位置を検索し、一番近い値
のセルを見つける。この例では、「氏名」140のセルと
なる。この「氏名」140のセルの開始行数2が「年月
日」144の文字列の開始行となる。同様に「年月日」144
の開始列をもとにテーブルの開始列位置を検索し、一番
近いセル「金額」143を見つめる。このセルの開始列数
が求める列数である。結果として、この例では「年月
日」144の文字列の配置位置は、2行8列目ということ
になる。これで、セル外文字の配置処理が終了する。
For example, assume that cells 140 to 143 are arranged like a table 145 in FIG. To find the start position of the character string outside the cell of "Date" 144, search the start row position of the table based on the start row position of "Date" 144, and find the cell with the closest value. . In this example, the cell is "name" 140. The starting line number 2 of the cell of “name” 140 becomes the starting line of the character string of “year / month / day” 144. Similarly, "Date" 144
The starting column position of the table is searched based on the starting column of, and the nearest cell "amount" 143 is looked at. The starting column number of this cell is the number of columns to be obtained. As a result, in this example, the arrangement position of the character string “year / month / day” 144 is the second row and the eighth column. This completes the out-of-cell character arrangement processing.

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

ここでの後処理では、ディスプレイ画面内にできるだけ
納めるための作成したフォーマットの調整処理(1400)
と、業務処理を効率よく実行するための順序設定(140
1)を行う。
In the post processing here, adjustment processing of the created format to fit as much as possible within the display screen (1400)
And the order setting (140
Do 1).

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

まず、セル内文字列のセンタリングを行い(1500)、作
成したフォーマットがディスプレイ画面より大きいかチ
ェックを行う(1501)。ディスプレイ画面より大きい場
合は、配置上一番多くとられている空白行、列の削除を
行う(1502)。削除した後、再び作成したフォーマット
がディスプレイ画面より大きいかチェックを行い(150
3)、まだ大きい場合は、文字列で同意語があるものに
ついて、一番短い同意語の文字列に変換し、文字列の縮
小を行う(1504)。三度、ディスプレイより大きいかチ
ェックを行い(1505)、まだ大きい場合には、文字列の
全角文字から半角文字への変換を行う(1506)。最後
に、作成したフォーマットのディスプレイ画面内へのセ
ンタリング調整を行い(1507)、終了する。
First, the character string in the cell is centered (1500), and it is checked whether the created format is larger than the display screen (1501). If it is larger than the display screen, delete the blank rows and columns that are the most common in the layout (1502). After deleting, check again whether the created format is larger than the display screen (150
3) If it is still large, the synonyms in the character string are converted to the shortest synonym string and the character string is reduced (1504). Thirdly, it is checked 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). Finally, the centering adjustment is performed within the display screen of the created format (1507), and the process ends.

なお、第14図のフローチャートでは、ステップ1506の後
はディスプレイ画面内のセンタリングを行って終了する
が、ステップ1506の後に、作成したフォーマットがディ
スプレイ画面より大きいかチェックを行って大きい場合
には、項目欄を1行だったものを複数行とし、明細桁数
の縮小を行う処理も付加することができる。
In the flowchart of FIG. 14, after step 1506, centering is performed in the display screen to finish, but after step 1506, it is checked if the created format is larger than the display screen, and if it is larger, It is possible to add a process for reducing the number of detail digits by making one column into multiple lines.

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

「御客様御住所」155は、入力桁数より項目文字列の方
が大きく、ディスプレイ画面よりはみ出している。この
ような場合、「御客様御住所」155の文字列を知識ベー
ス156を利用して、「御客住所」157のようなより短い文
字列に同意語変換する。これによってディスプレイ画面
に納まるように縮小することができる。
In the “customer's address” 155, the item character string is larger than the number of input digits, and is out of the display screen. In such a case, the knowledge base 156 is used to convert the character string of the “customer address” 155 into a synonymous word into a shorter character string such as the “customer address” 157. 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 conversion processing from full-width characters to half-width characters in step 1506 of FIG.

カタカナ文字等、半角文字が存在する文字に関しては、
該当する半角文字に変換する。「顧客コード」160の文
字列では、「コード」が半角文字に変換されることによ
って、「顧客コード」161のようにディスプレイ画面内
に納めることが可能となる。
Regarding characters that have half-width characters such as katakana characters,
Convert to the corresponding half-width character. In the character string of “customer code” 160, the “code” is converted into half-width characters, so that it can be stored in the display screen like “customer code” 161.

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

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

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

通常の処理手順では、まず、年165、月166、日167が自
動表示され、オペレータが氏名に関するコード、例えば
顧客別に付加してある氏名コードの入力を行う。コンピ
ュータはデータベースより氏名コードに対応する氏名を
検索して、氏名フィールド169に自動表示する。同様に
品コードについてもオペレータからの入力で品名フィー
ルドに自動表示される。従って、伝票30についてはこの
処理順番でよい。しかし、伝票31の場合は、「氏名」、
「コード」、および「品コード」、「品名」のフィール
ド一が伝票30とは異なっており、これを上から下、左か
ら右に処理した場合には、氏名に関するコードを入力す
る前に、また、品コードを入力する前に、それぞれ氏名
フィールド、品名フィールドがきてしまい処理が面倒で
ある。このため、このような場合は、処理順序を173→1
74→175→177→176→179→178→180の順に入れ替える処
理を行う。この入れ替えについても、知識ベースを利用
して行う。
In the normal processing procedure, first, the year 165, month 166, and day 167 are automatically displayed, and the operator inputs a code relating to a name, for example, a name code added for each customer. The computer retrieves the name corresponding to the name code from the database and automatically displays it in the name field 169. Similarly, the product code is automatically displayed in the product name field by the operator's input. Therefore, this processing order is sufficient for the slip 30. However, in the case of slip 31, "name",
If the fields of "Code", "Product code", and "Product name" are different from the slip 30, and if you process this from top to bottom, left to right, before entering the code related to name, Further, before the product code is input, the name field and the product name field are opened, which makes the process troublesome. Therefore, in such a case, change the processing order from 173 to 1
The process of swapping in the order of 74 → 175 → 177 → 176 → 179 → 178 → 180 is performed. This replacement is also done using the knowledge base.

配置調整の処理終了後、まず、フィールドテーブル32が
作成され、各項目名称をもとに知識ベース33の入力項目
区別テーブル35中から、該当する項目名称の検索を行
い、オペレータが入力を行わなければならない入力項目
かどうかの区別の判定を行う。入力項目と関係する表示
項目で、入力項目の前に表示項目があるかをチェック
し、ある場合には、順序を入れ替える。伝票31の例で
は、フィールドテーブル32の項目の中から入力項目とな
るものとして、「コード」と「品コード」があがる。こ
の2つの項目の前には、「氏名」と「品名」という、そ
れぞれの入力項目に関係する表示項目があるため、順序
の入れ替えが行われ、処理順番テーブル34の順となる。
このようにして、知識ベースを使いながら、正しい処理
順序の設定を行うことが可能となる。
After the arrangement adjustment process is completed, first, the field table 32 is created, and based on each item name, the input item distinction table 35 of the knowledge base 33 is searched for the corresponding item name, and the operator must input it. Determine whether the input item is required or not. In the display items related to the input item, 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, the “code” and the “product code” are given as the input items from the items of the field table 32. Before these two items, there are display items related to the respective input items, such as "name" and "product name", so that the order is changed and the processing order table 34 becomes the order.
In this way, it is possible to set the correct processing order while using the knowledge base.

本実施例によれば、伝票や帳票のフォーマットを読み取
り装置から読み取らせるだけで、コンピュータで処理す
るフォーマットが自動作成され、オペレータが作成する
という作業工程がなくなり、大幅な作業効率の向上とな
る。
According to the present embodiment, the format for processing by the computer is automatically created only by reading the format of the slip or the form from the reading device, and the work process created by the operator is eliminated, and the working efficiency is greatly improved.

また、ディスプレイ画面内に納まるように最適に調整さ
れるため、オペレータが業務処理を実行していく上で、
確認等がすぐにでき、オペレーティングが容易となる。
In addition, because it is optimally adjusted so that it fits within the display screen, when the operator executes business processing,
Confirmation can be done immediately and the operating 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 a form from a reading device such as an OCR, and further, the display format Since the output is optimally adjusted so that it can be stored, there is no need for the user to create a work on the display, and the efficiency of the user can be greatly improved.

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

第1図は、本発明の一実施例の全体構成を示すブロック
図、第2図は、本発明の一実施例のオペレータが使用す
る場合の手順の流れを説明するための図、第3図は、本
発明の一実施例の処理の一連の流れを示すフローチャー
ト、第4図は、本発明の一実施例のディスプレイ画面に
表示した伝票フォーマットと入力した情報のテーブルを
示す図、第5図は、本発明の一実施例の前処理の処理内
容を表すフローチャート、第6図は、本発明の一実施例
の配置する際の基準文字サイズの構成を説明するための
図、第7図は、本発明の一実施例の拡大文字の抽出方法
を説明するための図、第8図は、本発明の一実施例の配
置処理の流れを示すフローチャート、第9図は、本発明
の一実施例の各項目の関係を説明するための図、第10図
は、本発明の一実施例の読み込んだ入力情報の変換を行
う計算方法を示した図、第11図は、本発明の一実施例の
実際の配置例と帳票フォーマット格納テーブルを説明す
るための図、第12図は、本発明の一実施例のセル外文字
列の配置方法を説明するための図、第13図は、本発明の
一実施例の後処理のフローチャート、第14図は、本発明
の一実施例のディスプレイ画面への収納調整の詳細なフ
ローチャート、第15図は、本発明の一実施例の同意語変
換方式の概要を説明するための図、第16図は、本発明の
一実施例の半角文字変換方式の概要を示す図である。第
17図は、本発明の一実施例の処理手順の決定方法を説明
するための図である。 1……プロセッサ,2……コンソール装置,3……読み取り
装置,6……プリンタ,8……記憶装置,9……知識ベース,1
0……入力情報格納領域,11……認識結果格納領域,12…
…フォーマット格納領域。
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 of the embodiment of the present invention uses it, and FIG. FIG. 4 is a flow chart showing a series of flow of processing of one embodiment of the present invention, FIG. 4 is a diagram showing a slip format displayed on a display screen of the embodiment of the present invention, and a table of input information, FIG. FIG. 6 is a flow chart showing the processing contents of the pre-processing of one embodiment of the present invention, FIG. 6 is a diagram for explaining the configuration of the reference character size when arranging in one embodiment of the present invention, and FIG. FIG. 8 is a diagram for explaining a method of extracting enlarged characters according to an embodiment of the present invention, FIG. 8 is a flowchart showing a flow of arrangement processing according to an embodiment of the present invention, and FIG. 9 is an embodiment of the present invention. FIG. 10 is a diagram for explaining the relationship of each item in the example, and FIG. FIG. 11 is a diagram showing a calculation method for converting the read input information of the example, FIG. 11 is a diagram for explaining an actual arrangement example and a form format storage table of one embodiment of the present invention, and FIG. 12 is FIG. 13 is a diagram for explaining a method for arranging a character string outside a cell in one embodiment of the present invention, FIG. 13 is a flowchart of post-processing of one embodiment of the present invention, and FIG. 14 is a diagram of one embodiment of the present invention. A detailed flowchart of storage adjustment on the display screen, FIG. 15 is a diagram for explaining the outline of the synonym conversion method of one embodiment of the present invention, and FIG. 16 is a half-width character of one embodiment of the present invention. It is a figure which shows the outline of a conversion system. First
FIG. 17 is a diagram for explaining a method of 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, 1
0 …… Input information storage area, 11 …… Recognition result storage area, 12…
… Format storage area.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−316163(JP,A) 特開 平1−243174(JP,A) 特開 平1−119859(JP,A) ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-63-316163 (JP, A) JP-A-1-243174 (JP, A) JP-A-1-119859 (JP, A)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字又は数値データが書き込まれるべきセ
ル情報と該セル情報の外部に文字又は数値データが書き
込まれるべきセル外情報とを少なくとも含む帳票を画面
上に生成して表示し処理する帳票処理装置において、 帳票のフォーマットが記述されている被記述媒体からフ
ォーマットの被記述情報を読み取る第1のステップと、 該読み取った被記述情報から画面表示1文字当たりの文
字サイズを決定する第2のステップと、 該決定した文字サイズをもとに前記セル情報を画面に配
置する第3のステップと、 該配置したセル情報をもとに前記セル外情報を画面に配
置する第4のステップと、 画面外にはみ出さないように前記セル情報と前記セル外
情報を少なくとも一方を圧縮する第5のステップと、 前記画面に表示したフォーマットの各項目の処理手順を
決定する第6のステップと を有することを特徴とする画面帳票形式の自動作成方
法。
1. A form for generating and displaying on a screen a form including at least cell information in which character or numerical data is to be written and out-of-cell information in which character or numerical data is to be written is displayed and processed. In the processing device, a first step of reading the described information in the format from the described medium in which the format of the form is described, and a second step of determining a character size per screen display character from the read described information A step of arranging the cell information on the screen based on the determined character size, and a fourth step of arranging the out-of-cell information on the screen based on the arranged cell information, A fifth step of compressing at least one of the cell information and the out-of-cell information so that it does not overflow the screen; Auto create a screen form format; and a sixth step of determining the entry of the procedure.
【請求項2】請求項1において、 前記第5のステップは、空白行、空白列の削除をする第
7のステップと、 知識ベースを利用して文字列の同意語変換により文字列
の縮小をする第8のステップと、 全角文字から半角文字への変換をする第9のステップと を含むことを特徴とする画面帳票形式の自動作成方法。
2. The method according to claim 1, wherein the fifth step is the seventh step of deleting blank lines and blank columns, and the reduction of the character string by synonymous conversion of the character string using a knowledge base. A method for automatically creating a screen form format, which includes an eighth step of performing, and a ninth step of converting full-width characters to half-width characters.
【請求項3】請求項1において、 前記第6のステップは、各項目の文字列を知識ベースと
のマッチングによって判断する第10のステップ を含むことを特徴とする画面帳票形式の自動作成方法。
3. The method according to claim 1, wherein the sixth step includes a tenth step of judging a character string of each item by matching 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
DE4091841A DE4091841C2 (en) 1989-10-20 1990-10-19 Method for generating a form display and screen form generation system
KR1019910700612A KR950006410B1 (en) 1989-10-20 1990-10-19 Image display and processing method of formatted and document and apparatus therefor
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
DE19904091841 DE4091841T (en) 1989-10-20 1990-10-19

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 JPH03134771A (en) 1991-06-07
JPH0748230B2 true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3001065B2 (en) * 1991-03-19 2000-01-17 テイ・エイ・エス通商株式会社 How to create a program
JPH0737005A (en) * 1993-07-23 1995-02-07 Nec Corp Format information generating device

Family Cites Families (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

Also Published As

Publication number Publication date
JPH03134771A (en) 1991-06-07

Similar Documents

Publication Publication Date Title
KR950006410B1 (en) Image display and processing method of formatted and document and apparatus therefor
KR930009639B1 (en) Method of text data processing using image data
US5317504A (en) Computer implemented process for executing accounting theory systems
KR19980080989A (en) Handwriting Data Input Device with Coordinate Detection Tablet
EP0106651B1 (en) Method for making common blank form for a plurality of card images in a data processing system
JPH0748230B2 (en) Screen form format automatic creation method
JPS62113277A (en) Component information controller
JP3663865B2 (en) Form processing apparatus and storage medium
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
JPH0520494A (en) Recognizing/displaying method for attribute of business form
JP3035061B2 (en) Kana-Kanji conversion device with schedule function
JP3069050B2 (en) Program conversion method
JPH11316792A (en) Information processor and slip creating method
JP4737659B2 (en) Table set database system and table set data creation device
JP4462508B2 (en) Information processing apparatus and definition information generation method
JP2000076370A (en) Slip recognizing method and its device
JP3008431B2 (en) Document processing device
JP2000163271A (en) Method and apparatus for information processing
JP2001357342A (en) Information processing method and information processor
JPH11119879A (en) Information processor, and definition method
JP2003203206A (en) Word dictionary forming method and word dictionary forming program
JPS63128424A (en) Data processing system
JPH0225360A (en) Document output device
JPH08185397A (en) Composition 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