JP2000132540A - Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method - Google Patents

Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method

Info

Publication number
JP2000132540A
JP2000132540A JP10319988A JP31998898A JP2000132540A JP 2000132540 A JP2000132540 A JP 2000132540A JP 10319988 A JP10319988 A JP 10319988A JP 31998898 A JP31998898 A JP 31998898A JP 2000132540 A JP2000132540 A JP 2000132540A
Authority
JP
Japan
Prior art keywords
character string
data
variable
value
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10319988A
Other languages
Japanese (ja)
Inventor
Katsuro Sasai
克郎 佐々井
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP10319988A priority Critical patent/JP2000132540A/en
Publication of JP2000132540A publication Critical patent/JP2000132540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a synthesizing method of document data and also to provide a computer-readable recording medium which records the program, etc., of the synthesizing method of document data. SOLUTION: Only a specific record is selected out of a file which stores the document data including many types of formats such as an application form by means of a data base program. A variable name, etc., are added into the document data and the replacement or connection is carried out between a prescribed place set in the document data and the variable value obtained from the variable name. These replacement and connection are combined for synthesizing the document data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータを用いて
データの差込みされた定型文等を得る為の方法、又はそ
の為のプログラム又は構造を有するデータとプログラム
とを記録したコンピューター読み取り可能な記録媒体に
関する。より詳しくは、本発明は、定型文が複雑な可変
部を含んでいる場合や、その全体の長さが大きく変化す
る場合や、多種類の定型文を扱わなければならない場合
などに適した、データの差込みされた定型文等を得るた
めの方法、又は、そのためのプログラムを記録した、又
は上記多種類の定型文を生じる為の構造を有するデータ
及び/又はプログラムとを記録したコンピューター読み
取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for obtaining a fixed phrase or the like in which data is inserted by using a computer, or a computer-readable recording in which data and a program having the program or structure for the method are recorded. Regarding the medium. More specifically, the present invention is suitable for a case where a fixed phrase includes a complicated variable portion, a case where the entire length greatly changes, and a case where a large variety of fixed phrases must be handled. A method for obtaining a fixed phrase or the like into which data is inserted, or a computer-readable recording of a program for the same, or recording of data and / or a program having a structure for generating the above various types of fixed phrases It relates to a recording medium.

【0002】[0002]

【従来の技術】コンピュータの処理速度がますます速く
なり、処理に時間がかかっていた市販のパソコン用のリ
レーショナルデータベースソフトウェア等による、マル
チユーザーの環境での、大規模かつ複雑な事務処理が将
来更に有望と見込まれる一方、時代の変化はめまぐるし
く、種々のデータを取り込んだ定型文の自動打ち出し用
のソフトウェアシステム等を構築しても、頻繁に内容が
変り得るため、開発に時間を要し、変更にもより専門知
識を有するものの手により、より手のかかる修正を要す
るプログラミング言語によるシステムの構築は、コンピ
ューターのユーザーにとり次第に不都合なものとなりつ
つある。
2. Description of the Related Art Large-scale and complex business processes in a multi-user environment will be further increased in the multi-user environment by using relational database software for a commercially available personal computer, which has become faster and more time-consuming. While promising, the times are changing rapidly, and even if a software system for automatically launching fixed phrases that incorporate various data is built, the content can change frequently. Even with more specialized knowledge, the construction of systems in programming languages that require more elaborate modifications is becoming increasingly inconvenient for computer users.

【0003】外部記憶装置に記録されたデ−タファイル
のデータを、定型文作成用のデ−タファイルに差込んで
文書デ−タをプログラムにより自動的に出力することは
多くの表計算ソフトウェア、及びデ−タベ−スソフトウ
ェアで可能である。又市販のワ−ドプロセッサのあるも
のは、別途用意したデ−タを文書ファイルの指定場所に
差込んで半自動的に出力する機能を有している。このよ
うな使い方は事務処理上の省力化に於いて、依然コンピ
ューターを用いるのが最も有効となる分野である。
A lot of spreadsheet software and automatic output of document data by program by inserting data of a data file recorded in an external storage device into a data file for creating a fixed phrase are required. This is possible with database software. Some commercially available word processors have a function of inserting data prepared separately into a designated location of a document file and outputting the data semi-automatically. Such usage is still the most effective field to use a computer for labor saving in paperwork.

【0004】[0004]

【関連出願】特願平9−126464号は、本願とは実
施例が異なっている。
[Related Application] Japanese Patent Application No. 9-126464 has an embodiment different from that of the present application.

【発明が解決しようとする課題】しかし上記のようなや
り方は、差込みされるデ−タの加工はある程度可能であ
るかもしれないが、データが差込みされる一つの文書書
式若しくは雛形に基づいて、準備してある差込み部分の
みしか変化しないという意味に於いては、レイアウトに
関しては少なくとも1種類の形式の文書しか作成出来な
い。一方、定型の手紙や申請書類は、沢山ある形式のな
かの一つの形式にも、少しづつ異なる部分が沢山ある場
合が多く、僅かに様式の異なるいくつもの形式の文書が
必要となる場合が多い。
However, in the above-mentioned method, although the processing of the data to be inserted may be possible to some extent, based on one document format or template into which the data is to be inserted. In the sense that only the prepared insertion portion changes, only one type of document can be created for the layout. On the other hand, fixed letters and application documents often have slightly different parts in one of many formats, and often require documents in several formats with slightly different formats. .

【0005】印刷機で印刷したした定型の手紙等を用い
る場合には、内容が多種多様の印刷物を作れば、コスト
もかかり、在庫管理も面倒で、また印刷したものの保管
場所に多くの空間を要し、従って多目的を一種類の書式
ですまそうとして、余分な記載を含めた択一方式のもの
を作成とすると、必要な情報の不足や余分な文章の存在
の為に、受け取った顧客その他に誤認を生じやすいか、
又は不快感を与えやすいものとなりがちである。
[0005] In the case of using a standard letter or the like printed by a printing machine, if a variety of prints are made, the cost is high, inventory management is troublesome, and a lot of space is required in a storage place for the printed matter. Therefore, if you try to use a single format for multipurpose purposes and create an alternative method that includes extra information, you will not be able to receive necessary information or extra text, Are misleading,
Or it tends to give discomfort.

【0006】そこで、そのようないくつもの文書が必要
な場合にソフトウェアにより手紙その他の種々の文書の
自動打ち出しシステムを構築しようとすると、その数だ
けのおびただしい種類のデータ差込みされる文書書式若
しくは文書雛形が必要となり、その作成作業は煩雑又は
場合によっては困難であって、外部メモリーをいたずら
に使用し、又は目的の文書雛形を選び出すためにも、プ
ログラム中にファイル名の異なる文書雛形のファイルを
記載しておく必要があって、それだけ別の目的にはファ
イル名選択が制限されてしまう。
Therefore, if an attempt is made to construct an automatic stamping system for letters and other various documents by software when such a large number of documents are required, a large number of document formats or document templates into which a large number of data are inserted are required. It is necessary to create a document template file with a different file name in the program to use the external memory unnecessarily or to select the target document template. Must be done, which limits file name selection for other purposes.

【0007】更には、ある形式の文書に差込まなければ
ならないデータの数が可変であるときは、最大数の差込
み場所を準備する必要があるので、印刷するときの紙の
スペ−スの無駄や、必要情報だけを出力することが出来
ない等の欠点を生じてしまう。従って、文書書式若しく
は雛形の数が多くなりすぎる場合には、結局人手により
ワ−ドプロセッサを編集しながら可変部分を書き換える
ほうが体裁がよく、またそのほうが簡単となる場合さえ
も多い。
Furthermore, when the number of data to be inserted into a document of a certain format is variable, it is necessary to prepare the maximum number of insertion sites, so that waste of paper space at the time of printing is wasted. Further, disadvantages such as the inability to output only necessary information occur. Therefore, when the number of document formats or templates becomes too large, it is better to rewrite the variable portion while editing the word processor by hand, and in many cases it is even easier.

【0008】プログラムにより自動的に作成される文書
を、出来た時点で更にワードプロセッサで書き加えをす
る場合には、実行中のプログラムを操作する人とワード
プロセッサで書き加えをする人が同じであるのが一般的
であるから、ワードプロセッサに於いて何のメッセージ
も無しに書き加えが出来るほど熟知した人でないとプロ
グラムを操作出来ないということになってしまう。書き
加えの文章の要不要がメッセージのあるプログラムに於
いて選択できれば、それほど熟知していない人でも操作
が可能となる。
When a document automatically created by a program is further added by a word processor at the time of completion, the person who operates the program being executed and the person who adds by the word processor are the same. Is so general that a person who is not sufficiently familiar with a word processor to add a message without any message cannot operate the program. If it is possible to select the necessity of additional text in a program with a message, even a person who is not very familiar can operate.

【0009】このように、従来、ただ一つの定型文書に
デ−タを差込みして多様な文章を自動出力するには、差
込み箇所の個数の変化に対する対応が不十分な問題、不
要部分の削除が必ずしも可能でない問題、定型文書のデ
−タ差込みされるべき部分にプログラミングで用いられ
るあらゆる文字列変数や関数を割り当てることが可能で
ない問題等があった。
[0009] As described above, conventionally, in order to automatically output various texts by inserting data into a single fixed document, there is an inadequate response to a change in the number of insertion points, and unnecessary portions are deleted. Is not always possible, and it is not possible to assign all the string variables and functions used in programming to the part of the standard document to which data is to be inserted.

【0010】本発明者は、変数名を表わす文字列と変数
の差込み場所を示す記号が記録されているテキストファ
イル(文字列のシーケンシャルファイル)にランダムフ
ァイルからのデータを、変数代入式を含む子プログラム
を作成して子プログラムを実行させることにより変数に
代入しそのテキストファイルへ差込むベーシックプログ
ラムを作成した。このプログラムは、差込みデータ部分
に値がない行を削除することは出来るものの、テキスト
ファイルを条件に従って選択しなかった為に、例えば種
々の定型文の手紙は一つ一つ別々のシーケンシャルファ
イル等が必要となった。しかし、シーケンシャルファイ
ルはワードプロセッサにより容易に編集、訂正が可能で
あるにも拘らず、定型文一つをとってみてもそれが微妙
に変化した修飾形の文書を沢山作る必要があり、特に、
場合に応じてあるべきパラグラフ、あるべきでないパラ
グラフの処理がプログラム上非常にやっかいである。
The inventor of the present invention has proposed a method for storing data from a random file in a text file (sequential file of character strings) in which a character string representing a variable name and a symbol indicating a place where the variable is inserted are stored in a child file including a variable assignment expression. By creating a program and running the child program, we created a basic program that substitutes variables and inserts them into the text file. Although this program can delete lines that do not have a value in the insertion data part, since text files were not selected according to the conditions, for example, various fixed-form letters are stored in separate sequential files. Needed. However, although sequential files can be easily edited and corrected by a word processor, it is necessary to create a large number of modified documents that are slightly changed even if one fixed phrase is taken.
The processing of paragraphs that should and should not be done in some cases is very troublesome in a program.

【0011】また、プログラミングの段階に於いては、
目的とする文書を作成すると共にプログラムも作成しな
ければならない。これら文書とプログラムとは、別々の
ソフトウェアにより作成されるのが一般である。一方、
定型文書について言えば、多少の行のあるなしの違いが
あるだけで別のファイルにならざるを得ない為に沢山の
定型文書の為のファイルが存在することとなる。従っ
て、プログラミング中に、プログラムリストをディスプ
レイ上で見て、次にワ−ドプロセッサに切り換えて幾つ
もの定型文書用のファイルを次々に開いては閉じ、とい
うことを繰返してはじめて、プログラムが完成出来る。
この作業は、実際に行うと想像以上にやっかいなもので
あり、内容が複雑になってくると、プログラミングの意
欲を挫き得る程にもなり得る。
In the programming stage,
A program must be created along with the target document. These documents and programs are generally created by separate software. on the other hand,
As for the fixed form document, there are many files for the fixed form document because there is no other way but to make a separate file just with some differences with or without lines. Therefore, the program can be completed only after the program list is viewed on the display during programming, and then switched to the word processor to open and close a number of files for standard documents one after another. .
This task is more troublesome than it is imagined when it is actually performed, and as the content becomes more complicated, it can even destroy the motivation for programming.

【0012】また、定型文の一つ一つが時代の変化に応
じて書き換える必要があるので、幾つもの定型文用のシ
ーケンシャルファイルと、変化に対応して幾つもの分岐
を生じるプログラムとを、特に限られたプログラムメモ
リ領域内では、整合させることは非常に困難をきわめ
る。
Further, since each of the fixed phrases needs to be rewritten according to the change of the times, a sequential file for a plurality of fixed phrases and a program which generates a number of branches in response to the change are particularly limited. Within a given program memory area, matching is very difficult.

【0013】これらの困難は、一つには次の理由によ
る。即ち、プログラム実行中でない状態のプログラミン
グ中に於て、データベースソフト等で準備されている便
利な選択機能を利用することなく、多数の行の文字列群
を含むデータから所望の少数の行の文字列群からなるデ
ータを選び出して表示してみることを行っていなかった
為である。
These difficulties are due in part to the following reasons. That is, during programming in a state where the program is not being executed, a desired small number of lines of characters can be obtained from data including a character line group of many lines without using a convenient selection function prepared by database software or the like. This is because they did not select and display data consisting of columns.

