JP7799643B2 - Specification verification support device, method, and program - Google Patents
Specification verification support device, method, and programInfo
- Publication number
- JP7799643B2 JP7799643B2 JP2023008378A JP2023008378A JP7799643B2 JP 7799643 B2 JP7799643 B2 JP 7799643B2 JP 2023008378 A JP2023008378 A JP 2023008378A JP 2023008378 A JP2023008378 A JP 2023008378A JP 7799643 B2 JP7799643 B2 JP 7799643B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- state transition
- model
- comparison
- events
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Description
本開示は、情報システムのシステム仕様を検証する技術に関する。 This disclosure relates to technology for verifying system specifications for information systems.
情報システムの開発においては、情報システムを調達する依頼者の要求を開発者が聞き取ってシステム仕様として記述し、依頼者と開発者とでシステム仕様を確認したうえで、システム仕様に従って情報システムを設計し作成する。システム仕様の誤りは情報システムの不具合の原因となるため、システム開発においてシステム仕様の検証は重要である。 When developing an information system, the developer listens to the requirements of the client procuring the information system and writes them down as system specifications. The client and developer then confirm the system specifications, and the information system is then designed and created in accordance with the specifications. Since errors in the system specifications can cause malfunctions in the information system, verifying the system specifications is important in system development.
システム仕様の記述には状態遷移モデルが用いられる場合がある。状態遷移モデルは、情報システムを構成する各オブジェクトについて、オブジェクトが取り得る状態と、オブジェクトに対して発生するイベントと、イベントによる状態の遷移とを表現するモデルである。状態遷移モデルは状態遷移図や状態遷移表として記述される。 State transition models are sometimes used to describe system specifications. A state transition model is a model that represents, for each object that makes up an information system, the states that the object can take, the events that occur to the object, and the state transitions caused by the events. A state transition model is described as a state transition diagram or state transition table.
特許文献1には、状態遷移表を編集するための装置が開示されている。特許文献1の状態遷移表編集装置は、システムの検証者が、シーケンス図に基づく観点によって、状態遷移仕様の簡略化を指定することができるようにし、その検証者が、正しく状態遷移仕様の簡略化を行えるようにするものである。状態遷移表編集装置は、シーケンス図を表示し、状態遷移表の縮退の観点とシーケンス図における縮退対象部分とを入力させ、入力された状態遷移表の縮退の観点とシーケンス図における縮退対象部分とに基づいて、状態遷移表の縮退内容を決定し、オリジナル状態遷移表を表すデータから、縮退後の状態遷移表のデータを生成する。 Patent Document 1 discloses a device for editing a state transition table. The state transition table editing device in Patent Document 1 allows a system verifier to specify simplification of state transition specifications based on a sequence diagram, enabling the verifier to correctly simplify the state transition specifications. The state transition table editing device displays a sequence diagram and prompts the verifier to input a state transition table reduction perspective and the portion of the sequence diagram to be reduced. Based on the input state transition table reduction perspective and the portion of the sequence diagram to be reduced, the device determines the reduction content of the state transition table and generates data for the reduced state transition table from data representing the original state transition table.
特許文献1の開示によれば、検証者が指定した観点によって状態遷移表を簡略化することによりシステムの検証を支援することができる。しかしながら、システム仕様に状態遷移モデルが示されるオブジェクトは個々に独立したものとして管理される。そのため、オブジェクトやその状態の個数が増えると、状態や遷移の抜け漏れ、状態間の矛盾などシステム仕様に内在する誤りが見落とされる場合がある。 According to the disclosure of Patent Document 1, system verification can be supported by simplifying the state transition table based on the perspective specified by the verifier. However, objects whose state transition models are shown in the system specifications are managed as individual, independent entities. Therefore, as the number of objects and their states increases, errors inherent in the system specifications, such as missing states or transitions, or inconsistencies between states, may be overlooked.
本開示に含まれるひとつの目的は、システム仕様の検証において誤りの見落としの低減を可能にする技術を提供することである。 One objective of this disclosure is to provide technology that enables the reduction of overlooked errors in verifying system specifications.
本開示に含まれるひとつの態様による仕様検証支援装置は、情報システムの仕様検証を支援する仕様検証支援装置であって、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付ける仕様登録部と、前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する仕様検証部と、を有する。 One aspect of the specification verification support device included in the present disclosure is a specification verification support device that supports specification verification of an information system, and includes a specification registration unit that accepts registration of state transition specifications that specify state transitions due to events in each of multiple models, where the events include events that occur in other models due to state transitions of the models, and event constraints that specify violations that should be considered when the events occur, and a specification verification unit that verifies whether any events that correspond to the violations have occurred in the state transition specifications.
本開示に含まれるひとつの態様による仕様検証支援方法は、情報システムの仕様検証を支援する仕様検証支援方法であって、プロセッサとメモリとを備える装置が、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、ことを実行する。 One aspect of the specification verification support method included in the present disclosure is a specification verification support method for supporting specification verification of an information system, in which a device equipped with a processor and memory accepts registration of state transition specifications that specify state transitions due to events in each of a plurality of models, where the events include events that occur in other models due to the state transitions of the models, and event constraints that specify violations that should be considered when the events occur, and verifies whether any events that correspond to the violations have occurred in the state transition specifications.
本開示に含まれるひとつの態様による仕様検証支援プログラムは、情報システムの仕様検証を支援する仕様検証支援プログラムであって、プロセッサとメモリとを備える装置に、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、ことを実行させる。 One aspect of the specification verification support program included in the present disclosure is a specification verification support program that supports specification verification of an information system, and causes a device equipped with a processor and memory to accept registration of state transition specifications that specify state transitions due to events in each of a plurality of models, where the events include events that occur in other models due to the state transition of one model, and event constraints that specify violations that should be considered when the event occurs, and to verify whether any events that correspond to the violations have occurred in the state transition specifications.
本開示のひとつの態様によれば、システム仕様の検証において違反の見落としを低減することが可能となる。 One aspect of the present disclosure makes it possible to reduce the chance of overlooking violations during verification of system specifications.
以下、本発明の実施形態について図面を参照して説明する。なお以下に説明する実施例は、特許請求の範囲に係る発明を限定するものではない。また実施例において説明されている諸要素およびその組み合わせの全ては発明の解決手段に必須であるとは限らない。 Embodiments of the present invention will be described below with reference to the drawings. Note that the examples described below do not limit the invention as defined in the claims. Furthermore, not all of the elements and combinations thereof described in the examples are necessarily essential to the solution of the invention.
図1は、本開示の実施形態の少なくとも一つに対応する、仕様検証支援装置のハードウェア構成例を示す概念図である。 Figure 1 is a conceptual diagram showing an example hardware configuration of a specification verification support device corresponding to at least one embodiment of the present disclosure.
仕様検証支援装置1は、図示を省略するプロセッサとメモリとを備える。 The specification verification support device 1 includes a processor and memory (not shown).
プロセッサは、例えばCPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)、FPGA(Field-Programmable Gate Array)等で構成される。 The processor may be composed of, for example, a CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), FPGA (Field-Programmable Gate Array), etc.
メモリは、プログラムやデータを記憶する装置であり、例えば、Random Access Memory(RAM)、Read Only Memory(ROM)、不揮発性半導体メモリ(Non-Volatile RAM(NVRAM))である。 Memory is a device that stores programs and data, and includes, for example, Random Access Memory (RAM), Read Only Memory (ROM), and non-volatile semiconductor memory (Non-Volatile RAM (NVRAM)).
メモリは、例えば、Hard Disc Drive(HDD)、Solid State Drive(SSD)、ストレージシステム、Integrated Circuit(IC)カード、Secure Digital(SD)メモリカードや光学式記録媒体(Compact Disc(CD)、Digital Versatile Disc(DVD)など)などの記録媒体の読み取りおよび書き込み装置であってもよい。 The memory may be, for example, a device for reading and writing data from and to recording media such as a hard disc drive (HDD), solid state drive (SSD), storage system, integrated circuit (IC) card, secure digital (SD) memory card, or optical recording media (compact disc (CD), digital versatile disc (DVD), etc.).
プロセッサが、メモリに格納されている仕様検証支援プログラム等の各種プログラムを読み出して実行することにより、データ管理部10と、仕様登録部20と、仕様検証部30と、仕様比較部40とを実現する。 The processor reads and executes various programs, such as the specification verification support program, stored in memory to implement the data management unit 10, specification registration unit 20, specification verification unit 30, and specification comparison unit 40.
データ管理部10は、仕様検証支援装置1が備えるメモリまたは仕様検証支援装置1から見た外部装置が備える記憶装置に保存されたデータである、システム仕様110と、仕様検証結果データ120と、仕様比較結果データ130とを管理する。 The data management unit 10 manages the system specification 110, specification verification result data 120, and specification comparison result data 130, which are data stored in the memory of the specification verification support device 1 or in a storage device of an external device seen from the specification verification support device 1.
システム仕様110は、1以上の情報システムに対応する、定式化仕様データを含む。定式化仕様データとは、情報システムの仕様に係るデータが、所定の基準に従って一つのデータ構造として定式化されたものをいう。情報システムの仕様に係るデータとは、例えば自然文形式のデータやUML形式のデータ等を意味するが、これらの形式のデータには限られない。図示した例においては、システム仕様110は、システム1用の定式化仕様データ111と、システム2用の定式化仕様データ112とを含む。システム仕様110は、他のシステム用の定式化仕様データを同様に含んでいてもよい。 The system specification 110 includes formalized specification data corresponding to one or more information systems. Formalized specification data refers to data related to the specifications of an information system that has been formulated as a single data structure in accordance with predetermined standards. Data related to the specifications of an information system refers to, for example, data in natural language format or UML format, but is not limited to data in these formats. In the illustrated example, the system specification 110 includes formalized specification data 111 for system 1 and formalized specification data 112 for system 2. The system specification 110 may similarly include formalized specification data for other systems.
仕様登録部20は、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様111Aと、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約111Bとについて登録を受け付ける。 The specification registration unit 20 accepts registration of state transition specifications 111A that specify state transitions due to events for each of multiple models, where the events include events that occur in other models due to state transitions of the model, and event constraints 111B that specify violations that should be considered when an event occurs.
すなわち、状態遷移仕様111Aとイベント制約111Bは、仕様登録部20が登録したデータである。 In other words, the state transition specification 111A and event constraint 111B are data registered by the specification registration unit 20.
仕様検証部30は、状態遷移仕様111Aにおいて違反事項に該当するイベントの発生がないかを検証する。 The specification verification unit 30 verifies whether any events that violate the state transition specification 111A have occurred.
すなわち仕様検証部30は、状態遷移仕様111Aとイベント制約111Bのデータを取得し、状態遷移仕様111Aにおいて、イベント制約111Bによって規定される違反事項に該当するイベントの発生の有無を検証し、結果を仕様検証結果データ120として出力する。 That is, the specification verification unit 30 acquires data on the state transition specification 111A and the event constraint 111B, verifies whether or not an event has occurred in the state transition specification 111A that violates the rules stipulated by the event constraint 111B, and outputs the result as specification verification result data 120.
仕様比較部40は、状態遷移仕様111Aと比較するための比較用状態遷移仕様を予め記憶し、状態遷移仕様111Aと比較用状態遷移仕様とを比較して差異を抽出する。 The specification comparison unit 40 pre-stores a comparison state transition specification for comparison with the state transition specification 111A, and compares the state transition specification 111A with the comparison state transition specification to extract differences.
仕様比較部40は、複数の仕様の間で、状態遷移仕様を比較する。図1においては、システム1定式化仕様データ111に含まれる状態遷移仕様111Aと、システム2定式化仕様データ112に含まれる状態遷移仕様(比較用状態遷移仕様に相当)とを比較する。ここで、仕様登録部20が登録したシステム1定式化仕様データ111およびシステム2定式化仕様データ112は、いずれも所定の基準に従って定式化されている。そのため、前述の比較を機械的に行うことが可能となる。仕様比較部40は、比較結果、すなわち状態遷移仕様と比較用状態遷移仕様との比較によって抽出された差異に係るデータを、仕様比較結果データ130として出力する。 The specification comparison unit 40 compares state transition specifications between multiple specifications. In FIG. 1, it compares the state transition specification 111A included in the system 1 formulated specification data 111 with the state transition specification (corresponding to the comparison state transition specification) included in the system 2 formulated specification data 112. Here, the system 1 formulated specification data 111 and the system 2 formulated specification data 112 registered by the specification registration unit 20 are both formulated according to predetermined standards. This makes it possible to perform the above-mentioned comparison mechanically. The specification comparison unit 40 outputs the comparison results, i.e., data related to the differences extracted by comparing the state transition specification with the comparison state transition specification, as specification comparison result data 130.
仕様検証支援装置1は、上述の構成要素の他に、入力装置と、出力装置と、通信装置とのうち少なくとも一つ以上を備えてもよい。仕様検証支援装置1が備えるプロセッサ、メモリ、入力装置、出力装置、および通信装置は、バスなどの通信手段を介して互いに通信可能に接続されている。 In addition to the above-mentioned components, the specification verification support device 1 may also include at least one of an input device, an output device, and a communication device. The processor, memory, input device, output device, and communication device included in the specification verification support device 1 are communicatively connected to each other via communication means such as a bus.
入力装置はユーザからの入力を受け付ける装置である。入力装置は、例えば、キーボード、マウス、タッチパネル、カードリーダ、音声入力装置等である。 An input device is a device that accepts input from a user. Examples of input devices include a keyboard, mouse, touch panel, card reader, and voice input device.
出力装置はユーザに処理経過や処理結果などの各種情報を提供する装置である。出力装置は、例えば、画面表示装置(Liquid Crystal Display(LCD)、Head Mounted Display(HMD)など)、音声出力装置、印字装置等である。 An output device is a device that provides various information such as processing progress and results to the user. Examples of output devices include screen display devices (Liquid Crystal Display (LCD), Head Mounted Display (HMD), etc.), audio output devices, and printing devices.
通信装置は、Local Area Network(LAN)やInternetなどの通信手段を介した他の装置との間の通信を実現する有線または無線方式の通信インターフェースであり、例えば、Network Interface Card(NIC)、無線通信モジュール、Universal Serial Interface(USB)モジュール、シリアル通信モジュールである。 A communication device is a wired or wireless communication interface that enables communication with other devices via communication means such as a Local Area Network (LAN) or the Internet, and is, for example, a Network Interface Card (NIC), a wireless communication module, a Universal Serial Interface (USB) module, or a serial communication module.
なお、仕様検証支援装置1は通信装置を介して、他の装置との間で情報の入力や出力を行う構成としてもよい。 The specification verification support device 1 may also be configured to input and output information to and from other devices via a communication device.
図2は、本開示の実施形態の少なくとも一つに対応する、定式化仕様データの内部構造を示す概念図である。 Figure 2 is a conceptual diagram showing the internal structure of the formulated specification data corresponding to at least one embodiment of the present disclosure.
図2の定式化仕様データは、例えば図1のシステム1定式化仕様データ111などに対応する。1つの情報システムの仕様を、少なくとも、複数のモデルと、モデル間イベントとに基づいて表現したものが、定式化仕様データである。 The formalized specification data in Figure 2 corresponds, for example, to the System 1 formalized specification data 111 in Figure 1. Formalized specification data expresses the specifications of an information system based on at least multiple models and inter-model events.
モデルは、例えば電子商取引システムにおける「受注」などの1つの処理のまとまりに対応する。モデルは、状態遷移仕様データと、イベント制約データとを含む。モデルとモデルとの間が、モデル間イベントによって接続される。 A model corresponds to a single process, such as "order entry" in an e-commerce system. Models contain state transition specification data and event constraint data. Models are connected by inter-model events.
状態遷移仕様データは、複数のモデルのそれぞれにイベントによる状態の遷移を規定するデータである。イベントは、情報システムにおいて発生する何らかのイベントやアクションを意味する。例えば、商品の発送OKを示すメッセージを受信することや、商品の発送指示を示すメッセージを他の処理部、装置またはシステムに送信すること等が、ここでいうイベントに該当する。イベントには、モデルの状態遷移により、他のモデルに発生するイベントが含まれる。 State transition specification data is data that specifies state transitions due to events for each of multiple models. An event refers to any event or action that occurs in an information system. For example, receiving a message indicating that a product has been shipped, or sending a message indicating that a product has been shipped to another processing unit, device, or system, would be considered an event here. Events include events that occur in other models due to the state transitions of a model.
イベント制約データは、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したデータである。 Event constraint data is data that specifies the violations that must be violated when an event occurs.
図2に概念的に示したように、情報システムの仕様が、複数のモデルをモデル間イベントで接続するという所定の基準によって定式化されることにより、その仕様における考慮抜けや漏れを発見しやすくなる。また、上述のように定式化された仕様データは、統一された基準によって構造化されているものであるため、複数の情報システムの間で仕様の比較をすることが容易となる。なお、このような定式化仕様データのより具体的なフォーマットの例については、図4に基づいて後述する。 As conceptually shown in Figure 2, when the specifications of an information system are formulated according to predetermined standards that connect multiple models with inter-model events, it becomes easier to discover overlooked or missing aspects in the specifications. Furthermore, because the specification data formulated as described above is structured according to uniform standards, it becomes easier to compare specifications between multiple information systems. A more specific example of the format of such formulated specification data will be described later with reference to Figure 4.
図3は、本開示の実施形態の少なくとも一つに対応する、システム仕様確定プロセスを例示するフローチャートである。以下、仕様検証支援装置1、仕様登録部20、仕様検証部30、または仕様比較部40を処理主体として記載する各処理は、各処理主体が機械的に処理を行うものであってもよく、必要に応じて担当者などのユーザに対しユーザ入力を求めて、ユーザが入力した情報を利用して処理を行うものであってもよい。 Figure 3 is a flowchart illustrating a system specification determination process corresponding to at least one embodiment of the present disclosure. Below, each process described with the specification verification support device 1, specification registration unit 20, specification verification unit 30, or specification comparison unit 40 as the processing entity may be performed mechanically by each processing entity, or may request user input from a user such as a person in charge as needed and perform the processing using the information entered by the user.
担当者(人間)が、情報システムのシステム仕様を自由形式で記述する(S11)。自由形式は、例えばUML形式や自然文形式などであってよい。 A person in charge (human) describes the system specifications of the information system in free format (S11). The free format may be, for example, UML format or natural language format.
仕様登録部20はシステム仕様登録を行う(S12)。システム仕様は定式化された形式で登録される。ステップS12の詳細な処理については後述する。 The specification registration unit 20 registers the system specifications (S12). The system specifications are registered in a formalized format. Detailed processing of step S12 will be described later.
仕様検証部30はシステム仕様検証を行う(S13)。ステップS13の詳細な処理については後述する。 The specification verification unit 30 performs system specification verification (S13). Detailed processing of step S13 will be described later.
仕様比較部40はシステム仕様比較検証を行う(S14)。ステップS14の詳細な処理については後述する。 The specification comparison unit 40 performs system specification comparison and verification (S14). Detailed processing of step S14 will be described later.
図4は、本開示の実施形態の少なくとも一つに対応する、定式化仕様データのフォーマットを例示する概念図である。 Figure 4 is a conceptual diagram illustrating the format of the formalized specification data corresponding to at least one embodiment of the present disclosure.
定式化仕様データは、イベント情報と、モデル情報と、状態遷移情報と、イベント制約情報とを含む。なお、状態遷移情報は図1の状態遷移仕様111Aに、イベント制約情報は図1のイベント制約111Bに、それぞれ対応する。 The formalized specification data includes event information, model information, state transition information, and event constraint information. Note that the state transition information corresponds to state transition specification 111A in Figure 1, and the event constraint information corresponds to event constraint 111B in Figure 1.
イベント情報は項目として、イベント名と、業務手続名と、モデル名と、標準/例外区分と、主/副区分とを有する。 Event information includes the following items: event name, business procedure name, model name, standard/exception classification, and main/sub classification.
モデル情報は項目として、モデル名を有する。 Model information includes the model name as an item.
状態遷移情報は項目として、イベント名と、業務手続名と、モデル名と、状態名と、イベント結果と、遷移先状態名とを有する。 State transition information includes the following items: event name, business procedure name, model name, state name, event result, and destination state name.
イベント制約情報は報項目として、イベント名と、業務手続名と、制約種別と、制約内容とを有する。 Event constraint information includes the following report items: event name, business procedure name, constraint type, and constraint content.
図5は、本開示の実施形態の少なくとも一つに対応する、システム仕様登録を例示するフローチャートである。図6は、本開示の実施形態の少なくとも一つに対応する、システム仕様登録を例示するフローチャートである。図5および図6に記載のシステム仕様登録処理は、図3のステップS12に相当する。 Figure 5 is a flowchart illustrating system specification registration corresponding to at least one embodiment of the present disclosure. Figure 6 is a flowchart illustrating system specification registration corresponding to at least one embodiment of the present disclosure. The system specification registration process shown in Figures 5 and 6 corresponds to step S12 in Figure 3.
まず、仕様登録部20が、自由形式の仕様記述から、イベントを取出す(S21)。 First, the specification registration unit 20 extracts events from the free-form specification description (S21).
仕様登録部20は、当該イベントの対象となるモデルが既にあるか否かを判定する(S22)。既にある場合はステップS23に、ない場合はステップS24に、処理がそれぞれ遷移する。 The specification registration unit 20 determines whether a model that is the target of the event already exists (S22). If a model already exists, the process proceeds to step S23; if not, the process proceeds to step S24.
ステップS23において仕様登録部20は、既に存在するモデルを、当該イベントの対象となるモデルとして決定する。 In step S23, the specification registration unit 20 determines an already existing model as the model that will be the target of the event.
ステップS24において仕様登録部20は、当該イベントの対象となるモデルを新規登録する。 In step S24, the specification registration unit 20 newly registers the model that is the target of the event.
ステップS25において仕様登録部20は、業務手続名を決定する。ステップS26において仕様登録部20は、イベント名を決定する。 In step S25, the specification registration unit 20 determines the business procedure name. In step S26, the specification registration unit 20 determines the event name.
仕様登録部20は、当該イベントは正常時に必要な処理か否かを判定する(S27)。当該イベントが正常時には必ず行う処理である場合は、ステップS28に処理が遷移し、仕様登録部20が当該イベントの標準/例外区分を「標準」と決定する。当該イベントが、エラー発生時に行う処理であるか、又は、正常時の処理だが必ず行うとは限らない処理である場合は、ステップS29に処理が遷移し、仕様登録部20が当該イベントの標準/例外区分を「例外」と決定する。 The specification registration unit 20 determines whether the event in question is a process that is required under normal circumstances (S27). If the event in question is a process that is always performed under normal circumstances, processing transitions to step S28, where the specification registration unit 20 determines the standard/exception classification of the event to be "standard." If the event in question is a process that is performed when an error occurs, or a process that is performed under normal circumstances but is not necessarily performed, processing transitions to step S29, where the specification registration unit 20 determines the standard/exception classification of the event to be "exception."
ステップS28またはS29の後、図6に示すステップS31へと処理が遷移する。 After step S28 or S29, processing transitions to step S31 shown in Figure 6.
ステップS31において仕様登録部20は、当該イベントは対象となるモデルの一部の属性の状態を変更するイベントであるか否かを判断する。当該イベントがモデルの状態を変更するイベントである場合は、ステップS32に処理が遷移し、仕様登録部20が当該イベントの主/副区分を「主イベント」と決定する。当該イベントがモデルの一部の属性の状態を変更するイベントである場合は、ステップS33に処理が遷移し、仕様登録部20が当該イベントの主/副区分を「副イベント」と決定する。 In step S31, the specification registration unit 20 determines whether the event in question is an event that changes the state of a portion of an attribute of the target model. If the event in question is an event that changes the state of a model, processing transitions to step S32, where the specification registration unit 20 determines the main/sub-category of the event to be a "main event." If the event in question is an event that changes the state of a portion of an attribute of the model, processing transitions to step S33, where the specification registration unit 20 determines the main/sub-category of the event to be a "sub-event."
なお、イベントの主/副区分の区分けは必須ではない。ある複数のイベントについて、モデルの一部の属性の状態を変更するにすぎないような場合にまで、それぞれのイベントを別種類のイベントであると解釈した場合、イベントの種類が膨大となり、処理負荷が大きくなる。これを避ける観点から、モデルの一部の属性の状態を変更するにすぎないようなイベントについては、主イベントから派生した副イベントとして管理する。これにより、処理負荷の増大を抑えることができる。 Note that it is not necessary to categorize events as primary/secondary. If multiple events were to be interpreted as different types of events, even when they merely change the state of some attributes of a model, the number of event types would increase dramatically, resulting in a large processing load. To avoid this, events that merely change the state of some attributes of a model are managed as secondary events derived from primary events. This helps to prevent an increase in processing load.
ステップS34において仕様登録部20は、自由形式の仕様記述に、未処理のイベントがあるか否かを判定する。未処理のイベントが残っている場合、図5のステップS21へと処理が遷移し、仕様登録部20が未処理の次のイベントを取出して処理を行う。未処理のイベントが残っていない場合、ステップS35へと処理が遷移する。 In step S34, the specification registration unit 20 determines whether there are any unprocessed events in the free-form specification description. If there are any unprocessed events, processing transitions to step S21 in Figure 5, where the specification registration unit 20 retrieves and processes the next unprocessed event. If there are no unprocessed events remaining, processing transitions to step S35.
仕様登録部20は、イベント登録(標準)処理を行う(S35)。仕様登録部20は、イベント登録(例外)処理を行う(S36)。仕様登録部20は、イベント登録(副イベント)処理を行う(S37)。 The specification registration unit 20 performs event registration (standard) processing (S35). The specification registration unit 20 performs event registration (exception) processing (S36). The specification registration unit 20 performs event registration (sub-event) processing (S37).
仕様登録部20は、イベント登録(手続き結果)処理を行う(S38)。仕様登録部20は、制約条件登録処理を行う(S39)。 The specification registration unit 20 performs event registration (procedure result) processing (S38). The specification registration unit 20 performs constraint condition registration processing (S39).
ステップS35からS39の詳細な処理については、それぞれ後述する。 Details of steps S35 to S39 will be described later.
図7は、本開示の実施形態の少なくとも一つに対応する、イベント登録(標準)処理を例示するフローチャートである。なお、イベント登録(標準)処理は、図6のステップS35に相当する。 Figure 7 is a flowchart illustrating an example of event registration (standard) processing corresponding to at least one embodiment of the present disclosure. Note that the event registration (standard) processing corresponds to step S35 in Figure 6.
仕様登録部20は、対象モデルにイベント(標準)を登録する(S41)。 The specification registration unit 20 registers the event (standard) in the target model (S41).
仕様登録部20は、未登録のイベントがあるか否かを判定する(S42)。未登録のイベントがある場合、ステップS41に戻って仕様登録部20が次のイベントを登録する。未登録のイベントがない場合、ステップS43に処理が遷移する。 The specification registration unit 20 determines whether there are any unregistered events (S42). If there are any unregistered events, the process returns to step S41, where the specification registration unit 20 registers the next event. If there are no unregistered events, the process proceeds to step S43.
ステップS43において仕様登録部20は、イベントによるモデルの状態遷移を決定する。すなわち、そのイベントにより、対象とするモデルの状態がどのように遷移するのかを決定する。この決定処理は、仕様登録部20が担当者に、イベントによるモデルの状態遷移を入力または選択させるような情報をモニタなどの出力装置に出力し、ユーザ入力を受け付ける等の手段によって行われてよい。例えば、担当者は入力装置を用いてイベント間の順序を指定する。仕様登録部20は、指定された順序に応じて状態遷移を決定する。 In step S43, the specification registration unit 20 determines the state transition of the model due to the event. That is, it determines how the state of the target model will transition due to the event. This determination process may be performed by the specification registration unit 20 outputting information to an output device such as a monitor that prompts the person in charge to input or select the state transition of the model due to the event, and accepting user input, for example. For example, the person in charge specifies the order between events using an input device. The specification registration unit 20 determines the state transition according to the specified order.
仕様登録部20は、状態遷移が未登録のイベントがあるか否かを判定する(S44)。状態遷移が未登録のイベントがある場合、ステップS43に処理が戻る。状態遷移が未登録のイベントがない場合、図7に示した処理は終了となる。 The specification registration unit 20 determines whether there are any events whose state transitions have not been registered (S44). If there are any events whose state transitions have not been registered, the process returns to step S43. If there are no events whose state transitions have not been registered, the process shown in Figure 7 ends.
図8は、本開示の実施形態の少なくとも一つに対応する、イベント登録(標準)処理の処理例を示す図である。モデル(注文)に、番号1から番号5までの標準イベントを追加した場合を例示している。 Figure 8 is a diagram illustrating an example of event registration (standard) processing corresponding to at least one embodiment of the present disclosure. This example illustrates the case where standard events numbered 1 to 5 are added to a model (order).
モデル(注文)の状態は、初期状態のS0、受注状態のS1、在庫確認済状態のS2、発送準備済状態のS3、発送済状態のS4、および完了状態のS5の、計6種類の状態があり、何らかのイベントの発生に応じて、状態が遷移する。 The model (order) has six states: initial state S0, order received state S1, inventory confirmed state S2, prepared for shipping state S3, shipped state S4, and completed state S5. The states transition depending on the occurrence of some event.
モデル(注文)に、図7に示したフローに従ってイベントが5つ登録された。例えば、番号1として、以下のようなイベントが登録された。
イベント:注文発生
業務手続:受注入力
モデル:注文
標準/例外区分:標準
Five events were registered in the model (order) according to the flow shown in Figure 7. For example, the following event was registered as number 1:
Event: Order occurrence Business procedure: Order entry Model: Order Standard/Exception classification: Standard
同様に番号2から番号5までのイベントも登録された結果が、図8には示されている。登録されたデータにおける「手続き結果」の欄はこの時点で空欄である。状態遷移(図8のステップS43参照)の欄には、図8に示されているような設定値が設定される。例えば、状態S0においてイベント「注文発生」が起こった場合、状態はS0からS1へと遷移する。状態遷移の欄における「E」は、エラーを意味している。例えば状態S4(発送済み)において、発送準備イベントが発生するのはおかしい。このような場合、情報システムは何らかのエラー処理を行う必要があるので、状態遷移の欄には設定値として「E」を設定する。状態遷移の欄における設定値「-」は、そもそも当該状態遷移が起こり得ないことを示している。 Similarly, Figure 8 shows the results of registering events numbered 2 through 5. The "Procedure Result" column in the registered data is blank at this point. The state transition (see step S43 in Figure 8) column is set to the setting value shown in Figure 8. For example, if the event "Order Placed" occurs in state S0, the state will transition from S0 to S1. "E" in the state transition column indicates an error. For example, it would be strange for a shipping preparation event to occur in state S4 (shipped). In such a case, the information system needs to perform some kind of error processing, so the setting value in the state transition column is set to "E." The setting value "-" in the state transition column indicates that the state transition in question cannot occur in the first place.
図9は、本開示の実施形態の少なくとも一つに対応する、イベント登録(例外)処理を例示するフローチャートである。なお、イベント登録(例外)処理は、図6のステップS36に相当する。 Figure 9 is a flowchart illustrating an example of event registration (exception) processing corresponding to at least one embodiment of the present disclosure. Note that the event registration (exception) processing corresponds to step S36 in Figure 6.
仕様登録部20は、対象モデルにイベント(例外)を登録する(S51)。 The specification registration unit 20 registers an event (exception) in the target model (S51).
仕様登録部20は、未登録のイベントがあるか否かを判定する(S52)。未登録のイベントがある場合、ステップS51に戻って仕様登録部20が次のイベントを登録する。未登録のイベントがない場合、ステップS53に処理が遷移する。 The specification registration unit 20 determines whether there are any unregistered events (S52). If there are any unregistered events, the process returns to step S51, where the specification registration unit 20 registers the next event. If there are no unregistered events, the process proceeds to step S53.
ステップS53において仕様登録部20は、イベント(例外)によるモデルの状態遷移を決定する。すなわち、その例外イベントにより、対象とするモデルの状態がどのように遷移するのかを決定する。この決定処理は、仕様登録部20が担当者に、イベントによるモデルの状態遷移を入力または選択させるような情報をモニタなどの出力装置に出力し、ユーザ入力を受け付ける等の手段によって行われてよい。例えば、担当者は入力装置を用いてイベント間の順序を指定する。仕様登録部20は、指定された順序に応じて状態遷移を決定する。 In step S53, the specification registration unit 20 determines the state transition of the model due to the event (exception). That is, it determines how the state of the target model will transition due to the exceptional event. This determination process may be performed by the specification registration unit 20 outputting information to an output device such as a monitor that prompts the person in charge to input or select the state transition of the model due to the event, and accepting user input, for example. For example, the person in charge specifies the order between events using an input device. The specification registration unit 20 determines the state transition according to the specified order.
仕様登録部20は、状態遷移が未登録のイベントがあるか否かを判定する(S54)。状態遷移が未登録のイベントがある場合、ステップS53に処理が戻る。状態遷移が未登録のイベントがない場合、ステップS55に処理が遷移する。 The specification registration unit 20 determines whether there are any events whose state transitions have not been registered (S54). If there are any events whose state transitions have not been registered, processing returns to step S53. If there are no events whose state transitions have not been registered, processing proceeds to step S55.
ステップS55において仕様登録部20は、イベント(例外)によりモデルに追加される状態があるか否かを判定する。追加される状態がある場合はステップS56に処理が遷移する。追加される状態がない場合、図9に示した処理は終了となる。 In step S55, the specification registration unit 20 determines whether there is a state to be added to the model due to the event (exception). If there is a state to be added, the process proceeds to step S56. If there is no state to be added, the process shown in Figure 9 ends.
ステップS56において仕様登録部20は、モデルに状態を追加し、イベント(標準)による状態の遷移を決定する。 In step S56, the specification registration unit 20 adds states to the model and determines state transitions due to events (standard).
図10は、本開示の実施形態の少なくとも一つに対応する、イベント登録(例外)処理の処理例を示す図である。モデル(注文)に、番号6の例外イベントを追加した場合を例示している。 Figure 10 is a diagram illustrating an example of event registration (exception) processing corresponding to at least one embodiment of the present disclosure. This example illustrates the case where an exception event number 6 is added to a model (order).
モデル(注文)の状態は、上述したように初期状態のS0、受注状態のS1、在庫確認済状態のS2、発送準備済状態のS3、発送済状態のS4、および完了状態のS5の計6種類の状態があり、何らかのイベントの発生に応じて、状態が遷移する。モデル(注文)には、図7に示したフローに従って標準イベントが既に5つ登録済みである。 As mentioned above, the model (order) has six states: initial state S0, order received state S1, inventory confirmed state S2, prepared for shipping state S3, shipped state S4, and completed state S5. The states transition depending on the occurrence of an event. Five standard events have already been registered for the model (order) according to the flow shown in Figure 7.
モデル(注文)に、図9に示したフローに従って例外イベントが新たに1つ登録された。例えば、番号6として、以下のようなイベントが登録された。 A new exception event has been registered in the model (order) according to the flow shown in Figure 9. For example, the following event has been registered as number 6.
イベント:キャンセル
業務手続:-
モデル:注文
標準/例外区分:例外
Event: Cancelled Business Procedure: -
Model: Order Standard/Exception Classification: Exception
番号6の例外イベントが登録された結果が、図10に示されている。登録されたデータにおける「手続き結果」の欄はこの時点で空欄である。状態遷移の欄における設定値「E」「-」などの意味は、図8を参照して上述したものと同じであるため、詳しい説明は省略する。 The result of registering exception event number 6 is shown in Figure 10. The "Procedure Result" column in the registered data is blank at this point. The meanings of the setting values "E" and "-" in the state transition column are the same as those described above with reference to Figure 8, so a detailed explanation will be omitted.
なお、例外イベントによって、モデルの状態遷移に追加が必要な場合は、追加が行われる(図9のステップS56参照)。図示は省略するが、例えば状態S6が新たに追加される。このとき仕様登録部20は、状態S6についての状態遷移も決定する。言い換えると、状態S6の欄にも設定値を設定する。 If an exception event requires an addition to the model's state transitions, the addition is made (see step S56 in Figure 9). Although not shown in the figure, for example, state S6 is newly added. At this time, the specification registration unit 20 also determines the state transition for state S6. In other words, a setting value is also set in the state S6 column.
図11は、本開示の実施形態の少なくとも一つに対応する、イベント登録(副イベント)処理を例示するフローチャートである。なお、イベント登録(副イベント)処理は、図6のステップS37に相当する。 Figure 11 is a flowchart illustrating an example of event registration (sub-event) processing corresponding to at least one embodiment of the present disclosure. Note that the event registration (sub-event) processing corresponds to step S37 in Figure 6.
仕様登録部20は、対象モデルと副モデルに副イベントを登録する(S61)。なお、副モデルについては図12を参照して後述する。 The specification registration unit 20 registers the sub-event in the target model and the sub-model (S61). Note that the sub-model will be described later with reference to Figure 12.
仕様登録部20は、未登録の副イベントがあるか否かを判定する(S62)。未登録の副イベントがある場合、ステップS61に戻って仕様登録部20が次の副イベントを登録する。未登録の副イベントがない場合、ステップS63に処理が遷移する。 The specification registration unit 20 determines whether there are any unregistered sub-events (S62). If there are any unregistered sub-events, the process returns to step S61, where the specification registration unit 20 registers the next sub-event. If there are no unregistered sub-events, the process proceeds to step S63.
ステップS63において仕様登録部20は、副イベントによる対象モデルの状態遷移を決定する。すなわち、その副イベントにより、対象とするモデルの状態がどのように遷移するのかを決定する。この決定処理は、仕様検証支援装置1が担当者に、副イベントによるモデルの状態遷移を入力または選択させるような情報をモニタなどの出力装置に出力し、ユーザ入力を受け付ける等の手段によって行われてよい。例えば、担当者は入力装置を用いてイベント間の順序を指定する。仕様登録部20は、指定された順序に応じて状態遷移を決定する。 In step S63, the specification registration unit 20 determines the state transition of the target model due to the sub-event. That is, it determines how the state of the target model will transition due to the sub-event. This determination process may be performed by the specification verification support device 1 outputting information to an output device such as a monitor that prompts the person in charge to input or select the state transition of the model due to the sub-event, and accepting user input, for example. For example, the person in charge specifies the order between events using an input device. The specification registration unit 20 determines the state transition according to the specified order.
仕様登録部20は、対象モデルに遷移先(状態遷移)が未登録の副イベントがあるか否かを判定する(S64)。遷移先(状態遷移)が未登録の副イベントがある場合、ステップS63に処理が戻る。遷移先(状態遷移)が未登録の副イベントがない場合、ステップS65に処理が遷移する。 The specification registration unit 20 determines whether the target model contains any sub-events whose transition destinations (state transitions) are unregistered (S64). If there are any sub-events whose transition destinations (state transitions) are unregistered, processing returns to step S63. If there are no sub-events whose transition destinations (state transitions) are unregistered, processing proceeds to step S65.
ステップS65において仕様登録部20は、副イベントによる副モデルの状態遷移を決定する。すなわち、その副イベントにより、対象とする副モデルの状態がどのように遷移するのかを決定する。この決定処理は、仕様登録部20が担当者に、副イベントによる副モデルの状態遷移を入力または選択させるような情報をモニタなどの出力装置に出力し、ユーザ入力を受け付ける等の手段によって行われてよい。例えば、担当者は入力装置を用いてイベント間の順序を指定する。仕様登録部20は、指定された順序に応じて状態遷移を決定する。 In step S65, the specification registration unit 20 determines the state transition of the secondary model due to the secondary event. That is, it determines how the state of the target secondary model will transition due to the secondary event. This determination process may be performed by the specification registration unit 20 outputting information to an output device such as a monitor that prompts the person in charge to input or select the state transition of the secondary model due to the secondary event, and accepting user input, for example. For example, the person in charge specifies the order between events using an input device. The specification registration unit 20 determines the state transition according to the specified order.
仕様登録部20は、副モデルに遷移先(状態遷移)が未登録の副イベントがあるか否かを判定する(S66)。遷移先(状態遷移)が未登録の副イベントがある場合、ステップS65に処理が戻る。遷移先(状態遷移)が未登録の副イベントがない場合、図11に示した処理は終了となる。 The specification registration unit 20 determines whether there is a sub-event in the sub-model whose transition destination (state transition) is not registered (S66). If there is a sub-event whose transition destination (state transition) is not registered, the process returns to step S65. If there is no sub-event whose transition destination (state transition) is not registered, the process shown in Figure 11 ends.
図12は、本開示の実施形態の少なくとも一つに対応する、イベント登録(副イベント)処理の処理例を示す図である。 Figure 12 is a diagram showing an example of event registration (sub-event) processing corresponding to at least one embodiment of the present disclosure.
図10に示した登録状態から、図11に示したイベント登録(副イベント)処理を行った結果、対象モデルにイベント「入金」とイベント「返金」とが追加された。番号7がイベント「入金」である。番号8がイベント「返金」である。また、副モデルに、対象モデルに追加されている番号1~番号8と同様のイベントが追加された。 As a result of performing the event registration (sub-event) process shown in Figure 11 from the registration state shown in Figure 10, the event "Deposit" and event "Refund" were added to the target model. Number 7 is the event "Deposit". Number 8 is the event "Refund". In addition, events similar to numbers 1 to 8 added to the target model were added to the sub-model.
ここで、副モデルについて説明する。副モデルは、対象モデル(主モデル)から派生したモデルを意味する。仕様登録部20は、モデルごとに状態遷移を登録して管理するため、対象モデルの数が増加するほど、定式化仕様データ(図2参照)は構造が複雑なものとなり、定式化仕様データに基づいた各種の処理についても処理負荷が大きなものとなる。そこで、対象モデルと一部の属性が異なるに過ぎないようなモデルについては、主モデルとしては扱わず、主モデルに従属する派生モデル(副モデル)として扱う。そして、状態遷移仕様は、モデル(主モデル)の特定の状態から派生する副次的な状態をモデルの副モデルの状態として遷移を規定する。これにより、モデルの種類の爆発的な増加が抑えられ、処理負荷を低減させることができる。 Now, we will explain sub-models. A sub-model is a model derived from a target model (main model). The specification registration unit 20 registers and manages state transitions for each model. As the number of target models increases, the structure of the formalized specification data (see Figure 2) becomes more complex, and the processing load for various processes based on the formalized specification data also increases. Therefore, models that only differ in some attributes from the target model are not treated as main models, but as derived models (sub-models) subordinate to the main model. The state transition specification then defines transitions by treating secondary states derived from specific states of a model (main model) as states of the model's sub-models. This prevents an explosive increase in the number of model types and reduces the processing load.
図12に示した例においては、主モデルであるモデル(注文)の状態は、初期状態のS0、受注状態のS1、在庫確認済状態のS2、発送準備済状態のS3、発送済状態のS4、および完了状態のS5の計6種類の状態があり、何らかのイベントの発生に応じて、状態が遷移する。一方、主モデルであるモデル(注文)から派生した副モデル(入金状態)は、初期状態のSS0、入金待ち状態のSS1、入金済み状態のSS2、返金待ち状態のSS3、および返金済み状態のSS4の計5種類の状態があり、何らかのイベントの発生に応じて、状態が遷移する。 In the example shown in Figure 12, the main model (order) has six states: initial state S0, order received state S1, inventory confirmed state S2, prepared for shipping state S3, shipped state S4, and completed state S5, and these states transition depending on the occurrence of an event. Meanwhile, the sub-model (payment state) derived from the main model (order) has five states: initial state SS0, waiting for payment state SS1, paid state SS2, waiting for refund state SS3, and refunded state SS4, and these states transition depending on the occurrence of an event.
モデル(注文)と、モデル(注文)から派生した副モデル(入金処理)に、図11に示したフローに従って副イベントが登録された。例えば、以下のような副イベント「入金」が登録される。 Sub-events were registered in the model (order) and the sub-model (deposit processing) derived from the model (order) according to the flow shown in Figure 11. For example, the following sub-event "deposit" is registered:
イベント:入金
業務手続:-
モデル:注文
標準/例外区分:標準
主/副区分:副
Event: Deposit Business procedure: -
Model: Order Standard/Exception Classification: Standard Primary/Secondary Classification: Secondary
なお、副イベント「返金」も、同様に登録される。 The secondary event "Refund" will also be registered in the same way.
これらの副イベントが登録された結果を、図12は示している。状態遷移の欄における設定値「E」「-」などの意味は、図8を参照して上述したものと同じであるため、詳しい説明は省略する。状態遷移の欄における設定値「(SS)」は、主モデルにおいて状態遷移が発生するのではなく、発生したイベントを副モデルの方で管理することを意味している。 Figure 12 shows the results of registering these secondary events. The meanings of the setting values "E" and "-" in the State Transition column are the same as those described above with reference to Figure 8, so a detailed explanation will be omitted. The setting value "(SS)" in the State Transition column means that a state transition does not occur in the main model, but rather the event that occurs is managed by the secondary model.
図13は、本開示の実施形態の少なくとも一つに対応する、イベント登録(手続き結果)処理を例示するフローチャートである。なお、イベント登録(手続き結果)処理は、図6のステップS38に相当する。 Figure 13 is a flowchart illustrating an example of event registration (procedure result) processing corresponding to at least one embodiment of the present disclosure. Note that the event registration (procedure result) processing corresponds to step S38 in Figure 6.
図6のステップS37の終了時点では、モデル(主モデルおよび副モデル)における手続き結果の欄は空欄であった。イベント登録(手続き結果)処理により、手続き結果の欄に設定値が設定されることになる。 At the end of step S37 in Figure 6, the procedure result fields in the models (main model and sub-model) were blank. The event registration (procedure result) process sets a setting value in the procedure result field.
仕様登録部20は、対象モデルの手続結果を記載(設定)する(S71)。 The specification registration unit 20 records (sets) the procedure results for the target model (S71).
仕様登録部20は、対象モデルに手続結果が未記載の行があるか否かを判定する(S72)。未記載の行がある場合、ステップS71に戻って仕様登録部20が次の手続結果を記載する。未記載の行がない場合、ステップS73に処理が遷移する。 The specification registration unit 20 determines whether there are any lines in the target model where the procedure result has not been recorded (S72). If there are any lines where the procedure result has not been recorded, the process returns to step S71, where the specification registration unit 20 records the next procedure result. If there are no lines where the procedure result has not been recorded, the process proceeds to step S73.
仕様登録部20は、イベントを分割し、手続結果と状態遷移を決定する(S73)。 The specification registration unit 20 divides the event and determines the procedure result and state transition (S73).
仕様登録部20は、対象モデルに手続結果と状態遷移が未記載の行があるか否かを判定する(S74)。未記載の行がある場合、ステップS73に戻る。未記載の行がない場合、ステップS75に処理が遷移する。 The specification registration unit 20 determines whether the target model contains any lines in which procedure results and state transitions are not yet described (S74). If there are any lines in which they are not yet described, the process returns to step S73. If there are no lines in which they are not yet described, the process proceeds to step S75.
仕様登録部20は、対象モデルに追加する状態があるか否かを判定する(S75)。追加する状態がある場合、ステップS76に処理が遷移する。追加する状態がない場合、図13に示した処理は終了となる。 The specification registration unit 20 determines whether there are any states to add to the target model (S75). If there are any states to add, the process proceeds to step S76. If there are no states to add, the process shown in Figure 13 ends.
ステップS76において仕様登録部20は、対象モデルに状態を追加し、追加された状態について、既存(既登録)のイベントによる状態遷移を決定する(S76)。 In step S76, the specification registration unit 20 adds a state to the target model and determines the state transitions for the added state due to existing (registered) events (S76).
図14は、本開示の実施形態の少なくとも一つに対応する、イベント登録(手続き結果)処理の処理例を示す図である。 Figure 14 is a diagram showing an example of event registration (procedure result) processing corresponding to at least one embodiment of the present disclosure.
ステップS71において、モデル「注文」の手続結果欄に記載がなされる。記載とは、設定値を設定することを意味する。ここで、イベント「発送準備」が発生した場合の情報システム側での業務手続は在庫確認である。現実には常に在庫があるとは限らないので、業務手続の手続結果は在庫ありの場合と在庫なしの場合の2つに分割される。また、着荷についても、現実には全ての荷物が届く場合と、一部の荷物だけが届く(他の一部の荷物は別のタイミングで届く)場合とがあるため、手続結果は一部着荷の場合と全部着荷の場合の2つに分割される。このように、イベント発生時の具体的な業務手続を考えるとその手続の結果が2以上の結果に分岐するような場合に、イベントの分割が行われる。図14に示した一例として、ステップS73の処理によって、番号2のイベント「発送準備」が、番号2、番号2-1、番号2-2、および番号2-3の4つのイベントへと分割された。その上で、手続結果と状態遷移とがそれぞれ決定され、設定値として設定された。 In step S71, an entry is made in the procedure result column for the "Order" model. Entering means setting a setting value. Here, when the "Prepare for Shipping" event occurs, the business procedure on the information system side is an inventory check. Since inventory is not always available in reality, the procedure results of the business procedure are divided into two cases: when there is inventory and when there is no inventory. Furthermore, for the arrival of goods, since all packages may arrive in reality or only some of the packages may arrive (with the remaining packages arriving at different times), the procedure results are divided into two cases: when some packages arrive and when all packages arrive. In this way, when considering the specific business procedure at the time an event occurs, if the procedure's outcome can branch into two or more outcomes, the event is divided. As an example shown in Figure 14, the processing in step S73 divided event number 2, "Prepare for Shipping," into four events: number 2, number 2-1, number 2-2, and number 2-3. The procedure results and state transitions are then determined and set as setting values.
ステップS75において、モデル「注文」には入荷待ちの状態を追加する必要があると判定されたため、ステップS76で、状態S11(入荷待ち)が追加されている。追加された状態S11(入荷待ち)の既存のイベントによる状態遷移が設定値として設定される。ここでいう既存のイベントは、番号1~番号8の各イベントを指しており、分割後の番号2-1、2-2、2-3のイベントも更に含まれる。 In step S75, it was determined that a state for backordering should be added to the "Order" model, so in step S76, state S11 (backordering) is added. The state transitions due to existing events for the added state S11 (backordering) are set as the setting values. The existing events here refer to events numbered 1 to 8, and also include the events numbered 2-1, 2-2, and 2-3 after the division.
すなわち仕様登録部20は、モデルへのイベントに対応する業務手続に複数の手続結果が存在する場合に、状態遷移仕様において、モデルへのイベントを手続結果に対応する複数のイベントに分割し、イベントが複数に分割されたことに伴って追加となる状態と、該追加となる状態に関連する状態の遷移とを状態遷移仕様に登録することを受け付ける。 In other words, when there are multiple procedure results in a business procedure corresponding to an event to a model, the specification registration unit 20 splits the event to the model into multiple events corresponding to the procedure results in the state transition specification, and accepts registration in the state transition specification of the states that are added as a result of the event being split into multiple events and the state transitions related to the added states.
図15は、本開示の実施形態の少なくとも一つに対応する、制約条件登録処理を例示するフローチャートである。なお、制約条件登録処理は、図6のステップS39に相当する。 Figure 15 is a flowchart illustrating a constraint registration process corresponding to at least one embodiment of the present disclosure. Note that the constraint registration process corresponds to step S39 in Figure 6.
仕様登録部20は、イベント制約(発生順序)を登録する(S81)。より具体的には、あるイベントの発生時には既に発生済みである必要がある、前提条件となるイベントが何であるかをシステム仕様110に登録する。例えば、入金イベントの前に、注文発生イベントが既に発生済みである必要がある。そのため、注文発生イベントが発生していないにもかかわらず、入金イベントが発生するような場合を仕様の矛盾点として抽出できるように、上記のイベント制約を登録する。 The specification registration unit 20 registers event constraints (occurrence order) (S81). More specifically, it registers in the system specification 110 what prerequisite events must have occurred before a certain event occurs. For example, an order occurrence event must have occurred before a deposit event. Therefore, the above event constraints are registered so that cases in which a deposit event occurs even though an order occurrence event has not occurred can be extracted as a contradiction in the specification.
複数のイベントの発生の順序を規定する上記のイベント制約を、第1制約と表記する。後述のステップS92において仕様検証部30は、状態遷移仕様において第1制約に規定された順序と異なる順序でイベントが発生することがあるか否か確認する。 The above event constraint, which specifies the order in which multiple events occur, is referred to as the first constraint. In step S92, which will be described later, the specification verification unit 30 checks whether events in the state transition specification can occur in an order different from the order specified in the first constraint.
仕様登録部20は、イベント制約(発生時期)を登録する(S82)。より具体的には、イベントが発生する具体的な時期をシステム仕様110に登録する。これにより、登録されている時期とは異なる時期に発生したイベントを、仕様の矛盾点として抽出できるようになる。 The specification registration unit 20 registers the event constraint (occurrence time) (S82). More specifically, the specific time when the event will occur is registered in the system specification 110. This makes it possible to extract an event that occurs at a time different from the registered time as a contradiction in the specification.
イベントの発生する時期を規定する上記のイベント制約を、第2制約と表記する。後述のステップS92において仕様検証部30は、状態遷移仕様において第2制約に規定された時期と異なる時期にイベントが発生することがあるか否か確認する。 The above event constraint that specifies when an event occurs is referred to as the second constraint. In step S92, which will be described later, the specification verification unit 30 checks whether an event can occur at a time in the state transition specification that differs from the time specified in the second constraint.
仕様登録部20は、イベント制約(モデルCRUD)を登録する(S83)。CRUDとは、作成(Create)、参照(Refer)、更新(Update)、および削除(DeleteのD)の頭文字を繋げた造語である。つまり、仕様登録部20は対象モデルについて、イベントの発生に応じた情報システムの処理において、どのような情報やオブジェクト等が作成、参照、更新または削除されるかをシステム仕様110に登録しておく。これにより、複数のイベントを時系列に沿って並べた時に、CRUDの観点から明らかに不合理な並びを仕様の矛盾点として抽出できるようになる。例えば、ある情報をまだ作成(C)していないのに、その情報を参照(R)、更新(U)、または削除(D)するようなイベントの並びは明らかに不合理である。また、ある情報を削除(D)した後に、その情報を参照(R)または更新(U)するようなイベントの並びは明らかに不合理である。このような明らかに不合理なイベントの並びとなっているか否かのチェックを行う際に、登録されたCRUDの情報が用いられる。 The specification registration unit 20 registers the event constraints (model CRUD) (S83). CRUD is a coined word combining the initial letters of Create, Refer, Update, and Delete (D). In other words, the specification registration unit 20 registers in the system specification 110 what information, objects, etc. are created, referred to, updated, or deleted in the information system's processing in response to an event for the target model. This allows for the extraction of specification inconsistencies that are clearly irrational from the CRUD perspective when multiple events are arranged in chronological order. For example, an event sequence in which information is referred to (R), updated (U), or deleted (D) before that information has yet to be created (C) is clearly irrational. Similarly, an event sequence in which information is referred to (R) or updated (U) after it has been deleted (D) is clearly irrational. When checking whether or not such an obviously irrational sequence of events exists, registered CRUD information is used.
すなわち、モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれる。モデルによる情報の作成、読み出し、更新、削除の順序を規定する上記のイベント制約を、第3制約と表記する。後述のステップS92において仕様検証部30は、状態遷移仕様において第3制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する。 In other words, the model includes a model that generates, references, updates, or deletes information in response to the occurrence of an event. The above event constraint, which specifies the order in which information is created, read, updated, or deleted by the model, is referred to as the third constraint. In step S92, which will be described later, the specification verification unit 30 checks whether information is created, read, updated, or deleted in an order different from the order specified in the third constraint in the state transition specification.
仕様登録部20は、イベント制約(副モデルCRUD)を登録する(S84)。登録される情報の内容は、ステップS83と同様である。ステップS84では、副モデルについて、イベントの発生に応じた情報システムの処理において、どのようなデータが作成、参照、更新または削除されるかをシステム仕様110に登録しておく。 The specification registration unit 20 registers the event constraint (secondary model CRUD) (S84). The content of the registered information is the same as in step S83. In step S84, for the secondary model, the system specification 110 registers what data is created, referenced, updated, or deleted in the processing of the information system in response to the occurrence of an event.
すなわち、副モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれる。副モデルによる情報の作成、読み出し、更新、削除の順序を規定するイベント制約を、第4制約と表記する。後述のステップS92において仕様検証部30は、状態遷移仕様において第4制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する。 In other words, the secondary model includes a model that generates, references, updates, or deletes information in response to the occurrence of an event. The event constraint that specifies the order in which information is created, read, updated, or deleted by the secondary model is referred to as the fourth constraint. In step S92, which will be described later, the specification verification unit 30 checks whether information is created, read, updated, or deleted in an order different from the order specified in the fourth constraint in the state transition specification.
図16は、本開示の実施形態の少なくとも一つに対応する、システム検証処理を例示するフローチャートである。システム検証処理は、図3のステップS13に相当する。 Figure 16 is a flowchart illustrating a system verification process corresponding to at least one embodiment of the present disclosure. The system verification process corresponds to step S13 in Figure 3.
仕様検証部30は、未設定事項をチェックする(S91)。例えば仕様検証部30は、各イベントに対して、対応する対象モデルまたは副モデルにおいて状態遷移先が設定されていない箇所があった場合に、その箇所を矛盾点として抽出する。 The specification verification unit 30 checks for unspecified items (S91). For example, if there is a point in the corresponding target model or sub-model where the state transition destination has not been set for each event, the specification verification unit 30 extracts that point as a contradiction.
仕様検証部30は、制約違反をチェックする(S92)。より具体的には、仕様検証部30は、システム仕様110に登録された定式化仕様データに基づいて、イベントと状態遷移のすべての組み合わせをチェックする。このすべての組み合わせのチェックにおいて、仕様登録部20が登録した各種のイベント制約(図15を参照)に基づく不整合が発見された場合には、その不整合を矛盾点として抽出する。 The specification verification unit 30 checks for constraint violations (S92). More specifically, the specification verification unit 30 checks all combinations of events and state transitions based on the formalized specification data registered in the system specification 110. If, during this check of all combinations, an inconsistency based on the various event constraints registered by the specification registration unit 20 (see Figure 15) is discovered, the inconsistency is extracted as a contradiction.
仕様検証部30は、矛盾点を出力する(S93)。すなわち、ステップS91またはステップS92で抽出された矛盾点を、出力装置を介して出力する。例えば出力装置がモニタである場合は、抽出された矛盾点のリストなどをチェック結果としてモニタに表示させる。 The specification verification unit 30 outputs the inconsistencies (S93). That is, the inconsistencies extracted in step S91 or step S92 are output via an output device. For example, if the output device is a monitor, a list of the extracted inconsistencies is displayed on the monitor as the check results.
出力された矛盾点を示す情報に基づいて、担当者が矛盾点を修正する。担当者による修正入力に基づいて、仕様登録部20が図5から図15を参照して上述したのと同様にして、各種の情報をシステム仕様110に登録する(S94)。 The person in charge corrects the inconsistencies based on the output information indicating the inconsistencies. Based on the corrections input by the person in charge, the specification registration unit 20 registers various information in the system specifications 110 in the same manner as described above with reference to Figures 5 to 15 (S94).
図17は、本開示の実施形態の少なくとも一つに対応する、仕様検証結果データのフォーマットを例示する概念図である。 Figure 17 is a conceptual diagram illustrating the format of specification verification result data corresponding to at least one embodiment of the present disclosure.
仕様検証結果データ120は仕様矛盾情報を含む。仕様矛盾情報は、ステップS93の矛盾点出力処理において用いられる。図16は、仕様矛盾情報のうち、状態遷移についての矛盾点を表現したフォーマットを示している。 The specification verification result data 120 includes specification inconsistency information. This specification inconsistency information is used in the inconsistency output process in step S93. Figure 16 shows the format of the specification inconsistency information that expresses inconsistencies regarding state transitions.
図17に示したフォーマットの仕様矛盾情報は、項目として、モデル1と、状態名1と、モデル2と、状態名2と、発生イベント名と、遷移不能理由とを有する。すなわち、モデル1のある状態(状態名1)から、モデル2のある状態(状態名2)へと遷移することに失敗した場合の、その遷移の原因となった発生イベント名と、状態遷移ができなかった理由とが、仕様矛盾情報として仕様検証結果データ120に記録される。なお、同一のモデル内での状態遷移に係る矛盾点については、モデル1もしくはモデル2の項目を空欄にするか、または、モデル1に設定されたものと同じモデルをモデル2に設定すればよい。 The specification inconsistency information in the format shown in Figure 17 has the following items: Model 1, State Name 1, Model 2, State Name 2, Occurring Event Name, and Reason for Transition Failure. In other words, if a transition from a certain state in Model 1 (State Name 1) to a certain state in Model 2 (State Name 2) fails, the name of the occurring event that caused the transition and the reason the state transition was not possible are recorded as specification inconsistency information in the specification verification result data 120. Note that for inconsistencies related to state transitions within the same model, the Model 1 or Model 2 item can be left blank, or the same model as set in Model 1 can be set in Model 2.
なお、仕様矛盾情報のフォーマットは、図17に示したものには限定されず、矛盾の内容に応じたフォーマットを当業者が適宜設定してよい。 Note that the format of the specification contradiction information is not limited to that shown in Figure 17, and a person skilled in the art may set a format appropriate to the content of the contradiction.
図18は、本開示の実施形態の少なくとも一つに対応する、システム仕様比較検証処理を例示するフローチャートである。システム仕様比較検証処理は、図3のステップS14に相当する。 Figure 18 is a flowchart illustrating a system specification comparison and verification process corresponding to at least one embodiment of the present disclosure. The system specification comparison and verification process corresponds to step S14 in Figure 3.
仕様比較部40は、システム仕様比較処理を行う(S101)。システム仕様比較処理の詳細については後述する。システム仕様比較処理の結果は、仕様比較結果データ130として記憶され、データ管理部10が仕様比較結果データ130を管理する。 The specification comparison unit 40 performs a system specification comparison process (S101). Details of the system specification comparison process will be described later. The results of the system specification comparison process are stored as specification comparison result data 130, and the data management unit 10 manages the specification comparison result data 130.
仕様比較部40は、システム仕様の相違点を出力する(S102)。すなわち、ステップS101で抽出されたシステム仕様の相違点を、出力装置を介して出力する。例えば出力装置がモニタである場合は、抽出された相違点のリストなどをチェック結果としてモニタに表示させる。 The specification comparison unit 40 outputs the differences in the system specifications (S102). That is, the differences in the system specifications extracted in step S101 are output via an output device. For example, if the output device is a monitor, a list of the extracted differences is displayed on the monitor as the check results.
出力された相違点を示す情報に基づいて、担当者がシステム仕様を修正する。担当者による修正入力に基づいて、仕様登録部20が図5から図15を参照して上述したのと同様にして、各種の情報をシステム仕様110に登録する(S103)。 The person in charge modifies the system specifications based on the output information indicating the differences. Based on the modifications input by the person in charge, the specification registration unit 20 registers various information in the system specifications 110 in the same manner as described above with reference to Figures 5 to 15 (S103).
次に、システム仕様比較処理の詳細について説明する。システム仕様比較は、図2に示した定式化仕様データに基づいて、複数のシステムの仕様の間で行われる。例えば、図1に示したシステム1定式化仕様データ111と、システム2定式化仕様データ112とが比較される。なお、3種類以上のシステムの仕様を同時に比較してもよい。以下は、2種類のシステムの仕様を比較する場合を例として説明する。 Next, the system specification comparison process will be described in detail. System specification comparison is performed between the specifications of multiple systems based on the formalized specification data shown in Figure 2. For example, the system 1 formalized specification data 111 and the system 2 formalized specification data 112 shown in Figure 1 are compared. Note that the specifications of three or more types of systems may be compared simultaneously. The following explanation will be given using an example where the specifications of two types of systems are compared.
仕様比較部40は、モデル構成を比較する(S111)。より具体的には、システム内に存在するモデルの一覧を、複数のシステムの仕様間で比較する。この比較は、状態遷移仕様に存在するモデルの一覧と比較用状態遷移仕様に存在するモデルの一覧とを比較してモデルの過不足を抽出するモデル構成比較に相当する。 The specification comparison unit 40 compares the model configurations (S111). More specifically, it compares the lists of models present in the system between the specifications of multiple systems. This comparison corresponds to a model configuration comparison in which the list of models present in the state transition specification is compared with the list of models present in the comparison state transition specification to extract any deficiencies or excesses in models.
仕様比較部40は、イベント構成を比較する(S112)。より具体的には、各モデルに対するイベントの一覧を、複数のシステムの仕様間で比較する。この比較は、状態遷移仕様に存在する各モデルについてモデルに対応する比較用状態遷移仕様に存在するモデルとイベントの一覧を比較してイベントの過不足を抽出するイベント構成比較に相当する。 The specification comparison unit 40 compares the event configurations (S112). More specifically, it compares the event lists for each model between the specifications of multiple systems. This comparison corresponds to an event configuration comparison in which, for each model in the state transition specification, the event list is compared with the model in the comparison state transition specification corresponding to the model to extract any excess or deficiency of events.
仕様比較部40は、状態構成を比較する(S113)。より具体的には、モデル毎に状態の一覧を、複数のシステムの仕様間で比較する。この比較は、状態遷移仕様に存在する各モデルについて当該モデルに対応する比較用状態遷移仕様に存在するモデルと状態の一覧を比較して状態の過不足を抽出する状態構成比較に相当する。 The specification comparison unit 40 compares the state configurations (S113). More specifically, it compares the state lists for each model between the specifications of multiple systems. This comparison corresponds to a state configuration comparison in which, for each model in the state transition specification, the state list is compared with the model in the comparison state transition specification that corresponds to that model to extract any excess or deficiency of states.
仕様比較部40は、遷移先構成を比較する(S114)。より具体的には、モデル毎に同じイベントが発生した場合の遷移先を、複数のシステムの仕様間で比較する。この比較は、状態遷移仕様に存在する各モデルについて、当該モデルに対応する比較用状態遷移仕様に存在するモデルと、互いに対応するイベントに対する遷移先の状態を比較して遷移先の差異を抽出する遷移先比較に相当する。 The specification comparison unit 40 compares the transition destination configurations (S114). More specifically, it compares the transition destinations when the same event occurs for each model between the specifications of multiple systems. This comparison corresponds to a transition destination comparison in which, for each model in the state transition specification, the transition destination states for the corresponding events are compared with the model in the comparison state transition specification to extract the differences in the transition destinations.
仕様比較部40は、制約を比較する(S115)。より具体的には、登録されているイベント制約(違反事項)の一覧を、複数のシステムの仕様間で比較する。 The specification comparison unit 40 compares the constraints (S115). More specifically, it compares the lists of registered event constraints (violations) between the specifications of multiple systems.
ここで、イベント制約に係るデータも含んだシステムの仕様は、上述の定式化仕様データとして、所定の基準に従ったフォーマットでシステム仕様110内に予め記憶されている。そのため仕様比較部40は、複数のシステムの仕様間での上述のような比較を、機械的に実行することができる。 Here, the system specifications, including data related to event constraints, are stored in advance in the system specifications 110 as the above-mentioned formalized specification data in a format that conforms to predetermined standards. Therefore, the specification comparison unit 40 can mechanically perform the above-mentioned comparison between the specifications of multiple systems.
上述の制約の比較は、比較用状態遷移仕様に対応するイベント制約である比較用イベント制約を予め記憶し、仕様比較部40が、状態遷移仕様に対応するイベント制約と、比較用イベント制約との違反事項の一覧を比較して違反事項の過不足を抽出する制約比較に相当する。 The above-mentioned constraint comparison corresponds to a constraint comparison in which comparison event constraints, which are event constraints corresponding to the comparison state transition specifications, are stored in advance, and the specification comparison unit 40 compares a list of violations between the event constraints corresponding to the state transition specifications and the comparison event constraints to extract any excesses or deficiencies in the violations.
図19は、本開示の実施形態の少なくとも一つに対応する、仕様比較結果データのフォーマットを例示する概念図である。 Figure 19 is a conceptual diagram illustrating the format of specification comparison result data corresponding to at least one embodiment of the present disclosure.
仕様比較結果データ130は、仕様矛盾情報と、相違点情報(モデル構成比較)と、相違点情報(イベント構成比較)と、相違点情報(状態構成比較)と、相違点情報(遷移先比較)と、相違点情報(制約比較)とを含む。なお、図19に示した各情報の区分けおよび情報のフォーマットはあくまで一例であり、取得したい仕様比較結果の内容に応じた区分けおよびフォーマットを、当業者が適宜設定してよい。 The specification comparison result data 130 includes specification inconsistency information, difference information (model configuration comparison), difference information (event configuration comparison), difference information (state configuration comparison), difference information (transition destination comparison), and difference information (constraint comparison). Note that the classification and format of each piece of information shown in Figure 19 are merely examples, and those skilled in the art may set the classification and format appropriately according to the content of the specification comparison results they wish to obtain.
仕様矛盾情報は、項目として、システム名1と、システム名2と、相違点情報とを含む。仕様矛盾情報における相違点情報は、相違点情報(モデル構成比較)、相違点情報(イベント構成比較)、相違点情報(状態構成比較)、相違点情報(遷移先比較)、および相違点情報(制約比較)のうち少なくとも一以上に対応する。 The specification inconsistency information includes the following items: system name 1, system name 2, and difference information. The difference information in the specification inconsistency information corresponds to at least one of difference information (model configuration comparison), difference information (event configuration comparison), difference information (state configuration comparison), difference information (transition destination comparison), and difference information (constraint comparison).
相違点情報(モデル構成比較)は、項目として、モデル名と、無い側のシステム名とを含む。例えばシステムAにはモデル「入金」があるが、システムBにはモデル「入金」がない場合、相違点情報(モデル構成比較)は、(入金,システムB)という情報になる。なお、「無い側のシステム名」という項目の扱いは、後述する他の相違点情報についても同様であるため、重複を避ける観点から以後は詳しい説明を省略する。 Difference information (model configuration comparison) includes the model name and the name of the system that does not have it as items. For example, if system A has the model "Deposit," but system B does not have the model "Deposit," the difference information (model configuration comparison) will be (Deposit, System B). Note that the "Name of the system that does not have it" item is handled in the same way for other difference information described below, so detailed explanation will be omitted to avoid duplication.
相違点情報(イベント構成比較)は、項目として、イベント名と、業務手続名と、モデル名と、無い側のシステム名とを含む。 Difference information (event configuration comparison) includes the event name, business procedure name, model name, and the name of the system that does not have the event.
相違点情報(状態構成比較)は、項目として、モデル名と、状態名と、無い側のシステム名とを含む。 Difference information (state configuration comparison) includes the model name, state name, and the name of the missing system.
相違点情報(遷移先比較)は、項目として、イベント名と、業務手続名と、モデル名と、状態名と、システム1の遷移先と、システム2の遷移先とを含む。ここでいう遷移先とは、遷移先の状態(状態名)を意味する。 The difference information (transition destination comparison) includes the following items: event name, business procedure name, model name, state name, transition destination of System 1, and transition destination of System 2. "Transition destination" here refers to the state (state name) of the transition destination.
相違点情報(制約比較)は、項目として、イベント名と、業務手続名と、制約種別と、制約内容と、無い側のシステム名とを含む。制約種別とは、例えば図15における「発生順序」「発生時期」「モデルCRUD」「副モデルCRUD」などの種別を意味する。 Difference information (constraint comparison) includes the following items: event name, business procedure name, constraint type, constraint content, and the name of the system that does not have the constraint. Constraint type refers to types such as "occurrence order," "occurrence time," "model CRUD," and "sub-model CRUD" in Figure 15.
上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の範囲を逸脱することなしに、他の様々な態様で本発明を実施することができる。 The above-described embodiments of the present invention are illustrative examples of the present invention and are not intended to limit the scope of the present invention to these embodiments alone. Those skilled in the art may implement the present invention in various other forms without departing from the scope of the present invention.
以上のように、情報システムの仕様検証を支援する仕様検証支援装置1が、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものでありイベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様111Aと、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約111Bとについて登録を受け付ける仕様登録部20を有する。仕様検証支援装置1が、状態遷移仕様111Aにおいて違反事項に該当するイベントの発生がないか検証する仕様検証部30を有する。これにより、モデルの状態遷移により他のモデルに発生するイベントを含めた状態遷移仕様を登録し、システム仕様の検証において、状態遷移仕様によって違反事項に該当するイベントの発生がないか確認するので、システム仕様の誤りの見落としを低減することができる。 As described above, the specification verification support device 1, which supports specification verification of an information system, has a specification registration unit 20 that accepts registration of a state transition specification 111A that specifies state transitions due to events in each of a plurality of models, where the events include events that occur in other models due to the state transition of the model, and an event constraint 111B that specifies violations that should be considered when the event occurs. The specification verification support device 1 has a specification verification unit 30 that verifies whether any events that correspond to violations in the state transition specification 111A have occurred. This allows the state transition specification, including events that occur in other models due to the state transition of the model, to be registered, and the state transition specification is checked for occurrence of any events that correspond to violations during system specification verification, thereby reducing the chance of overlooking errors in the system specification.
仕様検証支援装置1が、状態遷移仕様111Aと比較するための比較用状態遷移仕様を予め記憶し、状態遷移仕様111Aと比較用状態遷移仕様とを比較して差異を抽出する仕様比較部40を更に有する。これにより、例えば実績のある同種の情報システムの状態遷移仕様と比較して差異を提示して、システム仕様の誤りの発見を支援することができる。 The specification verification support device 1 pre-stores a comparison state transition specification for comparison with the state transition specification 111A, and further includes a specification comparison unit 40 that compares the state transition specification 111A with the comparison state transition specification to extract differences. This makes it possible to present differences by comparing with, for example, the state transition specification of a proven information system of the same type, and assist in the discovery of errors in the system specifications.
仕様比較部40は、状態遷移仕様111Aに存在するモデルの一覧と比較用状態遷移仕様に存在するモデルの一覧とを比較してモデルの過不足を抽出するモデル構成比較と、状態遷移仕様111Aに存在する各モデルについて当該モデルに対応する比較用状態遷移仕様に存在するモデルとイベントの一覧を比較してイベントの過不足を抽出するイベント構成比較と、状態遷移仕様111Aに存在する各モデルについて当該モデルに対応する比較用状態遷移仕様に存在するモデルと状態の一覧を比較して状態の過不足を抽出する状態構成比較と、状態遷移仕様111Aに存在する各モデルについて、当該モデルに対応する比較用状態遷移仕様に存在するモデルと、互いに対応するイベントに対する遷移先の状態を比較して遷移先の差異を抽出する遷移先比較と、の少なくとも1つを実行する。これにより、状態遷移仕様と比較用状態遷移仕様とでモデルを比較して差異を提示して、システム仕様の各モデルに関する誤りの発見を支援することができる。 The specification comparison unit 40 performs at least one of the following: a model configuration comparison that compares a list of models in the state transition specification 111A with a list of models in the comparison state transition specification to extract whether there are any excess or deficiencies in the models; an event configuration comparison that compares a list of events for each model in the state transition specification 111A with a model in the comparison state transition specification corresponding to that model to extract whether there are any excess or deficiencies in the events; a state configuration comparison that compares a list of states for each model in the state transition specification 111A with a model in the comparison state transition specification corresponding to that model to extract whether there are any excess or deficiencies in the states; and a transition destination comparison that compares, for each model in the state transition specification 111A, with a model in the comparison state transition specification corresponding to that model to extract differences in the transition destinations for corresponding events. This makes it possible to compare models in the state transition specification and the comparison state transition specification and present the differences, thereby assisting in the discovery of errors in each model in the system specifications.
比較用状態遷移仕様に対応するイベント制約である比較用イベント制約を予め更に記憶する。仕様比較部40は、状態遷移仕様111Aに対応するイベント制約と、比較用イベント制約との違反事項の一覧を比較して違反事項の過不足を抽出する制約比較を更に実行する。これにより、状態遷移仕様と比較用状態遷移仕様とでイベントの違反事項を提示して、システム仕様のイベント制約に関連する誤りの発見を支援することができる。 Comparison event constraints, which are event constraints corresponding to the comparison state transition specifications, are further stored in advance. The specification comparison unit 40 further performs constraint comparison, comparing a list of violations between the event constraints corresponding to the state transition specifications 111A and the comparison event constraints, to extract any excesses or deficiencies in the violations. This presents event violations between the state transition specifications and the comparison state transition specifications, making it possible to assist in the discovery of errors related to the event constraints in the system specifications.
イベント制約は、複数のイベントの発生の順序を規定する第1制約を含む。仕様検証部30は、状態遷移仕様111Aにおいて第1制約に規定された順序と異なる順序でイベントが発生することがあるか否か確認する。これにより、イベントの発生順序に関するシステム仕様の誤りを容易に発見することができる。 The event constraints include a first constraint that specifies the order in which multiple events occur. The specification verification unit 30 checks whether events in the state transition specification 111A can occur in an order different from the order specified in the first constraint. This makes it easy to discover errors in the system specifications regarding the order in which events occur.
イベント制約は、イベントの発生する時期を規定する第2制約を含む。仕様検証部30は、状態遷移仕様111Aにおいて第2制約に規定された時期と異なる時期にイベントが発生することがあるか否か確認する。これにより、イベントの発生時期に関するシステム仕様の誤りを容易に発見することができる。 The event constraint includes a second constraint that specifies when the event will occur. The specification verification unit 30 checks whether the event can occur at a time different from the time specified in the second constraint in the state transition specification 111A. This makes it easy to discover errors in the system specifications regarding the timing of event occurrence.
モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれる。イベント制約は、モデルによる情報の作成、読み出し、更新、削除の順序を規定する第3制約を含む。仕様検証部30は、状態遷移仕様において第3制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する。これにより、あるモデルにて作成された情報を他のモデルにより読み出されるといったモデル間にまたがるイベントの順序の整合性を検証することができる。 The models include models that generate, reference, update, or delete information in response to the occurrence of an event. The event constraints include a third constraint that specifies the order in which information is created, read, updated, and deleted by the model. The specification verification unit 30 checks whether information is created, read, updated, or deleted in an order different from the order specified in the third constraint in the state transition specification. This makes it possible to verify the consistency of the order of events across models, such as when information created in one model is read by another model.
状態遷移仕様111Aは、モデルの特定の状態から派生する副次的な状態をモデルの副モデルの状態として遷移を規定する。これにより、モデル間のイベントを含めた状態遷移仕様において、モデルの状態とイベントとの組み合わせ数が爆発的に増大することを防止できる。 State transition specification 111A defines transitions by treating secondary states derived from specific states of a model as states of sub-models of the model. This prevents an explosive increase in the number of combinations of model states and events in state transition specifications that include events between models.
副モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれる。イベント制約は、副モデルによる情報の作成、読み出し、更新、削除の順序を規定する第4制約を含む。仕様検証部30は、状態遷移仕様において第4制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する。これにより、副モデルを含めてイベントの順序の整合性を検証することができる。 The secondary model includes a model that generates, references, updates, or deletes information in response to the occurrence of an event. The event constraint includes a fourth constraint that specifies the order in which information is created, read, updated, or deleted by the secondary model. The specification verification unit 30 checks whether information is created, read, updated, or deleted in an order different from the order specified in the fourth constraint in the state transition specification. This makes it possible to verify the consistency of the order of events, including the secondary model.
仕様登録部20は、モデルへのイベントに対応する業務手続に複数の手続結果が存在する場合に、状態遷移仕様111Aにおいて、モデルへのイベントを手続結果に対応する複数のイベントに分割し、イベントが複数に分割されたことに伴って追加となる状態と、該追加となる状態に関連する状態の遷移とを状態遷移仕様111Aに登録することを受け付ける。これにより、モデルの状態遷移により他のモデルに発生するイベントを含めたシステム仕様の検証を実行可能な状態遷移仕様の登録を支援することができる。 When there are multiple procedure results in a business procedure corresponding to an event to a model, the specification registration unit 20 splits the event to the model into multiple events corresponding to the procedure results in the state transition specification 111A, and accepts registration in the state transition specification 111A of the states that are added as a result of the event being split into multiple events and the state transitions related to the added states. This makes it possible to support the registration of state transition specifications that can be used to verify system specifications that include events that occur in other models due to state transitions in a model.
情報システムの仕様検証を支援する仕様検証支援方法において、プロセッサとメモリとを備える装置1が、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものでありイベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様111Aと、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約111Bとについて登録を受け付け、状態遷移仕様111Aにおいて違反事項に該当するイベントの発生がないか検証する、ことを実行する。これにより、モデルの状態遷移により他のモデルに発生するイベントを含めた状態遷移仕様を登録し、システム仕様の検証において、状態遷移仕様によって違反事項に該当するイベントの発生がないか確認するので、システム仕様の誤りの見落としを低減することができる。 In a specification verification support method for supporting specification verification of an information system, a device 1 equipped with a processor and memory accepts registration of a state transition specification 111A that specifies state transitions due to events for each of a plurality of models, where the events include events that occur in other models due to the state transition of the model, and an event constraint 111B that specifies violations that should be considered when the event occurs, and verifies whether any events that fall under the violations in the state transition specification 111A have occurred. This registers a state transition specification that includes events that occur in other models due to the state transition of a model, and checks whether any events that fall under the violations in the state transition specification have occurred during system specification verification, thereby reducing the chance of overlooking errors in the system specification.
情報システムの仕様検証を支援する仕様検証支援プログラムが、プロセッサとメモリとを備える装置1に、複数のモデルのそれぞれにイベントによる状態の遷移を規定するものでありイベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様111Aと、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約111Bとについて登録を受け付け、状態遷移仕様において違反事項に該当するイベントの発生がないか検証する、ことを実行させる。これにより、モデルの状態遷移により他のモデルに発生するイベントを含めた状態遷移仕様を登録し、システム仕様の検証において、状態遷移仕様によって違反事項に該当するイベントの発生がないか確認するので、システム仕様の誤りの見落としを低減することができる。 A specification verification support program that supports specification verification of an information system causes a device (1) equipped with a processor and memory to accept registration of state transition specifications (111A) that specify state transitions due to events in each of a plurality of models, where the events include events that occur in other models due to the state transition of the model, and event constraints (111B) that specify violations that should be considered when the event occurs, and to verify whether any events that correspond to violations in the state transition specifications have occurred. This registers state transition specifications that include events that occur in other models due to the state transition of a model, and checks for the occurrence of events that correspond to violations in the state transition specifications during system specification verification, thereby reducing the chance of overlooking errors in the system specifications.
1…仕様検証支援装置、10…データ管理部、20…仕様登録部、30…仕様検証部、40…仕様比較部
1... specification verification support device, 10... data management section, 20... specification registration section, 30... specification verification section, 40... specification comparison section
Claims (11)
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付ける仕様登録部と、
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する仕様検証部と、
前記状態遷移仕様と比較するための比較用状態遷移仕様を予め記憶し、前記状態遷移仕様と前記比較用状態遷移仕様とを比較して差異を抽出する仕様比較部と、
を有する仕様検証支援装置。 A specification verification support device that supports specification verification of an information system,
a specification registration unit that accepts registration of state transition specifications that define state transitions due to events in each of a plurality of models, the events including events that occur in other models due to state transitions of the models, and event constraints that define violations that should be considered when the events occur;
a specification verification unit that verifies whether or not an event corresponding to the violation in the state transition specification occurs;
a specification comparison unit that stores in advance a comparison state transition specification for comparison with the state transition specification, and compares the state transition specification with the comparison state transition specification to extract differences ;
A specification verification support device having the above configuration.
前記状態遷移仕様に存在するモデルの一覧と前記比較用状態遷移仕様に存在するモデルの一覧とを比較してモデルの過不足を抽出するモデル構成比較と、
前記状態遷移仕様に存在する各モデルについて当該モデルに対応する前記比較用状態遷移仕様に存在するモデルとイベントの一覧を比較してイベントの過不足を抽出するイベント構成比較と、
前記状態遷移仕様に存在する各モデルについて当該モデルに対応する前記比較用状態遷移仕様に存在するモデルと状態の一覧を比較して状態の過不足を抽出する状態構成比較と、
前記状態遷移仕様に存在する各モデルについて、当該モデルに対応する前記比較用状態遷移仕様に存在するモデルと、互いに対応するイベントに対する遷移先の状態を比較して遷移先の差異を抽出する遷移先比較と、
の少なくとも1つを実行する、
請求項1に記載の仕様検証支援装置。 The specification comparison unit
a model configuration comparison that compares a list of models in the state transition specification with a list of models in the comparison state transition specification to extract excesses and deficiencies of models;
an event configuration comparison for comparing a list of events for each model in the state transition specification with a model in the comparison state transition specification corresponding to the model, and extracting excess or deficiency of events;
a state configuration comparison for comparing a list of states for each model in the state transition specification with a model in the comparison state transition specification corresponding to the model, and extracting excess or deficiency of states;
a transition destination comparison for comparing, for each model in the state transition specification, a model in the comparison state transition specification corresponding to the model, with a transition destination state for a corresponding event, and extracting a difference in the transition destination;
Execute at least one of
2. The specification verification support device according to claim 1 .
前記仕様比較部は、前記状態遷移仕様に対応するイベント制約と、前記比較用イベント制約との違反事項の一覧を比較して違反事項の過不足を抽出する制約比較を更に実行する、
請求項1に記載の仕様検証支援装置。 a comparison event constraint corresponding to the comparison state transition specification is further stored in advance;
the specification comparison unit further performs a constraint comparison to compare a list of violations between the event constraint corresponding to the state transition specification and the comparison event constraint, and extracts excesses and deficiencies of violations.
The specification verification support device according to claim 1 .
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付ける仕様登録部と、
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する仕様検証部と、
を有し、
前記モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれ、
前記イベント制約は、モデルによる情報の作成、読み出し、更新、削除の順序を規定する第3制約を含み、
前記仕様検証部は、前記状態遷移仕様において前記第3制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する、
仕様検証支援装置。 A specification verification support device that supports specification verification of an information system,
a specification registration unit that accepts registration of state transition specifications that define state transitions due to events in each of a plurality of models, the events including events that occur in other models due to state transitions of the models, and event constraints that define violations that should be considered when the events occur;
a specification verification unit that verifies whether or not an event corresponding to the violation in the state transition specification occurs;
and
The model includes a model that generates, references, updates, or deletes information in response to an occurrence of an event;
the event constraints include a third constraint that specifies the order in which information is created, read, updated, and deleted by the model;
the specification verification unit checks whether or not information is created, read, updated, or deleted in an order different from the order defined in the third constraint in the state transition specification .
Specification verification support device.
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付ける仕様登録部と、
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する仕様検証部と、
を有し、
前記仕様登録部は、モデルへのイベントに対応する業務手続に複数の手続結果が存在する場合に、前記状態遷移仕様において、前記モデルへの前記イベントを前記手続結果に対応する複数のイベントに分割し、前記イベントが複数に分割されたことに伴って追加となる状態と、該追加となる状態に関連する状態の遷移とを前記状態遷移仕様に登録することを受け付ける、
仕様検証支援装置。 A specification verification support device that supports specification verification of an information system,
a specification registration unit that accepts registration of state transition specifications that define state transitions due to events in each of a plurality of models, the events including events that occur in other models due to state transitions of the models, and event constraints that define violations that should be considered when the events occur;
a specification verification unit that verifies whether or not an event corresponding to the violation in the state transition specification occurs;
and
When a business procedure corresponding to an event to a model has a plurality of procedure results, the specification registration unit divides the event to the model into a plurality of events corresponding to the procedure results in the state transition specification, and accepts registration of states that are added as a result of the event being divided into a plurality of events and state transitions related to the added states in the state transition specification .
Specification verification support device.
プロセッサとメモリとを備える装置が、
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証し、
前記状態遷移仕様と比較するための比較用状態遷移仕様を予め記憶し、前記状態遷移仕様と前記比較用状態遷移仕様とを比較して差異を抽出する、
ことを実行する、仕様検証支援方法。 A specification verification support method for supporting specification verification of an information system, comprising:
1. An apparatus comprising a processor and a memory,
A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
Verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
storing in advance a comparison state transition specification for comparison with the state transition specification, and comparing the state transition specification with the comparison state transition specification to extract differences ;
A specification verification support method that performs the above.
プロセッサとメモリとを備える装置が、1. An apparatus comprising a processor and a memory,
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
ことを実行する方法であり、It is a way of doing things,
前記モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれ、The model includes a model that generates, references, updates, or deletes information in response to an occurrence of an event;
前記イベント制約は、モデルによる情報の作成、読み出し、更新、削除の順序を規定する第3制約を含み、the event constraints include a third constraint that specifies the order in which information is created, read, updated, and deleted by the model;
前記状態遷移仕様において前記第3制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する、confirming whether or not the state transition specification allows information to be created, read, updated, or deleted in an order different from the order specified in the third constraint;
仕様検証支援方法。Specification verification support method.
プロセッサとメモリとを備える装置が、1. An apparatus comprising a processor and a memory,
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
ことを実行する方法であり、It is a way of doing things,
モデルへのイベントに対応する業務手続に複数の手続結果が存在する場合に、前記状態遷移仕様において、前記モデルへの前記イベントを前記手続結果に対応する複数のイベントに分割し、前記イベントが複数に分割されたことに伴って追加となる状態と、該追加となる状態に関連する状態の遷移とを前記状態遷移仕様に登録することを受け付ける、When a business procedure corresponding to an event to a model has multiple procedure results, the state transition specification divides the event to the model into multiple events corresponding to the procedure results, and accepts registration of states that are added as a result of the event being divided into multiple events and state transitions related to the added states in the state transition specification.
仕様検証支援方法。Specification verification support method.
プロセッサとメモリとを備える装置に、
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証し、
前記状態遷移仕様と比較するための比較用状態遷移仕様を予め記憶し、前記状態遷移仕様と前記比較用状態遷移仕様とを比較して差異を抽出する、
ことを実行させるための、仕様検証支援プログラム。 A specification verification support program for supporting specification verification of an information system,
An apparatus comprising a processor and a memory,
A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
Verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
storing in advance a comparison state transition specification for comparison with the state transition specification, and comparing the state transition specification with the comparison state transition specification to extract differences ;
A specification verification support program that helps you do this.
プロセッサとメモリとを備える装置に、An apparatus comprising a processor and a memory,
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
ことを実行させるためのプログラムであり、It is a program to make it happen,
前記モデルには、イベントの発生に応じて、情報の生成、参照、更新、または削除を行うモデルが含まれ、The model includes a model that generates, references, updates, or deletes information in response to an occurrence of an event;
前記イベント制約は、モデルによる情報の作成、読み出し、更新、削除の順序を規定する第3制約を含み、the event constraints include a third constraint that specifies the order in which information is created, read, updated, and deleted by the model;
前記状態遷移仕様において前記第3制約に規定された順序と異なる順序で情報の作成、読み出し、更新、または削除が行われることがあるか否か確認する、ことを実行させる、checking whether or not information is created, read, updated, or deleted in an order different from the order specified in the third constraint in the state transition specification;
仕様検証支援プログラム。Specification verification support program.
プロセッサとメモリとを備える装置に、An apparatus comprising a processor and a memory,
複数のモデルのそれぞれにイベントによる状態の遷移を規定するものであり前記イベントにはモデルの状態遷移により他のモデルに発生するイベントが含まれる状態遷移仕様と、イベントについて当該イベントが発生した場合に違反とすべき違反事項を規定したイベント制約とについて登録を受け付け、A system that accepts registration of a state transition specification that specifies a state transition due to an event for each of a plurality of models, the state transition specification including an event that occurs in another model due to the state transition of the model, and an event constraint that specifies a violation that should be considered when the event occurs,
前記状態遷移仕様において前記違反事項に該当するイベントの発生がないか検証する、verifying whether or not an event corresponding to the violation in the state transition specification has occurred;
ことを実行させるためのプログラムであり、It is a program to make it happen,
モデルへのイベントに対応する業務手続に複数の手続結果が存在する場合に、前記状態遷移仕様において、前記モデルへの前記イベントを前記手続結果に対応する複数のイベントに分割し、前記イベントが複数に分割されたことに伴って追加となる状態と、該追加となる状態に関連する状態の遷移とを前記状態遷移仕様に登録することを受け付ける、ことを実行させる、When a business procedure corresponding to an event to a model has a plurality of procedure results, the event to the model is divided into a plurality of events corresponding to the procedure results in the state transition specification, and states that are added as a result of the event being divided into a plurality of events and state transitions related to the added states are registered in the state transition specification.
仕様検証支援プログラム。Specification verification support program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023008378A JP7799643B2 (en) | 2023-01-23 | 2023-01-23 | Specification verification support device, method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023008378A JP7799643B2 (en) | 2023-01-23 | 2023-01-23 | Specification verification support device, method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024104241A JP2024104241A (en) | 2024-08-02 |
| JP7799643B2 true JP7799643B2 (en) | 2026-01-15 |
Family
ID=91971743
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023008378A Active JP7799643B2 (en) | 2023-01-23 | 2023-01-23 | Specification verification support device, method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7799643B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009075886A (en) | 2007-09-20 | 2009-04-09 | Ntt Data Corp | Specification defect verification system, method and program |
| JP2020102198A (en) | 2018-12-20 | 2020-07-02 | 国立研究開発法人宇宙航空研究開発機構 | Design support device, design support method, and design support program |
-
2023
- 2023-01-23 JP JP2023008378A patent/JP7799643B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009075886A (en) | 2007-09-20 | 2009-04-09 | Ntt Data Corp | Specification defect verification system, method and program |
| JP2020102198A (en) | 2018-12-20 | 2020-07-02 | 国立研究開発法人宇宙航空研究開発機構 | Design support device, design support method, and design support program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024104241A (en) | 2024-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TW498201B (en) | System and method for generating year 2000 test cases | |
| JP5162094B2 (en) | Method and apparatus for metadata-driven business logic processing | |
| US8056057B2 (en) | System and method for generating business process test elements | |
| US11625366B1 (en) | System, method, and computer program for automatic parser creation | |
| US20080222576A1 (en) | Design support apparatus, method for supporting design, and medium recording design support program | |
| US11630647B2 (en) | Method and system for configuring processes of software applications using activity fragments | |
| JP7799643B2 (en) | Specification verification support device, method, and program | |
| CN121349429A (en) | Process development platform, process development methods, equipment and storage media | |
| CA3157219A1 (en) | Interprocess communication for asynchronous tasks | |
| JP7212511B2 (en) | Loan management device, loan management method, and loan management program | |
| CN118897675A (en) | Component library construction and calling method, device, equipment and storage medium | |
| WO2025107291A1 (en) | Research and development project data processing method and research and development project management system | |
| CN111052071A (en) | Software introduction system, software introduction method, and software introduction program | |
| CN115495366A (en) | Fault drill template device, template import method and experiment creation method | |
| JP2023157310A (en) | Model checking device and model checking method | |
| JP7607851B1 (en) | Design support device, design support method, and design support program | |
| US20250013990A1 (en) | Non-Fungible Token-Based Vehicle Maintenance Information Verification for a Plurality of Vehicles Using a Non-Fungible Token-Based System | |
| CN120353714B (en) | Data verification method, device, electronic equipment, medium and program product | |
| US20010029602A1 (en) | System development method, development-support system and storage medium storing program of same | |
| JP7827583B2 (en) | Cloud environment construction support system, cloud environment construction support method | |
| JP4580670B2 (en) | Test case generation method and test case generation apparatus | |
| CN118917293A (en) | Government affair data acquisition method, device, equipment, storage medium and program product | |
| JP6216414B2 (en) | Design support apparatus and design support method | |
| JP2025126643A (en) | Design support system, design support method, and program | |
| WO2024185167A1 (en) | Development assistance system and development assistance program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240925 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250609 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250805 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250917 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20251202 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251226 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7799643 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |