JP5025520B2 - Image generation system, image generation program, and image generation method - Google Patents

Image generation system, image generation program, and image generation method Download PDF

Info

Publication number
JP5025520B2
JP5025520B2 JP2008031619A JP2008031619A JP5025520B2 JP 5025520 B2 JP5025520 B2 JP 5025520B2 JP 2008031619 A JP2008031619 A JP 2008031619A JP 2008031619 A JP2008031619 A JP 2008031619A JP 5025520 B2 JP5025520 B2 JP 5025520B2
Authority
JP
Japan
Prior art keywords
field
digits
screen
remaining
line
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.)
Active
Application number
JP2008031619A
Other languages
Japanese (ja)
Other versions
JP2009193213A (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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions 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 Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2008031619A priority Critical patent/JP5025520B2/en
Publication of JP2009193213A publication Critical patent/JP2009193213A/en
Application granted granted Critical
Publication of JP5025520B2 publication Critical patent/JP5025520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、所定数の桁を有する行を所定数並置して成る画面範囲に、それぞれフィールド名称、フィールド長及びフィールドタイプを個別に定義した各フィールドを配置して画面を生成する画面生成システム、画面生成プログラム及び画像形成方法に関する。 The present invention relates to a screen generation system for generating a screen by arranging fields each individually defining a field name, a field length, and a field type in a screen range formed by juxtaposing a predetermined number of rows having a predetermined number of digits . about screen generating program and an image forming method.

一般に、各種の業務処理を目的として、画面上からデータを入力して検索や登録などを行うシステムが用いられており、このようなシステムに用いられる画面のデザインや画面定義体を作成したりする開発ツールに関する提案がなされていた(例えば、特許文献1参照)。   In general, for various business processes, a system is used to search and register by inputting data from the screen, and the screen design and screen definition used in such a system are created. Proposals related to development tools have been made (see, for example, Patent Document 1).

このような業務画面は、図15で示すように、フィールド名称(項目名)、フィールド長(桁数)及びフィールドタイプ(プルダウン、チェック、テキストなどの入力形式等)を個別に定義した各フィールドを、桁数及び行数が設定された画面範囲に無駄なく効率的に配置したものである。   As shown in FIG. 15, such a business screen includes each field that individually defines a field name (item name), a field length (number of digits), and a field type (input format such as pull-down, check, and text). , And efficiently arranged without waste in the screen range in which the number of columns and the number of lines are set.

このような業務画面を作成するには、従来、GUI(Graphical User Interface)等による開発ツールを用い、目視により手動で各フィールドを効率的に配置していた。或いは、
自動生成ツールにより図16で示すように形式的にフィールドを配置していた。
特開平10−307715号公報
In order to create such a business screen, conventionally, a development tool such as a GUI (Graphical User Interface) is used, and each field is efficiently arranged manually by visual inspection. Or
The fields are formally arranged by the automatic generation tool as shown in FIG.
JP-A-10-307715

このように、目視により手動で、図15に示すような多数のフィールドを配置した画面を生成する場合は、配置の優先順位や、配置条件(フィールドAの次にはフィールドBが来る、例えば、郵便番号の後には住所が来るなど)を考慮しながら配置する必要がある。このため、画面デザイン時の負荷が高くなり、また効率的にフィールドを画面に配置すること(多数の項目を画面に配置すること)が難しかった。   In this way, when a screen in which a large number of fields are arranged as shown in FIG. 15 is generated manually by visual inspection, the arrangement priority order and arrangement conditions (field A follows field A, for example, The address must come after the zip code. For this reason, the load at the time of screen design becomes high, and it is difficult to efficiently arrange the fields on the screen (arrange many items on the screen).

また、一度完成した画面に対する仕様変更、例えば、フィールドの追加や、フィールド長の変更などは、画面状に既に配置されている入出力フィールドが多ければ多いほど難しくなり、修正の影響度が大きかった。すなわち、表示項目の多い複雑な画面の修正は、画面をデザインしながらトライ&エラーを繰り返す事が多い状況にあり、作業者の負担が大きい。例えば、項目追加やフィールド長の延長により画面に入らなくなった場合、画面のデザインを変更する必要が生じる。この場合、必要な項目をレイアウトできたか判定し、できない場合はフィールドを一つ、二つ、・・・動かしてみる。この操作により再び必要な項目をレイアウトできたかを判定する。レイアウトできない場合、フィールドを動かすことで対応可能かを判定し、対応可能であれば再びフィールドを一つ、二つ、・・・動かしてみる。動かすだけで対応できない場合は、画面デザイン全体を見直す。   In addition, specification changes to a once completed screen, such as adding a field or changing the field length, became more difficult as the number of input / output fields already arranged on the screen became larger, and the degree of influence of the modification was greater. . That is, correction of a complicated screen with many display items often involves repeated trials and errors while designing the screen, which places a heavy burden on the operator. For example, when it becomes impossible to enter the screen due to addition of an item or extension of the field length, it is necessary to change the screen design. In this case, it is determined whether the necessary items have been laid out. If not, move one, two,. It is determined whether necessary items have been laid out again by this operation. If the layout is not possible, determine whether it can be handled by moving the field, and if it is possible, move the field one, two, etc. again. If you can't handle just moving it, review the entire screen design.

このようなトライ&エラーは、既に配置されている項目が多い場合、極めて煩雑な作業となり、作業者に大きな負担を強いることとなる。   Such a trial and error is an extremely complicated operation when there are many items already arranged, and places a heavy burden on the operator.

また、画面の自動生成ツールを用いた場合、複数のフィールドが自動的に配置されるので、画面生成自体は容易となるが、図16で示したように、単に複数のフィールドが形式的に羅列されるだけであり、無駄な配置空間が生じ、効率的に配置することができない。   In addition, when an automatic screen generation tool is used, since a plurality of fields are automatically arranged, screen generation itself is easy. However, as shown in FIG. In other words, a wasteful arrangement space is generated, and the arrangement cannot be performed efficiently.

本発明の目的は、複数のフィールドを限られた画面範囲内に無駄なく効率的に自動で配置することができる画面生成システム、画面生成プログラム及び画像形成方法を提供することにある。 An object of the present invention, the screen generating system can be placed in a waste efficiently without automatically screen a limited range a plurality of fields, it is to provide a screen generating program and an image forming method.

本発明による画面生成システムは、所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する画面生成システムであって、前記行に相当する桁数を有し、前記フィールドを保持可能な1つの行バッファと、前記各フィールドの表示優先度及び連続指定の有無を属性としてフィールド毎に設定した複数のテーブルを保存するテーブル保存手段と、このテーブル保存手段に保存された前記テーブルを前記表示優先度に従って読み込み、この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は前記行バッファの保存可能な残りの桁数内に収まるかを判定するフィールド判定手段と、このフィールド判定手段により、前記残りの桁数内に収まると判定された場合は、前記行バッファの残りの桁数内に当該フィールドを追加保持させ、前記フィールド判定手段による次のテーブルの読み込みに移行させるフィールド追加手段と、前記フィールド判定手段により、前記残りの桁数内に収まらないと判定された場合、このフィールドが連続指定有かを判定する連続指定有無判定手段と、この連続指定有無判定手段により連続指定無と判定された場合は、前記行バッファの前記残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを行バッファに追加するフィールド探索手段と、前記連続指定有無判定手段により連続指定有りと判定された場合、及びフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合は、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理を行い、かつ前記画面範囲の表示可能な残り行数から、前記出力されたフィールド行数を減算して、前記テーブル判定手段による次のテーブルの読み込みに移行させる改行処理手段とを備えたことを特徴とする。   The screen generation system according to the present invention is a screen generation system that generates a screen by arranging each field individually defined as to whether it fits within a screen range formed by juxtaposing a predetermined number of rows having a predetermined number of digits, One row buffer having the number of digits corresponding to a row and capable of holding the field, and a table storage for storing a plurality of tables set for each field using the display priority of each field and the presence / absence of continuous designation as attributes. And the table stored in the table storage means are read in accordance with the display priority, and it is determined whether the field of the read table falls within the number of remaining lines that can be displayed in the preset screen range. When the remaining number of lines is entered, field determination means for determining whether or not the number of remaining digits can be stored in the line buffer, and this field determination. If it is determined by the means that it is within the remaining number of digits, the field is additionally held within the remaining number of digits in the row buffer, and the field addition is made to shift to reading of the next table by the field determination unit And the field determination means, if it is determined that the field does not fall within the remaining number of digits, the continuous designation presence / absence determination means for determining whether or not this field is continuously designated, and the continuous designation presence / absence judgment means If it is determined that there is no field, the field search means searches for another field that fits within the remaining number of digits of the row buffer, and adds a field that fits to the row buffer, and the continuous designation presence / absence determination Within the remaining number of digits in the row buffer as a result of the search by the field search means and when it is determined by the means that there is continuous designation. If a field that fits was not found, the field held in the line buffer was output as a screen line and the line buffer was cleared. The cleared line buffer did not fit within the remaining number of digits. Line feed processing means for performing a line feed process for holding a field, and subtracting the number of output field lines from the number of remaining lines that can be displayed in the screen range, and shifting to reading of the next table by the table determination means It is characterized by comprising.

また、本発明の画面生成システムは、テーブル保存手段には各フィールドの表示優先度を属性としてフィールド毎に設定した複数のテーブルを保存し、改行処理手段は、連続指定有無を条件とせずに、フィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理を行うように構成してもよい。   In the screen generation system of the present invention, the table storage means stores a plurality of tables set for each field using the display priority of each field as an attribute, and the line feed processing means does not require continuous designation. As a result of the search by the field search means, if a field that falls within the remaining number of digits of the line buffer is not found, the field held in the line buffer is output as a screen line, and the line buffer is cleared. A line feed process may be performed in which the cleared line buffer holds a field that does not fit within the remaining number of digits.

また、本発明による画面生成プログラム及び画像形成方法は、各フィールドの表示優先度及び連続指定の有無を属性としてフィールド毎に設定した複数のテーブルを、前記表示優先度に従って順次読み込むステップと、この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は、前記行に相当する保存用の桁数を有する行バッファの、保存可能な残りの桁数内に、前記フィールドが収まるかを判定するステップと、この判定結果が、前記残りの桁数内に収まる場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、次のテーブルの読み込みに移行させるステップと、前記判定結果が、前記残りの桁数内に収まらない場合、このフィールドが連続指定有かを判定するステップと、このフィールドが連続指定無の場合は、前記行バッファの前記残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを1行バッファに追加するステップと、前記残りの桁数内に収まらないフィールドが連続指定有の場合、及びフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合は、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理のステップと、前記行バッファからの出力に伴い、前記画面範囲の表示可能な残り行数から、出力されたフィールド行数を減算して、次のテーブルの読み込みに移行させるステップとを有することを特徴とする。
さらに、本発明の画面生成プログラム及び画像形成方法では、各フィールドの表示優先度を属性としてフィールド毎に設定した複数のテーブルを読み込むステップは、前記表示優先度に従って順次読み込みを行い、改行処理のステップは、連続指定有無を条件とせずに、行バッファの残りの桁数内に収まる別のフィールドを探索した結果、行バッファの残りの桁数内に収まるフィールドが見つからなかった場合、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させるようにしてもよい。
The screen generation program and the image forming method according to the present invention include a step of sequentially reading a plurality of tables set for each field using the display priority of each field and the presence / absence of continuous designation as attributes, according to the display priority. It is determined whether the field of the table falls within the preset number of remaining lines that can be displayed in the screen range. If the number of remaining lines falls, the line having the number of storage digits corresponding to the line is determined. Determining whether the field fits within the remaining storable number of bits of the buffer, and if the result of the determination fits within the remaining number of digits, within the remaining number of digits of the line buffer; If the field does not fit within the remaining number of digits, and the step of moving to the next table reading and the determination result does not fit within the remaining number of digits If this field is not consecutively specified, another field that fits in the remaining number of digits in the line buffer is searched, and if there is a field that fits, this is replaced by one line. The step of adding to the buffer and when the field that does not fit within the remaining number of digits is continuously specified, and as a result of the search by the field search means, the field that fits within the remaining number of digits of the line buffer is not found Outputs the fields held in the line buffer as screen lines, clears the line buffer, and causes the cleared line buffer to hold fields that did not fit in the remaining number of digits. Subtract the number of output field lines from the number of remaining lines that can be displayed in the screen range in accordance with the step and output from the line buffer. Te, and having the step of shifting to read the next table.
Further, in the screen generation program and the image forming method of the present invention, the step of reading a plurality of tables in which the display priority of each field is set as an attribute for each field is sequentially read according to the display priority, and a line feed processing step If a field that fits within the remaining number of digits in the line buffer is not found as a result of searching for another field that fits within the remaining number of digits in the line buffer without the requirement for continuous specification, The retained field may be output as a screen line to clear the line buffer, and the cleared line buffer may retain the field that did not fit within the remaining number of digits.

本発明によれば、画面デザイン時の項目配置順位や連続表示有無などの考慮点を開発ツールに登録し、画面設計時の留意点、すなわち画面生成の効率化などをロジックとしてプログラムに組み込み自動化したので、画面生成が自動化され、画面生成負荷が軽減され、しかも、限られた画面表示範囲への入出力フィールドの効率配置がなされる。さらに、一度作成された画面に対する修正を容易なものとなる。   According to the present invention, considerations such as the item arrangement order at the time of screen design and continuous display presence / absence are registered in the development tool, and points to be considered at the time of screen design, that is, efficiency of screen generation is incorporated into the program as a logic and automated. Therefore, screen generation is automated, the screen generation load is reduced, and the input / output fields are efficiently arranged in a limited screen display range. Furthermore, it becomes easy to correct the screen once created.

以下、本発明の一実施の形態について図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

始めに、本発明により作成される画面の一例を図4によって説明する。この画面は保険の契約管理に関する業務画面であり、図示のように「既契約情報」の有無をプルダウンにより表示により入力するためのフィールドや、「現契約内容」をチェックにより入力するためのフィールドや、「契約確定日」をテキストにより入力するためのフィールド、・・・が、限られた画面範囲内に効率的に配置されている。ここで、画面範囲とは、所定数の桁を有する横向きの行を所定数縦方向に並置して成る範囲である。   First, an example of a screen created according to the present invention will be described with reference to FIG. This screen is a business screen related to insurance contract management. As shown in the figure, there is a field for entering the presence / absence of “existing policy information” by pull-down display, a field for entering “current policy content” by checking, , Fields for inputting the “contract settlement date” by text,... Are efficiently arranged within a limited screen range. Here, the screen range is a range formed by juxtaposing a predetermined number of horizontal rows having a predetermined number of digits in the vertical direction.

このような画面を作成するためには、図5で示すように、開発ツールである画面生成ツールに、画面上への配置対象となるフィールドについて、そのフィールド名称(項目名)、フィールド長(桁数)、フィールドタイプ(プルダウン、チェック、テキストなどの入力方式等)などを定義しておく。図5はこの定義内容を表示出力した状態を示している。本発明では、これらに加え、各フィールドに対して画面生成時の配置を効率的に行うため、画面デザインの考慮点である表示優先度及び連続指定の有無を属性として設定してフィールド毎のテーブルとし、これを後述するテーブル保存手段に保存している。この状態を表したのが図6である。   In order to create such a screen, as shown in FIG. 5, the screen generation tool, which is a development tool, sets the field name (item name) and field length (digits) for the field to be placed on the screen. Number), field type (pull-down, check, text input method, etc.), etc. FIG. 5 shows a state where the definition contents are displayed and output. In the present invention, in addition to these, in order to efficiently arrange each field at the time of screen generation, the display priority and presence / absence of continuous designation, which are considerations of the screen design, are set as attributes, and a table for each field. This is stored in a table storage means to be described later. FIG. 6 shows this state.

図6において、テーブル(1)〜(8)には、画面上にレイアウトされる入出力用のフィールドに対して、フィールド長に相当する桁数(カッコ内の数値)の他に、それぞれの優先度(できるだけ前に出して表示したい度合)指定、表示を連続させる連続指定(図のテーブル(2)(3)(4)は連続指定されている)が、それぞれ属性として設定されている。ここで、連続指定とは、同じ行に横に並べたり、行末と次の行の開始部分に連続するように表示したいフィールドを指定するもので、例えば、「郵便番号」と「住所」のフィールドや、図4の例では、「年齢条件」と「子供」のフィールドに対して連続指定が行われる。   In FIG. 6, tables (1) to (8) show priority for input / output fields laid out on the screen, in addition to the number of digits corresponding to the field length (numerical values in parentheses). Designation of the degree (the degree that the user wants to display it as much as possible) and the continuous designation for continuous display (tables (2), (3), and (4) in the figure are designated continuously) are set as attributes. Here, continuous designation is to specify the fields to be displayed side by side on the same line, or to be displayed continuously at the end of the line and at the beginning of the next line. For example, the fields of “zip code” and “address” In the example of FIG. 4, continuous designation is performed for the fields “age condition” and “child”.

また、図6の最上部に示されたバッファ(0)は、後述する行バッファとして機能するもので、画面範囲を構成する行に相当する桁数を有する。図の例では1行に表示できるカラム数が15桁として設定されている。本発明は、後述するように、テーブル(1)〜(8)を優先度にしたがって順次読み込み、そのフィールドがこのバッファ(0)内に収まるか否かを判定しながら画面を生成するものである。   Further, the buffer (0) shown at the top of FIG. 6 functions as a row buffer described later, and has the number of digits corresponding to the rows constituting the screen range. In the example of the figure, the number of columns that can be displayed in one line is set as 15 digits. As will be described later, the present invention sequentially reads the tables (1) to (8) in accordance with the priorities, and generates a screen while determining whether or not the field fits in the buffer (0). .

[第1の実施例]
図1はこのような画面生成システムの概念を示すハードウェア構成図である。図1において、画面生成システムは、画面12を表示する表示装置、CPU14を有する計算機本体、画面生成基データ保存部11及び属性データ保存部13が構成される記憶部を備えた計算機システムにより実現される。画面生成基データ保存部11は、画面12を生成するための基となる、例えば、背景色のデータや、どの部分に罫線を引くなどのデータ、表示領域の大きさなどに関するデータ、等が保存されている。属性データ保存部13は、フィールドの大きさや、優先度、連続指定などの属性が保存されており、前述した各フィールドに対して属性を設定したフィールド毎のテーブルを保存するテーブル保存手段13a(図2に図示)はこの部分に構成される。CPU14は、これら画面生成基データ保存部11及び属性データ保存部13の各データを取り込んで画面12を生成するプログラムを実行する部分であり、プログラムには画面設計時の留意点である画面生成の効率化などを実現するロジックが組み込まれている。
[First embodiment]
FIG. 1 is a hardware configuration diagram showing the concept of such a screen generation system. In FIG. 1, the screen generation system is realized by a computer system including a display unit that displays a screen 12, a computer main body having a CPU 14, a storage unit including a screen generation base data storage unit 11 and an attribute data storage unit 13. The The screen generation base data storage unit 11 stores, for example, background color data, data such as drawing a ruled line in any part, data related to the size of the display area, and the like that are the basis for generating the screen 12. Has been. The attribute data storage unit 13 stores attributes such as field size, priority, and continuous designation, and stores a table for each field in which attributes are set for the above-described fields. 2) is formed in this portion. The CPU 14 is a part that executes a program for generating the screen 12 by taking in each data of the screen generation base data storage unit 11 and the attribute data storage unit 13. Logic that achieves efficiency is incorporated.

CPU14は、その機能実現手段として、図2で示すように、行バッファ21と、フィールド判定手段22と、フィールド追加手段23と、連続指定有無判定手段24と、フィールド探索手段25と、改行処理手段26とを有する。以下、これら手段の機能実現手段の概略を説明する。   As shown in FIG. 2, the CPU 14 has a line buffer 21, a field determination unit 22, a field addition unit 23, a continuous designation presence / absence determination unit 24, a field search unit 25, and a line feed processing unit, as shown in FIG. 26. The outline of the function realizing means of these means will be described below.

行バッファ21は、画面12の行に相当する桁数を有し、前記フィールドのデータを保持可能に構成されており、図6で示したバッファ(0)に相当する。   The row buffer 21 has the number of digits corresponding to the row of the screen 12, is configured to hold the data of the field, and corresponds to the buffer (0) shown in FIG.

フィールド判定手段22は、図6で示したテーブル(1)〜(8)のフィールドを優先度に従ってテーブル保存手段13aから読み出し、この読み出したフィールドが、まず、予め設定された画面範囲の表示可能な残りの行数に入るかを判定する。その結果、残りの行数に入る場合は、読み出したフィールドが、行バッファ21の保存可能な残りの桁数内に収まるかを判定する。   The field determination unit 22 reads the fields of the tables (1) to (8) shown in FIG. 6 from the table storage unit 13a according to the priority, and the read field can display a preset screen range first. Determine if the remaining number of lines is entered. As a result, when the remaining number of lines is entered, it is determined whether the read field is within the remaining number of digits that can be stored in the line buffer 21.

フィールド追加手段23は、フィールド判定手段22による判定結果が、残りの桁数内に収まる場合、行バッファ21の残りの桁数内に当該フィールドを追加保持させる。その後、フィールド判定手段22による次のテーブルの読み込みに移行させる。   When the determination result by the field determination unit 22 falls within the remaining number of digits, the field addition unit 23 additionally holds the field within the remaining number of digits of the row buffer 21. Thereafter, the process proceeds to reading of the next table by the field determination means 22.

連続指定有無判定手段24は、フィールド判定手段22による判定結果が、残りの桁数内に収まらない場合、このフィールドが、図6で示したテーブル(2)(3)(4)のように連続指定有りかを判定する。   When the determination result by the field determination unit 22 does not fit within the remaining number of digits, the continuous designation presence / absence determination unit 24 continues this field as shown in the tables (2), (3), and (4) shown in FIG. Determine if specified.

フィールド探索手段25は、連続指定有無判定手段24による判定結果が、連続指定無の場合、行バッファ21の残りの桁数内に収まるフィールドがあるか、別のテーブルを探索する。その結果、収まるフィールドがあればこれを行バッファ21に追加する。   When the determination result by the continuous designation presence / absence determination unit 24 is that there is no continuous designation, the field search unit 25 searches another table for a field that can be contained within the remaining number of digits in the line buffer 21. As a result, if there is a field that fits, it is added to the row buffer 21.

改行処理手段26は、連続指定有無判定手段24による判定結果が連続指定有の場合と、テーブル探索手段25による探索の結果、行バッファ21の残りの桁数内に収まるフィールドが見つからなかった場合とのそれぞれにおいて、行バッファ21に既に保持されているフィールドを画面12の行として出力し、行バッファ21をクリアする。そして、このクリアされた行バッファ21に、残りの桁数内に収まらなかったフィールドをあらたに保持させる改行処理を行う。そして、画面範囲の残りの行数から画面12の行として出力されたフィールド行数を減算する。その後、フィールド判定手段22による次のテーブルの読み込みに移行させる。   The line feed processing unit 26 has a case where the determination result by the continuous specification presence / absence determination unit 24 has a continuous specification, and a case where a field that falls within the remaining number of digits of the line buffer 21 is not found as a result of the search by the table search unit 25. In each of the above, the field already held in the row buffer 21 is output as a row of the screen 12, and the row buffer 21 is cleared. Then, a line feed process for newly holding a field that does not fit in the remaining number of digits in the cleared line buffer 21 is performed. Then, the number of field lines output as the lines on the screen 12 is subtracted from the number of remaining lines in the screen range. Thereafter, the process proceeds to reading of the next table by the field determination means 22.

以下、これら各手段による画面生成動作の詳細を図3のフローチャート及び図7〜図9の動作説明図を参照して説明する。   Hereinafter, the details of the screen generation operation by each of these means will be described with reference to the flowchart of FIG. 3 and the operation explanatory diagrams of FIGS.

図3において、フィールド判定手段22は、最初のフィールドを読む(ステップ301)。すなわち、図7(A)で示すようにテーブル(1)から優先度1のフィールドを読み込む。同時に、予め設定された画面範囲の残りの行数及び1行の表示桁数を図示しない画面範囲設定手段から読み込む。そして、読み込んだ優先度1のフィールドが、残りの行数及び残りの桁数に入るかを判定する(ステップ302)。最初のフィールド読込みであるため残りの行数には当然入り、また保持可能なカラム数が15桁の行バッファ21に対し、優先度1のフィールドは10桁であるため、行バッファ21にも入ることとなり(ステップ302:Yes)、テーブル追加手段23により、行バッファ21に追加保持される(ステップ303)。このため、行バッファ21の表示枠、すなわち残りの桁数は15−10=5桁となる。   In FIG. 3, the field determination means 22 reads the first field (step 301). That is, as shown in FIG. 7A, the field of priority 1 is read from the table (1). At the same time, the remaining number of lines in the preset screen range and the number of display digits in one line are read from the screen range setting means (not shown). Then, it is determined whether the read priority 1 field is included in the remaining number of rows and the remaining number of digits (step 302). Since it is the first field read, the number of remaining lines is naturally entered, and since the number of columns that can be held is 15 digits, the field of priority 1 is 10 digits, and therefore the line buffer 21 is also entered. Thus (step 302: Yes), the table addition means 23 adds and holds it in the row buffer 21 (step 303). For this reason, the display frame of the row buffer 21, that is, the remaining number of digits is 15-10 = 5 digits.

この後、再びフィールド判定手段22による次のテーブルの読み込みに移行させ、図7(B)で示すように次のテーブル(2)から優先度2のフィールドを読み込む(ステップ305)。そして、読み込んだ優先度2のフィールドについても、残りの行数及び残りの桁数に入るかを判定する(ステップ302)。優先度2のテーブルは5桁であり、行バッファ21の残りの桁数は5桁であるため、この優先度2のフィールドも行バッファ21に入ることとなり(ステップ302:Yes)、フィールド追加手段23により、行バッファ21に追加保持される(ステップ303)。この動作により、行バッファ21の残りの桁数は5−5=0桁となる。   Thereafter, the process shifts again to reading of the next table by the field determination means 22, and the field of priority 2 is read from the next table (2) as shown in FIG. 7B (step 305). Then, it is determined whether or not the read priority field 2 also falls within the remaining number of rows and the remaining number of digits (step 302). Since the priority 2 table has 5 digits and the remaining number of digits in the row buffer 21 is 5 digits, this priority 2 field also enters the row buffer 21 (step 302: Yes). 23, the data is additionally held in the row buffer 21 (step 303). With this operation, the remaining number of digits in the row buffer 21 is 5-5 = 0 digits.

この後、再びフィールド判定手段22による次のテーブルの読み込みに移行し、図8(A)で示すように次のテーブル(3)から優先度3のフィールドを読み込む(ステップ305)。読み込んだ優先度3のフィールドは2桁であるが、行バッファ21の残りの桁数は0桁であるため、行バッファ21に入ることができない(ステップ302:No)。この場合は、連続指定有無判定手段24により、優先度3のフィールドが連続指定有りかを判定する(ステップ306)。優先度3のフィールドは連続指定されているのでYesとなり、改行処理手段26により、それぞれ行バッファ21に既に保持されている優先度1及び優先度2のフィールドを、画面12の1行目の表示として出力し、この行バッファ21をクリアする(ステップ307)。そして、このクリアされた行バッファ21に、残りの桁数内に収まらなかった優先度3のフィールドをあらたに保持させる改行処理を行う(ステップ308)。そして、画面範囲の残りの行数から画面12の行として出力されたフィールド行数p(この例では1行)を減算する(ステップ309)。その後、フィールド判定手段22による次のテーブルの読み込みに移行し、テーブル(4)から連続指定された優先度4のフィールドを読み込む(ステップ305)。   Thereafter, the process proceeds to reading of the next table again by the field determining means 22, and the field of priority 3 is read from the next table (3) as shown in FIG. 8A (step 305). The read priority 3 field has 2 digits, but the remaining number of digits in the row buffer 21 is 0 digits, so it cannot enter the row buffer 21 (No in Step 302). In this case, the continuous designation presence / absence determining unit 24 determines whether the priority 3 field is continuously designated (step 306). Since the field of priority 3 is continuously designated, the answer is Yes, and the line break processing means 26 displays the fields of priority 1 and priority 2 already held in the line buffer 21, respectively, on the first line of the screen 12. And the row buffer 21 is cleared (step 307). Then, a line feed process is performed in which the cleared line buffer 21 newly holds a field of priority 3 that did not fit within the remaining number of digits (step 308). Then, the number of field lines p (1 line in this example) output as the lines on the screen 12 is subtracted from the number of remaining lines in the screen range (step 309). Thereafter, the process proceeds to reading of the next table by the field determination means 22, and the field of priority 4 designated continuously is read from the table (4) (step 305).

読み込まれた優先度4のフィールドは10桁であり、行バッファ21の残りの桁数は15−2=13桁であるため、この優先度4のフィールドは行バッファ21に入ることとなり(ステップ302:Yes)、テーブル追加手段23により、行バッファ21に追加保持される(ステップ303)。この動作により、行バッファ21の残りの桁数は13−10=3桁となる。   Since the read priority 4 field has 10 digits and the remaining number of digits in the row buffer 21 is 15-2 = 13 digits, the priority 4 field enters the row buffer 21 (step 302). : Yes), the table adding means 23 adds and holds it in the row buffer 21 (step 303). By this operation, the remaining number of digits in the row buffer 21 becomes 13−10 = 3 digits.

この後、図8(B)で示すように、テーブル(5)から優先度5のフィールドを読み込む(ステップ305)。読み込んだ優先度5のフィールドは10桁であり、行バッファ21の残りの桁数は3桁であるため、行バッファ21に入ることができない(ステップ302:No)。また、優先度5のフィールドは連続指定が無い(ステップ306:No)ため、この優先度nをカウンタ値tとし(ステップ310)、残りの桁数(3桁)に入るフィールドが見つかるまで、順次テーブル(カウンタ値t=t+1)を探索する(ステップ311)。この実施の形態では、図8(C)で示すように、次の優先度6のフィールドは2桁であり、かつ連続指定はないので(ステップ312:No)、この優先度6のフィールドを行バッファ21の残りのカラム(3桁)に追加する(ステップ313)。   Thereafter, as shown in FIG. 8B, a field of priority 5 is read from the table (5) (step 305). Since the read field of priority 5 is 10 digits and the remaining number of digits in the row buffer 21 is 3, it cannot enter the row buffer 21 (No in Step 302). Further, since there is no continuous designation for the field of priority 5 (step 306: No), this priority n is set to the counter value t (step 310), and until a field that falls within the remaining number of digits (3 digits) is found, sequentially. A table (counter value t = t + 1) is searched (step 311). In this embodiment, as shown in FIG. 8C, the next priority 6 field is 2 digits and there is no continuous designation (step 312: No). It is added to the remaining column (3 digits) of the buffer 21 (step 313).

この後、図8(D)で示すように、行バッファ21に入らなかった優先度5のフィールド(10桁)をもう一度、行バッファ21の残りのカラム(1桁)に入れようとするが、入らないので次の優先度のフィールドを探索する(ステップ311)。   Thereafter, as shown in FIG. 8D, the priority level 5 field (10 digits) that did not enter the row buffer 21 is once again entered into the remaining column (1 digit) of the row buffer 21. Since it does not enter, the next priority field is searched (step 311).

この後、図9(A)で示すように、行バッファ21の残りのカラム(1桁)に入るフィールドが見つかるまで、優先度を下げてテーブルを探索する。この実施の形態では、最も低い優先度8のフィールドまで探しても残りのカラム(1桁)に入るフィールドは無いので、ステップ311から改行処理手段26による行バッファ21の出力/クリア処理(ステップ307)に移行する。すなわち、これまでに行バッファ21に保持された優先度3、優先度4、優先度6のフィールドを画面の2行目の表示として出力して行バッファをクリアする。この後、図9(B)で示すように、クリアされた行バッファ21に、残りのカラム(1桁)内に収まらなかった優先度5のフィールドを保持させる改行処理(ステップ308)を行い、さらに、画面範囲の表示可能な残り行数から、出力されたフィールド行数pを再び減算して(ステップ309)、次のテーブルの読み込みに(ステップ305)移行する。   Thereafter, as shown in FIG. 9A, the table is searched with the priority lowered until a field that falls in the remaining column (one digit) of the row buffer 21 is found. In this embodiment, even if the field with the lowest priority 8 is searched, there is no field that falls in the remaining column (one digit), so the line buffer 21 output / clear process (step 307) by the line feed processing means 26 from step 311 ). In other words, the fields of priority 3, priority 4, and priority 6 that have been stored in the row buffer 21 so far are output as the second line display on the screen to clear the row buffer. Thereafter, as shown in FIG. 9B, a line feed process (step 308) is performed in which the cleared row buffer 21 retains the priority 5 field that did not fit in the remaining column (one digit). Further, the number p of output field lines is subtracted again from the remaining number of lines that can be displayed in the screen range (step 309), and the next table is read (step 305).

ステップ305では、図9(C)で示すように、テーブル保存手段13aに保存された次の順位の未読込みテーブル(7)から優先度7のフィールドを読み込む。この優先度7のフィールドは10桁であり、既に優先度5のフィールドが保持されている行バッファの21の残りのカラム数は5桁であるため、行バッファ21に入ることができない(ステップ302:No)。また、優先度7のフィールドは連続指定が無い(ステップ306:No)ため、残りのカラム数(5桁)に入るフィールドが見つかるまで、順次テーブルを探索する(ステップ310、311)。この実施の形態では、次の優先度8のフィールドは5桁であり、かつ連続指定はないので(ステップ312:No)、この優先度8のフィールドを行バッファ21の残りのカラム(5桁)に追加する(ステップ313)。   In step 305, as shown in FIG. 9C, the field of priority 7 is read from the unread table (7) of the next order stored in the table storage means 13a. The priority 7 field has 10 digits, and the remaining number of columns in the row buffer 21 in which the priority 5 field is already held is 5 digits, so that it cannot enter the row buffer 21 (step 302). : No). Further, since there is no continuous designation for the field of priority 7 (step 306: No), the table is sequentially searched until a field that falls within the remaining number of columns (5 digits) is found (steps 310, 311). In this embodiment, since the next field of priority 8 is 5 digits and there is no continuous designation (step 312: No), this field of priority 8 is used as the remaining columns (5 digits) of the row buffer 21. (Step 313).

その後、ステップ311でフィールドの探索を行うが、行バッファ21の残りのカラム数はゼロとなっているため、当然残りのカラムに入るフィールドは見つからない。このため、再び改行処理手段26による行バッファ21の出力/クリア処理(ステップ307)に移行し、図9(D)で示すように、行バッファ21に保持されている優先度5、優先度8のフィールドを画面の3行目の表示として出力し、行バッファ21をクリアする。この後、前回の処理で残りのカラム(5桁)内に収まらなかった優先度7のフィールドを保持させる改行処理(ステップ308)を行い、さらに、画面範囲の表示可能な残り行数から、出力されたフィールド行数pを再び減算して(ステップ309)、次のテーブルの読み込みに(ステップ305)移行する。ただし、図示例では、テーブル保存手段13aからすべてのフィールドが取り出されているので、フィールドの取り出しは行われず、行バッファ21に保持されている優先度7のフィールドを、図示のように画面の4行目の表示として出力して行バッファ21をクリアし処理を終了する(終了ステップは図示省略)。   Thereafter, a field search is performed in step 311. However, since the number of remaining columns in the row buffer 21 is zero, a field that falls into the remaining columns is naturally not found. For this reason, the process returns to the output / clear processing (step 307) of the line buffer 21 by the line feed processing means 26 again, and as shown in FIG. 9D, the priority 5 and priority 8 held in the line buffer 21 are obtained. Is output as the display on the third line of the screen, and the line buffer 21 is cleared. After this, line feed processing (step 308) is performed to retain the priority 7 field that did not fit in the remaining column (5 digits) in the previous processing, and output from the remaining number of lines that can be displayed in the screen range. The number p of field rows thus subtracted is again subtracted (step 309), and the next table is read (step 305). However, in the illustrated example, since all the fields are extracted from the table storage unit 13a, the fields are not extracted, and the field of priority 7 held in the row buffer 21 is displayed on the screen 4 as illustrated. It outputs as a display of the line, clears the line buffer 21, and ends the process (the end step is not shown).

上記処理により、表示優先度は多少前後するが、連続表示ルールを維持しつつ、いろいろな大きさを有する複数のフィールドを効率的に配置して、限られた画面の表示範囲を有効活用した、図4で示すような画面を自動生成することができる。   By the above processing, the display priority is slightly changed, but while maintaining the continuous display rule, a plurality of fields having various sizes are efficiently arranged to effectively utilize the limited display range of the screen. A screen as shown in FIG. 4 can be automatically generated.

[第2の実施例]
画面の作成に当たっては、限られた画面の表示範囲にできるだけ多くのフィールドを配置することを優先し、表示順位や、連続表示などは無視することも考えられる。このような場合は図10で示すシステム構成により、図11で示すロジックにより処理を行えばよい。図10で示すシステム構成は、図2から連続指定有無判定手段24を除いたものであり、図11で示すロジックは、図3で示したロジックから連続表示の指定有無を判定するステップ(306、312)を除いたものである。これらのシステム及びロジックでは、読み込んだフィールドが行バッファ21の残りのカラムに入らない場合、連続表示指定の有無を無視して(判定条件とせず)行バッファ21に入るものを優先して探索する。そして、入るものがあれば優先順位や連続表示指定に関係なく行バッファ21の残り桁数内に追加保持させるようにしている。したがって、できるだけ多くのフィールドを1行内に配置した画面を自動生成することができる。
[Second Embodiment]
In creating a screen, priority is given to arranging as many fields as possible in a limited screen display range, and display order, continuous display, etc. may be ignored. In such a case, processing may be performed by the logic shown in FIG. 11 according to the system configuration shown in FIG. The system configuration shown in FIG. 10 is obtained by removing the continuous designation presence / absence determining unit 24 from FIG. 2, and the logic shown in FIG. 11 is a step of determining the presence / absence of designation of continuous display from the logic shown in FIG. 312) is excluded. In these systems and logics, when the read field does not enter the remaining columns of the row buffer 21, the search is performed with priority given to the input to the row buffer 21 without regard to the presence / absence of continuous display designation (not as a determination condition). . If there is an entry, it is additionally held within the remaining number of digits in the row buffer 21 regardless of the priority order or continuous display designation. Therefore, a screen in which as many fields as possible are arranged in one line can be automatically generated.

また、図3で示したロジックによる処理を標準モードとし、図11で示したロジックによる処理を省スペースモードとして、これら両モードを任意に切り換え選択できるようにしてもよい。   Further, the processing by the logic shown in FIG. 3 may be set as the standard mode, and the processing by the logic shown in FIG. 11 may be set in the space saving mode so that these two modes can be arbitrarily switched and selected.

上記説明は新規画面を作成する場合についてのものであるが、一度完成した画面に対して、その表示内容を変更する場合にも効果的に適用することができる。すなわち、仕様変更(画面の追加、フィールド長の変更)が生じた場合のように、一度完成した画面を変更することは、画面に入出力フィールドが多く配置されていればいるほど難しく、修正による影響度が大きかった。   The above description is for the case of creating a new screen, but it can also be effectively applied to the case where the display content is changed for a once completed screen. In other words, it is more difficult to change a screen once completed, such as when a specification change (addition of screen, change of field length) occurs, and the more input / output fields are arranged on the screen. The degree of influence was great.

例えば、図4で示すように作成した画面に対し、図12で示す項目を追加する場合、単純に追加すれば、図13で示すように、図4で示した画面の下部に追加項目を加えただけの画面となる。この図13のような画面では、図4の画面に比べ表示範囲が拡大してしまい、無駄なスペースも生じる。したがって、画面の表示範囲に制限がある場合には、この表示範囲に入らなくなってしまうことがある。   For example, when the item shown in FIG. 12 is added to the screen created as shown in FIG. 4, if it is simply added, an additional item is added to the lower part of the screen shown in FIG. 4 as shown in FIG. Just a screen. In the screen as shown in FIG. 13, the display range is expanded as compared with the screen in FIG. Therefore, when the display range of the screen is limited, the display range may not be entered.

このような場合、追加項目を図4の表示画面の空いている部分に手動で嵌め込む修正を行うことで、効率的な項目配置を行うことが考えられるが、追加項目が空きスペースに入りきらずに、一部の項目を移動させなければならない場合も生じる。しかし、既に効率的に配置されている項目を、移動させることは、他の項目にも影響を与えることとなり、これを目視により手動で行うことは極めて難しく、作業者に大きな負担を強いることとなる。   In such a case, it may be possible to efficiently arrange the items by manually fitting the additional items into the vacant part of the display screen in FIG. 4, but the additional items do not fit in the empty space. In some cases, some items must be moved. However, moving an item that has already been arranged efficiently will affect other items, and it is extremely difficult to do this manually by hand, which places a heavy burden on the operator. Become.

そこで、図12で示した追加項目を含め、各フィールドをテーブル保存手段13aの各テーブル(1)〜(n)に、図6で示したようにそれぞれ格納し、図3で示したロジックにより画面生成処理を実行すれば、図14で示すように、表示優先度は多少前後するものの、連続表示指定の表示ルールは維持して、画面の予め設定された限られた表示枠内に、各フィールドを効率的に配置した画面を自動生成することができる。   Therefore, each field including the additional items shown in FIG. 12 is stored in each table (1) to (n) of the table storage means 13a as shown in FIG. 6, and the screen is displayed by the logic shown in FIG. If the generation process is executed, as shown in FIG. 14, although the display priority is slightly changed, the display rule of continuous display designation is maintained, and each field is included in the limited display frame set in advance on the screen. Can be automatically generated.

また、図10で示したシステム及び図12で示したロジックを用いれば、連続表示指定も無視して、1行にできるだけ多くのフィールドを収めた省スペースモードによる画面を自動生成することができる。   Further, if the system shown in FIG. 10 and the logic shown in FIG. 12 are used, it is possible to automatically generate a screen in a space-saving mode in which as many fields as possible are stored in one line, ignoring continuous display designation.

このように、一度完成した画面に対して、その表示内容を変更する場合にも、標準モードまたは省スペースモードにより、修正画面を自動生成することができ、作業者に多大な負担を与えることなく、効果的な画面生成が可能となる。   In this way, even when the display content is changed for a once completed screen, the correction screen can be automatically generated in the standard mode or the space saving mode without giving a heavy burden to the operator. Effective screen generation becomes possible.

これらの結果、画面の新規作成や、仕様変更等による画面修正の作業効率が向上し、煩雑な画面デザイン作業が軽減される。   As a result, the efficiency of screen modification by creating a new screen or changing specifications is improved, and complicated screen design work is reduced.

本発明による画面生成システムの一実施の形態を示すハードウェア構成図である。It is a hardware block diagram which shows one Embodiment of the screen generation system by this invention. 同上一実施の形態の機能実現手段を示すブロック図である。It is a block diagram which shows the function implementation means of one Embodiment same as the above. 同上一実施の形態における処理ロジックを説明するフローチャートである。It is a flowchart explaining the processing logic in one Embodiment same as the above. 同上一実施の形態により生成される画面例を示す図である。It is a figure which shows the example of a screen produced | generated by one embodiment same as the above. 同上一実施の形態に用いる画面生成ツールの設定内容の一例を示す図である。It is a figure which shows an example of the setting content of the screen generation tool used for one embodiment same as the above. 同上一実施の形態におけるテーブル保存手段のテーブル内容を示す図である。It is a figure which shows the table content of the table storage means in one Embodiment same as the above. (A)(B)は同上一実施の形態における画面生成過程を説明する図である。(A) (B) is a figure explaining the screen production | generation process in one Embodiment same as the above. (A)(B)(C)(D)は同上一実施の形態における画面生成過程を図7に引き続いて説明する図である。(A), (B), (C), and (D) are diagrams for explaining the screen generation process in the same embodiment as in FIG. (A)(B)(C)(D)は同上一実施の形態における画面生成過程を図8に引き続いて説明する図である。(A), (B), (C), and (D) are diagrams for explaining the screen generation process in the embodiment, following FIG. 本発明による画面生成システムの他の実施の形態における機能実現手段を示すブロック図である。It is a block diagram which shows the function implementation | achievement means in other embodiment of the screen generation system by this invention. 同上他の実施の形態における処理ロジックを説明するフローチャートである。It is a flowchart explaining the processing logic in other embodiment same as the above. 本発明による画面を修正する場合の追加項目を示す図である。It is a figure which shows the additional item in the case of correcting the screen by this invention. 追加項目を単純に加えただけの画面を示す図である。It is a figure which shows the screen which only added the additional item. 追加項目を含め前記一実施の形態により修正した画面を示す図である。It is a figure which shows the screen corrected by the said one embodiment including an additional item. 従来の手法により作成した画面例を示す図である。It is a figure which shows the example of a screen produced with the conventional method. 従来の自動生成方法により作成した画面を示す図である。It is a figure which shows the screen produced with the conventional automatic generation method.

符号の説明Explanation of symbols

12 画面
13a テーブル保存手段
14 CPU
21 行バッファ
22 フィールド判定手段
23 フィールド追加手段
24 連続指定有無判定手段
25 フィールド探索手段
26 改行処理手段
12 screen 13a table storage means 14 CPU
21 line buffer 22 field determination means 23 field addition means 24 continuous designation presence / absence determination means 25 field search means 26 line feed processing means

Claims (6)

所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する画面生成システムであって、
前記行に相当する桁数を有し、前記フィールドを保持可能な1つの行バッファと、
前記各フィールドの表示優先度及び連続指定の有無を属性としてフィールド毎に設定した複数のテーブルを保存するテーブル保存手段と、
このテーブル保存手段に保存された前記テーブルを前記表示優先度に従って読み込み、この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は前記行バッファの保存可能な残りの桁数内に収まるかを判定するフィールド判定手段と、
このフィールド判定手段により、前記残りの桁数内に収まると判定された場合は、前記行バッファの残りの桁数内に当該フィールドを追加保持させ、前記フィールド判定手段による次のテーブルの読み込みに移行させるフィールド追加手段と、
前記フィールド判定手段により、前記残りの桁数内に収まらないと判定された場合、このフィールドが連続指定有かを判定する連続指定有無判定手段と、
この連続指定有無判定手段により連続指定無と判定された場合は、前記行バッファの前記残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを行バッファに追加するフィールド探索手段と、
前記連続指定有無判定手段により連続指定有りと判定された場合、及びフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合は、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理を行い、かつ前記画面範囲の表示可能な残り行数から、前記出力されたフィールド行数を減算して、前記テーブル判定手段による次のテーブルの読み込みに移行させる改行処理手段と、
を備えたことを特徴とする画面生成システム。
A screen generation system that generates a screen by arranging each field that individually defines whether a line having a predetermined number of columns fits in a screen range formed by juxtaposing a predetermined number of rows,
One row buffer having the number of digits corresponding to the row and capable of holding the field;
Table storage means for storing a plurality of tables set for each field using the display priority of each field and the presence or absence of continuous designation as attributes,
The table stored in the table storage means is read according to the display priority, and it is determined whether the field of the read table falls within the number of remaining lines that can be displayed in the preset screen range. Field determination means for determining whether the number of lines falls within the remaining number of digits that can be stored in the line buffer; and
If it is determined by the field determination means that it is within the remaining number of digits, the field is additionally held within the remaining number of digits in the row buffer, and the process proceeds to reading the next table by the field determination unit. Field addition means to be
When it is determined by the field determination means that the field does not fall within the remaining number of digits, continuous designation presence / absence determination means for determining whether or not this field is continuously designated;
If the continuous designation presence / absence determining means determines that there is no continuous designation, a field that is searched for another field that fits within the remaining number of digits in the row buffer and that is included is added to the row buffer. Search means;
If it is determined by the continuous designation presence / absence determining means that there is continuous designation, and if a field that falls within the remaining number of digits of the line buffer is not found as a result of the search by the field search means, it is held in the line buffer. Clears the line buffer by outputting the current field as a line on the screen, performs line feed processing to retain the field that did not fit in the remaining number of digits in the cleared line buffer, and displays the screen range. Line feed processing means for subtracting the number of output field lines from the possible remaining number of lines and shifting to reading of the next table by the table determination means;
A screen generation system characterized by comprising:
所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する画面生成システムであって、
前記行に相当する桁数を有し、前記フィールドを保持可能な1つの行バッファと、
前記各フィールドの表示優先度を属性としてフィールド毎に設定した複数のテーブルを保存するテーブル保存手段と、
このテーブル保存手段に保存された前記テーブルを前記表示優先度に従って読み込み、この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は前記行バッファの保存可能な残りの桁数内に収まるかを判定するフィールド判定手段と、
このフィールド判定手段により、前記残りの桁数内に収まると判定された場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、前記フィールド判定手段による次のテーブルの読み込みに移行させるフィールド追加手段と、
前記フィールド判定手段により、前記残りの桁数内に収まらないと判定された場合、前記行バッファの残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを行バッファに追加するフィールド探索手段と、
このフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理を行い、かつ前記画面範囲の表示可能な残り行数から前記出力されたフィールド行数を減算して、前記フィールド判定手段による次のテーブルの読み込みに移行させる改行処理手段と、
を備えたことを特徴とする画面生成システム。
A screen generation system that generates a screen by arranging each field that individually defines whether a line having a predetermined number of columns fits in a screen range formed by juxtaposing a predetermined number of rows,
One row buffer having the number of digits corresponding to the row and capable of holding the field;
Table storage means for storing a plurality of tables set for each field using the display priority of each field as an attribute;
The table stored in the table storage means is read according to the display priority, and it is determined whether the field of the read table falls within the number of remaining lines that can be displayed in the preset screen range. Field determination means for determining whether the number of lines falls within the remaining number of digits that can be stored in the line buffer; and
If it is determined by the field determination means that it is within the remaining number of digits, the field is additionally held within the remaining number of digits in the row buffer, and the next table is read by the field determination unit. Field addition means to be migrated,
When the field determination means determines that the number of digits does not fit within the remaining number of digits, another field that fits within the number of digits remaining in the row buffer is searched, and if there is a field that fits, this is stored in the row buffer. A field search means to be added;
As a result of the search by the field search means, if a field that fits within the remaining number of digits of the line buffer is not found, the field held in the line buffer is output as a screen line to clear the line buffer, In this cleared line buffer, a line feed process is performed to hold a field that does not fit within the remaining number of digits, and the number of output field lines is subtracted from the remaining number of lines that can be displayed in the screen range. , Line feed processing means for shifting to reading of the next table by the field determination means,
A screen generation system characterized by comprising:
所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する各ステップをコンピュータに実行させるための画面生成プログラムであって、
前記各フィールドの表示優先度及び連続指定の有無を属性としてフィールド毎に設定した複数のテーブルを、前記表示優先度に従って順次読み込むステップと、
この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は、前記行に相当する保存用の桁数を有する行バッファの、保存可能な残りの桁数内に、前記フィールドが収まるかを判定するステップと、
この判定結果が、前記残りの桁数内に収まる場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、次のテーブルの読み込みに移行させるステップと、
前記判定結果が、前記残りの桁数内に収まらない場合、このフィールドが連続指定有かを判定するステップと、
このフィールドが連続指定無の場合は、前記行バッファの前記残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを1行バッファに追加するステップと、
前記残りの桁数内に収まらないフィールドが連続指定有の場合、及びフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合は、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理のステップと、
前記行バッファからの出力に伴い、前記画面範囲の表示可能な残り行数から、出力されたフィールド行数を減算して、次のテーブルの読み込みに移行させるステップと、
をコンピュータに実行させるための画面生成プログラム。
A screen generation program for causing a computer to execute each step of generating a screen by arranging each field that individually defines whether or not a screen range formed by juxtaposing a predetermined number of rows having a predetermined number of digits,
A step of sequentially reading a plurality of tables set for each field using the display priority of each field and the presence or absence of continuous designation as an attribute, according to the display priority;
It is determined whether the field of the read table falls within the preset number of remaining lines that can be displayed in the screen range. If the number of remaining lines falls, the number of storage digits corresponding to the line is set. Determining whether the field fits within the number of remaining storable digits of the line buffer comprising:
If this determination result fits within the remaining number of digits, the step of additionally holding the field within the remaining number of digits of the row buffer, and shifting to the reading of the next table;
If the determination result does not fit within the remaining number of digits, determining whether this field is consecutively specified;
If this field is not consecutively specified, searching for another field that fits within the remaining number of digits of the line buffer and adding it to the one-line buffer, if any,
When a field that does not fit within the remaining number of digits is continuously specified, and when a field that fits within the remaining number of digits of the row buffer is not found as a result of the search by the field search means, it is stored in the row buffer. A line break processing step for clearing the line buffer by outputting the current field as a screen line, and holding the field that did not fit within the remaining number of digits in the cleared line buffer;
With the output from the line buffer, subtracting the number of output field lines from the number of remaining lines that can be displayed in the screen range, and shifting to reading of the next table;
A screen generation program to make a computer execute.
所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する各ステップをコンピュータに実行させるための画面生成プログラムであって、
前記各フィールドの表示優先度を属性としてフィールド毎に設定した複数のテーブルを、前記表示優先度に従って順次読み込むステップと、
この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は、前記行に相当する保存用の桁数を有する行バッファの、保存可能な残りの桁数内に、前記フィールドが収まるかを判定するステップと、
この判定結果が、前記残りの桁数内に収まる場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、次のテーブルの読み込みに移行させるステップと、
前記判定結果が、前記残りの桁数内に収まらない場合、前記行バッファの残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを行バッファに追加するステップと、
前記探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理のステップと、
前記行バッファからの出力に伴い、前記画面範囲の表示可能な残り行数から、出力されたフィールド行数を減算して、次のテーブルの読み込みに移行させるステップと、
をコンピュータに実行させるための画面生成プログラム。
A screen generation program for causing a computer to execute each step of generating a screen by arranging each field that individually defines whether or not a screen range formed by juxtaposing a predetermined number of rows having a predetermined number of digits,
Sequentially reading a plurality of tables set for each field using the display priority of each field as an attribute, according to the display priority;
It is determined whether the field of the read table falls within the preset number of remaining lines that can be displayed in the screen range. If the number of remaining lines falls, the number of storage digits corresponding to the line is set. Determining whether the field fits within the number of remaining storable digits of the line buffer comprising:
If this determination result fits within the remaining number of digits, the step of additionally holding the field within the remaining number of digits of the row buffer, and shifting to the reading of the next table;
If the determination result does not fit within the remaining number of digits, searching for another field that fits within the remaining number of digits in the line buffer, and adding any field that fits to the row buffer;
As a result of the search, when a field that fits within the remaining number of digits of the line buffer is not found, the field held in the line buffer is output as a screen line to clear the line buffer. A line feed step for causing the line buffer to hold a field that did not fit within the remaining number of digits;
With the output from the line buffer, subtracting the number of output field lines from the number of remaining lines that can be displayed in the screen range, and shifting to reading of the next table;
A screen generation program to make a computer execute.
所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する画面生成方法であって、
前記各フィールドの表示優先度及び連続指定の有無を属性としてフィールド毎に設定した複数のテーブルを、前記表示優先度に従って順次読み込むステップと、
この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は、前記行に相当する保存用の桁数を有する行バッファの、保存可能な残りの桁数内に、前記フィールドが収まるかを判定するステップと、
この判定結果が、前記残りの桁数内に収まる場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、次のテーブルの読み込みに移行させるステップと、
前記判定結果が、前記残りの桁数内に収まらない場合、このフィールドが連続指定有かを判定するステップと、
このフィールドが連続指定無の場合は、前記行バッファの前記残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを1行バッファに追加するステップと、
前記残りの桁数内に収まらないフィールドが連続指定有の場合、及びフィールド探索手段による探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合は、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理のステップと、
前記行バッファからの出力に伴い、前記画面範囲の表示可能な残り行数から、出力されたフィールド行数を減算して、次のテーブルの読み込みに移行させるステップと、
を有する画面生成方法。
A screen generation method for generating a screen by arranging each field that individually defines whether a line having a predetermined number of columns fits in a screen range formed by juxtaposing a predetermined number of lines,
A step of sequentially reading a plurality of tables set for each field using the display priority of each field and the presence or absence of continuous designation as an attribute, according to the display priority;
It is determined whether the field of the read table falls within the preset number of remaining lines that can be displayed in the screen range. If the number of remaining lines falls, the number of storage digits corresponding to the line is set. Determining whether the field fits within the number of remaining storable digits of the line buffer comprising:
If this determination result fits within the remaining number of digits, the step of additionally holding the field within the remaining number of digits of the row buffer, and shifting to the reading of the next table;
If the determination result does not fit within the remaining number of digits, determining whether this field is consecutively specified;
If this field is not consecutively specified, searching for another field that fits within the remaining number of digits of the line buffer and adding it to the one-line buffer, if any,
When a field that does not fit within the remaining number of digits is continuously specified, and when a field that fits within the remaining number of digits of the row buffer is not found as a result of the search by the field search means, it is stored in the row buffer. A line break processing step for clearing the line buffer by outputting the current field as a screen line, and holding the field that did not fit within the remaining number of digits in the cleared line buffer;
With the output from the line buffer, subtracting the number of output field lines from the number of remaining lines that can be displayed in the screen range, and shifting to reading of the next table;
A screen generation method.
所定数の桁を有する行を所定数並置して成る画面範囲に収まるかを個別に定義した各フィールドを配置して画面を生成する画面生成方法であって、
前記各フィールドの表示優先度を属性としてフィールド毎に設定した複数のテーブルを、前記表示優先度に従って順次読み込むステップと、
この読み込んだテーブルのフィールドが、予め設定された前記画面範囲の表示可能な残りの行数に入るかを判定し、残りの行数に入る場合は、前記行に相当する保存用の桁数を有する行バッファの、保存可能な残りの桁数内に、前記フィールドが収まるかを判定するステップと、
この判定結果が、前記残りの桁数内に収まる場合は、前記行バッファの前記残りの桁数内に当該フィールドを追加保持させ、次のテーブルの読み込みに移行させるステップと、
前記判定結果が、前記残りの桁数内に収まらない場合、前記行バッファの残りの桁数内に収まる別のフィールドを探索して、収まるフィールドがあればこれを行バッファに追加するステップと、
前記探索の結果、前記行バッファの残りの桁数内に収まるフィールドが見つからなかった場合、前記行バッファに保持されているフィールドを画面の行として出力して行バッファをクリアし、このクリアされた行バッファに、前記残りの桁数内に収まらなかったフィールドを保持させる改行処理のステップと、
前記行バッファからの出力に伴い、前記画面範囲の表示可能な残り行数から、出力されたフィールド行数を減算して、次のテーブルの読み込みに移行させるステップと、
を有する画面生成方法。
A screen generation method for generating a screen by arranging each field that individually defines whether a line having a predetermined number of columns fits in a screen range formed by juxtaposing a predetermined number of lines,
Sequentially reading a plurality of tables set for each field using the display priority of each field as an attribute, according to the display priority;
It is determined whether the field of the read table falls within the preset number of remaining lines that can be displayed in the screen range. If the number of remaining lines falls, the number of storage digits corresponding to the line is set. Determining whether the field fits within the number of remaining storable digits of the line buffer comprising:
If this determination result fits within the remaining number of digits, the step of additionally holding the field within the remaining number of digits of the row buffer, and shifting to the reading of the next table;
If the determination result does not fit within the remaining number of digits, searching for another field that fits within the remaining number of digits in the line buffer, and adding any field that fits to the row buffer;
As a result of the search, when a field that fits within the remaining number of digits of the line buffer is not found, the field held in the line buffer is output as a screen line to clear the line buffer. A line feed step for causing the line buffer to hold a field that did not fit within the remaining number of digits;
With the output from the line buffer, subtracting the number of output field lines from the number of remaining lines that can be displayed in the screen range, and shifting to reading of the next table;
A screen generation method.
JP2008031619A 2008-02-13 2008-02-13 Image generation system, image generation program, and image generation method Active JP5025520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008031619A JP5025520B2 (en) 2008-02-13 2008-02-13 Image generation system, image generation program, and image generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008031619A JP5025520B2 (en) 2008-02-13 2008-02-13 Image generation system, image generation program, and image generation method

Publications (2)

Publication Number Publication Date
JP2009193213A JP2009193213A (en) 2009-08-27
JP5025520B2 true JP5025520B2 (en) 2012-09-12

Family

ID=41075182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008031619A Active JP5025520B2 (en) 2008-02-13 2008-02-13 Image generation system, image generation program, and image generation method

Country Status (1)

Country Link
JP (1) JP5025520B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5682929B2 (en) 2009-08-24 2015-03-11 国立大学法人北海道大学 Method and apparatus for producing titanium oxide particles
JP6844157B2 (en) * 2016-09-09 2021-03-17 カシオ計算機株式会社 Information processing equipment and programs

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06290198A (en) * 1993-03-31 1994-10-18 Casio Comput Co Ltd Slip preparation device
JP3632988B2 (en) * 1994-04-25 2005-03-30 カシオ計算機株式会社 Item data processing device
JPH1166184A (en) * 1997-08-11 1999-03-09 Casio Comput Co Ltd Data processor and recording medium where input image generating program is recorded
JP3833543B2 (en) * 2002-01-28 2006-10-11 大日本印刷株式会社 Electronic form distribution apparatus and electronic form distribution program
JP2004157927A (en) * 2002-11-08 2004-06-03 Nec Corp Creating system for business form input, creating program and creating method

Also Published As

Publication number Publication date
JP2009193213A (en) 2009-08-27

Similar Documents

Publication Publication Date Title
JP5472504B1 (en) Work flow creation support apparatus and method, and program
JP5665128B2 (en) Static analysis support device, static analysis support method, and program
JP6881965B2 (en) Welding Sequencer Parts and Statistical Limit Analyzer
CN107590592B (en) Job dependency relationship representation method, job display and scheduling control method and device
JP2010198494A (en) Software development support tool
JP2008052312A (en) Operation specification extraction support system
JP5025520B2 (en) Image generation system, image generation program, and image generation method
US8572551B2 (en) Difference log production for model merging
JP2014186508A (en) Programming apparatus, programming support method and program
JP2008234552A (en) Project management support device and method therefor
JP2000172739A (en) Design supporting device
JP6439576B2 (en) Legal specification check support method
JP7120937B2 (en) Drawing difference recognition device and method
JP2007122638A (en) Information processor, and its program and recording medium
JP2007026389A (en) Data input device
JP2010134766A (en) Document data processing apparatus and program thereof
JP2010108173A (en) Document processor
JP2013109690A (en) Business form data input device, and business form data input method
JP4218562B2 (en) Document creation program and document creation apparatus
JP4592646B2 (en) Drawing method, drawing device and computer program
US20070206026A1 (en) Computer readable recording medium recorded with graphics editing program, and graphics editing apparatus
JP3803001B2 (en) Software development procedure customization support apparatus and method
JP5321249B2 (en) Information processing apparatus and program
JPH0421229B2 (en)
EP0637811A2 (en) Method for defining a plurality of form definition data sets

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120321

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120510

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120529

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120619

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

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5025520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350