JPH0488528A - Method and device for data input/output - Google Patents
Method and device for data input/outputInfo
- Publication number
- JPH0488528A JPH0488528A JP20433990A JP20433990A JPH0488528A JP H0488528 A JPH0488528 A JP H0488528A JP 20433990 A JP20433990 A JP 20433990A JP 20433990 A JP20433990 A JP 20433990A JP H0488528 A JPH0488528 A JP H0488528A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- output
- format
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
この発明はアプリケーション・システムにおけるデータ
入出力をデーターフォーマットの如何に拘らずスムーズ
に行なわせるためのデータ入出力方法およびその装置に
関する。DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a data input/output method and apparatus for smoothly performing data input/output in an application system regardless of the data format.
〈従来の技術、および発明が解決しようとする課題〉
従来からコンピュータを用いて理論化学計算を行なわせ
るとともに、理論化学計算結果に基づく分子の表示を行
なうシステム等においては、先ず、アプリケーション・
プログラムにおいて予め定められたデータ・フォーマッ
トのデータ・ファイル(以下、基準ファイルと称する)
を作成しておく。<Prior art and problems to be solved by the invention> Conventionally, in systems that perform theoretical chemical calculations using a computer and display molecules based on the results of theoretical chemical calculations, the first step is to use an application software.
A data file with a data format predetermined in the program (hereinafter referred to as the standard file)
Create.
そして、基準ファイルからのデータを読み込んで所定の
フォーマット変換を施すことにより理論化学計算を行な
うことができるデータを得ることかできる。また、理論
化学計算を行なって得られたデータに対して逆のフォー
マット変換を施すことにより、再び元の基準ファイルに
書き込むことかできる。また、読み込んだデータに基づ
く分子の表示、理論化学計算結果に基つく分子の表示を
も行なうことかできる。Then, by reading the data from the reference file and performing predetermined format conversion, it is possible to obtain data on which theoretical chemical calculations can be performed. Furthermore, by performing reverse format conversion on the data obtained by performing theoretical chemical calculations, it is possible to write the data back into the original reference file. It is also possible to display molecules based on read data or the results of theoretical chemical calculations.
したがって、基準ファイルに予め分子データを作成して
格納しておけば、基準ファイルから分子データを読み込
んでフォーマット変換を施した後、所定の理論化学計算
を行なうことにより分子動力学計算結果に基づく分子の
構造解析を行なうことができ、構造解析の結果得られた
エネルギーか最小になる分子構造、エネルギーが局部的
に最小になる分子構造等を基準ファイルに再び格納する
ことができる。また、これらの各状態における分子を表
示することもできる。Therefore, if you create and store molecular data in a standard file in advance, you can read the molecular data from the standard file, perform format conversion, and then perform a predetermined theoretical chemical calculation to create a molecule based on the molecular dynamics calculation results. Structural analysis can be performed, and the molecular structure that minimizes the energy obtained as a result of the structural analysis, the molecular structure that locally minimizes the energy, etc. can be stored again in the reference file. It is also possible to display molecules in each of these states.
したがって、生体高分子の構造解析等をコンピュータを
用いて簡単に行なうことができる。Therefore, structural analysis of biopolymers can be easily performed using a computer.
しかし、上記のシステムにおいては、基準ファイルのデ
ータ・フォーマットが予め定められているため、ユーザ
か任意に作成したデータ・ファイルをそのまま使用する
ことができず、予め定められたデータ・フォーマットに
変換して新たなデータ・ファイルを作成しなければなら
ないので使い勝手か悪い。この不都合を解消するために
、アプリケーション・プログラムをエデイツトして任意
のデータ・フォーマットのデータ・ファイルに対処する
ことが考えられるが、アプリケーション・プログラムが
実行モジュールのみでユーザーに提供されている場合に
は、実際上エデイツト作業が殆ど不可能であり、上記不
都合を解消させることができない。However, in the above system, the data format of the reference file is predetermined, so it is not possible to use the data file created by the user as is, but it is necessary to convert it to the predetermined data format. It is not easy to use because a new data file must be created. To overcome this inconvenience, it is possible to edit the application program to handle data files of any data format, but if the application program is provided to the user only as an executable module, In practice, editing work is almost impossible, and the above-mentioned disadvantages cannot be solved.
〈発明の目的〉
この発明は上記の問題点に鑑みてなされたものであり、
アプリケーション・システムにおけるデータ入出力をデ
ータ・フォーマットの如何に拘らずスムーズに行なわせ
ることができる新規なデータ入出力方法およびその装置
を提供することを目的としている。<Object of the invention> This invention was made in view of the above problems,
It is an object of the present invention to provide a new data input/output method and device that can smoothly perform data input/output in an application system regardless of the data format.
く課題を解決するための手段〉
上記の目的を達成するための、この発明のデータ入出力
方法は、標準入出力データ・フォーマットが定められた
アプリケーション・プログラムに外部命令解釈プログラ
ムを組み込んでおき、予め定められた言語で作成したソ
ース・プログラムをコンパイルして得られた目的ファイ
ルの命令を解釈して目的ファイルから指定入出力データ
・フォーマットを示すデータを読み込み、アプリケーシ
ョンφプログラムが予め定められた処理のために入出力
を行なうデータのフォーマットと標準入出力データ・フ
ォーマットとのフォーマット変換に代えて指定入出力デ
ータ・フォーマットとのフォーマット変換を行なう方法
である。Means for Solving the Problems> To achieve the above object, the data input/output method of the present invention incorporates an external command interpretation program into an application program in which a standard input/output data format is defined, The application φ program reads data indicating the specified input/output data format from the target file by interpreting the instructions in the target file obtained by compiling the source program created in a predetermined language, and then performs the predetermined processing by the application φ program. In this method, instead of format conversion between the format of data to be input/output for a standard input/output data format and the standard input/output data format, format conversion is performed between the specified input/output data format and the standard input/output data format.
上記の目的を達成するための、この発明のデータ入出力
装置は、標準入出力データ・フォーマットが定められた
アプリケーション・システムに、予め定められた言語で
作成したソース・プログラムをコンパイルして得られた
、命令および指定入出力データ・フォーマットを示すデ
ータを含む目的ファイルを格納する目的ファイル格納手
段と、目的ファイルから命令を読み込んで解釈する命令
解釈手段と、命令解釈手段からの解釈結果を入力として
データ・フォーマット変換指令を出力するデータ・フォ
ーマット変換指令手段と、データ・フォーマット変換指
令に基づいて、アプリケーション・システムか予め定め
られた処理のために入出力を行なうデータのフォーマッ
トと標準入出力データ・フォーマットとのフォーマット
変換に代えて指定入出力データ・フォーマットとのフォ
ーマット変換を行なうフォーマット変換手段とを含んで
いる。To achieve the above object, the data input/output device of the present invention is obtained by compiling a source program created in a predetermined language into an application system in which a standard input/output data format is determined. In addition, a target file storage means for storing a target file containing data indicating an instruction and a specified input/output data format, an instruction interpreting means for reading and interpreting an instruction from the target file, and an interpretation result from the instruction interpreting means as input. A data format conversion command means for outputting a data format conversion command, and a data format and standard input/output data that are input/output for predetermined processing by an application system based on the data format conversion command. and format conversion means for performing format conversion with a specified input/output data format instead of format conversion with the specified input/output data format.
く作用〉
以上のデータ入出力方法であれば、予め定められた言語
で作成したソース・プログラムにおいて必要な命令およ
び入出力データ・フォーマットを指定しておくだけでよ
く、データ入力がデータ出力か等の命令を解釈して指定
された入出力データ・フォーマットと、アプリケーショ
ン・プログラムが予め定められた処理のために入出力を
行なうデータのフォーマットとのフォーマット変換を行
なうので、ユーザーが作成した任意のデータ・ファイル
に対する入出力を行なうことができる。即ち、アプリケ
ーション・プログラムに対するエデイツト作業を行なう
必要かなく、簡単に任意のデータ・ファイルに対するデ
ータ入出力を達成できる。With the data input/output method described above, you only need to specify the necessary instructions and input/output data format in a source program created in a predetermined language, and you can specify whether data input is data output, etc. It interprets the commands and performs format conversion between the specified input/output data format and the format of data input/output by the application program for predetermined processing, so any data created by the user - Can perform input/output to files. That is, data input/output to any data file can be easily achieved without the need for editing the application program.
以上のデータ入出力装置であれば、予め定められた言語
で作成したソース・プログラムをコンパイルして、命令
および指定入出力データ・フォーマットを示すデータを
含む目的ファイルを作成し、目的ファイル格納手段に格
納しておく。そして、目的ファイルから命令を読み込ん
で命令解釈手段により命令を解釈し、命令解釈手段から
の解釈結果を入力としてデータ・フォーマット変換指令
手段によりデータ・フォーマット変換指令を出力する。With the above data input/output device, a source program created in a predetermined language is compiled to create a target file containing instructions and data indicating a specified input/output data format, and the target file is stored in the target file storage means. Store it. Then, an instruction is read from the target file, the instruction is interpreted by the instruction interpretation means, and the interpretation result from the instruction interpretation means is input, and the data format conversion command means outputs a data format conversion command.
このデータ・フォーマット変換指令がフォーマット変換
手段に供給されることにより、アプリケーション・シス
テムが予め定められた処理のために入出力を行なうデー
タのフォーマットと標準入出力データ・フォーマットと
のフォーマット変換に代えて指定入出力データ・フォー
マットとのフォーマット変換を行なうことができる。By supplying this data format conversion command to the format conversion means, instead of format conversion between the format of data input/output by the application system for predetermined processing and the standard input/output data format. Format conversion to and from specified input/output data formats can be performed.
したがって、アプリケーション・プログラムに対するエ
デイツト作業を行なう必要がなく、簡単に任意のデータ
・ファイルに対するデータ入出力を達成できる。Therefore, there is no need to edit the application program, and data input/output to any data file can be easily achieved.
〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.
第1図はこの発明のデータ入出力方法の一実施例を示す
フローチャートであり、ユーザーが予め定められた言語
で作成してソース・プログラムをコンパイルして、アプ
リケーション・システムにより直接アクセス可能な目的
ファイルを作成しておく。尚、この目的ファイルには、
命令およびユーザーが指定した入出力データ・フォーマ
ットを示すデータが含まれている。FIG. 1 is a flowchart showing an embodiment of the data input/output method of the present invention, in which a user creates a source program in a predetermined language, compiles it, and creates a target file that can be directly accessed by an application system. Create it. Furthermore, this target file contains
Contains data indicating the instruction and user-specified input/output data format.
ステップ■において、アプリケーション・システムにお
いて予め定められたデータ争スオーマットの基準ファイ
ルとの間のデータ入出力が指示されたか否かを判別し、
基準ファイルとの間のデータ入出力が指示されたと判別
された場合には、ステップ■において、アプリケーショ
ン・システムにおいて予め定められたフォーマット変換
処理を施して基準ファイルとアプリケーション・システ
ムとの間のデータ入出力を行なう。逆に、基準ファイル
と異なるデータ・フォーマットのユーザー・ファイルと
の間のデータ入出力が指示されたと判別された場合には
、ステップ■において、目的ファイルから命令を読み込
んで解釈し、ステップ■において目的ファイルからデー
タを読み込み、ステップ■において読み込みデータに基
づいて新たなフォーマット変換処理を設定し、ステップ
■において、設定されたフォーマット変換処理を施して
ユーザー・ファイルとアプリケーション・システムとの
間のデータ入出力を行なう。In step (2), it is determined whether data input/output to/from a predetermined data format reference file is instructed in the application system;
If it is determined that data input/output between the reference file and the application system has been instructed, in step (2), the application system performs a predetermined format conversion process to input/output data between the reference file and the application system. Perform output. Conversely, if it is determined that data input/output between the reference file and a user file with a different data format has been instructed, in step ■ the instructions are read and interpreted from the target file, and in step ■ Read data from a file, set a new format conversion process based on the read data in step ■, perform the set format conversion process in step ■, and input/output data between the user file and the application system. Do this.
以上の説明から明らかなように、アプリケーション・プ
ログラムを何らエデイツトしなくても、ユーザーがユー
ザー・ファイルに対応する入出力データ・フォーマット
を示すデータを含むプログラムを作成し、コンパイルし
て目的ファイルに命令および上記データを格納しておく
だけでよく、任意のデータ・フォーマットのデータの入
出力を簡単に達成できる。この結果、ユーザーか既ニ作
成しているデータ・ベースのデータ・フォーマットかア
プリケーション・プログラムにおいて定められた基準デ
ータ・フォーマットと異なっていても、目的ファイルの
命令およびデータを読み込むことにより、簡単に読み込
み、書き込みを行なうことができる。したかって、ユー
ザー・データ・ベースからデータを読み込んで理論化学
計算を行ない、理論化学計算結果を再びユーザー・デー
タ・ベースに書き込むことができる。また、ユーザー・
データ・ベースから読み込んだデータに基づく分子の表
示、理論化学計算結果、途中の計算結果に基づく分子の
表示を行なわせることもできる。As is clear from the above description, a user can write a program containing data indicating the input/output data format corresponding to a user file, compile it, and send instructions to the destination file without having to edit the application program in any way. It is only necessary to store the above data, and input/output of data in any data format can be easily achieved. As a result, even if the data format of a database that has already been created by the user is different from the standard data format defined in the application program, it can be easily read by reading the instructions and data of the target file. , can be written. Therefore, it is possible to read data from the user database, perform theoretical chemical calculations, and write the theoretical chemical calculation results back to the user database. Also, user
It is also possible to display molecules based on data read from a database, theoretical chemical calculation results, and intermediate calculation results.
具体的には、例えば、アプリケーション・プログラムが
予め定められているデータ・フォーマットが、ファイル
中の原子数、ファイルの作成日、作成時間、ユーザ一定
義の分子の登録コード、バージョン番号、ダミー原子数
、タイトル、コメントからなり、それぞれのデータ長が
定まっているヘッダ・レコードと、順序番号、原子名、
3次元座標値、原子番号、原子タイプ番号、ユーザ一定
義データ、原子電荷、結合表、結合表に続きがあること
を示すフラグからなり、それぞれのデータ長が定まって
いる原子レコードとからなるものである。そして、第2
図に示すように酢酸分子を構成する各原子に順序が付与
されている場合に、別表1で示すように標準フォーマッ
トで分子データが表現されていれば、アプリケーション
・プログラムにより何らのフォーマット変換を施すこと
なく理論化学計算、分子の表示等を行なうことができる
。Specifically, for example, the data format predetermined by the application program may include the number of atoms in the file, the date and time of file creation, the user-defined molecule registration code, version number, and the number of dummy atoms. , a header record consisting of a title, a comment, each with a fixed data length, and a sequence number, atom name,
Consists of three-dimensional coordinate values, atomic numbers, atom type numbers, user-defined data, atomic charges, bond tables, flags indicating that there is a continuation of the bond table, and an atom record with a fixed data length for each. It is. And the second
If the atoms constituting the acetic acid molecule are ordered as shown in the figure, and the molecular data is expressed in a standard format as shown in Attachment 1, no format conversion can be performed by the application program. You can perform theoretical chemical calculations, display molecules, etc. without any problems.
これに対して、ベンゼン分子の構成を示す分子データが
別表2で示すように表現されている場合には、そのまま
では理論化学計算、分子の表示等を行なうことができな
かったのであるが、この発明においては、上記分子デー
タを標準フォーマットに変換できるのであるから、ユー
ザー・データ・ベースに対する入出力を行なってフォー
マット変換を施すことにより理論化学計算、分子の表示
を行なわせることかてき、逆に、理論化学計算結果、表
示されている分子の構造に対応する分子データをユーザ
ー・データ・ベースに書き込むこともできる。On the other hand, if the molecular data showing the composition of the benzene molecule were expressed as shown in Attached Table 2, it would not be possible to perform theoretical chemical calculations or display the molecule as is. In the present invention, since the above molecular data can be converted into a standard format, it is possible to perform theoretical chemical calculations and display molecules by inputting and outputting data to and from a user database and converting the format. , theoretical chemical calculation results, and molecular data corresponding to the displayed molecule structure can also be written into the user database.
〈実施例2〉
第3図はこの発明のデータ入出力装置の一実施例を示す
ブロック図であり、理論化学計算および分子の表示を行
なうためのアプリケーションφシステムに組み込んだ状
態を示している。<Embodiment 2> FIG. 3 is a block diagram showing an embodiment of the data input/output device of the present invention, and shows a state where it is incorporated into an application φ system for performing theoretical chemical calculations and displaying molecules.
アプリケーション・システム本体(1)に対して目的フ
ァイル(2)、ユーザー・データ・ベース(3)、アプ
リケーション・プログラムにおいて定められたデータ・
フォーマットの標準ファイル(4)、理論化学計算部(
5)および理論化学計算のための入力ファイル(6)を
配置している。The application system main body (1) has a target file (2), a user database (3), and data defined in the application program.
Standard file format (4), Theoretical Chemistry Calculation Department (
5) and an input file (6) for theoretical chemical calculations.
上記目的ファイル(2)は、ユーザーが予め定められた
言語で作成したソース・プログラムを格納するソース・
ファイを(21)から読み出されたソース中プログラム
をコンパイラ(22)によりコンパイルすることにより
得られる各命令、データにそれぞれアドレスを付与した
状態で格納するものである。The purpose file (2) above is a source file that stores a source program created by the user in a predetermined language.
Each instruction and data obtained by compiling a program in source read from the file (21) by a compiler (22) is stored with an address assigned to each instruction and data.
上記アプリケーション・システム本体巾は、データ入出
力のためのフォーマット変換等を行なうデータ処理部(
11)と、目的ファイル(2)から読み出シタ命令を保
持しておき、順次命令を実行してデータ処理部(11)
に対するデータ加工指令、データ処理部(11)に対す
るデータ入出力指令等を8カする制御部(12)と、目
的ファイルから読み出した内容が命令かデータが等の解
釈を行なってデータであればデータ処理部(11)に対
してデータ処理のための基準データとして供給し、命令
であれば制御部(12)に供給する目的ファイル解釈部
(13)と、標準ファイル(4)からの読み込みデータ
、またはデータ処理部(11)からの出力データに基づ
いて、分子を構成する各原子の座標値、結合情報データ
等を抽出するデータ抽出部(I4)と、データ抽出部(
14)により抽出されたデータに基づいて分子を表示す
る表示部(15)とを含んでいる。The width of the above application system is the data processing unit (which performs format conversion etc. for data input/output).
11) and the read-out command from the target file (2), and execute the commands sequentially to the data processing unit (11).
A control unit (12) that issues data processing commands to the data processor, data input/output commands to the data processing unit (11), etc., and interprets whether the content read from the target file is a command or data. A target file interpreter (13) that supplies reference data for data processing to the processing unit (11) and supplies it to the control unit (12) if it is a command, and data read from the standard file (4); Alternatively, a data extraction unit (I4) extracts coordinate values, bond information data, etc. of each atom constituting the molecule based on output data from the data processing unit (11);
14), and a display section (15) that displays molecules based on the data extracted by step 14).
上記の構成のアプリケーション・システムの動作は次の
とおりである。The operation of the application system with the above configuration is as follows.
ユーザーが作成したユーザー・データ・ベースに対する
入出力を行ないたい場合には、ユーザー・データ・ベー
スのデータ・フォーマットが既知であるから、既知のデ
ータ・フォーマットおよび実行させたい処理に基づいて
ソース・ファイル(21)にソース・プログラムを格納
し、コンパイラ(22)によりコンパイルして各命令、
データにそれぞれアドレスを付与した状態で目的ファイ
ル(2)に格納しておく。If you want to perform input/output to a user database that you have created, and the data format of the user database is known, you can create a source file based on the known data format and the processing you want to perform. The source program is stored in (21), compiled by the compiler (22), and each instruction is
Each piece of data is stored in the target file (2) with an address assigned to it.
そして、図示しないキーボード等によりユーザー・デー
タ・ベースに対する入出力を指定すれば、先ず、目的フ
ァイル解釈部(13)において、目的ファイル(2)か
ら読み出した内容か命令かデータかを識別し、命令であ
れば制御部(12)に対して読み出した命令を順次供給
し、データであれば、ユーザー・データ・ベース(3)
に対する入出力に必要なデータであることを条件として
、データ処理のための基準データとしてデータ処理部(
11)に供給する。When input/output to the user database is specified using a keyboard (not shown) or the like, first, the target file interpreter (13) identifies whether the content read from the target file (2) is an instruction or data, and If it is data, the read instructions are sequentially supplied to the control unit (12), and if it is data, it is supplied to the user data base (3).
The data processing unit (
11).
その後、制御部(12)において供給された命令を実行
する。この命令がユーザー・データ・ベース(3)から
の読み込みである場合には、読み込んだデータをデータ
処理部(11)のワーク・エリア等に格納し、データ処
理部(11)において基準データに基づくデータ処理(
フォーマット変換処理等)を施して入力ファイル(6)
に供給するとともに、データ抽出部(14)に供給する
。入力ファイル(6)に供給されたデータに基づいて理
論化学計算部(5)により必要な理論化学計算を行なっ
て、例えば、エネルギーが最小になる分子構造、エネル
ギーが局部的に最小になる分子構造等を算出する。算出
された分子データは再び入力ファイル(6)に書き込ま
れる。また、データ抽出部(14)においては、フォー
マット変換か施されたユーザー・データから分子を構成
する各原子の座標値、結合情報データ等を抽出し、抽出
されたデータを表示部(I5)に供給することにより分
子の構造を表示する。さらに、理論化学計算部(5)に
おいて得られ、入力ファイル(6)に書き込まれた分子
データをデータ処理部(11)を介してデータ抽出部(
14)に供給すれば、エネルギーが最小になる分子の構
造、エネルギーが局部的に最小になる分子の構造等に対
応する各原子の座標値、結合情報データ等を抽出し、抽
出されたデータに基づいて表示部(15)により該当す
る分子の構造を表示する。Thereafter, the supplied command is executed in the control unit (12). If this command is to read from the user database (3), the read data is stored in the work area of the data processing unit (11), and the data processing unit (11) processes the data based on the reference data. Data processing(
Format conversion processing, etc.) and input file (6)
It is also supplied to the data extraction section (14). Based on the data supplied to the input file (6), the theoretical chemistry calculation section (5) performs necessary theoretical chemistry calculations to determine, for example, a molecular structure that minimizes energy or a molecular structure that locally minimizes energy. Calculate etc. The calculated molecular data is written to the input file (6) again. In addition, the data extraction unit (14) extracts the coordinate values of each atom constituting the molecule, bond information data, etc. from the format-converted user data, and displays the extracted data on the display unit (I5). Display the structure of the molecule by supplying it. Furthermore, the molecular data obtained in the theoretical chemistry calculation section (5) and written to the input file (6) is passed through the data processing section (11) to the data extraction section (
When supplied to Based on this, the display section (15) displays the structure of the corresponding molecule.
逆に、制御部(12)において実行する命令かユーザー
・データ・ベース(3)への書き込みである場合こは、
表示部(15)における表示のためのデータに基づいて
データ抽出部(14)において、表示に直接は必要でな
いデータを付加して標準ファイルに書き込み得るフォー
マットの分子データを得、得られた分子データをデータ
処理部(11)に供給する。Conversely, if the instruction is to be executed in the control unit (12) or is to be written to the user database (3), then
Based on the data for display on the display section (15), the data extraction section (14) adds data that is not directly necessary for display and obtains molecular data in a format that can be written into a standard file. is supplied to the data processing section (11).
データ処理部(11)においては、制御部(12)から
ユーザー・データ・ベース(3)に対するデータ書き込
みのための命令が供給されているので、基準データに基
づいて読み込みの場合と逆のフォーマット変換を施して
ユーザー・データ・ベースのフォーマットに適合するデ
ータを生成する。したがって、この生成されたデータを
ユーザー・データ・ベース(3)に書き込むことにより
、ユーザー・データ・ベース(3)の更新、データ追加
等を達成できる。In the data processing unit (11), since the control unit (12) supplies instructions for writing data to the user database (3), the data processing unit (11) performs format conversion in the opposite direction to that for reading based on the reference data. to generate data that conforms to the format of the user database. Therefore, by writing this generated data into the user database (3), it is possible to update the user database (3), add data, etc.
尚、標準ファイル(4)に対するデータの入出力は、特
別にフォーマット変換を施す必要がないようにアプリケ
ーション・プログラムが設定されているのであるから、
データ処理部(11)を介在させることなくデータ入出
力を行なえばよい。Note that the application program is set so that there is no need for special format conversion when inputting/outputting data to/from the standard file (4).
Data input/output may be performed without intervening the data processing section (11).
以上の説明から明らかなように、ユーザーが任意に作成
したユーザー・データ・ベースに対する入出力を行なわ
せる場合に、アプリケーション・プログラムをエデイツ
トする必要がなく、単にフォーマット変換等、限られた
処理に対応するソース・プログラムを作成してコンパイ
ルしておくだけでよく、アプリケーション・プログラム
が実行モジュールとしてのみ提供されている場合にも簡
単に任意のユーザー・データ・ベースに対する入出力を
行なわせ、ユーザー・データに基づく理論化学計算、分
子構造の表示等を行なわせることができるとともに、理
論化学計算により得られた新たな分子構造データをユー
ザー・データ・ベースに追加することもできる。As is clear from the above explanation, there is no need to edit the application program when inputting/outputting to a user database arbitrarily created by the user, and it can simply handle limited processing such as format conversion. All you need to do is create and compile a source program for the application, and even if the application program is provided only as an executable module, you can easily perform input/output to any user database and save user data. It is possible to perform theoretical chemical calculations based on , display molecular structures, etc., and also add new molecular structure data obtained by theoretical chemical calculations to the user database.
〈発明の効果〉
以上のように第1の発明は、アプリケーション・プログ
ラムに対するエデイツト作業を行なう必要がなく、簡単
に任意のデータ・ファイルに対するデータ入出力を達成
できるという特有の効果を奏する。<Effects of the Invention> As described above, the first invention has a unique effect in that it is not necessary to edit the application program and data input/output to any data file can be easily achieved.
第2の発明も、アプリケーション・プログラムに対する
エデイツト作業を行なう必要がなく、簡単に任意のデー
タ・ファイルに対するデータ入出力を達成できるという
特有の効果を奏する。The second invention also has a unique effect in that it is not necessary to edit the application program, and data input/output to any data file can be easily achieved.
第1図はこの発明のデータ入出力方法の一実施例を示す
フローチャート、
第2図は酢酸分子の構成を示す概略図、第3図はこの発
明のデータ入出力装置の一実施例を示すブロック図。
(2)・・・目的ファイル、(11)・・・データ処理
部、(12)・・・制御部、(13)・・・目的ファイ
ル解釈部特許出願人 ダイキン工業株式会社
代 理 人 弁理士 津 川 友 上
刃り表2
号り表1Fig. 1 is a flowchart showing an embodiment of the data input/output method of the present invention, Fig. 2 is a schematic diagram showing the structure of an acetic acid molecule, and Fig. 3 is a block diagram showing an embodiment of the data input/output device of the invention. figure. (2)...Object file, (11)...Data processing unit, (12)...Control unit, (13)...Object file interpretation unit Patent applicant Daikin Industries, Ltd. Agent Patent attorney Tomo Tsugawa Upper blade table 2 Number table 1
Claims (1)
から指定入出力データ・フォ ーマットを示すデータを読み込み、アプ リケーション・プログラムが予め定めら れた処理のために入出力を行なうデータ のフォーマットと標準入出力データ・フ ォーマットとのフォーマット変換に代え て指定入出力データ・フォーマットとの フォーマット変換を行なうことを特徴と するデータ入出力方法。 2、標準入出力データ・フォーマットが定 められたアプリケーション・システムに、 予め定められた言語で作成したソース・ プログラムをコンパイルして得られた、 命令および指定入出力データ・フォーマ ットを示すデータを含む目的ファイルを 格納する目的ファイル格納手段(2)と、目的ファイル
から命令を読み込んで解釈す る命令解釈手段(13)と、命令解釈手段 (13)からの解釈結果を入力としてデータ・フォーマ
ット変換指令を出力するデー タ・フォーマット変換指令手段(12)と、データ・フ
ォーマット変換指令に基づい て、アプリケーション・システムが予め 定められた処理のために入出力を行なう データのフォーマットと標準入出力デー タ・フォーマットとのフォーマット変換 に代えて指定入出力データ・フォーマッ トとのフォーマット変換を行なうフォー マット変換手段(11)とを含むことを特徴とするデー
タ入出力装置。[Claims] 1. An object obtained by incorporating an external instruction interpretation program into an application program with a defined standard input/output data format and compiling a source program created in a predefined language. It interprets the commands in file (2) and reads data indicating the specified input/output data format from the target file, and the application program reads the format of the data to be input/output for predetermined processing and the standard input/output data. A data input/output method characterized by performing format conversion with a specified input/output data format instead of format conversion with a format. 2. A purpose that includes instructions and data indicating a specified input/output data format obtained by compiling a source program created in a predetermined language into an application system with a specified standard input/output data format. A target file storage means (2) for storing a file, a command interpreting means (13) for reading and interpreting instructions from the target file, and outputting a data format conversion command using the interpretation results from the command interpreting means (13) as input. data format conversion command means (12) to perform data format conversion, and a format of data to be input/output by the application system for predetermined processing based on the data format conversion command, and a standard input/output data format. A data input/output device characterized in that it includes a format conversion means (11) that performs format conversion with a specified input/output data format instead of conversion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2204339A JP2527087B2 (en) | 1990-07-31 | 1990-07-31 | Data input / output method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2204339A JP2527087B2 (en) | 1990-07-31 | 1990-07-31 | Data input / output method and apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0488528A true JPH0488528A (en) | 1992-03-23 |
| JP2527087B2 JP2527087B2 (en) | 1996-08-21 |
Family
ID=16488867
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2204339A Expired - Fee Related JP2527087B2 (en) | 1990-07-31 | 1990-07-31 | Data input / output method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2527087B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63118928A (en) * | 1986-11-07 | 1988-05-23 | Hitachi Ltd | Crt displaying and slip print outputting system |
| JPH0224738A (en) * | 1988-07-14 | 1990-01-26 | Casio Comput Co Ltd | data processing equipment |
| JPH0281162A (en) * | 1988-09-17 | 1990-03-22 | Fujitsu Ltd | Display system for logical simulation |
-
1990
- 1990-07-31 JP JP2204339A patent/JP2527087B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63118928A (en) * | 1986-11-07 | 1988-05-23 | Hitachi Ltd | Crt displaying and slip print outputting system |
| JPH0224738A (en) * | 1988-07-14 | 1990-01-26 | Casio Comput Co Ltd | data processing equipment |
| JPH0281162A (en) * | 1988-09-17 | 1990-03-22 | Fujitsu Ltd | Display system for logical simulation |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2527087B2 (en) | 1996-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Calvary et al. | Plasticity of user interfaces: A revised reference framework | |
| CA1271564A (en) | Method for implementing an on-line presentation in an information processing system | |
| US6246403B1 (en) | Method and apparatus for generating a graphical user interface | |
| US20040015843A1 (en) | Method and program product for structured comment assists in computer programming | |
| JP2527087B2 (en) | Data input / output method and apparatus | |
| JPH064280A (en) | A graphical user interface with the ability to control objects in the Wiswig editor | |
| JPH07295612A (en) | High-level language sequence instruction program generator and general-purpose sequencer | |
| JPS61226834A (en) | Displaying picture editing system | |
| JPH0357496B2 (en) | ||
| JPH09237274A (en) | Method and apparatus for creating HTML file for WWW | |
| JPH04113452A (en) | Frame editing system | |
| JP2000020294A (en) | Program development support device and computer-readable recording medium | |
| JPH01280866A (en) | Japanese word processing system | |
| JP2597620B2 (en) | Assistance information provision system | |
| JP2002304387A (en) | Multimedia document processing system development support device | |
| JPS61234435A (en) | Program development support method | |
| JP3376950B2 (en) | Screen generator | |
| JP2000222252A (en) | Memory contents display method and memory contents editing method | |
| JPH02249034A (en) | Information processor | |
| JPH117399A (en) | Data display method in object-oriented programs | |
| JPH03154124A (en) | Text editor processing method for computer source programs | |
| JPH0358225A (en) | File editing system | |
| JPH07104986A (en) | Program generation tool | |
| JPH0495139A (en) | Cross reference output system for language processing program | |
| JP2001109508A (en) | Comment display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |