JPH0833207B2 - Cooking combination determination process automatic generation method - Google Patents
Cooking combination determination process automatic generation methodInfo
- Publication number
- JPH0833207B2 JPH0833207B2 JP10638088A JP10638088A JPH0833207B2 JP H0833207 B2 JPH0833207 B2 JP H0833207B2 JP 10638088 A JP10638088 A JP 10638088A JP 10638088 A JP10638088 A JP 10638088A JP H0833207 B2 JPH0833207 B2 JP H0833207B2
- Authority
- JP
- Japan
- Prior art keywords
- cooking
- combination
- prohibition
- setting
- state transition
- 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.)
- Expired - Fee Related
Links
- 238000010411 cooking Methods 0.000 title claims description 171
- 238000000034 method Methods 0.000 title claims description 49
- 230000007704 transition Effects 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 30
- 238000003780 insertion Methods 0.000 claims description 12
- 230000037431 insertion Effects 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Control Of High-Frequency Heating Circuits (AREA)
- Electric Ovens (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、プログラム自動生成に関し、特に電子レン
ジ制御プログラムにおける連続動作可能な調理設定の判
定処理を、あらかじめ準備した連続動作可能な調理組合
せ情報から、連続する2調理間の関係を特徴づけること
によって、調理設定の可否の判定基準となる調理組合せ
禁止条件を導出し、調理の組合せ判定処理を自動的に生
成・挿入する方法を用いた調理組合せ判定処理自動生成
方法に関するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to automatic program generation, and in particular, determination processing of continuously operable cooking settings in a microwave oven control program is performed from previously prepared continuously operable cooking combination information. By characterizing the relationship between two consecutive cookings, a cooking combination prohibition condition that is a criterion for determining whether or not cooking setting is possible is derived, and a cooking combination determination using a method that automatically generates and inserts a cooking combination determination process. The present invention relates to a process automatic generation method.
従来の技術 例えば、従来の電子レンジ制御プログラムにおける調
理設定の可否の判定処理は、図10に示すように調理の組
合せで、C・B・Aの順では設定可能で、B・C・Aの
順では設定不可能なとき、調理BあるいはCが設定され
た時点でその情報を21でステージ毎に記憶し、次の調理
Aの設定時にその情報を基にした調理設定のための判定
処理22を通過して、初めて調理Aが設定可能となる。つ
まり、プログラム中にすべての調理組合せを検証するた
めの判定処理が必要となる。また、別の組合せで通過す
る判定処理においても同じ調理を判定する処理が現われ
る可能性が高く、プログラムが非常に冗長で複雑になっ
てしまう。その上変更が容易でない。2. Description of the Related Art For example, in the conventional microwave oven control program, the processing for determining whether or not cooking settings are possible can be set in the order of C / B / A by the combination of cooking as shown in FIG. When it is impossible to set the cooking order in sequence, when cooking B or C is set, the information is stored for each stage at 21 and when the next cooking A is set, the determination processing for cooking setting based on the information 22 Only after passing through, can cooking A be set. That is, a determination process for verifying all cooking combinations is required in the program. In addition, even in the determination process in which another combination is passed, it is highly likely that the same cooking determination process appears, and the program becomes very redundant and complicated. Besides, it is not easy to change.
一方、調理の連続動作可能な組合せパターンをすべて
コード化し、図11のようなテーブルとして記憶してお
き、調理が設定される度に、テーブルを参照しパターン
マッチングを行なう方法を用いれば、テーブルサイズが
組合せの数だけ必要で相当に多くなり、そのテーブル検
索に要する時間も膨大になってしまう。On the other hand, if all the combination patterns that can be continuously operated for cooking are coded and stored as a table as shown in FIG. 11 and the pattern matching is performed by referring to the table every time cooking is set, the table size can be increased. However, the number of combinations is required, which is considerably large, and the time required to search the table also becomes enormous.
さらに、もし状態遷移表現を単純に用いるとしても、
図12に示すように連続動作可能なすべての調理組合せに
対して、その途中段階の状態、ここでは第2ステージま
で設定後の状態AAやABなどをすべて作らなければ第3ス
テージに設定可能な調理との関係が表現できず、状態数
が異常に多くなり、組合せ変更時には、また最初から状
態定義を考え直す必要が生じる。Furthermore, even if we simply use state transition expressions,
As shown in FIG. 12, for all cooking combinations that can be continuously operated, the state in the middle stage, here the state after setting up to the second stage AA and AB can be set in the third stage unless all are created The relation with cooking cannot be expressed, the number of states becomes abnormally large, and it becomes necessary to reconsider the state definition from the beginning when changing the combination.
発明が解決しようとする課題 従来、状態遷移表現を用いてこのように連続動作可能
な調理組合せを判定する方法は存在せず、また連続動作
可能な調理組合せが変更されたり、プログラムサイズに
制限がある場合に、人間がその都度プログラムを直接手
直しする必要がある。従って、連続動作可能な調理組合
せ情報を与えるだけで、調理の組合せ判定処理に必要な
調理組合せ禁止条件が導出され、組合せ判定処理が自動
生成・挿入できれば、プログラムの開発効率および信頼
性が飛躍的に向上する。Problems to be Solved by the Invention Conventionally, there is no method for determining a continuously operable cooking combination using a state transition expression, and the continuously operable cooking combination is changed or the program size is limited. In some cases, humans have to directly modify the program each time. Therefore, if the cooking combination prohibition condition necessary for the cooking combination determination process is derived only by providing the cooking combination information that enables continuous operation, and if the combination determination process can be automatically generated / inserted, the development efficiency and reliability of the program will be dramatically improved. Improve to.
課題を解決するための手段 前記課題を解決するために本発明の調理組合せ判定処
理自動生成方法では、複数ステージによる調理を設定す
る際に、それらの調理の組合せが許可されるかどうかを
判定する処理を実現するとき、全調理と全調理設定キー
情報および連続動作可能な調理組合せ情報を格納した製
品仕様格納手段と、前記製品仕様格納手段の全調理と全
調理設定キー情報を基にして、各調理を状態に、各調理
設定キーの入力を事象に割り当て、それらのキー入力に
より入力キーに応じた調理の設定処理を実行した後、状
態の遷移処理を行なうような状態遷移表を作成する状態
遷移表作成手段と、2ステージ間の調理設定の関係を表
現できる前記状態遷移表を用いて、3ステージ以上の調
理設定を行なう場合、前記製品仕様格納手段の連続動作
可能な調理組合せ情報を基にして、全調理間の連続動作
可能な調理組合せを調べ、連続動作可能な調理ペアがそ
れ以前に設定される調理によって連続動作を禁止される
かどうかを判断するために、すべての連続動作可能な調
理ペアと1つ前に設定され得る調理との関係を表わす組
合せ禁止表を作成する組合せ禁止表作成手段と、前記組
合せ禁止表を基にして、任意の調理設定以後に少なくと
も1つの調理ペアの設定を禁止する調理に対して、組合
せ禁止フラグを割り当てる組合せ禁止フラグ生成手段
と、前記組合せ禁止表を基にして、任意の調理ペアの設
定以前に設定される調理によって、連続動作を禁止され
る調理ペアに対して、組合せ禁止マスクを割り当てる組
合せ禁止マスク生成手段と、調理が設定される度にその
調理に対応した前記組合せ禁止フラグを以前の組合せ禁
止条件値と論理和をとることによって禁止条件を更新す
る処理を、状態移行時の調理設定処理に挿入する禁止条
件更新処理挿入手段と、調理設定時にその時の状態移行
が可能かどうかを前記組合せ禁止マスクとその時点での
前記禁止条件との論理積を用いた組合せ判定処理を状態
移行時の調理設定処理の前に挿入する組合せ判定処理挿
入手段とを備えたことを特徴としている。以下、図面を
参照しつつ説明する。Means for Solving the Problems In order to solve the above problems, in the cooking combination determination processing automatic generation method of the present invention, when setting cooking by a plurality of stages, it is determined whether or not the combination of those cooking is permitted. When the processing is realized, based on the product specification storing means storing all cooking, all cooking setting key information, and cooking combination information capable of continuous operation, and all cooking and all cooking setting key information in the product specification storing means, Create a state transition table that assigns each cooking to a state, assigns each cooking setting key input to an event, executes the cooking setting process corresponding to the input key by these key inputs, and then performs the state transition process. When three or more cooking settings are performed by using the state transition table creating means and the state transition table that can express the relationship between the cooking settings between the two stages, the product specification storing means is connected to each other. Based on the information on cooking combinations that can be continuously operated, the cooking combinations that can be continuously operated during all cooking are checked to determine whether the continuously operable cooking pair is prohibited by the previously set cooking. In order to achieve this, combination prohibition table creating means for creating a combination prohibition table showing the relationship between all continuously operable cooking pairs and cooking that can be set immediately before, and any combination prohibition table based on the combination prohibition table Based on the combination prohibition flag generating means for allocating a combination prohibition flag to the cooking for which the setting of at least one cooking pair is prohibited after the cooking setting and the combination prohibition table, the setting is made before the setting of any cooking pair. A combination prohibition mask generating means for assigning a combination prohibition mask to a cooking pair for which continuous operation is prohibited by cooking, and corresponding to each time cooking is set. Prohibition condition update processing inserting means for inserting processing for updating the prohibition condition by logically ORing the combination prohibition flag with the previous combination prohibition condition value, and a state at the time of cooking setting It is provided with a combination determination processing insertion means for inserting, before the cooking setting processing at the time of state transition, a combination determination processing using a logical product of the combination inhibition mask and the inhibition condition at that time as to whether or not the transition is possible. It is characterized by that. Hereinafter, description will be given with reference to the drawings.
作用 本発明は、調理と調理設定キー情報を基にして、状態
遷移表を作成し、連続動作可能な調理組合せ情報を基に
して、調理組合せ判定処理に必要な組合せ禁止フラグと
組合せ禁止マスクとを自動的に導出し、それらを用いて
禁止条件更新処理と組合せ判定処理を自動生成する。Action The present invention creates a state transition table based on cooking and cooking setting key information, and based on cooking combination information that allows continuous operation, a combination prohibition flag and a combination prohibition mask necessary for the cooking combination determination process. Are automatically derived, and the prohibition condition update process and the combination determination process are automatically generated using them.
実施例 第1図は、本発明の一実施例を示すシステム構成図
で、1は製品仕様格納手段で、調理や調理設定キーの種
類、および連続動作可能な調理組合せ表を格納してい
る。2は状態遷移表作成部で3の状態遷移表作成手段の
みからなり、前記製品仕様格納手段1を基にして、調理
を状態に、調理設定キー入力を事象に割り当て状態遷移
表を作成する。4は禁止条件作成部で、5の組合せ禁止
表作成手段と、6の組合せ禁止フラグ生成手段と、7の
組合せ禁止マスク生成手段とからなり、前記製品仕様格
納手段1を基にして、調理組合せ判定処理で用いる組合
せ禁止フラグおよび組合せ禁止マスクを生成する。8は
処理生成部で、9の禁止条件更新処理挿入手段と、10の
組合せ判定処理挿入手段とからなり、前記組合せ禁止フ
ラグおよび組合せ禁止マスクを用いて禁止条件更新処理
と組合せ判定処理を前記状態遷移表中の該当箇所に挿入
する。Embodiment FIG. 1 is a system configuration diagram showing an embodiment of the present invention. Reference numeral 1 is a product specification storing means, which stores types of cooking and cooking setting keys, and a cooking combination table capable of continuous operation. Reference numeral 2 denotes a state transition table creating unit, which comprises only the state transition table creating unit 3 and creates a state transition table based on the product specification storing unit 1 by assigning cooking to a state and cooking setting key input to an event. Reference numeral 4 denotes a prohibition condition creating section, which comprises 5 combination prohibition table creating means, 6 combination prohibition flag generating means, and 7 combination prohibition mask generating means, and based on the product specification storing means 1, a cooking combination. A combination prohibition flag and a combination prohibition mask used in the determination process are generated. Reference numeral 8 denotes a process generation unit, which includes a prohibition condition update process insertion unit 9 and a combination determination process insertion unit 10 and performs the prohibition condition update process and the combination determination process by using the combination prohibition flag and the combination prohibition mask. Insert it in the corresponding part of the transition table.
第2図は、本発明の1実施例を示す基本的な処理の流
れである。11は調理および調理設定キー仕様検索処理
で、製品仕様格納手段1から特に調理名と調理設定キー
名を取り出す。12は状態遷移表作成処理で、状態遷移表
作成手段2を用い、前記調理名および調理設定キー名を
基にして、調理を状態に、調理設定キー入力を事象に割
り当て、状態遷移表を作成する。13は調理組合せ仕様検
索処理で、製品仕様格納手段1から特に連続動作可能な
調理組合せ表を取り出す。14は組合せ禁止表作成処理
で、組合せ禁止表作成手段5を用い、前記調理組合せ表
を基にして、任意の調理とその調理に依存して連続動作
を禁止される調理ペアとの関係を示した調理禁止表を作
成する。15は組合せ禁止フラグ生成処理で、組合せ禁止
フラグ生成手段6を用い、前記組合せ禁止表を基にし
て、各調理の組合せ禁止フラグを生成する。16は組合せ
禁止マスク生成処理で、組合せ禁止マスク生成手段7を
用い、前記組合せ禁止表を基にして、任意の連続設定さ
れ得る調理ペアに対して、それ以前に設定される調理に
依存して連続動作を許されない調理ペアを区別するため
の組合せ禁止マスクを生成する。17は禁止条件更新処理
挿入処理で、禁止条件更新処理挿入手段9を用い、前記
組合せ禁止フラグと禁止条件との論理和をとって禁止条
件を更新する禁止条件更新処理を前記状態遷移表中のす
べての状態移行処理に挿入する。18は組合せ判定処理挿
入処理で、組合せ判定処理挿入手段10を用い、前記組合
せ禁止マスクと禁止条件との論理積をとってその真偽で
状態移行の可否を判定する組合せ判定処理を前記状態遷
移表中のすべての状態移行処理の前に挿入する。FIG. 2 is a basic processing flow showing one embodiment of the present invention. Reference numeral 11 is a cooking and cooking setting key specification retrieval process, and particularly the cooking name and the cooking setting key name are retrieved from the product specification storing means 1. Reference numeral 12 denotes a state transition table creation process, which uses the state transition table creation means 2 to assign cooking to a state and cooking setting key input to an event based on the cooking name and cooking setting key name to create a state transition table. To do. Reference numeral 13 denotes a cooking combination specification retrieval process, which retrieves a cooking combination table that can be continuously operated particularly from the product specification storing means 1. Reference numeral 14 denotes a combination prohibition table preparation process, which shows the relationship between arbitrary cooking and a cooking pair for which continuous operation is prohibited depending on the cooking based on the cooking combination table by using the combination prohibition table preparation means 5. Create a cooking prohibition table. Reference numeral 15 denotes a combination prohibition flag generation process, which uses the combination prohibition flag generation means 6 to generate a combination prohibition flag for each cooking based on the combination prohibition table. Reference numeral 16 denotes a combination prohibition mask generation process, which uses the combination prohibition mask generation means 7 and, based on the combination prohibition table, for any cooking pair that can be continuously set, depending on the cooking set before that. A combination prohibition mask is generated for distinguishing cooking pairs that are not allowed to operate continuously. Reference numeral 17 denotes a prohibition condition update process insertion process, which uses the prohibition condition update process insertion means 9 to perform a prohibition condition update process for ORing the combination prohibition flag and the prohibition condition to update the prohibition condition in the state transition table. Insert in all state transition processing. Reference numeral 18 denotes a combination determination processing insertion processing, which uses the combination determination processing insertion means 10 to perform a logical product of the combination prohibition mask and the prohibition condition to judge whether the state transition is possible or not by the truth. Insert before all state transition processing in the table.
第3図は、本発明の1実施例として3ステージの設定
を許された調理組合せ表である。FIG. 3 is a cooking combination table in which setting of three stages is permitted as one embodiment of the present invention.
第4図は、ステージ移行表であり、前記調理組合せ表
を基にして、第1ステージ調理と第2ステージ調理との
関係、第2ステージ調理と第3ステージ調理との関係を
洗い出し、調理を状態に、調理設定キー入力を事象に割
り当てた場合の状態遷移表で、次調理の設定が可能な箇
所にそれぞれ○印と△印を付した。○印は、第1ステー
ジと第2ステージとの関係、△印は、第2ステージと第
3ステージとの関係を示している。FIG. 4 is a stage transition table, and based on the cooking combination table, the relationship between the first stage cooking and the second stage cooking, the relationship between the second stage cooking and the third stage cooking are identified, and cooking is performed. In the state transition table when the cooking setting key input is assigned to the event, the place where the next cooking can be set is marked with a circle and a triangle. A circle indicates a relationship between the first stage and the second stage, and a triangle indicates a relationship between the second stage and the third stage.
第5図は、組合せ禁止表で、第2ステージ調理と第3
ステージ調理の連続動作可能な調理ペアに対して、第1
ステージ調理が連続動作を禁止する要因となるかどうか
を示している。禁止する場合には、X印を付け、許可す
る場合は、○印を付ける。ここで、第1ステージ調理に
ついて縦列の要素がすべて○印である場合は、組合せ禁
止条件はなく、1つでもX印があればその第1ステージ
調理に組合せ禁止フラグを割り当てる。つまり、調理A
に組合せ禁止フラグ1を、調理Bに組合せ禁止フラグ2
を、調理Cに組合せ禁止フラグ3を割り当て、調理Dに
関しては縦列要素パターンのマッチングの結果、調理B
と同一であるためグループ化され同じ組合せ禁止フラグ
2を割り当てる。次に、第2ステージ調理と第3ステー
ジ調理の各調理ペアに対して、その横列の要素がX印で
ある場合の第1ステージ調理の組合せ禁止フラグに対応
した組合せ禁止マスクを割り当てる。例えば、調理ペア
がA−Aの場合、X印は第1ステージ調理BとCとDに
付いているので組合せ禁止マスクは2と3が割り当てら
れる。調理Aの影響は受けない。FIG. 5 is a combination prohibition table, which shows the second stage cooking and the third stage cooking.
1st for cooking pair that can operate continuously in stage cooking
It shows whether stage cooking is a factor that prohibits continuous operation. If prohibited, mark X, and if allowed, mark O. Here, if all the elements in the column for the first stage cooking are ◯ marks, there is no combination prohibition condition, and if there is at least one X mark, the combination prohibition flag is assigned to the first stage cooking. That is, cooking A
Combination prohibition flag 1 in and combination prohibition flag 2 in cooking B
To the cooking C, the combination prohibition flag 3 is assigned to the cooking C, and the cooking D
And the same combination prohibition flag 2 is assigned. Next, to each cooking pair of the second stage cooking and the third stage cooking, a combination prohibition mask corresponding to the combination prohibition flag of the first stage cooking when the element in the row is the X mark is assigned. For example, when the cooking pair is A-A, since the X mark is attached to the first stage cooking B, C, and D, the combination prohibition masks 2 and 3 are assigned. It is not affected by Cooking A.
第6図は、組合せ禁止フラグ生成手段のフローチャー
トで、61で第5図の組合せ禁止表における第1ステージ
調理に対する縦列要素を調べ、X印を含んでいるかどう
かを62のX印有りか?で判断する。もし、含んでいなけ
れば次の第1ステージ調理に対して調べ、含んでいるな
らば63でそれまでの縦列要素パターンとマッチングを取
り、等しいパターンがあれば65でそのときの第1ステー
ジ調理と同じ組合せ禁止フラグを割り当てる。等しいパ
ターンがなければ64で新しい組合せ禁止フラグを割り当
てて、そのパターンを記憶する。以上を66で第1ステー
ジ調理すべてについて繰り返す。FIG. 6 is a flow chart of the combination prohibition flag generation means. At 61, the column element for the first stage cooking in the combination prohibition table of FIG. 5 is checked, and whether the X mark is included or not is there an X mark of 62? To judge. If it is not included, it is checked for the next first-stage cooking, and if it is included, 63 is matched with the previous column element pattern, and if there is an equal pattern, 65 is used to perform the first-stage cooking at that time. Assign the same combination prohibition flag as. If there is no equal pattern, a new combination prohibition flag is assigned at 64 and the pattern is stored. Repeat above at 66 for all first stage cooking.
第7図は、組合せ禁止マスク生成手段のフローチャー
トで、81で第5図の組合せ禁止表における料理ペアに対
する横列要素を調べ、X印がなければ次の調理ペアにつ
いて調べ、X印があれば83で対応する第1ステージ調理
に割り当てられた組合せ禁止フラグを組合せ禁止マスク
としてその調理ペアに割り当てる。以上を84ですべての
調理ペアについて繰り返す。FIG. 7 is a flowchart of the combination prohibition mask generation means. At 81, the row element for the food pair in the combination prohibition table of FIG. 5 is checked, and if there is no X mark, the next cooked pair is checked, and if there is an X mark, 83. The combination prohibition flag assigned to the corresponding first stage cooking is assigned to the cooking pair as a combination prohibition mask. Repeat 84 for all cooked pairs.
第8図は、組合せ禁止フラグ表で、第5、6図の結果
から各調理に対して割り当てられ、調理設定時にその時
点の禁止条件と論理和をとることによって、禁止条件を
更新するために用いる。FIG. 8 is a combination prohibition flag table, which is assigned to each cooking from the results of FIGS. 5 and 6, and is used to update the prohibition condition by taking the logical OR with the prohibition condition at that time when setting the cooking. To use.
第9図は、組合せ禁止マスク分布表で、第5、7図の
結果から各調理ペアに必要な組合せ禁止マスクの論理和
を、状態遷移表の該当する調理の組合せ可能箇所に割り
当て、調理組合せの可能不可能を判定するために使う。FIG. 9 is a combination prohibition mask distribution table. From the results of FIGS. 5 and 7, the logical sum of the combination prohibition masks required for each cooking pair is assigned to the corresponding possible combination points for cooking in the state transition table, and the cooking combination is set. Used to determine the feasibility of.
任意の調理設定時に、第9図の結果から得られる組合
せ禁止マスクとその時点での禁止条件との論理積をと
り、真であればその調理組合せが禁止されたことを示
し、処理をせずに抜ける。偽であればその調理組合せが
許可されたことを示し、処理を続行することを判断する
禁止条件判定処理を状態遷移表の該当箇所に挿入する。
さらに調理組合せが許可された場合、設定した調理に該
当する組合せ禁止フラグとそれまでの禁止条件との論理
和をとり、禁止条件を更新する禁止条件更新処理も挿入
する。以上より調理の組合せの判定が可能となる。When any cooking is set, the logical product of the combination prohibition mask obtained from the result of FIG. 9 and the prohibition condition at that time is taken, and if true, it indicates that the cooking combination is prohibited, and no processing is performed. Exit to. If the result is false, it indicates that the cooking combination has been permitted, and prohibition condition determination processing for determining whether to continue the processing is inserted in the relevant portion of the state transition table.
Further, when the cooking combination is permitted, a prohibition condition update process for updating the prohibition condition by inserting the logical sum of the combination prohibition flag corresponding to the set cooking and the prohibition condition up to that point is also inserted. From the above, it is possible to determine the combination of cooking.
尚、4ステージ以上設定可能な場合は、2ステージ間
の組合せ禁止条件を第2・第3ステージ、第3・第4ス
テージ調理の関係と拡張すれば、前記手法を応用するこ
とによって同様の処理が実現可能である。また、他分野
においても、調理設定のステージと同様の概念で状態と
事象を決定できるような状態遷移表を利用する組合せ判
定処理に対しては、本発明の応用が可能である。If four or more stages can be set, the same processing can be performed by applying the above method if the combination prohibition condition between the two stages is expanded to the relationship between the second and third stages and the third and fourth stage cooking. Is feasible. Further, in other fields as well, the present invention can be applied to a combination determination process using a state transition table that can determine states and events based on the same concept as the cooking setting stage.
発明の効果 以上、実施例からも明らかなように本発明による調理
組合せ判定処理生成方法は、3ステージ以上の連続動作
可能な調理設定に対して、その製品仕様として調理組合
せ表を与えるだけで、組合せ禁止フラグと組合せ禁止マ
スクとを生成し、状態遷移表において禁止条件更新処理
や判定処理を容易に生成・挿入することが可能である。
従来のように、人間が調理の組合せそれぞれに対して試
行錯誤の末、プログラム中に判定処理を挿入したり、多
くの組合せパターンを長時間かけて検索させる必要もな
く、容易にステージ移行の可能不可能を判定できるプロ
グラムが作成できる。EFFECTS OF THE INVENTION As described above, as is apparent from the embodiments, the cooking combination determination processing generation method according to the present invention, with respect to cooking settings capable of continuous operation of three or more stages, simply gives a cooking combination table as the product specification, It is possible to generate the combination prohibition flag and the combination prohibition mask, and easily generate / insert the prohibition condition update processing and the determination processing in the state transition table.
Unlike conventional methods, after trial and error for each cooking combination, it is not necessary for humans to insert judgment processing into the program or search for many combination patterns over a long period of time. Can create a program that can judge the impossibility.
これによって、プログラムに冗長もなく、調理組合せ
変更時にも調理組合せ表を変更するだけで短時間で容易
にプログラム更新が可能となり、プログラムの開発効率
が極めて向上すると共に信頼性の高いプログラムが提供
できる。As a result, there is no redundancy in the program, and even when the cooking combination is changed, the program can be easily updated in a short time only by changing the cooking combination table, and the development efficiency of the program is significantly improved and a highly reliable program can be provided. .
第1図は本発明の調理組合せ判定処理自動生成方法の1
実施例であるシステム構成図、第2図は本発明の一実施
例における基本的な処理の流れを示すフローチャート、
第3図は調理組合せ表図、第4図はステージ移行表図、
第5図は組合せ禁止表図、第6図は組合せ禁止フラグ生
成手段を示すフローチャート図、第7図は組合せ禁止マ
スク生成手段を示すフローチャート図、第8図は組合せ
禁止フラグ表図、第9図は組合せ禁止マスク分布表図、
第10図は調理組合せ判定処理の1従来例を示すフローチ
ャート、第11図は従来例で使用する調理組合せパターン
のテーブル図、第12図は同従来例で作成する状態遷移表
図である。 1……製品仕様格納手段、2……状態遷移表作成部、 3……状態遷移表作成手段、4……禁止条件作成部、 5……組合せ禁止表作成手段、 6……組合せ禁止フラグ生成手段、 7……組合せ禁止マスク生成手段、 8……処理挿入部、 9……禁止条件更新処理挿入手段、 10……組合せ判定処理挿入手段。FIG. 1 shows a cooking combination determination process automatic generation method 1 according to the present invention.
FIG. 2 is a system configuration diagram showing an embodiment, and FIG. 2 is a flowchart showing a basic processing flow in an embodiment of the present invention.
Fig. 3 is a cooking combination table, Fig. 4 is a stage transition table,
FIG. 5 is a combination prohibition table, FIG. 6 is a flow chart showing the combination prohibition flag generating means, FIG. 7 is a flow chart showing the combination prohibition mask generating means, FIG. 8 is a combination prohibition flag table, and FIG. Is a combination prohibited mask distribution chart,
FIG. 10 is a flowchart showing one conventional example of cooking combination determination processing, FIG. 11 is a table diagram of cooking combination patterns used in the conventional example, and FIG. 12 is a state transition table diagram created in the conventional example. 1 ... Product specification storing means, 2 ... State transition table creating section, 3 ... State transition table creating section, 4 ... Prohibition condition creating section, 5 ... Combination prohibition table creating section, 6 ... Combination prohibition flag generation Means, 7 ... Combination prohibition mask generation means, 8 ... Processing insertion section, 9 ... Prohibition condition update processing insertion means, 10 ... Combination determination processing insertion means.
Claims (1)
それらの調理の組合せが許可されるかどうかを判定する
処理を実現するとき、全調理と全調理設定キー情報およ
び連続動作可能な調理組合せ情報を格納した製品仕様格
納手段と、前記製品仕様格納手段の全調理と全調理設定
キー情報を基にして、各調理を状態に、各調理設定キー
の入力を事象に割り当て、それらのキー入力により入力
キーに応じた調理の設定処理を実行した後、状態の遷移
処理を行なうような状態遷移表を作成する状態遷移表作
成手段と、2ステージ間の調理設定の関係を表現できる
前記状態遷移表を用いて、3ステージ以上の調理設定を
行なう場合、前記製品仕様格納手段の連続動作可能な調
理組合せ情報を基にして、全調理間の連続動作可能な調
理組合せを調べ、連続動作可能な調理ペアがそれ以前に
設定される調理によって連続動作を禁止されるかどうか
を判断するために、すべての連続動作可能な調理ペアと
1つ前に設定され得る調理との関係を表わす組合せ禁止
表を作成する組合せ禁止表作成手段と、前記組合せ禁止
表を基にして、任意の調理設定以後に少なくとも1つの
調理ペアの設定を禁止する調理に対して、組合せ禁止フ
ラグを割り当てる組合せ禁止フラグ生成手段と、前記組
合せ禁止表を基にして、任意の調理ペアの設定以前に設
定される調理によって、連続動作を禁止される調理ペア
に対して、組合せ禁止マスクを割り当てる組合せ禁止マ
スク生成手段と、調理が設定される度にその調理に対応
した前記組合せ禁止フラグを以前の組合せ禁止条件値と
論理和をとることによって禁止条件を更新する処理を、
状態移行時の調理設定処理に挿入する禁止条件更新処理
挿入手段と、調理設定時にその時の状態移行が可能かど
うかを前記組合せ禁止マスクとその時点での前記禁止条
件との論理積を用いた組合せ判定処理を状態移行時の調
理設定処理の前に挿入する組合せ判定処理挿入手段とを
備えたことを特徴とする調理組合せ判定処理自動生成方
法。1. When setting cooking by a plurality of stages,
When realizing a process of determining whether or not the combination of those cookings is permitted, a product specification storing unit storing all cooking, all cooking setting key information, and cooking combination information capable of continuous operation, and the product specification storing unit Based on the total cooking and the total cooking setting key information, each cooking is set to the state, the input of each cooking setting key is assigned to the event, and the setting processing of the cooking corresponding to the input key is executed by those key inputs, When performing a cooking setting for three or more stages by using a state transition table creating means for creating a state transition table for performing a state transition process and the state transition table capable of expressing the relationship of cooking settings between two stages, On the basis of the information on the combination of continuously operable cooking stored in the product specification storing means, the combination of continuously operable cooking is examined, and the pair of continuously operable cooking is determined to be the cooking set before that. And a combination prohibition table creating means for creating a combination prohibition table showing a relationship between all cooking pairs capable of continuous operation and cooking which can be set immediately before, in order to determine whether or not the continuous operation is prohibited. , Based on the combination prohibition table, based on the combination prohibition table, and a combination prohibition flag generating means for allocating a combination prohibition flag to cooking for which setting of at least one cooking pair is prohibited after any cooking setting. Then, a combination prohibition mask generation means for assigning a combination prohibition mask to a cooking pair for which continuous operation is prohibited by the cooking set before the setting of an arbitrary cooking pair, and the cooking prohibition for each time the cooking is set. A process of updating the prohibition condition by ORing the corresponding combination prohibition flag with the previous combination prohibition condition value,
A combination using a logical product of the prohibition condition update process insertion means to be inserted in the cooking setting process at the time of state transition, and whether or not the state transition at the time of cooking setting is possible, the combination prohibition mask and the prohibition condition at that time. A combination determination process insertion means for inserting the determination process before the cooking setting process at the time of state transition, and a cooking combination determination process automatic generation method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10638088A JPH0833207B2 (en) | 1988-04-28 | 1988-04-28 | Cooking combination determination process automatic generation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10638088A JPH0833207B2 (en) | 1988-04-28 | 1988-04-28 | Cooking combination determination process automatic generation method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01277132A JPH01277132A (en) | 1989-11-07 |
| JPH0833207B2 true JPH0833207B2 (en) | 1996-03-29 |
Family
ID=14432105
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10638088A Expired - Fee Related JPH0833207B2 (en) | 1988-04-28 | 1988-04-28 | Cooking combination determination process automatic generation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0833207B2 (en) |
-
1988
- 1988-04-28 JP JP10638088A patent/JPH0833207B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01277132A (en) | 1989-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5559884A (en) | Method and system for generating and auditing a signature for a computer program | |
| US5191534A (en) | Engineering and manufacturing change control mechanism | |
| US7017142B1 (en) | Method and apparatus for applying business rules in an object model driven context | |
| JPH06259400A (en) | Simulation operating method of complicate system | |
| GB2222900A (en) | User interface system | |
| CN114064611B (en) | Metadata reusable data modeling method and system | |
| JPH0833207B2 (en) | Cooking combination determination process automatic generation method | |
| WO2007039387A1 (en) | Circuit design verification using checkpointing | |
| US5910901A (en) | Logic simulator | |
| EP0592076B1 (en) | Compilation mechanism for a simulation model | |
| JPH0236439A (en) | System for controlling design data | |
| JP3675038B2 (en) | Information processing device | |
| JP3516283B2 (en) | Character code conversion device and character code conversion method | |
| JP2831741B2 (en) | Storage Element Allocation Support Device in Architecture Synthesis System | |
| JPS63148373A (en) | Managing system for circuit diagram data | |
| JPH04205382A (en) | Method for checking clearance of mutual conductor patterns | |
| JP4226168B2 (en) | Microprocessor verification program creation device | |
| JP2844716B2 (en) | Logical matching method for sequential circuits | |
| Stickney | An application of graph theory to software test data selection | |
| JP2839574B2 (en) | Matching method for logic circuits containing indefinite values | |
| JPH09101982A (en) | CAD system for semiconductor integrated circuit | |
| JPH0721013A (en) | System generation method | |
| JPH0728634A (en) | User adaptive system and its adapting method | |
| WO1990007152A1 (en) | A modular blackboard-based expert system | |
| JPS6217667A (en) | Method for forming test pattern for circuit containing variable logic |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |