JPH02211541A - Program generating system - Google Patents

Program generating system

Info

Publication number
JPH02211541A
JPH02211541A JP3193989A JP3193989A JPH02211541A JP H02211541 A JPH02211541 A JP H02211541A JP 3193989 A JP3193989 A JP 3193989A JP 3193989 A JP3193989 A JP 3193989A JP H02211541 A JPH02211541 A JP H02211541A
Authority
JP
Japan
Prior art keywords
program
data processing
source language
group
processing device
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
JP3193989A
Other languages
Japanese (ja)
Inventor
Akihiko Satomi
明彦 里見
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 JP3193989A priority Critical patent/JPH02211541A/en
Publication of JPH02211541A publication Critical patent/JPH02211541A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily develop a program (PR) by preparing the correspondence table between the respective programs of a source language program group and a data processor which processes the PRs. CONSTITUTION:By the activation of a PR generating means 11, a PR frame to generate a source language PR group 12 for personal computer (PC) and the PR frame for a source language PR group 13 for a host computer (HC) are generated, and the total elements of a PR correspondence table file 5 are read. A PR 4y is read from a source language PR group 4, when the same name item as the PR name item of the file 5 is processed by a heading HC1, the source image of the PR 4y is developed in the PR frame, when the item is executed by PC 31 to 3n, interface language description is added to the PR4y. The generated groups 12 and 13 are made into purpose PRs 16 and 17 through PR translating means 14 and 15. The purpose PR 16 is preserved in PR preserv ing means 311 to 3n1 inside PC 31 to 3n, executed, by PR executing means 311 to 3n2, and the purpose PR 17 is executed by a PR executing means 18. Thus the PR can be easily developed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機システムにおけるプログラム生成方
式に関し、詳しくは、複数のデータ処理装置がデータ処
理をするにあたって各々のデータ処理能力を使用して統
合的にデータ処理を行う場合、例えば複数のパーソナル
コンビエータでデータ処理された結果をホストコンピュ
ータで一括処理する場合に、各データ処理装置で実行さ
れる目的プログラムを生成する方式に関するものである
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a program generation method in an electronic computer system, and more specifically, the present invention relates to a program generation method in an electronic computer system, and more specifically, the present invention relates to a program generation method in an electronic computer system, and more specifically, when multiple data processing devices perform data processing, they are integrated by using their respective data processing capabilities. The present invention relates to a method for generating a target program to be executed by each data processing device when data processing is performed in a typical manner, for example, when the results of data processing by a plurality of personal combinators are collectively processed by a host computer.

〔従来の技術〕[Conventional technology]

従来、この種のプログラム生成方式には次の2通りがあ
った。
Conventionally, there have been two types of program generation methods of this type:

■各データ処理装置毎に処理すべき内容を記述した原始
言語プログラムを用意し、各データ処理装置毎に用意さ
れた翻訳手段を用いて目的プログラムを生成する方式。
■A method in which a source language program describing the content to be processed is prepared for each data processing device, and a target program is generated using translation means prepared for each data processing device.

■1つのデータ処理装置上で全データ処理装置に対する
複数の原始言語プログラムを用意し、このデータ処理装
置上で別のデータ処理装置に対する翻訳手段を提供する
ことで、1つのデータ処理装置上で全てのデータ処理装
置の目的プログラムを生成する方式。
■ By preparing multiple source language programs for all data processing devices on one data processing device and providing translation means for other data processing devices on this data processing device, all A method of generating a target program for a data processing device.

なお、上記の2つの方式は、いずれも、各データ処理装
置で必要とされる原始言語プログラムの各々が、メイン
プログラムとサブプログラムとから構成される完結した
原始言語プログラム群として開発されていた。
In both of the above two methods, each of the source language programs required for each data processing device was developed as a complete group of source language programs consisting of a main program and subprograms.

〔発明が解決しようとする課題〕 従来のプログラム生成方式は上述したように行われてい
たため、次のような欠点があった。
[Problems to be Solved by the Invention] Since the conventional program generation method was performed as described above, it had the following drawbacks.

(1)各データ処理装置毎にメインプログラムとサブプ
ログラムとから構成される完結した原始言語プログラム
群を開発しなければならないため、開発に手間がかかる
(1) Development is time-consuming because a complete source language program group consisting of a main program and subprograms must be developed for each data processing device.

(2)全体的に見ればデータを各データ処理装置間にま
たがって取り扱うにもかかわらず、プログラム自体は分
離されているため、データの流れから見たプログラムの
可視性が悪く、内容を把握するのが困難である。
(2) Even though data is handled across data processing devices as a whole, the programs themselves are separated, so visibility of the programs from the data flow is poor, making it difficult to grasp the contents. It is difficult to

(3)データ処理装置の性能向上環の理由によりデータ
処理量をデータ処理装置間で再配分するためにプログラ
ムを変更する場合、プログラムの変更が複数のプログラ
ムにまたがるため、作業が複雑となり、作業効率が非常
に悪い。
(3) When changing a program in order to redistribute the amount of data processing between data processing devices due to the performance improvement chain of data processing devices, the work becomes complicated because the program change spans multiple programs. Very inefficient.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、プログラムの開発が容易であると共
に、作成されたプログラムの内容把握が容易であり、更
に、データ処理量を再配分する際に変更が容易であるプ
ログラム生成方式を提供することにある。
The present invention has been proposed in view of the above points, and its objectives are to facilitate the development of a program, make it easy to understand the contents of the created program, and further reduce the amount of data processed. An object of the present invention is to provide a program generation method that can be easily changed during allocation.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、複数のデータ処理
装置を備え、処理を分散し処理結果を統合して一連のデ
ータ処理を行う電子計算機システムにおいて、 全体として一連のデータ処理を行う、1つのメインプロ
グラムと複数のサブプログラムとを含む原始言語プログ
ラム群と、 前記原始言語プログラム群に含まれる個々のプログラム
と当該プログラムを処理するデータ処理装置との対応関
係を設定したプログラム対応表ファイルと、 主たるデータ処理装置内に設けられ、前記原始言語プロ
グラム群から個々のプログラムを読み込み、当該プログ
ラムが他のデータ処理装置で実行されるプログラムから
呼び出されあるいは他のデータ処理装置で実行されるプ
ログラムを呼び出す場合に、必要なインターフェース原
始言語記述を付加して各データ処理装置用の原始言語プ
ログラムを生成するプログラム生成手段と、 主たるデータ処理装置内に設けられ、前記プログラム生
成手段により生成された各データ処理装置用の原始言語
プログラムを翻訳して目的プログラムを生成するプログ
ラム翻訳手段と、主たるデータ処理装置から他のデータ
処理装置に対して目的プログラムを出力する通信装置と
を備えるようにしている。
In order to achieve the above object, the present invention provides an electronic computer system that includes a plurality of data processing devices and performs a series of data processing by distributing processing and integrating processing results. a source language program group including one main program and a plurality of subprograms; a program correspondence table file that sets the correspondence between each program included in the source language program group and a data processing device that processes the program; Provided within the main data processing device, reads individual programs from the source language program group, and the programs are called from programs executed on other data processing devices or call programs executed on other data processing devices. program generation means for generating a source language program for each data processing device by adding a necessary interface source language description; and each data processing unit provided in the main data processing device and generated by the program generation means. The apparatus includes a program translation means for translating a source language program for the apparatus to generate a target program, and a communication apparatus for outputting the target program from the main data processing apparatus to other data processing apparatuses.

〔作用〕[Effect]

本発明のプログラム生成方式にあっては、全体として一
連のデータ処理を行う1つのメインプログラムと複数の
サブプログラムとを含む原始言語プログラム群と、この
原始言語プログラム群に含まれる個々のプログラムと当
該プログラムを処理するデータ処理装置との対応関係を
設定したプログラム対応表ファイルとを予め作成するこ
とにより、主たるデータ処理装置内に設けられたプログ
ラム生成手段が前記原始言語プログラム群から個々のプ
ログラムを読み込み、当該プログラム′が他のデータ処
理装置で実行されるプログラムから呼び出されあるいは
他のデータ処理装置で実行されるプログラムを呼び出す
場合に、必要なインターフェース原始言語記述を付加し
て各データ処理装置用の原始言語プログラムを生成し、
次いで、主たるデータ処理装置内に設けられたプログラ
ム翻訳手段が前記プログラム生成手段により生成された
各データ処理装置用の原始言語プログラムを翻訳して目
的プログラムを生成し、生成された目的プログラムを通
信装置が主たるデータ処理装置から他のデータ処理装置
に対して出力する。
In the program generation method of the present invention, a source language program group including one main program and a plurality of subprograms that perform a series of data processing as a whole, and individual programs included in this source language program group and the corresponding By creating in advance a program correspondence table file that sets the correspondence relationship with the data processing device that processes the program, the program generation means provided in the main data processing device reads each program from the source language program group. , when the program' is called from a program executed on another data processing device, or when calling a program executed on another data processing device, the necessary interface source language description is added to the program for each data processing device. Generate a source language program,
Next, a program translation means provided in the main data processing device translates the source language program for each data processing device generated by the program generation means to generate a target program, and transmits the generated target program to the communication device. is output from the main data processing device to other data processing devices.

