[go: up one dir, main page]

JPH01287739A - Automatic state transition table generating device - Google Patents

Automatic state transition table generating device

Info

Publication number
JPH01287739A
JPH01287739A JP11726188A JP11726188A JPH01287739A JP H01287739 A JPH01287739 A JP H01287739A JP 11726188 A JP11726188 A JP 11726188A JP 11726188 A JP11726188 A JP 11726188A JP H01287739 A JPH01287739 A JP H01287739A
Authority
JP
Japan
Prior art keywords
state transition
transition table
state
name
program
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.)
Pending
Application number
JP11726188A
Other languages
Japanese (ja)
Inventor
Teruhiko Hiraishi
平石 輝彦
Shigeo Okuto
奥都 茂夫
Seiji Horii
堀井 誠司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11726188A priority Critical patent/JPH01287739A/en
Publication of JPH01287739A publication Critical patent/JPH01287739A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily perform the maintenance of a program component by unifying processings spreading over plural states or events in one program component in case of generating a state transition table including a large number of similar processings. CONSTITUTION:The processing spreading over the plural states or events in the state transition table 3 are held as one component, and it is held in a specification data base 1, and specifications are changed at the time of performing the development of a new system. Therefore, it is possible to select the program component corresponding to each state or event, to deform the processing to the one suitable for an event name, and to obtain the state transition table 3 suitable for the specification. In such a way, the number of program components can be reduced, and the maintenance can be performed easily,. and also, it is possible to generate the program of the processing generated individually manually in an on-going system automatically from the program component, therefore, the state transition table with high reliability can be generated in a short term.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、例えば機器制御の分野において、発生するイ
ベントから装置内の状態を遷移させることにより前記装
置の制御をおこなうことを目的とした状態遷移表を自動
的に生成する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a state transition table for controlling a device by transitioning the state within the device based on an event that occurs, for example in the field of device control. The present invention relates to a device that automatically generates.

従来の技術 一般に機器の制御をおこなう方法として、その装置の状
態と、状態を遷移させる要因となるイベントと、特定の
状態中にイベントが発生した場合に実行される処理によ
って記述される状態遷移表を用いることが多い。
Conventional technology Generally, as a method for controlling equipment, a state transition table is used that describes the state of the equipment, the events that cause the state to transition, and the processing that is executed when an event occurs during a specific state. is often used.

しかし、一般に状態遷移表は、最小の処理単位を基準に
して状態名やイベント名を決定するため。
However, state transition tables generally determine state names and event names based on the smallest processing unit.

複数の状態名やイベント名に対して同一の処理や。Same processing for multiple status names and event names.

機能の類似した処理が存在することが多い。Processes with similar functions often exist.

従来はこのような状態遷移表を用いて新規のシステムを
開発する場合、個々のイベント、状態に対応する処理を
すべて個々に作成することにより。
Conventionally, when developing a new system using such a state transition table, all processes corresponding to individual events and states were created individually.

目的とする状態遷移表を作成していた。I was creating the desired state transition table.

発明が解決しようとする課題 新規装置を開発する際に、類似した処理を多く含む状態
遷移表の個々のモジュールを人手で作成することは単調
な作業であるにもかかわらず、開発に多大の時間を要し
、かつ人為的誤りの発生にもつながるという問題を有す
る。
Problem to be Solved by the Invention When developing a new device, manually creating individual modules of state transition tables that contain many similar processes is a monotonous task, but it takes a lot of time to develop. This has the problem of requiring a lot of time and also leading to the occurrence of human error.

本発明は上記問題点を解決するために機能の類似した処
理を一つのプログラム部品に集約し、仕様を変更するこ
とばよって誤りの小ない新規の状態遷移表を短時間に作
成することを目的とした状態遷移表自動生成装置である
The present invention aims to solve the above problems by consolidating processes with similar functions into one program component and creating a new state transition table with few errors in a short time by changing the specifications. This is an automatic state transition table generation device.

課題を解決するための手段 蓄積されたソフトウェア資源を再利用し、新規装置の仕
様に合致する状態遷移表を自動生成するシステムであり
、複数の制御対象となる装置に対し、各々の装置が有す
る状態名、イベント名、および機能を表現する属性項目
を保持する仕様データベースと、状態名、イベント名で
決定される状態遷移表を実現する処理を表現する本体と
、前記属性項目の内容に応じて処理の一部を削除するた
めのルールが記述される部品ルールからなり、複数の状
態名、イベント名に対し適応可能なプログラム部品を保
持するプログラム部品データベースと、状態遷移表合成
対象となる装置に関する状態名を示す特定装置対応状態
名と、イベント名を示す特定装置対応イベント名を決定
し、前記特定装置対応状態名、前記特定装置対応イベン
ト名に対応するプログラム部品を前記プログラム部品デ
ータベースより選択し、前記仕様データベース中の稿性
項目の内容に合致するように変形することにより前記状
態遷移表合成対象となる装置の状態遷移表を作成する状
態遷移表合成部とから構成される。
Means to Solve the Problem This is a system that reuses accumulated software resources and automatically generates a state transition table that matches the specifications of a new device. A specification database that holds attribute items that express state names, event names, and functions; a main body that expresses processing that realizes a state transition table determined by the state name and event name; A program parts database that contains part rules that describe rules for deleting part of a process, and that holds program parts that can be applied to multiple state names and event names; Determine a specific device compatible status name indicating a status name and a specific device compatible event name indicating an event name, and select a program component corresponding to the specific device compatible status name and the specific device compatible event name from the program component database. , and a state transition table synthesis unit that creates a state transition table of the device to be synthesized with the state transition table by transforming the state transition table to match the content of the drafting item in the specification database.

作用 本発明は上述の構成により状態遷移表を目動的に生成す
る装置であるため、本発明の状態遷移表自動生成装置を
用いれば、状態遷移表中の複数の状態、イベントにまた
がる処理を一つの部品として保持し、仕様データベース
に保持し、新規システムの開発に際して仕様を変更する
のみで、各状態、イベントに対応するプログラム部品を
選択し、状態名、イベント名に合致する処理に変形し、
前記仕様に合致する状態遷移表を得ることができる。
Operation Since the present invention is a device that intentionally generates a state transition table with the above-described configuration, if the state transition table automatic generation device of the present invention is used, processing that spans multiple states and events in the state transition table can be performed. By keeping it as one component, storing it in a specification database, and changing the specifications when developing a new system, you can select the program component corresponding to each state and event, and transform it into a process that matches the state name and event name. ,
A state transition table that meets the specifications can be obtained.

このためプログラム部品の個数が減少し、保守が容易に
なると同時に、従来は個々に人手で作成していた処理を
プログラムをプログラム部品から自動で作成することが
できるため、極めて短期間に信頼性の高い状態遷移表の
作成が可能になる。
This reduces the number of program parts, making maintenance easier. At the same time, programs that previously had to be created individually by hand can now be automatically created from program parts. It becomes possible to create a high-quality state transition table.

実施例 以下に本発明の状態遷移表自動生成装置の一実施例を第
1図〜第4図に基づき説明する。
Embodiment An embodiment of the state transition table automatic generation device of the present invention will be described below with reference to FIGS. 1 to 4.

第1図は本発明における一実施例である状態遷移表自動
生成装置の構成を示すブロック図であり、仕様を保持す
る仕様データベース1と、再利用可能なプログラム部品
を保持するプログラム部品データベース2と、仕様デー
タベース1とプログラム部品データベース2の内容から
状態遷移表3を生成する状態遷移表合成部4とから構成
される。
FIG. 1 is a block diagram showing the configuration of a state transition table automatic generation device which is an embodiment of the present invention, and includes a specification database 1 that holds specifications, a program parts database 2 that holds reusable program parts. , a state transition table synthesis unit 4 that generates a state transition table 3 from the contents of the specification database 1 and the program component database 2.

第2図に仕様データベースの一例を示す。縦軸には仕様
の項目!、、I2 、・・・・・・f(S、)、f(S
2)。
Figure 2 shows an example of a specification database. Specification items are on the vertical axis! ,,I2 ,...f(S,),f(S
2).

・・・・・・# g(IC,)、g(IC2)、・・・
・・・但し、ここでS、。
・・・・・・# g(IC,), g(IC2),...
...However, S here.

S2 、・・・・・・は状態名、に1.E2.・・・・
・・はイベント名を示す。横軸には開発装置の装置名M
、、M2゜・・・・・・を持つ。
S2, ... is the state name, and 1. E2.・・・・・・
...indicates the event name. The horizontal axis shows the device name M of the developed device.
, , M2°...

第3図にプログラム部品データベースに保持されるプロ
グラム部品の一例を示す。プログラム部品は部品ルール
と本体で構成され、部品ルールには、そのプログラム部
品が選択されたイベント名。
FIG. 3 shows an example of program parts held in the program parts database. A program part consists of a part rule and a main body, and the part rule contains the event name for which the program part was selected.

状態名、及び仕様データベースを参照することにより本
体のブロック番号(第3図本体の1,2゜・・・・・・
)を削除するためのルールが記述されている。
By referring to the status name and specification database, the block number of the main body (1, 2° of the main body in Figure 3...
) is described.

第3図中本体には部品ルールによって削除されるブロッ
ク番号と、それに対応する処理が記述されている。
In the main body of FIG. 3, block numbers to be deleted according to component rules and corresponding processing are described.

状態遷移表合成部4は仕様データベース1を参照するこ
とにより、第4図に示す状態遷移表の状態及びイベント
を決定する。
The state transition table synthesis unit 4 determines the states and events of the state transition table shown in FIG. 4 by referring to the specification database 1.

第4図中、PijはイベントΣi 、状態Sj に対応
する処理を示す。
In FIG. 4, Pij indicates processing corresponding to event Σi and state Sj.

状態遷移表合成部4は、各処理P4jを決定するために
最適なプログラム部品をプログラム部品データベース2
より選択した後、部品ルールに従って、仕様データベー
ス1を参照しながら本体を変形する。
The state transition table synthesis unit 4 selects the optimal program parts for determining each process P4j from the program parts database 2.
After making a selection, the main body is transformed according to the part rules while referring to the specification database 1.

この一連の操作を繰返すことにより第4図中の処理P+
1.P、21・・・・・・を順次生成し、仕様に合致し
た状態遷移表3を得る。
By repeating this series of operations, the process P+ in FIG.
1. P, 21, . . . are sequentially generated to obtain a state transition table 3 that meets the specifications.

発明の効果 以上述べてきた本発明の状態遷移表自動生成装置を用い
れば、類似の処理を多く含む状態遷移表を作成する場合
、複類の状態やイベントにまたがる処理を一つのプログ
ラム部品にまとめることにより、プログラム部品の個数
を減少させることができるためプログラム部品の保守が
容易になる。
Effects of the Invention By using the state transition table automatic generation device of the present invention described above, when creating a state transition table that includes many similar processes, processes that span multiple states and events can be combined into one program component. As a result, the number of program parts can be reduced, making maintenance of the program parts easier.

あわせて新規システムの開発に際して状態遷移表を作成
する場合、仕様を変更するのみで所望の状態遷移表が得
られるため、従来の方法に比べて極めて短期間に人手で
個々の処理を作成した場合に比べ信頼性の高い状態遷移
表の作成が可能となる。
In addition, when creating a state transition table when developing a new system, the desired state transition table can be obtained by simply changing the specifications, so individual processes can be created manually in an extremely short period of time compared to conventional methods. It is possible to create a state transition table that is more reliable than the previous method.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例における状態遷移表自動生成
装置のブロック図、第2図は本発明の一実施例における
仕様データペー×第3図は本発明の一実施例におけるプ
ログラム部を第4図は本発明の一実施例における状態遷
移表自動生成装置によって生成される状態遷移表図。 1・・・・・・仕様データベース、2・・・・・・プロ
グラム部品データベース、3・・・・・・状態遷移表、
4・・・・・・状態遷移表合成部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 状!!lIL移表 第2図 第3図 第4図
Fig. 1 is a block diagram of an automatic state transition table generation device in an embodiment of the present invention, Fig. 2 is a specification data page in an embodiment of the present invention, and Fig. 3 is a program section in an embodiment of the present invention. FIG. 4 is a state transition table diagram generated by the state transition table automatic generation device in one embodiment of the present invention. 1... Specification database, 2... Program parts database, 3... State transition table,
4... State transition table synthesis section. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure! ! lIL transfer table Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 蓄積されたソフトウェア資源を再利用し、新規装置の仕
様に合致する状態遷移表を自動生成するシステムであり
、複数の制御対象となる装置に対し、各々の装置が有す
る状態名、イベント名、および機能を表現する属性項目
を保持する仕様データベースと、状態名、イベント名で
決定される状態遷移表を実現する処理を表現する本体と
、前記属性項目の内容に応じて処理の一部を削除するた
めのルールが記述される部品ルールからなり、複数の状
態名、イベント名に対し適応可能なプログラム部品を保
持するプログラム部品データベースと、状態遷移表合成
対象となる装置に関する状態名を示す特定装置対応状態
名とイベント名を示す特定装置対応イベント名を決定し
、前記特定装置対応状態名、前記特定装置対応イベント
名に対応するプログラム部品を前記プログラム部品デー
タベースより選択し、前記仕様データベース中の属性項
目の内容に合致するように変形することにより前記状態
遷移表合成対象となる装置の状態遷移表を作成する状態
遷移表合成部とから構成される状態遷移表自動生成装置
This is a system that reuses accumulated software resources and automatically generates a state transition table that matches the specifications of a new device. A specification database that holds attribute items that express functions, a main body that expresses processing that realizes a state transition table determined by state names and event names, and a part of the processing that is deleted depending on the contents of the attribute items. A program parts database that holds program parts that can be applied to multiple state names and event names, and a specific device support that indicates the state name of the device that is the target of state transition table synthesis. A specific device compatible event name indicating a state name and an event name is determined, a program component corresponding to the specific device compatible state name and the specific device compatible event name is selected from the program component database, and an attribute item in the specification database is selected. and a state transition table synthesis unit that creates a state transition table of the device to be synthesized by transforming the state transition table to match the contents of the state transition table.
JP11726188A 1988-05-13 1988-05-13 Automatic state transition table generating device Pending JPH01287739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11726188A JPH01287739A (en) 1988-05-13 1988-05-13 Automatic state transition table generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11726188A JPH01287739A (en) 1988-05-13 1988-05-13 Automatic state transition table generating device

Publications (1)

Publication Number Publication Date
JPH01287739A true JPH01287739A (en) 1989-11-20

Family

ID=14707383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11726188A Pending JPH01287739A (en) 1988-05-13 1988-05-13 Automatic state transition table generating device

Country Status (1)

Country Link
JP (1) JPH01287739A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2377285A (en) * 2001-07-02 2003-01-08 Ubinetics Ltd State machine
JP2011008326A (en) * 2009-06-23 2011-01-13 Fuji Electric Systems Co Ltd Software development support device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2377285A (en) * 2001-07-02 2003-01-08 Ubinetics Ltd State machine
JP2011008326A (en) * 2009-06-23 2011-01-13 Fuji Electric Systems Co Ltd Software development support device and method

Similar Documents

Publication Publication Date Title
JP2609280B2 (en) Simulation method
JPH01287739A (en) Automatic state transition table generating device
JP3412667B2 (en) Scheduling method of fieldbus system
JPH0667871A (en) Automatic program updating system
JPH0944208A (en) Simulation method
JP2725490B2 (en) Software Bug Cause Inference Expert System
Bass et al. PRESTIGE: a CASE workbench for the JSD implementor
JPH0798733A (en) Hierarchical production planning support method and apparatus
JPH0194445A (en) Automatic preparing device for condition transition table
JPH02148175A (en) Relational type data base system
JPH01191233A (en) Automatic program generating system
JPH05143280A (en) Unit conversion controller in quantity control system
JPH01166217A (en) Generation system for computer controlled statement
JPH07121358A (en) Program customizing device
JPH0194433A (en) Software parts managing device
JPH03121558A (en) Remote task execution controller
JPH04320525A (en) Transaction processing system structuring method
JPH04320561A (en) Method for constructing work processing system
JPH047637A (en) Program diagram generating device
JPH0498533A (en) Automatic program generating device with macroblock diagram processing function
JPH03246723A (en) System environmental definition data design system according to os update of computer system
JPH03144728A (en) Device and method for automatic program formation
JPH0370062A (en) Terminal equipment remote maintenance system
JPH03230221A (en) Software system structure device
JPH04172490A (en) Train schedule preparation system