Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5228566B2 - Software development support apparatus, program, and block diagram search method - Google Patents
[go: Go Back, main page]

JP5228566B2 - Software development support apparatus, program, and block diagram search method - Google Patents

Software development support apparatus, program, and block diagram search method Download PDF

Info

Publication number
JP5228566B2
JP5228566B2 JP2008080238A JP2008080238A JP5228566B2 JP 5228566 B2 JP5228566 B2 JP 5228566B2 JP 2008080238 A JP2008080238 A JP 2008080238A JP 2008080238 A JP2008080238 A JP 2008080238A JP 5228566 B2 JP5228566 B2 JP 5228566B2
Authority
JP
Japan
Prior art keywords
block diagram
connection information
block
search
elements
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.)
Expired - Fee Related
Application number
JP2008080238A
Other languages
Japanese (ja)
Other versions
JP2009237691A (en
Inventor
芳信 佐藤
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2008080238A priority Critical patent/JP5228566B2/en
Publication of JP2009237691A publication Critical patent/JP2009237691A/en
Application granted granted Critical
Publication of JP5228566B2 publication Critical patent/JP5228566B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、処理手順をブロック要素の接続によって表記したブロック図に基づき計算機言語によるプログラムを自動生成するソフトウェア開発支援装置、プログラム及び前記ソフトウェア開発支援装置におけるブロック図検索方法に関する。   The present invention relates to a software development support apparatus that automatically generates a program in a computer language based on a block diagram in which processing procedures are expressed by connecting block elements, a program, and a block diagram search method in the software development support apparatus.

従来、計算機に特定の処理を行わせるためのプログラムを作成する場合、プログラムの仕様をブロック図等で記述し、そのブロック図をもとにプログラマが計算機言語を用いたプログラムコードを作成することが行われている。そこで、プログラマによる作業時間の短縮やミスの防止のために、プログラム仕様として記述されたブロック図から、直接、計算機言語によるプログラムコードに変換するソフトウェア開発支援装置が特許文献1、特許文献2で提案されている。   Conventionally, when creating a program for causing a computer to perform a specific process, the specification of the program is described in a block diagram or the like, and a programmer can create a program code using a computer language based on the block diagram. Has been done. Therefore, Patent Document 1 and Patent Document 2 propose a software development support apparatus that directly converts a block diagram described as a program specification into a program code in a computer language in order to shorten the work time and prevent mistakes by a programmer. Has been.

特許文献1では、プログラム仕様として記述されたブロック図から制御用プログラムを機械語で生成する技術を提案している。特許文献2では、プログラム仕様として記述されたブロック図から計算機言語を用いたプログラムコードを生成する技術を提案している。また、計算機言語で作成されたプログラムコードから、同じような字句の並びを抽出するシステムが特許文献3で提案されている。特許文献3では、対象となるテキストに対して、字句の単位で抽出し、抽出した字句を変換した後に、同じ並びになっているものを特定している。
特開平5−88869号公報 特開2006−301989号公報 特開2003−29978号公報
Patent Document 1 proposes a technique for generating a control program in machine language from a block diagram described as a program specification. Patent Document 2 proposes a technique for generating a program code using a computer language from a block diagram described as a program specification. Further, Patent Document 3 proposes a system for extracting a similar lexical sequence from a program code created in a computer language. In Patent Document 3, the target text is extracted in lexical units, and after the extracted lexical is converted, the same text is identified.
Japanese Patent Laid-Open No. 5-88869 JP 2006-301989 A Japanese Patent Laid-Open No. 2003-29978

上記特許文献1及び2においては、ブロック図からプログラムコードを作成することが可能であり、プログラマの作業時間の削減に効果がある。しかし、プログラムコードの保守を行う時には、プログラムコードを直すのではなく、ブロック図の修正が必要となる。この時に、複数ブロック要素からなる部分を検索する必要がでてくるが、その具体的な方法については上記特許文献において開示されていない。このため、プログラマがブロック図を目で見て確認する必要があり、作業時間がかかると共に見落とし等のミスが発生する可能性がある。
また、作成したブロック図を部分的に切り貼りする場合がある。切り貼りした部分に修正が必要になると、保守の面からみて、切り貼りをした全ての箇所を検索する必要がある。特許文献3においては、プログラムコードにおいて同じような字句の並びを検出することは出来るが、ブロック図の切り貼り部分を特定する方法については開示されていない。
In Patent Documents 1 and 2, it is possible to create a program code from a block diagram, which is effective in reducing the work time of a programmer. However, when maintaining the program code, it is necessary to correct the block diagram instead of correcting the program code. At this time, it is necessary to search for a part composed of a plurality of block elements, but the specific method is not disclosed in the above-mentioned patent document. For this reason, it is necessary for the programmer to visually check the block diagram, which takes time and may cause errors such as oversight.
In addition, the created block diagram may be partially cut and pasted. When the cut and pasted portion needs to be corrected, it is necessary to search all the cut and pasted portions from the viewpoint of maintenance. In Patent Document 3, it is possible to detect a similar lexical arrangement in a program code, but it does not disclose a method for specifying a cut-and-paste portion of a block diagram.

したがって、本発明は、ブロック図からプログラムを自動作成するソフトウェア開発支援装置において、ブロック図における所望の部分の検索を可能にし、また、ブロック図の切り貼り部分の特定等のために、ブロック図において同一パターンで構成されているブロック要素の検索を可能にすることによって、ブロック図保守作業の効率を高めることを目的としている。   Therefore, the present invention enables searching for a desired part in a block diagram in a software development support apparatus that automatically creates a program from the block diagram, and is the same in the block diagram for specifying a cut and paste part of the block diagram. It is intended to increase the efficiency of block diagram maintenance work by enabling retrieval of block elements composed of patterns.

本発明は、処理手順を表記したブロック図に基づいて、計算機言語によるプログラムを自動生成するソフトウェア開発支援装置に係るものである。上記目的を達成するために、当該ソフトウェア開発支援装置は、前記ブロック図に表記された複数のブロック要素と該ブロック要素間の接続関係とをブロック図接続情報として抽出するブロック図接続情報抽出手段と、前記ブロック図接続情報抽出手段によって抽出されたブロック図接続情報を記憶するブロック図接続情報記憶手段と、検索対象となる複数のブロック要素と該ブロック要素間の接続関係とを検索用ブロック図接続情報として記憶する検索用ブロック図接続情報記憶手段と、前記ブロック図接続情報記憶手段に記憶されているブロック図接続情報の中に、前記検索用ブロック図接続情報と一致する部分があるかを判定するブロック図一致判定手段とを備える。   The present invention relates to a software development support apparatus that automatically generates a program in a computer language based on a block diagram representing a processing procedure. In order to achieve the above object, the software development support apparatus includes a block diagram connection information extracting unit that extracts a plurality of block elements represented in the block diagram and a connection relationship between the block elements as block diagram connection information; Block diagram connection information storage means for storing block diagram connection information extracted by the block diagram connection information extraction means, a plurality of block elements to be searched, and connection relations between the block elements for search block diagram connection A block diagram connection information storage unit for search stored as information, and whether or not there is a portion that matches the block diagram connection information for search in the block diagram connection information stored in the block diagram connection information storage unit Block diagram match determination means.

本発明に係る前記ソフトウェア開発支援装置は、それ自体が一般的なコンピュータとソフトウェアとを協働させることにより実現される。すなわち、コンピュータの入力手段、記憶手段、演算手段等のハードウェア資源がソフトウェアにより具体的に動作して専用装置としての動作が実現する。   The software development support apparatus according to the present invention is realized by cooperating a general computer and software. That is, hardware resources such as computer input means, storage means, and arithmetic means are specifically operated by software to realize operation as a dedicated device.

入力手段とは、キーボードやマウスなどのユーザの操作による入力手段のほか、フロッピー(登録商標)ディスクなどの記録媒体による入力、あるいは通信回線やLAN(ローカルエリアネットワーク)などの電気信号による入力を受け付ける手段を含む。記憶手段とは、文字や数字などのデータや、プログラムなどを記憶するための手段である。例えば、コンピュータ内のランダムアクセスメモリ、ハードディスクなどである。演算手段とは、プログラムを実行するための数値計算手段のことである。例えば、一般に中央処理装置すなわちCPUといわれているものである。コンピュータとは、上記のような入力手段と、記憶手段と、演算手段とを少なくとも含む電子計算機をいう。   The input means accepts input by a user operation such as a keyboard and a mouse, input by a recording medium such as a floppy (registered trademark) disk, or input by an electrical signal such as a communication line or a LAN (local area network). Including means. The storage means is means for storing data such as characters and numbers, programs, and the like. For example, a random access memory or a hard disk in a computer. The calculation means is a numerical calculation means for executing a program. For example, it is generally called a central processing unit or CPU. A computer refers to an electronic computer including at least input means, storage means, and calculation means as described above.

なお、請求の範囲及び明細書の記載において、「検索対象」とは、検索の対象となるブロック図の部分を示すものであって、検索を実行するデータの集合(検索範囲)を示すものではない。   In the claims and the description, the “search target” indicates a part of the block diagram to be searched, and does not indicate a set of data (search range) to be searched. Absent.

前記ソフトウェア開発支援装置は、前記ブロック図の部分の検索を行なうために、検索対象となる前記複数のブロック要素と前記接続関係とを入力する検索用入力手段をさらに備え、前記検索用入力手段によって前記検索対象となる複数のブロック要素と前記接続関係とが入力された場合には、前記検索用ブロック図接続情報は、前記入力されたブロック要素と接続関係とから前記ブロック図接続情報抽出手段によって抽出されるように構成しても良い。   The software development support device further includes a search input means for inputting the plurality of block elements to be searched and the connection relation in order to search for a portion of the block diagram, and the search input means When a plurality of block elements to be searched and the connection relation are input, the block diagram connection information for search is extracted from the input block element and the connection relation by the block diagram connection information extracting unit. You may comprise so that it may be extracted.

一例として、ソフトウェア開発支援装置は、前記ブロック図接続情報記憶手段に記憶されたブロック図接続情報から、前記複数のブロック要素と前記接続関係とが同じパターンで構成されている部分を自動検出するための自動ブロック図接続情報検出手段であって、前記パターンを構成するブロック要素の個数を受け付ける、自動ブロック図接続情報検出手段をさらに備え、前記自動ブロック図接続情報検出手段によって前記ブロック要素の個数が受け付けられた場合には、前記検索用ブロック図接続情報は、前記自動ブロック図接続情報検出手段が、前記ブロック要素の個数単位で前記ブロック図接続情報を抽出することによって得られる。   As an example, the software development support apparatus automatically detects, from the block diagram connection information stored in the block diagram connection information storage means, a portion in which the plurality of block elements and the connection relationship are configured in the same pattern. The automatic block diagram connection information detecting means further comprises an automatic block diagram connection information detecting means for receiving the number of block elements constituting the pattern, wherein the number of block elements is determined by the automatic block diagram connection information detecting means. If accepted, the block diagram connection information for search is obtained by the automatic block diagram connection information detecting means extracting the block diagram connection information in units of the number of block elements.

また、複数のブロック要素と該ブロック要素間の接続関係を表記することによって、前記ブロック図を作成するブロック図作成手段と、前記ブロック図接続情報から、計算機言語によるプログラムを自動生成するプログラム生成手段とを備えるように構成しても良い。   In addition, a block diagram creating means for creating the block diagram by expressing a plurality of block elements and connection relations between the block elements, and a program generating means for automatically generating a program in a computer language from the block diagram connection information You may comprise so that.

本発明は、コンピュータをソフトウェア開発支援装置の前記各手段として機能させるためのソフトウェア開発支援プログラムとしても実現される。   The present invention is also realized as a software development support program for causing a computer to function as each means of the software development support apparatus.

また、本発明は、処理手順を表記したブロック図に基づいて、計算機言語によるプログラムを自動生成するソフトウェア開発支援装置において実行されるブロック図検索方法であって、ブロック図接続情報抽出手段が、前記ブロック図に表記された複数のブロック要素と該ブロック要素間の接続関係とをブロック図接続情報として抽出するブロック図接続情報抽出ステップと、ブロック図接続情報記憶手段が、前記ブロック図接続情報抽出手段によって抽出されたブロック図接続情報を記憶するブロック図接続情報記憶ステップと、検索用ブロック図接続情報記憶手段が、検索対象となる複数のブロック要素と該ブロック要素間の接続関係とを検索用ブロック図接続情報として記憶する検索用ブロック図接続情報記憶ステップと、ブロック図一致判定手段が、前記ブロック図接続情報記憶手段に記憶されているブロック図接続情報の中に、前記検索用ブロック図接続情報と一致する部分があるかを判定するブロック図一致判定ステップとを含む。   Further, the present invention is a block diagram search method executed in a software development support apparatus for automatically generating a program in a computer language based on a block diagram expressing a processing procedure, wherein the block diagram connection information extracting means A block diagram connection information extracting step for extracting, as block diagram connection information, a plurality of block elements represented in the block diagram and connection relationships between the block elements; A block diagram connection information storing step for storing the block diagram connection information extracted by the block, and a search block diagram connection information storage means for searching a plurality of block elements to be searched and a connection relationship between the block elements Block diagram for searching connection information stored as diagram connection information, and block diagram The match determination means includes a block diagram match determination step for determining whether or not there is a portion that matches the block diagram connection information for search in the block diagram connection information stored in the block diagram connection information storage means. .

前記ブロック図検索方法は、検索用入力手段が、前記ブロック図の部分の検索を行なうために、検索対象となる前記複数のブロック要素と前記接続関係とを入力する検索用入力ステップをさらに備え、前記検索用入力手段によって前記検索対象となる複数のブロック要素と前記接続関係とが入力された場合には、前記検索用ブロック図接続情報は、前記入力されたブロック要素と接続関係とから前記ブロック図接続情報抽出手段によって抽出されるように構成しても良い。   The block diagram search method further includes a search input step in which the search input means inputs the plurality of block elements to be searched and the connection relationship in order to search the portion of the block diagram. When a plurality of block elements to be searched and the connection relation are input by the search input means, the search block diagram connection information is obtained from the input block element and the connection relation. You may comprise so that it may be extracted by the figure connection information extraction means.

一例として、前記ブロック図検索方法は、自動ブロック図接続情報検出手段が、前記ブロック図接続情報記憶手段に記憶されたブロック図接続情報から、前記複数のブロック要素と前記接続関係とが同じパターンで構成されている部分を自動検出するために、前記パターンを構成するブロック要素の個数を受け付ける、自動ブロック図接続情報検出ステップをさらに備え、前記自動ブロック図接続情報検出手段によって前記ブロック要素の個数が受け付けられた場合には、前記検索用ブロック図接続情報は、前記自動ブロック図接続情報検出手段が、前記ブロック要素の個数単位で前記ブロック図接続情報を抽出することによって得られる。   As an example, in the block diagram search method, the automatic block diagram connection information detection means uses the block diagram connection information stored in the block diagram connection information storage means so that the plurality of block elements and the connection relationship have the same pattern. An automatic block diagram connection information detecting step for receiving the number of block elements constituting the pattern in order to automatically detect a configured part, and the number of block elements is determined by the automatic block diagram connection information detecting means. If accepted, the block diagram connection information for search is obtained by the automatic block diagram connection information detecting means extracting the block diagram connection information in units of the number of block elements.

本発明に係るソフトウェア開発支援装置では、ブロック図に表記された複数のブロック要素と該ブロック要素間の接続関係とをブロック図接続情報として抽出し、ブロック図接続情報の中に、検索用ブロック図接続情報と一致する部分があるかを判定している。検索用ブロック図接続情報は、検索対象である複数のブロック要素と該ブロック要素間の接続関係を示す情報である。したがって、本発明においては、ブロック図において、複数のブロック要素と該ブロック要素間の接続関係によって構成された所望の部分を検索することができ、また、同一パターンで構成されているブロック要素を検索することも可能となる。
これによって、ブロック図保守作業の時間が短縮されると共に、プログラマの作業負担と人的ミスが軽減され、ブロック図保守作業の効率を高めることができる。
In the software development support device according to the present invention, a plurality of block elements described in the block diagram and the connection relationship between the block elements are extracted as block diagram connection information, and the block diagram for search is included in the block diagram connection information. It is determined whether there is a part that matches the connection information. The block diagram connection information for search is information indicating a plurality of block elements to be searched and a connection relation between the block elements. Therefore, in the present invention, in the block diagram, it is possible to search for a desired part configured by a plurality of block elements and connection relations between the block elements, and also search for block elements configured by the same pattern. It is also possible to do.
As a result, the time for the block diagram maintenance work is shortened, the work load on the programmer and human error are reduced, and the efficiency of the block diagram maintenance work can be increased.

以下、本発明の実施の形態を添付の図により説明する。図1に本実施形態に係るソフトウェア開発支援装置の構成図を示す。ソフトウェア開発支援装置1は、それ自体が一般的なコンピュータとソフトウェアとを協働させることにより実現される。すなわち、コンピュータの入力手段、記憶手段、演算手段等のハードウェア資源がソフトウェアにより具体的に動作して専用装置としての動作が実現している。   Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows a configuration diagram of a software development support apparatus according to the present embodiment. The software development support apparatus 1 is realized by causing a general computer and software to cooperate with each other. In other words, hardware resources such as computer input means, storage means, and arithmetic means are specifically operated by software to realize operation as a dedicated device.

ソフトウェア開発支援装置1は、入力装置2と表示装置3を備えている。入力装置2は、外部からの入力を受け付け、表示装置3は、各種入力画面、各種データ及び該ソフトウェア開発支援装置1の出力結果を表示する。
ブロック図作成部4は、表示装置3に表示されたブロック図作成画面及び入力装置2を介して入力されたデータに基づいて、複数のブロック要素とブロック要素間の接続関係の作成及び/又は修正を行なってブロック図を作成及び/又は修正する。
The software development support device 1 includes an input device 2 and a display device 3. The input device 2 receives input from the outside, and the display device 3 displays various input screens, various data, and output results of the software development support device 1.
The block diagram creation unit 4 creates and / or corrects a plurality of block elements and connection relationships between the block elements based on the block diagram creation screen displayed on the display device 3 and data input via the input device 2. To create and / or modify the block diagram.

ブロック図接続情報抽出部5は、ブロック図作成部4において表記されたブロック要素とブロック要素間の接続関係とをブロック図接続情報として抽出する。ブロック図接続情報は、ブロック図に表記された複数のブロック要素とブロック要素間の接続関係を示す情報であって、具体例は後述する。また、検索用ブロック図作成部8によって作成された複数のブロック要素とそれらの接続関係とを検索用ブロック図接続情報として抽出する。検索用ブロック図接続情報は、検索対象である複数のブロック要素とブロック要素間の接続関係を示す情報であって、具体例は後述する。
ブロック図接続情報記憶部6は、ブロック図接続情報抽出部5によって抽出されたブロック図接続情報を記憶する。プログラム生成部7は、ブロック図接続情報記憶部に記憶されたブロック図接続情報等に基づいて計算機言語によるプログラムを自動生成する。
The block diagram connection information extraction unit 5 extracts the block elements described in the block diagram creation unit 4 and the connection relationship between the block elements as block diagram connection information. The block diagram connection information is information indicating a connection relationship between a plurality of block elements described in the block diagram, and a specific example will be described later. In addition, a plurality of block elements created by the search block diagram creation unit 8 and their connection relationships are extracted as search block diagram connection information. The block diagram connection information for search is information indicating a connection relationship between a plurality of block elements to be searched and the block elements, and a specific example will be described later.
The block diagram connection information storage unit 6 stores the block diagram connection information extracted by the block diagram connection information extraction unit 5. The program generation unit 7 automatically generates a program in a computer language based on the block diagram connection information stored in the block diagram connection information storage unit.

検索用ブロック図作成部8は、表示装置3に表示された検索用ブロック図作成画面及び入力装置2を介して入力されたデータに基づいて、検索対象として所望される複数のブロック要素とそれらの接続関係とを作成する。本実施形態においては、検索用ブロック図作成部8が検索用入力手段として機能している。
自動ブロック図接続情報検出部11は、ブロック図接続情報記憶部6に記憶されたブロック図接続情報から、ブロック図において、複数のブロック要素とそれらの接続関係とが同じパターンで構成されている部分を自動検出するために設けられている。自動ブロック図接続情報検出部11は、前記パターンを構成するブロック要素の個数を受け付け、受け付けたブロック要素の個数単位で前記ブロック図接続情報を抽出し、抽出した情報を検索用ブロック図接続情報として取得する。
Based on the search block diagram creation screen displayed on the display device 3 and the data input via the input device 2, the search block diagram creation unit 8 and a plurality of block elements desired as search targets and their Create a connection relationship. In this embodiment, the search block diagram creation unit 8 functions as a search input unit.
The automatic block diagram connection information detecting unit 11 is a block diagram in which a plurality of block elements and their connection relationships are configured in the same pattern from the block diagram connection information stored in the block diagram connection information storage unit 6. Is provided for automatic detection. The automatic block diagram connection information detection unit 11 receives the number of block elements constituting the pattern, extracts the block diagram connection information in units of the received block elements, and uses the extracted information as search block diagram connection information get.

後述のように、本実施形態においてソフトウェア開発支援装置1は、ブロック図の検索用に「図面検索」と「自動検索」という2つのメニューを備えている。検索用ブロック図作成部8は、「図面検索」の場合に機能し、自動ブロック図接続情報検出部11は、「自動検索」の場合に機能する。したがって、本実施形態において検索用ブロック図作成部8と自動ブロック図接続情報検出部11は選択的に用いられている。   As will be described later, in the present embodiment, the software development support apparatus 1 includes two menus of “drawing search” and “automatic search” for searching a block diagram. The search block diagram creation unit 8 functions in the case of “drawing search”, and the automatic block diagram connection information detection unit 11 functions in the case of “automatic search”. Therefore, in this embodiment, the search block diagram creation unit 8 and the automatic block diagram connection information detection unit 11 are selectively used.

検出用ブロック図接続情報記憶部9は、検索用ブロック作成部8によって作成された複数のブロック要素とそれらの接続関係とからブロック図接続情報抽出部5によって抽出された検索用ブロック図接続情報及び/又は自動ブロック図接続情報検出部11によって抽出された検索用ブロック図接続情報を記憶する。
ブロック図一致判定部10は、ブロック図接続情報記憶部6に記憶されているブロック図接続情報の中に、検索用ブロック図接続情報と一致する部分があるかを判定する。
The detection block diagram connection information storage unit 9 includes the search block diagram connection information extracted by the block diagram connection information extraction unit 5 from the plurality of block elements created by the search block creation unit 8 and their connection relations. The search block diagram connection information extracted by the automatic block diagram connection information detection unit 11 is stored.
The block diagram match determination unit 10 determines whether there is a portion that matches the search block diagram connection information in the block diagram connection information stored in the block diagram connection information storage unit 6.

図2にブロック図作成画面の一例を示す。ブロック図作成画面は、ブロック要素21とブロック要素間の接続22の作成及び修正を行なう画面20と、ブロック図の作成に必要な操作を行う各種メニューとから構成されている。
メニューとしては、ブロック図のファイル操作を行う「ファイル」23、ブロック図に記入するブロック要素の選択を行う「ブロック要素の選択」24、ブロック要素間の接続を行う「配線」25が含まれている。ユーザはこれらのメニューを用いて、入力装置2を介してブロック要素21及び各ブロック要素間の配線、すなわち接続22の入力及び修正用入力を行なう。
FIG. 2 shows an example of a block diagram creation screen. The block diagram creation screen includes a screen 20 for creating and modifying the block element 21 and the connection 22 between the block elements, and various menus for performing operations necessary for creating the block diagram.
The menu includes a “file” 23 for performing file operations on the block diagram, a “block element selection” 24 for selecting a block element to be entered in the block diagram, and a “wiring” 25 for connecting the block elements. Yes. The user uses these menus to input the block element 21 and the wiring between the block elements, that is, the connection 22 and the input for correction via the input device 2.

例えば、「ブロック要素の選択」24をクリックすると、各種ブロック要素を表示した画面が開き、ユーザはそこから所望のブロック要素を選択することによって、画面20上にブロック要素21を表記することができる。また、一例として、「配線」25をクリックすると、マウスポインタの形状が変化し、マウスを移動させることによって、画面20上の所望のブロック要素間に接続22を示す矢印線を表記することができる。   For example, when “select block element” 24 is clicked, a screen displaying various block elements opens, and the user can indicate the block element 21 on the screen 20 by selecting a desired block element therefrom. . As an example, when the “wiring” 25 is clicked, the shape of the mouse pointer changes, and an arrow line indicating a connection 22 can be written between desired block elements on the screen 20 by moving the mouse. .

ブロック図作成部4は、ユーザによってブロック図作成画面及び入力装置2を介して入力されたデータに基づいて、ブロック図を作成する。ブロック図において表記されたブロック要素21とブロック要素間の接続22は、ブロック図接続情報としてブロック図接続情報抽出部5によって抽出される。
以下に、図2の画面20に表記されたブロック図から、ブロック図接続情報抽出部5によって抽出したブロック図接続情報のデータ例を示す。
The block diagram creation unit 4 creates a block diagram based on the block diagram creation screen and data input via the input device 2 by the user. The block element 21 and the connection 22 between the block elements shown in the block diagram are extracted by the block diagram connection information extracting unit 5 as block diagram connection information.
In the following, a data example of the block diagram connection information extracted by the block diagram connection information extraction unit 5 from the block diagram shown on the screen 20 of FIG. 2 is shown.

[ブロック図接続情報]
以下のデータは、左から、線のID,線の入力ブロック要素(種類:ID),線の出力ブロック要素(種類:ID)を示す。
W001,(A:F001),(B:F002)
W002,(B:F002),(C:F003)
W003,(C:F003),(D:F004)
W004,(D:F004),(A:F005)
W005,(A:F005),(B:F006)
W006,(B:F006),(E:F007)
W007,(E:F007),(D:F008)
W008,(D:F008),(A:F009)
W009,(A:F009),(B:F010)
W010,(B:F010),(C:F011)
W011,(C:F011),(D:F012)
[Block diagram connection information]
The following data shows the line ID, line input block element (type: ID), and line output block element (type: ID) from the left.
W001, (A: F001), (B: F002)
W002, (B: F002), (C: F003)
W003, (C: F003), (D: F004)
W004 (D: F004), (A: F005)
W005, (A: F005), (B: F006)
W006, (B: F006), (E: F007)
W007, (E: F007), (D: F008)
W008, (D: F008), (A: F009)
W009, (A: F009), (B: F010)
W010, (B: F010), (C: F011)
W011, (C: F011), (D: F012)

上記例において、ブロック図接続情報のデータ形式は、ブロック要素の接続を示す線の固体を識別するためのID(W001〜W011に相当)と、線の入力ブロック要素の種類(A、B、C、D、Eに相当)と固体を識別するためのID(F001〜F011に相当)と、線の出力ブロック要素として、その種類(A、B、C、D、Eに相当)と固体を識別するためのID(F002〜F012に相当)とを、ブロック図の流れの順番に並べた形式としている。
ブロック図接続情報抽出部5によって抽出されたブロック図接続情報はブロック図接続情報記憶部6に記憶される。
In the above example, the data format of the block diagram connection information includes an ID (corresponding to W001 to W011) for identifying a solid line indicating connection of block elements, and a type (A, B, C) of the input block elements of the line. , D, E) and ID (corresponding to F001 to F011) for identifying the solid, and the type (corresponding to A, B, C, D, E) and solid as the output block element of the line IDs (corresponding to F002 to F012) are arranged in the order of flow in the block diagram.
The block diagram connection information extracted by the block diagram connection information extraction unit 5 is stored in the block diagram connection information storage unit 6.