〔実施例〕〔Example〕

以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明のプログラム生成方式を適用した電子計
算機システムの一実施例を示す構成図であり、複数のデ
ータ処理装置として、1台のホストコンピュータと複数
のパーソナルコンピュータとを用いた例である。
FIG. 1 is a configuration diagram showing an embodiment of an electronic computer system to which the program generation method of the present invention is applied, and is an example in which one host computer and multiple personal computers are used as multiple data processing devices. be.

第1図において、ホストコンピュータlは通信回線(物
理的な回線の他に双方向に対する通信手段も含む、)2
1〜2nを介してパーソナルコンピュータ31〜3nと
接続され、電子計算機システムを構成している。一方、
原始言語プログラム群4およびプログラム対応表ファイ
ル5は、゛プログラム生成にあたってホストコンピュー
タ1に与えられる情報である。
In FIG. 1, a host computer l is connected to a communication line (including physical lines as well as bidirectional communication means) 2.
It is connected to personal computers 31 to 3n via 1 to 2n to form an electronic computer system. on the other hand,
The source language program group 4 and the program correspondence table file 5 are information given to the host computer 1 during program generation.

ここで、原始言語プログラム群4は、第2図に示すよう
に、メインプログラム40と、このメインプログラム4
0により呼び出されるサブプログラム41〜4nと、こ
れらのサブプログラムにより更に多重にホストして呼び
出されるサブプログラム4n+1〜4xとから構成され
、個々のプログラムの集合として格納されている。なお
、原始言語プログラム群4においては、特定のプログラ
ムがどのデータ処理装置(ホストコンビエータ。
Here, the source language program group 4 includes a main program 40 and a main program 4, as shown in FIG.
0, and subprograms 4n+1 to 4x that are hosted and called multiple times by these subprograms, and are stored as a collection of individual programs. Note that in the source language program group 4, a specific program is connected to which data processing device (host combiator).

パーソナルコンピュータ)で処理されるかは全く意識さ
れておらず、よって、データ処理装置をまたがって呼び
出しが行われる場合であっても、その接続に必要なイン
ターフェース原始言語記述は含まれていない。
There is no awareness of whether the data is processed by a personal computer (personal computer), and therefore, even if a call is made across data processing devices, the interface source language description necessary for the connection is not included.

また、プログラム対応表ファイル5は、第3図に示すよ
うに、原始言語プログラム群4に含まれる個々のプログ
ラム毎にエントリが設けられており、それぞれのプログ
ラムのプログラム名項目500〜50xと、そのプログ
ラムを実行すべきデータ処理装置を示す目的プログラム
出力データ装置記述項目510〜51xとが対応して設
定されている。
In addition, as shown in FIG. 3, the program correspondence table file 5 has an entry for each individual program included in the source language program group 4, and includes program name items 500 to 50x of each program, and its Target program output data device description items 510 to 51x indicating the data processing device on which the program is to be executed are set correspondingly.

第1図に戻り他の構成を説明すると、ホストコンピュー
タ1はプログラム生成手段11と、パーソナルコンピュ
ータ用原始言語プログラム群12と、ホストコンピュー
タ用原始言語プログラム群13と、プログラム翻訳手段
14と、プログラム翻訳手段15と、目的プログラム1
6と、目的プログラム17と、プログラム実行手段18
とから構成されている。また、パーソナルコンピュータ
31〜3nはプログラム保存手段311〜3nlと、プ
ログラム実行手段312〜3n2とから構成されている
。なお、各部の機能は次の通りである。
Returning to FIG. 1 to explain other configurations, the host computer 1 includes a program generation means 11, a source language program group 12 for personal computers, a source language program group 13 for host computers, a program translator 14, and a program translator 14. Means 15 and purpose program 1
6, a target program 17, and a program execution means 18
It is composed of. Further, the personal computers 31 to 3n are composed of program storage means 311 to 3nl and program execution means 312 to 3n2. The functions of each part are as follows.

プログラム生成手段ll;原始言語プログラム群4から
個々のプログラム40〜4xを読み込み、当該プログラ
ムが他のデータ処理装置で実行されるプログラムから呼
び出されあるいは他のデータ処理装置で実行されるプロ
グラムを呼び出す場合に、必要なインターフェース原始
言語記述を付加して各データ処理装置用の原始言語プロ
グラム(12,13>を生成する機能。
Program generation means 11; when reading individual programs 40 to 4x from the source language program group 4 and calling the program from a program executed on another data processing device or calling a program executed on another data processing device; A function to generate a source language program (12, 13>) for each data processing device by adding a necessary interface source language description to it.

・パーソナルコンピュータ用原始言語プログラム群12
;プログラム生成手段11によりパーソナルコンピュー
タ31〜3nにおいて実行すべきものとして生成された
原始言語プログラム群。
・Personal computer source language program group 12
; A group of source language programs generated by the program generation means 11 to be executed on the personal computers 31 to 3n.

ホストコンピュータ用原始言語プログラム群13;プロ
グラム生成手段11によりホストコンピュータ1におい
て実行すべきものとして生成された原始言語プログラム
群。
Source language program group 13 for host computer; source language program group generated by the program generation means 11 to be executed on the host computer 1.

プログラム翻訳手段14;パーソナルコンピュータ用原
始言語プログラムR12を翻訳してパーソナルコンピュ
ータ31〜3n用の目的プログラム16を生成する機能
Program translation means 14; a function of translating the personal computer source language program R12 to generate the target program 16 for the personal computers 31 to 3n.

プログラム翻訳手段15;ホストコンピエータ用原始言
語プログラム群13を翻訳してホストコンピュータl用
の目的プログラム17を生成する機能。
Program translation means 15; a function of translating the host computer source language program group 13 to generate the target program 17 for the host computer l.

プログラム実行手段18;ホストコンピュータ1用の目
的プログラム17をホストコンピュータ1において実行
し、データ処理を行う機能。
Program execution means 18: A function for executing the target program 17 for the host computer 1 on the host computer 1 and processing data.

プログラム保存手段311〜3n1;通信回線21〜2
nを介してホストコンピュータ1から送られてきた自分
宛の目的プログラム16を保存する機能。
Program storage means 311-3n1; communication lines 21-2
A function to save the target program 16 sent from the host computer 1 via n.

プログラム実行手段312〜3n2;プログラム保存手
段311〜3nlに保存された目的プログラムを各パー
ソナルコンピュータ31〜3nにおいて実行し、データ
処理を行う機能。
Program execution means 312-3n2: A function for executing the target program stored in the program storage means 311-3nl in each personal computer 31-3n to perform data processing.

次に、第4図はプログラム生成手段11における処理の
詳細を示したフローチャート、第5図および第6図はそ
の際に生成されるパーソナルコンピュータ用原始言語プ
ログラム群12およびホストコンピュータ用原始言語プ
ログラム13の概略的な構成図であり、以下、第4図な
いし第6図に沿ってプログラム生成にかかる動作を説明
する。
Next, FIG. 4 is a flowchart showing the details of the processing in the program generation means 11, and FIGS. 5 and 6 show the personal computer source language program group 12 and host computer source language program 13 generated at that time. This is a schematic configuration diagram of the program generation system, and the operation related to program generation will be described below with reference to FIGS. 4 to 6.

プログラム生成手段11が起動されると、プログラム生
成手段11は、パーソナルコンビエータ用原始言語プロ
グラム群12を生成するために必要なプログラム枠組6
1と、ホストコンピュータ用原始言語プログラム群13
を生成するために必要なプログラム枠組62とを生成し
くステップSL)、[いて、プログラム対応表ファイル
5の全ての要素を読み込む(ステップS2)。
When the program generation means 11 is activated, the program generation means 11 generates the program framework 6 necessary for generating the personal combinator source language program group 12.
1 and host computer source language program group 13
The program framework 62 necessary for generating the program is generated (step SL), and all elements of the program correspondence table file 5 are read (step S2).

次いで、原始言語プログラム群4から1つのプログラム
、例えばプログラム4yを読み込み(ステップS3)、
既に読み込んだプログラム対応表ファイル5のプログラ
ム名項目500〜50x(第3図参照)と比較して同じ
名前を持つプログラム名項目を見つけ出す(ステップS
4)、そして、発見されたプログラム名項目に対応する
目的プログラム出力データ装置記述項目がホストコンピ
ュータ1であるか否か、すなわち、当該プログラム4y
がホストコンピュータlで処理されるべきプログラムで
あるか否かを判断する(ステップS5)。そして、ホス
トコンピュータlで処理すれるべきプログラムである場
合(ステップS5のYES)、既に作成されたプログラ
ム枠組62にプログラム4yの原始言語イメージを展開
する(ステップS6)、続いて、当8亥プログラム4y
がパーソナルコンピュータ31〜3n側で実行されるプ
ログラムから呼び出されるプログラムであるか否かを既
に得られた情報から判断しくステップS?)、該当する
場合(ステップS7のyEs)は、パーソナルコンピュ
ータ31〜3nと対応をとるためのインターフェース原
始言語記述73を生成してプログラム4yの原始言語イ
メージに付加する(ステップS8)、なお、パーソナル
コンピュータ31〜3n側で実行されるプログラムから
呼び出されないプログラムである場合(ステップS7の
No)は上記の処理は行わない0次いで、当該プログラ
ム4yが呼び出すプログラムに対応するプログラム名項
目をプログラム対応表ファイル5を参照して求め(ステ
ップS9)、そのプログラム、例えばプログラム4zが
パーソナルコンピュータ31〜3nにおいて実行される
プログラムであるか否かをプログラム対応表ファイル5
を参照して判断する(ステップ510)、そして、プロ
グラム4zがパーソナルコンピュータ31〜3nにおい
て実行されるプログラムである場合(ステップSIOの
YES) 、パーソナルコンピュータ31〜3nと対応
をとるためのインターフェース原始言語記述74を生成
し、プログラム4y中におけるプログラム4zを呼び出
すための記述と置き換えてプログラム枠組62中に展開
する(ステップ511)。なお、プログラム4zがパー
ソナルコンピュータ31〜3nにおいて実行されるプロ
グラムでない場合(ステップSIOのNO)は上記の処
理は行わない。
Next, one program, for example, program 4y, is read from the source language program group 4 (step S3),
Compare the program name items 500 to 50x (see Figure 3) of the program correspondence table file 5 that have already been read to find a program name item with the same name (step S
4), and whether or not the target program output data device description item corresponding to the discovered program name item is the host computer 1, that is, the program 4y.
It is determined whether or not this is a program to be processed by the host computer l (step S5). If the program is to be processed by the host computer l (YES in step S5), the source language image of the program 4y is developed in the already created program framework 62 (step S6), and then the current program 4y
In step S?, it is determined from the information already obtained whether or not the program is called from a program executed on the personal computers 31 to 3n. ), if applicable (yEs in step S7), an interface source language description 73 for making correspondence with the personal computers 31 to 3n is generated and added to the source language image of the program 4y (step S8). If the program is not called by a program executed on the computer 31 to 3n side (No in step S7), the above process is not performed.Next, the program name item corresponding to the program called by the program 4y is displayed in the program correspondence table. It is determined by referring to the file 5 (step S9), and whether or not the program, for example, the program 4z, is a program to be executed on the personal computers 31 to 3n is determined by referring to the program correspondence table file 5.
(step 510), and if the program 4z is a program to be executed on the personal computers 31 to 3n (YES in step SIO), an interface source language for making correspondence with the personal computers 31 to 3n. A description 74 is generated and expanded into the program framework 62 by replacing the description for calling the program 4z in the program 4y (step 511). Note that if the program 4z is not a program to be executed in the personal computers 31 to 3n (NO in step SIO), the above processing is not performed.

一方、ステップS3で読み込んだプログラム4yがステ
ップS5における判断においてパーソナルコンピュータ
31〜3nにおいて実行されるプログラムであると判断
された場合(ステップS5のNo)は、既に作成された
プログラム枠組61にプログラム4yの原始言語イメー
ジを展開する(ステップ512)、続いて、当該プログ
ラム4yがホストコンピュータ1側で実行されるプログ
ラムから呼び出されるプログラムであるか否かを既に得
られた情報から判断しくステップ513)、該当する場
合(ステップS13のYES)は、ホストコンピュータ
1と対応をとるためのインターフェース原始言語記述7
1を生成してプログラム4yの原始言語イメージに付加
する(ステップ514)、なお、ホストコンピュータ1
側で実行されるプログラムから呼び出されないプログラ
ムである場合(ステップS13のNo)は上記の処理は
行わない0次いで、当該プログラム4yが呼び出すプロ
グラム4zに対応するプログラム名項目をプログラム対
応表ファイル5を参照して求め(ステップ515)、そ
のプログラム4zがホストコンピュータlにおいて実行
されるプログラムであるか否かをプログラム対応表ファ
イル5を参照して判断する(ステップ516)、そして
、プログラム4zがホストコンピュータ1において実行
されるプログラムである場合(ステップSL6のYES
) 、ホストコンピュータ1と対応をとるためのインタ
ーフェース原始言語記述72を生成し、プログラム4y
中におけるプログラム4zを呼び出すための記述と置き
換えてプログラム枠組61中に展開する(ステップ51
7)、なお、プログラム4zがホストコンピュータlに
おいて実行されるプログラムでない場合(ステップS1
6のNo)は上記の処理は行わない。
On the other hand, if it is determined in step S5 that the program 4y read in step S3 is a program to be executed on the personal computers 31 to 3n (No in step S5), the program 4y is added to the already created program framework 61. (step 512), and then it is determined from the information already obtained whether or not the program 4y is called from a program executed on the host computer 1 side (step 513). If applicable (YES in step S13), the interface source language description 7 for making correspondence with the host computer 1
1 is generated and added to the source language image of the program 4y (step 514);
If the program is not called by a program executed on the side (No in step S13), the above process is not performed.Next, the program name item corresponding to the program 4z called by the program 4y is entered in the program correspondence table file 5. The program 4z is determined by referring to the program correspondence table file 5 (step 516), and it is determined whether the program 4z is a program to be executed on the host computer l (step 516). 1 (YES in step SL6)
), generates an interface source language description 72 for correspondence with the host computer 1, and executes the program 4y.
The program 4z is expanded into the program framework 61 by replacing the description for calling it (step 51).
7), if the program 4z is not a program executed on the host computer l (step S1
No. 6) does not perform the above processing.

そして、ステップ318において上記の処理が原始言語
プログラム群4に含まれる全てのプログラムについて行
われたか否かを判断し、行われていない場合にはステッ
プS3に戻って同様の処理を繰り返し、完了している場
合には処理を終了する。
Then, in step 318, it is determined whether the above processing has been performed for all programs included in the source language program group 4, and if it has not been performed, the process returns to step S3 and the same processing is repeated until completion. If so, the process ends.

上記の如き処理を経て生成されたパーソナルコンピュー
タ用原始言語プログラム群12およびホストコンピュー
タ用原始言語プログラム群13は、それぞれプログラム
翻訳手段14.15において翻訳され、目的プログラム
16.17とされる。
The personal computer source language program group 12 and the host computer source language program group 13 generated through the above-described processing are translated by program translation means 14.15, respectively, into target programs 16.17.

そして、目的プログラム16は通信回線21〜2nを介
して対応するパーソナルコンピュータ31〜3nに出力
され、パーソナルコンビエータ31〜3nの内部に設け
られたプログラム保存手段311〜3nlに保存され、
プログラム実行手段312〜3n2により適宜に実行さ
れる。一方、目的プログラム17はホストコンピユータ
1内部のプログラム実行手段18により実行される。な
お、プログラムの実行にあたっては、プログラム生成手
段11において付加ぎhたインターフェース手段(イン
ターフェース原始言語記述に対応)により、通信回線2
1〜2nを介して相互に通信を行いつつ処理が行われ、
最終的に統合された結果が得られる。
The target program 16 is then output to the corresponding personal computers 31 to 3n via the communication lines 21 to 2n, and stored in program storage means 311 to 3nl provided inside the personal combinators 31 to 3n.
The program execution means 312 to 3n2 execute the program as appropriate. On the other hand, the target program 17 is executed by the program execution means 18 inside the host computer 1. In addition, when executing the program, the communication line 2 is
Processing is performed while communicating with each other via 1 to 2n,
The final integrated result is obtained.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のプログラム生成方式にあ
っては、全体として一連のデータ処理を行う1つのメイ
ンプログラムと複数のサブプログラムとを含む原始言語
プログラム群と、この原始言語プログラム群に含まれる
個々のプログラムと当該プログラムを処理するデータ処
理装置との対応関係を設定したプログラム対応表ファイ
ルとを予め作成することにより、プログラム生成手段が
プログラム対応表ファイルを参照して各データ処理装置
に対する原始言語プログラム群を生成し、プログラム翻
訳手段によって目的プログラムを作成した後、各データ
処理装置にその目的プログラムを与えるようにしている
ため、 (11プログラムの開発としては、全体として一連のデ
ータ処理を行う原始言語プログラム群を作成するだけで
よく、各データ処理装置間のインターフェースを全く考
慮しなくて済むため、開発が非常に容易となる。
As explained above, in the program generation method of the present invention, a source language program group including one main program and a plurality of subprograms that perform a series of data processing as a whole, and By creating in advance a program correspondence table file that sets the correspondence between each program to be processed and the data processing device that processes the program, the program generation means can refer to the program correspondence table file and create the source code for each data processing device. After a language program group is generated and a target program is created using a program translation means, the target program is given to each data processing device. It is only necessary to create a group of source language programs, and there is no need to consider the interface between each data processing device, making development extremely easy.

(2)原始言語プログラムは全体として一連のデータ処
理を行い、メインプログラムとサブプログラムとの階層
的な関係で記述されているため、内容を把握するのが非
常に容易である。
(2) Since a source language program as a whole performs a series of data processing and is written in a hierarchical relationship between a main program and subprograms, it is very easy to understand the contents.

(3)データ処理装置の性能間上等の理由によりデータ
処理量をデータ処理装置間で再配分するためにプログラ
ムを変更する場合、プログラム対応表ファイルを変更し
、プログラム生成手段およびプログラム翻訳手段を再度
実行するのみでよいため、作業が非常に簡単である。
(3) When changing a program in order to redistribute the amount of data processing between data processing devices due to reasons such as improving the performance of the data processing devices, change the program correspondence table file and change the program generation means and program translation means. The work is very simple as all you have to do is run it again.

等の効果がある。There are other effects.

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

第1図は本発明のプログラム生成方式を適用した電子計
算機システムの一実施例を示す構成図、第2図は第1図
における原始言語プログラム群の構造図、 第3図は第1図におけるプログラム対応表ファイルの構
造図、 第4図は第1図におけるプログラム生成手段の処理のフ
ローチャート、 第5図は第1図におけるパーソナルコンピュータ用原始
言語プログラム群の構成図および、第6図は第1図にお
けるホストコンピュータ用原始言語プログラム群の構成
図である。 図において、 l・・・・・・ホストコンピュータ 11・・・プログラム生成手段 12・・・パーソナルコンピュータ用原始言語プログラ
ム群 13・・・ホストコンピュータ用原始言語プログラム群 14・・・プログラム翻訳手段 15・・・プログラム翻訳手段 ■6・・・目的プログラム 17・・・目的プログラム 18・・・プログラム実行手段 21〜2n・・・・・・・・・通信回線31〜3n・・
・・・・・・・パーソナルコンピュータ311〜3nl
・・・プログラム保存手段312〜3n2・・・プログ
ラム実行手段4・・・・・・・・・・・・・・・・・・
・・・原始言語プログラム群40〜4x・・・・・・・
・・プログラム5・・・・・・・・・・・・・・・・・
・・・・プログラム対応表ファイル500〜50X・・
・プログラム名項目510〜51X・・・目的プログラ
ム出力データ装置記述項目 61.62・・・プログラム枠組 71〜74・・・インターフェース原始言語記述プログ
ラム対応表ファイルの構造間 第 図 パーソナルコンビエータ用原始言語プログラム群の構成
図第5図 ホストコンビエータ用原始言語プログラム群の構成図第
6図
FIG. 1 is a block diagram showing an embodiment of an electronic computer system to which the program generation method of the present invention is applied, FIG. 2 is a structural diagram of a group of source language programs in FIG. 1, and FIG. 3 is a program diagram in FIG. 4 is a flowchart of the processing of the program generation means in FIG. 1, FIG. 5 is a configuration diagram of the personal computer source language program group in FIG. 1, and FIG. FIG. 2 is a configuration diagram of a host computer source language program group in FIG. In the figure, l...Host computer 11...Program generation means 12...Personal computer source language program group 13...Host computer source language program group 14...Program translation means 15. ...Program translation means ■6...Objective program 17...Objective program 18...Program execution means 21-2n...Communication lines 31-3n...
...Personal computer 311-3nl
...Program storage means 312 to 3n2...Program execution means 4...
...Source language program group 40-4x...
・Program 5・・・・・・・・・・・・・・・・・・
...Program correspondence table file 500-50X...
・Program name items 510 to 51X...Objective program output data Device description items 61.62...Program framework 71 to 74...Interface source language description Program correspondence table Structure diagram of file Personal Combiator source language Configuration diagram of program group Figure 5 Configuration diagram of source language program group for host combiator Figure 6

Claims (1)

【特許請求の範囲】 複数のデータ処理装置を備え、処理を分散し処理結果を
統合して一連のデータ処理を行う電子計算機システムに
おいて、 全体として一連のデータ処理を行う、1つのメインプロ
グラムと複数のサブプログラムとを含む原始言語プログ
ラム群と、 前記原始言語プログラム群に含まれる個々のプログラム
と当該プログラムを処理するデータ処理装置との対応関
係を設定したプログラム対応表ファイルと、 主たるデータ処理装置内に設けられ、前記原始言語プロ
グラム群から個々のプログラムを読み込み、当該プログ
ラムが他のデータ処理装置で実行されるプログラムから
呼び出されあるいは他のデータ処理装置で実行されるプ
ログラムを呼び出す場合に、必要なインターフェース原
始言語記述を付加して各データ処理装置用の原始言語プ
ログラムを生成するプログラム生成手段と、 主たるデータ処理装置内に設けられ、前記プログラム生
成手段により生成された各データ処理装置用の原始言語
プログラムを翻訳して目的プログラムを生成するプログ
ラム翻訳手段と、 主たるデータ処理装置から他のデータ処理装置に対して
目的プログラムを出力する通信装置とを備えたことを特
徴とするプログラム生成方式。
[Claims] In an electronic computer system that includes a plurality of data processing devices and performs a series of data processing by distributing processing and integrating processing results, one main program and a plurality of a source language program group including subprograms; a program correspondence table file that sets the correspondence between each program included in the source language program group and a data processing device that processes the program; and a program correspondence table file in the main data processing device. , which is provided in program generation means for generating a source language program for each data processing device by adding an interface source language description; and a source language for each data processing device provided in a main data processing device and generated by the program generation means. A program generation method comprising: a program translation means for translating a program to generate a target program; and a communication device for outputting the target program from a main data processing device to another data processing device.
JP3193989A 1989-02-10 1989-02-10 Program generating system Pending JPH02211541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3193989A JPH02211541A (en) 1989-02-10 1989-02-10 Program generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3193989A JPH02211541A (en) 1989-02-10 1989-02-10 Program generating system

Publications (1)

Publication Number Publication Date
JPH02211541A true JPH02211541A (en) 1990-08-22

Family

ID=12344941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3193989A Pending JPH02211541A (en) 1989-02-10 1989-02-10 Program generating system

Country Status (1)

Country Link
JP (1) JPH02211541A (en)

Similar Documents

Publication Publication Date Title
JP4014080B2 (en) Digital circuit design apparatus and design method, program, and storage medium
WO2014146024A1 (en) Databases and methods of storing, retrieving, and processing data
CN105573763B (en) A kind of Embedded System Modeling method for supporting RTOS
JPS6334490B2 (en)
Sampson Process-oriented patterns for concurrent software engineering
JPH08314760A (en) Program development supporting device
JPH02211541A (en) Program generating system
Hoshino et al. Region-based reconstruction of an indoor scene using an integration of active and passive sensing techniques
CN117348876B (en) Application development method, system and medium based on freeRTOS embedded system
JPS60134282A (en) System screen display system
CN113220277B (en) Development method and device for embedded service
Lesser Dynamic Control Structures and their use in Emulation
JP2811804B2 (en) Variable output range specification method
JPH06231181A (en) Distributed database control system
JPS5894041A (en) Debug backup device for high-class language
KR970011897B1 (en) Words interpretating device
Walters et al. Strategy for an Extensible Microcomputer-Based Mumps System for Private Practice
Wilson Operating system design for large personal workstations
Yamashita Object-oriented system integration in process engineering environment
Plachetka Unifying framework for message passing
JPH0498529A (en) Back-up system for preparation of program
JPH05233231A (en) Method for managing library
Baer et al. High-Level Programming Framework for Executing Streaming Applications on Heterogeneous OpenCL Platforms
Lesny FASTBUS Diagnostic Language users manual. Version 3 (74)
Hodgkinson Practical uses of operators in Sharp APL/HP