JPH02280228A - System for converting input data - Google Patents

System for converting input data

Info

Publication number
JPH02280228A
JPH02280228A JP10200389A JP10200389A JPH02280228A JP H02280228 A JPH02280228 A JP H02280228A JP 10200389 A JP10200389 A JP 10200389A JP 10200389 A JP10200389 A JP 10200389A JP H02280228 A JPH02280228 A JP H02280228A
Authority
JP
Japan
Prior art keywords
data
input data
expression format
input
format
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
JP10200389A
Other languages
Japanese (ja)
Inventor
Kiyomi Taniguchi
谷口 紀代美
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10200389A priority Critical patent/JPH02280228A/en
Publication of JPH02280228A publication Critical patent/JPH02280228A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To increase the execution efficiency of a program by using after- conversion input data to be stored in a file from a next time at the time of repeatedly execution the program to input the input data different from the internal data expression of a transplanting destination computer system. CONSTITUTION:An input means inputs option information to contain information to designate whether input data 5 are the data in a second expression format to be processed by a second computer or not and information to designate whether or not to store the data in the second expression format obtained by converting the expression format of the data in a first expression format. A data deciding means 40 decides whether or not to convert the expression format of the input data based on the option information. A data converting means 41 converts the expression format of the input data, prepares the data in the second expression format and outputs them when the fact that a necessity to convert the expression format of the data exists is decided by the data decid ing means 40. A data storage deciding means 43 decides whether or not to the store the data in the second expression format prepared by the data converting means 41 based on the option information. Thus, the execution effi ciency of the program can be increased.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、計算機内部のデータ表現がそれぞれ異なるあ
る計算機の入力データを別の計算機の入力データに変換
する入力データ変換方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an input data conversion method for converting input data of one computer into input data of another computer, each of which has a different internal data representation.

(従来の技術) ある計算機システム用に開発され、その計算機システム
で実行されていたプログラムとデータとを別の計算機シ
ステムに移植して実行させたい場合がある。そして移植
に際して、ある計算機システム(移植先計算機システム
)と別の計算機システム(移植先計算機システム)とで
は、計算機システム内部のデータ表現がそれぞれ異なる
ときがある。このようなとき、移植先計算機システムで
同一の入力データを使用してそのプログラムを繰り返し
実行されるときでも、そのプログラムが実行される毎に
毎回入力データのデータ表現の変換処理が行なわれてい
た。そして、このデータ表現の変換処理は、一般に、非
常に処理時間がかかる。
(Prior Art) There are cases where it is desired to port programs and data that were developed for a certain computer system and executed on that computer system to another computer system for execution. During porting, data representations within the computer systems may differ between one computer system (portion destination computer system) and another computer system (portation destination computer system). In such cases, even if the program is repeatedly executed using the same input data on the destination computer system, the data representation of the input data is converted each time the program is executed. . This data representation conversion process generally takes a very long time.

(発明が解決しようとする課題) 上述したように、従来のデータ変換方式は、移植先計算
機システムで同一人力データを使用してそのグログラム
を繰り返し実行するときでも、毎回入力データのデータ
表現の変換処理を行なっている。従って、処理時間がか
かる入力データのデータ表現の変換処理をプログラムが
実行される毎に行なっているので、プログラムの実行効
率が悪い、このように従来の入力データ変換方式には解
決すべき課題があった。
(Problems to be Solved by the Invention) As described above, the conventional data conversion method requires conversion of the data representation of input data each time, even when the same human data is used to repeatedly execute the program on the destination computer system. Processing is in progress. Therefore, the process of converting the data representation of input data, which takes processing time, is performed every time the program is executed, resulting in poor program execution efficiency.There are problems that need to be solved with conventional input data conversion methods. there were.

本発明は、このような事情に鑑みてなされたものであり
、その目的は、プログラムの実行効率を高めることがで
きる入力データ変換方式を提供することにある。
The present invention has been made in view of these circumstances, and its purpose is to provide an input data conversion method that can improve program execution efficiency.

(課題を解決するための手段) 本発明の入力データ変換方式は、上記目的を達成するた
めに、第1の計算機で扱われる第1の表現形式で表わさ
れたデータを変換して、該第1の表現形式とは異なる第
2の表現形式のデータを生成し、第2の計算機の入力デ
ータとする入力データ変換方式において、 入力データが前記第2の計算機で処理できる前記第2の
表現形式のデータか否かを指定する情報および第1の表
現形式のデータの表現形式を変換して得な第2の表現形
式のデータを保存するか否かを指定する情報とを含むオ
プション情報を入力する入力手段と、 前記オプション情報に基づいて前記入力データの表現形
式を変換するか否かを判定するデータ判定手段と、 該データ判定手段によりデータの表現形式を変換する必
要がありと判定されたとき、前記入力データの表現形式
を変換して第2の表現形式のデータを生成し出力するデ
ータ変換手段と、前記オプション情報に基づいて、前記
データ変換手段で生成された前記第2の表現形式のデー
タを保存するか否かを判定するデータ保存判定手段と、 該データ保存判定手段により前記第2の表現形式のデー
タを保存すると判定されたときに、前記データ変換手段
により生成された前記第2の表現形式データをファイル
に格納する変換データ保存手段と を有する。
(Means for Solving the Problems) In order to achieve the above object, the input data conversion method of the present invention converts data expressed in a first expression format handled by a first computer to In an input data conversion method in which data in a second expression format different from the first expression format is generated and used as input data for a second computer, the second expression allows the input data to be processed by the second computer. optional information including information specifying whether or not the data is in the first expression format and information specifying whether or not to save the data in the second expression format that cannot be obtained by converting the expression format of the data in the first expression format. an input means for inputting data; a data determining means for determining whether or not to convert the representation format of the input data based on the option information; a data conversion means for converting the representation format of the input data to generate and output data in a second representation format, and the second representation generated by the data conversion means based on the option information; data storage determination means for determining whether or not to save the data in the second expression format; and when the data storage determination means determines to save the data in the second expression format, the and converted data storage means for storing the second expression format data in a file.

(作用) 本発明の入力データ変換方式においては、入力手段が、
入力データが第2の計算機で処理できる第2の表現形式
のデータか否かを指定する情報および第1の表現形式の
データの表現形式を変換して得た第2の表現形式のデー
タを保存するか否かを指定する情報とを含むオプション
情報を入力し、データ判定手段が、オプション情報に基
づいて入力データの表現形式を変換するか否かを判定す
る。
(Operation) In the input data conversion method of the present invention, the input means
Information specifying whether the input data is data in the second expression format that can be processed by the second computer, and data in the second expression format obtained by converting the expression format of the data in the first expression format. The data determining means determines whether or not the representation format of the input data is to be converted based on the option information.

そして、データ変換手段が、データ判定手段によりデー
タの表現形式を変換する必要がありと判定されたとき、
入力データの表現形式を変換して第2の表現形式のデー
タを生成し出力し、データ保存判定手段が、オプション
情報に基づいて、データ変換手段で生成された第2の表
現形式のデータを保存するか否かを判定する。
When the data conversion means determines that it is necessary to convert the data representation format by the data determination means,
Converting the representation format of the input data to generate and output data in a second representation format, and the data storage determining means storing the data in the second representation format generated by the data conversion means based on the option information. Determine whether or not to do so.

(実施例) 次に、本発明の実施例について図面を参照して詳細に説
明する。
(Example) Next, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の構成図である。同図におい
て、1はオプション情報、2はオプション解析手段、3
はオプション解析情報、4は入力機構、5は入力データ
、6は保存データ、7はユーザ領域である。入力機構4
は、データ判定手段40、入力データ変換転送手段41
、入力データ転送手段42、データ保存判定手段43お
よび変換データ保存手段44を含む。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, 1 is option information, 2 is option analysis means, and 3 is option information.
is option analysis information, 4 is an input mechanism, 5 is input data, 6 is saved data, and 7 is a user area. Input mechanism 4
are data determination means 40 and input data conversion and transfer means 41
, input data transfer means 42, data storage determination means 43, and converted data storage means 44.

次に、第1図の実施例において入力データのデータ表現
を変換する動作について説明する。外部より起動される
と、先ず、オプション解析手段2が動作する。オプショ
ン解析手段2は、入力データ5のデータ表現を変換する
必要があるか否かの情報を含み、入力データ5の表現を
移植先計算機システムに合わせて変換した変換後入力デ
ータを保存するか否かの情報を含み得る保存オプション
情報を入力する。そして、このオプション情報を解析す
ると共に、入力n梢4で処理できる情報にしたオプショ
ン解析情報3を出力する。
Next, the operation of converting the data representation of input data in the embodiment shown in FIG. 1 will be explained. When activated from the outside, the option analysis means 2 operates first. The option analysis means 2 includes information as to whether or not it is necessary to convert the data representation of the input data 5, and whether or not to save the input data after converting the representation of the input data 5 in accordance with the porting destination computer system. Enter save option information, which may include: Then, it analyzes this option information and outputs option analysis information 3 that can be processed by the input n top 4.

次に、入力a構4のデータ判定手段40は、このオプシ
ョン解析情報3を入力し、入力データ5のデータ表現を
変換する必要があるか否かを判定する。データ表現を変
換する必要がないときは、入力データ転送手段42を起
動する。なお、入力データ転送手段42の動作について
は後述する。
Next, the data determining means 40 of the input a structure 4 inputs this optional analysis information 3 and determines whether or not the data representation of the input data 5 needs to be converted. When there is no need to convert the data representation, the input data transfer means 42 is activated. Note that the operation of the input data transfer means 42 will be described later.

反対に、データ表現を変換する必要があるときは、入力
データ変換転送手段41を起動する。
On the other hand, when it is necessary to convert the data representation, the input data conversion and transfer means 41 is activated.

起動された入力データ変換転送手段41は、入力データ
5を入力し、移植元計算機システムのデータ表現に変換
して変換後入力データを生成する。
The activated input data conversion and transfer means 41 inputs the input data 5, converts it into the data representation of the porting source computer system, and generates converted input data.

そして、この変換後入力データをデータ保存判定手段4
3に渡してこれを起動する。
Then, this converted input data is stored in the data storage determining means 4.
Pass it to 3 and start this.

起動されたデータ保存判定手段43は、オプション解析
情報3に基づいて変換後入力データを保存する必要があ
るか否かを判定する。保存する必要がないときは、入力
データ変換転送手段41から受は取った変換後入力デー
タをユーザ領域7に格納する0反対に、変換後入力デー
タを保存する必要があるときは、変換後入力データを変
換データ保存手段44に渡して起動する。
The activated data storage determining means 43 determines whether it is necessary to store the converted input data based on the option analysis information 3. When there is no need to save, the converted input data received from the input data conversion and transfer means 41 is stored in the user area 7.On the other hand, when it is necessary to save the converted input data, the converted input data is stored in the user area 7. The data is passed to the converted data storage means 44 and activated.

これを受けて変換データ保存手段44は、この変換後入
力データを保存データ6に格納すると共に、ユーザ領域
7にも格納する。
In response to this, the converted data storage means 44 stores the converted input data in the storage data 6 and also in the user area 7.

さて、上述したように入力データ表現を変換する必要が
ないとき、データ判定手段40は入力データ転送手段4
2に起動する。起動された入力データ転送手段42は入
力データ5を入力し、ユーザ領域7に格納する。
Now, as mentioned above, when there is no need to convert the input data representation, the data determination means 40 uses the input data transfer means 4
Start on 2. The activated input data transfer means 42 inputs the input data 5 and stores it in the user area 7.

同一人力データで2回目に実行するときは、オプション
情報でデータ表現の変換処理を行う必要がない旨を指定
し、保存データ6を入力データ5とする。従って、2回
目以降は入力データのデータ表現の変換処理を行わなく
て良い。
When executing the same manual data for the second time, the option information specifies that there is no need to perform data expression conversion processing, and the saved data 6 is used as the input data 5. Therefore, from the second time onward, there is no need to convert the data representation of the input data.

(発明の効果) 以上に説明したように、本発明の入力データ変換方式は
、移植先計算機システムの内部データ表現と異なる入力
データを入力するプログラムを何度も実行する場合、オ
プション情報により、初回だけ入力データのデータ表現
の変換処理を行い変換後入力データをファイルに保存し
、次回からはこのファイルに保存された変換後入力デー
タを使用する。従って、本発明の入力データ変換方式を
採用すれば処理時間のかかる入力データのデータ表現の
変換処理をプログラムを実行する毎に行う必要がなくな
り、プログラムの実行効率が高くなる。
(Effects of the Invention) As explained above, the input data conversion method of the present invention is effective when executing a program that inputs input data different from the internal data representation of the porting destination computer system many times. Only the data expression of the input data is converted, the converted input data is saved in a file, and the converted input data saved in this file is used from the next time onwards. Therefore, by adopting the input data conversion method of the present invention, it is no longer necessary to convert the data representation of input data, which takes processing time, every time a program is executed, and the program execution efficiency is increased.

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