また、メニューとして、ブロック図から計算機言語によるプログラム自動生成を行う「自動生成」26が設けられている。ユーザが「自動生成」26をクリックすると、当該入力に基づいて、プログラム生成部7が、ブロック図接続情報記憶部6に記憶されたブロック図接続情報等に基づいて計算機言語によるプログラムを自動生成する。   As a menu, an “automatic generation” 26 for automatically generating a program in a computer language from a block diagram is provided. When the user clicks “automatic generation” 26, based on the input, the program generation unit 7 automatically generates a program in a computer language based on block diagram connection information stored in the block diagram connection information storage unit 6. .

図2のメニューにはさらに「検索」27が含まれる。「検索」27は図2において、画面20の上方側に抜き出して図示するように、「図面検索」28と「自動検索」29のメニューを備えている。以下に「図面検索」28を選択した場合の図面検索処理について説明する。   The menu of FIG. 2 further includes “search” 27. The “search” 27 has menus of “drawing search” 28 and “automatic search” 29 as shown in FIG. A drawing search process when “drawing search” 28 is selected will be described below.

[図面検索]
図3に、図2において「図面検索」28を選択したときに表示される、検索用ブロック図作成画面の一例を示す。検索用ブロック図作成画面は、検索用ブロック要素31とブロック要素間の接続32の作成及び修正を行う画面30と、検索用ブロック図の作成に必要な操作を行うメニューから構成されている。メニューは、検索用ブロック図に記入するブロック要素の選択を行う「ブロック要素の選択」33と、ブロック要素間の接続を行う「配線」34を含んでいる。ユーザはこれらのメニューを用いて、入力装置2を介して検索用ブロック要素31及び各ブロック要素間の配線、すなわち接続32の入力を行なう。
[Drawing Search]
FIG. 3 shows an example of a search block diagram creation screen displayed when “drawing search” 28 in FIG. 2 is selected. The search block diagram creation screen includes a screen 30 for creating and modifying the search block element 31 and the connection 32 between the block elements, and a menu for performing operations necessary for creating the search block diagram. The menu includes a “block element selection” 33 for selecting a block element to be entered in the block diagram for search and a “wiring” 34 for connecting the block elements. Using these menus, the user inputs the search block element 31 and the wiring between the block elements, that is, the connection 32 via the input device 2.

検索用ブロック図作成部8は、ユーザによって検索用ブロック図作成画面及び入力装置2を介して入力されたデータに基づいて、検索用ブロック図を作成する。検索用ブロック図において表記されたブロック要素31とブロック要素間の接続32は、検索用ブロック図接続情報としてブロック図接続情報抽出部5によって抽出される。以下に、図3の検索用ブロック図からブロック図接続情報抽出部5によって抽出した検索用ブロック図接続情報のデータ例を示す。   The search block diagram creation unit 8 creates a search block diagram based on the search block diagram creation screen and data input via the input device 2 by the user. The block diagram 31 and the connection 32 between the block elements shown in the block diagram for search are extracted by the block diagram connection information extraction unit 5 as block diagram connection information for search. The following is a data example of the search block diagram connection information extracted by the block diagram connection information extraction unit 5 from the search block diagram of FIG.

[検索用ブロック図接続情報]
以下のデータは、左から、線のID,線の入力ブロック要素(種類:ID),線の出力ブロック要素(種類:ID)を示す。
SW001,(A:SF001),(B:SF002)
SW002,(B:SF002),(C:SF003)
[Block diagram connection information for search]
The following data shows the line ID, line input block element (type: ID), and line output block element (type: ID) from the left.
SW001, (A: SF001), (B: SF002)
SW002, (B: SF002), (C: SF003)

上記例において、検索用ブロック図接続情報のデータ形式は、ブロック図接続情報と同じく、ブロック要素の接続を示す線の固体を識別するためのID(SW001,SW002に相当)、と線の入力ブロック要素の種類(A,Bに相当)と固体を識別するためのID(SF001,SF002に相当)と、線の出力ブロック要素として、その種類(B,Cに相当)と固体を識別するためのID(SF002,SF003に相当)とを、ブロック図の流れの順番に並べた形式としている。   In the above example, the data format of the search block diagram connection information is the same as the block diagram connection information. Element type (corresponding to A and B) and ID for identifying a solid (corresponding to SF001 and SF002), and as a line output block element, for identifying the type (corresponding to B and C) and solid IDs (corresponding to SF002 and SF003) are arranged in the order of flow in the block diagram.

図3の検索用ブロック図作成画面におけるメニューとして、さらに「検索開始」35が設けられている。ユーザが「検索開始」35をクリックすると、図面検索が開始される。図面検索については、以下の処理フローの説明の中でさらに詳述する。   A “search start” 35 is further provided as a menu on the search block diagram creation screen of FIG. When the user clicks “start search” 35, a drawing search is started. The drawing search will be described in more detail in the description of the processing flow below.

図4に、図面検索処理を実行する場合の処理フローを示す。
図2のブロック図作成画面において「図面検索」28が選択されると(ステップ1)、検索用ブロック図作成部8が、表示装置3に検索用ブロック図作成画面を表示する(ステップ2)。ユーザは検索用ブロック図、すなわち、検索対象として所望されるブロック要素31及び各ブロック要素間の接続32を作成する(ステップ3)。次いで、検索を開始するために、検索用ブロック図作成画面において「検索開始」35を選択する(ステップ4)。
FIG. 4 shows a processing flow when the drawing search process is executed.
When “drawing search” 28 is selected on the block diagram creation screen of FIG. 2 (step 1), the search block diagram creation unit 8 displays the search block diagram creation screen on the display device 3 (step 2). The user creates a block diagram for search, that is, a block element 31 desired as a search target and a connection 32 between the block elements (step 3). Next, in order to start the search, “start search” 35 is selected on the search block diagram creation screen (step 4).

ブロック図接続情報抽出部5は作成された検索用ブロック図から、検索用ブロック図接続情報を抽出する(ステップ5)。検索用ブロック図接続情報記憶部9は抽出された検索用ブロック図接続情報を記憶する(ステップ6)。次に、ブロック図一致判定部10が、検索用ブロック図接続情報における線の入力ブロック要素の種類と線の出力ブロック要素の種類とその順番と、ブロック図接続情報記憶部6に記憶されているブロック図接続情報における線の入力ブロック要素の種類と線の出力ブロック要素の種類とその順番とを比較する(ステップ7)。   The block diagram connection information extraction unit 5 extracts search block diagram connection information from the created search block diagram (step 5). The search block diagram connection information storage unit 9 stores the extracted search block diagram connection information (step 6). Next, the block diagram match determination unit 10 is stored in the block diagram connection information storage unit 6 in the block diagram connection information for search, the types of input block elements of lines, the types and order of output block elements of lines. The type of the input block element of the line in the block diagram connection information, the type of the output block element of the line, and the order thereof are compared (step 7).

比較の結果、前記種類と順番が一致するものがあるかどうかを判定し(ステップ8)、種類と順番が一致するものがあれば、ブロック図作成画面において一致するブロック要素を強調表示する(ステップ9)。図5にブロック図作成画面において一致するブロック要素を強調表示した例を示す。図5では、一致したブロック要素21を破線で囲むことによって強調表示している。
次いで、全てのブロック図接続情報についての比較が終了したかを判定(ステップ10)し、全てのブロック図接続情報についての比較が終了した場合には、当該図面検索処理は終了する(ステップ11)。ステップ7〜10の処理は、全てのブロック図接続情報についての比較が終了するまで実行される。
As a result of the comparison, it is determined whether or not there is an item whose order matches the type (step 8). If there is an item whose type matches the order, the matching block elements are highlighted on the block diagram creation screen (step 8). 9). FIG. 5 shows an example in which matching block elements are highlighted on the block diagram creation screen. In FIG. 5, the matched block element 21 is highlighted by surrounding it with a broken line.
Next, it is determined whether or not the comparison for all the block diagram connection information has been completed (step 10), and when the comparison for all the block diagram connection information has been completed, the drawing retrieval process ends (step 11). . The processing in steps 7 to 10 is executed until the comparison for all the block diagram connection information is completed.

上記のように図面検索処理を実行することによって、ブロック図において所望の部分(所望のブロック要素及びその接続関係)の検索が容易になり、ブロック図保守作業の時間が短縮されると共に、プログラマの作業負担と人的ミスが軽減され、ブロック図保守作業の効率を高めることが可能となっている。   By executing the drawing search process as described above, it becomes easy to search for a desired part (desired block elements and their connection relations) in the block diagram, and the time for maintenance of the block diagram is shortened. The workload and human error are reduced, and the efficiency of block diagram maintenance work can be increased.

[自動検索]
次に、図2において「自動検索」29を選択した場合の自動検索処理について説明する。「自動検索」29の選択によって表示される自動検索用画面の一例を図6に示す。自動検索用画面は、検索設定入力部と検索結果表示部43とを有する画面40を備えている。検索設定入力部には、検索するブロック要素の個数を設定するブロック要素数設定部41と、一致した箇所の強調表示を選択する強調表示選択部42とが設けられている。
検索結果表示部43は、比較元ブロック図接続情報(すなわち検索用ブロック図接続情報)と、比較元ブロック図接続情報と一致したブロック図接続情報を表示する。
[Auto Search]
Next, automatic search processing when “automatic search” 29 is selected in FIG. 2 will be described. An example of an automatic search screen displayed by selecting “automatic search” 29 is shown in FIG. The automatic search screen includes a screen 40 having a search setting input unit and a search result display unit 43. The search setting input unit is provided with a block element number setting unit 41 for setting the number of block elements to be searched, and an emphasis display selection unit 42 for selecting an emphasis display of the matched portion.
The search result display unit 43 displays comparison source block diagram connection information (that is, block diagram connection information for search) and block diagram connection information that matches the comparison source block diagram connection information.

図6の自動検索用画面におけるメニューとして、さらに「検索開始」44が備えられている。ユーザが「検索開始」44をクリックすると、自動検索が開始される。自動検索については、以下の処理フローの説明の中でさらに詳述する。   As a menu on the automatic search screen of FIG. 6, “search start” 44 is further provided. When the user clicks “start search” 44, an automatic search is started. The automatic search will be further described in detail in the following processing flow description.

図7に自動検索処理を実行する場合の処理フローを示す。
図2のブロック図作成画面において「自動検索」29が選択されると(ステップ21)、自動ブロック図接続情報検出部11が図6に示す自動検索用画面を表示装置3に表示する(ステップ22)。ブロック図の中から同一パターンとして検出したいブロック要素の個数をブロック要素数設定部41にて設定する(ステップ23)。図6においては、例示として「3」が入力されている。
次に、自動検索を開始するために自動検索用画面の「検索開始」44を選択する(ステップ24)。
FIG. 7 shows a processing flow when the automatic search process is executed.
When “automatic search” 29 is selected on the block diagram creation screen of FIG. 2 (step 21), the automatic block diagram connection information detection unit 11 displays the screen for automatic search shown in FIG. 6 on the display device 3 (step 22). ). The number of block elements to be detected as the same pattern from the block diagram is set by the block element number setting unit 41 (step 23). In FIG. 6, “3” is input as an example.
Next, the “search start” 44 on the automatic search screen is selected to start the automatic search (step 24).

「検索開始」44が選択されると、自動ブロック図接続情報検出部11は、ステップ23で設定されたブロック要素の個数単位で、ブロック図接続情報記憶部6に記憶されているブロック図接続情報を抽出し、抽出した情報を検索用ブロック図接続情報として検索用ブロック図接続情報記憶部9に記憶する(ステップ25)。
次に、ブロック図一致判定部10は、検索用ブロック図接続情報における線の入力ブロック要素の種類と線の出力ブロック要素の種類とその順番と、ブロック図接続情報記憶部6に記憶されているブロック図接続情報における線の入力ブロック要素の種類と線の出力ブロック要素の種類とその順番とを比較する(ステップ26)。
When “search start” 44 is selected, the automatic block diagram connection information detection unit 11 stores the block diagram connection information stored in the block diagram connection information storage unit 6 in units of the number of block elements set in step 23. And the extracted information is stored in the search block diagram connection information storage unit 9 as search block diagram connection information (step 25).
Next, the block diagram match determination unit 10 is stored in the block diagram connection information storage unit 6 in the block diagram connection information for search, the types of input block elements of lines, the types and order of output block elements of lines, and the order thereof. The type of line input block elements and the type of line output block elements in the block diagram connection information are compared with their order (step 26).

比較の結果、前記種類と順番が一致するものがあるかどうかを判定し(ステップ27)、種類と順番が一致するものがあれば、図6に示す検索結果表示部43に表示する(ステップ28)。このとき、比較元ブロック図接続情報と一致ブロック図接続情報の固体を識別するIDまで一致するような、同一内容を示す複数の表示が出ないように構成しても良い。また、強調表示選択部42において強調表示が選択されている場合には、図5に示すようにブロック図作成画面において一致した部分を強調表示することもできる。
次いで、全てのブロック図接続情報についての比較が終了したかを判定(ステップ29)し、全てのブロック図接続情報についての比較が終了した場合には、当該自動検索処理は終了する(ステップ30)。ステップ25〜29の処理は、全てのブロック図接続情報についての比較が終了するまで実行される。
As a result of the comparison, it is determined whether or not there is an item whose order matches the type (step 27). If there is an item whose order matches the type, it is displayed on the search result display unit 43 shown in FIG. 6 (step 28). ). At this time, a configuration may be adopted in which a plurality of displays indicating the same content are not generated so that the IDs for identifying the individual blocks of the comparison block diagram connection information and the matching block diagram connection information match. Further, when highlighting is selected in the highlighting selection unit 42, the matched portion on the block diagram creation screen can be highlighted as shown in FIG.
Next, it is determined whether or not the comparison for all the block diagram connection information has been completed (step 29). When the comparison for all the block diagram connection information has been completed, the automatic search processing is completed (step 30). . The processes in steps 25 to 29 are executed until the comparison for all the block diagram connection information is completed.

なお、上記実施形態における図6に示す自動検索用画面では、検索ブロック要素数が「3」に設定されており、比較元ブロック図接続情報(検索用ブロック図接続情報)として図2に表記されたブロック図の先頭から3つのブロック要素とその接続関係のみが表示されている。
しかしながら、これは説明のため、3つのブロック要素から構成される検索用ブロック図接続情報の一つを例示したものであり、検索用ブロック図接続情報は複数存在し得る。例えば、図6の例では検索ブロック要素数が「3」であるため、次の検索用ブロック図接続情報は、図2に表記されたブロック図の2番目のブロック要素(B)から数えて3つのブロック要素から抽出された情報となる。
すなわち、次の検索用ブロック図接続情報は
W002,(B:F002),(C:F003)
W003,(C:F003),(D:F004)
となる。
In the screen for automatic search shown in FIG. 6 in the above embodiment, the number of search block elements is set to “3”, and is shown in FIG. 2 as comparison source block diagram connection information (search block diagram connection information). Only the three block elements from the top of the block diagram and their connection relations are displayed.
However, for the sake of explanation, this is an example of search block diagram connection information composed of three block elements, and a plurality of search block diagram connection information may exist. For example, in the example of FIG. 6, since the number of search block elements is “3”, the next block diagram connection information for search is 3 counted from the second block element (B) in the block diagram shown in FIG. Information extracted from one block element.
That is, the next search block diagram connection information is W002, (B: F002), (C: F003).
W003, (C: F003), (D: F004)
It becomes.

このように、ブロック図接続情報をブロック要素数単位で抽出する際には、一例として、ブロック図を構成するブロック要素のそれぞれを始点としてブロック要素数単位で検索用ブロック図接続情報を抽出することによって、設定されたブロック要素数で構成されるすべてのパターンを検索用ブロック図接続情報とすることができる。これらの検索用ブロック図接続情報のそれぞれについて、ブロック図接続情報と比較して検索することにより、設定されたブロック要素数で構成されるすべてのパターンについて、ブロック図接続情報中の同一パターンを検出することが可能である。   Thus, when extracting block diagram connection information in units of the number of block elements, for example, the block diagram connection information for search is extracted in units of the number of block elements starting from each block element constituting the block diagram. Thus, all patterns configured by the set number of block elements can be used as search block diagram connection information. For each of these search block diagram connection information, the same pattern in the block diagram connection information is detected for all the patterns configured with the set number of block elements by searching in comparison with the block diagram connection information. Is possible.

上記のように、「自動検索」処理を実行することによって、ブロック図において、同一パターンで作成されているブロック要素の特定が可能になる。したがって、ブロック図において特定の同一パターンを複数切り貼りした後に、当該パターンを修正する必要が生じた場合、切り貼りした複数の同一パターンの特定が容易となる。よって、「図面検索」処理と同様に、ブロック図保守作業における効率を高めることができる。   As described above, by executing the “automatic search” process, it is possible to specify block elements created in the same pattern in the block diagram. Therefore, when it is necessary to correct a certain pattern after a plurality of specific identical patterns are cut and pasted in the block diagram, it is easy to identify the plurality of identical patterns cut and pasted. Therefore, as in the “drawing search” process, the efficiency in the block diagram maintenance work can be increased.

本発明の一実施形態に係るソフトウェア開発支援装置の模式的な構成を示す構成図である。It is a block diagram which shows the typical structure of the software development assistance apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態における「ブロック図作成画面」を示す模式図である。It is a schematic diagram which shows the "block diagram creation screen" in one Embodiment of this invention. 本発明の一実施形態における「検索用ブロック図作成画面」を示す模式図である。It is a schematic diagram showing a “search block diagram creation screen” in an embodiment of the present invention. 本発明の一実施形態における「図面検索」処理の流れを示すフロー図である。It is a flowchart which shows the flow of the "drawing search" process in one Embodiment of this invention. 本発明の一実施形態おける「ブロック図作成画面」上での強調表示を示す模式図である。It is a schematic diagram which shows the emphasis display on the "block diagram creation screen" in one Embodiment of this invention. 本発明の一実施形態における「自動検索用画面」を示す模式図である。It is a schematic diagram which shows the "automatic search screen" in one Embodiment of this invention. 本発明の一実施形態における「自動検索」処理の流れを示すフロー図である。It is a flowchart which shows the flow of the "automatic search" process in one Embodiment of this invention.

符号の説明Explanation of symbols

1 ソフトウェア開発支援装置
2 入力装置
3 表示装置
4 ブロック図作成部
5 ブロック図接続情報抽出部
6 ブロック図接続情報記憶部
7 プログラム生成部
8 検索用ブロック図作成部
9 検索用ブロック図接続情報記憶部
10 ブロック図一致判定部
11 自動ブロック図接続情報検出部
DESCRIPTION OF SYMBOLS 1 Software development support apparatus 2 Input device 3 Display apparatus 4 Block diagram creation part 5 Block diagram connection information extraction part 6 Block diagram connection information storage part 7 Program generation part 8 Search block diagram creation part 9 Block diagram connection information storage part for search 10 Block diagram match determination unit 11 Automatic block diagram connection information detection unit

Claims (4)