【0014】[0014]

【課題を解決する手段】本発明により、多数の行の文字
列群を含むデータから所望の少数の文字列群からなるデ
ータを選び出すことと、それらの所望の少数の文字列群
の指定された位置に別のデータを差込むことの組合せる
ことを特徴とする、以下に記載の本発明の方法、及び本
発明のコンピュ−タ読み取り可能な記録媒体に記録され
ているプログラムとデ−タファイルを用いて、上記の課
題が解決できることが発見された。
According to the present invention, data consisting of a desired small number of character strings is selected from data containing a large number of lines of character strings, and the desired small number of character strings are designated. The method according to the present invention described below, characterized in that a program and a data file recorded on a computer-readable recording medium according to the present invention are combined with inserting another data into a position. It has been found that the above problem can be solved by using the above method.

【0015】即ち、本発明は、以下からなる。 『1. 各行が1以上の文字列格納用項目を含めた同一
数の複数の項目からなっている、複数の行からなる構造
を有するデ−タであって、且つ、少なくとも1以上の行
に於いて、文字列変数類{但し文字列変数類には、プロ
グラム言語で許される文字列変数、該データと異なる別
のデータファイルの項目の値を示す記号、文字列値をと
る関数、及び文字列定数を含むものとする}のうちの文
字列定数以外から選択されるものの変数名、関数名、項
目値を表わす記号等{以下変数名類と呼ぶ}の1以上を
該文字列格納用項目のいずれかに含んでいる、予めデー
タファイル記憶手段に記憶されている種々の目的の文字
列群の原型を含むデータファイルのデ−タから、入力手
段により入力された1以上の入力データ又は他のデータ
に基づく条件式を所定の1以上の項目の値が満たしてい
る、特定目的の為により少ない行数の所望の行だけに絞
り込み、抽出又は選択することにより、選択行からなる
デ−タを得る手順、該選択行からなるデ−タのうちの変
数名類を含む行中の、文字列格納用項目のうちの少なく
とも1項目に格納されている変数名類が示す文字列変数
類の値と、文字列格納用項目に格納されている他の文字
列及び/又は文字列のうちの該変数名類以外の部分とか
ら、該選択行の各行につき、目的とする文字列を導き出
し又は合成して文字列群とする手順、それらの目的とす
る導き出され又は合成された文字列群データの、ファイ
ルへの記録及び/又は印刷及び/又はディスプレイへの
表示を行う手順、をプログラムが含んでおり、ここで該
目的とする文字列を導き出し又は合成して文字列群とす
る手順が、 A)a)別途準備した一連の順番の文字列変数の変数名
を示す文字列と該選択行からなるデ−タのうちの変数名
類を含む行中の該変数名類部分の文字列とを順次用い
て、少なくとも該変数名類の数だけの、代入式又は代入
コマンドを表わす文字列群を合成し、合成した代入コマ
ンド文字列群を更に別の変数群の値として又は更に別の
データファイルの一項目の項目値群として記憶手段に記
録し、該代入コマンド文字列群により表現される代入式
又は代入コマンドの群の各々を、プログラム言語で準備
されていてコマンド実行コマンドと関連付けて記された
コマンド表現文字列を実行する機能を有するコマンドを
用い且つそのコマンド実行コマンドに関連づけて該更に
別の変数群をプログラム中に記載することによって順次
実行し得るようにすることにより、又は b)引き数が文字列変数の変数名を示す文字列である場
合にその文字列変数の値を返すプログラム言語で準備さ
れている関数を用い、文字列格納用項目のうちの少なく
とも1項目に格納されている変数名類を引き数としたそ
の関数の値を、該別途準備した一連の順番の文字列変数
に代入することにより、一定の順序で、該デ−タファイ
ルのデ−タ中に含まれている該変数名類を有している文
字列変数類の値を、該別途準備した一連の順番の文字列
変数に代入し、 B)該代入された別途準備した一連の順番の文字列変数
の値を、文字列格納用項目に格納されている文字列と共
に、該目的とする文字列群を生じる為に、該一定の順序
に従う、置き換え及び/又は連結からなる合成に用いる
こと、からなることを特徴とする、種々の目的の文字列
群の原型を含む該デ−タファイルのデ−タと、それ以外
のデ−タとに基づいて、コンピュ−タプログラムを用い
て特定目的の文字列群を合成する方法。但し、該コマン
ド実行コマンドは、代入式を表現する子プログラムを書
出して子プログラムファイルを実行し、次に親プログラ
ムに実行を戻す方法以外の方法でコマンドを実行するも
のとする。
That is, the present invention comprises the following. [1. Data having a structure composed of a plurality of lines, each line including a plurality of items of the same number including one or more character string storage items, and at least one or more lines, Character string variables: The character string variables include character string variables permitted in the programming language, symbols indicating the values of items in another data file different from the data, functions for obtaining character string values, and character string constants. Include one or more of variable names, function names, symbols representing item values, etc. of items selected from those other than character string constants among {character variable storage types} in any of the character string storage items. A condition based on one or more input data or other data input by the input means from data of a data file including prototypes of various character strings stored in the data file storage means in advance. Expression 1 A procedure for obtaining data consisting of a selected row by narrowing down, extracting or selecting only desired rows having a smaller number of rows for a specific purpose and satisfying the values of the above items; The value of the character string variable indicated by the variable name stored in at least one of the character string storage items in the line including the variable name of the data items, and stored in the character string storage item A procedure of deriving or combining a target character string for each line of the selected line from other character strings and / or a part of the character string other than the variable names, to form a character string group; The program includes a procedure for recording and / or printing and / or displaying on a display the file of the character string group data derived or synthesized for the purpose. Derive or combine columns to create a sentence A) a) a) a character string indicating a variable name of a series of separately prepared character string variables and a variable in a line including variable names of data of the selected line. By sequentially using the character strings of the name classes, at least as many as the number of the variable names, a character group representing an assignment expression or an assignment command is synthesized, and the synthesized assignment command character group is further classified into another variable group. Each of the assignment formulas or assignment commands represented by the assignment command character string group is recorded in the storage means as a value or as an item value group of one item of another data file, and is prepared in a programming language. By using a command having a function of executing a command expression character string described in association with the command execution command and describing the further variable group in the program in association with the command execution command, By using a function provided in a programming language that returns the value of the string variable when the argument is a string indicating the variable name of the string variable, By substituting the value of the function with the variable name stored in at least one of the storage items as an argument into the separately prepared series of character string variables, Substituting the values of the string variables having the variable names contained in the data of the data file into the series of separately prepared string variables in order, B) the substitution The values of the string variables in a series of sequences prepared separately, together with the character strings stored in the character string storage items, are generated in accordance with the predetermined order in order to generate the target character string group. And / or used for synthesis consisting of linkages A character string of a specific purpose using a computer program based on data of the data file including prototypes of various character string groups for various purposes and other data. How to combine groups. However, it is assumed that the command execution command executes a child program expressing a substitution expression, executes the child program file, and then executes the command by a method other than returning the execution to the parent program.

【0016】2.各行が1以上の文字列格納用項目を含
めた複数の項目からなっている、複数の行からなる構造
を有するデ−タであって、且つ、少なくとも1以上の行
に於いて、文字列変数類{但し文字列変数類には、プロ
グラム言語で許される文字列変数、該データと異なる別
のデータファイルの項目の値を示す記号、文字列値をと
る関数、及び文字列定数を含むものとする}のうちの文
字列定数以外から選択されるものの変数名、関数名、項
目値を表わす記号等{以下変数名類と呼ぶ}の1以上を
該文字列格納用項目のいずれかに含んでいる、予め第一
の記憶手段のある場所に記憶されているデータファイル
のデ−タ中で、入力手段により入力された1以上の入力
データ又は他の既存データに基づく条件式を所定の1以
上の項目の値が満たしている行又はレコードを検索し
て、該当するより少ない行数の所望の行に抽出、選択、
又は絞り込みされた選択行からなるデ−タを該第一の記
憶手段の別のある場所及び/又は第二の記憶手段のある
場所に記憶する手順、該第一及び/又は該第二の記憶手
段に記憶されている該選択行からなるデ−タのうちの変
数名類を含む行を検索し、該当する各行について、文字
列格納用項目のうちの少なくとも1項目に格納されてい
る変数名類を表わす文字列から得る文字列変数類の値
と、文字列格納用項目に格納されている他の文字列及び
/又は文字列の該変数名類を示す文字列以外の部分とを
合成して該選択行からなるデ−タの合成後のデ−タを、
該第一及び/又は該第二の記憶手段の更に別の場所に記
録し、必要なら印刷及び/又はディスプレイへの表示を
行う手順、をプログラムが含んでおり、ここで変数名類
を表わす文字列から文字列変数類の値を得ることと該合
成とが、 A) イ)該第二の記憶手段に別途一連の順番の文字列変数を
記録し、該別途準備した一連の順番の文字列変数の変数
名を示す文字列と記録されている該選択行からなるデ−
タのうちの変数名類を含む行中の該変数名類部分の文字
列とを順次、該変数名類の数の代入式又は代入コマンド
を表わす文字列群を合成するように該第一及び/又は該
第二の記憶手段に記録し、該第一及び/又は該第二の記
憶手段に記録した該合成した文字列群を更に別の変数群
の値として又は更に別のデータファイルの一項目の項目
値群として該第一及び/又は該第二の記憶手段に記録
し、該文字列群により表現される代入式又は代入コマン
ドの群の各々を、プログラム言語で準備されていてコマ
ンドと関連付けられたコマンド表現文字列を実行する機
能を有するコマンドを用いて、プログラム中のそのコマ
ンドに関連づけて該更に別の変数群又は該項目値群を表
わす記号を記載することによって順次実行することによ
り、又は、 ロ)引き数が文字列変数の変数名を示す文字列である場
合にその文字列変数の値を返す関数によって、該文字列
変数類の値が格納されている該第二の記憶手段中で該変
数名類を同定するべき文字列部分と一致するデータをそ
れぞれ検索して一致データが存在する番地から導かれる
該文字列変数類の変数値記録デ−タのそれぞれを、該第
二の記憶手段中に記録されている該別途準備した一連の
順番の文字列変数の値の格納場所にそれぞれ記録するこ
とにより、一定の順序で、該デ−タファイルのデ−タ中
に含まれている該変数名類を有している文字列変数類の
値を、該別途準備した一連の順番の文字列変数に代入
し、 B)該第二の記憶手段に記録されている該代入された別
途準備した一連の順番の文字列変数の値を、該第一及び
/又は該第二の記憶手段に記録されている選択行からな
るデータの文字列格納用項目に格納されている文字列と
共に、該目的とする文字列群を生じる為に、該一定の順
序に従う、置き換え及び/又は連結からなる合成に用い
ること、からなることを特徴とする、種々の目的の文字
列群の原型を含む該デ−タファイルのデ−タと、それ以
外のデ−タとに基づいて、コンピュ−タプログラムを用
いて特定目的の文字列群を合成する方法。
2. Data having a structure consisting of a plurality of lines, each line including a plurality of items including one or more character string storage items, and a character string variable in at least one or more lines. Classes. However, the character string variables include character string variables permitted in the programming language, symbols indicating values of items of another data file different from the data, functions for obtaining character string values, and character string constants. In any of the string storage items, one or more of variable names, function names, symbols representing item values, etc. of those selected from other than the character string constants {hereinafter referred to as variable names} are included. In data of a data file previously stored in a location of the first storage means, a conditional expression based on one or more input data or other existing data input by the input means is set in one or more predetermined items. Rows that satisfy the value of By searching the code, extraction in a desired row number fewer rows than the corresponding, selected,
Or a procedure for storing data consisting of the selected rows narrowed down in another place in the first storage means and / or in a place in the second storage means, the first and / or the second storage A search is made for rows containing variable names among the data consisting of the selected rows stored in the means, and for each row, the variable names stored in at least one of the character string storage items A value of a character string variable obtained from a character string representing a class is combined with another character string stored in the character string storage item and / or a part of the character string other than the character string indicating the variable name. The data after synthesis of the data consisting of the selected row is
The program includes a procedure of recording the data in another place of the first and / or the second storage means, and printing and / or displaying on a display if necessary. Obtaining the value of the string variable class from the sequence and the synthesis include: A) b) separately recording a series of string variables in the second storage means, and preparing the separately prepared sequence of character strings A data consisting of a character string indicating the variable name of the variable and the selected line recorded
The first and the second character strings are sequentially combined with the character string of the variable name part in the line containing the variable name of the variable And / or storing the combined character string group recorded in the first and / or second storage unit as a value of another variable group or a file of another data file. Each of an assignment expression or an assignment command group represented by the character string group is recorded as an item value group of an item in the first and / or the second storage means, and each of the command and the command is prepared in a programming language. By using a command having a function of executing an associated command expression character string, by sequentially executing a symbol indicating the further variable group or the item value group in association with the command in the program. Or or b) pull When the number is a character string indicating the variable name of the character string variable, the function that returns the value of the character string variable causes the variable name in the second storage means in which the value of the character string variable is stored. Each of the variable value recording data of the character string variables derived from the address where the matching data exists is searched for in the second storage means. The variable names stored in the data file of the data file in a fixed order are recorded in the storage locations of the series of separately prepared character string variables in the sequence. And B) substituting the values of the character string variables having the following in the series of separately prepared character string variables, and B) recording the substituted series of separately prepared characters recorded in the second storage means. The first and / or the second storage means stores the value of the character string variable of the order Along with the character string stored in the character string storage item of the data consisting of the selected line recorded in the above, the replacement is performed in accordance with the predetermined order, and / or the concatenation in order to generate the target character string group. A computer program based on the data of the data file including prototypes of various character string groups and other data, characterized in that the computer program is used for synthesis. A method of synthesizing a specific character string group using

