WO2023026409A1 - Information processing device, program, and information processing method - Google Patents

Information processing device, program, and information processing method Download PDF

Info

Publication number
WO2023026409A1
WO2023026409A1 PCT/JP2021/031203 JP2021031203W WO2023026409A1 WO 2023026409 A1 WO2023026409 A1 WO 2023026409A1 JP 2021031203 W JP2021031203 W JP 2021031203W WO 2023026409 A1 WO2023026409 A1 WO 2023026409A1
Authority
WO
WIPO (PCT)
Prior art keywords
document
output
unit
elements
indication
Prior art date
Application number
PCT/JP2021/031203
Other languages
French (fr)
Japanese (ja)
Inventor
亜希 君家
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2023543560A priority Critical patent/JPWO2023026409A1/ja
Priority to PCT/JP2021/031203 priority patent/WO2023026409A1/en
Publication of WO2023026409A1 publication Critical patent/WO2023026409A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Definitions

  • the present disclosure relates to an information processing device, a program, and an information processing method.
  • MBSE a system designer constructs a system model including designed information using a tool called a modeling tool, which corresponds to MBSE, while designing the system.
  • a system model is a DB (Data Base) that stores system design information.
  • the design information stored in the DB is general system design information such as a list of system components, external interface information of each component, and information on data exchanged between each component.
  • a modeling tool is a tool for viewing, creating, or updating a DB that stores system design information, and can output a system model that is a DB that stores system design information.
  • system design deliverables are specifications or design documents
  • system design deliverables in MBSE are system models constructed using modeling tools.
  • a system model is treated as a single source of truth for design information.
  • the system model comprehensively holds system design information. Therefore, when a person concerned with the system wants to browse the design information related to his or her responsibility, it is necessary to search for the necessary part from the huge amount of design information in the system model, which takes time and effort.
  • the necessary place here is the place where "design information related to own responsibility" is stored.
  • system model can be viewed using a modeling tool
  • viewing design information poses the problem of licensing the modeling tool or learning how to use the tool.
  • design information for the new function is output from the system model to generate a design document for the new function.
  • the interface specification is generated by outputting design information related to the system interface from the system model.
  • Patent Document 1 discloses a technique for creating software specifications by outputting information necessary for creating software specifications from a system model containing software design information.
  • the information necessary for creating the software specification here is the design information described in the software specification.
  • a document can be generated from a system model by using the technique described in Patent Document 1.
  • Patent Document 1 does not present the internal correspondence between the system model and the generated document. Therefore, in order for the reviewer to correct the design error, it is necessary to find out from the system model the part corresponding to the design error pointed out by the reviewer.
  • the reviewer since the reviewer reviews the document by looking at it, they can present the location in the document where the design error is described, but they cannot present the corrected part in the system model. Therefore, the reviewer searches for the correction part in the corresponding system model from the position in the document that can be presented by the reviewer, and makes the correction.
  • an object of one or more aspects of the present disclosure is to identify a correspondence relationship between a document and a system model from which the document is generated.
  • An information processing apparatus is a system model having a tree structure consisting of a plurality of elements, and a document generation rule that specifies positions for arranging necessary elements among the plurality of elements.
  • a document generation rule specifies positions for arranging necessary elements among the plurality of elements.
  • a program according to an aspect of the present disclosure is generated by a computer according to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies positions to arrange necessary elements among the plurality of elements.
  • a document or the document generation rule specifies positions to arrange necessary elements among the plurality of elements.
  • an element output to each of a plurality of specific ranges which are a plurality of predetermined ranges in the document, is specified as an output element.
  • an output element identifying unit that 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, and receives an input of a document position that is the position of the document.
  • an input unit, and a location element identification unit that identifies, as an indication target element candidate, the output element included in the specific range corresponding to the document position among the plurality of specific ranges by referring to the association information.
  • An information processing method is a system model having a tree structure consisting of a plurality of elements, and a document generation rule that specifies positions to arrange necessary elements among the plurality of elements.
  • a document generation rule specifies positions to arrange necessary elements among the plurality of elements.
  • FIG. 1 is a block diagram schematically showing a configuration of a development support device according to Embodiments 1 and 2;
  • FIG. 1 is a schematic diagram showing an example of a system model according to Embodiment 1;
  • FIG. FIG. 2 is a schematic diagram showing diagrams included in a system model according to Embodiment 1;
  • FIG. FIG. 4 is a schematic diagram showing an example of document generation rules;
  • FIG. 4 is a schematic diagram showing an example of a document;
  • FIG. 10 is a schematic diagram showing an example of review indication;
  • 3 is a block diagram schematically showing the configuration of an indication target element search unit according to Embodiment 1;
  • FIG. FIG. 4 is a schematic diagram showing an example of association information;
  • FIG. 10 is a schematic diagram showing an example of an indication target element candidate;
  • FIG. 4 is a schematic diagram showing an example of an indication target element
  • 1 is a block diagram showing an example of a computer
  • FIG. FIG. 11 is a block diagram schematically showing the configuration of an indication target element search unit according to Embodiment 2
  • FIG. FIG. 4 is a schematic diagram showing an example of figure number association information
  • FIG. 10 is a schematic diagram showing an example of a system model according to Embodiment 2
  • FIG. 10 is a schematic diagram showing diagrams included in a system model according to Embodiment 2
  • FIG. FIG. 4 is a schematic diagram showing an example of figure-use element association information
  • FIG. 10 is a schematic diagram showing an example of an indication target element candidate
  • FIG. 10 is a schematic diagram showing an example of an indication target element candidate
  • FIG. 1 is a block diagram schematically showing the configuration of a development support device 100 as an information processing device according to Embodiment 1.
  • the development support device 100 includes a system model storage unit 101, a document generation rule storage unit 102, a document generation unit 103, an output unit 104, an input unit 105, an indication target element search unit 106, and a system model correction unit 107. and a post-correction system model storage unit 108 .
  • Embodiment 1 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.
  • the system model may include information related to the life cycle of the system, such as system project management information or verification information.
  • FIG. 2 is a schematic diagram showing an example of a system model according to Embodiment 1.
  • FIG. 2 shows an example including design information about 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 element name, type and notes.
  • element 111 which is the root element of the tree structure of system model 110, has metadata of element name "sw structure", type "package” and note "xx1".
  • the type "package” means an element for grouping multiple elements.
  • notes can store arbitrary strings, and notes are used to record additional information about an element.
  • the element 111 has an element 112 of "classA”, an element 113 of "classB” and an element 114 of "classC” as child elements.
  • the type of these elements 112, 113, 114 is “block”.
  • the type "block” means a component of a system or a system.
  • the "classA” element 112, the "classB” element 113, and the “classC” element 114 are class components that constitute software.
  • the software of the system has class components of element 112 of "classA”, element 113 of "classB” and element 114 of "classC”.
  • the "classA” element 112 has a “get” element 115 as a child element.
  • the type of element 115 of “get” is "operation”.
  • the type "operation” means that it is a method of the class component that is the parent element. Therefore, the element 112 of "classA” has the element 115 of "get” as a method as a child element.
  • the "sw structure” element 111 has the "sw structure diagram” element 116 as a child element.
  • the type of the element 116 of the "sw structure diagram” is "block definition diagram”.
  • the type "block definition diagram” is an element that contains a diagram representing the structure of the system.
  • element 116 of the “sw structure diagram” holds diagram 120 .
  • FIG. 3 is a schematic diagram showing a diagram 120 included in the system model 110.
  • a block definition diagram represents the structure of the system using the elements in the system model.
  • FIG. 120 shows that "classA” and “classB” are related, and that "classA” and “classC” are generalized. express something. Thus, relationships between elements within the system model 110 are known.
  • the document generation rule storage unit 102 stores document generation rules.
  • the document generation rule designates the positions of the required elements among the multiple elements included in the system model.
  • the necessary elements are the elements used for document generation. For example, when a sw structure diagram is to be described in a document, an element 116 of "sw structure diagram" exists as a necessary element.
  • FIG. 4 is a schematic diagram showing an example of document generation rules.
  • the part enclosed in brackets indicates that the corresponding content from the system model stored in the system model storage unit 101 is to be output to the corresponding part of the document.
  • character strings not enclosed in brackets [ ] indicate that they are to be output as is to the corresponding part of the document.
  • the description notation of the document generation rule depends on the document generation unit 103.
  • the document generation function is often included in the modeling tool, and in that case, the description notation of the document generation rule conforms to the specifications of the modeling tool.
  • item numbers include “2" indicating a chapter and "2.1” and "2.2” indicating sections within the chapter.
  • the document generation unit 103 reads the system model from the system model storage unit 101, reads the document generation rules from the document generation rule storage unit 102, and generates a document according to them. For example, the document generation unit 103 analyzes document generation rules and outputs information in the system model to a document based on the analysis results.
  • FIG. 5 is a schematic diagram showing an example of the document generated by the document generation unit 103 in the above example.
  • the document generation unit 103 inserts the element 111 in the system model 110 in the area of the document 140 (see FIG. 5) corresponding to the part described as [insert the note of ⁇ sw structure>] in the document generation rule 130. Outputs the contents of the note of the "sw structure".
  • the document generation unit 103 inserts an element 116 in the system model 110 in an area of the document 140 corresponding to a portion described as [insert a diagram of ⁇ sw structure/sw structure diagram>] in the document generation rule 130.
  • a diagram held by a certain "sw structure diagram” is output.
  • ⁇ sw structure/sw structure diagram> indicates a path from the root element "sw structure” to the "sw structure diagram".
  • the document generation unit 103 outputs the character string described in the document generation rule 130 to the document 140 as it is.
  • the document generation unit 103 outputs the character string “2.class definition” to the corresponding area of the document 140 as it is for the part described as “2.class definition” in the document generation rule 130 .
  • the document generator 103 can generate the document 140 shown in FIG. A document generated by the document generation unit 103 is sent to the output unit 104 .
  • the output unit 104 receives the document from the document generation unit 103 and outputs the document in a form visible to the user. As an example, the output unit 104 displays a document. As an example, the output unit 104 outputs the document by printing it on a medium.
  • the input unit 105 receives an input of a document position, which is the position of the document output by the output unit 104, and a review indication indicating the indication of the document position.
  • the input review indication is given to the indication target element search unit 106 and the system model correction unit 107 .
  • FIG. 6 is a schematic diagram showing an example of a review indication received by the input unit 105.
  • review indications 150 include a document location and an indication for that document location.
  • "Section 2.2" is included as the document location
  • "the description aaa of get is an error of bbb” is included as an indication at this location.
  • "Fig. 2-1" is included as the document location
  • "ccc appearing in the figure is unnecessary” is included as the content of the indication at this location.
  • the input unit 105 may receive an input of a review indication from the user via a mouse or a keyboard, or may receive an input of a review indication by speech recognition via a microphone. Furthermore, if there is a system that analyzes documents and automatically outputs review indications, the input unit 105 may receive input of review indications from that system.
  • the indication target element search unit 106 uses the system model stored in the system model storage unit 101 and the document generated by the document generation unit 103 to provide a system corresponding to the indication in the review indication received by the input unit 105. Search for an indicated element that is an element in the model.
  • FIG. 7 is a block diagram schematically showing the configuration of the pointed-out element searching unit 106 according to the first embodiment.
  • the indication target element search unit 106 includes an indication target element candidate identification unit 160 and a character search unit 164 .
  • the indication target element candidate identification unit 160 uses the system model and the document to identify an indication target element candidate, which is an element candidate in the system model, corresponding to the point pointed out in the review indication.
  • the indication target element candidate identification unit 160 includes an output element identification unit 161 , an association DB 162 and a position element identification unit 163 .
  • the output element identifying unit 161 identifies a plurality of predetermined specific ranges from the document, and identifies the correspondence between the elements output to each of the plurality of specific ranges and the elements in the system model.
  • the specific range is, for example, a range within the document that is delimited by each item number such as Chapter 1 or each page number such as 5p. Note that the specific range may be determined in advance.
  • the output element specifying unit 161 refers to the document to output the elements output to each of a plurality of specific ranges, which are a plurality of predetermined ranges, among the plurality of elements included in the system model. Identifies as an element. Then, the output element specifying unit 161 generates association information that associates each of the plurality of specific ranges with the output element output to each of the plurality of specific ranges.
  • the output element identifying unit 161 analyzes character strings within a specific range of the document and identifies elements in the system model with high correlation as output elements that are elements corresponding to the specific range. For example, if the character string within the specific range matches any of the metadata of the element in the system model, the output element identifying unit 161 determines that the character string is highly correlated with the element. good.
  • the output element identifying unit 161 identifies ⁇ sw structure/classA> and ⁇ sw structure/classA/get> as elements corresponding to item number 2.2.
  • the element is specified so that the element position, which is the position of the element in the system model, can be identified.
  • the element position is identified by the path from the root element.
  • the association information should associate each of the plurality of specific ranges with the element position of the output element output to each of the plurality of specific ranges.
  • the output element specifying unit 161 stores, in the association DB 162, association information that associates the specific range indicating the specific range of the document with the element corresponding to the specific range.
  • the association DB 162 is an association information storage unit that stores association information from the output element identification unit 161.
  • FIG. 8 is a schematic diagram showing an example of association information stored in the association DB 162. As shown in FIG. As illustrated in FIG. 8 , the association information 170 indicates a specific range 171 and elements 172 . In FIG. 8, the specific range 171 indicates chapters and sections of the document, but the first embodiment is not limited to such examples. For example, the document page number may be used as the specific range 171 .
  • the positional element identifying unit 163 refers to the association information stored in the association DB 162 to identify output elements included in a specific range corresponding to the document position among a plurality of specific ranges as indication target element candidates. do.
  • the positional element identification unit 163 identifies elements associated with a specific range corresponding to the document position included in the review indication as indication target element candidates.
  • the specified indication target element candidate is provided to the character search unit 164 together with the corresponding review indication.
  • the element included in the line 173 is identified as a pointing target element candidate.
  • the identified pointing target element candidates are as shown in FIG.
  • the positional element identifying unit 163 identifies from the association DB 162 the indication target element candidate corresponding to the page number.
  • the positional element identifying unit 163 identifies all of the elements included in the association information as indication target element candidates. good too. Specifically, when the document position is a page number, but the association information does not specify an element in association with the page number, the position element identification unit 163 identifies all the elements included in the association information as Identify as an indication target element candidate. As a result, since the elements included in the association information are only the elements output to the document, the elements that are not output to the document can be excluded from the indication target element candidates.
  • the character search unit 164 identifies an indication target element, which is an element pointed out in the review indication, from the indication target element candidates by comparing the content of the indication in the review indication and the content of the indication target element candidate. It functions as an indication target element specifying unit.
  • the character search unit 164 searches for a character string of metadata included in an indication target element candidate corresponding to the review indication based on the character string indicated in the review indication, and searches for an element corresponding to the indicated content. Identify the pointed out element that is The specified pointed out element is provided to the system model correction unit 107 together with the corresponding review pointed out.
  • the candidate element to be pointed out is as shown in FIG.
  • Metadata of elements that are indication target element candidates in the column is searched, and an element of ⁇ sw structure/get-element name> with a high correlation is specified as an indication target element.
  • the character search unit 164 identifies, as an indication target element, an indication target element candidate including a character string that matches the character string indicating the content of indication.
  • the specified pointing element is as shown in FIG. 10, for example.
  • the character search unit 164 may specify all indication target element candidates as indication target elements when there is no element highly correlated with the character string pointed out in the review indication in the character string search. This can reduce erroneous exclusion of elements that should not be excluded depending on the performance of the character search section 164 .
  • the review indication includes a description of class A
  • the correlation between the element "class A” and the review indication "class A” is weak in the character string search.
  • all indication target element candidates may be specified as indication target elements. This can reduce erroneous exclusion of the element "classA", which is considered to be the element that the reviewer originally wanted to point out.
  • the character search unit 164 may specify those multiple elements as pointed out elements. Thereby, it is possible to deal with the case where the user points out a plurality of elements.
  • the system model correction unit 107 corrects the indication target element in the system model based on the review indication. Specifically, the system model correction unit 107 corrects the indicated element according to the content of the indication when the content of the indication in the review indication is the correction of the system model.
  • the corrected system model is stored in the post-correction system model storage unit 108 .
  • the system model correction unit 107 adds ⁇ sw structure Modify the element name of /get-element name> from “get” to "getSize".
  • a description method for correction is predetermined so that the system model correction unit 107 can clearly specify the content of the indication in the review indication.
  • the system model correction unit 107 does not correct the system model, and sends the indication target element and the indication to the user via the output unit 104. may be presented.
  • the review indication received by the input unit 105 includes information indicating "correction” or "comment.”
  • the system model correction unit 107 may present the pointed-out element and pointed out to the user via the output unit 104 and ask for the user's judgment via the input unit 105 .
  • system model correction unit 107 presents correction details of the system model to the user via the output unit 104 before correcting the system model based on the review indication, and the correction is requested from the user via the input unit 105. Modifications may be made only with permission. This eliminates inadvertent modification of the system model due to inappropriate review indications.
  • the corrected system model storage unit 108 stores the corrected system model, which is the system model corrected by the system model correction unit 107 .
  • the development support device 100 described above can be realized by, for example, the computer 10 shown in FIG. Computer 10 includes auxiliary storage device 11 , memory 12 , processor 13 , display device 14 , input device 15 and connection I/F 16 .
  • the auxiliary storage device 11 stores programs and data necessary for processing of the computer 10 .
  • the auxiliary storage device 11 is, for example, an HDD (Hard Disk Drive) or an SSD (Solid State Drive).
  • the memory 12 is a non-volatile or volatile memory that temporarily stores programs and data and provides a work area for the processor 13 to process.
  • the processor 13 is a CPU (Central Processing Unit) or the like that performs various processes by reading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program.
  • CPU Central Processing Unit
  • the program described above may be provided through a network, or may be provided after being recorded on a recording medium. That is, such programs may be provided as program products, for example.
  • the display device 14 is a display or the like that displays various screen images.
  • the input device 15 receives input of operations from the user.
  • the input device 15 is, for example, a mouse or keyboard.
  • a connection I/F 16 is an interface for connecting external equipment to the computer 10 .
  • a document can be printed by connecting a printer (not shown) to the computer 10 .
  • system model storage unit 101 the document generation rule storage unit 102, and the corrected system model storage unit 108 of the development support device 100 can be realized by the auxiliary storage device 11 or the memory 12.
  • the document generation unit 103, the pointed-out element search unit 106, and the system model correction unit 107 are realized by the processor 13 reading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program. can be done.
  • the output unit 104 can be realized by the display device 14 or the connection I/F 16 and a printer (not shown) connected to the connection I/F 16 .
  • the input unit 105 can be implemented by the input device 15 .
  • the output element specifying unit 161 of the indication target element searching unit 106 analyzes the character strings within the specified range of the document, and identifies the elements in the system model that have a high correlation within the specified range. is specified as an element corresponding to , the first embodiment is not limited to such an example.
  • the output element identification unit 161 may analyze the document generation rule and identify elements in the system model with high correlation as elements corresponding to the specific range. Specifically, when the system model 110 shown in FIG. 2 and the document generation rule 130 shown in FIG. contains the description "[insert ⁇ sw structure>note]", it is determined that the ⁇ sw structure> element of the system model 110 is output to item number 2.1. As a result, the output element identifying unit 161 identifies ⁇ sw structure> as an element corresponding to item number 2.1.
  • the output element identifying unit 161 determines that since item number section 2.2 of the document 140 includes the description "[ ⁇ sw structure/classA> insert element names for the following operations one line at a time]", Search the system model 110 and determine that the ⁇ sw structure/classA/get> or ⁇ sw structure/classA/set> element is output in item number 2.2. As a result, the output element identifying unit 161 identifies ⁇ sw structure/classA/get> and ⁇ sw structure/classA/set> as elements corresponding to item number 2.2.
  • the output element specifying unit 161 Based on the tree structure of , specify the correspondence between the item number and the element. Specifically, in the tree structure of the system model, when there are A element, B element and C element as child elements of a node, the output element specifying unit 161 selects the A element for Chapter 1 and the B element for Chapter 2 of the document. It is judged that the C element is output in Chapter 3.
  • the output element identifying unit 161 identifies the A element as the element corresponding to the item number of Chapter 1, identifies the B element as the element corresponding to the item number of Chapter 2, and identifies the B element as the element corresponding to the item number of Chapter 3. Specify the C element as the element.
  • the output element identifying unit 161 may identify the correspondence using something other than the item number. For example, the output element identification unit 161 may identify the correspondence relationship between the page number of the document and the element to be output to that page number. In this case, the specific range is pages. Furthermore, when the document is spreadsheet software, the output element identification unit 161 may identify the correspondence relationship between the sheet of the document and the elements output to the sheet. In this case, the specific range is the sheet.
  • the input unit 105 receives input of document review indications output by the output unit 104 .
  • Embodiment 1 is not limited to such an example.
  • the input unit 105 may accept input of only the position in the document of information to be searched.
  • the development support device 100 does not correct the system model, but only searches for the element in the system model corresponding to the information to be searched. Therefore, in FIG. 1, the system model correction unit 107 and the corrected system model storage unit 108 are unnecessary, and instead of the indication target element search unit 106, the indication target element candidate identification unit 160 may be provided.
  • the input unit 105 receives the document generated by the document generation unit 103 and the reviewer's An input may be received as a review indication of difference information indicating a difference from the corrected document. This allows the reviewer-modified document to be synchronized with the system model.
  • a document can be generated from a system model.
  • the first embodiment after analyzing the internal correspondence relationship between the document and the system model, it is possible to search for the elements in the system model with high accuracy. It is possible to reduce the element search time in
  • development support apparatus 200 includes system model storage unit 101, document generation rule storage unit 102, document generation unit 103, output unit 104, input unit 105 , an indication target element search unit 206 , a system model correction unit 107 , and a corrected system model storage unit 108 .
  • System model storage unit 101, document generation rule storage unit 102, document generation unit 103, output unit 104, input unit 105, system model correction unit 107, and corrected system model storage unit 108 of development support device 200 according to the second embodiment is the system model storage unit 101, the document generation rule storage unit 102, the document generation unit 103, the output unit 104, the input unit 105, the system model correction unit 107, and the corrected system model storage of the development support device 100 according to the first embodiment. It is similar to the part 108 .
  • the indication target element search unit 206 uses the system model stored in the system model storage unit 101 and the document generated by the document generation unit 103 to correspond to the content of the indication in the review indication received by the input unit 105. search for an indication target element that is an element in the system model that The indication target element search unit 206 in the second embodiment performs the same processing as the indication target element search unit 106 in the first embodiment. search for an indication target element that is an element in the system model corresponding to the contents of
  • FIG. 12 is a block diagram schematically showing the configuration of the indication target element search unit 206 according to the second embodiment.
  • the indication target element search unit 206 includes an indication target element candidate identification unit 260 and a character search unit 164 .
  • Character search unit 164 of indication target element search unit 206 in the second embodiment is the same as character search unit 164 of indication target element search unit 106 in the first embodiment.
  • the indication target element candidate specifying unit 260 uses the system model and the document to specify indication target element candidates, which are element candidates in the system model and correspond to the content of the indication in the review indication.
  • the indication target element candidate specifying unit 260 according to the second embodiment performs the same processing as the indication target element candidate specifying unit 160 according to the first embodiment. Specify an indication target element candidate, which is an element candidate in the system model, corresponding to the content of indication in .
  • the indication target element candidate identification unit 260 includes an output element identification unit 161, an association DB 162, a position element identification unit 263, a drawing number identification unit 265, a drawing number association DB 266, a diagram element identification unit 267, and a diagram usage element. and an association DB 268 .
  • the output element specifying unit 161 and the association DB 162 of the indication target element candidate specifying unit 260 according to the second embodiment are the same as the output element specifying unit 161 and the association DB 162 of the indication target element candidate specifying unit 160 according to the first embodiment.
  • the drawing number identification unit 265 identifies the drawing number included in each of the plurality of specific ranges from the document, and identifies each of the plurality of specific ranges and the drawing number included in each of the plurality of specific ranges. Generate drawing number association information to be associated.
  • the drawing number identification unit 265 identifies a plurality of predetermined specific ranges from the document, and analyzes the drawing number, which is the number of the drawing output to each of the plurality of specific ranges in the document, to obtain a plurality of and the corresponding relationship between each of the specific ranges and the drawing numbers output to each of the plurality of specific ranges.
  • the specific range is the same as in the first embodiment.
  • the drawing number specifying unit 265 searches for the character string "figure.” Determine if the string exists. In this case, the drawing number identifying unit 265 identifies "Fig. 2-1" as the drawing number corresponding to the specific range "Section 2.1".
  • the drawing number identification unit 265 stores drawing number association information that associates the specific range indicating the position of the specific range of the document with the drawing number corresponding to the specific range in the drawing number association DB 266 .
  • the drawing number association DB 266 is a drawing number association information storage unit that stores the drawing number association information from the drawing number identification unit 265 .
  • FIG. 13 is a schematic diagram showing an example of the drawing number association information stored in the drawing number association DB 266.
  • the drawing number association information 280 indicates a specific range 281 and a drawing number 182 .
  • the specific range 281 indicates chapters and sections of the document, but the second embodiment is not limited to such examples.
  • the document page number may be used as the specific range 281 .
  • the diagram element specifying unit 267 analyzes the system model to generate diagram use element association information indicating the correspondence relationship between the diagram element, which is an element representing a diagram, and the elements included in the diagram element. do.
  • FIG. 14 is a schematic diagram showing an example of a system model according to Embodiment 2.
  • FIG. The system model 210 shown in FIG. 14 has elements 216 of the sw structure diagram.
  • the type of element 216 in the sw structure diagram is "block definition diagram".
  • the type "block definition diagram” indicates that the elements in the system model 210 are used to represent the structure of the system.
  • the diagram 220 possessed by element 216 of the sw structure diagram uses the elements "classA" 220a, "classB" 220b, and "classC” 220c as shown in FIG. represents the relationship between
  • the system model 210 in MBSE treats the "classA" element 212 and the "classA” 220a appearing in FIG. 220 as the same element. For example, if the element name of element 212 is changed from “classA” to "classA#”, the notation of "classA” 220a appearing in FIG. 220 is also automatically changed to "classA#".
  • the diagram element identifying unit 267 identifies the elements ⁇ sw structure/classA>, ⁇ sw structure/classB>, and ⁇ sw structure/classC> included in the diagram ⁇ sw structure/sw structure diagram—diagram>, ⁇ sw structure/classA>, ⁇ sw structure/classB> and ⁇ sw structure/classC> are specified as elements corresponding to structure/sw structure drawing-drawing>.
  • the diagram element identification unit 267 stores diagram usage element association information that associates the diagram with the element corresponding to the diagram in the diagram usage element association DB 268 .
  • the diagram element specifying unit 267 may associate the element positions of the diagram elements with the element positions of the elements corresponding to the diagram from the root element.
  • the figure-use element association DB 268 is a figure-use element association information storage unit that stores figure-use element association information from the figure-element specifying unit 267 .
  • FIG. 16 is a schematic diagram showing an example of figure-use element association information stored in the figure-use element association DB 268.
  • the diagram-using element association information 290 indicates a diagram 291 and an element 292.
  • the diagram-use element association information 290 associates the element position of a diagram element with the element positions of elements included in the diagram element.
  • the positional element identifying unit 263 refers to the drawing number association information to identify the specific range including the drawing number indicated by the document position as the target specific range. Then, the position element specifying unit 263 specifies output elements included in the target specifying range as indication target element candidates, and refers to the figure-use element association information to identify the figure elements included in the target specifying range. Identify the element contained in as a target element candidate.
  • the positional element identification unit 263 determines the association information stored in the association DB 162, the drawing number association information stored in the drawing number association DB 266, and the figure usage information stored in the figure usage element association DB 268.
  • An indication target element candidate which is an element in the system model corresponding to the review indication, is specified by referring to the element association information. Since the process of specifying the indication target element candidate by referring only to the association information stored in the association DB 162 is the same as in the first embodiment, here, the drawing number stored in the drawing number association DB 266 is used. A process of referring to the association information and the diagram-use element association information stored in the diagram-use element association DB 268 will be described.
  • association information 170 shown in FIG. 8 the diagram number association information 280 shown in FIG. 13, and the diagram usage element association information 290 shown in FIG. An example when the position is "Fig. 2-1" is shown.
  • the positional element identification unit 263 first refers to the drawing number association information 280 to determine the specific range position "Section 2.1" containing the document position "Fig. 2-1". ” is specified.
  • the positional element identifying unit 263 identifies elements in the system model output to Section 2.1 of the document from the association information 170 as candidate elements to be pointed out. Then, when a diagram element is included in the pointed-out element candidate, the positional element identifying unit 263 identifies the element included in the diagram element based on the diagram-using element association information 290, and adds it to the pointed-out element candidate.
  • FIG. 17 is a schematic diagram showing an example of an indication target element candidate specified as described above.
  • the indication target element can be specified with high accuracy.
  • FIG. 1-1 holds three figures on top, and each figure has figure . 1-1 sub-numbers (a), (b) or (c) are given, FIG. 1-1 has correspondence with all three figures.
  • Embodiment 2 specifies a specific range such as an item number for which a figure number is output, and specifies an element output in that specific range as an indication target element candidate, thereby reducing omission of specifying an indication target element candidate. be able to.
  • the description of the document can be associated with the elements of the document model, so that the design information in the system model can be browsed using a modeling tool. This eliminates the need to ask modeling tool vendors to add functionality.
  • the drawing number identification unit 265 of the indication target element search unit 206 detects drawing numbers within a specific range of the document. is not limited to
  • the figure number identification unit 265 may search for the figure number by analyzing the document generation rule and identify the correspondence relationship with the document position in the document containing the figure number.
  • the figure number identification unit 265 searches for the character string "Figure.” It can be analyzed that 2-1 is output. In this case, the figure number identification unit 265 identifies "Fig. 2-1" as the diagram corresponding to "Section 2.1".
  • 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 indication target element search unit, 107 system model correction unit, 108 correction
  • Post-system model storage unit 160, 260 indication target 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 Diagram element identification unit, 268 Diagram usage element association DB.

Abstract

This development support device comprises: an output element specification unit (161) that refers to a document or document generation rule to specify, as an output element, an element from among a plurality of system model elements that is output to each of a plurality of specification ranges, which are a plurality of ranges defined in advance in the document, and generates association information for associating each of the plurality of specification ranges with the output element output to each of the plurality of specification ranges; an input unit that receives input of a document position that is the position of the document; and a position element specification unit (163) that refers to the association information to specify, as a candidate pointed-out element, an output element included in a specification range corresponding to the document position among the plurality of specification ranges.

Description

情報処理装置、プログラム及び情報処理方法Information processing device, program and information processing method
 本開示は、情報処理装置、プログラム及び情報処理方法に関する。 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 conventional document-based system development such as specifications or design documents, use description languages such as SysML (Systems Modeling Language) or UML (Unified Modeling Language) to design while creating a system model MBSE (Model Based) Systems Engineering) is attracting attention.
 文書ベースのシステム開発においては、システム設計者は、システムの設計を行いながら、設計した情報を含む仕様書又は設計書を作成してきた。一方、MBSEにおいては、システム設計者は、システムの設計を行いながら、モデリングツールと呼ばれるMBSE対応のツールを用いて、設計した情報を含むシステムモデルを構築する。 In document-based system development, system designers create specifications or design documents that include the designed information while designing the system. On the other hand, in MBSE, a system designer constructs a system model including designed information using a tool called a modeling tool, which corresponds to MBSE, while designing the system.
 システムモデルは、システムの設計情報が格納されたDB(Data Base)である。DBに格納される設計情報は、例えば、システムの構成要素一覧、各構成要素の外部インターフェース情報又は各構成要素間でやり取りされるデータの情報等、システムの設計情報全般である。 A system model is a DB (Data Base) that stores system design information. The design information stored in the DB is general system design information such as a list of system components, external interface information of each component, and information on data exchanged between each component.
 モデリングツールは、システムの設計情報が格納されたDBを閲覧、作成又は更新するためのツールであり、システムの設計情報が格納されたDBであるシステムモデルを出力することができる。 A modeling tool is a tool for viewing, creating, or updating a DB that stores system design information, and can output a system model that is a DB that stores system design information.
 文書ベースのシステム設計成果物は、仕様書又は設計書であるのに対し、MBSEにおけるシステム設計成果物は、モデリングツールにて構築されたシステムモデルである。システムモデルは、設計情報のSingle Source of Truthとして扱われる。 While document-based system design deliverables are specifications or design documents, system design deliverables in MBSE are system models constructed using modeling tools. A system model is treated as a single source of truth for design information.
 システムモデルは、システムの設計情報を網羅的に保有している。そのため、システム関係者が、自身の担当と関係する範囲の設計情報を閲覧したい場合、膨大なシステムモデル内の設計情報から必要な個所を探索する必要があり、手間がかかる。ここでの必要な個所は、「自身の担当と関係する設計情報」が格納された個所のことである。 The system model comprehensively holds system design information. Therefore, when a person concerned with the system wants to browse the design information related to his or her responsibility, it is necessary to search for the necessary part from the huge amount of design information in the system model, which takes time and effort. The necessary place here is the place where "design information related to own responsibility" is stored.
 また、システムモデルはモデリングツールを用いて閲覧できるものであることから、設計情報の閲覧にはモデリングツールのライセンス付与、又は、ツールの使い方習得といった問題が発生する。 Also, since the system model can be viewed using a modeling tool, viewing design information poses the problem of licensing the modeling tool or learning how to use the tool.
 そこで、システムモデルから自身の担当と関係する範囲等を抽出してドキュメントに出力することが考えられる。例えば、システムに加えられた新機能に関する設計書を作成する場合、システムモデルから新機能に関する設計情報を出力して新機能の設計書を生成する。また、システムのインターフェース仕様書を作成する場合、システムモデルからシステムのインターフェースに関する設計情報を出力してインターフェース仕様書を生成する。 Therefore, it is conceivable to extract the range related to one's responsibility from the system model and output it to the document. For example, when creating a design document for a new function added to the system, design information for the new function is output from the system model to generate a design document for the new function. Also, when creating a system interface specification, the interface specification is generated by outputting design information related to the system interface from the system model.
 特許文献1では、ソフトウェア設計情報を含むシステムモデルから、ソフトウェア仕様書の作成に必要な情報を出力し、ソフトウェア仕様書を作成する技術が開示されている。ここでのソフトウェア仕様書の作成に必要な情報は、ソフトウェア仕様書に記載される設計情報のことである。特許文献1に記載されている技術を用いることで、システムモデルからドキュメントを生成することができる。 Patent Document 1 discloses a technique for creating software specifications by outputting information necessary for creating software specifications from a system model containing software design information. The information necessary for creating the software specification here is the design information described in the software specification. A document can be generated from a system model by using the technique described in Patent Document 1.
特開2005-258561号公報JP 2005-258561 A
 ここで、設計者がシステムの新機能を設計し、設計した情報をシステムモデルに追加した後に行うレビューを考える。対面ではなく、メール又はレビュー支援ツールで非同期にレビューを行う場合、初めに、設計者であるレビューイがシステムモデルから新機能に関する設計情報をドキュメントに出力する。次に、レビュワーがそのドキュメントに対してレビューを行う。 Now, let's consider the review that the designer does after designing new system functions and adding the designed information to the system model. When a review is performed asynchronously by e-mail or a review support tool instead of face-to-face, first, a reviewer who is a designer outputs design information on new functions from the system model to a document. A reviewer then reviews the document.
 この時、レビュワーが設計誤りを発見し、修正が必要となった場合、設計者は、レビューを行ったドキュメントではなく、設計情報のSingle Source of Truthであるシステムモデルを修正する。 At this time, if the reviewer finds a design error and needs to correct it, the designer corrects the system model, which is the Single Source of Truth of the design information, not the reviewed document.
 しかし、特許文献1に記載の技術は、システムモデルと、生成したドキュメントとの内部の対応関係を提示していない。このため、レビューイが設計誤りを修正するには、レビュワーに指摘された設計誤りに対応する個所をシステムモデルから見つけ出す必要がある。 However, the technology described in Patent Document 1 does not present the internal correspondence between the system model and the generated document. Therefore, in order for the reviewer to correct the design error, it is necessary to find out from the system model the part corresponding to the design error pointed out by the reviewer.
 言い換えると、レビュワーは、ドキュメントを見てレビューを行っているため、設計誤りが記載されたドキュメント内の位置を提示することはできるが、システムモデル内の修正箇所を提示することはできない。従って、レビューイは、レビュワーの提示可能な、ドキュメント内の位置から対応するシステムモデル内の修正箇所を探索し、修正を行うことになる。 In other words, since the reviewer reviews the document by looking at it, they can present the location in the document where the design error is described, but they cannot present the corrected part in the system model. Therefore, the reviewer searches for the correction part in the corresponding system model from the position in the document that can be presented by the reviewer, and makes the correction.
 このため、ドキュメント内の位置から対応するシステムモデル内の修正箇所を探索する作業に時間が掛かるおそれがある。 For this reason, it may take time to search for the corrected part in the corresponding system model from the position in the document.
 また、レビューイが、指摘に基づき文字列検索でシステムモデルを検索した場合であっても、複数の膨大な検索結果が出力されると、その中から正しい修正箇所を探索するのに時間が掛かるおそれがある。 In addition, even if the reviewer searches the system model using a character string search based on the indication, it takes time to search for the correct correction part from among a large number of search results. There is a risk.
 具体的には、レビュワーがシステム内のソフトウェアにおいて“get”と名付けられたAPI(Appkication Programming Interface)に関する設計誤りを発見した場合、設計者は、“get”の文字列でシステムモデルを検索し、その修正箇所を探索する。しかしながら、“get”と名付けられたAPIが複数のクラスに存在する場合、各クラスの“get”が文字列検索結果となる。そのため、そこから更に設計誤りとして指摘された“get”を探索する必要がある。 Specifically, when a reviewer finds a design error in an API (Application Programming Interface) named "get" in the software within the system, the designer searches the system model for the character string "get", Search for the fix. However, if the API named "get" exists in multiple classes, "get" in each class will be the string search result. Therefore, it is necessary to further search for "get" pointed out as a design error.
 さらに、一般的なモデリングツールが実装している、システムモデルからドキュメントを出力するドキュメント生成機能は、ドキュメントと、システムモデルとの内部の対応関係を提示しないものが多い。この理由としては、上述したように、システムモデル内の設計情報は、モデリングツールを用いて閲覧等のアクセスを行うことを前提としていることが挙げられる。 Furthermore, many of the document generation functions that output documents from system models, which are implemented by general modeling tools, do not present the internal correspondence between documents and system models. The reason for this is that, as described above, the design information in the system model is premised on access such as browsing using a modeling tool.
 そこで、本開示の一又は複数の態様は、ドキュメントと、ドキュメントの生成元のシステムモデルとの対応関係を特定することを目的とする。 Therefore, an object of one or more aspects of the present disclosure is to identify a correspondence relationship between a document and a system model from which the document is generated.
 本開示の一態様に係る情報処理装置は、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部と、前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部と、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部と、を備えることを特徴とする。 An information processing apparatus according to an aspect of the present disclosure is a system model having a tree structure consisting of a plurality of elements, and a document generation rule that specifies positions for arranging necessary elements among the plurality of elements. By referring to the document or the document generation rule, among the plurality of elements, an element that is output to each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, is specified as an output element; an output element identifying unit that 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; and receives an input of a document position that is the position of the document. an input unit, and a positional element identifying unit that identifies, as an indication target element candidate, the output element included in the specific range corresponding to the document position among the plurality of specific ranges by referring to the association information. , is provided.
 本開示の一態様に係るプログラムは、コンピュータを、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部、前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部、及び、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部、として機能させることを特徴とする。 A program according to an aspect of the present disclosure is generated by a computer according to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies positions to arrange necessary elements among the plurality of elements. By referring to the document or the document generation rule, among the plurality of elements, an element output to each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, is specified as an output element. , an output element identifying unit that 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, and receives an input of a document position that is the position of the document. an input unit, and a location element identification unit that identifies, as an indication target element candidate, the output element included in the specific range corresponding to the document position among the plurality of specific ranges by referring to the association information. , is characterized by functioning as
 本開示の一態様に係る情報処理方法は、複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成し、前記ドキュメントの位置であるドキュメント位置の入力を受け付け、前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定することを特徴とする。 An information processing method according to an aspect of the present disclosure is a system model having a tree structure consisting of a plurality of elements, and a document generation rule that specifies positions to arrange necessary elements among the plurality of elements. By referring to the document or the document generation rule, among the plurality of elements, an element that is output to each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, is specified as an output element; 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; receiving an input of a document position that is the position of the document; By referencing, the output element included in the specific range corresponding to the document position among the plurality of specific ranges is specified as the indication target element candidate.
 本開示の一又は複数の態様によれば、ドキュメントと、ドキュメントの生成元のシステムモデルとの対応関係を特定することができる。 According to one or more aspects of the present disclosure, it is possible to identify a correspondence relationship between a document and a system model from which the document was generated.
実施の形態1及び2に係る開発支援装置の構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a development support device according to Embodiments 1 and 2; FIG. 実施の形態1におけるシステムモデルの一例を示す模式図である。1 is a schematic diagram showing an example of a system model according to Embodiment 1; FIG. 実施の形態1におけるシステムモデルに含まれている図を示す模式図である。FIG. 2 is a schematic diagram showing diagrams included in a system model according to Embodiment 1; FIG. ドキュメント生成ルールの一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of document generation rules; ドキュメントの一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of a document; レビュー指摘の一例を示す模式図である。FIG. 10 is a schematic diagram showing an example of review indication; 実施の形態1における指摘対象要素検索部の構成を概略的に示すブロック図である。3 is a block diagram schematically showing the configuration of an indication target element search unit according to Embodiment 1; FIG. 関連付け情報の一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of association information; 指摘対象要素候補の一例を示す模式図である。FIG. 10 is a schematic diagram showing an example of an indication target element candidate; 指摘対象要素の一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of an indication target element; コンピュータの一例を示すブロック図である。1 is a block diagram showing an example of a computer; FIG. 実施の形態2における指摘対象要素検索部の構成を概略的に示すブロック図である。FIG. 11 is a block diagram schematically showing the configuration of an indication target element search unit according to Embodiment 2; FIG. 図番関連付け情報の一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of figure number association information; 実施の形態2におけるシステムモデルの一例を示す模式図である。FIG. 10 is a schematic diagram showing an example of a system model according to Embodiment 2; FIG. 実施の形態2におけるシステムモデルに含まれている図を示す模式図である。FIG. 10 is a schematic diagram showing diagrams included in a system model according to Embodiment 2; FIG. 図使用要素関連付け情報の一例を示す模式図である。FIG. 4 is a schematic diagram showing an example of figure-use element association information; 指摘対象要素候補の一例を示す模式図である。FIG. 10 is a schematic diagram showing an example of an indication target element candidate;
実施の形態1.
 図1は、実施の形態1に係る情報処理装置としての開発支援装置100の構成を概略的に示すブロック図である。
 開発支援装置100は、システムモデル記憶部101と、ドキュメント生成ルール記憶部102と、ドキュメント生成部103と、出力部104と、入力部105と、指摘対象要素検索部106と、システムモデル修正部107と、修正後システムモデル記憶部108とを備える。
Embodiment 1.
FIG. 1 is a block diagram schematically showing the configuration of a development support device 100 as an information processing device according to Embodiment 1. As shown in FIG.
The development support device 100 includes a system model storage unit 101, a document generation rule storage unit 102, a document generation unit 103, an output unit 104, an input unit 105, an indication target element search unit 106, and a system model correction unit 107. and a post-correction system model storage unit 108 .
 なお、実施の形態1では、一例としてシステム設計情報を含むシステムモデルに対する開発支援装置100の例を示すが、システムモデルが含む情報は、システム設計情報でなくてもよい。例えば、システムのプロジェクト管理情報又は検証情報等、システムのライフサイクルに関わる情報がシステムモデルに含まれていればよい。 In Embodiment 1, 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, the system model may include information related to the life cycle of the system, such as system project management information or verification information.
 システムモデル記憶部101は、システムモデルを記憶する。
 図2は、実施の形態1におけるシステムモデルの一例を示す模式図である。
 図2に示されているシステムモデル110は、システムのsw(ソフトウェア)に関する設計情報を含む例を示している。
 システムモデル110は、ツリー構造で構成され、ツリーの各ノードは、要素と呼ばれる。各要素は、要素名、種類及びノートといったメタデータを持つ。
The system model storage unit 101 stores system models.
FIG. 2 is a schematic diagram showing an example of a system model according to Embodiment 1. FIG.
The system model 110 shown in FIG. 2 shows an example including design information about 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 element name, type and notes.
 例えば、システムモデル110のツリー構造のルート要素である要素111は、要素名「sw構造」、種類「パッケージ」及びノート「xx1」のメタデータを持つ。
 種類「パッケージ」は、複数の要素をグルーピングするための要素であることを意味する。
 また、ノートには任意の文字列を保存でき、ノートは、要素に関する追加情報を記録するために用いられる。
For example, element 111, which is the root element of the tree structure of system model 110, has metadata of element name "sw structure", type "package" and note "xx1".
The type "package" means an element for grouping multiple elements.
Also, notes can store arbitrary strings, and notes are used to record additional information about an element.
 次に、要素111の子要素を説明する。
 要素111は、「classA」の要素112、「classB」の要素113及び「classC」の要素114を子要素として持つ。これらの要素112、113、114の種類は、「ブロック」である。種類「ブロック」は、システムの構成要素、又は、システムであることを意味する。
Next, child elements of element 111 will be described.
The element 111 has an element 112 of "classA", an element 113 of "classB" and an element 114 of "classC" as child elements. The type of these elements 112, 113, 114 is "block". The type "block" means a component of a system or a system.
 システムモデル110において、「classA」の要素112、「classB」の要素113及び「classC」の要素114は、ソフトウェアを構成するクラス部品である。従って、システムのソフトウェアは、「classA」の要素112、「classB」の要素113及び「classC」の要素114のクラス部品を持つ。 In the system model 110, the "classA" element 112, the "classB" element 113, and the "classC" element 114 are class components that constitute software. Thus, the software of the system has class components of element 112 of "classA", element 113 of "classB" and element 114 of "classC".
 さらに、「classA」の要素112は、「get」の要素115を子要素として持つ。「get」の要素115の種類は、「操作」である。種類「操作」は、親要素であるクラス部品のメソッドであることを意味する。よって、「classA」の要素112は、メソッドとして「get」の要素115を子要素として持つ。 Furthermore, the "classA" element 112 has a "get" element 115 as a child element. The type of element 115 of "get" is "operation". The type "operation" means that it is a method of the class component that is the parent element. Therefore, the element 112 of "classA" has the element 115 of "get" as a method as a child element.
 また、「sw構造」の要素111は、「sw構造図」の要素116を子要素として持つ。「sw構造図」の要素116の種類は、「ブロック定義図」である。種類「ブロック定義図」は、システムの構造を表す図を含む要素である。よって、「sw構造図」の要素116は、図120を保有する。 Also, the "sw structure" element 111 has the "sw structure diagram" element 116 as a child element. The type of the element 116 of the "sw structure diagram" is "block definition diagram". The type "block definition diagram" is an element that contains a diagram representing the structure of the system. Thus, element 116 of the “sw structure diagram” holds diagram 120 .
 図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, a block definition diagram represents the structure of the system using the elements in the system model. For example, as shown in FIG. 3, FIG. 120 shows that "classA" and "classB" are related, and that "classA" and "classC" are generalized. express something. Thus, relationships between elements within the system model 110 are known.
 図1に戻り、ドキュメント生成ルール記憶部102は、ドキュメント生成ルールを記憶する。ドキュメント生成ルールは、システムモデルに含まれている複数の要素の内の必要な要素を配置する位置を指定する。なお、ここでの必要な要素は、ドキュメント生成に用いる要素のことである。例えば、ドキュメントにsw構造図を記載したい場合、必要な要素として「sw構造図」の要素116が存在する。 Returning to FIG. 1, the document generation rule storage unit 102 stores document generation rules. The document generation rule designates the positions of the required elements among the multiple elements included in the system model. The necessary elements here are the elements used for document generation. For example, when a sw structure diagram is to be described in a document, an element 116 of "sw structure diagram" exists as a necessary element.
 図4は、ドキュメント生成ルールの一例を示す模式図である。
 図4に示されているドキュメント生成ルール130では、[]で囲まれている部分は、システムモデル記憶部101に記憶されているシステムモデルから対応する内容をドキュメントの対応する部分に出力することを示し、[]で囲まれていない文字列は、そのままドキュメントの対応する部分に出力することを示している。
FIG. 4 is a schematic diagram showing an example of document generation rules.
In the document generation rule 130 shown in FIG. 4, the part enclosed in brackets indicates that the corresponding content from the system model stored in the system model storage unit 101 is to be output to the corresponding part of the document. , and character strings not enclosed in brackets [ ] indicate that they are to be output as is to the corresponding part of the document.
 なお、ドキュメント生成ルールの記述記法は、ドキュメント生成部103に依存する。ドキュメント生成機能は、モデリングツールに含まれることが多いが、その場合、ドキュメント生成ルールの記述記法は、モデリングツールの仕様に準じる。 Note that the description notation of the document generation rule depends on the document generation unit 103. The document generation function is often included in the modeling tool, and in that case, the description notation of the document generation rule conforms to the specifications of the modeling tool.
 ここで、ドキュメント生成ルールは、生成されるドキュメントを複数の項目番号で区分けしておくことが望ましい。例えば、図4では、項目番号として、章を示す「2」及び章の中の節を示す「2.1」及び「2.2」が含まれている。 Here, it is desirable for the document generation rule to divide the generated document by multiple item numbers. For example, in FIG. 4, 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 FIG. 1, the document generation unit 103 reads the system model from the system model storage unit 101, reads the document generation rules from the document generation rule storage unit 102, and generates a document according to them. For example, the document generation unit 103 analyzes document generation rules and outputs information in the system model to a document based on the analysis results.
 ここでは、ドキュメント生成部103が、図2に示されているシステムモデル110及び図4に示されているドキュメント生成ルール130を読み込んだ場合を例に、ドキュメント生成部103での処理を説明する。
 なお、図5は、以上の例において、ドキュメント生成部103が生成するドキュメントの一例を示す模式図である。
Here, processing in the document generation unit 103 will be described, taking as an example the case where the document generation unit 103 reads the system model 110 shown in FIG. 2 and the document generation rule 130 shown in FIG.
Note that FIG. 5 is a schematic diagram showing an example of the document generated by the document generation unit 103 in the above example.
 例えば、ドキュメント生成部103は、ドキュメント生成ルール130において[<sw構造>のノートを挿入する]と記載された箇所に対応するドキュメント140(図5参照)のエリアに、システムモデル110内の要素111である「sw構造」のノートの内容を出力する。 For example, the document generation unit 103 inserts the element 111 in the system model 110 in the area of the document 140 (see FIG. 5) corresponding to the part described as [insert the note of <sw structure>] in the document generation rule 130. Outputs the contents of the note of the "sw structure".
 また、ドキュメント生成部103は、ドキュメント生成ルール130において[<sw構造/sw構造図>の図を挿入する]と記載された箇所に対応するドキュメント140のエリアに、システムモデル110内の要素116である「sw構造図」が保有する図を出力する。ここで、<sw構造/sw構造図>は、ルート要素である「sw構造」から「sw構造図」までの経路を示している。 In addition, the document generation unit 103 inserts an element 116 in the system model 110 in an area of the document 140 corresponding to a portion described as [insert a diagram of <sw structure/sw structure diagram>] in the document generation rule 130. A diagram held by a certain "sw structure diagram" is output. Here, <sw structure/sw structure diagram> indicates a path from the root element "sw structure" to the "sw structure diagram".
 さらに、ドキュメント生成部103は、ドキュメント生成ルール130に記載の文字列をそのままドキュメント140に出力する。例えば、ドキュメント生成部103は、ドキュメント生成ルール130において「2.class定義」と記載された個所に関し、文字列「2.class定義」をそのままドキュメント140の対応するエリアに出力する。 Furthermore, the document generation unit 103 outputs the character string described in the document generation rule 130 to the document 140 as it is. For example, the document generation unit 103 outputs the character string “2.class definition” to the corresponding area of the document 140 as it is for the part described as “2.class definition” in the document generation rule 130 .
 以上のようにして、ドキュメント生成部103は、図5に示されているドキュメント140を生成することができる。
 ドキュメント生成部103で生成されたドキュメントは、出力部104に送られる。
As described above, the document generator 103 can generate the document 140 shown in FIG.
A document generated by the document generation unit 103 is sent to the output unit 104 .
 出力部104は、ドキュメント生成部103からドキュメントを受け取り、そのドキュメントをユーザに見える形で出力する。
 一例として、出力部104は、ドキュメントを表示する。また、一例として出力部104は、ドキュメントを媒体に印刷することにより出力する。
The output unit 104 receives the document from the document generation unit 103 and outputs the document in a form visible to the user.
As an example, the output unit 104 displays a document. As an example, the output unit 104 outputs the document by printing it on a medium.
 入力部105は、出力部104が出力したドキュメントの位置であるドキュメント位置と、そのドキュメント位置に関する指摘とを示すレビュー指摘の入力を受け付ける。入力されたレビュー指摘は、指摘対象要素検索部106及びシステムモデル修正部107に与えられる。 The input unit 105 receives an input of a document position, which is the position of the document output by the output unit 104, and a review indication indicating the indication of the document position. The input review indication is given to the indication target element search unit 106 and the system model correction unit 107 .
 図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 input unit 105. As shown in FIG.
As shown in FIG. 6, review indications 150 include a document location and an indication for that document location.
In the example of FIG. 6, "Section 2.2" is included as the document location, and "the description aaa of get is an error of bbb" is included as an indication at this location.
Also, "Fig. 2-1" is included as the document location, and "ccc appearing in the figure is unnecessary" is included as the content of the indication at this location.
 入力部105は、ユーザからマウス又はキーボードを介して、レビュー指摘の入力を受け付けてもよく、マイクを介して、音声認識でレビュー指摘の入力を受け付けてもよい。
 さらに、ドキュメントを解析して自動でレビュー指摘を出力するシステムがあれば、入力部105は、そのシステムからレビュー指摘の入力を受け付けてもよい。
The input unit 105 may receive an input of a review indication from the user via a mouse or a keyboard, or may receive an input of a review indication by speech recognition via a microphone.
Furthermore, if there is a system that analyzes documents and automatically outputs review indications, the input unit 105 may receive input of review indications from that system.
 指摘対象要素検索部106は、システムモデル記憶部101に記憶されているシステムモデル、及び、ドキュメント生成部103で生成されたドキュメントを用いて、入力部105で受け付けたレビュー指摘における指摘に対応するシステムモデル内の要素である指摘対象要素を検索する。 The indication target element search unit 106 uses the system model stored in the system model storage unit 101 and the document generated by the document generation unit 103 to provide a system corresponding to the indication in the review indication received by the input unit 105. Search for an indicated element that is an element in the model.
 図7は、実施の形態1における指摘対象要素検索部106の構成を概略的に示すブロック図である。
 指摘対象要素検索部106は、指摘対象要素候補特定部160と、文字検索部164とを備える。
FIG. 7 is a block diagram schematically showing the configuration of the pointed-out element searching unit 106 according to the first embodiment.
The indication target element search unit 106 includes an indication target element candidate identification unit 160 and a character search unit 164 .
 指摘対象要素候補特定部160は、システムモデル及びドキュメントを用いて、レビュー指摘における指摘が行われた箇所に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。 The indication target element candidate identification unit 160 uses the system model and the document to identify an indication target element candidate, which is an element candidate in the system model, corresponding to the point pointed out in the review indication.
 指摘対象要素候補特定部160は、出力要素特定部161と、関連付けDB162と、位置要素特定部163とを備える。 The indication target element candidate identification unit 160 includes an output element identification unit 161 , an association DB 162 and a position element identification unit 163 .
 出力要素特定部161は、ドキュメントから予め定められた複数の特定範囲を特定し、複数の特定範囲の各々に出力されている要素と、システムモデル内の要素との対応関係を特定する。特定範囲は、例えば、1章等の各項目番号、又は、5p等の各ページ番号で区切られる、ドキュメント内の範囲のことである。なお、特定範囲は、予め定められていればよい。 The output element identifying unit 161 identifies a plurality of predetermined specific ranges from the document, and identifies the correspondence between the elements output to each of the plurality of specific ranges and the elements in the system model. The specific range is, for example, a range within the document that is delimited by each item number such as Chapter 1 or each page number such as 5p. Note that the specific range may be determined in advance.
 出力要素特定部161は、ドキュメントを参照することで、システムモデルに含まれている複数の要素の内、予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定する。そして、出力要素特定部161は、複数の特定範囲の各々と、その複数の特定範囲の各々に出力されている出力要素とを関連付ける関連付け情報を生成する。 The output element specifying unit 161 refers to the document to output the elements output to each of a plurality of specific ranges, which are a plurality of predetermined ranges, among the plurality of elements included in the system model. Identifies as an element. Then, the output element specifying unit 161 generates association information that associates each of the plurality of specific ranges with the output element output to each of the plurality of specific ranges.
 例えば、出力要素特定部161は、ドキュメントの特定範囲内の文字列を解析して、相間の高いシステムモデル内の要素を特定範囲に対応する要素である出力要素として特定する。例えば、出力要素特定部161は、特定範囲内の文字列と、システムモデル内の要素のメタデータの何れかとが一致する場合に、その文字列と、その要素との相関が高いと判断すればよい。 For example, the output element identifying unit 161 analyzes character strings within a specific range of the document and identifies elements in the system model with high correlation as output elements that are elements corresponding to the specific range. For example, if the character string within the specific range matches any of the metadata of the element in the system model, the output element identifying unit 161 determines that the character string is highly correlated with the element. good.
 具体的には、図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 document 140 shown in FIG. and "get", it is estimated that the elements of <sw structure/classA> and <sw structure/classA/get> of the system model 110 are output to item number 2.2 . Therefore, the output element identifying unit 161 identifies <sw structure/classA> and <sw structure/classA/get> as elements corresponding to item number 2.2. It should be noted that the element is specified so that the element position, which is the position of the element in the system model, can be identified. Here, the element position is identified by the path from the root element. In other words, the association information should associate each of the plurality of specific ranges with the element position of the output element output to each of the plurality of specific ranges.
 そして、出力要素特定部161は、ドキュメントの特定範囲を示す特定範囲と、その特定範囲に対応する要素とを関連付ける関連付け情報を関連付けDB162に格納する。 Then, the output element specifying unit 161 stores, in the association DB 162, association information that associates the specific range indicating the specific range of the document with the element corresponding to the specific range.
 関連付けDB162は、出力要素特定部161からの関連付け情報を記憶する関連付け情報記憶部である。 The association DB 162 is an association information storage unit that stores association information from the output element identification unit 161.
 図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 association DB 162. As shown in FIG.
As illustrated in FIG. 8 , the association information 170 indicates a specific range 171 and elements 172 .
In FIG. 8, the specific range 171 indicates chapters and sections of the document, but the first embodiment is not limited to such examples. For example, the document page number may be used as the specific range 171 .
 位置要素特定部163は、関連付けDB162に記憶されている関連付け情報を参照することで、複数の特定範囲の内、ドキュメント位置に対応する特定範囲に含まれている出力要素を指摘対象要素候補として特定する。 The positional element identifying unit 163 refers to the association information stored in the association DB 162 to identify output elements included in a specific range corresponding to the document position among a plurality of specific ranges as indication target element candidates. do.
 例えば、位置要素特定部163は、レビュー指摘に含まれているドキュメント位置に対応する特定範囲に関連付けられている要素を、指摘対象要素候補として特定する。特定された指摘対象要素候補は、対応するレビュー指摘とともに文字検索部164に与えられる。 For example, the positional element identification unit 163 identifies elements associated with a specific range corresponding to the document position included in the review indication as indication target element candidates. The specified indication target element candidate is provided to the character search unit 164 together with the corresponding review indication.
 具体的には、図8に示されている関連付け情報170において、ドキュメント位置が「2.2節」である場合、位置要素特定部163は、関連付け情報170を参照することで、「2.2節」に対応する行173から、その行173に含まれている要素を、指摘対象要素候補として特定する。特定された指摘対象要素候補は、図9に示されているようになる。 Specifically, in the association information 170 shown in FIG. From the line 173 corresponding to "Section", the element included in the line 173 is identified as a pointing target element candidate. The identified pointing target element candidates are as shown in FIG.
 なお、例えば、ドキュメント位置がドキュメントのページ番号の場合、位置要素特定部163は、そのページ番号に対応する指摘対象要素候補を関連付けDB162から特定する。 It should be noted that, for example, when the document position is the page number of the document, the positional element identifying unit 163 identifies from the association DB 162 the indication target element candidate corresponding to the page number.
 また、例えば、ドキュメント位置が、関連付けDB162に記憶されている関連付け情報に含まれていない場合、位置要素特定部163は、関連付け情報に含まれている要素の全てを指摘対象要素候補として特定してもよい。具体的には、ドキュメント位置がページ番号にも関わらず、関連付け情報がページ番号に関連付けて要素を特定していない場合、位置要素特定部163は、関連付け情報に含まれている全ての要素を、指摘対象要素候補として特定する。これにより、関連付け情報に含まれている要素は、ドキュメントに出力されている要素のみであるため、ドキュメントに出力されない要素を指摘対象要素候補から除外することができる。 Further, for example, when the document position is not included in the association information stored in the association DB 162, the positional element identifying unit 163 identifies all of the elements included in the association information as indication target element candidates. good too. Specifically, when the document position is a page number, but the association information does not specify an element in association with the page number, the position element identification unit 163 identifies all the elements included in the association information as Identify as an indication target element candidate. As a result, since the elements included in the association information are only the elements output to the document, the elements that are not output to the document can be excluded from the indication target element candidates.
 文字検索部164は、レビュー指摘における指摘の内容と、指摘対象要素候補の内容とを比較することで、指摘対象要素候補から、レビュー指摘における指摘が行われている要素である指摘対象要素を特定する指摘対象要素特定部として機能する。 The character search unit 164 identifies an indication target element, which is an element pointed out in the review indication, from the indication target element candidates by comparing the content of the indication in the review indication and the content of the indication target element candidate. It functions as an indication target element specifying unit.
 例えば、文字検索部164は、レビュー指摘における指摘の文字列に基づき、そのレビュー指摘に対応する指摘対象要素候補に含まれているメタデータの文字列を検索し、指摘された内容に対応する要素である指摘対象要素を特定する。特定された指摘対象要素は、対応するレビュー指摘とともにシステムモデル修正部107に与えられる。 For example, the character search unit 164 searches for a character string of metadata included in an indication target element candidate corresponding to the review indication based on the character string indicated in the review indication, and searches for an element corresponding to the indicated content. Identify the pointed out element that is The specified pointed out element is provided to the system model correction unit 107 together with the corresponding review pointed out.
 具体的には、指摘対象要素候補が図9に示されているようになっており、レビュー指摘における指摘に「get」の文字列が含まれる場合、文字検索部164は、「get」の文字列で指摘対象要素候補となっている要素のメタデータを検索し、相間の高い<sw構造/get―要素名>の要素を、指摘対象要素として特定する。ここで、指摘の文字列と、要素のメタデータに含まれている文字列とが一致する場合に、相関が高いと判断される。言い換えると、文字検索部164は、指摘の内容を示す文字列と一致する文字列を含む指摘対象要素候補を、指摘対象要素として特定する。特定された指摘対象要素は、例えば、図10に示されているようになる。 Specifically, if the candidate element to be pointed out is as shown in FIG. Metadata of elements that are indication target element candidates in the column is searched, and an element of <sw structure/get-element name> with a high correlation is specified as an indication target element. Here, when the specified character string and the character string included in the metadata of the element match, it is determined that the correlation is high. In other words, the character search unit 164 identifies, as an indication target element, an indication target element candidate including a character string that matches the character string indicating the content of indication. The specified pointing element is as shown in FIG. 10, for example.
 なお、文字検索部164は、文字列検索で、レビュー指摘における指摘の文字列と相間の高い要素がない場合、指摘対象要素候補をすべて指摘対象要素として特定してもよい。これにより、文字検索部164の性能に依存した、本来除外すべきでない要素の誤った除外を減らすことができる。例えば、レビュー指摘にクラスAと記載があった場合、文字列検索では、要素「classA」と、レビュー指摘「クラスA」との相関は弱くなる。このとき、レビュー指摘「クラスA」と相関の強い要素がない場合、指摘対象要素候補を全て指摘対象要素として特定してもよい。これにより、本来レビュー指摘者が指摘したかった要素と考えられる要素「classA」の誤った除外を減らすことができる。 Note that the character search unit 164 may specify all indication target element candidates as indication target elements when there is no element highly correlated with the character string pointed out in the review indication in the character string search. This can reduce erroneous exclusion of elements that should not be excluded depending on the performance of the character search section 164 . For example, if the review indication includes a description of class A, the correlation between the element "class A" and the review indication "class A" is weak in the character string search. At this time, if there is no element highly correlated with the review indication “class A”, all indication target element candidates may be specified as indication target elements. This can reduce erroneous exclusion of the element "classA", which is considered to be the element that the reviewer originally wanted to point out.
 さらに、文字検索部164は、文字列検索で、指摘の文字列と相間の高い要素が複数存在する場合、その複数の要素を指摘対象要素として特定してもよい。これにより、ユーザが、複数の要素に対して指摘が行われた場合にも対応することができる。 Furthermore, in the character string search, if there are multiple elements that are highly correlated with the pointed out character string, the character search unit 164 may specify those multiple elements as pointed out elements. Thereby, it is possible to deal with the case where the user points out a plurality of elements.
 図1に戻り、システムモデル修正部107は、レビュー指摘に基づき、システムモデル内における指摘対象要素を修正する。具体的には、システムモデル修正部107は、レビュー指摘における指摘の内容が、システムモデルの修正である場合に、その指摘の内容に従って、指摘対象要素を修正する。修正されたシステムモデルは、修正後システムモデル記憶部108に記憶される。 Returning to FIG. 1, the system model correction unit 107 corrects the indication target element in the system model based on the review indication. Specifically, the system model correction unit 107 corrects the indicated element according to the content of the indication when the content of the indication in the review indication is the correction of the system model. The corrected system model is stored in the post-correction system model storage unit 108 .
 例えば、指摘対象要素が<sw構造/get―要素名>で、レビュー指摘における指摘が“getをgetSizeに変更する”という情報を含む場合、システムモデル修正部107は、システムモデル内の<sw構造/get―要素名>の要素名を“get”から“getSize”に修正する。
 この場合、システムモデル修正部107がレビュー指摘における指摘の内容を明確に特定することができるようにするため、修正を行う場合の記載方法が予め定められていることが望ましい。
For example, if the pointed-out element is <sw structure/get-element name> and the pointed-out in the review pointing out includes the information "change get to getSize", the system model correction unit 107 adds <sw structure Modify the element name of /get-element name> from "get" to "getSize".
In this case, it is desirable that a description method for correction is predetermined so that the system model correction unit 107 can clearly specify the content of the indication in the review indication.
 また、レビュー指摘における指摘の内容が修正ではなく、例えば、コメントである場合、システムモデル修正部107は、システムモデルを修正せず、指摘対象要素及び指摘を、出力部104を介して、ユーザに提示してもよい。
 なお、以上のような処理を確実に行うため、ユーザは、レビュー指摘を行う際に、指摘の内容が「修正」なのか、「コメント」なのかを入力することが望ましい。この場合、入力部105で入力を受け付けるレビュー指摘には、「修正」又は「コメント」を示す情報が含まれる。
Further, if the content of the indication in the review indication is not correction but, for example, a comment, the system model correction unit 107 does not correct the system model, and sends the indication target element and the indication to the user via the output unit 104. may be presented.
In order to reliably perform the above processing, it is desirable for the user to input whether the content of the indication is a "correction" or a "comment" when making a review indication. In this case, the review indication received by the input unit 105 includes information indicating "correction" or "comment."
 なお、例えば、レビュー指摘に複数の指摘対象要素が対応する場合、レビュー指摘の記載方法が予め定められた記載方法ではない場合等、修正方法が明確に判断できない場合には、システムモデル修正部107は、指摘対象要素及び指摘を、出力部104を介して、ユーザに提示して、入力部105を介して、ユーザの判断を仰いでもよい。 Note that, for example, when a plurality of indication target elements correspond to a review indication, or when the description method of the review indication is not a predetermined description method, etc., when the correction method cannot be clearly determined, the system model correction unit 107 may present the pointed-out element and pointed out to the user via the output unit 104 and ask for the user's judgment via the input unit 105 .
 また、システムモデル修正部107は、レビュー指摘に基づきシステムモデルを修正する前に、出力部104を介して、ユーザにシステムモデルの修正内容を提示し、入力部105を介して、ユーザから修正の許可を受けた場合のみ修正することにしてもよい。これにより、不適切なレビュー指摘による不用意なシステムモデルの修正を除外できる。 In addition, the system model correction unit 107 presents correction details of the system model to the user via the output unit 104 before correcting the system model based on the review indication, and the correction is requested from the user via the input unit 105. Modifications may be made only with permission. This eliminates inadvertent modification of the system model due to inappropriate review indications.
 修正後システムモデル記憶部108は、システムモデル修正部107で修正されたシステムモデルである修正後システムモデルを記憶する。 The corrected system model storage unit 108 stores the corrected system model, which is the system model corrected by the system model correction unit 107 .
 以上に記載された開発支援装置100は、例えば、図11に示されているコンピュータ10により実現することができる。
 コンピュータ10は、補助記憶装置11と、メモリ12と、プロセッサ13と、表示装置14と、入力装置15と、接続I/F16とを備える。
The development support device 100 described above can be realized by, for example, the computer 10 shown in FIG.
Computer 10 includes auxiliary storage device 11 , memory 12 , processor 13 , display device 14 , input device 15 and connection I/F 16 .
 補助記憶装置11は、コンピュータ10の処理に必要なプログラム及びデータを記憶する。補助記憶装置11は、例えば、HDD(Hard Disk Drive)又はSSD(Solid State Drive)等である。
 メモリ12は、プログラム及びデータを一時的に記憶し、プロセッサ13が処理を行う作業領域を提供する不揮発性又は揮発性のメモリである。
 プロセッサ13は、補助記憶装置11に記憶されているプログラムをメモリ12に読み出し、そのプログラムを実行することで、各種処理を行うCPU(Central Processing Unit)等である。
The auxiliary storage device 11 stores programs and data necessary for processing of the computer 10 . The auxiliary storage device 11 is, for example, an HDD (Hard Disk Drive) or an SSD (Solid State Drive).
The memory 12 is a non-volatile or volatile memory that temporarily stores programs and data and provides a work area for the processor 13 to process.
The processor 13 is a CPU (Central Processing Unit) or the like that performs various processes by reading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program.
 以上に記載されたプログラムは、ネットワークを通じて提供されてもよく、また、記録媒体に記録されて提供されてもよい。即ち、このようなプログラムは、例えば、プログラムプロダクトとして提供されてもよい。 The program described above may be provided through a network, or may be provided after being recorded on a recording medium. That is, such programs may be provided as program products, for example.
 表示装置14は、各種画面画像を表示するディスプレイ等である。
 入力装置15は、ユーザからの操作の入力を受け付ける。入力装置15は、例えば、マウス又はキーボード等である。
 接続I/F16は、外部の機器をコンピュータ10に接続するためおインターフェースである。例えば、図示しないプリンタをコンピュータ10に接続することにより、ドキュメントを印刷することができる。
The display device 14 is a display or the like that displays various screen images.
The input device 15 receives input of operations from the user. The input device 15 is, for example, a mouse or keyboard.
A connection I/F 16 is an interface for connecting external equipment to the computer 10 . For example, a document can be printed by connecting a printer (not shown) to the computer 10 .
 具体的には、開発支援装置100のシステムモデル記憶部101、ドキュメント生成ルール記憶部102及び修正後システムモデル記憶部108は、補助記憶装置11又はメモリ12により実現することができる。 Specifically, the system model storage unit 101, the document generation rule storage unit 102, and the corrected system model storage unit 108 of the development support device 100 can be realized by the auxiliary storage device 11 or the memory 12.
 ドキュメント生成部103、指摘対象要素検索部106及びシステムモデル修正部107は、プロセッサ13が、補助記憶装置11に記憶されているプログラムをメモリ12に読み出して、そのプログラムを実行することで実現することができる。 The document generation unit 103, the pointed-out element search unit 106, and the system model correction unit 107 are realized by the processor 13 reading a program stored in the auxiliary storage device 11 into the memory 12 and executing the program. can be done.
 出力部104は、表示装置14、又は、接続I/F16及び接続I/F16に接続された図示しないプリンタにより実現することができる。
 入力部105は、入力装置15により実現することができる。
The output unit 104 can be realized by the display device 14 or the connection I/F 16 and a printer (not shown) connected to the connection I/F 16 .
The input unit 105 can be implemented by the input device 15 .
 以上に記載された実施の形態1では、指摘対象要素検索部106の出力要素特定部161は、ドキュメントの特定範囲内の文字列を解析して、相間の高い、システムモデル内の要素を特定範囲に対応する要素として特定しているが、実施の形態1は、このような例に限定されるものではない。 In the first embodiment described above, the output element specifying unit 161 of the indication target element searching unit 106 analyzes the character strings within the specified range of the document, and identifies the elements in the system model that have a high correlation within the specified range. is specified as an element corresponding to , the first embodiment is not limited to such an example.
 例えば、出力要素特定部161は、ドキュメント生成ルールを解析して、相間の高い、システムモデル内の要素を特定範囲に対応する要素として特定してもよい。
 具体的には、図2に示されているシステムモデル110と、図4に示されているドキュメント生成ルール130とが用いられる場合、出力要素特定部161は、ドキュメント140の項目番号2.1節が「[<sw構造>のノートを挿入する]」の記載を含むことから、システムモデル110の<sw構造>の要素が項目番号2.1節に出力されると判断する。これにより、出力要素特定部161は項目番号2.1節と対応する要素として<sw構造>を特定する。
For example, the output element identification unit 161 may analyze the document generation rule and identify elements in the system model with high correlation as elements corresponding to the specific range.
Specifically, when the system model 110 shown in FIG. 2 and the document generation rule 130 shown in FIG. contains the description "[insert <sw structure>note]", it is determined that the <sw structure> element of the system model 110 is output to item number 2.1. As a result, the output element identifying unit 161 identifies <sw structure> as an element corresponding to item number 2.1.
 また、例えば、出力要素特定部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>を特定する。 Also, for example, the output element identifying unit 161 determines that since item number section 2.2 of the document 140 includes the description "[<sw structure/classA> insert element names for the following operations one line at a time]", Search the system model 110 and determine that the <sw structure/classA/get> or <sw structure/classA/set> element is output in item number 2.2. As a result, the output element identifying unit 161 identifies <sw structure/classA/get> and <sw structure/classA/set> as elements corresponding to item number 2.2.
 さらに、例えば、図示されていないがドキュメント生成ルールが、システムモデルのツリー構造に沿って上から順に項目番号を付与して出力すると定義されている場合には、出力要素特定部161は、システムモデルのツリー構造に基づき、項目番号と要素との対応関係を特定する。具体的には、システムモデルのツリー構造において、ノードの子要素としてA要素、B要素及びC要素がある場合、出力要素特定部161は、ドキュメントの1章にはA要素、2章にはB要素、3章にはC要素が出力されると判断する。これにより、出力要素特定部161は、1章の項目番号に対応する要素としてA要素を特定し、2章の項目番号に対応する要素としてB要素を特定し、3章の項目番号に対応する要素としてC要素を特定する。 Further, for example, although not shown, if the document generation rule defines that the item numbers are assigned in order from the top along the tree structure of the system model and output, the output element specifying unit 161 Based on the tree structure of , specify the correspondence between the item number and the element. Specifically, in the tree structure of the system model, when there are A element, B element and C element as child elements of a node, the output element specifying unit 161 selects the A element for Chapter 1 and the B element for Chapter 2 of the document. It is judged that the C element is output in Chapter 3. As a result, the output element identifying unit 161 identifies the A element as the element corresponding to the item number of Chapter 1, identifies the B element as the element corresponding to the item number of Chapter 2, and identifies the B element as the element corresponding to the item number of Chapter 3. Specify the C element as the element.
 以上のように、ドキュメント生成ルールを用いることで、ドキュメントより高精度に対応関係を特定することができる。 As described above, by using the document generation rules, it is possible to identify the correspondence with higher accuracy than the document.
 また、出力要素特定部161は、項目番号以外を用いて対応関係を特定してもよい。例えば、出力要素特定部161は、ドキュメントのページ番号と、そのページ番号に出力される要素との対応関係を特定してもよい。この場合、特定範囲は、ページとなる。
 さらに、ドキュメントが表計算ソフトウェアの場合、出力要素特定部161は、ドキュメントのシートと、シートに出力される要素との対応関係を特定してもよい。この場合、特定範囲は、シートとなる。
Also, the output element identifying unit 161 may identify the correspondence using something other than the item number. For example, the output element identification unit 161 may identify the correspondence relationship between the page number of the document and the element to be output to that page number. In this case, the specific range is pages.
Furthermore, when the document is spreadsheet software, the output element identification unit 161 may identify the correspondence relationship between the sheet of the document and the elements output to the sheet. In this case, the specific range is the sheet.
 なお、実施の形態1において、入力部105は、出力部104が出力したドキュメントレビュー指摘の入力を受け付けているが。実施の形態1は、このような例に限定されない。例えば、入力部105は、検索したい情報の、ドキュメントにおける位置のみの入力を受け付けてもよい。この場合、開発支援装置100は、システムモデルの修正ではなく、検索したい情報に対応するシステムモデル内の要素の検索のみを行う。従って、図1において、システムモデル修正部107及び修正後システムモデル記憶部108は、不要となり、指摘対象要素検索部106の代わりに、指摘対象要素候補特定部160が設けられていればよい。 It should be noted that in Embodiment 1, the input unit 105 receives input of document review indications output by the output unit 104 . Embodiment 1 is not limited to such an example. For example, the input unit 105 may accept input of only the position in the document of information to be searched. In this case, the development support device 100 does not correct the system model, but only searches for the element in the system model corresponding to the information to be searched. Therefore, in FIG. 1, the system model correction unit 107 and the corrected system model storage unit 108 are unnecessary, and instead of the indication target element search unit 106, the indication target element candidate identification unit 160 may be provided.
 また、実施の形態1において、レビュワーがドキュメント生成部103により生成されたドキュメントを直に修正することで指摘を行った場合、入力部105は、ドキュメント生成部103により生成されたドキュメントと、レビュワーの修正したドキュメントとの差分を示す差分情報をレビュー指摘として、入力を受け付けてもよい。これにより、レビュワーが修正したドキュメントと、システムモデルとの同期が可能となる。 Further, in the first embodiment, when the reviewer directly corrects the document generated by the document generation unit 103 to make an indication, the input unit 105 receives the document generated by the document generation unit 103 and the reviewer's An input may be received as a review indication of difference information indicating a difference from the corrected document. This allows the reviewer-modified document to be synchronized with the system model.
 また、特許文献1に記載の技術を用いることで、システムモデルからドキュメントを生成することができる。しかし、レビュー指摘に含まれる指摘箇所のドキュメント位置から、対応するシステムモデル内の要素を探索するのに時間がかかるおそれがある。
 これに対して、実施の形態1によれば、ドキュメントと、システムモデルとの内部の対応関係を解析した上で、システムモデル内の要素を高精度に検索することができ、レビュー指摘に対するシステムモデル内の要素探索時間を削減することができる。
Also, by using the technology described in Patent Literature 1, a document can be generated from a system model. However, it may take a long time to search for the corresponding element in the system model from the document position of the pointed out part included in the review pointed out.
On the other hand, according to the first embodiment, after analyzing the internal correspondence relationship between the document and the system model, it is possible to search for the elements in the system model with high accuracy. It is possible to reduce the element search time in
実施の形態2.
 図1に示されているように、実施の形態2に係る開発支援装置200は、システムモデル記憶部101と、ドキュメント生成ルール記憶部102と、ドキュメント生成部103と、出力部104と、入力部105と、指摘対象要素検索部206と、システムモデル修正部107と、修正後システムモデル記憶部108とを備える。
Embodiment 2.
As shown in FIG. 1, development support apparatus 200 according to the second embodiment includes system model storage unit 101, document generation rule storage unit 102, document generation unit 103, output unit 104, input unit 105 , an indication target element search unit 206 , a system model correction unit 107 , and a corrected system model storage unit 108 .
 実施の形態2に係る開発支援装置200のシステムモデル記憶部101、ドキュメント生成ルール記憶部102、ドキュメント生成部103、出力部104、入力部105、システムモデル修正部107及び修正後システムモデル記憶部108は、実施の形態1に係る開発支援装置100のシステムモデル記憶部101、ドキュメント生成ルール記憶部102、ドキュメント生成部103、出力部104、入力部105、システムモデル修正部107及び修正後システムモデル記憶部108と同様である。 System model storage unit 101, document generation rule storage unit 102, document generation unit 103, output unit 104, input unit 105, system model correction unit 107, and corrected system model storage unit 108 of development support device 200 according to the second embodiment is the system model storage unit 101, the document generation rule storage unit 102, the document generation unit 103, the output unit 104, the input unit 105, the system model correction unit 107, and the corrected system model storage of the development support device 100 according to the first embodiment. It is similar to the part 108 .
 指摘対象要素検索部206は、システムモデル記憶部101に記憶されているシステムモデル、及び、ドキュメント生成部103で生成されたドキュメントを用いて、入力部105で受け付けたレビュー指摘における指摘の内容に対応するシステムモデル内の要素である指摘対象要素を検索する。
 実施の形態2における指摘対象要素検索部206は、実施の形態1における指摘対象要素検索部106と同様の処理を行う他、レビュー指摘に含まれるドキュメント位置が図番である場合でもレビュー指摘における指摘の内容に対応するシステムモデル内の要素である指摘対象要素を検索する。
The indication target element search unit 206 uses the system model stored in the system model storage unit 101 and the document generated by the document generation unit 103 to correspond to the content of the indication in the review indication received by the input unit 105. search for an indication target element that is an element in the system model that
The indication target element search unit 206 in the second embodiment performs the same processing as the indication target element search unit 106 in the first embodiment. search for an indication target element that is an element in the system model corresponding to the contents of
 図12は、実施の形態2における指摘対象要素検索部206の構成を概略的に示すブロック図である。
 指摘対象要素検索部206は、指摘対象要素候補特定部260と、文字検索部164とを備える。
 実施の形態2における指摘対象要素検索部206の文字検索部164は、実施の形態1における指摘対象要素検索部106の文字検索部164と同様である。
FIG. 12 is a block diagram schematically showing the configuration of the indication target element search unit 206 according to the second embodiment.
The indication target element search unit 206 includes an indication target element candidate identification unit 260 and a character search unit 164 .
Character search unit 164 of indication target element search unit 206 in the second embodiment is the same as character search unit 164 of indication target element search unit 106 in the first embodiment.
 実施の形態2における指摘対象要素候補特定部260は、システムモデル及びドキュメントを用いて、レビュー指摘における指摘の内容に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。
 実施の形態2における指摘対象要素候補特定部260は、実施の形態1における指摘対象要素候補特定部160と同様の処理を行う他、レビュー指摘に含まれるドキュメント位置が図番である場合でもレビュー指摘における指摘の内容に対応する、システムモデル内の要素の候補である指摘対象要素候補を特定する。
The indication target element candidate specifying unit 260 according to the second embodiment uses the system model and the document to specify indication target element candidates, which are element candidates in the system model and correspond to the content of the indication in the review indication.
The indication target element candidate specifying unit 260 according to the second embodiment performs the same processing as the indication target element candidate specifying unit 160 according to the first embodiment. Specify an indication target element candidate, which is an element candidate in the system model, corresponding to the content of indication in .
 指摘対象要素候補特定部260は、出力要素特定部161と、関連付けDB162と、位置要素特定部263と、図番特定部265と、図番関連付けDB266と、図要素特定部267と、図使用要素関連付けDB268とを備える。
 実施の形態2における指摘対象要素候補特定部260の出力要素特定部161及び関連付けDB162は、実施の形態1における指摘対象要素候補特定部160の出力要素特定部161及び関連付けDB162と同様である。
The indication target element candidate identification unit 260 includes an output element identification unit 161, an association DB 162, a position element identification unit 263, a drawing number identification unit 265, a drawing number association DB 266, a diagram element identification unit 267, and a diagram usage element. and an association DB 268 .
The output element specifying unit 161 and the association DB 162 of the indication target element candidate specifying unit 260 according to the second embodiment are the same as the output element specifying unit 161 and the association DB 162 of the indication target element candidate specifying unit 160 according to the first embodiment.
 図番特定部265は、ドキュメントから、複数の特定範囲の各々に含まれている図番を特定し、複数の特定範囲の各々と、複数の特定範囲の各々に含まれている図番とを関連付ける図番関連付け情報を生成する。 The drawing number identification unit 265 identifies the drawing number included in each of the plurality of specific ranges from the document, and identifies each of the plurality of specific ranges and the drawing number included in each of the plurality of specific ranges. Generate drawing number association information to be associated.
 例えば、図番特定部265は、ドキュメントから予め定められた複数の特定範囲を特定し、ドキュメントにおける複数の特定範囲の各々に出力されている図の番号である図番を解析することで、複数の特定範囲の各々と、複数の特定範囲の各々に出力されている図番との対応関係を特定する。特定範囲は、実施の形態1と同様である。 For example, the drawing number identification unit 265 identifies a plurality of predetermined specific ranges from the document, and analyzes the drawing number, which is the number of the drawing output to each of the plurality of specific ranges in the document, to obtain a plurality of and the corresponding relationship between each of the specific ranges and the drawing numbers output to each of the plurality of specific ranges. The specific range is the same as in the first embodiment.
 具体的には、図5に示されているドキュメント140の場合、図番特定部265は、「図.」の文字列を検索し、ドキュメントの2.1節に「図.2-1」の文字列が存在すると判断する。この場合、図番特定部265は、特定範囲である「2.1節」に、対応する図番として「図.2―1」を特定する。 Specifically, in the case of the document 140 shown in FIG. 5, the drawing number specifying unit 265 searches for the character string "figure." Determine if the string exists. In this case, the drawing number identifying unit 265 identifies "Fig. 2-1" as the drawing number corresponding to the specific range "Section 2.1".
 そして、図番特定部265は、ドキュメントの特定範囲の位置を示す特定範囲と、その特定範囲に対応する図番とを関連付ける図番関連付け情報を図番関連付けDB266に格納する。 Then, the drawing number identification unit 265 stores drawing number association information that associates the specific range indicating the position of the specific range of the document with the drawing number corresponding to the specific range in the drawing number association DB 266 .
 図番関連付けDB266は、図番特定部265からの図番関連付け情報を記憶する図番関連付け情報記憶部である。 The drawing number association DB 266 is a drawing number association information storage unit that stores the drawing number association information from the drawing number identification unit 265 .
 図13は、図番関連付けDB266に記憶されている図番関連付け情報の一例を示す模式図である。
 図13に示されているように、図番関連付け情報280は、特定範囲281と、図番182とを示している。
 図13では、特定範囲281は、ドキュメントの章及び節を示しているが、実施の形態2はこのような例に限定されない。例えば、ドキュメントのページ番号が特定範囲281として用いられていてもよい。
FIG. 13 is a schematic diagram showing an example of the drawing number association information stored in the drawing number association DB 266. As shown in FIG.
As shown in FIG. 13 , the drawing number association information 280 indicates a specific range 281 and a drawing number 182 .
In FIG. 13, the specific range 281 indicates chapters and sections of the document, but the second embodiment is not limited to such examples. For example, the document page number may be used as the specific range 281 .
 図12に戻り、図要素特定部267は、システムモデルを解析することで、図を示す要素である図要素と、その図要素に含まれる要素との対応関係を示す図使用要素関連付け情報を生成する。 Returning to FIG. 12, the diagram element specifying unit 267 analyzes the system model to generate diagram use element association information indicating the correspondence relationship between the diagram element, which is an element representing a diagram, and the elements included in the diagram element. do.
 図14は、実施の形態2におけるシステムモデルの一例を示す模式図である。
 図14に示されているシステムモデル210は、sw構造図の要素216を持つ。sw構造図の要素216の種類は、「ブロック定義図」である。種類「ブロック定義図」は、システムモデル210内の要素を用いてシステムの構造を表現することを示している。例えば、sw構造図の要素216が保有する図220は、図15に示されているように、「classA」220a、「classB」220b及び「classC」220cの要素を用いて、その各々の要素間の関係を表している。
14 is a schematic diagram showing an example of a system model according to Embodiment 2. FIG.
The system model 210 shown in FIG. 14 has elements 216 of the sw structure diagram. The type of element 216 in the sw structure diagram is "block definition diagram". The type "block definition diagram" indicates that the elements in the system model 210 are used to represent the structure of the system. For example, the diagram 220 possessed by element 216 of the sw structure diagram uses the elements "classA" 220a, "classB" 220b, and "classC" 220c as shown in FIG. represents the relationship between
 MBSEにおけるシステムモデル210は、「classA」の要素212と、図220に現れる「classA」220aとを同じ要素として扱う。例えば、要素212の要素名を「classA」から「classA#」に変更すると、図220に現れる「classA」220aの表記も、自動的に「classA#」へ変更される。 The system model 210 in MBSE treats the "classA" element 212 and the "classA" 220a appearing in FIG. 220 as the same element. For example, if the element name of element 212 is changed from "classA" to "classA#", the notation of "classA" 220a appearing in FIG. 220 is also automatically changed to "classA#".
 ここで、図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 processing in the diagram element specifying unit 267 will be described using the system model 210 shown in FIG.
The diagram element identifying unit 267 identifies the elements <sw structure/classA>, <sw structure/classB>, and <sw structure/classC> included in the diagram <sw structure/sw structure diagram—diagram>, <sw structure/classA>, <sw structure/classB> and <sw structure/classC> are specified as elements corresponding to structure/sw structure drawing-drawing>.
Then, the diagram element identification unit 267 stores diagram usage element association information that associates the diagram with the element corresponding to the diagram in the diagram usage element association DB 268 . Specifically, the diagram element specifying unit 267 may associate the element positions of the diagram elements with the element positions of the elements corresponding to the diagram from the root element.
 図12に戻り、図使用要素関連付けDB268は、図要素特定部267からの図使用要素関連付け情報を記憶する図使用要素関連付け情報記憶部である。 Returning to FIG. 12, the figure-use element association DB 268 is a figure-use element association information storage unit that stores figure-use element association information from the figure-element specifying unit 267 .
 図16は、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報の一例を示す模式図である。
 図16に示されているように、図使用要素関連付け情報290は、図291と、要素292とを示している。
 ここでは、図使用要素関連付け情報290は、図要素の要素位置と、その図要素に含まれている要素の要素位置とを関連付けている。
FIG. 16 is a schematic diagram showing an example of figure-use element association information stored in the figure-use element association DB 268. As shown in FIG.
As shown in FIG. 16, the diagram-using element association information 290 indicates a diagram 291 and an element 292. FIG.
Here, the diagram-use element association information 290 associates the element position of a diagram element with the element positions of elements included in the diagram element.
 位置要素特定部263は、レビュー指摘で示されるドキュメント位置が図番を示す場合に、図番関連付け情報を参照することで、ドキュメント位置が示す図番を含む特定範囲を対象特定範囲として特定する。そして、位置要素特定部263は、対象特定範囲に含まれている出力要素を指摘対象要素候補として特定するとともに、図使用要素関連付け情報を参照することで、対象特定範囲に含まれている図要素に含まれている要素を指摘対象要素候補として特定する。 When the document position indicated by the review indication indicates the drawing number, the positional element identifying unit 263 refers to the drawing number association information to identify the specific range including the drawing number indicated by the document position as the target specific range. Then, the position element specifying unit 263 specifies output elements included in the target specifying range as indication target element candidates, and refers to the figure-use element association information to identify the figure elements included in the target specifying range. Identify the element contained in as a target element candidate.
 具体的には、位置要素特定部263は、関連付けDB162に記憶されている関連付け情報、図番関連付けDB266に記憶されている図番関連付け情報、及び、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報を参照することで、レビュー指摘に対応するシステムモデル内の要素である指摘対象要素候補を特定する。関連付けDB162に記憶されている関連付け情報のみを参照して、指摘対象要素候補を特定する処理については、実施の形態1と同様であるため、ここでは、図番関連付けDB266に記憶されている図番関連付け情報、及び、図使用要素関連付けDB268に記憶されている図使用要素関連付け情報を参照する処理について説明する。 Specifically, the positional element identification unit 263 determines the association information stored in the association DB 162, the drawing number association information stored in the drawing number association DB 266, and the figure usage information stored in the figure usage element association DB 268. An indication target element candidate, which is an element in the system model corresponding to the review indication, is specified by referring to the element association information. Since the process of specifying the indication target element candidate by referring only to the association information stored in the association DB 162 is the same as in the first embodiment, here, the drawing number stored in the drawing number association DB 266 is used. A process of referring to the association information and the diagram-use element association information stored in the diagram-use element association DB 268 will be described.
 ここでは、図8に示されている関連付け情報170、図13に示されている図番関連付け情報280及び図16に示されている図使用要素関連付け情報290を用いて、レビュー指摘に含まれるドキュメント位置が「図.2-1」である場合の例を示す。 Here, using the association information 170 shown in FIG. 8, the diagram number association information 280 shown in FIG. 13, and the diagram usage element association information 290 shown in FIG. An example when the position is "Fig. 2-1" is shown.
 このような場合、位置要素特定部263は、まず、図番関連付け情報280を参照することで、ドキュメント位置の「図.2-1」が含まれている特定範囲位置である「2.1節」を特定する。 In such a case, the positional element identification unit 263 first refers to the drawing number association information 280 to determine the specific range position "Section 2.1" containing the document position "Fig. 2-1". ” is specified.
 次に、位置要素特定部263は、関連付け情報170からドキュメントの2.1節に出力されるシステムモデル内の要素を指摘対象要素候補として特定する。
 そして、位置要素特定部263は、指摘対象要素候補に図要素が含まれている場合、図使用要素関連付け情報290に基づき、その図要素に含まれる要素を特定し、指摘対象要素候補に加える。
 図17は、以上のようにして特定された指摘対象要素候補の一例を示す模式図である。
Next, the positional element identifying unit 263 identifies elements in the system model output to Section 2.1 of the document from the association information 170 as candidate elements to be pointed out.
Then, when a diagram element is included in the pointed-out element candidate, the positional element identifying unit 263 identifies the element included in the diagram element based on the diagram-using element association information 290, and adds it to the pointed-out element candidate.
FIG. 17 is a schematic diagram showing an example of an indication target element candidate specified as described above.
 以上のように、実施の形態2によれば、レビュー指摘に含まれるドキュメント位置が図番を示していても、指摘対象要素を精度よく特定することができる。 As described above, according to Embodiment 2, even if the document position included in the review indication indicates the drawing number, the indication target element can be specified with high accuracy.
 なお、ドキュメント又はドキュメント生成ルールを解析しても、図番が出力される位置を起点として何処までが図の範囲であるかの判断が困難な場合がある。例えば、図示してはいないが、図.1-1は、上に図を3つ保持し、各々の図に図.1-1のサブ番号である(a)、(b)又は(c)が付与されている場合、図.1-1は3つの図全てと対応関係を持つ。
 実施の形態2は、図番が出力される項目番号等の特定範囲を特定し、その特定範囲に出力される要素を指摘対象要素候補として特定することで、指摘対象要素候補の特定漏れを減らすことができる。
Even if the document or the document generation rule is analyzed, it may be difficult to determine how far the range of the drawing extends from the position where the drawing number is output as the starting point. For example, although not shown, FIG. 1-1 holds three figures on top, and each figure has figure . 1-1 sub-numbers (a), (b) or (c) are given, FIG. 1-1 has correspondence with all three figures.
Embodiment 2 specifies a specific range such as an item number for which a figure number is output, and specifies an element output in that specific range as an indication target element candidate, thereby reducing omission of specifying an indication target element candidate. be able to.
 また、実施の形態2は、図に含まれる要素も指摘対象要素候補として特定することで、指摘対象要素候補の特定漏れを減らすことができる。これにより、図の中に含まれる特定要素に対する指摘にも対応することができる。 In addition, in the second embodiment, by specifying the elements included in the drawing as candidate elements to be pointed out, it is possible to reduce omissions in specifying candidate elements to be pointed out. As a result, it is possible to respond to indications of specific elements included in the drawing.
 なお、以上に記載した実施の形態1又は2では、ドキュメントの記載と、ドキュメントモデルの要素とを対応付けることができるため、システムモデル内の設計情報が、モデリングツールを用いて閲覧等するようになっている場合であっても、モデリングツールのベンダに機能の追加を依頼する必要がなくなる。 In the first or second embodiment described above, the description of the document can be associated with the elements of the document model, so that the design information in the system model can be browsed using a modeling tool. This eliminates the need to ask modeling tool vendors to add functionality.
 以上に記載された実施の形態2では、指摘対象要素検索部206の図番特定部265は、ドキュメントの特定範囲内の図番を検出しているが、実施の形態2は、このような例に限定されるものではない。 In the second embodiment described above, the drawing number identification unit 265 of the indication target element search unit 206 detects drawing numbers within a specific range of the document. is not limited to
 例えば、図番特定部265は、ドキュメント生成ルールを解析することで、図番を検索し、図番が含まれるドキュメント内のドキュメント位置との対応関係を特定してもよい。 For example, the figure number identification unit 265 may search for the figure number by analyzing the document generation rule and identify the correspondence relationship with the document position in the document containing the figure number.
 例えば、図4に示されているドキュメント生成ルール130の場合、図番特定部265は、「図.」の文字列を検索し、ドキュメントの2.1節に図.2-1が出力されることを解析することができる。この場合、図番特定部265は、「2.1節」に対応する図として「図.2―1」を特定する。 For example, in the case of the document generation rule 130 shown in FIG. 4, the figure number identification unit 265 searches for the character string "Figure." It can be analyzed that 2-1 is output. In this case, the figure number identification unit 265 identifies "Fig. 2-1" as the diagram corresponding to "Section 2.1".
 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 indication target element search unit, 107 system model correction unit, 108 correction Post-system model storage unit, 160, 260 indication target 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 Diagram element identification unit, 268 Diagram usage element association DB.

Claims (10)

  1.  複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部と、
     前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部と、
     前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部と、を備えること
     を特徴とする情報処理装置。
    By referring to a document generated according to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies the position of arranging necessary elements among the plurality of elements, or the document generation rule, Among the plurality of elements, an element that is output to each of a plurality of specific ranges that are a plurality of predetermined ranges in the document is specified as an output element, and each of the plurality of specific ranges and the plurality of an output element identifying unit that generates association information that associates the output elements output to each specific range;
    an input unit that receives an input of a document position, which is the position of the document;
    a positional element identifying unit that identifies the output element included in the specific range corresponding to the document position among the plurality of specific ranges as an indication target element candidate by referring to the association information. An information processing device characterized by:
  2.  前記入力部は、前記ドキュメント位置で示される位置に関する指摘の入力をさらに受け付け、
     前記指摘の内容と、前記指摘対象要素候補の内容とを比較することで、前記指摘対象要素候補から、前記指摘で指摘されている要素である指摘対象要素を特定する指摘対象要素特定部をさらに備えること
     を特徴とする請求項1に記載の情報処理装置。
    The input unit further receives an input of indication regarding the position indicated by the document position,
    an indication target element identifying unit that identifies, from the indication target element candidates, the indication target element that is the element pointed out in the indication by comparing the content of the indication with the content of the indication target element candidate; The information processing apparatus according to claim 1, comprising:
  3.  前記指摘対象要素特定部は、前記指摘の内容を示す文字列と一致する文字列を含む前記指摘対象要素候補を、前記指摘対象要素として特定すること
     を特徴とする請求項2に記載の情報処理装置。
    3. The information processing according to claim 2, wherein the indication target element specifying unit specifies, as the indication target element, the indication target element candidate including a character string that matches a character string indicating the content of the indication. Device.
  4.  前記指摘の内容が、前記システムモデルの修正である場合に、前記指摘の内容に従って、前記指摘対象要素を修正する修正部をさらに備えること
     を特徴とする請求項2又は3に記載の情報処理装置。
    4. The information processing apparatus according to claim 2, further comprising a correction unit that corrects the indicated element according to the content of the indication when the content of the indication is correction of the system model. .
  5.  前記ドキュメント生成ルールは、前記ドキュメントを複数の項目番号で区分けしており、
     前記複数の特定範囲は、前記複数の項目番号で区分けされた前記複数の範囲であること
     を特徴とする請求項1から4の何れか一項に記載の情報処理装置。
    The document generation rule divides the document by a plurality of item numbers,
    The information processing apparatus according to any one of claims 1 to 4, wherein the plurality of specific ranges are the plurality of ranges divided by the plurality of item numbers.
  6.  前記出力要素特定部は、前記複数の要素の内、前記複数の特定範囲の各々に含まれている文字列と相関の高い要素を前記出力要素として特定すること
     を特徴とする請求項1から5の何れか一項に記載の情報処理装置。
    6. The output element identifying unit identifies, as the output element, an element highly correlated with a character string included in each of the plurality of specific ranges, among the plurality of elements. The information processing device according to any one of .
  7.  前記ドキュメント又は前記ドキュメント生成ルールから、前記複数の特定範囲の各々に含まれている図の番号である図番を特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に含まれている前記図番とを関連付ける図番関連付け情報を生成する図番特定部と、
     前記システムモデルを解析することで、図を示す要素である図要素と、前記図要素に含まれる要素との対応関係を示す図使用要素関連付け情報を生成する図要素特定部と、をさらに備え、
     前記ドキュメント位置が前記図番を示す場合に、前記位置要素特定部は、前記図番関連付け情報を参照することで、前記ドキュメント位置が示す前記図番を含む特定範囲を対象特定範囲として特定し、前記対象特定範囲に含まれている前記出力要素を前記指摘対象要素候補として特定するとともに、前記図使用要素関連付け情報を参照することで、前記対象特定範囲に含まれている前記図要素に含まれている要素を前記指摘対象要素候補として特定すること
     を特徴とする請求項1から6の何れか一項に記載の情報処理装置。
    A drawing number, which is the number of a drawing included in each of the plurality of specific ranges, is identified from the document or the document generation rule, and each of the plurality of specific ranges and each of the plurality of specific ranges are identified. a drawing number identifying unit that generates drawing number association information for associating the drawing number with the
    a diagram element identifying unit that analyzes the system model to generate diagram element that is an element representing a diagram and diagram use element association information that indicates a correspondence relationship between elements included in the diagram element,
    When the document position indicates the drawing number, the position element identifying unit refers to the drawing number association information to identify a specific range including the drawing number indicated by the document position as a target specific range, By identifying the output element included in the target identification range as the indication target element candidate and referring to the diagram usage element association information, the figure element included in the target identification range The information processing apparatus according to any one of claims 1 to 6, wherein an element that is pointed out is specified as the candidate element to be pointed out.
  8.  前記システムモデル及び前記ドキュメント生成ルールに従って、前記ドキュメントを生成するドキュメント生成部と、
     前記ドキュメントを出力する出力部と、をさらに備えること
     を特徴とする請求項1から7のいずれか一項に記載の情報処理装置。
    a document generation unit that generates the document according to the system model and the document generation rule;
    The information processing apparatus according to any one of claims 1 to 7, further comprising an output unit that outputs the document.
  9.  コンピュータを、
     複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成する出力要素特定部、
     前記ドキュメントの位置であるドキュメント位置の入力を受け付ける入力部、及び、
     前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定する位置要素特定部、として機能させること
     を特徴とするプログラム。
    the computer,
    By referring to a document generated according to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies the position of arranging necessary elements among the plurality of elements, or the document generation rule, Among the plurality of elements, an element that is output to each of a plurality of specific ranges that are a plurality of predetermined ranges in the document is specified as an output element, and each of the plurality of specific ranges and the plurality of an output element identification unit that generates association information that associates the output elements output to each specific range;
    an input unit for receiving input of a document position, which is the position of the document; and
    functioning as a position element identifying unit that identifies, as an indication target element candidate, the output element included in the specific range corresponding to the document position among the plurality of specific ranges by referring to the association information; A program characterized by
  10.  複数の要素からなるツリー構造を有するシステムモデルと、前記複数の要素の内の必要な要素を配置する位置を指定するドキュメント生成ルールとに従って生成されたドキュメント又は前記ドキュメント生成ルールを参照することで、前記複数の要素の内、前記ドキュメントにおける予め定められた複数の範囲である複数の特定範囲の各々に出力されている要素を出力要素として特定し、
     前記複数の特定範囲の各々と、前記複数の特定範囲の各々に出力されている前記出力要素とを関連付ける関連付け情報を生成し、
     前記ドキュメントの位置であるドキュメント位置の入力を受け付け、
     前記関連付け情報を参照することで、前記複数の特定範囲の内、前記ドキュメント位置に対応する特定範囲に含まれている前記出力要素を指摘対象要素候補として特定すること
     を特徴とする情報処理方法。
    By referring to a document generated according to a system model having a tree structure consisting of a plurality of elements and a document generation rule that specifies the position of arranging necessary elements among the plurality of elements, or the document generation rule, identifying, among the plurality of elements, elements output in each of a plurality of specific ranges, which are a plurality of predetermined ranges in the document, 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;
    Receiving input of a document position, which is the position of the document;
    An information processing method, wherein, by referring to the association information, the output element included in a specific range corresponding to the document position among the plurality of specific ranges is specified as an indication target element candidate.
PCT/JP2021/031203 2021-08-25 2021-08-25 Information processing device, program, and information processing method WO2023026409A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023543560A JPWO2023026409A1 (en) 2021-08-25 2021-08-25
PCT/JP2021/031203 WO2023026409A1 (en) 2021-08-25 2021-08-25 Information processing device, program, and information processing method

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 (1)

Publication Number Publication Date
WO2023026409A1 true WO2023026409A1 (en) 2023-03-02

Family

ID=85321893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/031203 WO2023026409A1 (en) 2021-08-25 2021-08-25 Information processing device, program, and information processing method

Country Status (2)

Country Link
JP (1) JPWO2023026409A1 (en)
WO (1) WO2023026409A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
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
JP2021051407A (en) * 2019-09-23 2021-04-01 株式会社デンソークリエイト Design assisting tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
JP2021051407A (en) * 2019-09-23 2021-04-01 株式会社デンソークリエイト Design assisting tool

Also Published As

Publication number Publication date
JPWO2023026409A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
US6915306B1 (en) Automatic generation of data models and accompanying user interfaces
JP4148527B2 (en) Functional test script generator
US7634720B2 (en) System and method for providing context to an input method
KR100623245B1 (en) Automatic configuration generation
US7917457B2 (en) Knowledge extraction and abstraction
CN108762743B (en) Data table operation code generation method and device
US20070233645A1 (en) System and Method for Building an XQuery Using a Model-Based XQuery Building Tool
KR20060046217A (en) Support for user-specified spreadsheet functions
JP2006178944A (en) File format representing document, its method and computer program product
US9524366B1 (en) Annotations to identify objects in design generated by high level synthesis (HLS)
WO2014064803A1 (en) Document processing program, document processing device, document processing system, and document processing method
JP6048957B2 (en) Information processing apparatus, program, and information processing method
JP2004094487A (en) Support system for preparing document
WO2023026409A1 (en) Information processing device, program, and information processing method
JP2008117066A (en) Software development support method, software development support device, software development support program, and computer system
US10241899B2 (en) Test input information search device and method
JP5758311B2 (en) Test code generation device, test code generation method, test code generation program
JP7247593B2 (en) Generation device, software robot system, generation method and generation program
CN107577476A (en) A kind of Android system source code difference analysis method, server and medium based on Module Division
JP2016212633A (en) Program test priority determination system
WO2023223424A1 (en) Document generation device, program, and document generation method
JP4693807B2 (en) Program development support system, method and program
JP4946360B2 (en) Software development method
US9038049B2 (en) Automated discovery of resource definitions and relationships in a scripting environment
JP6476638B2 (en) Specific term candidate extraction device, specific term candidate extraction method, and specific term candidate extraction program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21955023

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023543560

Country of ref document: JP