処理手順を表記したブロック図に基づいて、計算機言語によるプログラムを自動生成するソフトウェア開発支援装置において、
前記ブロック図に表記された複数のブロック要素と該ブロック要素間の接続関係とをブロック図接続情報として抽出するブロック図接続情報抽出手段と、
前記ブロック図接続情報抽出手段によって抽出されたブロック図接続情報を記憶するブロック図接続情報記憶手段と、
前記ブロック図の部分の検索を行なうために、検索対象となる複数のブロック要素と該ブロック要素間の接続関係とを入力する検索用入力手段と、
入力された前記検索対象となる複数のブロック要素と該ブロック要素間の接続関係とから前記ブロック図接続情報抽出手段によって抽出される検索用ブロック図接続情報を記憶する検索用ブロック図接続情報記憶手段と、
前記ブロック図接続情報記憶手段に記憶されているブロック図接続情報の中に、前記検索用ブロック図接続情報と一致する部分があるかを判定するブロック図一致判定手段と、
前記ブロック図接続情報記憶手段に記憶されたブロック図接続情報から、前記複数のブロック要素と前記接続関係とが同じパターンで構成されている部分を自動検出するための自動ブロック図接続情報検出手段であって、前記パターンを構成するブロック要素の個数を受け付ける、自動ブロック図接続情報検出手段と
を備え、前記自動ブロック図接続情報検出手段によって前記ブロック要素の個数が受け付けられた場合には、前記検索用ブロック図接続情報は、前記自動ブロック図接続情報検出手段が、前記ブロック要素の個数単位で前記ブロック図接続情報を抽出することによって得られることを特徴とする、ソフトウェア開発支援装置。
In a software development support device that automatically generates a program in a computer language based on a block diagram describing a processing procedure,
Block diagram connection information extracting means for extracting a plurality of block elements described in the block diagram and connection relationships between the block elements as block diagram connection information;
Block diagram connection information storage means for storing block diagram connection information extracted by the block diagram connection information extraction means;
A search input means for inputting a plurality of block elements to be searched and a connection relationship between the block elements in order to search for a part of the block diagram;
Search block diagram connection information storage means for storing search block diagram connection information extracted by the block diagram connection information extraction means from the input plurality of block elements to be searched and the connection relationship between the block elements. When,
Block diagram match determination means for determining whether there is a portion that matches the block diagram connection information for search in the block diagram connection information stored in the block diagram connection information storage means;
An automatic block diagram connection information detecting means for automatically detecting a portion in which the plurality of block elements and the connection relation are configured in the same pattern from the block diagram connection information stored in the block diagram connection information storage means. Automatic block diagram connection information detecting means for receiving the number of block elements constituting the pattern, and when the number of block elements is received by the automatic block diagram connection information detecting means, the search The block diagram connection information for use is obtained by the automatic block diagram connection information detecting means extracting the block diagram connection information in units of the number of block elements .
複数のブロック要素と該ブロック要素間の接続関係を表記することによって、前記ブロック図を作成するブロック図作成手段と、
前記ブロック図接続情報から、計算機言語によるプログラムを自動生成するプログラム生成手段と
を備える、請求項に記載のソフトウェア開発支援装置。
A block diagram creating means for creating the block diagram by expressing a plurality of block elements and connection relationships between the block elements;
Wherein the block diagram connection information, and a program generation means for automatically generating a program by computer languages, software development support apparatus according to claim 1.
コンピュータを請求項1又は2に記載の手段として機能させるためのソフトウェア開発支援プログラム。 Software development support program for functioning as a means of describing the computer to claim 1 or 2. 処理手順を表記したブロック図に基づいて、計算機言語によるプログラムを自動生成するソフトウェア開発支援装置において実行されるブロック図検索方法であって、
ブロック図接続情報抽出手段が、前記ブロック図に表記された複数のブロック要素と該ブロック要素間の接続関係とをブロック図接続情報として抽出するブロック図接続情報抽出ステップと、
ブロック図接続情報記憶手段が、前記ブロック図接続情報抽出手段によって抽出されたブロック図接続情報を記憶するブロック図接続情報記憶ステップと、
検索用入力手段が、前記ブロック図の部分の検索を行なうために、検索対象となる複数のブロック要素と該ブロック要素間の接続関係とを入力する検索用入力ステップと、
前記ブロック図接続情報抽出手段が、入力された前記検索対象となる複数のブロック要素と該ブロック要素間の接続関係とから検索用ブロック図接続情報を抽出する検索用ブロック図接続情報抽出ステップと、
検索用ブロック図接続情報記憶手段が、前記検索用ブロック図接続情報を記憶する検索用ブロック図接続情報記憶ステップと、
ブロック図一致判定手段が、前記ブロック図接続情報記憶手段に記憶されているブロック図接続情報の中に、前記検索用ブロック図接続情報と一致する部分があるかを判定するブロック図一致判定ステップと、
自動ブロック図接続情報検出手段が、前記ブロック図接続情報記憶手段に記憶されたブロック図接続情報から、前記複数のブロック要素と前記接続関係とが同じパターンで構成されている部分を自動検出するために、前記パターンを構成するブロック要素の個数を受け付ける、自動ブロック図接続情報検出ステップと
を含み、前記自動ブロック図接続情報検出手段によって前記ブロック要素の個数が受け付けられた場合には、前記検索用ブロック図接続情報は、前記自動ブロック図接続情報検出手段が、前記ブロック要素の個数単位で前記ブロック図接続情報を抽出することによって得られることを特徴とする、ブロック図検索方法。
A block diagram search method executed in a software development support device that automatically generates a program in a computer language based on a block diagram representing a processing procedure,
A block diagram connection information extracting means for extracting, as block diagram connection information, a plurality of block elements described in the block diagram and a connection relationship between the block elements;
A block diagram connection information storage means for storing the block diagram connection information extracted by the block diagram connection information extraction means;
An input step for searching for inputting a plurality of block elements to be searched and a connection relationship between the block elements in order for the input means for searching to search the portion of the block diagram;
A block diagram connection information extraction step for search, wherein the block diagram connection information extraction means extracts block diagram connection information for search from the input plurality of block elements to be searched and a connection relationship between the block elements;
A search block diagram connection information storage means for storing the search block diagram connection information;
A block diagram coincidence determining step for determining whether there is a portion in the block diagram connection information stored in the block diagram connection information storing unit that matches the search block diagram connection information; ,
The automatic block diagram connection information detecting means automatically detects a portion in which the plurality of block elements and the connection relation are configured in the same pattern from the block diagram connection information stored in the block diagram connection information storage means. to, and accepts the number of the block elements constituting the pattern, see contains an automatic block diagram the connection information detection step, when the number of the block element is received by the automatic block diagram the connection information detection means, the search The block diagram connection information is obtained by the automatic block diagram connection information detecting means extracting the block diagram connection information in units of the number of block elements .
JP2008080238A 2008-03-26 2008-03-26 Software development support apparatus, program, and block diagram search method Expired - Fee Related JP5228566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008080238A JP5228566B2 (en) 2008-03-26 2008-03-26 Software development support apparatus, program, and block diagram search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008080238A JP5228566B2 (en) 2008-03-26 2008-03-26 Software development support apparatus, program, and block diagram search method

Publications (2)

Publication Number Publication Date
JP2009237691A JP2009237691A (en) 2009-10-15
JP5228566B2 true JP5228566B2 (en) 2013-07-03

Family

ID=41251595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008080238A Expired - Fee Related JP5228566B2 (en) 2008-03-26 2008-03-26 Software development support apparatus, program, and block diagram search method

Country Status (1)

Country Link
JP (1) JP5228566B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236204A (en) * 1993-02-10 1994-08-23 Fuji Electric Co Ltd Method of displaying device search result of programming device
JPH07296046A (en) * 1994-04-27 1995-11-10 Hitachi Ltd Drawing editing support system
JPH0916389A (en) * 1995-07-03 1997-01-17 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for automatically generating program parts
JPH09237181A (en) * 1996-02-29 1997-09-09 Toshiba Corp Application development apparatus and application development method
JPH1185489A (en) * 1997-09-09 1999-03-30 Casio Comput Co Ltd Program construction support device and storage medium
JP2001014154A (en) * 1999-06-29 2001-01-19 Hitachi Ltd Object-oriented software component extraction support and retrieval device
JP2003029978A (en) * 2001-07-13 2003-01-31 Japan Science & Technology Corp Isomorphic pattern detection system
JP2003084813A (en) * 2001-09-14 2003-03-19 Fuji Electric Co Ltd Ladder circuit editing device and its editing method

Also Published As

Publication number Publication date
JP2009237691A (en) 2009-10-15

Similar Documents

Publication Publication Date Title
JP6417791B2 (en) Application test support apparatus, data processing method thereof, and program
KR101394874B1 (en) Device and method implementing for particular function based on writing
JP4502615B2 (en) Similar sentence search device, similar sentence search method, and program
CN111813409A (en) A code generation method, device, device and storage medium for an interactive interface
RU2665274C2 (en) Pop-up verification panel
WO2019042349A1 (en) Translation method, mobile terminal and storage device of operating system framework
JP2005216203A (en) Table format data processing method and table format data processing apparatus
JP2005011340A (en) Method, system and program for selecting object by grouping annotations thereon, and computer readable storage medium
JP2010238225A (en) Method for supporting input of variable names in PLC programming
JP2011013887A (en) Software development support device
CN112765963A (en) Sentence segmentation method and device, computer equipment and storage medium
JP5228566B2 (en) Software development support apparatus, program, and block diagram search method
JP5091549B2 (en) Document data processing device
JP5150657B2 (en) Manual correction location presentation device, system, method and program
CN111026604B (en) Log file analysis method and device
JP5965785B2 (en) Use case scenario creation support device, use case scenario creation support method, and use case scenario creation support program
JP2009169573A (en) Analysis result output device and analysis result output method
JP5702265B2 (en) Program automatic generation apparatus and program automatic generation method
JP2013077084A (en) Sentence example dictionary generation program and sentence example dictionary generation device
JP2009251666A (en) Change history preparation apparatus, method, and program
JP5949889B2 (en) Software development support device
JP2011232855A (en) Character conversion device, character conversion system, character conversion method and program
JP2009223803A (en) Method and program for processing state transition table
JP2009151613A (en) Program source conversion device
JP2007310829A (en) Data processing apparatus, data processing method, and data processing program

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20110214

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130304

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160329

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5228566

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees