JP2013069086A - Software component combination support device - Google Patents
Software component combination support device Download PDFInfo
- Publication number
- JP2013069086A JP2013069086A JP2011206728A JP2011206728A JP2013069086A JP 2013069086 A JP2013069086 A JP 2013069086A JP 2011206728 A JP2011206728 A JP 2011206728A JP 2011206728 A JP2011206728 A JP 2011206728A JP 2013069086 A JP2013069086 A JP 2013069086A
- Authority
- JP
- Japan
- Prior art keywords
- software
- relationship
- software component
- information
- facility
- 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.)
- Withdrawn
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
設備を制御する制御ソフトウェアを既存のソフトウェア部品組合せによって開発するソフトウェア開発において、ソフトウェア部品の最適な組合せパターンを提示するソフトウェア部品組合せ支援装置に関する。 The present invention relates to a software component combination support apparatus that presents an optimal combination pattern of software components in software development in which control software for controlling equipment is developed using existing software component combinations.
近年、多様なユーザニーズ対応のための少量多品種製品の開発を可能にする製品系列開発技術が注目を浴びている。 In recent years, product line development technology that enables the development of small-quantity, multi-product products to meet various user needs has attracted attention.
製品系列開発技術は、製品のロードマップから製品共通の部分、製品毎に可変の部分を可変性分析により明確にし、共通の部分のフレームワーク化、可変の部分のソフトウェア部品化を可能にする技術である。この技術を用いた結果、可変部分のソフトウェア部品組合せのみでソフトウェア製品を開発できるようになる ソフトウェア部品間には暗黙の依存関係があるため、開発時にそれを無視してソフトウェア部品を組み合わせると予期せぬ不具合が発生することがある。
この問題を解決する手段として、最適だと思われるソフトウェア部品の組合せを提示する装置がある。
Product series development technology is a technology that makes it possible to clarify common parts of products and variable parts for each product by variability analysis from the product roadmap, and to make common parts a framework and variable parts as software components. It is. As a result of using this technology, software products can be developed using only software component combinations of variable parts. Since there are implicit dependencies between software components, it is expected that software components will be combined while ignoring them. May cause malfunctions.
As a means for solving this problem, there is an apparatus that presents a combination of software components that seems to be optimal.
特許文献1には、各ソフトウェア部品を数値化して座標平面上に配置し、座標平面上の距離でソフトウェア部品をグループ化し、同じグループのソフトウェア部品を同時に使用する組合せパターンを優先的に提示する装置が開示されている。この装置により、過去のソフトウェア部品の利用実績という統計情報をもちいて少なくとも過去の実績の中では最適なソフトウェア部品組合せパターンを提示することが可能になる。 Japanese Patent Application Laid-Open No. 2004-151867 discloses a device that preferentially presents a combination pattern in which each software component is digitized and arranged on a coordinate plane, the software components are grouped by a distance on the coordinate plane, and the software components of the same group are used simultaneously. Is disclosed. With this apparatus, it is possible to present an optimum software component combination pattern at least in the past results using statistical information of past use results of software components.
しかしながら、上記特許文献1に記載の技術では、ソフトウェア部品の組合せ方を過去の統計から導出するため、精度を高めるためには数多くの開発実績を集める必要があり、適用できるようになるまでに時間がかかる。
However, since the technique described in
また、特許文献1に記載の技術では、過去の実績上必然的に一緒に使用されたソフトウェア部品と偶然一緒に使用されたソフトウェア部品を区別できないため、必要のない組合せまたは不具合を起こす組合せを許容してしまうことになる。
In addition, the technology described in
そこで、数少ない開発実績でも確実にソフトウェア部品間の関係を抽出し、関連あるソフトウェア部品による組合せパターンの提示が可能なソフトウェア部品組合せ支援技術が求められている。 Therefore, there is a need for a software component combination support technology that can reliably extract the relationship between software components even with a small number of development results and present a combination pattern using related software components.
本発明は上記課題を解決するために、設備制御用ソフトウェアを構成する複数のソフトウェア部品のうち関連性のあるソフトウェア部品の組み合わせを抽出するソフトウェア部品組合せ抽出支援装置における方法であって、前記ソフトウェア部品組合せ抽出支援装置は、製品設計情報データベースと、直接的関係抽出部を有し、前記製品設計情報データベースは、前記設備制御用ソフトウェアによって実行される一以上の処理各々について、当該処理と、当該処理を実行するソフトウェア部品と、当該ソフトウェア部品が作用する設備と、を対応付けて登録した処理フロー情報、を有し、前記直接的関係抽出部が、前記処理フロー情報を取得するステップと、前記処理フロー情報に基づき、前記処理フロー情報で指定される複数のソフトウェア部品から同じ設備に作用するソフトウェア部品の組み合わせを直接的同時選択の関係にあるソフトウェア部品の組み合わせとして抽出するステップと、を備える。 In order to solve the above-mentioned problem, the present invention provides a method in a software component combination extraction support apparatus for extracting a combination of related software components from among a plurality of software components constituting equipment control software, the software component The combination extraction support apparatus includes a product design information database and a direct relationship extraction unit, and the product design information database includes, for each of one or more processes executed by the facility control software, the process and the process And the processing flow information registered by associating the software component that executes the software component and the facility on which the software component operates, the direct relationship extracting unit acquiring the processing flow information, and the processing Based on the flow information, a plurality of software specified by the processing flow information is obtained. Comprising extracting a combination of software components that act on the same equipment from the component as a combination of software components that are in a relationship of direct simultaneous selection, the.
本発明によれば、数少ない開発実績でもソフトウェア部品の関係を抽出することができる。 According to the present invention, the relationship between software components can be extracted even with a small number of development results.
図2は、本発明の一実施形態に係るソフトウェア部品組合せ支援装置のハードウェア構成例を示す図である。 FIG. 2 is a diagram illustrating a hardware configuration example of the software component combination support apparatus according to the embodiment of the present invention.
ソフトウェア部品組合せ支援装置200は、CPU201、表示装置202、入力装置203、メモリ204、外部記憶装置205から構成される。CPU201は、外部記憶装置205に保持されるプログラムおよびデータをメモリ204上に読込み、ソフトウェア部品の組合せ支援に関する処理を実行し、最適なソフトウェア部品組合せを出力する。表示装置202は、CPU201の出力結果をユーザに表示する。入力装置203は、ユーザからの製品情報入力を受け付ける。メモリ204は、主記憶装置であり、CPU201が実行するためのプログラムおよびデータを読み込む。外部記憶装置205は、補助記憶装置であり、実行に必要なプログラムおよびデータを保持する。
The software component
図1は、本発明の一実施形態に係るソフトウェア部品組合せ支援装置のソフトウェア構成例を示すブロック図である。 FIG. 1 is a block diagram showing a software configuration example of a software component combination support apparatus according to an embodiment of the present invention.
ソフトウェア部品組合せ支援装置200は、製品処理フロー情報登録部101、製品連動関係情報登録部102、製品処理否定関係情報登録部103、直接的依存関係抽出部105、間接的依存関係抽出部106、依存関係結合部108、組合せパターンソート表示部109、部品フィードバック部110のプログラムおよび全製品設計情報DB104、部品間依存関係DB107のデータから構成される。これらプログラムおよびデータは、前記外部記憶装置205に保持される。製品処理フロー情報登録部101は、製品開発毎にユーザの入力により得られる処理フロー情報を全製品設計情報DB104に格納する。また、オプションとして製品実行ログから処理フロー情報を自動生成することも可能である。製品連動関係情報登録部102は、製品開発毎にユーザの入力により得られる連動関係情報を全製品設計情報DB104に格納する。製品処理否定関係情報登録部103は、製品開発毎にユーザの入力により得られる処理否定関係情報を全製品設計情報DB104に格納する。
The software component
直接的依存関係抽出部105は、全製品設計情報DB104に格納されている処理フロー情報を用いて(直接的な)ソフトウェア部品間の依存関係を抽出する。間接的依存関係抽出部106は、全製品設計情報DB104に保持される処理フロー情報および連動関係情報を用いて(間接的な)ソフトウェア部品間の依存関係を抽出し、(直接的な)ソフトウェア部品間の依存関係と合わせて部品間依存関係DB107に格納する。ソフトウェア部品間の依存関係として、例えば、製品開発時にソフトウェア部品を両方とも使用するまたは両方とも使用しない同時選択関係(XNOR)や、どちらか一方のみ使用する排他選択関係(XOR)などを抽出できる。なお、同時選択関係の「同時」とは、時間的な同時を意味するものではない。
The direct dependency
依存関係結合部108は、部品間依存関係DB107に格納されている部品間依存関係情報を取得して結合することで、暗黙的に存在する依存関係を抽出する。例えば、部品A、部品B、部品C、部品Dの4つのソフトウェア部品があり、部品Aと部品B、部品Cと部品Dの間にそれぞれ排他選択関係(XOR)が存在し、部品Bと部品Cの間に同時選択関係(XNOR)が存在する場合に、これらを結合することで、部品Aと部品D間の関係として暗黙の同時選択関係(XNOR)を抽出することができる。また別の例として,部品A,部品B,部品Cの3つのソフトウェア部品があり,部品Aと部品B,部品Bと部品Cの間にそれぞれ同時選択関係(XNOR)が存在する場合に,部品Aと部品Cの間の関係として暗黙の同時選択関係(XNOR)を抽出することができる。さらに別の例として,部品A,部品B,部品C,部品Dの4つのソフトウェア部品があり,部品Aと部品B,部品Bと部品C,部品Cと部品Dの間にそれぞれ排他選択関係(XOR)が存在する場合,部品Aと部品Cおよび部品Bと部品Dの間の関係として暗黙の同時選択関係(XNOR)をそれぞれ抽出することができる。
The dependency
組合せパターンソート表示部109は、依存関係結合部108で結合した依存関係を用いて依存関係を満たす全ての組合せパターンを作成し、新しく開発する製品の連動関係情報を用いて、全ての組合せパターンから新製品における連動関係情報を満たす最適なソフトウェア部品の組合せパターンを選択し、ユーザに表示する。例えば,設備1,設備2,設備3の3つの設備とそれらの設備にアクセスする3つのソフトウェア部品として部品A,部品B,部品Cがある場合について説明する。前提として,部品Aは設備1,部品Bは設備2,部品Cは設備3にのみアクセスし,新しく開発する製品の連動関係情報として設備1と設備2の間の連動関係が定義されているものとする。ここで,各部品を利用するor利用しないの選択ができるので,部品の全組合せは,2x2x2=8パターンある。8パターンのうち,設備1と設備2の間の連動関係を満たすパターン,すなわちそれらの設備にアクセスする部品Aと部品Bを同時に利用するパターンである(部品A,部品B),(部品A,部品B,部品C)の2パターンが最適なソフトウェア部品の組合せパターンとして抽出される。複数候補が抽出された場合には,最終的に人手で選択することになるが,連動関係の数が多い程候補数は限られることになる。
The combination pattern
部品フィードバック部110は、前記依存関係結合部108で結合した依存関係を用いて、ソフトウェア部品の粒度を見直し、全製品設計情報DB104の処理フロー情報を更新する。例えば、直接的同時選択関係(XNOR)および間接的同時選択関係(XNOR)にあるソフトウェア部品群は、必ず同じ製品で使用されるため管理上1つのソフトウェア部品とみなすことができる。そのため、1つのソフトウェア部品として登録しなおすことで部品選択の手間を減らすことができる。
The
図3は、全製品設計情報DBに保持される処理フローの一例を示す図である。処理フロー情報300は、処理名称301、設備種別302、設備ID303、ソフトウェア部品名称304から構成され、1処理1行として複数の処理の順番を記載することができる。例えば、制御ソフトウェアでは、設備を参照または更新する単位を1処理とすることができる。処理名称301には、実行する処理の名称を実行順に記載する。設備種別302には、処理名称301の各行で記載した処理が実行中にアクセスする設備の種別を記載する。設備ID303には、対象の設備を一意に特定する識別情報を記載する。ソフトウェア部品名称304には、処理名称301が実装されるソフトウェア部品の名称を記載する。例えば、列車の運行管理において、信号機やてこの状態を監視して、列車の在線状況や駅の状態を判断し、問題がなければ信号機やてこの状態を制御し、列車の進行を促す一連の流れを、複数処理として処理フロー情報内に記述することができる。一般的に設備の制御に関係するシステムは、設備監視、状況判断、設備制御の有限の処理フローを1セットとして、複数セットの処理フローから構成される。そのため、有限個数の処理が記載された複数の処理フロー情報を用いてこれらのシステムを表現することが可能である。ソフトウェア部品名称304は、初期値は1処理につき1ソフトウェア部品ということで設定するが、後記部品フィードバック部によりこの粒度は適宜更新することができる。
FIG. 3 is a diagram illustrating an example of a processing flow held in the all product design information DB. The
図4は、製品処理フロー情報入力部で使用する処理フロー情報を自動生成する場合に使用する実行ログの一例を示す図である。実行ログ400は、例えば処理を実行した時刻、処理名称、処理がアクセスした設備の設備名称および設備番号から構成される。処理を実行した時刻を記載することで処理の実行順序と実行ログの記載順序の違いを直すことが可能になる。また、設備名称としてNULL値を設定することで、設備にアクセスする本質的な処理とは関係のない補足的な処理の除外が可能になる。
FIG. 4 is a diagram illustrating an example of an execution log used when processing flow information used in the product processing flow information input unit is automatically generated. The
図5は、全製品設計情報DBに格納される連動関係情報の一例を示す図である。連動関係情報500は、例えば対象設備501に対する設備名称、設備番号と、対象設備501と連動する関係にある連動設備502に対する設備名称、設備番号から構成される。連動関係情報500には、1つの連動関係を1行として複数行記載する。例えば、列車運行管理に関する設備として、駅の場内への入場を許可する場内信号機が動作すると、それと同時に線路の方向を決める転てつ器が動作するがその連動関係を1つの連動関係として連動関係情報に1行に記述することが可能である。
FIG. 5 is a diagram illustrating an example of interlocking relationship information stored in the all product design information DB. The interlocking
図6は、全製品設計情報DBに格納される処理否定関係情報の一例を示す図である。処理否定関係情報600は、例えば処理名称601と、対象となる処理の処理名称601と否定関係にある処理の処理名称602から構成される。処理否定関係情報600には、処理間の関係が否定関係にあるものを記載する。ここで、否定関係とは、処理結果として現れる設備の状態が正反対であることを指す。例えば、列車運行管理において、設備がとりうる状態値がON/OFFの2値であることが多く、設備の状態をONにする処理と設備の状態をOFFにする処理の間の関係を否定関係として定義することができる。この否定関係にある処理は同時に使用されることはなく、これを否定関係処理情報600として記載しておくことで、排他選択関係を抽出する際に活用することができる。
FIG. 6 is a diagram illustrating an example of processing negative relationship information stored in the all product design information DB. The process
図7は、部品間依存関係DBに保持される部品間依存関係情報の一例を示す図である。部品間依存関係情報700は、例えば依存関係の種別を表す依存関係種別701と依存関係にあるソフトウェア部品集合を個別に定義する部品名称702、703、704から構成される。部品間依存関係情報700には、1依存関係1行として複数行ソフトウェア部品間の依存関係を記載する。例えば、部品1と部品8が同時選択関係(XNOR)にある場合に、その依存関係を1行として部品間依存関係情報に記載することができる。
FIG. 7 is a diagram illustrating an example of inter-component dependency relationship information held in the inter-component dependency DB. The inter-component
図8は、部品フィードバック部によりソフトウェア部品の粒度を更新した後の処理フロー情報の一例を示す図である。処理フロー情報800は、前記処理フロー情報300と構成は同じである。処理フロー情報300では、1ソフトウェア部品あたり1処理としてソフトウェア部品項目を設定していた。処理フロー情報800に示す例は、図7に示す依存関係がある場合に、図7の1行目および2行目に記載するXNOR関係のうち、同一設備を制御するソフトウェア部品をそれぞれ1つの部品とみなして、処理フロー情報300の部品粒度を見直したものである。例えば、部品1と部品8が同時選択関係(XNOR)にある場合に、部品1と部品8は1つの部品とみなすことができるので、処理フロー情報300の部品8を部品1と設定しなおす。このように処理フロー情報のソフトウェア部品項目を可変とすることにより、ソフトウェア部品粒度の最適化が可能となる。
FIG. 8 is a diagram illustrating an example of processing flow information after the granularity of the software component is updated by the component feedback unit. The
図9は、ソフトウェア部品間依存関係として同時選択関係(XNOR)を抽出するフローの一例を示す図である。 FIG. 9 is a diagram illustrating an example of a flow for extracting a simultaneous selection relationship (XNOR) as a dependency relationship between software components.
直接的依存関係抽出部で実行開始(ステップ901)した後、全製品設計情報DBから連動関係情報の取得(ステップ902)と処理フロー情報の取得(ステップ903)を行う。取得した処理フロー情報内の処理のうち、同じ設備にアクセスする処理群を選択し、選択した各処理に対応するソフトウェア部品をそれぞれ抽出し、これらの部品を直接的同時選択関係としてグループ化する(ステップ904)。 After the execution is started by the direct dependency relationship extraction unit (step 901), the link relationship information is acquired (step 902) and the processing flow information is acquired (step 903) from the all product design information DB. Of the processes in the acquired process flow information, select a process group that accesses the same equipment, extract software components corresponding to each selected process, and group these parts as a direct simultaneous selection relationship ( Step 904).
続いて間接的依存関係抽出部で、取得済みの連動関係情報を参照し、前記直接的同時選択関係を抽出する上でキーとなった設備と連動関係にある設備を取得する。そして、連動関係にある設備をアクセスするソフトウェア部品群を間接的同時選択関係としてグループ化する(ステップ905)。以降ステップ904およびステップ905を処理フロー情報に含まれる全設備に対して行う。上記処理を行った後、前記直接的同時選択関係および間接的同時選択関係のグループをまとめてXNOR依存関係として全製品設計情報DBに格納する(ステップ906)。以降ステップ903からステップ906を製品の処理フロー情報の数だけ実行する。
Subsequently, an indirect dependency relationship extraction unit refers to the acquired link relationship information, and acquires a facility that is linked to the facility that is the key in extracting the direct simultaneous selection relationship. Then, software component groups that access the interlocking facilities are grouped as an indirect simultaneous selection relationship (step 905). Thereafter,
図10は、ソフトウェア部品間依存関係として排他選択関係(XOR)を抽出するフローの一例を示す図である。 FIG. 10 is a diagram illustrating an example of a flow for extracting an exclusive selection relationship (XOR) as a dependency relationship between software components.
直接的依存関係抽出部で実行開始(ステップ1001)した後、全製品設計情報DBから連動関係情報と処理否定関係情報を取得し(ステップ1002)、合わせて1製品分の処理フロー情報を取得する(ステップ1003)。1製品分の処理フロー情報からその製品で使用したソフトウェア部品である適用済ソフトウェア部品群を抽出する(ステップ1004)。続いて、全設計情報DBから前記製品で使用していないソフトウェア部品である未適用ソフトウェア部品群を抽出する(ステップ1005)。前記適用済ソフトウェア部品群と未適用ソフトウェア部品群から任意のソフトウェア部品を選んでソフトウェア部品のペアを作成する(ステップ1006)。前記ソフトウェア部品のペアのうち、それぞれのソフトウェア部品が同じ設備にアクセスするペアを直接的排他選択関係候補として設定する(ステップ1007)。そして、取得済みの処理否定関係情報を参照し、直接的排他選択関係候補のペアであるソフトウェア部品それぞれに紐づく処理が否定関係にあるものをXOR依存関係として設定する(ステップ1008)。 After starting the execution by the direct dependency extraction unit (step 1001), the interlocking relationship information and the processing negative relationship information are acquired from the all product design information DB (step 1002), and the processing flow information for one product is acquired together. (Step 1003). An applied software component group that is a software component used in the product is extracted from the processing flow information for one product (step 1004). Subsequently, an unapplied software component group that is a software component that is not used in the product is extracted from the entire design information DB (step 1005). A software component pair is created by selecting an arbitrary software component from the applied software component group and the unapplied software component group (step 1006). Among the pairs of software components, a pair in which each software component accesses the same facility is set as a direct exclusive selection candidate (step 1007). Then, with reference to the acquired processing negation relationship information, the processing associated with each software component that is a direct exclusive selection relationship candidate pair is set as a XOR dependency relationship (step 1008).
続いて間接的依存関係抽出部で、取得済み連動関係情報を参照し、前記ステップ1006で作成したペアのうち、ステップ1008で直接的排他選択関係として設定されなかったソフトウェア部品のペアのうち、それぞれのソフトウェア部品がアクセスする設備が連動関係にあるペアを間接的排他選択関係として設定する(ステップ1009)。
Subsequently, the indirect dependency relationship extraction unit refers to the acquired interlocking relationship information, and among the pairs of software components that are not set as the direct exclusive selection relationship in
200 …ソフトウェア部品組合せ支援装置、
101 …製品処理フロー情報登録部、
102 …製品連動関係情報登録部、
103 …製品処理否定関係情報登録部、
104 …全製品設計情報DB、
105 …直接的依存関係抽出部、
106 …間接的依存関係抽出部、
107 …部品間依存関係DB
108 …依存関係結合部
109 …組合せパターンソート表示部
110 …部品フィードバック部
200 ... Software component combination support device,
101 ... Product processing flow information registration unit,
102 ... Product linkage information registration section,
103 ... Product processing negative relation information registration section,
104 ... All product design information DB,
105 ... a direct dependency extraction unit,
106 ... an indirect dependency extraction unit,
107 ... inter-component dependency DB
108 ...
Claims (13)
前記ソフトウェア部品組合せ抽出支援装置は、
製品設計情報データベースと、直接的関係抽出部を有し、
前記製品設計情報データベースは、
前記設備制御用ソフトウェアによって実行される一以上の処理各々について、当該処理と、当該処理を実行するソフトウェア部品と、当該ソフトウェア部品が作用する設備と、を対応付けて登録した処理フロー情報、
を有し、
前記直接的関係抽出部が、
前記処理フロー情報を取得するステップと、
前記処理フロー情報に基づき、前記処理フロー情報で指定される複数のソフトウェア部品から同じ設備に作用するソフトウェア部品の組み合わせを直接的同時選択の関係にあるソフトウェア部品の組み合わせとして抽出するステップと、
を実行することを特徴とする方法。 A method in a software component combination extraction support apparatus for extracting a combination of related software components from among a plurality of software components constituting the equipment control software,
The software component combination extraction support device includes:
Has a product design information database and a direct relationship extractor,
The product design information database is
For each of one or more processes executed by the facility control software, processing flow information in which the process, a software component that executes the process, and a facility on which the software component acts are registered in association with each other,
Have
The direct relationship extraction unit
Obtaining the processing flow information;
Based on the processing flow information, extracting a combination of software components acting on the same equipment from a plurality of software components specified by the processing flow information as a combination of software components in a direct simultaneous selection relationship;
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、さらに間接的関係抽出部を有し、
前記製品設計情報データベースはさらに、一方の設備が動作すると他方の設備も動作する連動関係にある設備を対応付けて登録した連動関係情報を有し、
前記間接的関係抽出部が、
前記処理フロー情報と前記連動関係情報を取得するステップと、
前記連動関係情報に基づき、前記連動関係にある設備に作用するソフトウェア部品の組み合わせを間接的同時選択の関係にあるソフトウェア部品として抽出するステップと、
を実行することを特徴とする方法。 A method according to claim 1, comprising:
The software component combination extraction support device further includes an indirect relationship extraction unit,
The product design information database further includes interlocking relationship information in which one facility operates and the other facility also operates in association with the associated facility,
The indirect relationship extraction unit
Obtaining the processing flow information and the linkage relationship information;
Extracting a combination of software components acting on the facility in the interlocking relationship as a software component in an indirect simultaneous selection based on the interlocking relationship information;
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、
製品設計情報データベースと、直接的関係抽出部を有し、
前記製品設計情報データベースは、複数の設備制御用ソフトウェア各々について、
当該設備制御用ソフトウェアによって実行される複数の処理フローの処理各々について、当該処理を実行するソフトウェア部品と、当該ソフトウェア部品が作用する設備と、を対応付けて登録した処理フロー情報と、
当該設備制御用ソフトウェアによって実行される複数の処理フローについて、処理の結果として現れる設備の状態が正反対である処理を対応付けて登録した否定関係情報と、
を有し、
前記直接的関係抽出部は、
前記複数の設備制御用ソフトウェアのうちの一の設備制御用ソフトウェアの処理フロー情報から、当該一の設備制御用ソフトウェアを構成するソフトウェア部品群を抽出して第一のソフトウェア部品群とするステップと、
前記複数の設備制御用ソフトウェアのうち前記一の設備制御用ソフトウェア以外の設備制御用ソフトウェアを構成するソフトウェア部品であって、
前記第一のソフトウェア部品群に含まれないソフトウェア部品を抽出して第二のソフトウェア部品群とするステップと、
前記第一のソフトウェア部品群と前記第二のソフトウェア部品群の各々からソフトウェア部品を選択して組とするステップと、
前記処理フロー情報に基づき、前記組を構成するソフトウェア部品が同じ設備に作用するソフトウェア部品か判断するステップと、
前記組を構成するソフトウェア部品が同じ設備に作用する場合、前記否定関係情報に基づき、前記組を構成するソフトウェア部品による処理の結果現れる設備の状態が正反対の関係にあるものを直接的排他選択の関係にあるソフトウェア部品として抽出するステップと、
を実行することを特徴とする方法。 A method in a software component combination extraction support device for extracting a combination of related software components from a plurality of software components constituting equipment control software,
The software component combination extraction support device includes:
Has a product design information database and a direct relationship extractor,
The product design information database is a plurality of equipment control software,
For each of a plurality of processing flow processes executed by the equipment control software, processing flow information in which the software parts that execute the processing and the equipment that the software parts act on are registered in association with each other;
For a plurality of processing flows executed by the facility control software, negative relationship information in which processing that is opposite to the state of the facility that appears as a result of processing is registered in association with each other,
Have
The direct relationship extraction unit includes:
From the processing flow information of one equipment control software among the plurality of equipment control software, a step of extracting a software parts group constituting the one equipment control software to be a first software parts group;
Software components constituting equipment control software other than the one equipment control software among the plurality of equipment control software,
Extracting a software component not included in the first software component group into a second software component group; and
Selecting a software component from each of the first software component group and the second software component group to form a set;
Based on the processing flow information, determining whether software parts constituting the set are software parts that act on the same equipment;
When the software components that make up the set act on the same equipment, based on the negative relationship information, the equipment that appears as a result of processing by the software parts that make up the set is in the opposite relationship. Extracting as related software parts;
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、さらに間接的関係抽出部を有し、
前記製品設計情報データベースはさらに、一方の設備が動作すると他方の設備も動作する連動関係にある設備を対応付けて登録した連動関係情報を有し、
前記間接的関係抽出部は、
前記連動関係情報に基づき、前記抽出した組を構成するソフトウェア部品が前記連動関係にある設備に作用するソフトウェア部品である場合に間接的排他選択の関係にあるソフトウェア部品として当該ソフトウェア部品を抽出するステップと、
を実行することを特徴とする方法。 A method according to claim 3, comprising:
The software component combination extraction support device further includes an indirect relationship extraction unit,
The product design information database further includes interlocking relationship information in which one facility operates and the other facility also operates in association with the associated facility,
The indirect relationship extraction unit
A step of extracting the software component as a software component having an indirect exclusive selection relationship when the software component constituting the extracted set is a software component acting on the facility having the interlocking relationship based on the interlocking relationship information When,
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、さらに依存関係結合部を有し、
前記依存関係結合部は、
前記直接的同時選択の関係、前記間接的同時選択の関係、前記直接的排他選択の関係、前記間接的排他選択の関係の同一又は異なる二つ以上の関係を介して生じるソフトウェア部品の暗黙的関係を抽出する手段と、
を有することを特徴とするソフトウェア部品組合せ抽出支援装置。。 A method according to claim 2 and claim 4, comprising:
The software component combination extraction support device further includes a dependency connection unit,
The dependency connection part is:
Software component implicit relationship that occurs through two or more relationships that are the same or different in the direct simultaneous selection relationship, the indirect simultaneous selection relationship, the direct exclusive selection relationship, and the indirect exclusive selection relationship Means for extracting,
A software component combination extraction support apparatus characterized by comprising: .
前記ソフトウェア部品組合せ抽出支援装置は、さらに組合せ表示部を有し、
前記組合せ表示部は、
新たに生成される設備制御用ソフトウェアが制御対象とする設備の情報を受け付けて前記製品設計情報データベースへ登録するステップと、
前記直接的同時選択の関係または前記間接的同時選択の関係または前記直接的排他選択の関係または前記間接的排他選択の関係のいずれかを満たすソフトウェア部品の組合せのうち、前記新たな設備制御用ソフトウェアにおいて制御する設備と関連する前記ソフトウェア部品の組合せを、前記新たに生成される設備制御用ソフトウェアを構成するソフトウェア部品の候補として出力するステップと、
を実行することを特徴とする方法。 A method according to claim 5, comprising:
The software component combination extraction support device further includes a combination display unit,
The combination display section
A newly generated equipment control software receives information on equipment to be controlled and registers it in the product design information database; and
Of the combination of software components satisfying either the direct simultaneous selection relationship, the indirect simultaneous selection relationship, the direct exclusive selection relationship or the indirect exclusive selection relationship, the new facility control software Outputting the combination of the software parts related to the equipment to be controlled in the above as candidates of software parts constituting the newly generated equipment control software;
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、さらに部品フィードバック部を有し、
前記部品フィードバック部は、
前記直接的同時選択の関係にあるソフトウェア部品の組み合わせを一つのソフトウェア部品とみなし、前記処理フロー情報を更新するステップ
を実行することを特徴とする方法。 A method according to claim 6, comprising:
The software component combination extraction support device further includes a component feedback unit,
The component feedback unit is
A method of performing the step of updating the processing flow information by regarding a combination of software components in the direct simultaneous selection relationship as one software component.
前記ソフトウェア部品組合せ抽出支援装置は、さらに製品処理フロー登録部を有し、
前記製品処理フロー登録部は、
前記設備制御用ソフトウェアの実行中に、実行されたソフトウェア部品と、当該ソフトウェア部品が作用した設備を識別する情報を有する実行ログ情報を蓄積するステップと、
前記実行ログ情報に基づいて前記処理フロー情報を生成するステップと、
を実行することを特徴とする方法。 A method according to claim 7, comprising:
The software component combination extraction support device further includes a product processing flow registration unit,
The product processing flow registration unit
A step of accumulating execution log information including information for identifying the software component executed during the execution of the facility control software and the facility on which the software component has acted;
Generating the processing flow information based on the execution log information;
The method characterized by performing.
前記ソフトウェア部品組合せ抽出支援装置は、
製品設計情報データベースと、直接的関係抽出部を有し、
前記製品設計情報データベースは、
前記設備制御用ソフトウェアによって実行される一以上の処理各々について、当該処理と、当該処理を実行するソフトウェア部品と、当該ソフトウェア部品が作用する設備と、を対応付けて登録した処理フロー情報、
を有し、
前記直接的関係抽出部は、
前記処理フロー情報を取得する手段と、
前記処理フロー情報に基づき、前記処理フロー情報で指定される複数のソフトウェア部品から同じ設備に作用するソフトウェア部品の組み合わせを直接的同時選択の関係にあるソフトウェア部品の組み合わせとして抽出する手段と、
を実行することを特徴とするソフトウェア部品組合せ抽出支援装置。 A software component combination extraction support device for extracting a combination of related software components from among a plurality of software components constituting the equipment control software,
The software component combination extraction support device includes:
Has a product design information database and a direct relationship extractor,
The product design information database is
For each of one or more processes executed by the facility control software, processing flow information in which the process, a software component that executes the process, and a facility on which the software component acts are registered in association with each other,
Have
The direct relationship extraction unit includes:
Means for obtaining the processing flow information;
Based on the processing flow information, means for extracting a combination of software components acting on the same equipment from a plurality of software components specified by the processing flow information as a combination of software components in a direct simultaneous selection relationship;
A software component combination extraction support apparatus, characterized in that
前記ソフトウェア部品組合せ抽出支援装置は、さらに間接的関係抽出部を有し、
前記製品設計情報データベースはさらに、一方の設備が動作すると他方の設備も動作する連動関係にある設備を対応付けて登録した連動関係情報を有し、
前記間接的関係抽出部は、
前記処理フロー情報と前記連動関係情報を取得する手段と、
前記連動関係情報に基づき、前記連動関係にある設備に作用するソフトウェア部品の組み合わせを間接的同時選択の関係にあるソフトウェア部品として抽出する手段と、
を実行することを特徴とするソフトウェア部品組合せ抽出支援装置。 A software component combination extraction support device according to claim 9,
The software component combination extraction support device further includes an indirect relationship extraction unit,
The product design information database further includes interlocking relationship information in which one facility operates and the other facility also operates in association with the associated facility,
The indirect relationship extraction unit
Means for acquiring the processing flow information and the interlocking relationship information;
Based on the link relationship information, means for extracting a combination of software components acting on the linked facilities as a software component in an indirect simultaneous selection relationship;
A software component combination extraction support apparatus, characterized in that
前記ソフトウェア部品組合せ抽出支援装置は、
製品設計情報データベースと、直接的関係抽出部を有し、
前記製品設計情報データベースは、複数の設備制御用ソフトウェア各々について、
当該設備制御用ソフトウェアによって実行される複数の処理フローの処理各々について、当該処理を実行するソフトウェア部品と、当該ソフトウェア部品が作用する設備と、を対応付けて登録した処理フロー情報と、
当該設備制御用ソフトウェアによって実行される複数の処理フローについて、処理の結果として現れる設備の状態が正反対である処理を対応付けて登録した否定関係情報と、
を有し、
前記直接的関係抽出部は、
前記複数の設備制御用ソフトウェアのうちの一の設備制御用ソフトウェアの処理フロー情報から、当該一の設備制御用ソフトウェアを構成するソフトウェア部品群を抽出して第一のソフトウェア部品群とする手段と、
前記複数の設備制御用ソフトウェアのうち前記一の設備制御用ソフトウェア以外の設備制御用ソフトウェアを構成するソフトウェア部品であって、
前記第一のソフトウェア部品群に含まれないソフトウェア部品を抽出して第二のソフトウェア部品群とする手段と、
前記第一のソフトウェア部品群と前記第二のソフトウェア部品群の各々からソフトウェア部品を選択して組とする手段と、
前記処理フロー情報に基づき、前記組を構成するソフトウェア部品が同じ設備に作用するソフトウェア部品か判断する手段と、
前記組を構成するソフトウェア部品が同じ設備に作用する場合、前記否定関係情報に基づき、前記組を構成するソフトウェア部品による処理の結果現れる設備の状態が正反対の関係にあるものを直接的排他選択の関係にあるソフトウェア部品として抽出する手段と、
を実行有することを特徴とするソフトウェア部品組合せ抽出支援装置。 A software component combination extraction support device that extracts a combination of related software components from a plurality of software components constituting equipment control software,
The software component combination extraction support device includes:
Has a product design information database and a direct relationship extractor,
The product design information database is a plurality of equipment control software,
For each of a plurality of processing flow processes executed by the equipment control software, processing flow information in which the software parts that execute the processing and the equipment that the software parts act on are registered in association with each other;
For a plurality of processing flows executed by the facility control software, negative relationship information in which processing that is opposite to the state of the facility that appears as a result of processing is registered in association with each other,
Have
The direct relationship extraction unit includes:
Means for extracting a software component group constituting the one equipment control software from the processing flow information of one equipment control software among the plurality of equipment control software, and making the first software component group;
Software components constituting equipment control software other than the one equipment control software among the plurality of equipment control software,
Means for extracting a software component not included in the first software component group into a second software component group;
Means for selecting a software component from each of the first software component group and the second software component group,
Based on the processing flow information, means for determining whether software parts constituting the set are software parts acting on the same equipment;
When the software components that make up the set act on the same equipment, based on the negative relationship information, the equipment that appears as a result of processing by the software parts that make up the set is in the opposite relationship. Means for extracting as related software parts;
And a software component combination extraction support apparatus.
前記ソフトウェア部品組合せ抽出支援装置は、さらに間接的関係抽出部を有し、
前記製品設計情報データベースはさらに、一方の設備が動作すると他方の設備も動作する連動関係にある設備を対応付けて登録した連動関係情報を有し、
前記間接的関係抽出部は、
前記連動関係情報に基づき、前記抽出した組を構成するソフトウェア部品が前記連動関係にある設備に作用するソフトウェア部品である場合に間接的排他選択の関係にあるソフトウェア部品として当該ソフトウェア部品を抽出する手段と、
を実行することを特徴とするソフトウェア部品組合せ抽出支援装置。 A software component combination extraction support device according to claim 11,
The software component combination extraction support device further includes an indirect relationship extraction unit,
The product design information database further includes interlocking relationship information in which one facility operates and the other facility also operates in association with the associated facility,
The indirect relationship extraction unit
Means for extracting the software component as a software component having an indirect exclusive selection relationship when the software component constituting the extracted set is a software component acting on the facility having the interlocking relationship based on the linkage relationship information When,
A software component combination extraction support apparatus, characterized in that
前記ソフトウェア部品組合せ抽出支援装置は、さらに依存関係結合部を有し、
前記依存関係結合部は、
前記直接的同時選択の関係、前記間接的同時選択の関係、前記直接的排他選択の関係、前記間接的排他選択の関係の同一又は異なる二つ以上の関係を介して生じるソフトウェア部品の暗黙的関係を抽出する手段と、
を有することを特徴とするソフトウェア部品組合せ抽出支援装置。 A software component combination extraction support device according to claim 10 and claim 12,
The software component combination extraction support device further includes a dependency connection unit,
The dependency connection part is:
Software component implicit relationship that occurs through two or more relationships that are the same or different in the direct simultaneous selection relationship, the indirect simultaneous selection relationship, the direct exclusive selection relationship, and the indirect exclusive selection relationship Means for extracting,
A software component combination extraction support apparatus characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011206728A JP2013069086A (en) | 2011-09-22 | 2011-09-22 | Software component combination support device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011206728A JP2013069086A (en) | 2011-09-22 | 2011-09-22 | Software component combination support device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013069086A true JP2013069086A (en) | 2013-04-18 |
Family
ID=48474739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011206728A Withdrawn JP2013069086A (en) | 2011-09-22 | 2011-09-22 | Software component combination support device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013069086A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020042679A (en) * | 2018-09-12 | 2020-03-19 | 株式会社日立製作所 | Device and method for supporting creation of flow using visual programming tool |
US10606571B2 (en) | 2016-04-26 | 2020-03-31 | Mitsubishi Electric Corporation | Dependence relationship extraction apparatus and computer readable medium |
-
2011
- 2011-09-22 JP JP2011206728A patent/JP2013069086A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10606571B2 (en) | 2016-04-26 | 2020-03-31 | Mitsubishi Electric Corporation | Dependence relationship extraction apparatus and computer readable medium |
JP2020042679A (en) * | 2018-09-12 | 2020-03-19 | 株式会社日立製作所 | Device and method for supporting creation of flow using visual programming tool |
JP7077191B2 (en) | 2018-09-12 | 2022-05-30 | 株式会社日立製作所 | Devices and methods to help you create flows with visual programming tools |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180025057A1 (en) | M x n dispatching in large scale distributed system | |
US20080133973A1 (en) | Data processing method and data analysis apparatus | |
JP2019028525A5 (en) | ||
CN108153784A (en) | Synchrodata treating method and apparatus | |
CN104021043A (en) | Interruption reentry method and system of batch applications | |
JP2018180759A (en) | System analysis system and system analysis method | |
CN107168868B (en) | Software change defect prediction method based on sampling and ensemble learning | |
CN109828886B (en) | CI/CD monitoring method and system under container cloud environment | |
Siriweera et al. | Intelligent big data analysis architecture based on automatic service composition | |
US20130014082A1 (en) | Method of configuring business logic supporting multi-tenancy | |
US20130054427A1 (en) | Explosions of bill-of-materials lists | |
JP6419667B2 (en) | Test DB data generation method and apparatus | |
US20100077382A1 (en) | Computer-readable recording medium string a bug detection support program, similar structure identification information list output program, bug detection support apparatus, and bug detection support method | |
JP2013069086A (en) | Software component combination support device | |
US10802823B2 (en) | Method for identifying critical parts in software code | |
US11971813B2 (en) | Data driven testing automation using machine learning | |
JP6723893B2 (en) | Data integration device and data integration method | |
Viale et al. | New methodology for modeling large scale manufacturing process: Using process mining methods and experts' knowledge | |
EP3570173A1 (en) | Equivalence checking device and equivalence checking program | |
US20160041892A1 (en) | System for discovering bugs using interval algebra query language | |
US20200394123A1 (en) | Operation management server, development operation support system, method thereof, and non-transitory computer readable medium storing program thereof | |
CA3007074A1 (en) | Display method, recording medium, and display control device | |
JP5741265B2 (en) | Program improvement support system | |
CN114968816A (en) | Data simulation-based strategy testing method, device, equipment and storage medium | |
JP6665576B2 (en) | Support device, support method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20141202 |