JPH02156330A - Software parts developing system - Google Patents

Software parts developing system

Info

Publication number
JPH02156330A
JPH02156330A JP30873688A JP30873688A JPH02156330A JP H02156330 A JPH02156330 A JP H02156330A JP 30873688 A JP30873688 A JP 30873688A JP 30873688 A JP30873688 A JP 30873688A JP H02156330 A JPH02156330 A JP H02156330A
Authority
JP
Japan
Prior art keywords
description
software
parts
meta
software parts
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
JP30873688A
Other languages
Japanese (ja)
Inventor
Yoshihisa Otake
能久 大嶽
Hiroyuki Mizutani
博之 水谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP30873688A priority Critical patent/JPH02156330A/en
Publication of JPH02156330A publication Critical patent/JPH02156330A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate maintenance and management of a software parts group and its concreting procedures by providing meta description in a part of software parts to easily recognize connection relations between software parts and lower-order parts. CONSTITUTION:Structure description to describe software parts is provided with a meta description part to select adoption or rejection of the description, and meta description of (map: X) or the like to evaluate essential description of each selection object X is used for the selection object in accordance with request specifications to develop and concrete processing contents desciprion of structure description. Thus, the general level of structure description which describes software parts is raised, and reduction of the number of parts, retrieval of parts, and maintenance and correction of a system are facilitated.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明はプログラム合成システムなどにおいて使用され
るソフトウェア部品展開方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a software component expansion method used in a program synthesis system and the like.

(従来の技術) 一般に、プログラム自動合成システム用のソフトウェア
部品は、1つずつが出来得る限り広い範囲の要求に対し
て適用可能となるように定義される。ソフトウェア部品
のこのような汎用性は部品定義中のソフトウェアとして
の処理内容の記述の一部を、要求仕様の変化に対応させ
るための可変部として、パラメータ化することによって
得られる。これをソフトウェア部品の汎用化と呼び、ソ
フトウェア部品記述中のパラメータ化された部分を泥化
パラメータと呼ぶ。
(Prior Art) Generally, software components for an automatic program synthesis system are defined so that each one can be applied to as wide a range of requirements as possible. Such versatility of a software component can be obtained by parameterizing a part of the description of the software processing content in the component definition as a variable part for responding to changes in required specifications. This is called generalization of the software component, and the parameterized part in the software component description is called the muddled parameter.

従来は、この泥化パラメータを要求仕様に応じて具体化
する方法と、ソフトウェア部品の定義とは別々に定義さ
れていた。
Conventionally, the method for implementing this muddying parameter according to required specifications and the definition of software components have been defined separately.

(発明が解決しようとする課題) しかしながらこのように、ソフトウェア部品の定義と、
泥化パラメータを要求仕様に応じて具体化する方法とが
個別に定義されていたので、パラメータの泥化レベルを
あまり高くできず、また部品の定義だけを見てもそれが
要求仕様に対応してどのように変換されるのか分かりに
くく、また両者間の整合がとりにくいなどの問題があっ
た。
(Problem to be solved by the invention) However, in this way, the definition of software components,
Since the methods for embodying the muddying parameters according to the required specifications were defined individually, the muddying level of the parameters could not be set too high, and even if you looked only at the definition of the part, it was difficult to see if it corresponded to the required specifications. There were problems such as it was difficult to understand how the data was converted, and it was difficult to maintain consistency between the two.

本発明は上記の事情に鑑み、ソフトウェア部品の泥化レ
ベルを高くすることができ、これによって部品数を削減
し、部品の検索を容易にし、さらにシステムの保守、修
正を容易にすることができるソフトウェア部品展開方式
を提供することを目的としている。
In view of the above circumstances, the present invention can increase the level of muddiness of software components, thereby reducing the number of components, making it easier to search for components, and further facilitating system maintenance and modification. The purpose is to provide a software component deployment method.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 上記の目的を達成するために本発明によるソフトウェア
部品展開方式は、処理内容を示す記述と、この記述を取
捨選択するメタ記述とによってソフトウェア部品を定義
し、要求仕様に応じて前記メタ記述処理し前記処理内容
の記述を展開・具体化することを特徴としている。
(Means for Solving the Problem) In order to achieve the above object, the software component deployment method according to the present invention defines a software component by a description indicating processing content and a meta description for selecting this description, and The present invention is characterized in that the meta-description process is performed in accordance with specifications, and the description of the process content is developed and made concrete.

(作用) 上記の構成において、ソフトウェア部品の一部にメタ記
述を設けて処理内容の取捨選択を行なえるようにし、こ
れによってこのソフトウェア部品と下位部品との連結関
係の把握を容易にし、ソフトウェア部品群のおよびその
具体化手続きの保守、管理を容易にする。
(Function) In the above configuration, a meta description is provided in a part of the software component so that processing contents can be selected. Facilitate maintenance and management of groups and their instantiation procedures.

(実施例) 以下、プログラマブル・コントローラ用のラダープログ
ラムを例にとって本発明によるソフトウェア部品展開方
式を説明する。
(Embodiment) Hereinafter, a software component development method according to the present invention will be explained using a ladder program for a programmable controller as an example.

まず、シーケンス制御プログラムにおいては、運転モー
ドや操作場所などの選択をするプログラムがある。
First, among sequence control programs, there is a program for selecting an operation mode, an operation location, and the like.

これらのプログラムは通常、ある条件が成立している間
、出力をオン状態に保持して何等かの対象を選択すると
いう同一の機能を果たすものであり、それらには共通の
論理構造がある。
These programs typically perform the same function of selecting some object by keeping an output on while a certain condition is met, and they have a common logical structure.

このような類似ソフトウェア間に共通する論理構造は、
例えば第1図に示す如く記述することができる。
The logical structure common to such similar software is
For example, it can be described as shown in FIG.

この図に示す構造記述中、(map: :<1ocal
−variable〉cbody−f’orm><al
ternative〉)はメタ記述の1つで、個々の選
択対象<alternative>について、その本体
記述<body−「orm>を評価させることを示すも
のである。
In the structural description shown in this figure, (map: :<1ocal
-variable>cbody-f'orm><al
ternative>) is one of the meta descriptions, and indicates that the body description <body-"orm> is to be evaluated for each selection target <alternative>.

また、Xは個々の選択対象を、それに基づいた本体記述
の評価中、記憶させておくための局所変数clocal
−variable〉である。また、(between
 : A)B;C)は、Aが成立してからBが成立する
まで、かつCが成立しているという条件を表わす記述で
ある。さらに、(*G*  選択指令受理)$(*G*
  選択指令解除)$(*G*  絶対条件)は記述を
簡素にするために、ある意味的なまとまりをもった機能
単位をまとめた下位部品の指定記述であり、その下位部
品の展開結果でこの記述は置き換えられる。
In addition, X is a local variable local to store each selection target while evaluating the body description based on it.
-variable>. Also, (between
: A)B;C) is a description that expresses the condition that C is satisfied after A is satisfied until B is satisfied. Furthermore, (*G* selection command accepted) $(*G*
To simplify the description, $(*G* absolute condition) is a specification description of a lower-level part that summarizes functional units with a certain semantic coherence, and this is the expansion result of the lower-level part. The description is replaced.

例えば、(零〇本  選択指令受理)に対する下位部品
は、第2図に示すような記述によって構成される。
For example, the lower part for (0 pieces selection command accepted) is configured by the description shown in FIG.

この図に示す下位部品記述中、(case: :cke
y−「。
In the lower part description shown in this figure, (case: :cke
y-“.

rIn>(((くkey>*)*くkey>l cfo
rm>*)り$(when: :ctest−fora
+><body−[’or+g))もまたメタ記述で、
前者は与えられた要求仕様に基づいて生成される<ke
y−f’orI〉にマツチする<key〉以下の<f’
orm>によって置換される記述であり、後者は<te
st−form>による条件が与えられた要求仕様の下
で成立するならば、<body−f’orm>によって
置換される記述である。この記述中にも更1ど下位の機
能構成要素部品を指定する(零〇*自選択指令)などの
記述が含まれている。
rIn>(((kukey>*)*kukey>l cfo
rm>*)ri$(when: :ctest-fora
+><body-['or+g)) is also a meta description,
The former is generated based on the given requirement specifications.
<f' below <key> that matches y-f'orI>
orm>, the latter is replaced by <te
This is a description that is replaced by <body-f'orm> if the condition based on <body-f'orm> is satisfied under a given requirement specification. This description also includes descriptions such as specifying a lower functional component component (zero * self-selection command).

以下、同様にして他の下位部品を記述し、メタ記述も、
下位部品の指定も含まないソフ!・ウェア記述が得られ
たならば、言語コンバータによってこれを目標言語に変
換すれば、実行可能かつ要求仕様に対応したプログラム
を完成させることができる。
Below, other lower-level parts are described in the same way, and the meta description is also
Software that does not even include the specification of lower-level parts! - Once the software description is obtained, by converting it into the target language using a language converter, it is possible to complete a program that is executable and corresponds to the required specifications.

次に第3図を参照しながら上述したソフトウェア部品の
展開原理手順に基づいた実際の処理手順の一例を説明す
る。
Next, an example of an actual processing procedure based on the above-mentioned software component development principle procedure will be explained with reference to FIG.

まず、上述したような構造を持つ複数のソフトウェア部
品を予め登録しておく。
First, a plurality of software components having the above-described structure are registered in advance.

そして、要求仕様に応じて適用可能なソフトウェア部品
を検索して抽出する(ステップ5TI)。
Then, applicable software components are searched and extracted according to the required specifications (step 5TI).

この後、このソフトウェア部品の構造記述中のメタ記述
処理を処理して、適切なソフトウェア記述に展開する(
ステップ5T2)。
After this, the meta description process in the structural description of this software component is processed and developed into an appropriate software description (
Step 5T2).

そして、ソフトウェア部品を記述している(j4造記述
中のメタ記述部分の処理が完了したら(ステップ5T3
)、このソフトウェア部品を記述している構造記述中の
下位部品の指定記述部分の処理を行ない、下位部品の部
品記述を指定の記述と置き換える(ステップ5T4)。
Then, when the processing of the meta description part in the software component description is completed (step 5T3
), processes the designated description portion of the lower component in the structure description that describes this software component, and replaces the component description of the lower component with the designated description (step 5T4).

この後、下位部品の処理が完了したら(ステップ5T5
)、この下位部品中にメタ記述が含まれているかどうか
をチエツクしくステップ5T6)、メタ記述が含まれて
いれば一1最初の処理に戻って上述した処理をやり直す
After this, when the processing of the lower parts is completed (step 5T5
), check whether a meta description is included in this lower-level component (step 5T6); if a meta description is included, return to the first step and repeat the above-mentioned process.

そして、メタ記述を含まないソフトウェア部品および下
位部品が得られたら、これらを言語コンバータによって
目的言語に変換し、要求仕様に応じたソフトウェア部品
を作成する(ステップ5T7)。
When software components and lower-level components that do not include meta-descriptions are obtained, they are converted into the target language by a language converter to create software components according to the required specifications (step 5T7).

このようにこの実施例においては、ソフトウェア部品を
記述する構造記述中に、その記述の取捨選択を行なうメ
タ記述部分を設け、要求仕様に応じて前記メタ記述を利
用して前記構造記述中の処理内容記述を展開、具体化す
るようにしたので、ソフトウェア部品を記述する構造記
述の泥化レベルを高くすることができ、これによって部
品数を削減し、部品の検索を容易にし、さらにシステム
の保守、修正を容易にすることができる。
In this way, in this embodiment, a meta description part is provided in the structural description that describes the software component to select the description, and the process in the structural description is performed using the meta description according to the required specifications. Since the content description is developed and made concrete, it is possible to increase the level of muddiness of the structural description that describes software components, thereby reducing the number of components, making it easier to search for components, and further improving system maintenance. , which can facilitate modification.

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

以上説明したように本発明によれば、ソフトウェア部品
の泥化レベルを高くすることができ、これによって部品
数を削減し、部品の検索を容易にし、さらにシステムの
保守、修正を容易にすることができる。
As explained above, according to the present invention, it is possible to increase the level of muddiness of software components, thereby reducing the number of components, making it easier to search for components, and further facilitating maintenance and modification of the system. Can be done.

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

第1図は本発明によるソフトウェア部品展開方式の一実
施例を説明するための模式図、第2図は同実施例を説明
するための模式図、第3図は同実施例を説明するための
フローチャートである。
FIG. 1 is a schematic diagram for explaining an embodiment of the software component deployment method according to the present invention, FIG. 2 is a schematic diagram for explaining the embodiment, and FIG. 3 is a schematic diagram for explaining the embodiment. It is a flowchart.

Claims (1)

【特許請求の範囲】[Claims] (1)処理内容を示す記述と、この記述を取捨選択する
メタ記述とによってソフトウェア部品を定義し、要求仕
様に応じて前記メタ記述処理し前記処理内容の記述を展
開・具体化することを特徴とするソフトウェア部品展開
方式。
(1) A software component is defined by a description indicating processing content and a meta-description that selects this description, and the meta-description is processed according to the required specifications to develop and embody the processing content description. Software component deployment method.
JP30873688A 1988-12-08 1988-12-08 Software parts developing system Pending JPH02156330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30873688A JPH02156330A (en) 1988-12-08 1988-12-08 Software parts developing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30873688A JPH02156330A (en) 1988-12-08 1988-12-08 Software parts developing system

Publications (1)

Publication Number Publication Date
JPH02156330A true JPH02156330A (en) 1990-06-15

Family

ID=17984668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30873688A Pending JPH02156330A (en) 1988-12-08 1988-12-08 Software parts developing system

Country Status (1)

Country Link
JP (1) JPH02156330A (en)

Similar Documents

Publication Publication Date Title
JPH02264329A (en) Automatic program generating device
JPH04137039A (en) Automatic program generating system
JPH02156330A (en) Software parts developing system
JPS63123102A (en) Digital control system for fuzzy inference
US6597355B1 (en) Automatic recognition and suppression of complex interacting holes
JPH0667871A (en) Automatic program updating system
JPH11202908A (en) Control drawing device
JPH05297923A (en) Tool path data creating device
JPH0362227A (en) High speed retranslation processing system
JP3637606B2 (en) Data processing device
JPH02267632A (en) Retranslation processing system
JPH0553815A (en) Supporting system in inference device
JP2595815B2 (en) Program correction amount judgment processing device
JPH01191233A (en) Automatic program generating system
JPS62187940A (en) Loop processing control system
JP4258826B2 (en) Function block variable setting method
JPH02287737A (en) Automatic designing system for test item
JPH03292534A (en) Knowledge processing method
JPH09146766A (en) Method for changing class structure
JPH0498533A (en) Automatic program generating device with macroblock diagram processing function
JPH02115933A (en) Interactive rule preparing system
JPH04148328A (en) State transition converter
JPH04293128A (en) Expert system
JPH01282605A (en) Program automatic preparing device
JPS62159235A (en) List processing system