【0017】3.該方法が、特許出願、実用新案登録出
願、意匠登録出願、商標登録出願、及びそれらの登録さ
れた権利に関する手続書類を作成する目的の文字列群を
合成する方法であり、該第一の記憶手段が外部記憶装置
であり、該第二の記憶手段がコンピュータの主記憶装置
である上記2に記載の方法。
3. The method is a method of synthesizing a character string group for preparing a patent application, a utility model registration application, a design registration application, a trademark registration application, and a procedural document relating to the registered rights thereof, and 3. The method according to claim 2, wherein the means is an external storage device and the second storage means is a main storage device of a computer.

【0018】4.上記1又は2又は3に記載の方法を実
行する為に該手順を含んでいるプログラム及び/又はそ
のプログラムで使用される該データファイルの構造を有
する該デ−タを記録したコンピュータ読み取り可能な記
録媒体。』からなる。
4. A computer-readable recording recording a program including the procedure and / or the data having a structure of the data file used in the program to execute the method according to the above 1 or 2 or 3. Medium. ].

【0019】利用出来るソフトウェアの例と上記第1手
順及び第2手順 上記の様な本発明の方法を実施する為のプログラムとし
ては、各具体例に対してそれぞれ適した市販ソフトウェ
ア又は市販ソフトウェアの組合わせが存在し得る。
Examples of available software and the above first steps
Sequence and Second Procedure As a program for implementing the method of the present invention as described above, commercially available software or a combination of commercially available software suitable for each specific example may be present.

【0020】そのようなアプリケ−ションソフトウェア
の例は、株式会社管理工学研究所製のリレ−ショナルデ
−タベ−スソフトである「桐(登録商標)Ver.7及びVe
r.5」等を挙げることが出来る。本明細書では、「桐Ve
r.7」に含まれている一括処理ファイル及び表ファイル
のモデルにより説明する(不明な用語については、桐Ve
r.5及びVer.7に添付されるマニュアル、株式会社管理工
学研究所発行、を参照)。
An example of such application software is “Kiri (registered trademark) Ver. 7 and Ve, which is relational database software manufactured by Management Engineering Laboratory Co., Ltd.
r.5 "and the like. In this specification, "Kiri Ve
r.7 ”will be explained based on the model of the batch processing file and the table file included.
(Refer to the manual attached to r.5 and Ver.7, published by Management Engineering Laboratory Co., Ltd.)

【0021】「桐Ver.5」を用いて、「表ファイル」、
及び「一括処理ファイル」を作成し、外部記憶装置に記
録できる。その一括処理ファイルにおいて、上記のプロ
グラムを作成することが可能である。また、表ファイル
において、本発明に述べるデータファイルを作成するこ
とが可能である。その一括処理ファイルとは、実行可能
なファイルである。
Using "Tungsten Ver.5", "Table file",
And a “batch processing file” can be created and recorded in an external storage device. The program can be created in the batch processing file. In the table file, a data file described in the present invention can be created. The batch processing file is an executable file.

【0022】但し、プログラミングに関して、本発明
は、上記の「桐Ver.5」や「桐Ver.7」を使用することに
限定されるものではなく、条件を満たすあらゆるプログ
ラム言語、及び異なるデータベースシステムに於ける構
造を有するデータとしてのテーブルの使用を含む。ま
た、本明細書の開示を参照した後には、コマンドと関連
付けられたコマンド表現文字列を実行する機能を有する
コマンド(コマンド <文字列>)が準備されていないプロ
グラム言語、引き数が文字列変数の変数名を示す文字列
である場合にその文字列変数の値を返す関数が準備され
ていないプログラム言語に於て均等の機能を得ることは
容易であるから、本発明と均等の範囲は、特許請求の範
囲に記載される通りのものだけには限定されない。
However, with regard to programming, the present invention is not limited to the use of the above-mentioned "Tungsten Ver.5" and "Tungsten Ver.7". Including the use of tables as data having the structure in. Also, after referring to the disclosure of this specification, a command language having a function of executing a command expression character string associated with the command (command <character string>) is not prepared, the argument is a character string variable Since it is easy to obtain an equivalent function in a programming language in which a function that returns the value of the string variable in the case of a character string indicating the variable name is not prepared, the scope equivalent to the present invention is as follows: It is not limited to only what is stated in the claims.

【0023】「桐Ver.5」又は「桐Ver.7」で作られる表
ファイルとは、行、即ちレコードの集まりであって、各
行又はレコードが共通して複数の項目(その値は項目の
名称を[ ]で囲んだもので示される)を含み、各項目は
データを含まないか又は記録される文字列デ−タ又は数
値デ−タ(データはコード化された形態であり得る)を
含み得る。このようにして1以上の項目を含む行の複数
行からなるデ−タ群を形成出来る。但し、表やプログラ
ムやフォームを全て一プロジェクトとして一つのファイ
ルに含めたシステムも本発明に含められる。
A table file created by "Kiri Ver. 5" or "Kiri Ver. 7" is a group of rows, that is, records, and each row or record has a plurality of items (the value of which is Each item contains either no string data or recorded string or numerical data (the data may be in coded form). May be included. In this manner, a data group consisting of a plurality of rows including one or more items can be formed. However, a system in which tables, programs, and forms are all included in one file as one project is also included in the present invention.

【0024】第1手順に出現する用語の定義と説明 1. データファイルの文字列中に値を差込む「文字列変
数類」は以下のものからなる。 1) プログラム言語で許される文字列変数 2) 別のデータファイルの項目の値を示す記号 3) 文字列値をとる関数(引き数に1)、2)、4)その他を
含み得る) 4) 文字列定数
Definitions and explanations of terms appearing in the first procedure 1. "Character string variables" for inserting a value into a character string of a data file are as follows. 1) String variables allowed in the programming language 2) Symbol indicating the value of an item in another data file 3) Functions that take string values (can include 1), 2), 4) and others that take arguments) 4) String constant

【0025】2. 文字列変数類「のうちの文字列定数以
外」とは上記1)〜3)をさす。
2. Character string variables “other than character string constants” refer to the above 1) to 3).

【0026】3. データファイルに含められる「変数名
類」は上記1)〜3)を表わす記号であって以下のものから
なる。 1) 変数名 2) 項目値を表わす記号等 3) 関数名
3. "Variable names" included in the data file are the symbols representing the above 1) to 3), and include the following. 1) Variable name 2) Symbol indicating item value 3) Function name

【0027】4. 「該文字列格納用項目」とはデータフ
ァイルの項目のうち、その値が目的文字列の合成の為に
利用されるものをさす。
4. "Item for storing a character string" means an item of the data file whose value is used for synthesizing a target character string.

【0028】5. 「入力手段により入力された1以上の
入力データに基づく条件式」を「所定の1以上の項目の
値が満たしている」「より少ない行数の所望の行だけに
抽出又は選択することにより、選択行からなるデ−タを
得る」、以上は、例えば、プログラム実行中にオペレー
ターがキーボードやマウス等で、目的文字列群を得る為
に又は差込みされる別のデータファイルのレコードを1
レコードに絞り込みすることなどの操作で、文字入力や
メニュー選択等から生じる値に対し、条件が満たされる
ように選択行への選択がなされることを意味する。
5. Extract "conditional expression based on one or more input data input by input means" into "only one or more items satisfying predetermined values" or "only desired lines with fewer lines" By selecting this, the data consisting of the selected line is obtained. "The above is, for example, for the operator to obtain a target character string group using a keyboard or a mouse during execution of the program or to insert another data file. Record one
This means that, by an operation such as narrowing down to records, a value selected from a character input, a menu selection, or the like is selected on a selected line so that a condition is satisfied.

【0029】第2手順に出現する用語の定義と説明 該選択行からなるデ−タのうちの変数名類を含む行中
の、文字列格納用項目のうちの少なくとも1項目に格納
されている変数名類が示す文字列変数類の値(前者)
と、文字列格納用項目に格納されている他の文字列及び
/又は文字列のうちの該変数名類以外の部分(後者)と
によって、該選択行の各行につき、目的とする文字列を
導き出し又は合成して文字列群とする手順(以下第2手
順とのべる)、の「導き出し又は合成して」とは、 1)前者と後者を連結すること、 2)前者を、後者の変数名類の位置又は変数名類の位置
を指定する記号の位置に、変数名類又は変数名類の位置
を指定する記号を置き換えるように挿入すること、及び 3)上記1)と2)との組合せ、即ち、前者の一部を後
者に連結し、前者の一部を後者の上に述べた位置に、置
き換えをするように挿入すること、を含む。
Definitions and explanations of terms appearing in the second procedure are stored in at least one of the character string storage items in the line containing the variable names among the data of the selected line. Value of character string variable indicated by variable name (the former)
And the other character strings stored in the character string storage item and / or the portion of the character string other than the variable names (the latter), the target character string for each of the selected lines is determined. In the procedure of deriving or combining to form a character string group (hereinafter referred to as a second procedure), “derived or combining” means 1) connecting the former and the latter, 2) replacing the former with a variable name of the latter Inserting a variable name or a symbol designating the position of a variable name in the position of a symbol designating the position of a class or a variable name, and 3) a combination of 1) and 2) above I.e., linking a part of the former to the latter and inserting a part of the former into the above-mentioned position to replace it.

【0030】上記1)〜3)と共に、特定記号の連続番
号への置き換えや、印刷制御用の文字の置き換えや削除
や、削除記号を含む行の削除等も含むものと定義され
る。
Along with the above 1) to 3), it is defined to include replacement of a specific symbol with a serial number, replacement and deletion of characters for print control, deletion of a line including a deletion symbol, and the like.

【0031】上記、「置き換え」は、変数名類を含む項
を「置換」コマンド(例えば上記「桐 ver.5」又は「桐
ver.7」の一括処理のマニュアルを参照)により、又は
「#文字置換()」関数の使用により可能である。また、
特定記号の連続番号への置き換えは、開かれ編集状態の
表ファイル又はその絞り込み状態であって特定記号を含
む行(レコード)からなるものに於て、特定記号を「#
連番」関数("#連番")(同書参照:置換を実行すると
行順に連続番号を与える関数)で置換することにより可
能である。
The above “replace” means that a term including a variable name is replaced with a “replace” command (for example, the above “Kiri ver.5” or “Kiri
ver.7), or by using the "# character replacement ()" function. Also,
Replacement of a specific symbol with a serial number is performed by replacing the specific symbol with "#" in an open and edited table file or its narrowed-down state consisting of rows (records) containing the specific symbol.
This is possible by replacing with a "serial number" function ("#serial number") (refer to the same book: a function that gives a sequential number in line order when performing the replacement).

【0032】別途準備した一連の文字列変数への代入方
桐Ver.5及びVer.7には、コマンドと関連付けて記載され
たコマンド表現文字列を実行する機能を有するコマンド
実行コマンド(具体的には コマンド <文字列> で表現されている)が準備されている。これを用いた実
施例は、実施例1、2及び4を参照。コマンド実行コマ
ンドは、下に述べる#変数(var)の使用と比較して、変数
名以外の変数名類を表わす文字列から変数類の値(項目
値又は関数の値)を得ることが出来る。
How to assign to a series of string variables prepared separately
The law Tung Ver.5 and Ver.7, ready command execution command having a function of executing the command expression string that is described in association with the command (specifically are represented by the command <string>) Have been. For examples using this, see Examples 1, 2 and 4. The command execution command can obtain the value of a variable (item value or function value) from a character string representing a variable name other than the variable name as compared with the use of #variable (var) described below.

【0033】桐Ver.5及びVer.7には、引き数が文字列変
数の変数名を示す文字列である場合にその文字列変数の
値を返す関数(具体的には #変数(str) /* str は変数名("&"不要) */ で表現さている)も準備されている。これを用いた実施
例は、実施例3を参照。
In Tung Ver.5 and Ver.7, if the argument is a character string indicating the variable name of a character string variable, a function that returns the value of the character string variable (specifically, #variable (str) / * str also has a variable name (represented by "/" not required) * /). See Example 3 for an example using this.

【0034】これらにより当業者は本発明の請求項1を
実施可能である。また、これらと均等な方法が特願平9
−126464号に説明されている。これらのコマンド
や変数の活用は、気付きにくい点ではあるが、本発明は
その活用だけを特徴とするものではなく、文書作成への
データベースの表ファイルの利用と、表ファイルの絞り
込み機能の利用と、文書項目中のデータへの変数の挿入
と、これらのコマンドや変数の活用との組合せ、又はそ
れらと特定の用途(例えば願書等の作成)との組合せに
特徴を有する。
These enable a person skilled in the art to carry out claim 1 of the present invention. An equivalent method is disclosed in Japanese Patent Application No.
-126464. Although the use of these commands and variables is difficult to notice, the present invention is not limited to the use of these commands and variables, but uses the table file of the database for document creation and the use of the table file narrowing function. It is characterized by the combination of inserting variables into data in document items and utilizing these commands and variables, or combining them with specific uses (for example, creating an application form).

【0035】行選択専用の項目 本発明の好ましい態様では、文章等の原型を格納するデ
ータファイルの各行が1以上の文字列格納用項目と行選
択用数字・文字・記号類を含む1以上の行選択専用の項
目とを有している複数の行からなる構造を有する。この
ような態様では、行選択用項目の値そのものを用いて、
その値を加工することなしに、条件に合致する行を選択
することが出来るから、データファイルが解りやすく且
つ作りやすく、また多数の行からの複雑な選択を可能に
するために幾つでも行選択用項目を造ることが出来る。
Items Dedicated to Line Selection In a preferred embodiment of the present invention, each line of a data file storing a prototype of a sentence or the like has one or more character string storage items and one or more line selection numbers, characters, and symbols. It has a structure consisting of a plurality of rows having items dedicated to row selection. In such an embodiment, the value of the row selection item itself is used,
You can select rows that meet the conditions without processing the values, so the data file is easy to understand and create, and you can select any number of rows to enable complex selection from many rows Items can be created.

【0036】条件に従って行を絞り込み、選択又は抽出
する方法 市販のリレ−ショナルデ−タベ−スソフトウエアや、表
計算ソフトウェアはほとんどこのような機能をそなえて
いるか、又は別の言語ソフトウエアで処理する場合に
も、行の選択抽出自体は当業者に容易であり、市販のソ
フトウェア以外のデ−タファイルについても多数のレコ
−ド又は行から、ある項目やインデックスについて一定
の条件を満たすレコ−ド又は行を選択することは、種々
の方法で普通に行われていることであり、当業者に自明
であるものが多数存在するはずであるから、本明細書に
於いては、具体的にコンピュ−タがどのように行を選択
するかについては、記載を要しない。
Lines are narrowed down, selected or extracted according to conditions
How commercial relay - Shonarude - Eat - scan software or spreadsheet software is little or are provided with such a function, or when processing in another language software also, the selection extraction itself row those skilled in the art It is easy to select a record or line that satisfies a certain condition for a certain item or index from a large number of records or lines even for data files other than commercially available software. Since there are many things that are obvious to those skilled in the art, in this specification, specifically, how a computer selects a row is not described. Need not be described.

【0037】文字列群の合成方法 1)文字列格納用項目と変数とを一定の順序で連結する
場合 この態様は、「氏名:○○○○」の様に、例えば左側に
ある各行の表題文字列に対して、例えば右側に対応する
デ−タが記入されるべき形式のような、書式に有用であ
り、1行あたりの出現する文字列変数類は1であるが、
値が与えられない行を削除することによって、余計な行
が残らないようにすることが可能である。1)の具体例
の場合の例は下の実施例1を参照。
Method of synthesizing character string group 1) Character string storage items and variables are linked in a certain order
In this case, the form is such that, for example, for a title character string of each line on the left side, for example, a form in which data corresponding to the right side should be entered, such as “Name: XXX”. Useful, the number of string variables that appear per line is one,
By deleting rows that are not given a value, it is possible to prevent unnecessary rows from remaining. For the specific example of 1), see Example 1 below.

【0038】2)文字列中の置換記号を置き換えする場
この態様に於いては、1行中の文字列の1以上の任意の
場所のそれぞれに対して文字列変数類を指定し、それら
の場所に指定した文字列変数類の値、即ち、例えば別の
何等かのデ−タファイルの1レコ−ドが選ばれている場
合にそのレコ−ドのある項目値を表す記号、値の代入さ
れている文字列変数、それらを含む関数の値、又は特定
の文字列を差込むことが出来る。即ち、1行あたりに複
数の変数値を差込みする場所を設けることが出来る。文
字列変数類が差込まれる場所の指定は主たる表示内容を
含む項目に於いてなされるが、各変数名類は、出現順序
に従って、別の複数の文字列格納項目中に順次記録して
おくのがよい。そうすることにより、全行について、変
数の出現について、一定の方法による順序付けをするこ
とが出来、最終的に選択文字列群の置き換える指定がさ
れている場所を、正しい順序で転送先文字列変数で置き
換えることが出来る。
2) When replacing a substitution symbol in a character string
In this embodiment, the character string variables are specified for each of one or more arbitrary positions of the character string in one line, and the values of the character string variables specified in those positions, that is, for example, When one record of some other data file is selected, a symbol representing a certain item value of the record, a character string variable to which a value is substituted, a value of a function including them, or You can insert a specific character string. That is, it is possible to provide a place for inserting a plurality of variable values per line. Although the designation of the place where the character string variables are inserted is made in the item including the main display content, each variable name is sequentially recorded in another character string storage item according to the appearance order. Is good. By doing so, the order of occurrence of variables can be ordered in a fixed manner for all lines, and the place where the replacement of the selected character string group is finally specified in the correct order Can be replaced by

【0039】但し、文字列中の特定の文字列の場所の検
索が出来るのなら、上記の一つの主たる表示内容を含む
項目のどこかに文字列変数類の値が差込まれるべき場所
も変数名類も両方とも含めることも、更に、文字列変数
類の値が差込まれるべき場所にじかに変数名類を記入し
ておくことも当然可能である。上記、2)の具体例の場
合の例は下の実施例2、3及び4を参照。
However, if the location of a specific character string in the character string can be searched, the place where the value of the character string variable is to be inserted in any of the items including the one main display content is also a variable. It is of course possible to include both names, and to enter the variable names directly in the places where the values of the string variables should be inserted. See Examples 2, 3 and 4 below for an example of the specific example 2) above.

【0040】3)上記1)と2)の組合せの場合 具体的実施例は示されないが、1)と2)から容易に理
解出来る。
3) In the case of the combination of the above 1) and 2), no specific embodiment is shown, but it can be easily understood from 1) and 2).

【0041】加工されたデ−タファイルのプリンタ−出
力方法 市販のリレーショナルデータベースソフトウェアは、表
ファイルの複数のレコードを一覧表形式のレポートファ
イルとして印刷する機能を有する。従って、複数の文字
列を表ファイルの複数のレコードに記録された状態にし
さえすれば、複数の文字列をプリンターに出力すること
は容易である。
Printer output of processed data file
Commercial methods Commercially available relational database software has the ability to print multiple records in a table file as a report file in list format. Therefore, it is easy to output a plurality of character strings to a printer as long as a plurality of character strings are recorded in a plurality of records of a table file.

【0042】[0042]

【実施例】本発明の前期のプログラムを、理解の為に、
具体的なデータファイルの例及び具体的プログラム言語
による簡単なプログラムの断片の例も用いて説明すると
以下の通りである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to understand the first program of the present invention,
The following is a description using a specific example of a data file and an example of a simple program fragment in a specific programming language.

【0043】実施例1 この実施例は、書式用のデ−タファイルの行を選択し、
それらの選択行に、出願デ−タを記録した別のデ−タフ
ァイルのデ−タ値をもとにして得た文字列を差込み、特
許、実用新案、意匠、商標等の出願手続の願書、手続補
正書、その他の差出し書類を自動的に作成する例を示
す。
Embodiment 1 In this embodiment, a line of a data file for formatting is selected.
In those selected lines, insert a character string obtained based on the data value of another data file in which application data is recorded, and apply for application procedures for patents, utility models, designs, trademarks, etc. An example of automatically creating a procedure amendment and other sending documents will be shown.

【0044】まず各行が、例えば、文字列格納用項目で
ある、項目名「[左側文章]」、「[右側文章]」と、行選
択用項目である、項目名「[書類]」、「[四法]」、
「[電P]」、「[発項]」、「[発明者数]」その他を有す
る、デ−タファイル(ファイル名を例えば"BUNSHO.TBL"
とする。以下、デ−タファイルを「表」と呼ぶ場合もあ
る。)を準備する。
First, each line is, for example, an item name "[left sentence]" or "[right sentence]" which is a character string storage item, and an item name "[document]" which is a line selection item. [four laws]",
A data file (eg, "BUNSHO.TBL") having "[Den P]", "[Claim]", "[Number of inventors]" and others
And Hereinafter, the data file may be referred to as a “table”. Prepare).

【0045】作ろうとする全ての提出書類の様式の各行
左側の不変部分を必要な空白と共に(例えば" 〔書類名〕 "、" 〔あて先〕 "、” 〔発明の名称〕 ”、" 〔考案の名称〕 "など)、「[左側文章]」の項目
に記録しておく。国際出願からのものの様式等で欄の頭
に連続番号が付される場合は、同一欄に常に同じ番号が
入るとは限らないので、入れずに連続番号に置き換える
記号を入れておく。また、不変部分のみの行は、それを
「[左側文章]」又は「右側文章]」の項目に入れる。但
し、削除されてはならない空白行は、その「[右側文
章]」の項目に後で空白行に置き換える記号を入れてお
く。「[右側文章]」の欄には、上記の記号のほか、文字
定数、入れたいデ−タの種類に対応している変数、項目
値、これらを含む関数をそれらの変数名(例えば、&書
類名、&あて先、&タイトル等)、別のデータファイルの
項目名の記号(例えば[タイトル]等)、関数名(例え
ば、#条件選択(#文字位置(&書類名,"願")>0,#全角([タ
イトル]),1,"")注:&書類名に"願"の文字がある場合に
は[タイトル]の値を全角に変換した文字列、そうでない
場合はヌルストリングを表わす関数)等で記録する。
In the form of all submitted documents to be created, the invariant part on the left side of each line is added together with necessary blanks (for example, "[document name]", "[destination]", "[title of the invention]", "[ Name], etc.) and “[left text]”. If a serial number is added to the beginning of a column in the form of an international application, etc., the same number is not always entered in the same column. In addition, a line including only the invariable part is put in the item of “[left text]” or “right text”. However, for blank lines that should not be deleted, a symbol to be replaced with a blank line later is entered in the item of [[right sentence]]. In the column of [[right text]], in addition to the above symbols, character constants, variables corresponding to the type of data to be inserted, item values, and functions including these are indicated by their variable names (for example, &). Document name, & destination, & title, etc., symbol of item name of another data file (for example, [Title], etc.), function name (for example, # Condition selection (# character position (& document name, "application")> 0, # full-width ([title]), 1, "") Note: & If the document name contains the word "request", a character string in which the value of [title] has been converted to full-width; otherwise, a null string , Etc.).

【0046】選択項目としての、[書類]、[四法]、[電
P]に、[発項]に対応する記号を記録しておく。例え
ば、願書であれば[書類]に"願"、補正書であれば[書類]
に"補"と記録し、特許であれば[四法]に"特"、実用新案
であれば"実"と記録し、オンライン又はFD出願が適用
される書式には"電"、PCT出願に係るものは"P"と記
録する。
In [Documents], [Four Laws], and [Den P] as the selection items, the symbols corresponding to [Term] are recorded. For example, if the application is a "document,""Request" is written in the document, and if it is an amended document, the document is "document."
In the case of a patent, "Special" is recorded in [Four Laws], and in the case of a utility model, "Real" is recorded. Are recorded as "P".

【0047】一方、例えば、項目名[四法]、[タイト
ル]、[出願番号]等を有するデ−タ群B(ファイル名例え
ば"DATA.TBL")の表を準備する。プログラム(一括処理フ
ァイル)に例えば次の簡略化して記載したステップ群
(但し/* */の間の注釈、*1)〜*8)の文字はプログラム
に含まれない。また、「:」の部分は簡略化の為ステッ
プの記載が省略されている部分を示すものとする。)を
含ませる。
On the other hand, for example, a table of a data group B (file name, eg, “DATA.TBL”) having item names [four methods], [title], [application number], etc. is prepared. For example, the following simplified steps (notes between / * * /, * 1) to * 8) in the program (collective processing file) are not included in the program. In addition, ":" indicates a part in which the description of steps is omitted for simplification. ).

【0048】 *1) /*[]は配列*/ 変数宣言 固有,文字列{&右側文章[100],&左側[100],&コマンド文字列[100] } 変数宣言 固有,整数{&N,&M} : *2) 表 "出願DATA.TBL" : /*出願テ゛ータファイルを開き1レコート゛に絞り込む*/ 絞り込み [整理番号]="・・・" &四法=[四法],・・・ /*必要なものは変数に代入しておく*/ *3) 表 "BUNSHO.TBL" /*文字列群の原型を含むテ゛ータファイルを開く*/ : *4) /*選択行からなるデ−タを得る*/ 選択 [書類]=*"願"* 選択 [四法]=*"特"* 選択 [電P]=*"電"* 選択 [発明者数]=*"3"* : *5) /*コマンド実行コマンドで実行する為の*/ &N=1,&M=0 繰り返し(.not #終端行) /*「#終端行」は最終行の次を示す関数*/ 位置指定 行番号=&N &左側[&N]=[左側文章] &コマンド文字列[&N]="代入 &右側文章["+#文字列(&N)+"]="+[右側文章] &N=&N+1 繰り返し終了 : *6) 編集表 "出願DATA.TBL" : *7) 繰り返し &M=1,&N-1,1 /* For M=1 to N-1 step 1 */ コマンド &コマンド文字列[&M] /* &右側文章[&M]に値代入 */ 条件(&右側文章[&M]="") &右側文章[&M]="$削除記号$" &左側[&M]=&左側[&M]+&右側文章[&M] /* &左側[&M]の後に付ける */ 繰り返し終了 /* Next M */ : *8) /* 削除行の削除と所定記号の連続番号への置き換え */ &L=0 繰り返し &M=1,&N-1,1 条件(#文字位置(&左側[&M],"$削除記号$")=0) &L=&L+1,&右側文章[& L]=&左側[&M] /* 非削除行だけ&右側文章[&M]に再移し替え */ 繰り返し終了 &N=0 繰り返し &M=1,&L,1 条件(#文字位置(&右側文章[&M],"§")>0) &N=&N+1 条件(#文字位置(&右側文章[&M],"§")>0) &右側文章[&M]=#文字置換(& 右側文章[&M],"§",#文字列(&N)) 繰り返し終了 : *9) 印字開始 "SHORUI.TXT" /* テキストファイルの書き出し */ 繰り返し &M=1,&N-1,1 /* For M=1 to N-1 step 1 と同じ*/ 印字 &右側文章[&M] /* Print #1, 左側(M) と同じ*/ 繰り返し終了 /* Next M と同じ*/ :* 1) / * [] is an array * / variable declaration unique, character string {& right text [100], & left text [100], & command character string [100]} variable declaration unique, integer {& N, & M}: * 2) Table "Application DATA.TBL": / * Open application data file and narrow down to one record * / Narrow down [Reference number] = "..." & 4 method = [4 method], ... / * Assign necessary items to variables * / * 3) Table "BUNSHO.TBL" / * Open data file containing prototypes of character strings * /: * 4) / * Data consisting of selected lines * / Select [Documents] = * "Request" * Select [4 methods] = * "Special" * Select [Den P] = * "Den" * Select [Number of inventors] = * "3" *: * 5) / * Execute with command execution command * / & N = 1, & M = 0 repeat (.not #end line) / * "#end line" is the function indicating the next line after the last line * / position specification line Number = N & left [& N] = [left sentence] & command string [& N] = "assignment & right sentence [" + # character string (& N) + "] =" + [right sentence] & N = & N + 1 Repeat end : * 6) Edit "Application DATA.TBL": * 7) Repeat & M = 1, & N-1,1 / * For M = 1 to N-1 step 1 * / Command & Command string [& M] / * & Right sentence [& M] * / Condition (& right sentence [& M] = "") & right sentence [& M] = "$ delete symbol $" & left [& M] = & left [& M] + & right sentence [& M] / * & Append after [& M] on the left * / End of repetition / * Next M * /: * 8) / * Delete deleted lines and replace predetermined symbols with consecutive numbers * / & L = 0 Repetition & M = 1, & N-1 , 1 condition (# character position (& left [& M], "$ deletion symbol $") = 0) & L = & L + 1, & right sentence [& L] = & left [& M] / * only non-deleted line & Reposition to right sentence [& M] * / End of repetition & N = 0 repetition & M = 1, & L, 1 condition (# character position (& right sentence [& M], "§")> 0) & N = & N + 1 condition (# Character position (& right sentence [& M], "§")> 0) & right sentence [& M] = # character replacement (& right sentence [& M], "§", # character string (& N)) Repeat end : * 9) Start printing "SHORUI.TXT" / * Export text file * / Repeat & M = 1, & N-1,1 / * For M = 1 to N-1 same as step 1 * / print & right text [& M] / * Print # 1, same as left (M) * / repeat end / * Next Same as M * /:

【0049】これらのステップ部分を説明すると、3)最
初に変数を準備しておき、4)でオ−プンされた"BUNSHO.
TBL"のファイルは行選択用項目を利用して5)で必要な行
のみに選択される。ここで例えば発明者の数を選ぶため
の行選択用項目の一つ[発明者数]の内容は、発明者の欄
の上から三つまでが"3"の文字を有し、以下四つ目の欄
からは3の文字を有しないようにすれば、容易に必要な
発明者の欄だけを選択することが出来る。
To explain these steps, 3) variables are prepared at first, and "BUNSHO.
The file of "TBL" is selected only for the necessary line in 5) using the line selection item. Here, for example, the contents of one of the line selection items [number of inventors] for selecting the number of inventors If the top three of the inventor's column has the character "3" and the following fourth column does not have the character of "3", only the necessary inventor's column can be easily obtained. Can be selected.

【0050】例えば特許出願の願書の発明者の項の様
に、様式中に必要数が変化することによって、設けてあ
る空欄が埋らない場合が存在する。本発明の場合には、
[右側文章]にの文字列として元々値が無い(ヌルストリ
ング(""))為に、その行を削除したい場合には、子プ
ログラム作成の際に、&変数iに削除マ−クを付けてもよ
い。変数内容の連結された[左側文章]で、&変数iから来
た値が削除マ−クである為にその行を削除すべき場合に
は、削除マ−クを有する行を選択して削除することが出
来る。そうすれば、もともと[右側文章]が空白となるべ
きでも削除してはいけない行、例えば上の行との間隔を
とる場合や、不変部「左側文章」項目にデ−タはあるが
可変部「右側文章」項目が常に空白であるものの行には
適当な非削除行であることを示す印を[右側文章]に予め
記録しておき、変数連結が終了した段階で削除マ−クの
ある行を全て削除し、非削除行であることを示す印がつ
いている行のその印を空白文字列で置き換える。
For example, as in the case of the inventor of the application form of the patent application, there are cases where the provided blanks are not filled due to the change in the required number in the form. In the case of the present invention,
If you want to delete the line because there is no value originally as a character string in [right sentence] (null string ("")), add a delete mark to & variable i when creating a child program. You may. In the [left text] where the variable contents are linked, if the value coming from & variable i is a delete mark and that line should be deleted, select the line with the delete mark and delete it You can do it. Then, even if the [right sentence] should originally be blank, it should not be deleted, for example, if there is a gap with the line above, or if there is data in the invariable section "left sentence" item but the variable section Although the "right sentence" item is always blank, a mark indicating that it is an appropriate non-deletion line is recorded in advance in the [right sentence] on the line, and there is a deletion mark when the variable connection is completed. Delete all the lines, and replace the mark on the line marked as a non-deleted line with a blank character string.

【0051】欄の頭に連続番号があれば、最後に連続番
号を示す記号を仮に「§」と仮定すると、[左側文章]=#
置換([左側文章],"§",#連番)を実行することにより、
連続番号をその場所に入れることが出来る。#連番の関
数がないプログラム言語の場合には、行の頭からその記
号を検索し、見つかった行で順に増加する数に対応する
文字列と置き換える。
If there is a serial number at the beginning of the column, assuming that the symbol indicating the serial number at the end is "§", [left sentence] = #
By performing substitution ([left sentence], "§", # sequential number),
A sequence number can be placed in that location. In a programming language that does not have a #sequential function, search for the symbol from the beginning of the line and replace it with the character string corresponding to the number that increases in order on the found line.

【0052】変数内容の連結された[左側文章]を、長す
ぎる行がある場合には図5に記載される方法と類似の方
法で長すぎる行を分けて長すぎるものを無くし、適当な
ファイル名で外部記憶装置に書き出せば文書デ−タが得
られる。印刷する場合は、「文章」の項目の他、項目名
「連続番号」の項目に行と共に増加する連続番号を記録
しておき、そのファイルの一定数の行数づつを転置させ
て、項目名が上記一定数までの連続番号、その値がもと
の各行の[文章]であるデータファイルを作成する。そう
することにより、表やカードにデータを書込む形式の市
販アプリケーションプログラムに通常設けられている、
項目値の印刷場所を設定できる印刷書式用のファイルを
利用して印刷が可能となる。即ち、印刷書式用のファイ
ルの1行〜末行のそれぞれを、全幅にわたって、項目名
が上記一定数までの連続番号のそれぞれの項目値を印刷
する場所に設定することが出来る。
If there is a line that is too long, a line similar to the method shown in FIG. 5 is used to separate the line that is too long and eliminate the line that is too long. By writing the name to the external storage device, document data can be obtained. When printing, in addition to the "text" item, record the sequential number that increases with the line in the item name "serial number" item, transpose a certain number of lines in the file, and Creates a data file in which the above is the serial number up to the fixed number and the value is the [sentence] of each original line. By doing so, it is usually provided in commercial application programs that write data to tables and cards,
Printing can be performed using a print format file in which the print location of the item value can be set. That is, each of the first to last lines of the print format file can be set at a place where the item names of the serial numbers up to the above-mentioned fixed number are printed over the entire width.

【0053】上記のような形式の本発明の態様は、工業
所有権の出願手続の差出し書類以外にも、例えば不動産
登記書類の自動作成など、項目の次にデータを記入する
形式の種々の様式書類の作成用途に応用出来る。
The embodiment of the present invention in the above-mentioned form can be applied to various forms in which data is entered after an item, such as automatic creation of a real estate registration document, in addition to the sending document of the application procedure for industrial property rights. It can be applied to the creation of documents.

【0054】実施例2 実施例1と似ているが、この実施例は文字列の連結では
なく、文字列の置き換えによって文章が合成される。各
レコードが、例えば、文字列格納用項目である、項目名
「[文章]」と、文字列(変数名)格納用項目である「[変
数]」、行選択用項目である、項目名「[書類]」、「[四
法]」、「[電P]」、「[発項]」、「[発明者数]」その
他を有する、デ−タファイル(ファイル名を例えば"BUN
SHO.TBL"とする。)を準備する。但し、置き換え場所"→
1←"を全てのレコードが有しているとした場合の例で
ある。
Embodiment 2 Although similar to Embodiment 1, this embodiment synthesizes a sentence by replacing a character string instead of concatenating character strings. Each record is, for example, an item name "[text]" which is a character string storage item, a "[variable]" which is a character string (variable name) storage item, and an item name "which is a line selection item. Data files (file names such as "BUN") containing "[document]", "[four methods]", "[denp.P]", "[issue]", "[number of inventors]" and others
SHO.TBL ") is prepared. However, the replacement place" →
This is an example in which all records have “1 ←”.

【0055】作ろうとする全ての提出書類の様式の各行
を例えば、 [文章]の項目 [変数]の項目 " 〔書類名〕 →1←" "&書類名" " 〔あて先〕 →1←" "&宛て先" " 〔発明の名称〕 →1←" "&タイトル" " 〔考案の名称〕 →1←" "&タイトル" : : のように"BUNSHO.TBL"中に格納しておく。
For example, each line of the form of all submitted documents to be created is described as follows : [text] item [variable] item "[document name] → 1 ←""& document name""[destination] → 1 ←""& Destination "" [Title of Invention] → 1 ← ""& Title "" [Title of Invention] → 1 ← ""& Title ": Stored in" BUNSHO.TBL "as shown below.

【0056】選択項目の設けかた等のやり方は実施例1
と似ているが、但し例えば次の様なステップをプログラ
ム中に設ける。
The method of setting the selection items and the like is described in the first embodiment.
Similar to the above, except that, for example, the following steps are provided in the program.

【0057】 *1) 変数宣言 固有,文字列{&文章[100],&右側文章[100],&コマンド文字列[100] } 変数宣言 固有,整数{&N,&M,&L} : *2) 表 "出願DATA.TBL" : /*別のテ゛ータファイルを開き1レコート゛に絞り込む*/ 絞り込み [整理番号]="・・・" : *3) 表 "BUNSHO.TBL" /*文字列群の原型を含むテ゛ータファイルを開く*/ : *4) 絞り込み [書類]=*"願"* 絞り込み [四法]=*"特"* 絞り込み [電P]=*"電"* 絞り込み [発明者数]=*"3"* /*選択行からなるデ−タを得る*/ : *5) &N=1 繰り返し(.not #終端行) /*「#終端行」は最終行の次を示す関数*/ 位置指定 行番号=&N &文章[&N]=[文章] /* 項目値を配列変数に代入*/ &コマンド文字列[&N]="#代入(&右側文章["+#文字列(&N)+"]="+[変数] &N=&N+1 繰り返し終了 : *6) 編集表 "出願DATA.TBL" /* 別テ゛ータファイル項目名に値ある状態にする */ : *7) /* &右側文章[&M]へ変数値を代入,それで&文章[&M]の置換場所の置換*/ 繰り返し &M=1,&N-1,1 コマンド &コマンド文字列[&M] 条件(&右側文章[&M]="") &右側文章[&M]="$削除記号$" &文章[&M]=#文字置換(&文章[&M],"→1←",&右側文章[&M]) 繰り返し終了 : *8) &L=0 /* 削除行の削除と所定記号の連続番号への置き換え */ 繰り返し &M=1,&N-1,1 条件(#文字位置(&文章[&M],"$削除記号$")=0) &L=&L+1,&右側文章[& L]=&文章[&M] 繰り返し終了 &N=0 繰り返し &M=1,&L,1 条件(#文字位置(&右側文章[&M],"§")>0) &N=&N+1 条件(#文字位置(&右側文章[&M],"§")>0) &右側文章[&M]=#文字置換(& 右側文章[&M],"§",#文字列(&N)) 繰り返し終了 : *9) /* テキストファイルへの書き出し */ 印字開始 "SHORUI.TXT" /* 書き出しテキストファイル名を定義 */ 繰り返し &M=1,&L,1 /* For M=1 to L step 1 */ 印字 &右側文章[&M] /* Print #1, 左側(M) */ 繰り返し終了 /* Next M */* 1) Variable declaration unique, character string {& sentence [100], & right sentence [100], & command character string [100]} Variable declaration unique, integer {& N, & M, & L}: * 2) Table "Application DATA.TBL": / * Open another data file and narrow down to one record * / Narrow down [Ref. No.] = "...": * 3) Table "BUNSHO.TBL" / * Prototype of character string group Open data file containing * /: * 4) Refine [Documents] = * "Request" * Refine [Four methods] = * "Special" * Refine [Electric P] = * "Electric" * Refine [Number of inventors] = * "3" * / * Obtain data consisting of selected line * /: * 5) & N = 1 repeat (.not #end line) / * "#end line" is a function indicating next to last line * / Position designation Line number = N & sentence [& N] = [text] / * Assign item value to array variable * / & Command string [& N] = "# assignment (& right sentence [" + # string (& N ) + "] =" + [Variable] & N = & N + 1 End of repetition: * 6) Edit table "Application DATA.TBL" / * Set value to another data file item name * /: * 7) / * & Substitute the variable value in the right sentence [& M], and replace the replacement place of & sentence [& M] * / Repetition & M = 1, & N-1,1 Command & Command string [& M] Condition (& Right sentence [& M] = "") & Right sentence [& M] = "$ Delete symbol $" & Sentence [& M] = # Character replacement (& Sentence [& M], "→ 1 ←", & Right sentence [& M] ) End of repetition: * 8) & L = 0 / * Deletion of deleted line and replacement of specified symbol with sequential number * / Repetition & M = 1, & N-1,1 Condition (# character position (& sentence [& M], " $ Delete symbol $ ") = 0) & L = & L + 1, & right sentence [& L] = & sentence [& M] repeat end & N = 0 repeat & M = 1, & L, 1 condition (# character position (& right sentence [& M], "§")> 0) & N = & N + 1 condition (#character position (& right sentence [& M], "§")> 0) & right sentence [& M] = # character replacement (& right sentence [& M], "§", # character string (& N)) End of repetition: * 9) / * Write to text file * / Start printing "SHORUI.TXT" / * Define text file name to write * / Repeat & M = 1, & L, 1 / * For M = 1 to L step 1 * / Print & right sentence [& M] / * Print # 1, left (M) * / repeat end / * Next M * /

【0058】実施例3 この実施例は、種々の手紙の原型用のデ−タファイルの
行を選択し、それらの選択行に、出願デ−タを記録した
別のデ−タファイルのデ−タ値をもとにして得た文字列
を、#変数(str)の関数を用いて差込み、種々の手続の段
階に応じた手紙を自動的に作成する例を示す。
Embodiment 3 In this embodiment, the lines of the data file for various letter prototypes are selected, and the data lines of another data file in which application data is recorded are selected in those selected lines. Here is an example of inserting a character string obtained based on a function using the #variable (str) and automatically creating a letter according to various stages of the procedure.

【0059】まず各行が、例えば、主たる文字列格納用
項目である、項目名「[文章]」、変数名を格納するため
の文字列格納用項目である「[変数1]」、「[変数
2]」、「[変数3]」、「[変数4]」、「[変数5]」
と、行選択用項目である、項目名「[手続段階]」、
「[四法]」、「[審査有無]」、「[証明書提出未済]」、
「[平六前後]」、「[昭63前後]」・・・・その他を有す
る、デ−タファイル(ファイル名を例えば"TEGAMI.TBL"
とする。以下、デ−タファイルを「表」と呼ぶ場合もあ
る。)を準備する。
First, each line has, for example, an item name “[text]” which is a main character string storage item, and “[variable 1]” and “[variable 1] which are character string storage items for storing variable names. 2] ”,“ [variable 3] ”,“ [variable 4] ”,“ [variable 5] ”
, And the item name "[Procedure stage]"
"[Four laws]", "[Examination]", "[Certificate not yet submitted]",
A data file (file name is, for example, "TEGAMI.TBL") including "[around 6]," [around 63] "...
And Hereinafter, the data file may be referred to as a “table”. Prepare).

【0060】作ろうとする全ての手紙の種類の文章を項
目名「[文章]」の項目に、そしてそれらの手紙文が送付
されるべきそれぞれその段階を行選択用項目である
「[手続段階]」に記録する。必要なときは、審査請求
や、証明書類の提出が済みかどうかについてのべる文章
を出す出さないを決める為に、「[文章]」項目に記録さ
れている手紙文の内容に応じて、項目名が「[四法]」の
項目に例えば"特","実","意","商"などを記録し、「[審
査]」、「[証明]」等の項目に、例えば"+"、"−"等で
提出済みに使用すべきものか未提出に使用すべきものか
どうか記録する。「文章」の項目に格納される文中に於
いて、デ−タ−を差込みたい部分がある場合には、変数
値で置き換えられるべき場所を示す記号を、その行の出
現順を示す数と共に記入しておく。例えば、▽1△、▽2
△、▽3△、▽4△、▽5△等を文中に入れておいて、項
目名「[変数1]」、「[変数2]」、「[変数3]」、
「[変数4]」、「[変数5]」の欄には、入れたいデ−タ
の種類に対応している変数を、それらの変数名で記録す
る。(但し桐文法によれば"&"の文字は付けない。)
The texts of all the types of letters to be made are written in the item of the item name "[text]", and the stage at which those letters are to be sent is the line selection item "[procedure stage]". Recorded. If necessary, to determine not to issue a request for examination or to issue a letter stating whether or not documents have been submitted, enter the item name according to the contents of the letter recorded in the "[Sentence]" item. Records, for example, "*", "actual", "meaning", "quotient" in the item of "[4 law]", and "+" in the item of "[examination]" Use ","-", etc. to record whether it should be used as submitted or unsubmitted. If there is a part in the sentence stored in the "sentence" field where you want to insert data, enter the symbol indicating the place to be replaced with the variable value, along with the number indicating the appearance order of the line. Keep it. For example, ▽ 1 △, ▽ 2
Include △, {3}, {4}, {5}, etc. in the text, and enter the item names “[variable 1]”, “[variable 2]”, “[variable 3]”,
In the columns of "[variable 4]" and "[variable 5]", variables corresponding to the type of data to be entered are recorded by their variable names. (However, according to the Paulownia grammar, the character "&" is not added.)

【0061】一方、例えば、項目名[四法]、[タイト
ル]、[出願番号]等を有するデ−タ群B(ファイル名例え
ば"出願DATA.TBL")の表を前もって開いて1レコードに
絞り込んでおき、それに基づいて(例えば特許出願か商
標出願かによって)文章の選択が更に細かく出来るよう
にする。
On the other hand, for example, a table of a data group B (file name, for example, “application DATA.TBL”) having item names [four methods], [title], [application number], etc. is opened in advance to make one record. Narrow down, and based on that (for example, patent application or trademark application), the text can be selected more finely.

【0062】プログラム(一括処理ファイル)に例えば次
の1)〜7)のようなステップを含ませる。
The program (batch processing file) includes, for example, the following steps 1) to 7).

【0063】 *1) 使用する変数を宣言する。 変数宣言 固有,文字列{&文章[100],&右側文章[100],&変数値1[100],&変数 値2[100],&変数値3[100],&変数値4[100],&変数値5[100]} 変数宣言 固有,整数{&N,&M,&L} : *2) 出願テ゛ータファイルを開き1レコート゛に絞り込み、しかるべき変数に項目値を代入 表 "出願DATA.TBL" : 絞り込み [整理番号]="・・・" : &タイトル=[発明の名称],&四法=[四法],・・・・・ : *3) 手紙用の文書を格納したデータファイルをオープンする。 表 BUNSHO.TBL : *4) データファイルの文書中該当段階、該当事件に必要なもののみに選択する 選択 [手続段階]=*"出願"* 選択 [四法]=*"特"* 選択 [審査]=*"+"* 選択 [証明]=*"+"* : *5) イ)各行の必要な項目の値を「&文章[]」配列変数に格納。 * ロ)[変数1]〜[変数5]に名前が記録される2)で代入されている変数につき * 値を「#変数()」関数で別の配列変数、&変数値1[]〜&変数値5[]に格納 。 * ハ)変数の値で置き換え場所を置き換える。 &N=1 繰り返し(.not #終端行) /*「#終端行」は最終行の次を示す関数*/ 位置指定 行番号=&N &文章[&N]=[文章] /* 項目値を配列変数に代入 */ /* 以下は[変数n] に文字列あるときのみ実施することも出来る*/ &変数値1[&N]=#変数([変数1]) /* [変数1]の値が"&出願日"で */ &変数値2[&N]=#変数([変数2]) /* &出願日の値"H10-01-01"なら*/ &変数値3[&N]=#変数([変数3]) /* &変数値1[&N]の値には */ &変数値4[&N]=#変数([変数4]) /* "H10-01-01"が代入される。 */ &変数値5[&N]=#変数([変数5]) &文章[&N]=#文字置換(&文章[&N],"→1←",&変数値1[&N]) &文章[&N]=#文字置換(&文章[&N],"→2←",&変数値2[&N]) &文章[&N]=#文字置換(&文章[&N],"→3←",&変数値3[&N]) &文章[&N]=#文字置換(&文章[&N],"→4←",&変数値4[&N]) &文章[&N]=#文字置換(&文章[&N],"→5←",&変数値5[&N]) /* 以上は[変数n] に文字列あるときのみ実施することも出来る*/ &N=&N+1 繰り返し終了 : *7) /* テキストファイルへの書き出し */ 印字開始 "SHORUI.TXT" /* 書き出しテキストファイル名を定義 */ 繰り返し &M=1,&L,1 /* For M=1 to L step 1 */ 印字 &文章[&M] /* Print #1, 左側(M) */ 繰り返し終了 /* Next M */ *8) 続いて上記テキストファイルを直接開くワート゛フ゜ロセッサ起動用コマント゛を実行してもよい。* 1) Declares variables to be used. Variable declaration unique, character string {& sentence [100], & right sentence [100], & variable value 1 [100], & variable value 2 [100], & variable value 3 [100], & variable value 4 [100 ], & Variable value 5 [100]} Variable declaration Unique, integer {& N, & M, & L}: * 2) Open the application data file, narrow down to one record, and assign the item values to the appropriate variables. ": Narrow down [Reference number] =" ... ": & Title = [Title of invention], & 4 Law = [4 Law], ...: * 3) Data file storing letter documents To open. Table BUNSHO.TBL: * 4) Select only those that are necessary for the relevant stage and case in the data file . Select [procedural stage] = * "application" * Select [four method] = * "special" * Select [examination] = * "+" * Select [Proof] = * "+" *: * 5) b) of each row Store the value of the required item in the "& sentence []" array variable . * B) Variable 1] to the [variable 5] per variable whose name has been assigned by 2) to be recorded, the * value "# variable ()" another array variable in the function, and variable value of 1 [] Stored in ~ & variable value 5 [] . * C) Replace the replacement location with the value of the variable . & N = 1 repetition (.not #end line) / * "#end line" is a function indicating next to the last line * / position specification line number = & N & sentence [& N] = [sentence] / * Item value is array variable * / / * The following can be executed only when there is a character string in [variable n] * / & variable value 1 [& N] = # variable ([variable 1]) / * If the value of [variable 1] is "& Filing date" * / & Variable value 2 [& N] = # Variable ([Variable 2]) / * & Filing date value "H10-01-01" * / & Variable value 3 [& N] = # Variable ([variable 3]) / * & variable value 1 [& N] * / & variable value 4 [& N] = # variable ([variable 4]) / * "H10-01-01" is substituted You. * / & Variable value 5 [& N] = # Variable ([Variable 5]) & Sentence [& N] = # Character replacement (& Sentence [& N], "→ 1 ←", & Variable value 1 [& N]) & Sentence [& N] = # character replacement (& sentence [& N], "→ 2 ←", & variable value 2 [& N]) & sentence [& N] = # character replacement (& sentence [& N], "→ 3 ←", & Variable value 3 [& N]) & Text [& N] = # Character replacement (& Text [& N], "→ 4 ←", & Variable value 4 [& N]) & Text [& N] = # Character replacement (& Text [& N], "→ 5 ←", & variable value 5 [& N]) / * The above can also be executed only when there is a character string in [variable n] * / & N = & N + 1 Repeat end: * 7) / * Write to text file * / Start printing "SHORUI.TXT" / * Define text file name to write * / Repeat & M = 1, & L, 1 / * For M = 1 to L step 1 * / Print & sentence [& M] / * Print # 1, left side (M) * / End of repetition / * Next M * / * 8) Then, you can execute a command to start the word processor to open the text file directly.

【0064】実施例4 健康診断結果の表示方法 次のプログラムは、個人がわざわざ費用をかけるか又は
税金を使って、せっかく実施された健康診断の結果の解
釈と対処の仕方とかかった費用の理解が患者に十分いき
わたらないことを防ぐために、医療機関や検査会社が患
者に健康診断の結果を、単なるデータの表示のみではな
く説明をつけて解りやすく示す書類を提供する為に使用
出来る。
Example 4 Method of Displaying the Results of a Medical Examination The following program is intended to interpret the results of a medical examination carried out by a person individually or by using tax, and to understand how to deal with the expense and the cost involved. Can be used by medical institutions and testing companies to provide patients with easy-to-understand documents that show the results of a medical examination with explanations, rather than merely displaying data.

