JPH02206861A - State transition table preparing device - Google Patents

State transition table preparing device

Info

Publication number
JPH02206861A
JPH02206861A JP1027994A JP2799489A JPH02206861A JP H02206861 A JPH02206861 A JP H02206861A JP 1027994 A JP1027994 A JP 1027994A JP 2799489 A JP2799489 A JP 2799489A JP H02206861 A JPH02206861 A JP H02206861A
Authority
JP
Japan
Prior art keywords
state
state transition
transition table
transition
function
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
JP1027994A
Other languages
Japanese (ja)
Inventor
Tomonari Shinba
知成 神場
Osamu Hashimoto
治 橋本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1027994A priority Critical patent/JPH02206861A/en
Publication of JPH02206861A publication Critical patent/JPH02206861A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily generate a state transition table by taking out all states described in a state transition series classified by function, and generating the state transition table by totaling the transition destination state of the state for each taken out state. CONSTITUTION:The state transition series classified by the function is stored in a state transition series classified by function storing means 101. A state totaling means 102 takes out all the states described in the state transition series classified by the function. A transition destination state totaling means 103 totals the transition destination of the state for each taken out state, and generates the state transition table. The state transition table generated in such a way is stored in a state transition table storing means 104.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、状態遷移表に基づいて制御を行うシステムの
、状態遷移表を作成する装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an apparatus for creating a state transition table for a system that performs control based on the state transition table.

(従来の技術) 従来、ユーザの入力に基づいて制御を行うシステムにお
いては、システムのそれぞれの状態に対して、ユーザの
入力と状態の遷移とを対応づけて記述した状態遷移表を
あらがじめ作成しておき、それに基づいて制御を行うと
いう方法が採られていた。このような制御装置の例は、
例えば、特開昭63−158630号公報「画面遷移ル
ールによる画面制御方式」に述べられており、この例で
は各状態に1つの画面を対応させて、画面遷移を制御し
ている。この装置の構成を第6図に示す。第6図におい
て、601はそれぞれの状態に対して遷移先状態を記憶
している状態別状態遷移表記憶手段であり、602はユ
ーザの入力と状態遷移表記憶手段601とに基づいて画
面表示を制御する画面制御手段、603は表示手段であ
る。この際の状態遷移表は、例えばプログラミング言語
などを用いて人間が記述していた。
(Prior Art) Conventionally, in a system that performs control based on user input, a state transition table is created that describes the association between user input and state transition for each state of the system. The method used was to create a plan in advance and perform control based on it. An example of such a control device is
For example, it is described in Japanese Patent Application Laid-Open No. 63-158630, "Screen Control Method Based on Screen Transition Rules," and in this example, one screen is associated with each state to control screen transitions. The configuration of this device is shown in FIG. In FIG. 6, 601 is a state transition table storage means for each state that stores a transition destination state for each state, and 602 is a state transition table storage means 602 that displays a screen based on the user's input and the state transition table storage means 601. A screen control means 603 is a display means. At this time, the state transition table was written by a human using, for example, a programming language.

(発明が解決しようとする課題) このような方式を用いる場合には、601にはそれぞれ
の状態に対応して遷移先状態を記述した状態遷移表をあ
らかじめ記述しておかなければならない。しかし、ある
機能を達成するための状態遷移の系列を記述することは
比較的容易であるが、それぞれの状態別に遷移可能な状
態をすべて網羅して記述することは人間にとって非常に
困難でミスが生じやすい作業である。本発明は、このよ
うな困難を解決して、容易に状態遷移表の作成を行うこ
とができるようにするためのものである。
(Problems to be Solved by the Invention) When using such a method, a state transition table that describes transition destination states corresponding to each state must be written in advance in 601. However, although it is relatively easy to describe a sequence of state transitions to achieve a certain function, it is extremely difficult for humans to describe all possible transition states for each state and is prone to mistakes. This is a task that can easily occur. The present invention is aimed at solving these difficulties and making it possible to easily create a state transition table.

(課題を解決するための手段) 本発明の状態遷移表作成装置は、機能別状態遷移系列か
ら状態別の状態遷移表を作成する状態遷移表作成装置で
あって、前記機能別状態遷移系列を記憶する機能別状態
遷移系列記憶手段と、該機能別状態遷移系列中に記述さ
れたすべての状態を取り出す状態集計手段と、該取り出
しだ各状態に対して該状態の遷移先状態を集計して状態
遷移表を作成する遷移先状態集計手段と、該状態遷移表
を記憶する状態遷移表記憶手段とから成ることを特徴と
する。
(Means for Solving the Problems) A state transition table creation device of the present invention is a state transition table creation device that creates a state transition table for each state from a state transition series for each function. a function-specific state transition series storage means for storing, a state aggregation means for extracting all the states described in the function-specific state transition series, and a state aggregation means for aggregating the transition destination state of the state for each of the retrieved states. It is characterized by comprising a transition destination state aggregation means for creating a state transition table, and a state transition table storage means for storing the state transition table.

(作用) 本発明の動作を、第3図、第4図、第5図を例として説
明する。第3図はワードプロセッサの動作の一部の状態
遷移を示す状態遷移図であるとする。301に示す状態
S1から、304に示す状態S4に遷移する際に文章中
の語句の複写が行われ、305に示す状態S5に遷移す
る際に文章中の語句の削除が行われるものとする。
(Operation) The operation of the present invention will be explained using FIGS. 3, 4, and 5 as examples. It is assumed that FIG. 3 is a state transition diagram showing state transitions of part of the operation of the word processor. It is assumed that words in a sentence are copied when transitioning from state S1 shown in 301 to state S4 shown in 304, and deleted when transitioning to state S5 shown in 305.

第3図に示す状態遷移図を表現するための、機能別状態
遷移系列を第4図に示す。第4図においては、′複写と
削除との2つの機能に対し、それを実現するために遷移
する状態と、その状態遷移を実現するためのユーザ入力
とが記述されている。この図は、例えば状態S1におい
て人力に1が行われたときに状態S2に遷移することを
示している。
FIG. 4 shows a functional state transition series for expressing the state transition diagram shown in FIG. 3. In FIG. 4, for two functions, 'copying' and 'deletion', states to be transitioned to realize the functions and user inputs to realize the state transitions are described. This figure shows that, for example, when 1 is manually performed in state S1, the state changes to state S2.

第4図に示すような機能別状態遷移系列があると、本発
明の状態遷移表作成装置は、まずその状態遷移表中に記
載されたすべての状態を取り出す。第4図の例では、S
l、S2、s3、s4、s5となる。次に、それぞれの
状態に対して、受理することができる入力と、そのとき
の遷移先状態とを求める。第4図の例では、Slに対し
てはに1とに2とを受理することができ、K1を受理し
たときにはs2に遷移し、K2を受理したときにはS3
に遷移する。また、S2に対してはに3を受理すること
ができ、そのときにはS4に遷移する。S3に対しては
に4を受理することができ、そのときにはS5に遷移す
る。s4と85とに対しては受理することができる入力
はない。このようにして求められた状態別の受理可能な
入力と、そのときの遷移先状態は第5図に示すような状
態遷移表の形式で記憶される。
When there is a functional state transition series as shown in FIG. 4, the state transition table creation device of the present invention first extracts all states listed in the state transition table. In the example in Figure 4, S
1, S2, s3, s4, and s5. Next, for each state, the inputs that can be accepted and the transition destination state at that time are determined. In the example of FIG. 4, it is possible to accept 1 and 2 for Sl, and when K1 is accepted, the transition goes to s2, and when K2 is accepted, the transition is to S3.
Transition to. Further, 3 can be accepted for S2, and in that case, the process moves to S4. 4 can be accepted for S3, and in that case the process moves to S5. There is no input that can be accepted for s4 and 85. Acceptable inputs for each state thus determined and the transition destination state at that time are stored in the form of a state transition table as shown in FIG.

本発明の状態制御装置は、第4図に示すような機能別状
態遷移系列から、第5図に示すような状態別の状態遷移
表を自動的に作成する。
The state control device of the present invention automatically creates a state transition table for each state as shown in FIG. 5 from a state transition series for each function as shown in FIG.

(実施例) 第1図は、本発明の実施例を示すブロック図である。1
01は、機能別状態遷移系列記憶手段であり、半導体メ
モリ、フロッピィディスクなどを利用できる。102は
状態集計手段、103は遷移先状態集計手段であり、1
02と103はともにマイクロプロセッサなどを利用で
きる。104は状態遷移表記憶手段であり、半導体メモ
リ、フロッピィディスクなどを利用できる。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention. 1
Reference numeral 01 denotes a state transition series storage means for each function, and a semiconductor memory, a floppy disk, etc. can be used. 102 is a state aggregation means, 103 is a transition destination state aggregation means, and 1
Both 02 and 103 can use a microprocessor or the like. Reference numeral 104 denotes a state transition table storage means, for which a semiconductor memory, a floppy disk, etc. can be used.

本発明の状態制御装置は、まず101に記憶された機能
別状態遷移系列から、状態集計手段102と遷移先状態
集計手段103とによって状態遷移表を作成し、それを
104に記録する。第2図に機能別状態遷移系列から状
態遷移表を作成する際の処理のフローチャートを示す。
The state control device of the present invention first creates a state transition table using the state aggregation means 102 and the transition destination state aggregation means 103 from the functional state transition series stored in 101, and records it in 104. FIG. 2 shows a flowchart of processing when creating a state transition table from a state transition series classified by function.

201においてまず、状態遷移表の中に記載された状態
をすべて取り出す。次に、202において、その集合の
中の要素を1つとり、その状態が受理することができる
入力と、そのときの遷移先状態とを集計する。一般に遷
移先状態は複数であるので1つの状態に対し、受理可能
な入力と遷移先状態とは複数存在する。1つの状態に対
して入力と遷移先状態との集計が終了したら、203に
おいて、すべての状態に対して集計を行ったかどうかを
調べ、未集計の状態がある場合には202に戻って集計
を続ける。すべての状態に対して集計が終了すると、そ
れぞれの状態とその状態が受理可能な入力および遷移先
状態とを組み合せたものを状態遷移表として104に記
憶する。
First, in 201, all states listed in the state transition table are extracted. Next, at 202, one element in the set is taken, and the inputs that that state can accept and the transition destination state at that time are tallied. Generally, there are multiple transition destination states, so for one state, there are multiple acceptable inputs and multiple transition destination states. When the input and transition destination states have been aggregated for one state, it is checked in 203 whether the aggregation has been performed for all states, and if there is a state that has not been aggregated, the process returns to 202 and the aggregation is performed. continue. When the aggregation for all states is completed, a combination of each state, inputs that the state can accept, and transition destination states is stored in the state transition table 104.

前記実施例では201においてまず、全状態を取り出し
ているが、1つの状態を取りだし、その状態について遷
移先状態を集計し、次に別の状態を取りだし、同様に遷
移先状態を集計していって状態遷移表を作成してもよい
In the above embodiment, all states are first retrieved in step 201, but one state is retrieved, the transition destination states are totaled for that state, then another state is retrieved, and the transition destination states are totaled in the same manner. You may also create a state transition table using

(発明の効果) 本発明の装置を用いれば、従来のように状態別の状態遷
移表を記述するのではなく、機能別の状態遷移系列を記
述すればよい。人間にとっては、ある状態から遷移可能
な状態をすべて記述するよりも、機能別に状態遷移系列
を作成する方が、直接状態遷移表を作成するよりも非常
に容易な作業であるため、本発明の状態遷移表作成装置
を用いることにより、状態遷移表の作成を簡単に行うこ
とができるようになる。
(Effects of the Invention) By using the device of the present invention, instead of writing a state transition table for each state as in the past, it is sufficient to write a state transition series for each function. For humans, it is much easier to create a state transition series for each function than to describe all the states that can be transitioned from a certain state, and it is much easier than directly creating a state transition table. By using the state transition table creation device, state transition tables can be easily created.

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

第1図は本発明の一実施例を示すブロック図、第2図は
機能別状態遷移系列から状態遷移表を作成する方法のフ
ローチャート、第3図は状態遷移図の例、第4図は第3
図の状態遷移図を示す機能別状態遷移系列の例、第5図
は第3図の状態遷移図を示す状態遷移表の例、第6図は
従来の状態制御装置の構成を示すブロック図である。 図において、101・・・機能別状態遷移系列記憶手段
、102・・・状態遷移系列の中に記載された状態をす
べて取り出す状態集計手段、103・・・それぞれの状
態に対して受理可能な入力とそのときの遷移先状態とを
集計する遷移先状態集計手段、104・・・状態遷移表
記憶手段である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart of a method for creating a state transition table from a functional state transition series, FIG. 3 is an example of a state transition diagram, and FIG. 3
5 is an example of a state transition table showing the state transition diagram of FIG. 3. FIG. 6 is a block diagram showing the configuration of a conventional state control device. be. In the figure, 101...Functional state transition series storage means, 102...State aggregation means for extracting all the states described in the state transition series, 103...Inputs that can be accepted for each state 104... state transition table storage means, which totals the transition destination state and the transition destination state at that time.

Claims (1)

【特許請求の範囲】[Claims]  状態遷移系列を機能別に記述した機能別状態遷移系列
から状態別の状態遷移表を作成する状態遷移表作成装置
であって、前記機能別状態遷移系列を記憶する機能別状
態遷移系列記憶手段と、該機能別状態遷移系列中に記述
されたすべての状態を取り出す状態集計手段と、該取り
出した各状態に対して該状態の遷移先状態を集計して状
態遷移表を作成する遷移先状態集計手段と、該状態遷移
表を記憶する状態遷移表記憶手段とから成ることを特徴
とする状態遷移表作成装置。
A state transition table creation device that creates a state transition table for each state from a state transition series for each function that describes the state transition series for each function, comprising a state transition series storage unit for each function that stores the state transition series for each function; A state aggregation means for extracting all the states described in the functional state transition series, and a transition destination state aggregation means for aggregating the transition destination states of each of the extracted states to create a state transition table. and state transition table storage means for storing the state transition table.
JP1027994A 1989-02-06 1989-02-06 State transition table preparing device Pending JPH02206861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1027994A JPH02206861A (en) 1989-02-06 1989-02-06 State transition table preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1027994A JPH02206861A (en) 1989-02-06 1989-02-06 State transition table preparing device

Publications (1)

Publication Number Publication Date
JPH02206861A true JPH02206861A (en) 1990-08-16

Family

ID=12236377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1027994A Pending JPH02206861A (en) 1989-02-06 1989-02-06 State transition table preparing device

Country Status (1)

Country Link
JP (1) JPH02206861A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015517129A (en) * 2012-02-15 2015-06-18 ザ マスワークス, インクThe Mathworks, Inc. Integrated state transition table describing state machine model
US9600241B2 (en) 2012-02-15 2017-03-21 The Mathworks, Inc. Unified state transition table describing a state machine model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5863911U (en) * 1981-10-22 1983-04-28 三菱マテリアル株式会社 Carbide drilling tool
JPS59171010U (en) * 1983-04-27 1984-11-15 住友電気工業株式会社 carbide drill

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5863911U (en) * 1981-10-22 1983-04-28 三菱マテリアル株式会社 Carbide drilling tool
JPS59171010U (en) * 1983-04-27 1984-11-15 住友電気工業株式会社 carbide drill

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015517129A (en) * 2012-02-15 2015-06-18 ザ マスワークス, インクThe Mathworks, Inc. Integrated state transition table describing state machine model
US9600241B2 (en) 2012-02-15 2017-03-21 The Mathworks, Inc. Unified state transition table describing a state machine model
US10360502B2 (en) 2012-02-15 2019-07-23 The Mathworks, Inc. Generating a state diagram

Similar Documents

Publication Publication Date Title
JPH02206861A (en) State transition table preparing device
JPH0616291B2 (en) Image data management device
JPS6095625A (en) Computer system provided with skillfulness degree function
JP3143909B2 (en) File processing device
JPS63288328A (en) Jcl simple generating device
JPH0477956A (en) Term explanation generation system
JPH03246723A (en) System environmental definition data design system according to os update of computer system
JPH0287269A (en) Data controller
JPS6316342A (en) Reporting system for test progress in development for providing commonality to plural models of os
JPS62285129A (en) Knowledge acquisition processor
JPH03111934A (en) Program flow chart and table design book processor
JPH04219857A (en) Screen controller
JPH0216675A (en) Document format preparing device
JPH05181727A (en) Data base integrating processor
JPH04137035A (en) Software design structure storage device
JPS63196938A (en) Program generating device
JPS63184818A (en) Display device
JPH02148131A (en) Sample value display system
JPH05119992A (en) Syntax editor system for displaying attribute information on identifier in image of user definition
JPH0476669A (en) Input answer table generation device
JPH01291328A (en) Interpreter type language system
JPH04348427A (en) Screen input/output back-up system
JPS59172007A (en) Numerical controller
JPH04178735A (en) State transition table converter
JPH04178722A (en) Screen transition display device