JP7515734B2 - Information processing device, program, and information processing method - Google Patents
Information processing device, program, and information processing method Download PDFInfo
- Publication number
- JP7515734B2 JP7515734B2 JP2023543560A JP2023543560A JP7515734B2 JP 7515734 B2 JP7515734 B2 JP 7515734B2 JP 2023543560 A JP2023543560 A JP 2023543560A JP 2023543560 A JP2023543560 A JP 2023543560A JP 7515734 B2 JP7515734 B2 JP 7515734B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- elements
- output
- unit
- system model
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 15
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000010586 diagram Methods 0.000 claims description 81
- 238000012937 correction Methods 0.000 claims description 26
- 238000012552 review Methods 0.000 description 53
- 238000013461 design Methods 0.000 description 35
- 238000011161 development Methods 0.000 description 11
- 230000018109 developmental process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 238000000034 method Methods 0.000 description 9
- 238000012986 modification Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000007717 exclusion Effects 0.000 description 2
- 230000033772 system development Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000012553 document review Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Description
本開示は、情報処理装置、プログラム及び情報処理方法に関する。 The present disclosure relates to an information processing device, a program, and an information processing method.
従来からの仕様書又は設計書といった文書ベースのシステム開発ではなく、SysML(Systems Modeling Language)又はUML(Unified Modeling Language)等の記述言語を用い、システムモデルを作成しつつ設計を行うMBSE(Model Based Systems Engineering)が注目されている。 Instead of the traditional document-based system development using specifications or design documents, attention is being drawn to MBSE (Model Based Systems Engineering), which uses descriptive languages such as SysML (Systems Modeling Language) or UML (Unified Modeling Language) to create a system model while designing.
文書ベースのシステム開発においては、システム設計者は、システムの設計を行いながら、設計した情報を含む仕様書又は設計書を作成してきた。一方、MBSEにおいては、システム設計者は、システムの設計を行いながら、モデリングツールと呼ばれるMBSE対応のツールを用いて、設計した情報を含むシステムモデルを構築する。In document-based system development, the system designer creates specifications or design documents that include the designed information while designing the system. In MBSE, on the other hand, the system designer uses an MBSE-compatible tool called a modeling tool to build a system model that includes the designed information while designing the system.
システムモデルは、システムの設計情報が格納されたDB(Data Base)である。DBに格納される設計情報は、例えば、システムの構成要素一覧、各構成要素の外部インターフェース情報又は各構成要素間でやり取りされるデータの情報等、システムの設計情報全般である。 A system model is a DB (Data Base) that stores design information for a system. The design information stored in the DB is general design information for the system, such as a list of system components, external interface information for each component, or information on data exchanged between each component.
モデリングツールは、システムの設計情報が格納されたDBを閲覧、作成又は更新するためのツールであり、システムの設計情報が格納されたDBであるシステムモデルを出力することができる。 A modeling tool is a tool for viewing, creating, or updating a database in which system design information is stored, and can output a system model, which is a database in which system design information is stored.
文書ベースのシステム設計成果物は、仕様書又は設計書であるのに対し、MBSEにおけるシステム設計成果物は、モデリングツールにて構築されたシステムモデルである。システムモデルは、設計情報のSingle Source of Truthとして扱われる。 Whereas document-based system design deliverables are specifications or design documents, the system design deliverables in MBSE are system models constructed using modeling tools. The system model is treated as a single source of truth for design information.
システムモデルは、システムの設計情報を網羅的に保有している。そのため、システム関係者が、自身の担当と関係する範囲の設計情報を閲覧したい場合、膨大なシステムモデル内の設計情報から必要な個所を探索する必要があり、手間がかかる。ここでの必要な個所は、「自身の担当と関係する設計情報」が格納された個所のことである。 The system model contains comprehensive design information about the system. Therefore, when someone involved in the system wants to view the design information related to their own area of responsibility, they must search for the required part among the vast amount of design information in the system model, which is time-consuming. The required part in this case refers to the location where the "design information related to their own area of responsibility" is stored.
また、システムモデルはモデリングツールを用いて閲覧できるものであることから、設計情報の閲覧にはモデリングツールのライセンス付与、又は、ツールの使い方習得といった問題が発生する。 In addition, since system models can be viewed using modeling tools, viewing design information raises issues such as the need to license the modeling tool or learn how to use the tool.
そこで、システムモデルから自身の担当と関係する範囲等を抽出してドキュメントに出力することが考えられる。例えば、システムに加えられた新機能に関する設計書を作成する場合、システムモデルから新機能に関する設計情報を出力して新機能の設計書を生成する。また、システムのインターフェース仕様書を作成する場合、システムモデルからシステムのインターフェースに関する設計情報を出力してインターフェース仕様書を生成する。 One way to do this is to extract the areas related to one's own responsibilities from the system model and output them in a document. For example, when creating a design document for a new function added to a system, design information about the new function is output from the system model to generate a design document for the new function. Also, when creating an interface specification for a system, design information about the system's interface is output from the system model to generate an interface specification.
特許文献1では、ソフトウェア設計情報を含むシステムモデルから、ソフトウェア仕様書の作成に必要な情報を出力し、ソフトウェア仕様書を作成する技術が開示されている。ここでのソフトウェア仕様書の作成に必要な情報は、ソフトウェア仕様書に記載される設計情報のことである。特許文献1に記載されている技術を用いることで、システムモデルからドキュメントを生成することができる。
ここで、設計者がシステムの新機能を設計し、設計した情報をシステムモデルに追加した後に行うレビューを考える。対面ではなく、メール又はレビュー支援ツールで非同期にレビューを行う場合、初めに、設計者であるレビューイがシステムモデルから新機能に関する設計情報をドキュメントに出力する。次に、レビュワーがそのドキュメントに対してレビューを行う。 Now consider a review that takes place after a designer designs new functions for the system and adds the designed information to the system model. If the review is conducted asynchronously via email or a review support tool rather than face-to-face, the reviewer, who is also the designer, first outputs the design information about the new functions from the system model into a document. Next, the reviewer reviews that document.
この時、レビュワーが設計誤りを発見し、修正が必要となった場合、設計者は、レビューを行ったドキュメントではなく、設計情報のSingle Source of Truthであるシステムモデルを修正する。 At this time, if the reviewer discovers a design error and correction is necessary, the designer will correct the system model, which is the single source of truth of the design information, rather than the document that was reviewed.
しかし、特許文献1に記載の技術は、システムモデルと、生成したドキュメントとの内部の対応関係を提示していない。このため、レビューイが設計誤りを修正するには、レビュワーに指摘された設計誤りに対応する個所をシステムモデルから見つけ出す必要がある。However, the technology described in
言い換えると、レビュワーは、ドキュメントを見てレビューを行っているため、設計誤りが記載されたドキュメント内の位置を提示することはできるが、システムモデル内の修正箇所を提示することはできない。従って、レビューイは、レビュワーの提示可能な、ドキュメント内の位置から対応するシステムモデル内の修正箇所を探索し、修正を行うことになる。 In other words, because the reviewer is reviewing the document, he or she can indicate the location in the document where the design error is described, but cannot indicate the location in the system model where the error should be corrected. Therefore, the reviewer must search for the location in the system model that corresponds to the location in the document that the reviewer can indicate, and make the correction.
このため、ドキュメント内の位置から対応するシステムモデル内の修正箇所を探索する作業に時間が掛かるおそれがある。 This can make it time-consuming to search for the corresponding modification location in the system model from a location in the document.
また、レビューイが、指摘に基づき文字列検索でシステムモデルを検索した場合であっても、複数の膨大な検索結果が出力されると、その中から正しい修正箇所を探索するのに時間が掛かるおそれがある。 Furthermore, even if a reviewer searches the system model using a string search based on the comments, if a large number of search results are output, it may take a long time to search through them to find the correct correction.
具体的には、レビュワーがシステム内のソフトウェアにおいて“get”と名付けられたAPI(Appkication Programming Interface)に関する設計誤りを発見した場合、設計者は、“get”の文字列でシステムモデルを検索し、その修正箇所を探索する。しかしながら、“get”と名付けられたAPIが複数のクラスに存在する場合、各クラスの“get”が文字列検索結果となる。そのため、そこから更に設計誤りとして指摘された“get”を探索する必要がある。 Specifically, if a reviewer finds a design error in an API (Application Programming Interface) named "get" in software within a system, the designer searches the system model for the string "get" to find the part that needs to be corrected. However, if an API named "get" exists in multiple classes, the "get" in each class will be the string search result. Therefore, it is necessary to further search for the "get" that was pointed out as a design error.
さらに、一般的なモデリングツールが実装している、システムモデルからドキュメントを出力するドキュメント生成機能は、ドキュメントと、システムモデルとの内部の対応関係を提示しないものが多い。この理由としては、上述したように、システムモデル内の設計情報は、モデリングツールを用いて閲覧等のアクセスを行うことを前提としていることが挙げられる。 Furthermore, the document generation functions implemented in typical modeling tools that output documents from a system model often do not show the internal correspondence between the document and the system model. The reason for this is that, as mentioned above, it is assumed that the design information in the system model will be accessed, such as viewed, using the modeling tool.
そこで、本開示の一又は複数の態様は、ドキュメントと、ドキュメントの生成元のシステムモデルとの対応関係を特定することを目的とする。 Therefore, one or more aspects of the present disclosure aim to identify a correspondence between a document and the system model from which the document was generated.
本開示の一態様に係る情報処理装置は、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部と、前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部と、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部と、を備えることを特徴とする。An information processing device according to one aspect of the present disclosure is characterized in that it comprises: an output element identification unit that identifies, as output elements, elements among the plurality of elements that are output in each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, by referring to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies a position at which a necessary element among the plurality of elements is to be placed, or the document generation rule, and generates association information that associates each of the plurality of specific ranges with the output element output in each of the plurality of specific ranges; an input unit that accepts input of a document position, which is the position of the document; and a position element identification unit that identifies, as candidates for elements to be pointed out, the output element included in a specific range corresponding to the document position among the plurality of specific ranges by referring to the association information.
本開示の一態様に係るプログラムは、コンピュータを、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部、前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部、及び、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部、として機能させることを特徴とする。A program according to one aspect of the present disclosure causes a computer to function as an output element identification unit that, by referring to a document generated in accordance with a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies the position at which a necessary element among the plurality of elements is to be placed, or the document generation rule, identifies, among the plurality of elements, elements that are output in each of a plurality of specific ranges that are a plurality of predetermined ranges in the document as output elements, and generates association information that associates each of the plurality of specific ranges with the output element that is output in each of the plurality of specific ranges; an input unit that accepts input of a document position that is the position of the document; and a position element identification unit that, by referring to the association information, identifies, as a candidate element to be pointed out, the output element that is included in a specific range that corresponds to the document position among the plurality of specific ranges.
本開示の一態様に係る情報処理方法は、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成し、前記ドキュメントの位置であるドキュメント位置の入力を受け付け、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定することを特徴とする。An information processing method according to one aspect of the present disclosure is characterized in that, by referring to a document generated in accordance with a system model having a tree structure consisting of a plurality of elements and a document generation rule specifying a position for placing a necessary element among the plurality of elements, or the document generation rule, an element among the plurality of elements that is output in each of a plurality of specific ranges that are a plurality of predetermined ranges in the document is identified as an output element, association information is generated that associates each of the plurality of specific ranges with the output element output in each of the plurality of specific ranges, an input of a document position that is the position of the document is accepted, and, by referring to the association information, the output element included in the specific range corresponding to the document position among the plurality of specific ranges is identified as a candidate element to be pointed out.
本開示の一又は複数の態様によれば、ドキュメントと、ドキュメントの生成元のシステムモデルとの対応関係を特定することができる。 According to one or more aspects of the present disclosure, it is possible to identify a correspondence between a document and the system model from which the document was generated.
実施の形態1.
図1は、実施の形態1に係る情報処理装置としての開発支援装置100の構成を概略的に示すブロック図である。
開発支援装置100は、システムモデル記憶部101と、ドキュメント生成ルール記憶部102と、ドキュメント生成部103と、出力部104と、入力部105と、指摘対象要素検索部106と、システムモデル修正部107と、修正後システムモデル記憶部108とを備える。
FIG. 1 is a block diagram showing a schematic configuration of a development support device 100 serving as an information processing device according to the first embodiment.
The development support device 100 includes a system
なお、実施の形態1では、一例としてシステム設計情報を含むシステムモデルに対する開発支援装置100の例を示すが、システムモデルが含む情報は、システム設計情報でなくてもよい。例えば、システムのプロジェクト管理情報又は検証情報等、システムのライフサイクルに関わる情報がシステムモデルに含まれていればよい。In the first embodiment, an example of the development support device 100 for a system model including system design information is shown as an example, but the information included in the system model does not have to be system design information. For example, it is sufficient if the system model includes information related to the system's life cycle, such as project management information or verification information for the system.
システムモデル記憶部101は、システムモデルを記憶する。
図2は、実施の形態1におけるシステムモデルの一例を示す模式図である。
図2に示されているシステムモデル110は、システムのsw(ソフトウェア)に関する設計情報を含む例を示している。
システムモデル110は、ツリー構造で構成され、ツリーの各ノードは、要素と呼ばれる。各要素は、要素名、種類及びノートといったメタデータを持つ。
The system
FIG. 2 is a schematic diagram showing an example of a system model according to the first embodiment.
The system model 110 shown in FIG. 2 is an example including design information related to the sw (software) of the system.
The system model 110 is organized in a tree structure, and each node of the tree is called an element. Each element has metadata such as the element name, type, and notes.
例えば、システムモデル110のツリー構造のルート要素である要素111は、要素名「sw構造」、種類「パッケージ」及びノート「xx1」のメタデータを持つ。
種類「パッケージ」は、複数の要素をグルーピングするための要素であることを意味する。
また、ノートには任意の文字列を保存でき、ノートは、要素に関する追加情報を記録するために用いられる。
For example,
The type "package" means that it is an element for grouping a plurality of elements.
Additionally, any string can be stored in a note, and the note is used to record additional information about an element.
次に、要素111の子要素を説明する。
要素111は、「classA」の要素112、「classB」の要素113及び「classC」の要素114を子要素として持つ。これらの要素112、113、114の種類は、「ブロック」である。種類「ブロック」は、システムの構成要素、又は、システムであることを意味する。
Next, child elements of
The
システムモデル110において、「classA」の要素112、「classB」の要素113及び「classC」の要素114は、ソフトウェアを構成するクラス部品である。従って、システムのソフトウェアは、「classA」の要素112、「classB」の要素113及び「classC」の要素114のクラス部品を持つ。In the system model 110, "class A"
さらに、「classA」の要素112は、「get」の要素115を子要素として持つ。「get」の要素115の種類は、「操作」である。種類「操作」は、親要素であるクラス部品のメソッドであることを意味する。よって、「classA」の要素112は、メソッドとして「get」の要素115を子要素として持つ。
Furthermore, "classA"
また、「sw構造」の要素111は、「sw構造図」の要素116を子要素として持つ。「sw構造図」の要素116の種類は、「ブロック定義図」である。種類「ブロック定義図」は、システムの構造を表す図を含む要素である。よって、「sw構造図」の要素116は、図120を保有する。
Furthermore, "sw structure"
図3は、システムモデル110に含まれている図120を示す模式図である。
MBSEにおいて、ブロック定義図は、システムモデル内の要素を用いてシステムの構造を表現する。例えば、図3に示されているように、図120は、「classA」と、「classB」とが関連の関係であること、また、「classA」と、「classC」とが汎化の関係であることを表現している。よって、システムモデル110内の要素間の関係性が分かる。
FIG. 3 is a schematic diagram showing a diagram 120 included in the system model 110. As shown in FIG.
In MBSE, the block definition diagram expresses the structure of the system using elements in the system model. For example, as shown in Fig. 3, Fig. 120 expresses that "class A" and "class B" are in an association relationship, and that "class A" and "class C" are in a generalization relationship. Thus, the relationships between the elements in the system model 110 can be understood.
図1に戻り、ドキュメント生成ルール記憶部102は、ドキュメント生成ルールを記憶する。ドキュメント生成ルールは、システムモデルに含まれている複数の要素の内の必要な要素を配置する位置を指定する。なお、ここでの必要な要素は、ドキュメント生成に用いる要素のことである。例えば、ドキュメントにsw構造図を記載したい場合、必要な要素として「sw構造図」の要素116が存在する。Returning to FIG. 1, the document generation
図4は、ドキュメント生成ルールの一例を示す模式図である。
図4に示されているドキュメント生成ルール130では、[]で囲まれている部分は、システムモデル記憶部101に記憶されているシステムモデルから対応する内容をドキュメントの対応する部分に出力することを示し、[]で囲まれていない文字列は、そのままドキュメントの対応する部分に出力することを示している。
FIG. 4 is a schematic diagram showing an example of document generation rules.
In the document generation rules 130 shown in FIG. 4, the part enclosed in [ ] indicates that the corresponding content from the system model stored in the system
なお、ドキュメント生成ルールの記述記法は、ドキュメント生成部103に依存する。ドキュメント生成機能は、モデリングツールに含まれることが多いが、その場合、ドキュメント生成ルールの記述記法は、モデリングツールの仕様に準じる。The notation for describing the document generation rules depends on the
ここで、ドキュメント生成ルールは、生成されるドキュメントを複数の項目番号で区分けしておくことが望ましい。例えば、図4では、項目番号として、章を示す「2」及び章の中の節を示す「2.1」及び「2.2」が含まれている。Here, it is desirable for the document generation rules to classify the documents to be generated by multiple item numbers. For example, in Figure 4, the item numbers include "2" indicating a chapter, and "2.1" and "2.2" indicating sections within the chapter.
図1に戻り、ドキュメント生成部103は、システムモデル記憶部101からシステムモデルを読み込み、また、ドキュメント生成ルール記憶部102からドキュメント生成ルールを読み込み、これらに従って、ドキュメントを生成する。例えば、ドキュメント生成部103は、ドキュメント生成ルールを解析し、その解析結果に基づいてシステムモデル内の情報をドキュメントに出力する。Returning to Figure 1, the
ここでは、ドキュメント生成部103が、図2に示されているシステムモデル110及び図4に示されているドキュメント生成ルール130を読み込んだ場合を例に、ドキュメント生成部103での処理を説明する。
なお、図5は、以上の例において、ドキュメント生成部103が生成するドキュメントの一例を示す模式図である。
Here, the process in the
FIG. 5 is a schematic diagram showing an example of the document generated by the
例えば、ドキュメント生成部103は、ドキュメント生成ルール130において[<sw構造>のノートを挿入する]と記載された箇所に対応するドキュメント140(図5参照)のエリアに、システムモデル110内の要素111である「sw構造」のノートの内容を出力する。For example, the
また、ドキュメント生成部103は、ドキュメント生成ルール130において[<sw構造/sw構造図>の図を挿入する]と記載された箇所に対応するドキュメント140のエリアに、システムモデル110内の要素116である「sw構造図」が保有する図を出力する。ここで、<sw構造/sw構造図>は、ルート要素である「sw構造」から「sw構造図」までの経路を示している。In addition, the
さらに、ドキュメント生成部103は、ドキュメント生成ルール130に記載の文字列をそのままドキュメント140に出力する。例えば、ドキュメント生成部103は、ドキュメント生成ルール130において「2.class定義」と記載された個所に関し、文字列「2.class定義」をそのままドキュメント140の対応するエリアに出力する。Furthermore, the
以上のようにして、ドキュメント生成部103は、図5に示されているドキュメント140を生成することができる。
ドキュメント生成部103で生成されたドキュメントは、出力部104に送られる。
In this manner, the
The document generated by the
出力部104は、ドキュメント生成部103からドキュメントを受け取り、そのドキュメントをユーザに見える形で出力する。
一例として、出力部104は、ドキュメントを表示する。また、一例として出力部104は、ドキュメントを媒体に印刷することにより出力する。
The
As an example, the
入力部105は、出力部104が出力したドキュメントの位置であるドキュメント位置と、そのドキュメント位置に関する指摘とを示すレビュー指摘の入力を受け付ける。入力されたレビュー指摘は、指摘対象要素検索部106及びシステムモデル修正部107に与えられる。The
図6は、入力部105が入力を受け付けるレビュー指摘の一例を示す模式図である。
図6に示されているように、レビュー指摘150では、ドキュメント位置と、そのドキュメント位置に関する指摘とを含んでいる。
図6の例では、ドキュメント位置として「2.2節」が含まれており、この位置における指摘として、「getの記述aaaはbbbの誤り」が含まれている。
また、ドキュメント位置として「図2-1」が含まれており、この位置における指摘の内容として、「図に出てくるcccは不要」が含まれている。
FIG. 6 is a schematic diagram showing an example of a review indication received by the
As shown in FIG. 6, review
In the example of FIG. 6, "Section 2.2" is included as the document position, and "the description of get, aaa, is an error of bbb" is included as the indication at this position.
In addition, "Figure 2-1" is included as the document position, and the contents of the indication at this position include "The ccc appearing in the figure is unnecessary."
入力部105は、ユーザからマウス又はキーボードを介して、レビュー指摘の入力を受け付けてもよく、マイクを介して、音声認識でレビュー指摘の入力を受け付けてもよい。
さらに、ドキュメントを解析して自動でレビュー指摘を出力するシステムがあれば、入力部105は、そのシステムからレビュー指摘の入力を受け付けてもよい。
The
Furthermore, if there is a system that analyzes a document and automatically outputs review suggestions, the
指摘対象要素検索部106は、システムモデル記憶部101に記憶されているシステムモデル、及び、ドキュメント生成部103で生成されたドキュメントを用いて、入力部105で受け付けたレビュー指摘における指摘に対応するシステムモデル内の要素である指摘対象要素を検索する。The pointed out
図7は、実施の形態1における指摘対象要素検索部106の構成を概略的に示すブロック図である。
指摘対象要素検索部106は、指摘対象要素候補特定部160と、文字検索部164とを備える。
FIG. 7 is a block diagram showing a schematic configuration of the pointed-out
The pointed out
指摘対象要素候補特定部160は、システムモデル及びドキュメントを用いて、レビュー指摘における指摘が行われた箇所に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。The candidate target
指摘対象要素候補特定部160は、出力要素特定部161と、関連付けDB162と、位置要素特定部163とを備える。The candidate pointed out
出力要素特定部161は、ドキュメントから予め定められた複数の特定範囲を特定し、複数の特定範囲の各々に出力されている要素と、システムモデル内の要素との対応関係を特定する。特定範囲は、例えば、1章等の各項目番号、又は、5p等の各ページ番号で区切られる、ドキュメント内の範囲のことである。なお、特定範囲は、予め定められていればよい。The output
出力要素特定部161は、ドキュメントを参照することで、システムモデルに含まれている複数の要素の内、予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定する。そして、出力要素特定部161は、複数の特定範囲の各々と、その複数の特定範囲の各々に出力されている出力要素とを関連付ける関連付け情報を生成する。The output
例えば、出力要素特定部161は、ドキュメントの特定範囲内の文字列を解析して、相間の高いシステムモデル内の要素を特定範囲に対応する要素である出力要素として特定する。例えば、出力要素特定部161は、特定範囲内の文字列と、システムモデル内の要素のメタデータの何れかとが一致する場合に、その文字列と、その要素との相関が高いと判断すればよい。For example, the output
具体的には、図2に示されているシステムモデル110と、図5に示されているドキュメント140との場合、出力要素特定部161は、ドキュメント140の項目番号2.2節が「classA」及び「get」の文字列を含んでいることから、システムモデル110の<sw構造/classA>及び<sw構造/classA/get>の要素が項目番号2.2節に出力されていると推定する。よって、出力要素特定部161は、項目番号2.2節と対応する要素として、<sw構造/classA>と、<sw構造/classA/get>とを特定する。なお、要素は、システムモデルにおける要素の位置である要素位置が識別可能に特定されるものとする。ここでは、要素位置は、ルート要素からの経路で識別される。言い換えると、関連付け情報は、複数の特定の範囲の各々と、その複数の特定範囲の各々に出力されている出力要素の要素位置とを関連付ければよい。Specifically, in the case of the system model 110 shown in FIG. 2 and the
そして、出力要素特定部161は、ドキュメントの特定範囲を示す特定範囲と、その特定範囲に対応する要素とを関連付ける関連付け情報を関連付けDB162に格納する。Then, the output
関連付けDB162は、出力要素特定部161からの関連付け情報を記憶する関連付け情報記憶部である。
The association DB162 is an association information storage unit that stores association information from the output
図8は、関連付けDB162に記憶されている関連付け情報の一例を示す模式図である。
図8に示されているように、関連付け情報170は、特定範囲171と、要素172とを示している。
図8では、特定範囲171は、ドキュメントの章及び節を示しているが、実施の形態1はこのような例に限定されない。例えば、ドキュメントのページ番号が特定範囲171として用いられていてもよい。
FIG. 8 is a schematic diagram showing an example of association information stored in the
As shown in FIG. 8, the
8, the
位置要素特定部163は、関連付けDB162に記憶されている関連付け情報を参照することで、複数の特定範囲の内、ドキュメント位置に対応する特定範囲に含まれている出力要素を指摘対象要素候補として特定する。The position
例えば、位置要素特定部163は、レビュー指摘に含まれているドキュメント位置に対応する特定範囲に関連付けられている要素を、指摘対象要素候補として特定する。特定された指摘対象要素候補は、対応するレビュー指摘とともに文字検索部164に与えられる。For example, the position
具体的には、図8に示されている関連付け情報170において、ドキュメント位置が「2.2節」である場合、位置要素特定部163は、関連付け情報170を参照することで、「2.2節」に対応する行173から、その行173に含まれている要素を、指摘対象要素候補として特定する。特定された指摘対象要素候補は、図9に示されているようになる。
Specifically, in the
なお、例えば、ドキュメント位置がドキュメントのページ番号の場合、位置要素特定部163は、そのページ番号に対応する指摘対象要素候補を関連付けDB162から特定する。For example, if the document position is a page number of the document, the position
また、例えば、ドキュメント位置が、関連付けDB162に記憶されている関連付け情報に含まれていない場合、位置要素特定部163は、関連付け情報に含まれている要素の全てを指摘対象要素候補として特定してもよい。具体的には、ドキュメント位置がページ番号にも関わらず、関連付け情報がページ番号に関連付けて要素を特定していない場合、位置要素特定部163は、関連付け情報に含まれている全ての要素を、指摘対象要素候補として特定する。これにより、関連付け情報に含まれている要素は、ドキュメントに出力されている要素のみであるため、ドキュメントに出力されない要素を指摘対象要素候補から除外することができる。Also, for example, if the document position is not included in the association information stored in
文字検索部164は、レビュー指摘における指摘の内容と、指摘対象要素候補の内容とを比較することで、指摘対象要素候補から、レビュー指摘における指摘が行われている要素である指摘対象要素を特定する指摘対象要素特定部として機能する。The
例えば、文字検索部164は、レビュー指摘における指摘の文字列に基づき、そのレビュー指摘に対応する指摘対象要素候補に含まれているメタデータの文字列を検索し、指摘された内容に対応する要素である指摘対象要素を特定する。特定された指摘対象要素は、対応するレビュー指摘とともにシステムモデル修正部107に与えられる。For example, the
具体的には、指摘対象要素候補が図9に示されているようになっており、レビュー指摘における指摘に「get」の文字列が含まれる場合、文字検索部164は、「get」の文字列で指摘対象要素候補となっている要素のメタデータを検索し、相間の高い<sw構造/get―要素名>の要素を、指摘対象要素として特定する。ここで、指摘の文字列と、要素のメタデータに含まれている文字列とが一致する場合に、相関が高いと判断される。言い換えると、文字検索部164は、指摘の内容を示す文字列と一致する文字列を含む指摘対象要素候補を、指摘対象要素として特定する。特定された指摘対象要素は、例えば、図10に示されているようになる。
Specifically, the candidate elements to be pointed out are as shown in FIG. 9, and when the character string "get" is included in the comment in the review comment, the
なお、文字検索部164は、文字列検索で、レビュー指摘における指摘の文字列と相間の高い要素がない場合、指摘対象要素候補をすべて指摘対象要素として特定してもよい。これにより、文字検索部164の性能に依存した、本来除外すべきでない要素の誤った除外を減らすことができる。例えば、レビュー指摘にクラスAと記載があった場合、文字列検索では、要素「classA」と、レビュー指摘「クラスA」との相関は弱くなる。このとき、レビュー指摘「クラスA」と相関の強い要素がない場合、指摘対象要素候補を全て指摘対象要素として特定してもよい。これにより、本来レビュー指摘者が指摘したかった要素と考えられる要素「classA」の誤った除外を減らすことができる。In addition, the
さらに、文字検索部164は、文字列検索で、指摘の文字列と相間の高い要素が複数存在する場合、その複数の要素を指摘対象要素として特定してもよい。これにより、ユーザが、複数の要素に対して指摘が行われた場合にも対応することができる。Furthermore, when a character string search finds multiple elements that have a high correlation with the pointed-out character string, the
図1に戻り、システムモデル修正部107は、レビュー指摘に基づき、システムモデル内における指摘対象要素を修正する。具体的には、システムモデル修正部107は、レビュー指摘における指摘の内容が、システムモデルの修正である場合に、その指摘の内容に従って、指摘対象要素を修正する。修正されたシステムモデルは、修正後システムモデル記憶部108に記憶される。Returning to FIG. 1, the system
例えば、指摘対象要素が<sw構造/get―要素名>で、レビュー指摘における指摘が“getをgetSizeに変更する”という情報を含む場合、システムモデル修正部107は、システムモデル内の<sw構造/get―要素名>の要素名を“get”から“getSize”に修正する。
この場合、システムモデル修正部107がレビュー指摘における指摘の内容を明確に特定することができるようにするため、修正を行う場合の記載方法が予め定められていることが望ましい。
For example, if the element being pointed out is <sw structure/get-element name> and the review comment includes the information "change get to getSize," the system
In this case, it is preferable that a description method for making corrections be determined in advance so that the system
また、レビュー指摘における指摘の内容が修正ではなく、例えば、コメントである場合、システムモデル修正部107は、システムモデルを修正せず、指摘対象要素及び指摘を、出力部104を介して、ユーザに提示してもよい。
なお、以上のような処理を確実に行うため、ユーザは、レビュー指摘を行う際に、指摘の内容が「修正」なのか、「コメント」なのかを入力することが望ましい。この場合、入力部105で入力を受け付けるレビュー指摘には、「修正」又は「コメント」を示す情報が含まれる。
In addition, if the content of the review comment is not a correction but, for example, a comment, the system
In order to ensure the above-mentioned processing, it is preferable that the user, when making a review indication, inputs whether the indication is a "correction" or a "comment." In this case, the review indication received by the
なお、例えば、レビュー指摘に複数の指摘対象要素が対応する場合、レビュー指摘の記載方法が予め定められた記載方法ではない場合等、修正方法が明確に判断できない場合には、システムモデル修正部107は、指摘対象要素及び指摘を、出力部104を介して、ユーザに提示して、入力部105を介して、ユーザの判断を仰いでもよい。
In addition, when the method of correction cannot be clearly determined, for example, when a review comment corresponds to multiple target elements, when the review comment is written in a manner other than a predetermined manner, the system
また、システムモデル修正部107は、レビュー指摘に基づきシステムモデルを修正する前に、出力部104を介して、ユーザにシステムモデルの修正内容を提示し、入力部105を介して、ユーザから修正の許可を受けた場合のみ修正することにしてもよい。これにより、不適切なレビュー指摘による不用意なシステムモデルの修正を除外できる。Furthermore, before modifying the system model based on the review suggestions, the system
修正後システムモデル記憶部108は、システムモデル修正部107で修正されたシステムモデルである修正後システムモデルを記憶する。The modified system
以上に記載された開発支援装置100は、例えば、図11に示されているコンピュータ10により実現することができる。
コンピュータ10は、補助記憶装置11と、メモリ12と、プロセッサ13と、表示装置14と、入力装置15と、接続I/F16とを備える。
The development support device 100 described above can be realized by, for example, a
The
補助記憶装置11は、コンピュータ10の処理に必要なプログラム及びデータを記憶する。補助記憶装置11は、例えば、HDD(Hard Disk Drive)又はSSD(Solid State Drive)等である。
メモリ12は、プログラム及びデータを一時的に記憶し、プロセッサ13が処理を行う作業領域を提供する不揮発性又は揮発性のメモリである。
プロセッサ13は、補助記憶装置11に記憶されているプログラムをメモリ12に読み出し、そのプログラムを実行することで、各種処理を行うCPU(Central Processing Unit)等である。
The
The
The
以上に記載されたプログラムは、ネットワークを通じて提供されてもよく、また、記録媒体に記録されて提供されてもよい。即ち、このようなプログラムは、例えば、プログラムプロダクトとして提供されてもよい。The programs described above may be provided via a network, or may be provided by being recorded on a recording medium. That is, such programs may be provided, for example, as a program product.
表示装置14は、各種画面画像を表示するディスプレイ等である。
入力装置15は、ユーザからの操作の入力を受け付ける。入力装置15は、例えば、マウス又はキーボード等である。
接続I/F16は、外部の機器をコンピュータ10に接続するためおインターフェースである。例えば、図示しないプリンタをコンピュータ10に接続することにより、ドキュメントを印刷することができる。
The
The
The connection I/
具体的には、開発支援装置100のシステムモデル記憶部101、ドキュメント生成ルール記憶部102及び修正後システムモデル記憶部108は、補助記憶装置11又はメモリ12により実現することができる。
Specifically, the system
ドキュメント生成部103、指摘対象要素検索部106及びシステムモデル修正部107は、プロセッサ13が、補助記憶装置11に記憶されているプログラムをメモリ12に読み出して、そのプログラムを実行することで実現することができる。The
出力部104は、表示装置14、又は、接続I/F16及び接続I/F16に接続された図示しないプリンタにより実現することができる。
入力部105は、入力装置15により実現することができる。
The
The
以上に記載された実施の形態1では、指摘対象要素検索部106の出力要素特定部161は、ドキュメントの特定範囲内の文字列を解析して、相間の高い、システムモデル内の要素を特定範囲に対応する要素として特定しているが、実施の形態1は、このような例に限定されるものではない。
In the
例えば、出力要素特定部161は、ドキュメント生成ルールを解析して、相間の高い、システムモデル内の要素を特定範囲に対応する要素として特定してもよい。
具体的には、図2に示されているシステムモデル110と、図4に示されているドキュメント生成ルール130とが用いられる場合、出力要素特定部161は、ドキュメント140の項目番号2.1節が「[<sw構造>のノートを挿入する]」の記載を含むことから、システムモデル110の<sw構造>の要素が項目番号2.1節に出力されると判断する。これにより、出力要素特定部161は項目番号2.1節と対応する要素として<sw構造>を特定する。
For example, the output
2 and the document generation rules 130 shown in Fig. 4 are used, the output
また、例えば、出力要素特定部161は、ドキュメント140の項目番号2.2節が「[<sw構造/classA>以下の操作の要素名を1行ずつ挿入する]」の記載を含むことから、システムモデル110を探索し、<sw構造/classA/get>又は<sw構造/classA/set>の要素が項目番号2.2節に出力されると判断する。これにより、出力要素特定部161は、項目番号2.2節と対応する要素として<sw構造/classA/get>及び<sw構造/classA/set>を特定する。
For example, since section 2.2 of
さらに、例えば、図示されていないがドキュメント生成ルールが、システムモデルのツリー構造に沿って上から順に項目番号を付与して出力すると定義されている場合には、出力要素特定部161は、システムモデルのツリー構造に基づき、項目番号と要素との対応関係を特定する。具体的には、システムモデルのツリー構造において、ノードの子要素としてA要素、B要素及びC要素がある場合、出力要素特定部161は、ドキュメントの1章にはA要素、2章にはB要素、3章にはC要素が出力されると判断する。これにより、出力要素特定部161は、1章の項目番号に対応する要素としてA要素を特定し、2章の項目番号に対応する要素としてB要素を特定し、3章の項目番号に対応する要素としてC要素を特定する。Furthermore, for example, although not shown, if the document generation rules are defined to assign item numbers from the top down along the tree structure of the system model and output them, the output
以上のように、ドキュメント生成ルールを用いることで、ドキュメントより高精度に対応関係を特定することができる。 As described above, by using document generation rules, correspondences can be identified with greater accuracy than with documents.
また、出力要素特定部161は、項目番号以外を用いて対応関係を特定してもよい。例えば、出力要素特定部161は、ドキュメントのページ番号と、そのページ番号に出力される要素との対応関係を特定してもよい。この場合、特定範囲は、ページとなる。
さらに、ドキュメントが表計算ソフトウェアの場合、出力要素特定部161は、ドキュメントのシートと、シートに出力される要素との対応関係を特定してもよい。この場合、特定範囲は、シートとなる。
In addition, the output
Furthermore, if the document is a spreadsheet software, the output
なお、実施の形態1において、入力部105は、出力部104が出力したドキュメントレビュー指摘の入力を受け付けているが。実施の形態1は、このような例に限定されない。例えば、入力部105は、検索したい情報の、ドキュメントにおける位置のみの入力を受け付けてもよい。この場合、開発支援装置100は、システムモデルの修正ではなく、検索したい情報に対応するシステムモデル内の要素の検索のみを行う。従って、図1において、システムモデル修正部107及び修正後システムモデル記憶部108は、不要となり、指摘対象要素検索部106の代わりに、指摘対象要素候補特定部160が設けられていればよい。In the first embodiment, the
また、実施の形態1において、レビュワーがドキュメント生成部103により生成されたドキュメントを直に修正することで指摘を行った場合、入力部105は、ドキュメント生成部103により生成されたドキュメントと、レビュワーの修正したドキュメントとの差分を示す差分情報をレビュー指摘として、入力を受け付けてもよい。これにより、レビュワーが修正したドキュメントと、システムモデルとの同期が可能となる。In addition, in the first embodiment, when the reviewer makes a comment by directly correcting the document generated by the
また、特許文献1に記載の技術を用いることで、システムモデルからドキュメントを生成することができる。しかし、レビュー指摘に含まれる指摘箇所のドキュメント位置から、対応するシステムモデル内の要素を探索するのに時間がかかるおそれがある。
これに対して、実施の形態1によれば、ドキュメントと、システムモデルとの内部の対応関係を解析した上で、システムモデル内の要素を高精度に検索することができ、レビュー指摘に対するシステムモデル内の要素探索時間を削減することができる。
Furthermore, by using the technology described in
In contrast, according to
実施の形態2.
図1に示されているように、実施の形態2に係る開発支援装置200は、システムモデル記憶部101と、ドキュメント生成ルール記憶部102と、ドキュメント生成部103と、出力部104と、入力部105と、指摘対象要素検索部206と、システムモデル修正部107と、修正後システムモデル記憶部108とを備える。
As shown in FIG. 1, the development support device 200 according to the second embodiment includes a system
実施の形態2に係る開発支援装置200のシステムモデル記憶部101、ドキュメント生成ルール記憶部102、ドキュメント生成部103、出力部104、入力部105、システムモデル修正部107及び修正後システムモデル記憶部108は、実施の形態1に係る開発支援装置100のシステムモデル記憶部101、ドキュメント生成ルール記憶部102、ドキュメント生成部103、出力部104、入力部105、システムモデル修正部107及び修正後システムモデル記憶部108と同様である。The system
指摘対象要素検索部206は、システムモデル記憶部101に記憶されているシステムモデル、及び、ドキュメント生成部103で生成されたドキュメントを用いて、入力部105で受け付けたレビュー指摘における指摘の内容に対応するシステムモデル内の要素である指摘対象要素を検索する。
実施の形態2における指摘対象要素検索部206は、実施の形態1における指摘対象要素検索部106と同様の処理を行う他、レビュー指摘に含まれるドキュメント位置が図番である場合でもレビュー指摘における指摘の内容に対応するシステムモデル内の要素である指摘対象要素を検索する。
The pointed-out
The pointed out
図12は、実施の形態2における指摘対象要素検索部206の構成を概略的に示すブロック図である。
指摘対象要素検索部206は、指摘対象要素候補特定部260と、文字検索部164とを備える。
実施の形態2における指摘対象要素検索部206の文字検索部164は、実施の形態1における指摘対象要素検索部106の文字検索部164と同様である。
FIG. 12 is a block diagram showing a schematic configuration of the pointed-out
The pointed out
The
実施の形態2における指摘対象要素候補特定部260は、システムモデル及びドキュメントを用いて、レビュー指摘における指摘の内容に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。
実施の形態2における指摘対象要素候補特定部260は、実施の形態1における指摘対象要素候補特定部160と同様の処理を行う他、レビュー指摘に含まれるドキュメント位置が図番である場合でもレビュー指摘における指摘の内容に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。
The pointed out element
The candidate target
指摘対象要素候補特定部260は、出力要素特定部161と、関連付けDB162と、位置要素特定部263と、図番特定部265と、図番関連付けDB266と、図要素特定部267と、図使用要素関連付けDB268とを備える。
実施の形態2における指摘対象要素候補特定部260の出力要素特定部161及び関連付けDB162は、実施の形態1における指摘対象要素候補特定部160の出力要素特定部161及び関連付けDB162と同様である。
The pointed out element
The output
図番特定部265は、ドキュメントから、複数の特定範囲の各々に含まれている図番を特定し、複数の特定範囲の各々と、複数の特定範囲の各々に含まれている図番とを関連付ける図番関連付け情報を生成する。The drawing
例えば、図番特定部265は、ドキュメントから予め定められた複数の特定範囲を特定し、ドキュメントにおける複数の特定範囲の各々に出力されている図の番号である図番を解析することで、複数の特定範囲の各々と、複数の特定範囲の各々に出力されている図番との対応関係を特定する。特定範囲は、実施の形態1と同様である。For example, the drawing
具体的には、図5に示されているドキュメント140の場合、図番特定部265は、「図.」の文字列を検索し、ドキュメントの2.1節に「図.2-1」の文字列が存在すると判断する。この場合、図番特定部265は、特定範囲である「2.1節」に、対応する図番として「図.2―1」を特定する。
Specifically, in the case of
そして、図番特定部265は、ドキュメントの特定範囲の位置を示す特定範囲と、その特定範囲に対応する図番とを関連付ける図番関連付け情報を図番関連付けDB266に格納する。
Then, the drawing
図番関連付けDB266は、図番特定部265からの図番関連付け情報を記憶する図番関連付け情報記憶部である。
The drawing number association DB266 is a drawing number association information storage unit that stores drawing number association information from the drawing
図13は、図番関連付けDB266に記憶されている図番関連付け情報の一例を示す模式図である。
図13に示されているように、図番関連付け情報280は、特定範囲281と、図番182とを示している。
図13では、特定範囲281は、ドキュメントの章及び節を示しているが、実施の形態2はこのような例に限定されない。例えば、ドキュメントのページ番号が特定範囲281として用いられていてもよい。
FIG. 13 is a schematic diagram showing an example of drawing number association information stored in the drawing
As shown in FIG. 13, the drawing
13, the
図12に戻り、図要素特定部267は、システムモデルを解析することで、図を示す要素である図要素と、その図要素に含まれる要素との対応関係を示す図使用要素関連付け情報を生成する。Returning to Figure 12, the diagram
図14は、実施の形態2におけるシステムモデルの一例を示す模式図である。
図14に示されているシステムモデル210は、sw構造図の要素216を持つ。sw構造図の要素216の種類は、「ブロック定義図」である。種類「ブロック定義図」は、システムモデル210内の要素を用いてシステムの構造を表現することを示している。例えば、sw構造図の要素216が保有する図220は、図15に示されているように、「classA」220a、「classB」220b及び「classC」220cの要素を用いて、その各々の要素間の関係を表している。
FIG. 14 is a schematic diagram showing an example of a system model in the second embodiment.
The
MBSEにおけるシステムモデル210は、「classA」の要素212と、図220に現れる「classA」220aとを同じ要素として扱う。例えば、要素212の要素名を「classA」から「classA#」に変更すると、図220に現れる「classA」220aの表記も、自動的に「classA#」へ変更される。The
ここで、図14に示されているシステムモデル210を用いて、図要素特定部267での処理の一例を説明する。
図要素特定部267は、図である<sw構造/sw構造図―図>に含まれる要素<sw構造/classA>、<sw構造/classB>及び<sw構造/classC>を特定し、<sw構造/sw構造図―図>に対応する要素として<sw構造/classA>、<sw構造/classB>及び<sw構造/classC>を特定する。
そして、図要素特定部267は、図と、その図に対応する要素とを関連付ける図使用要素関連付け情報を図使用要素関連付けDB268に格納する。具体的には、図要素特定部267は、図の要素の要素位置と、ルート要素から、その図に対応する要素の要素位置とを関連付ければよい。
Here, an example of the process in the diagram
The diagram
Then, the diagram
図12に戻り、図使用要素関連付けDB268は、図要素特定部267からの図使用要素関連付け情報を記憶する図使用要素関連付け情報記憶部である。Returning to Figure 12, the diagram-used
図16は、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報の一例を示す模式図である。
図16に示されているように、図使用要素関連付け情報290は、図291と、要素292とを示している。
ここでは、図使用要素関連付け情報290は、図要素の要素位置と、その図要素に含まれている要素の要素位置とを関連付けている。
FIG. 16 is a schematic diagram showing an example of diagram-using-element association information stored in the diagram-using-
As shown in FIG. 16, the figure-used
Here, the diagram-used
位置要素特定部263は、レビュー指摘で示されるドキュメント位置が図番を示す場合に、図番関連付け情報を参照することで、ドキュメント位置が示す図番を含む特定範囲を対象特定範囲として特定する。そして、位置要素特定部263は、対象特定範囲に含まれている出力要素を指摘対象要素候補として特定するとともに、図使用要素関連付け情報を参照することで、対象特定範囲に含まれている図要素に含まれている要素を指摘対象要素候補として特定する。
When the document position indicated in the review comment indicates a drawing number, the position
具体的には、位置要素特定部263は、関連付けDB162に記憶されている関連付け情報、図番関連付けDB266に記憶されている図番関連付け情報、及び、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報を参照することで、レビュー指摘に対応するシステムモデル内の要素である指摘対象要素候補を特定する。関連付けDB162に記憶されている関連付け情報のみを参照して、指摘対象要素候補を特定する処理については、実施の形態1と同様であるため、ここでは、図番関連付けDB266に記憶されている図番関連付け情報、及び、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報を参照する処理について説明する。Specifically, the position
ここでは、図8に示されている関連付け情報170、図13に示されている図番関連付け情報280及び図16に示されている図使用要素関連付け情報290を用いて、レビュー指摘に含まれるドキュメント位置が「図.2-1」である場合の例を示す。
Here, an example is shown in which the document position included in the review comment is "Figure. 2-1," using the
このような場合、位置要素特定部263は、まず、図番関連付け情報280を参照することで、ドキュメント位置の「図.2-1」が含まれている特定範囲位置である「2.1節」を特定する。In such a case, the position
次に、位置要素特定部263は、関連付け情報170からドキュメントの2.1節に出力されるシステムモデル内の要素を指摘対象要素候補として特定する。
そして、位置要素特定部263は、指摘対象要素候補に図要素が含まれている場合、図使用要素関連付け情報290に基づき、その図要素に含まれる要素を特定し、指摘対象要素候補に加える。
図17は、以上のようにして特定された指摘対象要素候補の一例を示す模式図である。
Next, the position
If the pointed out element candidates include a diagram element, the position
FIG. 17 is a schematic diagram showing an example of the pointed-out element candidates identified in the above-described manner.
以上のように、実施の形態2によれば、レビュー指摘に含まれるドキュメント位置が図番を示していても、指摘対象要素を精度よく特定することができる。
As described above, according to
なお、ドキュメント又はドキュメント生成ルールを解析しても、図番が出力される位置を起点として何処までが図の範囲であるかの判断が困難な場合がある。例えば、図示してはいないが、図.1-1は、上に図を3つ保持し、各々の図に図.1-1のサブ番号である(a)、(b)又は(c)が付与されている場合、図.1-1は3つの図全てと対応関係を持つ。
実施の形態2は、図番が出力される項目番号等の特定範囲を特定し、その特定範囲に出力される要素を指摘対象要素候補として特定することで、指摘対象要素候補の特定漏れを減らすことができる。
Even if the document or document generation rules are analyzed, it may be difficult to determine the extent of the figure from the position where the figure number is output. For example, although not shown, if Figure. 1-1 has three figures above it, and each figure is assigned the sub-number (a), (b), or (c) of Figure. 1-1, Figure. 1-1 corresponds to all three figures.
In the second embodiment, a specific range of item numbers, etc. in which drawing numbers are output is identified, and elements output in that specific range are identified as candidate elements to be pointed out, thereby reducing the number of cases in which candidate elements to be pointed out are not identified.
また、実施の形態2は、図に含まれる要素も指摘対象要素候補として特定することで、指摘対象要素候補の特定漏れを減らすことができる。これにより、図の中に含まれる特定要素に対する指摘にも対応することができる。In addition, the second embodiment can reduce the number of missed candidate elements by identifying elements included in the diagram as candidate elements to be pointed out. This makes it possible to respond to criticism of specific elements included in the diagram.
なお、以上に記載した実施の形態1又は2では、ドキュメントの記載と、ドキュメントモデルの要素とを対応付けることができるため、システムモデル内の設計情報が、モデリングツールを用いて閲覧等するようになっている場合であっても、モデリングツールのベンダに機能の追加を依頼する必要がなくなる。 In the above-described first or second embodiment, since the description of the document can be associated with the elements of the document model, even if the design information in the system model is to be viewed, etc., using a modeling tool, there is no need to request the modeling tool vendor to add functionality.
以上に記載された実施の形態2では、指摘対象要素検索部206の図番特定部265は、ドキュメントの特定範囲内の図番を検出しているが、実施の形態2は、このような例に限定されるものではない。
In the
例えば、図番特定部265は、ドキュメント生成ルールを解析することで、図番を検索し、図番が含まれるドキュメント内のドキュメント位置との対応関係を特定してもよい。For example, the drawing
例えば、図4に示されているドキュメント生成ルール130の場合、図番特定部265は、「図.」の文字列を検索し、ドキュメントの2.1節に図.2-1が出力されることを解析することができる。この場合、図番特定部265は、「2.1節」に対応する図として「図.2―1」を特定する。For example, in the case of the
100,200 開発支援装置、 101 システムモデル記憶部、 102 ドキュメント生成ルール記憶部、 103 ドキュメント生成部、 104 出力部、 105 入力部、 106,206 指摘対象要素検索部、 107 システムモデル修正部、 108 修正後システムモデル記憶部、 160,260 指摘対象要素候補特定部、 161 出力要素特定部、 162 関連付けDB、 163,263 位置要素特定部、 164 文字検索部、 265 図番特定部、 266 図番関連付けDB、 267 図要素特定部、 268 図使用要素関連付けDB。 100, 200 Development support device, 101 System model storage unit, 102 Document generation rule storage unit, 103 Document generation unit, 104 Output unit, 105 Input unit, 106, 206 Pointed element search unit, 107 System model correction unit, 108 Corrected system model storage unit, 160, 260 Pointed element candidate identification unit, 161 Output element identification unit, 162 Association DB, 163, 263 Position element identification unit, 164 Character search unit, 265 Drawing number identification unit, 266 Drawing number association DB, 267 Drawing element identification unit, 268 Drawing-used element association DB.
Claims (10)
前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部と、
前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部と、を備えること
を特徴とする情報処理装置。 an output element specifying unit that specifies, as output elements, elements that are output to each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, among the plurality of elements, by referring to a system model having a tree structure consisting of a plurality of elements and a document generated in accordance with a document generation rule that specifies a position at which a necessary element among the plurality of elements is to be placed, or by referring to the document generation rule, and generates association information that associates each of the plurality of specific ranges with the output element that is output to each of the plurality of specific ranges;
an input unit that receives an input of a document position that is a position of the document;
and a position element identification unit that identifies, as a candidate element to be pointed out, the output element that is included in a specific range that corresponds to the document position among the multiple specific ranges by referring to the association information.
前記指摘の内容と、前記指摘対象要素候補の内容とを比較することで、前記指摘対象要素候補から、前記指摘で指摘されている要素である指摘対象要素を特定する指摘対象要素特定部をさらに備えること
を特徴とする請求項1に記載の情報処理装置。 The input unit further receives an input of an indication regarding the position indicated by the document position,
The information processing device according to claim 1 , further comprising a target element identification unit that identifies a target element that is an element pointed out in the comment from among the candidate target element by comparing the content of the comment with the content of the candidate target element.
を特徴とする請求項2に記載の情報処理装置。 The information processing apparatus according to claim 2 , wherein the pointing out target element identifying unit identifies the pointing out target element candidate that includes a character string that matches a character string indicating the content of the pointing out as the pointing out target element.
を特徴とする請求項2又は3に記載の情報処理装置。 The information processing apparatus according to claim 2 , further comprising a correction unit that, when the content of the indication is a correction to the system model, corrects the indicated element in accordance with the content of the indication.
前記複数の特定範囲は、前記複数の項目番号で区分けされた前記複数の範囲であること
を特徴とする請求項1から4の何れか一項に記載の情報処理装置。 The document generation rule classifies the document by a plurality of item numbers,
The information processing device according to claim 1 , wherein the plurality of specific ranges are the plurality of ranges divided by the plurality of item numbers.
を特徴とする請求項1から5の何れか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the output element specification unit specifies, from among the plurality of elements, an element having a high correlation with a character string included in each of the plurality of specific ranges as the output element.
前記システムモデルを解析することで、図を示す要素である図要素と、前記図要素に含まれる要素との対応関係を示す図使用要素関連付け情報を生成する図要素特定部と、をさらに備え、
前記ドキュメント位置が前記図番を示す場合に、前記位置要素特定部は、前記図番関連付け情報を参照することで、前記ドキュメント位置が示す前記図番を含む特定範囲を対象特定範囲として特定し、前記対象特定範囲に含まれている前記出力要素を前記指摘対象要素候補として特定するとともに、前記図使用要素関連付け情報を参照することで、前記対象特定範囲に含まれている前記図要素に含まれている要素を前記指摘対象要素候補として特定すること
を特徴とする請求項1から6の何れか一項に記載の情報処理装置。 a drawing number specifying unit that specifies drawing numbers, which are numbers of drawings included in each of the plurality of specific ranges, from the document or the document generation rules, and generates drawing number association information that associates each of the plurality of specific ranges with the drawing numbers included in each of the plurality of specific ranges;
a diagram element specifying unit for generating diagram-used element association information indicating a correspondence between a diagram element, which is an element showing a diagram, and an element included in the diagram element, by analyzing the system model;
The information processing device of any one of claims 1 to 6, characterized in that when the document position indicates the drawing number, the position element identification unit identifies a specific range including the drawing number indicated by the document position as a target identification range by referring to the drawing number association information, and identifies the output elements included in the target identification range as the candidate element to be pointed out, and identifies elements included in the drawing elements included in the target identification range as the candidate element to be pointed out by referring to the drawing-using element association information.
前記ドキュメントを出力する出力部と、をさらに備えること
を特徴とする請求項1から7のいずれか一項に記載の情報処理装置。 a document generation unit that generates the document in accordance with the system model and the document generation rules;
The information processing apparatus according to claim 1 , further comprising: an output unit that outputs the document.
複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部、
前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部、及び、
前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部、として機能させること
を特徴とするプログラム。 Computer,
an output element specifying unit that specifies, as output elements, elements that are output to each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, among the plurality of elements, by referring to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies a position at which a necessary element among the plurality of elements is to be placed, or by referring to the document generation rule, and generates association information that associates each of the plurality of specific ranges with the output element that is output to each of the plurality of specific ranges;
an input unit for receiving an input of a document position, which is a position of the document; and
and functioning as a position element identification unit that identifies, among the plurality of specific ranges, the output element included in the specific range corresponding to the document position as a candidate element to be pointed out by referring to the association information.
前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成し、
前記ドキュメントの位置であるドキュメント位置の入力を受け付け、
前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定すること
を特徴とする情報処理方法。 By referring to a system model having a tree structure made up of a plurality of elements and a document generated in accordance with a document generation rule that specifies positions at which necessary elements among the plurality of elements are to be arranged, or the document generation rule, elements among the plurality of elements that are output to each of a plurality of specific ranges that are a plurality of predetermined ranges in the document are identified as output elements;
generating association information that associates each of the plurality of specific ranges with the output element that is output to each of the plurality of specific ranges;
Accepting an input of a document location, the document location being a location of the document;
an information processing method comprising: referring to the association information to identify, among the plurality of specific ranges, the output element included in a specific range corresponding to the document position as a candidate element to be pointed out.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2021/031203 WO2023026409A1 (en) | 2021-08-25 | 2021-08-25 | Information processing device, program, and information processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2023026409A1 JPWO2023026409A1 (en) | 2023-03-02 |
JP7515734B2 true JP7515734B2 (en) | 2024-07-12 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006338303A (en) | 2005-06-01 | 2006-12-14 | Fuji Electric Holdings Co Ltd | Notation converting device, consistency checking device, and program |
JP2013254503A (en) | 2013-07-16 | 2013-12-19 | Toshiba Corp | Specification management device, specification management method, and specification management program |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006338303A (en) | 2005-06-01 | 2006-12-14 | Fuji Electric Holdings Co Ltd | Notation converting device, consistency checking device, and program |
JP2013254503A (en) | 2013-07-16 | 2013-12-19 | Toshiba Corp | Specification management device, specification management method, and specification management program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102432104B1 (en) | Systems and methods for determining relationships between data elements | |
US7774290B2 (en) | Pattern abstraction engine | |
US9298453B2 (en) | Source code analytics platform using program analysis and information retrieval | |
CN108762743B (en) | Data table operation code generation method and device | |
US11341116B2 (en) | Techniques for automated data analysis | |
CA3064561A1 (en) | Automated dependency analyzer for heterogeneously programmed data processing system | |
KR101114189B1 (en) | Label system-translation of text and multi-language support at runtime and design | |
US20210318865A1 (en) | Methods and arrangements to process comments | |
Lee et al. | Automatic detection and update suggestion for outdated API names in documentation | |
US8996357B2 (en) | Method for generating diagrams, and information processing apparatus for same | |
WO2021022703A1 (en) | Software project reconstruction method and device, and computer device and storage medium | |
US10241899B2 (en) | Test input information search device and method | |
JP7515734B2 (en) | Information processing device, program, and information processing method | |
JPWO2009011057A1 (en) | Application analysis program, application analysis method, and application analysis apparatus | |
WO2023026409A1 (en) | Information processing device, program, and information processing method | |
JP6497199B2 (en) | Program test prioritization system | |
JP6336922B2 (en) | Business impact location extraction method and business impact location extraction device based on business variations | |
CN113900956A (en) | Test case generation method and device, computer equipment and storage medium | |
JP2011198285A (en) | Document processing system and program | |
US10853740B2 (en) | Natural language interface to interactive, operating-system shell and techniques for creating training data for the same | |
JP2018169998A (en) | Analyzing apparatus, analysis method, and analysis program | |
JP3345522B2 (en) | Program development support device using data item parts | |
US20230376310A1 (en) | Information processing method and information processing apparatus | |
US20110191089A1 (en) | Method and apparatus for monitoring demands in a number of models of a system | |
Azmi et al. | Test management traceability model to support software testing documentation |