【0065】1. 患者データの表ファイルに例えば次
の項目を設け、来院した患者のデータを入力する。 [患者ID]、[患者名]、[年齢]、[性別] 2. 検査結果データの表ファイルに例えば次の項目 [患者ID]、[採血日]、[TP]、[A/G比]、[BUN]、
[クレアチニン]、[尿酸]、[総コレステロール]、[HD
Lコレステロール]、[中性脂肪]、[ZTT]、[GO
T]、[GPT]、[LDH]、[γ-GPT]、[血糖] 等を含むものを設け、採血結果の電子データをオンライ
ン等で得て表に入力する。 3. 各検査の基準値(許容最大及び/又は最小値)の
表ファイルを準備する。 4. 各検査に決められている保険点数の表ファイルを
準備する。 5. 検査結果説明文の表ファイルに例えば次の項目 [検査]、[結果]、[基準値]、[文章]、[変数1]、[変数
2]、[変数3]、[過欠] を準備する。
1. For example, the following items are provided in the patient data table file, and the data of the visited patient is input. [Patient ID], [Patient name], [Age], [Gender] In the table file of test result data, for example, the following items [Patient ID], [Blood collection date], [TP], [A / G ratio], [BUN],
[Creatinine], [uric acid], [total cholesterol], [HD
L cholesterol], [neutral fat], [ZTT], [GO
T], [GPT], [LDH], [γ-GPT], [blood sugar], etc. are provided, and electronic data of blood collection results are obtained online or the like and input to the table. 3. Prepare a table file of reference values (maximum and / or minimum allowable values) for each test. 4. Prepare a table file of insurance points determined for each inspection. 5. For example, prepare the following items [Inspection], [Result], [Standard value], [Sentence], [Variable 1], [Variable 2], [Variable 3], [Excessive] in the inspection result table file I do.

【0066】プログラムでは、3.4.の表ファイルデ
ータはそれぞれ変数に代入しておき、2.の表ファイル
が編集表である状態(項目値がメモリーのバッファーに
記録されている状態)で、その値に従って5.の検査結
果説明文の表ファイルを必要レコードに絞り込み、実施
例2のようなコマンド実行コマンドを実施して、5.の
表ファイルの[変数1]、[変数2]、[変数3]に格納され
ている変数名や項目名の値を[文章]に格納されていた変
数位置を示す部分と置換した文字列を配列文字列変数に
格納する。置換された文字列変数を、必要なら1レコー
ドを更に最大許容文字数毎に区切って、空の一時表ファ
イルの[文章]項目に行挿入する。
In the program, 3.4. The table file data of (1) is assigned to variables, respectively. 4. In the state where the table file is an editing table (the state in which the item values are recorded in the buffer of the memory), according to the value, 5. 4. The table file of the inspection result explanation is narrowed down to necessary records, and a command execution command as in the second embodiment is executed. The character string that replaces the value of the variable name and item name stored in [Variable 1], [Variable 2], and [Variable 3] of the table file with the part indicating the variable position stored in [Text] Store in array string variable. Insert the replaced string variable into the [sentence] item of the empty temporary table file, further dividing one record according to the maximum allowable number of characters if necessary.

【0067】一方、一覧表形式のレポートファイルに、
患者あて先部分に該当する上記1.の患者データの表フ
ァイルの各項目のテキストオブジェクトと、上記の一時
表ファイルの[検査]、[結果]、[基準値]、[文章]項目の
一覧表形式のオブジェクトを設けておき、出力すれば、
患者宛のプリントされた検査結果データと説明文が得ら
れる。
On the other hand, in the report file in the form of a list,
1. The above-mentioned 1. A text object for each item in the patient data table file and a list-type object for the [inspection], [result], [reference value], and [text] items in the above temporary table file are prepared and output. If
Obtained test result data and explanatory text for the patient are obtained.

【0068】例えば、手順の一部のみで説明すると、そ
の[文章]項目等の説明文として、次の3つのレコードの
ようなものを準備しておき、[検査] [文章]の項目 [変数1] [変数2] [変数3] [過欠] 血糖 血糖値は正常範囲です。 中 血糖 →1←の値は→2←範囲内なが [血糖] &糖基準 &糖追試 大 らやや高い値ですので、心配な ら別の試験→3←を実施できま す。 血糖 →1←の値は基準値→2←を越 [血糖] &糖基準 &糖過剰 過 えています。再検査が必要です 。→3←。 例えば「&糖過剰」変数には、その病院で基準値を越え
ている場合に実施する再検査とその実施要領を代入して
おく。血糖の検査をした場合にこれらのレコードが絞り
込みされた文章中に含まれ、更に2.の検査結果データ
の表ファイルのこの患者の患者IDに該当するレコードの
[血糖]データと、3.の基準値データからの値が代入さ
れている変数、&糖基準との比較によって、[過欠]項目
の"中"又は"大"又は"過"を選択して、ふさわしい[文章]
が選択される。このような文章、及び他の検査結果の説
明にふさわしい文章を含む表ファイルの作成は、当業者
には容易であるはずである。
For example, if only a part of the procedure is described, the following three records are prepared as explanatory texts for the [text] item and the like, and the [inspection] [text] item [variable 1] [Variable 2] [Variable 3] [Excessive] blood glucose Blood glucose is in the normal range. Medium blood glucose → The value of 1 ← is within the range of → 2 ←, but [Blood Glucose] & Sugar Standard & Supplementary Sugar Test Large, so if you are worried, you can conduct another test → 3 ←. Blood sugar → 1 ← value exceeds the reference value → 2 ← [Blood sugar] & sugar reference & excess sugar. Re-examination is required. → 3 ←. For example, reexamination to be performed when the reference value is exceeded at the hospital and the procedure for performing the reexamination are substituted for the “& sugar excess” variable. These records are included in the narrowed sentences when a blood sugar test is performed, and further, 2. Of the record corresponding to the patient ID of this patient in the test result data table file
[Blood sugar] data; By selecting a variable that has been substituted with the value from the reference value data of &, comparing with the & sugar standard, select "Medium", "Large" or "Over" in the [Excessive] item to be appropriate [Sentence]
Is selected. It should be easy for a person skilled in the art to create a table file including such a sentence and a sentence appropriate for the explanation of the inspection result.