第1図は、本発明の実線例の構成図である。 1・・・オプション情報、2・・・オプション解析手段
、3・・・オプション解析情報、4・・・入力m構、5
・・・入力データ、6・・・保存データ、7・・・ユー
ザ領域、40・・・データ判定手段、41・・・入力デ
ータ変換転送手段、42・・・入力データ転送手段、4
3・・・データ保存判定手段、44・・・変換データ保
存手段。
FIG. 1 is a block diagram of a solid line example of the present invention. 1...Option information, 2...Option analysis means, 3...Option analysis information, 4...Input m structure, 5
. . . input data, 6 . . . storage data, 7 . . . user area, 40 .
3... Data storage determination means, 44... Converted data storage means.

Claims (1)

【特許請求の範囲】 第1の計算機で扱われる第1の表現形式で表わされたデ
ータを変換して、該第1の表現形式とは異なる第2の表
現形式のデータを生成し、第2の計算機の入力データと
する入力データ変換方式において、 入力データが前記第2の計算機で処理できる前記第2の
表現形式のデータか否かを指定する情報および第1の表
現形式のデータの表現形式を変換して得た第2の表現形
式のデータを保存するか否かを指定する情報とを含むオ
プション情報を入力する入力手段と、 該オプション情報に基づいて前記入力データの表現形式
を変換するか否かを判定するデータ判定手段と、 該データ判定手段によりデータの表現形式を変換する必
要がありと判定されたとき、前記入力データの表現形式
を変換して第2の表現形式のデータを生成し出力するデ
ータ変換手段と、 前記オプション情報に基づいて、前記データ変換手段で
生成された前記第2の表現形式のデータを保存するか否
かを判定するデータ保存判定手段と、 該データ保存判定手段により前記第2の表現形式のデー
タを保存すると判定されたときに、前記データ変換手段
により生成された前記第2の表現形式のデータをファイ
ルに格納する変換データ保存手段と を設けたことを特徴とする入力データ変換方式。
[Claims] Data expressed in a first expression format handled by a first computer is converted to generate data in a second expression format different from the first expression format, In the input data conversion method for input data of the second computer, information specifying whether the input data is data in the second expression format that can be processed by the second computer, and representation of data in the first expression format. an input means for inputting optional information including information specifying whether or not to save data in a second representation format obtained by converting the format; and converting the representation format of the input data based on the optional information. data determining means for determining whether or not to convert the input data; and when the data determining means determines that it is necessary to convert the representation format of the data, converting the representation format of the input data to convert the representation format of the input data into data in a second representation format. data conversion means for generating and outputting the data; data storage determination means for determining whether or not to save the data in the second representation format generated by the data conversion means based on the option information; and converted data storage means for storing the data in the second expression format generated by the data conversion means in a file when the storage determination means determines to save the data in the second expression format. An input data conversion method characterized by:
JP10200389A 1989-04-21 1989-04-21 System for converting input data Pending JPH02280228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10200389A JPH02280228A (en) 1989-04-21 1989-04-21 System for converting input data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10200389A JPH02280228A (en) 1989-04-21 1989-04-21 System for converting input data

Publications (1)

Publication Number Publication Date
JPH02280228A true JPH02280228A (en) 1990-11-16

Family

ID=14315618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10200389A Pending JPH02280228A (en) 1989-04-21 1989-04-21 System for converting input data

Country Status (1)

Country Link
JP (1) JPH02280228A (en)

Similar Documents

Publication Publication Date Title
JPH02280228A (en) System for converting input data
JPS6378231A (en) Partial program combining system
JPS59218574A (en) Command processing system
JPS62135958A (en) Simulation system
JPH036617A (en) Support processing system for plural code systems of single scheme
JPH01258122A (en) Data format conversion system
JPH02118748A (en) Input output control system
JPH0223428A (en) Translation type executing system for command type end user language
JPH0254373A (en) Control system for graphic processor
JPS62120541A (en) Instruction control system
JPH0452987B2 (en)
JPH0314039A (en) Instruction conversion simplex test support system
JPH02137054A (en) Information processor
JPH0773093A (en) Transfer control system at the time of data down load
JPH0683576A (en) Formless input output processing system
JPH01302427A (en) Input/output file altering system for execution form program
JPH01297728A (en) Microprogram start address generating system
JPH03233727A (en) System for optimizing unconditional branching text
JPS62134772A (en) Input system for image data
JPH01283637A (en) Inference controller which can be defined by user
JPH04135250A (en) File damp system
JPH06250732A (en) Programmable controller
JPS61123929A (en) Data retrieval system
JPH0350628A (en) Make file generation method using source file
JPH02165359A (en) Data processing system