【0069】実施例2の*5)、*6)、*7)ようなコマンド
実行コマンドを実施して、5.の表ファイルの[変数
1]、[変数2]、[変数3]に格納されている変数名や項
目名の値を[文章]に格納されていた変数位置を示す部分
と置換した文字列を配列文字列変数に格納することは、
容易に理解できるはずである。但し、実施例4の場合に
は、変数名類の格納項目は1のみではなく(3種類の配
列変数が必要で、#文字置換()関数の使用がレコードあ
たり最大3回必要)、また一方で、必ずしも全てのレコ
ードに変数位置を示す部分が存在するわけでも、3箇所
存在するわけでもない。実施例4のような場合には、代
入された配列変数を再度一時表ファイルに記録して、レ
ポートファイルで印刷するのが便利である。
By executing a command execution command such as * 5), * 6) and * 7) of the second embodiment, The character string that replaces the value of the variable name and item name stored in [Variable 1], [Variable 2], and [Variable 3] of the table file with the part indicating the variable position stored in [Text] Storing in an array string variable is
It should be easy to understand. However, in the case of the fourth embodiment, the storage items of the variable names are not limited to 1 (three kinds of array variables are required, and the use of the # character replacement () function is required up to three times per record). Thus, not all records necessarily have a portion indicating a variable position, nor do they have three portions. In the case of the fourth embodiment, it is convenient to record the substituted array variables in the temporary table file again and print it out in the report file.

【0070】[0070]

【本発明の効果】更に本発明は、種々の別の診断システ
ム等に応用できる。また、本発明により、従来では実現
出来なかった、種々多様な様式の書類を自動作成するこ
と、例えば特許出願の初期及び中間の手続きに必要な差
出し書類の全てを印字装置に打ち出し又は外部記憶装置
に書込みすること等を、容易に実現出来る。本発明は、
我が国の特許出願の初期及び中間の手続きに必要な差出
し書類の作成や手紙の作成に応用したときに特に有効で
ある。
Further, the present invention can be applied to various other diagnostic systems. Further, according to the present invention, it is possible to automatically create documents of various forms which could not be realized conventionally, for example, all the sending documents necessary for the initial and intermediate procedures of a patent application are printed on a printing device or an external storage device. Can be easily realized. The present invention
It is particularly effective when applied to the preparation of sending documents and letters required for the initial and intermediate procedures of patent applications in Japan.

【0071】また、差込みされるべきデ−タの個数が大
きく変化する場合に於いても、不要な行の存在しない体
裁の良い書類の作成が可能である。
Further, even in the case where the number of data to be inserted changes greatly, it is possible to create a good-looking document having no unnecessary lines.

【0072】通常のデータベースソフトウェアに於いて
は、プログラムを実行していない状態でデータファイル
を見ることが出来るので、例えばプログラムのデバグの
段階で、文書の原型となるデータを含むデータファイル
を行が選択された状態での必要な文章等の原型のみを見
ることが可能であることにより、プログラミングが極め
て容易になる。別の言い方をすれば、プログラムを作る
前に、そのようなデータファイルを作成しただけでも、
プログラムのかなりの部分が出来上がったことに相当す
る。
In ordinary database software, since a data file can be viewed without executing a program, for example, when a program is debugged, a data file containing data serving as a prototype of a document is added to a line. Since it is possible to see only the prototypes such as necessary sentences in the selected state, programming becomes extremely easy. In other words, just creating such a data file before creating the program,
This is equivalent to completing a substantial part of the program.

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

【図1】 本発明の方法で実行される手順を示すフロ−
チャ−トである。
FIG. 1 is a flowchart showing a procedure performed by the method of the present invention.
It is a chart.

【図2】 本発明方法で実行される文書作成例の手順
を、表形式で表わしたデ−タファイルと配列変数の値で
示すフロ−チャ−ト。
FIG. 2 is a flowchart showing the procedure of a document creation example executed by the method of the present invention, in the form of a data file expressed in a tabular form and values of array variables.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】各行が1以上の文字列格納用項目を含めた
同一数の複数の項目からなっている、複数の行からなる
構造を有するデ−タであって、且つ、少なくとも1以上
の行に於いて、文字列変数類{但し文字列変数類には、
プログラム言語で許される文字列変数、該データと異な
る別のデータファイルの項目の値を示す記号、文字列値
をとる関数、及び文字列定数を含むものとする}のうち
の文字列定数以外から選択されるものの変数名、関数
名、項目値を表わす記号等{以下変数名類と呼ぶ}の1
以上を該文字列格納用項目のいずれかに含んでいる、予
めデータファイル記憶手段に記憶されている種々の目的
の文字列群の原型を含むデータファイルのデ−タから、
入力手段により入力された1以上の入力データ又は他の
データに基づく条件式を所定の1以上の項目の値が満た
している、特定目的の為により少ない行数の所望の行だ
けに絞り込み、抽出又は選択することにより、選択行か
らなるデ−タを得る手順、 該選択行からなるデ−タのうちの変数名類を含む行中
の、文字列格納用項目のうちの少なくとも1項目に格納
されている変数名類が示す文字列変数類の値と、文字列
格納用項目に格納されている他の文字列及び/又は文字
列のうちの該変数名類以外の部分とから、該選択行の各
行につき、目的とする文字列を導き出し又は合成して文
字列群とする手順、 それらの目的とする導き出され又は合成された文字列群
データの、ファイルへの記録及び/又は印刷及び/又は
ディスプレイへの表示を行う手順、をプログラムが含ん
でおり、 ここで該目的とする文字列を導き出し又は合成して文字
列群とする手順が、 A)a)別途準備した一連の順番の文字列変数の変数名
を示す文字列と該選択行からなるデ−タのうちの変数名
類を含む行中の該変数名類部分の文字列とを順次用い
て、少なくとも該変数名類の数だけの、代入式又は代入
コマンドを表わす文字列群を合成し、 合成した代入コマンド文字列群を更に別の変数群の値と
して又は更に別のデータファイルの一項目の項目値群と
して記憶手段に記録し、 該代入コマンド文字列群により表現される代入式又は代
入コマンドの群の各々を、プログラム言語で準備されて
いてコマンド実行コマンドと関連付けて記されたコマン
ド表現文字列を実行する機能を有するコマンドを用い且
つそのコマンド実行コマンドに関連づけて該更に別の変
数群をプログラム中に記載することによって順次実行し
得るようにすることにより、 又は b)引き数が文字列変数の変数名を示す文字列である場
合にその文字列変数の値を返すプログラム言語で準備さ
れている関数を用い、文字列格納用項目のうちの少なく
とも1項目に格納されている変数名類を引き数としたそ
の関数の値を、該別途準備した一連の順番の文字列変数
に代入することにより、 一定の順序で、該デ−タファイルのデ−タ中に含まれて
いる該変数名類を有している文字列変数類の値を、該別
途準備した一連の順番の文字列変数に代入し、 B)該代入された別途準備した一連の順番の文字列変数
の値を、文字列格納用項目に格納されている文字列と共
に、該目的とする文字列群を生じる為に、該一定の順序
に従う、置き換え及び/又は連結からなる合成に用いる
こと、からなることを特徴とする、種々の目的の文字列
群の原型を含む該デ−タファイルのデ−タと、それ以外
のデ−タとに基づいて、コンピュ−タプログラムを用い
て特定目的の文字列群を合成する方法。
1. Data having a structure consisting of a plurality of lines, each line comprising a plurality of items of the same number including one or more character string storage items, and at least one or more items. In the line, character string variables
A string variable that is permitted in the programming language, a symbol indicating the value of an item in another data file different from the data, a function that takes a string value, and a string constant are selected. Of variable, function name, symbol indicating item value, etc. {hereinafter referred to as variable names}
From the data of the data file including the prototypes of various target character strings stored in the data file storage means in advance, including the above in any of the character string storage items,
A conditional expression based on one or more input data or other data input by the input means is narrowed down and extracted to only a desired number of rows having a smaller number of rows for a specific purpose, where the value of one or more predetermined items is satisfied. Or a procedure for obtaining data consisting of a selected line by making a selection, and storing the data in at least one of the character string storage items in the line containing the variable names among the data consisting of the selected line From the value of the character string variable indicated by the specified variable name and another character string stored in the character string storage item and / or a part of the character string other than the variable name. For each line, a procedure for deriving or synthesizing a target character string to form a character string group, recording the target derived or synthesized character string group data in a file and / or printing and / or printing Or display on the display The program includes the following steps. Here, the steps of deriving or synthesizing the target character string to form a character string group are as follows: A) a) The variable names of a series of separately prepared character string variables are shown. By sequentially using the character string and the character string of the variable name part in the line including the variable name among the data consisting of the selected line, at least the number of substitution expressions or substitutions by the number of the variable names A character string group representing a command is synthesized, and the synthesized substitution command character string is recorded in the storage means as a value of another variable group or as an item value group of one item of another data file. Each of a group of assignment expressions or assignment commands represented by a group of commands is defined by using a command prepared in a programming language and having a function of executing a command expression character string written in association with a command execution command. By writing the further variable group in the program in association with the command execution command, or b) when the argument is a character string indicating the variable name of a character string variable. Using a function prepared in a programming language that returns the value of the character string variable, the value of the function using the variable names stored in at least one of the character string storage items as an argument By substituting into a series of separately prepared string variables, in a fixed order, the values of the string variables having the variable names included in the data of the data file Into the separately prepared sequence of string variables, and B) the value of the substituted separately prepared sequence of string variables together with the string stored in the string storage item. To generate the target character string group Data in the data file containing prototypes of character strings for various purposes, characterized in that the data file is used in a synthesis consisting of replacement and / or concatenation according to the predetermined order. And a method of synthesizing a character string group of a specific purpose using a computer program based on other data.
【請求項2】各行が1以上の文字列格納用項目を含めた
複数の項目からなっている、複数の行からなる構造を有
するデ−タであって、且つ、少なくとも1以上の行に於
いて、文字列変数類{但し文字列変数類には、プログラ
ム言語で許される文字列変数、該データと異なる別のデ
ータファイルの項目の値を示す記号、文字列値をとる関
数、及び文字列定数を含むものとする}のうちの文字列
定数以外から選択されるものの変数名、関数名、項目値
を表わす記号等{以下変数名類と呼ぶ}の1以上を該文
字列格納用項目のいずれかに含んでいる、予め第一の記
憶手段のある場所に記憶されているデータファイルのデ
−タ中で、入力手段により入力された1以上の入力デー
タ又は他のデータに基づく条件式を所定の1以上の項目
の値が満たしている行又はレコードを検索して、該当す
るより少ない行数の所望の行に抽出、選択、又は絞り込
みされた選択行からなるデ−タを該第一の記憶手段の別
のある場所及び/又は第二の記憶手段のある場所に記憶
する手順、 該第一及び/又は該第二の記憶手段に記憶されている該
選択行からなるデ−タのうちの変数名類を含む行を検索
し、該当する各行について、文字列格納用項目のうちの
少なくとも1項目に格納されている変数名類を表わす文
字列から得る文字列変数類の値と、文字列格納用項目に
格納されている他の文字列及び/又は文字列の該変数名
類を示す文字列以外の部分とを合成して該選択行からな
るデ−タの合成後のデ−タを、該第一及び/又は該第二
の記憶手段の更に別の場所に記録し、必要なら印刷及び
/又はディスプレイへの表示を行う手順、をプログラム
が含んでおり、 ここで変数名類を表わす文字列から文字列変数類の値を
得ることと該合成とが、 A) イ)該第二の記憶手段に別途一連の順番の文字列変数を
記録し、該別途準備した一連の順番の文字列変数の変数
名を示す文字列と記録されている該選択行からなるデ−
タのうちの変数名類を含む行中の該変数名類部分の文字
列とを順次、該変数名類の数の代入式又は代入コマンド
を表わす文字列群を合成するように該第一及び/又は該
第二の記憶手段に記録し、該第一及び/又は該第二の記
憶手段に記録した該合成した文字列群を更に別の変数群
の値として又は更に別のデータファイルの一項目の項目
値群として該第一及び/又は該第二の記憶手段に記録
し、該文字列群により表現される代入式又は代入コマン
ドの群の各々を、プログラム言語で準備されていてコマ
ンドと関連付けられたコマンド表現文字列を実行する機
能を有するコマンドを用いて、プログラム中のそのコマ
ンドに関連づけて該更に別の変数群又は該項目値群を表
わす記号を記載することによって順次実行することによ
り、又は、 ロ)引き数が文字列変数の変数名を示す文字列である場
合にその文字列変数の値を返す関数によって、該文字列
変数類の値が格納されている該第二の記憶手段中で該変
数名類を同定するべき文字列部分と一致するデータをそ
れぞれ検索して一致データが存在する番地から導かれる
該文字列変数類の変数値記録デ−タのそれぞれを、該第
二の記憶手段中に記録されている該別途準備した一連の
順番の文字列変数の値の格納場所にそれぞれ記録するこ
とにより、 一定の順序で、該デ−タファイルのデ−タ中に含まれて
いる該変数名類を有している文字列変数類の値を、該別
途準備した一連の順番の文字列変数に代入し、 B)該第二の記憶手段に記録されている該代入された別
途準備した一連の順番の文字列変数の値を、該第一及び
/又は該第二の記憶手段に記録されている選択行からな
るデータの文字列格納用項目に格納されている文字列と
共に、該目的とする文字列群を生じる為に、該一定の順
序に従う、置き換え及び/又は連結からなる合成に用い
ること、からなることを特徴とする、種々の目的の文字
列群の原型を含む該デ−タファイルのデ−タと、それ以
外のデ−タとに基づいて、コンピュ−タプログラムを用
いて特定目的の文字列群を合成する方法。
2. Data having a structure consisting of a plurality of lines, each line including a plurality of items including one or more character string storage items, and at least one line. Character string variables include character string variables permitted by the programming language, symbols indicating the values of items in another data file different from the data, functions for obtaining character string values, and character strings. One or more of variable names, function names, symbols representing item values, etc., which are selected from those other than character string constants among those that are assumed to include constants {hereinafter referred to as variable names} In the data of the data file previously stored at a certain location of the first storage means, a conditional expression based on one or more input data or other data input by the input means is included. The value of one or more items is satisfied A row or record is searched, and data consisting of the selected row extracted, selected, or narrowed down to a desired number of rows corresponding to a smaller number of rows is stored at another location and / or in the first storage means. A procedure of storing data in a location of the second storage means, searching a row including variable names among the data of the selected row stored in the first and / or the second storage means, For each corresponding row, the value of a string variable obtained from a character string representing a variable name stored in at least one of the character string storage items, and the value of another string stored in the character string storage item. By combining a character string and / or a part of the character string other than the character string indicating the variable names, the combined data of the data consisting of the selected line is combined with the first and / or second data. Record it in another location of the storage means, and print and / or print it on the display if necessary. The program includes a procedure for performing the following steps. Here, obtaining the values of the character string variables from the character strings representing the variable names and the synthesizing include: A) b) a series of separate operations in the second storage means. Is recorded, and a data consisting of the character string indicating the variable name of the series of separately prepared string variables and the selected line is recorded.
The first and the second character strings are sequentially combined with the character string of the variable name part in the line containing the variable name of the variable And / or storing the combined character string group recorded in the first and / or second storage unit as a value of another variable group or a file of another data file. Each of an assignment expression or an assignment command group represented by the character string group is recorded as an item value group of an item in the first and / or the second storage means, and each of the command and the command is prepared in a programming language. By using a command having a function of executing an associated command expression character string, by sequentially executing a symbol indicating the further variable group or the item value group in association with the command in the program. Or or b) pull When the number is a character string indicating the variable name of the character string variable, the function that returns the value of the character string variable causes the variable name in the second storage means in which the value of the character string variable is stored. Each of the variable value recording data of the character string variables derived from the address where the matching data exists is searched for in the second storage means. The variable names included in the data of the data file are recorded in a certain order by recording the values in the storage locations of the series of separately prepared character string variables in the sequence. And B) substituting the values of the character string variables having the following in the series of separately prepared character string variables, and B) recording the substituted series of separately prepared characters recorded in the second storage means. The value of the string variable in the order is stored in the first and / or the second storage device. Along with the character string stored in the character string storage item of the data consisting of the selected line recorded in the above, the replacement is performed in accordance with the predetermined order, and / or the concatenation in order to generate the target character string group. A computer program based on the data of the data file including prototypes of various character string groups and other data, characterized in that the computer program is used for synthesis. A method of synthesizing a specific character string group using
【請求項3】該方法が、特許出願、実用新案登録出願、
意匠登録出願、商標登録出願、及びそれらの登録された
権利に関する手続書類を作成する目的の文字列群を合成
する方法であり、外部記憶装置である第一の記憶手段を
データファイル類の記録に使用し、コンピュータの主記
憶装置である第二の記憶手段を文字列変数類の記憶に用
いる、請求項1又は2に記載の方法。
3. The method according to claim 1, wherein the method is a patent application, a utility model registration application,
This is a method of synthesizing a character string group for the purpose of creating a design registration application, a trademark registration application, and procedural documents related to the registered rights, and stores the first storage means, which is an external storage device, in the recording of data files. 3. The method according to claim 1, wherein the second storage means used is a main storage device of the computer for storing character string variables.
【請求項4】請求項1又は2又は3に記載の方法を実行
する為に該手順を含んでいるプログラム及び/又はその
プログラムで使用される該データファイルの構造を有す
る該デ−タを記録したコンピュータ読み取り可能な記録
媒体。
4. Recording a program including the procedure for executing the method according to claim 1, 2 and 3, and / or the data having the structure of the data file used in the program. Computer readable recording medium.
JP10319988A 1998-10-23 1998-10-23 Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method Pending JP2000132540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10319988A JP2000132540A (en) 1998-10-23 1998-10-23 Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10319988A JP2000132540A (en) 1998-10-23 1998-10-23 Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method

Publications (1)

Publication Number Publication Date
JP2000132540A true JP2000132540A (en) 2000-05-12

Family

ID=18116501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10319988A Pending JP2000132540A (en) 1998-10-23 1998-10-23 Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method

Country Status (1)

Country Link
JP (1) JP2000132540A (en)

Similar Documents

Publication Publication Date Title
US5200893A (en) Computer aided text generation method and system
US20060069983A1 (en) Method and apparatus for utilizing an extensible markup language schema to define document parts for use in an electronic document
EP1376387A2 (en) Word-processing document stored in a single XML file
US20050193330A1 (en) Methods and systems for eBook storage and presentation
US9817887B2 (en) Universal text representation with import/export support for various document formats
JPH077408B2 (en) Method and system for changing emphasis characteristics
WO2007035815A2 (en) An electronic publishing system and method for managing publishing requirements in a neutral format
Flynn Understanding SGML and XML Tools: Practical programs for handling structured text
Bodard EpiDoc: Epigraphic documents in XML for publication and interchange
Cayless Critical editions and the data model as interface
JPH07239850A (en) Structured document preparation supporting system
Neill et al. SPEEDy. A Practical Editor for Texts Annotated with Standoff Properties
JPH08221417A (en) New/old comparing editing device for structured document
JP2000132540A (en) Synthesizing method of document data, and computer- readable recording medium recording data having program or structure of the synthesizing method
JP2005031813A (en) Abstract preparation supporting system, program, abstract preparation supporting method, patent document retrieving system, and patent document rerieving method
JPH05101053A (en) Structured document editing method
Hatcher Producing a quality family history
JPH11272666A (en) System and method for editing document and record medium
JPH10301921A (en) Method for synthesizing character string group selected from character string data file with another data and computer-readable recording medium having recorded program
JP2004038496A (en) Xml document preparing system
JP4111552B2 (en) Automatic document marking apparatus and method
Boyd et al. The Fortune Theatre Records: A Prototype Digital Edition, Records of Early English Drama (REED): White Paper
Fresno-Fernández et al. eXitor: A Tool for the Assisted Edition of XML Documents.
Schmidt Graphical editor for manuscripts
Paixão de Sousa et al. Building a historical corpus for Classical Portuguese: some technological aspects

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

AX71 Interruption

Free format text: JAPANESE INTERMEDIATE CODE: A0071

Effective date: 20080111

AX72 Removal of interruption

Free format text: JAPANESE INTERMEDIATE CODE: A0072

Effective date: 20080519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081021