JP2007079956A - Information processing method and device, recording medium and program - Google Patents
Information processing method and device, recording medium and program Download PDFInfo
- Publication number
- JP2007079956A JP2007079956A JP2005267170A JP2005267170A JP2007079956A JP 2007079956 A JP2007079956 A JP 2007079956A JP 2005267170 A JP2005267170 A JP 2005267170A JP 2005267170 A JP2005267170 A JP 2005267170A JP 2007079956 A JP2007079956 A JP 2007079956A
- Authority
- JP
- Japan
- Prior art keywords
- state
- transition
- editing
- frame
- information
- 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.)
- Withdrawn
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は情報処理方法および装置、記録媒体、並びにプログラムに関し、特に、トランジションを接続する際、起点となるステートを認識しやすくできるようにした情報処理方法および装置、記録媒体、並びにプログラムに関する。 The present invention relates to an information processing method and apparatus, a recording medium, and a program, and more particularly, to an information processing method and apparatus, a recording medium, and a program that make it easy to recognize a starting state when connecting transitions.
アプリケーションソフトウェアプログラムの開発を支援する開発ツールが一般に普及しつつある。例えば、オブジェクト指向型のプログラムの開発を支援するものがある(例えば、特許文献1参照)。 Development tools that support the development of application software programs are becoming increasingly popular. For example, there is one that supports the development of an object-oriented program (for example, see Patent Document 1).
また、UML(Unified Modeling Language)に代表される状態遷移図を用いたアプリケーションソフトウェアプログラムのUI(User Interface)の開発ツールも提案されている。 Also, a UI (User Interface) development tool for an application software program using a state transition diagram represented by UML (Unified Modeling Language) has been proposed.
状態遷移図は、各状態毎に実行されるべき動作が論理的に記述されるとともに、各状態において発生する所定のイベントにより他の状態に遷移する方向が示された図である。上述したアプリケーションソフトウェアプログラムのUIの開発ツールは、プログラムを状態遷移図として表示させると共に、その表示された状態遷移図そのものが操作されると、状態遷移図の操作内容をプログラムに反映させることで、プログラムを編集するものである。 The state transition diagram is a diagram in which an operation to be executed for each state is logically described, and a direction in which a transition is made to another state by a predetermined event occurring in each state is shown. The UI development tool of the application software program described above displays the program as a state transition diagram, and when the displayed state transition diagram itself is operated, the operation content of the state transition diagram is reflected in the program, Edit the program.
ところで、上述したような開発ツールにおいては、状態を矩形状の枠(ステート枠)で表現し、第1の状態から第2の状態に遷移することを示すため、第1の状態を示すステート枠と、第2の状態を示すステート枠とを矢印状のトランジションにより結んでいる。トランジションは、矢印の基点となるステート枠の状態から、終点となるステート枠の状態に状態が遷移することを示し、トランジションの脇には、遷移のきっかけの動作であるイベントが表示される。 By the way, in the development tool as described above, the state is expressed by a rectangular frame (state frame), and the state frame indicating the first state is shown to indicate that the state is shifted from the first state to the second state. And a state frame indicating the second state are connected by an arrow-like transition. The transition indicates that the state transitions from the state of the state frame that is the base point of the arrow to the state of the state frame that is the end point, and an event that is an operation that triggers the transition is displayed beside the transition.
上述した開発ツールにおいては、ポインタを用いて、トランジションを状態遷移図に直接書き込む。より具体的には、起点にしたい状態のステート枠上にポインタを移動させ、ドラッグすると矢印の描画が開始され、ドラッグしたまま終点となる状態のステート枠上に移動され、ポインタが開放されると、矢印の描画が終了するものである。 In the development tool described above, the transition is directly written in the state transition diagram using the pointer. More specifically, move the pointer over the state frame you want to start from and drag to start drawing an arrow, move to the state frame that will be the end point while dragging, and release the pointer. This completes the drawing of the arrow.
しかしながら、状態遷移図は、表示画面上に必ずしもその全景が表示されるわけではないので、トランジションの描画を開始したステート枠と、終点のステート枠とが同一画面上に表示されないことがある。このような場合、トランジションを描画する先頭位置が画面からはみ出すような操作をすると、これに対応して、状態遷移図がスクロールする構成となり、ポインタのみがスクロールにより状態遷移図上を移動することになる。 However, in the state transition diagram, since the entire view is not necessarily displayed on the display screen, the state frame where the drawing of the transition is started and the end state frame may not be displayed on the same screen. In such a case, if an operation is performed such that the start position for drawing the transition protrudes from the screen, the state transition diagram scrolls correspondingly, and only the pointer moves on the state transition diagram by scrolling. Become.
この際、スクロールにより起点となるステート枠の状態が、画面から消えるため、操作の途中で起点となるステートを忘れてしまうようなことがあると、トランジションの起点と終点となる状態を誤って結んでしまったりすることがあった。また、操作の途中で起点となるステートを忘れてしまった場合、より正確にトランジションを描画させるには、一度、トランジションの描画を中止し、起点となる状態のステート枠が表示された位置まで状態遷移図をスクロールして再度確認する必要があり、トランジションの描画を面倒なものとしていた。 At this time, since the state of the state frame that is the starting point disappears from the screen by scrolling, if the state that becomes the starting point is forgotten during the operation, the state that becomes the starting point and ending point of the transition is mistakenly connected. There were times when I was lost. In addition, if you forget the starting state in the middle of the operation, in order to draw the transition more accurately, stop drawing the transition once and return to the position where the state frame of the starting state is displayed. It was necessary to scroll the transition diagram and check it again, which made the drawing of transitions cumbersome.
本発明は、このような状況に鑑みてなされたものであり、特に、トランジションを描画する際、起点となる状態を正確に認識しながら描画できるようにするものである。 The present invention has been made in view of such a situation, and in particular, when a transition is drawn, the drawing can be performed while accurately recognizing the starting state.
本発明の一側面の情報処理方法は、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集ステップと、前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する。 An information processing method according to an aspect of the present invention includes a state transition including an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is to be transitioned by the event. An editing step for editing information, a display step for displaying a state transition diagram based on the state transition information edited by the processing of the editing step, and an operation for operating the state transition diagram displayed by the processing of the display step An editing transition generation step for generating an editing transition from a state frame indicating a state as a starting point on the state transition diagram according to an operation content in the processing of the operation step, and a head of the editing transition Copy frame generation that generates a copy frame that is a copy of the starting state frame at a position close to the position If the start position of the editing transition is connected to a state frame different from the starting state according to the operation content in the operation step processing, the editing step processing is The state transition information is edited so that a state different from the starting state is a transition destination in the starting state.
前記複写枠生成ステップの処理には、前記編集用トランジションの先頭位置に対して、所定の近傍の位置に、前記起点の状態枠の複写である複写枠を生成させるようにすることができる。 In the process of generating the copy frame, a copy frame that is a copy of the starting state frame can be generated at a position near a predetermined position with respect to the start position of the editing transition.
前記複写枠の前記起点の状態枠に対する加工手法を設定する設定ステップをさらに含ませるようにすることができる。 A setting step for setting a processing method for the state frame of the origin of the copy frame may be further included.
前記設定ステップの処理には、前記複写枠の前記起点の状態枠に対する、前記複写枠の透明度、前記編集用トランジションの先頭位置から複写枠の表示位置までの距離、前記複写枠の前記起点の状態枠に対する縮小率、または前記複写枠の表示色を含む加工手法を設定させるようにすることができる。 The processing of the setting step includes the transparency of the copy frame relative to the starting state frame of the copy frame, the distance from the start position of the editing transition to the display position of the copy frame, the state of the starting point of the copy frame A processing method including a reduction ratio with respect to the frame or a display color of the copy frame can be set.
前記複写枠生成ステップには、前記編集用トランジションの先頭位置に対して、所定の近傍の位置に、前記起点の状態枠の複写である複写枠を前記設定ステップの処理で設定された加工手法により加工して生成させるようにすることができる。 In the copy frame generation step, a copy frame, which is a copy of the starting state frame, is positioned near a predetermined position with respect to the start position of the editing transition by the processing method set in the setting step processing. It can be generated by processing.
本発明の一側面の情報処理装置は、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集手段と、前記編集手段により編集された状態遷移情報に基づいて、状態遷移図を表示する表示手段と、前記表示手段により表示された状態遷移図を操作する操作手段と、前記操作手段における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成手段と、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成手段とを含み、前記操作手段における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する。 An information processing apparatus according to an aspect of the present invention includes a state transition including information on an operation in each state, an event at the time of transition in each state, and a transition direction indicating which other state is to be transitioned by the event Editing means for editing information; display means for displaying a state transition diagram based on state transition information edited by the editing means; operating means for operating the state transition diagram displayed by the display means; An editing transition generation unit that generates an editing transition from a state frame indicating a state that is a starting point on the state transition diagram according to an operation content in the operation unit, and a proximity to the start position of the editing transition A copy frame generating means for generating a copy frame that is a copy of the starting state frame at the position, and responding to the operation contents of the operation means. When the leading position of the editing transition is connected to a state frame that is different from the state that is the starting point, the processing of the editing step is a state that is different from the state that is the starting point. The state transition information is edited so as to be a transition destination in the state.
本発明の一側面の記録媒体のプログラムは、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集ステップと、前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、
前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する。
The recording medium program according to one aspect of the present invention includes an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is to be transitioned by the event An editing step for editing transition information, a display step for displaying a state transition diagram based on the state transition information edited by the processing of the editing step, and a state transition diagram displayed by the processing of the display step An editing step for generating an editing transition from a state frame indicating a state as a starting point on the state transition diagram according to the operation content in the processing of the operating step, and an editing transition generation step A copy frame that is a copy of the starting state frame is generated at a position near the head position. And a frame generation step,
If the start position of the editing transition is connected to a state frame different from the starting state according to the operation content in the operating step processing, the editing step processing is the starting point. The state transition information is edited so that a state different from the state becomes a transition destination in the starting state.
本発明の一側面のプログラムは、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集ステップと、前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する処理をコンピュータに実行させる。 The program according to one aspect of the present invention includes state transition information including information on an operation in each state, an event at the time of transition in each of the states, and a transition direction indicating which of the other states is to be transitioned by the event. An editing step for editing, a display step for displaying a state transition diagram based on the state transition information edited by the process of the editing step, and an operation step for operating the state transition diagram displayed by the process of the display step; An editing transition generation step for generating an editing transition from a state frame indicating a state as a starting point on the state transition diagram according to an operation content in the processing of the operation step, and at the head position of the editing transition On the other hand, a copy frame generation thread for generating a copy frame which is a copy of the starting state frame at a position in the vicinity. And when the head position of the editing transition is connected to a state frame that is different from the starting state according to the operation content in the operation step processing, the editing step processing Causes the computer to execute a process of editing the state transition information so that a state different from the starting state is set as a transition destination in the starting state.
本発明の一側面の情報処理方法および装置、並びにプログラムにおいては、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報が編集され、前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図が表示され、表示された状態遷移図が操作され、操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションが生成され、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠が生成され、操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報が編集される。 In the information processing method and apparatus, and the program according to one aspect of the present invention, an operation in each state, an event at the time of transition in each of the states, and a transition direction indicating which of the other states is transitioned by the event The state transition information including the information is edited, the state transition diagram is displayed based on the state transition information edited by the processing of the editing step, the displayed state transition diagram is operated, and according to the operation content, An editing transition is generated from the state frame indicating the starting state on the state transition diagram, and a copy frame that is a copy of the starting state frame is located at a position near the start position of the editing transition. Depending on the generated operation, the start position of the editing transition is connected to a state frame that is different from the starting state. If the state different from the state in which the said starting point, the state transition information is edited to a transition destination in a state serving as the start point.
情報処理装置は、独立した装置であっても良いし、情報処理装置の情報処理を行うブロックであっても良い。 The information processing apparatus may be an independent apparatus or a block that performs information processing of the information processing apparatus.
以上のように、本発明の一側面によれば、トランジションを描画する際、起点となる状態を正確に認識しながら描画することが可能となる。 As described above, according to one aspect of the present invention, when a transition is drawn, it is possible to draw while accurately recognizing a starting state.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.
本発明の一側面の情報処理方法およびプログラムは、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集ステップ(例えば、図4のステップS2,S4,S6の処理)と、前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップ(例えば、図16のステップS141の処理)と、前記表示ステップの処理により表示された状態遷移図を操作する操作ステップ(例えば、図6のステップS41,S47,S55の処理)と、前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップ(例えば、図6のステップS52の処理)と、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップ(例えば、図6のステップS53の処理)とを含み、前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する(例えば、図6のステップS63の処理)。 An information processing method and program according to an aspect of the present invention includes information on an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is to be transitioned by the event. An editing step for editing the state transition information (for example, steps S2, S4, and S6 in FIG. 4) and a display step for displaying a state transition diagram based on the state transition information edited by the processing in the editing step ( For example, the processing in step S141 in FIG. 16), the operation step for operating the state transition diagram displayed by the processing in the display step (for example, the processing in steps S41, S47, S55 in FIG. 6), In accordance with the operation content in the process, the editing transition from the state frame indicating the starting state on the state transition diagram. An edit transition generation step (for example, the process of step S52 in FIG. 6) for generating an image and a copy frame that is a copy of the starting state frame at a position near the start position of the edit transition And a copy frame generation step (for example, the process of step S53 in FIG. 6), and the start position of the editing transition is different from the starting state in accordance with the operation content in the operation step process When the state transition information is connected, the processing of the editing step edits the state transition information so that a state different from the starting state is a transition destination in the starting state (for example, FIG. Step 6 of step S63).
前記複写枠生成ステップ(例えば、図6のステップS53の処理)の処理には、前記編集用トランジションの先頭位置に対して、所定の近傍の位置に、前記起点の状態枠の複写である複写枠を生成させるようにすることができる。 In the copy frame generation step (for example, the process of step S53 in FIG. 6), a copy frame that is a copy of the starting state frame at a predetermined position relative to the start position of the editing transition. Can be generated.
前記複写枠の前記起点の状態枠に対する加工手法を設定する設定ステップ(例えば、図17のステップS164の処理)をさらに含ませるようにすることができる。 It is possible to further include a setting step (for example, the process of step S164 in FIG. 17) for setting a processing technique for the starting state frame of the copy frame.
前記設定ステップの処理(例えば、図17のステップS164の処理)には、前記複写枠の前記起点の状態枠に対する、前記複写枠の透明度、前記編集用トランジションの先頭位置から複写枠の表示位置までの距離、前記複写枠の前記起点の状態枠に対する縮小率、または前記複写枠の表示色を含む加工手法を設定させるようにすることができる。 The processing of the setting step (for example, the processing of step S164 in FIG. 17) includes the transparency of the copy frame with respect to the starting state frame of the copy frame, from the start position of the editing transition to the display position of the copy frame. The processing method including the distance, the reduction ratio of the copy frame with respect to the state frame of the starting point, or the display color of the copy frame can be set.
前記複写枠生成ステップ(例えば、図9のステップS81,S84の処理)には、前記編集用トランジションの先頭位置に対して、所定の近傍の位置に、前記起点の状態枠の複写である複写枠を前記設定ステップの処理で設定された加工手法により加工して生成させるようにすることができる。 In the copy frame generation step (for example, the processing in steps S81 and S84 in FIG. 9), a copy frame that is a copy of the starting state frame at a predetermined position relative to the start position of the editing transition. Can be generated by processing using the processing method set in the processing of the setting step.
本発明の一側面の情報処理装置は、それぞれの状態における動作、それぞれの前記状態における遷移時のイベント、および前記イベントによりどの他の前記状態に遷移するかを示す遷移方向の情報を含む状態遷移情報を編集する編集手段(例えば、図1の編集部12)と、前記編集手段により編集された状態遷移情報に基づいて、状態遷移図を表示する表示手段(例えば、図1の表示部18)と、前記表示手段により表示された状態遷移図を操作する操作手段(例えば、図1の操作部11)と、前記操作手段における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成手段(例えば、図1の編集用トランジション生成部44)と、前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成手段(例えば、図1の随伴ステート枠生成部43)とを含み、前記操作手段における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する。
An information processing apparatus according to an aspect of the present invention includes a state transition including information on an operation in each state, an event at the time of transition in each state, and a transition direction indicating which other state is to be transitioned by the event Editing means for editing information (for example, the
このように、状態遷移図の編集においてトランジションの遷移先まで引く際、トランジションの先頭位置の近傍付近に、トランジションの起点となる状態のステート枠が表示されることにより、起点となる状態を認識しつつ、トランジションを描画することが可能となる。従って、仮に、状態遷移図がスクロールするなどして、実際の起点となる状態のステート枠が見えない状態になっても、正確に起点となる状態を認識しながらトランジションを描画することが可能となる。 In this way, when drawing to the transition transition destination in editing the state transition diagram, the state frame that is the starting point of the transition is displayed near the beginning of the transition, thereby recognizing the starting state. However, it is possible to draw a transition. Therefore, even if the state transition diagram scrolls and the state frame of the actual starting state becomes invisible, it is possible to draw the transition while accurately recognizing the starting state. Become.
図1は、本発明を適用した状態遷移プログラム編集装置1の一実施の形態の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an embodiment of a state transition
状態遷移プログラム編集装置1は、アプリケーションソフトウェアプログラムにおけるUIのプログラムの開発を目的とした編集装置であり、各状態における動作、それぞれの状態における遷移時のイベント、および各イベント毎にどの他の状態に遷移するかを示す遷移方向の情報を含む状態遷移情報(ステートデータ)に基づいて、状態遷移図を生成すると共に、生成した状態遷移図を表示する。さらに、状態遷移プログラム編集装置1は、表示した状態遷移図が操作されることにより変更されると、変更された状態遷移図に対応して、状態遷移情報を更新する。
The state transition
操作部11は、マウスやキーボードなどから構成されており、状態遷移プログラム編集装置1を操作するユーザによる操作に対応する信号を発生して編集部12に供給する。
The operation unit 11 includes a mouse, a keyboard, and the like. The operation unit 11 generates a signal corresponding to an operation by a user who operates the state transition
編集部12は、ステート編集部31、トランジション編集部32、およびスクリプト編集部33より構成されており、操作部11より供給されてくる信号に基づいて、状態遷移情報(ステートデータ)を編集する。ステートデータは、各状態(ステート)毎に動作を示す情報(スクリプト情報)およびイベントに応じて遷移する状態の遷移先の情報(トランジション情報)が記述されている。
The
ステート編集部31は、状態(ステート)の新規生成、および表示位置や大きさなどの情報を編集し、編集結果をステートデータ格納部13に格納させる。トランジション編集部32は、各状態における動作が実行されている間に発生するイベントに応じて、遷移する遷移先となる状態の情報を編集し、ステートデータ格納部13に格納させる。より詳細には、トランジション編集部32は、操作部11の操作内容に応じて、トランジションを矢印として描画しながら編集する。この際、トランジション編集部32は、描画情報を状態遷移図生成部14に供給する。スクリプト編集部33は、各状態における動作内容を編集し、ステートデータ格納部13に格納させる。
The
ステートデータ格納部13は、各状態(ステート)毎に編集部12によりトランジション情報やスクリプト情報が編集されたステートデータを格納し、必要に応じて状態遷移図生成部14および状態遷移エンジン15に供給する。
The state
状態遷移図生成部14は、ステート枠生成部41、トランジション生成部42、随伴ステート枠生成部43、編集用トランジション生成部44、および随伴ステート枠設定データ設定部45から構成されており、ステートデータ格納部13に格納されているステートデータを読み出し、状態遷移図を生成し、表示制御部17に供給する。ステート枠生成部41は、各状態毎に矩形の枠(ステート枠)を生成すると共に、状態遷移エンジン15より供給される今現在の状態の情報に基づいて、今現在の状態を示すステート枠内の表示色を変化させて表示する。トランジション42は、各状態における動作中に発生するイベント毎に遷移先を示す矢印を生成する。
The state transition
編集用トランジション生成部44は、編集部12より供給される編集中のトランジションの情報に基づいて、起点となる状態のステート枠から引かれている編集用トランジションを生成する。
The editing
随伴ステート枠生成部43は、編集用トランジションの先頭位置に対して、近傍の所定位置にトランジションの起点となる状態のステート枠のコピーを生成する。この際、生成されるコピーは、予め随伴ステート枠設定データ設定部45により設定された随伴ステート枠設定データに基づいて生成される。
The accompanying state
状態遷移エンジン15は、ステートデータ格納部13に格納されているステートデータを読み出すと共に、イベント検出部19より供給されるイベントの情報に基づいて、今現在のステートを検索し、検索結果である今現在のステートを示す情報を状態遷移図生成部14および状態動作実行部16に供給する。
The
状態動作実行部16は、状態遷移エンジン15より供給される今現在の状態のステートデータに基づいて、現在の状態の動作を実行し、実行結果を表示制御部17に供給する。
The state
表示制御部17は、状態遷移図表示制御部51、および状態動作表示制御部52より構成され、表示部18に表示する表示画面を生成して表示させる。
The
状態遷移図表示制御部51は、状態遷移図生成部14より供給されてくる状態遷移図の情報に基づいて、例えば、図2の状態遷移図表示画面111を生成し、表示を制御する。図2においては、状態A(State A:ステートA)を示すステート枠131、状態B(State B:ステートB)を示すステート枠132、状態C(State C:ステートC)を示すステート枠133、および、状態D(State D:ステートD)を示すステート枠134が示されており、それぞれが、トランジション141乃至148で結ばれている。トランジション141乃至148は、それぞれ状態間を遷移する方向とイベントを示している。
The state transition diagram display control unit 51 generates, for example, the state transition
より詳細には、トランジション141は、「KeyPress_x」と示され、矢印が状態Aから状態Dに向って表示されており、状態Aの動作が実行されている場合、操作部11の「x」のキーが操作されるというイベントが発生すると、状態Aから状態Bに遷移することを示している。
More specifically, the
同様に、トランジション142は、「KeyPress_2」と示され、矢印が状態Aから状態Bに向って表示されており、状態Aの動作が実行されている場合、操作部11の「2」のキーが操作されるというイベントが発生すると、状態Aから状態Bに遷移することを示している。
Similarly, the
また、トランジション143は、「KeyPress_3」と示され、矢印が状態Bから状態Aに向って表示されており、状態Bの動作が実行されている場合、操作部11の「3」のキーが操作されるというイベントが発生すると、状態Bから状態Aに遷移することを示している。
In addition, the
さらに、トランジション144は、「KeyPress_b」と示され、矢印が状態Bから状態Cに向って表示されており、状態Bの動作が実行されている場合、操作部11の「b」のキーが操作されるというイベントが発生すると、状態Bから状態Cに遷移することを示している。
Further, the
また、トランジション145は、「KeyPress_a」と示され、矢印が状態Cから状態Bに向って表示されており、状態Cの動作が実行されている場合、操作部11の「a」のキーが操作されるというイベントが発生すると、状態Cから状態Bに遷移することを示している。
In addition, the
さらに、トランジション146は、「KeyPress_1」と示され、矢印が状態Cから状態Dに向って表示されており、状態Cの動作が実行されている場合、操作部11の「1」のキーが操作されるというイベントが発生すると、状態Cから状態Dに遷移することを示している。
Further, the
また、トランジション147は、「KeyPress_0」と示され、矢印が状態Dから状態Cに向って表示されており、状態Dの動作が実行されている場合、操作部11の「0」のキーが操作されるというイベントが発生すると、状態Dから状態Cに遷移することを示している。
The
さらに、トランジション148は、「KeyPress_z」と示され、矢印が状態Dから状態Aに向って表示されており、状態Dの動作が実行されている場合、操作部11の「z」のキーが操作されるというイベントが発生すると、状態Dから状態Aに遷移することを示している。
Further, the
図1の説明に戻る。 Returning to the description of FIG.
状態動作表示制御部52は、状態動作実行部16より供給される状態動作の実行結果に基づいて、例えば、図2で示されるような状態動作画面112を生成し、表示を制御する。
The state operation
表示部18は、CRT(Cathode Ray Tube)またはLCD(Liquid Crystal Display)などから構成され、表示制御部17により生成された画面を表示する。
The
次に、図3を参照して、ステートデータ格納部13に格納されるステート情報について説明する。
Next, state information stored in the state
ステート情報は、例えば、図2の状態遷移図表示画面111で示されるような状態遷移図が構成されるような場合、図3で示されるような状態で、状態A乃至D毎にステートデータ格納部13に格納されている。図3においては、左から状態A乃至Dの順にステート情報のデータ構造が示されている。
For example, when the state transition diagram as shown in the state transition
各ステート(状態)には、トランジション情報として、各イベントと対応する遷移先となる状態の情報が記録される領域が確保されている。また、各状態におけるスクリプトが記録される領域が確保されている。 In each state (state), an area in which information of a state that is a transition destination corresponding to each event is recorded as transition information. In addition, an area for recording a script in each state is secured.
すなわち、図3の状態A(State A)においては、トランジション情報として、イベント欄には「KeyPress_2」および「KeyPress_x」が記録され、対応する遷移先として、それぞれ「State B」および「State D」と記録されている。すなわち、このトランジション情報は、図2のトランジション142,141にそれぞれ対応する情報として記録されている。また、状態Aの場合、トランジション情報の下には、スクリプト情報として、「スクリプトA」(状態Aにおいて実行される動作を示す記述)が記録されている。
That is, in the state A (State A) of FIG. 3, “KeyPress_2” and “KeyPress_x” are recorded in the event column as transition information, and “State B” and “State D” are respectively set as the corresponding transition destinations. It is recorded. That is, the transition information is recorded as information corresponding to the
さらに、状態B(State B)においては、トランジション情報として、イベント欄には「KeyPress_3」および「KeyPress_b」が記録され、対応する遷移先として、それぞれ「State A」および「State C」と記録されている。すなわち、このトランジション情報は、図2のトランジション143,144にそれぞれ対応する情報として記録されている。また、状態Bの場合、トランジション情報の下には、スクリプト情報として、「スクリプトB」が記録されている。
Furthermore, in state B (State B), “KeyPress_3” and “KeyPress_b” are recorded in the event column as transition information, and “State A” and “State C” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the
さらに、状態C(State C)においては、トランジション情報として、イベント欄には「KeyPress_a」および「KeyPress_1」が記録され、対応する遷移先として、それぞれ「State B」および「State D」と記録されている。すなわち、このトランジション情報は、図2のトランジション145,146にそれぞれ対応する情報として記録されている。また、状態Cの場合、トランジション情報の下には、スクリプト情報として、「スクリプトC」が記録されている。
Furthermore, in state C (State C), “KeyPress_a” and “KeyPress_1” are recorded in the event column as transition information, and “State B” and “State D” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the
さらに、状態D(State D)においては、トランジション情報として、イベント欄には「KeyPress_z」および「KeyPress_0」が記録され、対応する遷移先として、それぞれ「State A」および「State C」と記録されている。すなわち、このトランジション情報は、図2のトランジション148,147にそれぞれ対応する情報として記録されている。また、状態Dの場合、トランジション情報の下には、スクリプト情報として、「スクリプトD」が記録されている。
Furthermore, in state D (State D), “KeyPress_z” and “KeyPress_0” are recorded in the event column as transition information, and “State A” and “State C” are recorded as the corresponding transition destinations, respectively. Yes. That is, this transition information is recorded as information corresponding to the
次に、図4のフローチャートを参照して、編集部12による状態遷移プログラム編集処理について説明する。
Next, the state transition program editing process by the
ステップS1において、ステート編集部31は、操作部11より供給されてくる信号に基づいて、ステート編集が指示されたか否かを判定する。ステップS1において、例えば、ステート編集処理が指示されたと判定された場合、ステップS2において、ステート編集部31は、ステート編集処理を実行し、その処理は、元に戻る。尚、ステート編集処理については、図5を参照して後述する。
In step S <b> 1, the
ステップS1において、例えば、ステート編集処理が指示されていないと判定された場合、ステップS3において、トランジション編集部32は、操作部11より供給されてくる信号に基づいて、トランジション編集が指示されたか否かを判定する。ステップS3において、例えば、トランジション編集処理が指示されたと判定された場合、ステップS4において、トランジション編集部32は、トランジション編集処理を実行し、その処理は、元に戻る。尚、トランジション編集処理については、図6を参照して後述する。
In step S1, for example, when it is determined that the state editing process is not instructed, in step S3, the
ステップS3において、例えば、トランジション編集処理が指示されていないと判定された場合、ステップS5において、スクリプト編集部33は、操作部11より供給されてくる信号に基づいて、スクリプト編集が指示されたか否かを判定する。ステップS5において、例えば、スクリプト編集処理が指示されたと判定された場合、ステップS6において、スクリプト編集部33は、スクリプト編集処理を実行し、その処理は、元に戻る。尚、スクリプト編集処理については、図7を参照して後述する。
In step S3, for example, when it is determined that the transition editing process is not instructed, in step S5, the
以上の処理により、ステートデータが更新されることになるので、対応する状態遷移プログラムが更新される。 Since the state data is updated by the above processing, the corresponding state transition program is updated.
次に、図5のフローチャートを参照して、ステート編集処理について説明する。 Next, the state editing process will be described with reference to the flowchart of FIG.
ステップS21において、ステート編集部31は、操作部11からの信号に基づいて、新規のステート(状態)を生成する処理であるか否かを判定する。例えば、図2の表示画面101上の図示せぬボタンが操作され、新規のステートを生成する処理が指示された場合、ステップS22において、ステート編集部31は、新規のステートを生成する。すなわち、ステート編集部31は、新たな状態に対応するステート情報をステートデータ格納部13に記録する。
In step S <b> 21, the
ステップS23において、ステート編集部31は、新規に生成されたステートを編集対象ステートに設定する。
In step S23, the
ステップS24において、ステート編集部31は、編集対象ステートのステート情報に更新があるか否かを判定する。ここで更新の有無が判定されるのは、ステート情報のうちステート名や対応するステート枠の表示位置などの情報である。すなわち、ステート編集部31が編集するのは、ステート情報のうち、ステート名およびステート枠の表示位置の情報である。
In step S24, the
ステップS24において、ステート情報のうち、ステート名およびステート枠の表示位置の情報に更新があると判定された場合、ステップS25において、ステート編集部31は、更新された、ステート名およびステート枠の表示位置の情報を編集対象ステートのステート情報に反映させて更新する。
In step S24, when it is determined that the state name and the display position information of the state frame are updated in the state information, in step S25, the
一方、ステップS24において、更新がないと判定された場合、ステップS25の処理は、スキップされる。 On the other hand, if it is determined in step S24 that there is no update, the process of step S25 is skipped.
ステップS26において、ステート編集処理の終了が指示されたか否かを判定し、終了が指示されない場合、その処理は、ステップS24に戻り、終了が指示されたと判定された場合、ステート編集処理は終了する。 In step S26, it is determined whether or not the end of the state editing process is instructed. If the end is not instructed, the process returns to step S24, and if it is determined that the end is instructed, the state editing process ends. .
また、ステップS21において、新規のステートの生成ではないと判定された場合、ステップS27において、既存のステートが選択されたか否かが判定される。すなわち、図16を参照して後述する表示処理により表示される、例えば、図2で示されるような状態遷移図表示画面111上に表示された既存のステート枠131乃至134のいずれかが図示せぬポインタが操作部11により操作されて選択されたか否かにより、対応するステートA乃至Dのステートデータ格納部13により格納されているステート情報のいずれかが選択されたか否かが判定される。例えば、既存のステートのステート情報が選択された場合、ステップS28において、ステート編集部31は、選択されたステートを編集対象ステートに設定し、その処理は、ステップS24に進む。
If it is determined in step S21 that a new state is not generated, it is determined in step S27 whether an existing state is selected. That is, any of the existing state frames 131 to 134 displayed on the state transition
一方、ステップS27において、既存のステートが選択されたと判定されなかった場合、その処理は、ステップS21に戻り、それ以降の処理が繰り返される。 On the other hand, if it is not determined in step S27 that an existing state has been selected, the process returns to step S21, and the subsequent processes are repeated.
すなわち、以上の処理により、新規のステート、または、既存のステートの何れかのステート情報について、ステート名およびステート枠の表示位置が、新たに設定されるか、または、更新されることになる。 That is, by the above processing, the state name and the display position of the state frame are newly set or updated for state information of a new state or an existing state.
次に、図6のフローチャートを参照して、トランジション編集処理について説明する。 Next, the transition editing process will be described with reference to the flowchart of FIG.
ステップS41において、トランジション編集部32は、操作部11の操作ボタンが押下されただけの状態であるか否かを判定する。より具体的には、操作部11は、例えば、マウスであるような場合、マウスの操作ボタンが押下されたか否かを判定する。例えば、ステップS41において、操作部11の操作ボタンが押下されたと判定された場合、その処理は、ステップS142に進む。
In step S41, the
ステップS42において、トランジション編集部32は、ドラッグモードをオフに設定し、編集対象ステート(編集対象にする状態)の情報を初期化する。すなわち、現時点では、ドラッグモードがなされておらず、編集対象ステートも設定されていない状態となる。尚、ドラッグモードとは、操作部11の操作ボタンが押下されることにより、編集対象の何れかをポインタ(マウスポインタ)に固定させ、ポインタと同期して移動可能なモードを示し、ドラッグモードではない場合、いずれの編集対象もポインタと同期して移動する設定がなされていないモードを示す。
In step S42, the
ステップS43において、トランジション編集部32は、操作部11からの信号に基づいて、ポインタの位置(Xc,Yc)を取得する。
In step S43, the
ステップS44において、トランジション編集部32は、ステートデータ格納部13にアクセスし、ポインタの位置(Xc,Yc)が何れかのステート枠内の位置であるか否かを判定する。例えば、図7で示されるようにポインタ171が、ステート枠131の状態Aのステート枠内に存在するような場合、ポインタの位置(Xc,Yc)がステート枠131内に存在するので、ポインタの位置(Xc,Yc)を編集用トランジションの開始位置(Xs,Ys)に設定し、その処理は、ステップS45に進む。
In step S44, the
ステップS45において、トランジション編集部32は、ステート枠131の状態Aを編集対象ステートに設定し、その処理は、ステップS46に進む。
In step S45, the
ステップS46において、トランジション編集部32は、操作部11が操作されて、トランジションの編集の終了が指示されたか否かを判定し、終了が指示された場合、その処理は、終了する。一方、ステップS46において、編集終了が指示されていないと判定された場合、その処理は、ステップS41に戻る。
In step S46, the
さらに、ステップS44において、ポインタの位置(Xc,Yc)が何れかのステート枠内の位置ではない場合、ステップS45の処理がスキップされ、いずれのステートも編集対象ステートではない状態が維持されたままとなる。 Furthermore, if the pointer position (Xc, Yc) is not in any state frame in step S44, the process in step S45 is skipped, and none of the states is maintained as an editing target state. It becomes.
ステップS41において、操作部11の操作ボタンが押下されただけの状態ではないと判定された場合、ステップS47において、トランジション編集部32は、操作部11の操作ボタンが押下され、かつ、移動されているか否かを判定する。ステップS47において、操作部11の操作ボタンが押下され、かつ、移動されていると判定された場合、ステップS48において、編集対象ステートが存在するか否かを判定する。
When it is determined in step S41 that the operation button of the operation unit 11 is not just pressed, the
例えば、図7で示される状態から操作部11が操作されて、ポインタ171が押下され、かつ、いずれかの方向に移動した場合、編集対象ステートが、ステート枠131で示される状態Aに設定されているので、編集対象ステートがあると判定され、その処理は、ステップS49に進む。
For example, when the operation unit 11 is operated from the state shown in FIG. 7 and the
ステップS49において、トランジション編集部32は、ポインタの位置(Xc,Yc)を取得する。
In step S49, the
ステップS50において、トランジション編集部32は、ドラッグモードであるか否かを判定する。今の場合、ドラッグモードが設定されていないので、処理は、ステップS51に進む。
In step S50, the
ステップS51において、トランジション編集部32は、状態遷移図生成部14を制御して、これまでに描画してきた編集用トランジションと、後述する随伴ステート枠を消去させる。このとき、状態遷移図生成部14の随伴ステート枠生成部43および編集用トランジション生成部44は、これまでの処理で編集用に生成した(後述する表示処理により表示されていた)編集用トランジションと、随伴ステート枠とをいずれも削除する。
In step S51, the
ステップS52において、トランジション編集部32は、状態遷移図生成部14を制御して、編集対象ステートからポインタの位置(Xc,Yc)までの編集用トランジションを描画させる。このとき、状態遷移図生成部14の編集用トランジション生成部44は、例えば、図8で示されるような、編集対象ステートである状態Aのステート枠131からポインタ171までの編集用トランジション181を生成し、表示制御部17に供給する(生成された編集用トランジションは、後述する表示制御部17による表示処理により表示される)。
In step S52, the
ステップS53において、トランジション編集部32は、ポインタの位置(Xc,Yc)および開始位置(Xs,Ys)の情報を状態遷移図生成部14に供給し、随伴ステート枠生成処理を実行させ、例えば、図8で示されるような随伴ステート枠182を生成させる。
In step S53, the
ここで、図9のフローチャートを参照して、随伴ステート枠生成処理について説明する。 Here, the accompanying state frame generation processing will be described with reference to the flowchart of FIG.
ステップS81において、随伴ステート枠生成部43は、図17を参照して後述する随伴ステート枠設定データ設定処理により設定される随伴ステート枠設定データを随伴ステート枠設定データ設定部45より読み出す。随伴ステート枠設定データには、随伴ステート枠を表示するときの透明度、距離L、編集対象ステート枠に対する縮小率、および前景色の情報が含まれている。尚、随伴ステート枠設定データについては、詳細を後述する。
In step S81, the accompanying state
ステップS82において、随伴ステート枠生成部43は、トランジション編集部32からのポインタの位置(Xc,Yc)および開始位置(Xs,Ys)に基づいて、ポインタの位置(Xc,Yc)と開始位置(Xs,Ys)との距離(=√((Xc−Xs)2+(Yc−Ys)2))が、予め設定された随伴ステート枠が表示可能な距離Lよりも離れているか否かを判定する。ここで、距離Lとは、図10で示されるように、編集用トランジション181の先頭位置から随伴ステート枠182を表示する中心位置までの距離であり、この距離L以上の長さの編集用トランジション181が存在しなければ随伴ステート枠182が表示できない距離である。また、この距離Lについては、ポインタの位置(Xc,Yc)から近傍の距離であることが望ましい。
In step S82, the accompanying state
従って、ステップS82において、編集用トランジション182の長さが、この距離L以上の長さのであれば、随伴トランジション182が描画できることになるので、その処理は、ステップS83に進む。
Therefore, if the length of the
ステップS83において、随伴ステート枠生成部43は、随伴ステート枠182の中心位置を求める。ここでは、中心位置(Xd,Yd)は、図10で示されるように、編集用トランジション181上であって、ポインタ171の位置(Xc,Yc)から距離Lの位置である。尚、随伴ステート枠の中心位置は、図10で示される位置のみならず、ポインタ171の近傍付近に設定されていればよく、例えば、編集用トランジション181上に被らないように、編集用トランジション181の延長上のポインタ171の位置(Xc,Yc)の近傍付近に設定するようにしても良い。
In step S <b> 83, the accompanying state
ステップS84において、随伴ステート枠生成部43は、随伴ステート枠設定データに基づいて、求められた中心位置(Xd,Yd)が中心となるように、編集対象ステート枠のサイズを縮小して生成し、設定された透明度と前景色で生成し、表示制御部17に供給する(生成された随伴ステート枠は、後述する表示制御部17による表示処理により表示される)。
In step S84, the accompanying state
以上の処理により、ポインタ171の位置に追従して、例えば、図8で示されるような、編集対象ステート枠134が縮小された付随ステート枠182が生成される。
With the above processing, the accompanying
ここで、図6のフローチャートの説明に戻る。 Now, the description returns to the flowchart of FIG.
ステップS54において、トランジション編集部32は、ドラッグモードをオンにする。この結果、以降において、操作部11の操作ボタンが押下されたままの状態で、ポインタ171が移動されると、ステップS50において、ドラッグモードであると判定されることになるため、ステップS51の処理がスキップされることになり、ステップS41,S47乃至S50,S52乃至S54、並びにS46の処理が繰り返されることにより、図8で示されるポインタ171の動きに追従して、編集対象ステート枠134が縮小された随伴ステート枠182が表示される続けることになる。
In step S54, the
さらに、ステップS47において、マウスが押下され、かつ、移動していないと判定された場合、ステップS55において、トランジション編集部32は、操作部11の操作ボタンが開放されたか否かを判定する。例えば、遷移先のステート枠までポインタが移動したところで、操作部11の操作ボタンが開放されると、操作ボタンが開放されたと判定されることになるので、処理は、ステップS56に進み、トランジション編集部32は、編集対象ステートが存在するか否かを判定する。今の場合、編集対象ステートは、状態Aであるので、編集対象ステートが存在すると判定され、その処理は、ステップS57に進む。
Further, when it is determined in step S47 that the mouse is pressed and not moved, the
ステップS57において、トランジション編集部32は、ドラッグモードであるか否かを判定する。今の場合、ステップS54において、ドラッグモードがオンにされたままの状態であるので、ステップS57においては、ドラッグモードであると判定され、その処理は、ステップS58に進む。
In step S57, the
ステップS58において、トランジション編集部32は、操作部11からの信号に基づいて、ポインタの位置(Xc,Yc)を取得する。
In step S58, the
ステップS59において、トランジション編集部32は、ステートデータ格納部13にアクセスし、ポインタの位置(Xc,Yc)が、編集対象ステート枠を除いた何れかのステート枠内の位置であるか否かを判定する。例えば、図11で示されるようにポインタ171が、ステート枠133の状態Cのステート枠内に存在するような場合、ポインタ171の位置(Xc,Yc)がステート枠133内に存在するので、その処理は、ステップS60に進む。
In step S59, the
ステップS60においては、トランジション編集部32は、ポインタ171が存在する位置のステート枠のステートを遷移先のステート(状態)に設定する。このとき、トランジション編集部32は、状態遷移図生成部15の編集用トランジション生成部44を制御して編集用トランジションを消去させ、トランジション生成部42を制御して、本来の遷移先を示すトランジション201を描画させる。
In step S60, the
ステップS61において、トランジション編集部32は、イベントを指定するように要求する。より具体的には、すなわち、例えば、遷移先を指定する処理として、図11のトランジション201がポインタ171により引かれた場合、トランジション編集部32は、トランジション201の横にイベントを指定する図示せぬ空欄を表示し、入力を促す。
In step S61, the
ステップS62において、トランジション編集部32は、遷移する際のイベントが指定されたか否かを判定し、指定されたと判定されるまで、その処理を繰り返す。すなわち、トランジション編集部32は、その空欄にイベントを指定する情報が入力されたか否かを判定し、イベントが指定されたか否かを判定する。
In step S62, the
ステップS62において、例えば、図11で示されるように、「KeyPress_Q」で示されるように、操作部11の「Q」のキーが入力されるというイベントが指定されると、イベントが指定されたと判定され、その処理は、ステップS63に進む。 In step S62, for example, as shown in FIG. 11, when an event that the key “Q” of the operation unit 11 is input is designated as indicated by “KeyPress_Q”, it is determined that the event is designated. Then, the process proceeds to step S63.
ステップS63において、トランジション編集部32は、ステートデータ格納部13にアクセスし、編集対象ステートのステート情報を読み出し、指定された遷移先とイベントの情報を反映させて更新する。すなわち、例えば、図2のトランジション141の場合、遷移先として「State C」が新たに指定され、イベントとして、「KeyPress_Q」が指定されるので、図12の左部で示されるように、遷移先とイベントに「State C」、および、「KeyPress_Q」を追加して更新する。
In step S63, the
一方、ステップS48,S56において、編集対象ステートが存在しない場合、その処理は、ステップS46に進む。また、ステップS59において、位置(Xc,Yc)にステート枠がないと判定された場合、ステップS64において、トランジション編集部32は、状態遷移図生成部14の随伴ステート枠生成部43および編集用トランジション生成部44を制御して、これまでに引いてきた編集用トランジションおよび随伴ステート枠を削除させる。
On the other hand, if there is no edit target state in steps S48 and S56, the process proceeds to step S46. If it is determined in step S59 that there is no state frame at the position (Xc, Yc), the
以上の処理により、ポインタを操作部11により操作し、編集対象ステートのステート枠から遷移先のステート枠に矢印を引くだけで、トランジションの情報を編集することが可能となる。また、トランジションが編集される際、トランジションの遷移先が確定するまでの間、編集用トランジションが表示され、編集用トランジションの先頭位置に存在するポインタの移動に追従して、ポインタの近傍に、編集対象ステートのステート枠が縮小された状態の随伴ステート枠として表示されることになるので、トランジションを引く際に、状態遷移図表示画面111上で、状態遷移図がスクロールするなどして、編集対象ステートのステート枠がない状態となっても、随伴ステート枠に起点となる編集対象ステートの情報が表示されることになるので、編集対象ステート(トランジションの起点となる状態)を認識することが可能となり、トランジションの作成を容易なものとすることが可能となる。
With the above processing, it is possible to edit transition information simply by operating the pointer with the operation unit 11 and drawing an arrow from the state frame of the editing target state to the state frame of the transition destination. In addition, when a transition is edited, the editing transition is displayed until the transition destination is confirmed, and the editing is performed in the vicinity of the pointer by following the movement of the pointer existing at the head position of the editing transition. Since the state frame of the target state is displayed as an accompanying state frame in a reduced state, when the transition is drawn, the state transition diagram is scrolled on the state transition
次に、図13のフローチャートを参照して、スクリプト編集処理について説明する。 Next, script editing processing will be described with reference to the flowchart of FIG.
ステップS101において、スクリプト編集部33は、既存のステートが選択されたか否かを判定し、選択されるまで、その処理を繰り返す。すなわち、図16を参照して後述する表示処理により表示される、例えば、図2で示されるような状態遷移図表示画面111上に表示された既存のステート枠131乃至134のいずれかが、図示せぬポインタが操作部11により操作されて選択されたか否かにより、対応するステートA乃至Dのステートデータ格納部13により格納されているステート情報のいずれかが選択されたか否かが判定される。そして、ステップS101において、例えば、既存のステートのステート情報が選択された場合、ステップS102において、スクリプト編集部33は、選択されたステートを編集対象ステートに設定し、その処理は、ステップS103に進む。
In step S101, the
ステップS103において、スクリプト編集部33は、スクリプトが更新されたか否かを判定する。より詳細には、スクリプト編集部33は、スクリプト情報の記述内容が、操作部11により更新されたか否かを判定する。
In step S103, the
ステップS103において、例えば、スクリプト情報が更新されたと判定された場合、ステップS104において、スクリプト編集部33は、ステートデータ13にアクセスし、編集対象ステートのステート情報を読み出し、スクリプトを変更して、ステート情報を更新する。
In step S103, for example, if it is determined that the script information has been updated, in step S104, the
ステップS105において、スクリプト編集部33は、スクリプト編集処理の終了が指示されたか否かを判定し、終了が指示されていない場合、その処理は、ステップS101に戻る。また、ステート編集処理の終了が指示された場合、その処理は、終了する。
In step S105, the
以上の処理により、スクリプトが編集される。 The script is edited by the above processing.
次に、図14のフローチャートを参照して、状態遷移プログラム実行処理について説明する。 Next, the state transition program execution process will be described with reference to the flowchart of FIG.
ステップS111において、状態遷移エンジン15は、操作部11より送信されてくる操作信号に基づいて、状態遷移図表示画面111上のいずれかのステートが選択されたか否かを判定し、選択されるまで、その処理を繰り返す。より詳細には、状態遷移エンジン15は、操作部11より供給されてくる信号に基づいて、例えば、図2の状態遷移図表示画面111上のステート枠131乃至134のいずれかが、図示せぬポインタにより選択されたか否かを判定し、いずれかのステートが選択されるまで、その処理を繰り返す。
In step S111, the
ステップS111において、例えば、いずれかのステートが選択された場合、ステップS112において、状態遷移エンジン15は、選択されたステートをカレントステートとして設定する。すなわち、状態遷移エンジン15は、操作部11からの信号に基づいて、例えば、図2の状態遷移図表示画面111上のステート枠131乃至134のうち、図示せぬポインタにより選択されたステート枠に対応するステートをカレントステートに設定する。
In step S111, for example, when any state is selected, in step S112, the
ステップS113において、状態遷移エンジン15は、ステートデータ格納部13にアクセスし、カレントステートのステート情報を読み出し、状態動作実行部16に供給する。
In step S <b> 113, the
ステップS114において、状態動作実行部16は、供給されたカレントステートのステート情報を解釈する。すなわち、状態動作実行部16は、供給されたカレントステートのステート情報のうち、特に、スクリプト情報を読み出して、その状態における動作を認識する。
In step S114, the state
ステップS115において、状態動作実行部16は、スクリプト情報に記述されている処理を実行する。
In step S115, the state
ステップS116において、状態動作実行部16は、状態遷移処理の終了が指示されたか否かを判定する。すなわち、状態動作実行部16は、操作部11からの信号に基づいて、状態遷移処理の終了が指示されたか否かを判定し、終了が指示されていない場合、その処理は、ステップS117に進む。
In step S116, the state
ステップS117において、状態遷移エンジン15は、イベントが発生したか否かを判定する。すなわち、状態遷移エンジン15は、イベント検出部19により検出されたイベントの情報が供給されてきたか否かを判定し、イベントがない場合、その処理は、ステップS115に戻り、以降の処理が繰り返される。すなわち、イベントが検出されるまで、ステップS115乃至S117の処理が繰り返される。一方、ステップS117において、イベントがあると判定された場合、その処理は、ステップS118に進む。
In step S117, the
ステップS118において、状態遷移エンジン15は、供給されてきたイベントの情報により遷移先が設定されているか否かを判定する。すなわち、ステート情報が、図3で示されるものであって、現在の状態がステートAであった場合、例えば、イベントとして、操作部11のキーボードのうち「A」のキーが操作されるというイベントが発生したとしても、遷移先が設定されていないことになる。このため、このような場合、その処理は、ステップS115に戻る。すなわち、実質的に、イベントの発生がなかったものとして処理される。
In step S118, the
一方、ステップS118において、遷移先があると判定された場合、すなわち、ステート情報が、図3で示されるものであって、現在の状態がステートAであった場合、例えば、イベントとして、操作部11のキーボードのうち「2」のキーが操作されるというイベントが発生すると、遷移先Bに設定されている。そこで、ステップS102において、状態遷移エンジン15は、遷移先のステートをカレントステートに設定し、その処理は、ステップS113に戻り、それ以降の処理が繰り返される。すなわち、この処理により、新たな遷移先となるステートBをカレントステートに設定し、ステップS113以降の処理が繰り返される。
On the other hand, if it is determined in step S118 that there is a transition destination, that is, if the state information is as shown in FIG. 3 and the current state is state A, for example, as an event, the operation unit When an event occurs in which the “2” key of 11 keyboards is operated, the transition destination B is set. Therefore, in step S102, the
以上の処理により、状態遷移エンジン15が、イベント検出部19より供給されてくるイベントの情報により状態遷移図に従って状態を変化させると共に、対応する状態のステート情報を読み出して、状態動作実行部16に供給することが可能となる。また、状態動作実行部16は、ユーザの操作に基づいて設定されている状態を変化させると共に、状態動作実行部16は、対応する状態においてスクリプトで規定される動作を実行することが可能となる、
With the above processing, the
次に、図15のフローチャートを参照して、状態遷移図生成処理について説明する。 Next, state transition diagram generation processing will be described with reference to the flowchart of FIG.
ステップS131において、状態遷移図生成部14は、ステートデータ格納部13にアクセスし、格納されている全ステートデータを読み出す。
In step S131, the state transition
ステップS132において、ステート枠生成部41は、全てのステート情報毎に状態遷移図上のステート枠を生成すると共に、スクリプト情報に基づいて、全スクリプトの記述内容をステート枠内に記述する。
In step S132, the state
ステップS133において、トランジション生成部42は、ステート情報のうち、イベントと対応する遷移先の情報に基づいて、トランジションを生成する。
In step S133, the
ステップS134において、状態遷移図生成部14は、ステート枠生成部41により生成されたステート枠、トランジション生成部42により生成されたトランジションに基づいて、状態遷移図を構成する情報を生成し、表示制御部17に供給し、その処理は、ステップS131に戻り、それ以降の処理が繰り返される。
In step S134, the state transition
以上の処理により、ステートデータ格納部13に格納されているステート情報に基づいて、状態遷移図が生成され、表示制御部17に供給することが可能となる。
Through the above processing, a state transition diagram can be generated based on the state information stored in the state
次に、図16のフローチャートを参照して、表示処理について説明する。 Next, display processing will be described with reference to the flowchart of FIG.
ステップS141において、状態遷移図表示制御部51は、状態遷移図生成部14の編集用トランジション生成部44より供給されてくる状態遷移図の情報に基づいて、状態遷移図表示画面111を表示する。
In step S <b> 141, the state transition diagram display control unit 51 displays the state transition
ステップS142において、状態遷移図表示制御部51は、状態遷移図生成部14の編集用トランジション生成部44より編集用トランジションが供給されてきているか否かを判定する。例えば、図6のトランジション編集処理におけるステップS52の処理により、編集用トランジションの状態遷移図上における画像情報が供給されてくると編集用トランジションが供給されているものと判定され、ステップS143において、状態遷移図表示画面111に表示する。
In step S142, the state transition diagram display control unit 51 determines whether an editing transition is supplied from the editing
一方、ステップS142において、編集用トランジションが供給されてきていないと判定された場合、ステップS143の処理はスキップされる。 On the other hand, if it is determined in step S142 that the editing transition has not been supplied, the process of step S143 is skipped.
さらに、ステップS144において、状態遷移図表示制御部51は、状態遷移図生成部14の随伴ステート枠生成部43より随伴ステート枠が供給されてきているか否かを判定する。例えば、図6のトランジション編集処理におけるステップS53の処理により、随伴ステート枠の状態遷移図上における画像情報が供給されてくると随伴ステート枠が供給されているものと判定され、ステップS145において、状態遷移図表示画面111に表示する。
Further, in step S144, the state transition diagram display control unit 51 determines whether or not the accompanying state frame has been supplied from the accompanying state
一方、ステップS144において、随伴ステート枠が供給されてきていないと判定された場合、ステップS145の処理はスキップされる。 On the other hand, if it is determined in step S144 that the accompanying state frame has not been supplied, the process of step S145 is skipped.
ステップS146において、状態動作表示制御部52は、状態遷移図生成部14より供給される情報に基づいて、カレントステートが指定されているか否かを判定する。ステップS146において、例えば、カレントステートが指定されていると判定された場合、ステップS147において、状態動作表示制御部52は、カレントステートとして設定されている、状態動作実行部16により実行されている動作内容に基づいて状態動作画面112を表示し、その処理はステップS141に戻る。
In step S146, the state operation
ステップS146において、カレントステートが指定されていない場合、ステップS147の処理は、スキップされる。 If the current state is not designated in step S146, the process in step S147 is skipped.
以上の処理により、図2で示されるような、状態遷移図表示画面111、および状態動作画面112からなる表示画面101が表示部18に表示される。
Through the above processing, the
以上、図4の状態遷移プログラム編集処理、図5のステート編集処理、図6のトランジション編集処理、図13のスクリプト編集処理、図14の状態遷移プログラム実行処理、図15の状態遷移図生成処理、図16の表示処理により以下のような動作が実現される。 The state transition program editing process of FIG. 4, the state editing process of FIG. 5, the transition editing process of FIG. 6, the script editing process of FIG. 13, the state transition program execution process of FIG. 14, the state transition diagram generation process of FIG. The following operations are realized by the display processing of FIG.
図4の状態遷移プログラム編集処理における図5のステート編集処理、図6のトランジション編集処理、および図13のスクリプト編集処理により遷移状態情報(ステートデータ)が編集され、図14の状態遷移プログラム実行処理により編集された状態遷移情報に基づいて状態遷移処理が実行される。また、図14の状態遷移プログラム実行処理により編集された状態遷移情報に基づいて状態遷移図が生成される。この際、図6のトランジション編集処理が実行されると、編集用トランジションおよび随伴ステート枠が、状態遷移図の情報として表示制御部17に供給される。結果として、図16の表示処理においては、編集された状態遷移情報に基づいた状態遷移図が表示されると共に、トランジションの編集処理が実行されている場合には、さらに、編集用トランジションおよび随伴ステート枠が表示されることになる。
The transition state information (state data) is edited by the state editing process of FIG. 5 in the state transition program editing process of FIG. 4, the transition editing process of FIG. 6, and the script editing process of FIG. 13, and the state transition program execution process of FIG. The state transition process is executed based on the state transition information edited by. Further, a state transition diagram is generated based on the state transition information edited by the state transition program execution process of FIG. At this time, when the transition editing process of FIG. 6 is executed, the editing transition and the accompanying state frame are supplied to the
結果として、トランジションが編集される際、トランジションの遷移先が確定するまでの間、トランジションの先頭位置に存在するポインタの移動に追従して、その近傍に、編集対象ステートのステート枠が縮小された状態の随伴ステート枠で表示されることになるので、トランジションを引く際に、仮に状態遷移図表示画面111上に編集対象ステートのステート枠がなくても随伴ステート枠を見るだけで、編集対象ステートを認識することが可能となり、トランジションの作成を容易なものとすることが可能となる。
As a result, when the transition is edited, the state frame of the state to be edited is reduced in the vicinity of the movement of the pointer at the beginning of the transition until the transition destination of the transition is determined. Since it will be displayed in the accompanying state frame of the state, when drawing a transition, even if there is no state frame of the editing target state on the state transition
次に、図17のフローチャートを参照して、随伴ステート枠設定データ設定処理について説明する。 Next, the accompanying state frame setting data setting process will be described with reference to the flowchart of FIG.
ステップS161において、随伴ステート枠設定データ設定部45は、随伴ステート枠設定データの設定が指示されたか否かを判定し、随伴ステート枠設定データの設定が指示されるまで、その処理を繰り返す。例えば、操作部11が操作され、随伴ステート枠設定データの設定が指示された場合、ステップS162において、随伴ステート枠設定データ設定部45は、設定画面を表示制御部17を介して表示部18に表示させる。
In step S161, the accompanying state frame setting
このとき、随伴ステート枠設定データ設定部45は、例えば、図18で示されるような設定画面251を表示する。図18においては、設定画面251の最上段に「コピーの表示属性」と表示されており、随伴ステート枠が編集対象ステート枠のコピーであり、その表示属性が、随伴ステート枠の設定データであることを示している。
At this time, the accompanying state frame setting
図18においては、設定画面251の上から「透明度」、「L」、「縮小率」、および「前景色」と表示されており、随伴ステート枠を表示する際の透明度、距離L(図10)、編集対象ステート枠に対する縮小率、および随伴ステート枠の前景色の設定項目が設けられている。透明度は、%表示されており0乃至100の範囲で設定される。透明度は、値が高いほど透明度が高く、例えば、0%の場合は、完全に透明度がなく、100%では、完全に透明な状態となって表示されない状態となる。距離Lは、図10を参照して説明したように、ポインタの位置から表示される随伴ステート枠の中心位置までの距離をピクセル単位で示したものである。縮小率は、編集対象ステート枠に対する縮小率であり、%表示されており、0乃至100の範囲で設定される。さらに、前景色は、随伴ステート枠の前景色を指定する項目であり、左からRGBの光の3原色について、0乃至255の範囲で設定される。図18の場合、R(Red)が、0、G(Green)が255、B(Blue)が0で設定され、前景色が緑で表示されることが示されている。
In FIG. 18, “transparency”, “L”, “reduction ratio”, and “foreground color” are displayed from the top of the
ステップS163において、随伴ステート枠設定データ設定部45は、随伴ステート枠設定データが設定されたか否かを判定し、設定されたと判定されるまで、その処理を繰り返す。例えば、全ての設定がなされたと判定された場合、ステップS164において、随伴ステート枠設定データ設定部45は、図18で示されるような随伴ステート枠設定データを更新して記憶する。
In step S163, the accompanying state frame setting
以上の処理により、随伴ステート枠を表示するための随伴ステート枠設定データが設定されるため、所望の透明度、位置、大きさ、および色で随伴ステート枠を表示させるようにすることができる。 With the above processing, the accompanying state frame setting data for displaying the accompanying state frame is set, so that the accompanying state frame can be displayed with desired transparency, position, size, and color.
以上によれば、トランジションが編集される際、トランジションの遷移先が確定するまでの間、トランジションの先頭位置に存在するポインタの移動に追従して、その近傍に、編集対象ステート(トランジションの起点となる状態)のステート枠が縮小された状態の随伴ステート枠として表示されることになるので、トランジションを引く際に、仮に状態遷移図表示画面111上に編集対象ステートのステート枠がなくても随伴ステート枠を見るだけで、編集対象ステートを認識することが可能となり、トランジションを描画する際、起点となる状態を正確に認識しながら描画することが可能となる。
According to the above, when the transition is edited, until the transition destination of the transition is determined, the movement of the pointer existing at the start position of the transition is followed and the edit target state (the transition start point and State state) is displayed as an associated state frame in a reduced state. Therefore, when a transition is drawn, even if there is no state frame of the edit target state on the state transition
上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。 The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.
図19は、図1の状態遷移プログラム編集装置1の電気的な内部構成をソフトウェアにより実現する場合のパーソナルコンピュータの一実施の形態の構成を示している。パーソナルコンピュータのCPU501は、パーソナルコンピュータの全体の動作を制御する。また、CPU501は、バス504および入出力インタフェース505を介してユーザからキーボードやマウスなどからなる入力部506から指令が入力されると、それに対応してROM(Read Only Memory)502に格納されているプログラムを実行する。あるいはまた、CPU501は、ドライブ510に接続された磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリを含むリムーバルメディア521から読み出され、記憶部508にインストールされたプログラムを、RAM(Random Access Memory)503にロードして実行する。これにより、上述した図1の状態遷移プログラム編集装置1の機能が、ソフトウェアにより実現されている。さらに、CPU501は、通信部509を制御して、外部と通信し、データの授受を実行する。
FIG. 19 shows a configuration of an embodiment of a personal computer when the electrical internal configuration of the state transition
コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム記録媒体は、図19に示すように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)を含む)、光磁気ディスクを含む)、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア521、または、プログラムが一時的もしくは永続的に格納されるROM502や、記憶部508を構成するハードディスクなどにより構成される。プログラム記録媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースである通信部509を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。
As shown in FIG. 19, a program recording medium that stores a program that is installed in a computer and can be executed by the computer includes a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only). Memory), DVD (Digital Versatile Disc) (including magneto-optical disk), or removable media 521 which is a package medium made of semiconductor memory or the like,
なお、CPU501として、”Cell誕生”、日経エレクトロニクス、日経BP社、2005年2月28日、89頁乃至117頁に記載されているCellを採用することができる。
As the
また、本明細書において、プログラム記録媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 Further, in this specification, the step of describing the program stored in the program recording medium is not limited to the processing performed in time series in the described order, but is not necessarily performed in time series. Or the process performed separately is also included.
さらに、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。 Furthermore, the embodiments of the present invention are not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present invention.
11 操作部, 12 編集部, 13 ステートデータ格納部, 14 状態遷移図生成部, 15 状態遷移エンジン, 16 状態動作実行部, 17 表示制御部, 18 表示部, 31 ステート編集部, 32 トランジション編集部, 33 スクリプト編集部, 41 ステート枠生成部, 42 トランジション生成部, 43 随伴ステート枠生成部, 44 編集用トランジション生成部, 45 随伴ステート枠設定データ設定部, 51 状態遷移図表示制御部, 52 状態動作表示制御部 11 operation unit, 12 editing unit, 13 state data storage unit, 14 state transition diagram generation unit, 15 state transition engine, 16 state operation execution unit, 17 display control unit, 18 display unit, 31 state editing unit, 32 transition editing unit , 33 script editing unit, 41 state frame generation unit, 42 transition generation unit, 43 accompanying state frame generation unit, 44 editing transition generation unit, 45 accompanying state frame setting data setting unit, 51 state transition diagram display control unit, 52 state Operation display controller
Claims (8)
前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、
前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、
前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、
前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する
情報処理方法。 An editing step of editing state transition information including information on an operation in each state, an event at the time of transition in each of the states, and a transition direction indicating which other state is to be transitioned by the event;
A display step for displaying a state transition diagram based on the state transition information edited by the processing of the editing step;
An operation step of operating the state transition diagram displayed by the processing of the display step;
In accordance with the operation content in the processing of the operation step, an edit transition generation step for generating an edit transition from a state frame indicating a state serving as a starting point on the state transition diagram;
A copy frame generation step for generating a copy frame that is a copy of the starting state frame at a position near the start position of the editing transition;
If the start position of the editing transition is connected to a state frame different from the starting state according to the operation content in the operating step processing, the editing step processing is the starting point. An information processing method for editing the state transition information so that a state different from a state is a transition destination in the starting state.
請求項1に記載の情報処理方法。 2. The information processing method according to claim 1, wherein the processing of the copy frame generation step generates a copy frame that is a copy of the starting state frame at a position near a predetermined position with respect to a start position of the editing transition. .
請求項1に記載の情報処理方法。 The information processing method according to claim 1, further comprising a setting step of setting a processing technique for the starting state frame of the copy frame.
請求項3に記載の情報処理方法。 The processing of the setting step includes: transparency of the copy frame with respect to the starting state frame of the copy frame, a distance from the start position of the editing transition to the display position of the copy frame, and the starting state frame of the copy frame. The information processing method according to claim 3, wherein a processing method including a reduction ratio with respect to the image or a display color of the copy frame is set.
請求項3に記載の情報処理方法。 The processing of the copy frame generation step is a processing method in which a copy frame that is a copy of the starting state frame is set at a position near a predetermined position with respect to the start position of the editing transition by the processing of the setting step The information processing method according to claim 3, wherein the information processing method is generated by processing.
前記編集手段により編集された状態遷移情報に基づいて、状態遷移図を表示する表示手段と、
前記表示手段により表示された状態遷移図を操作する操作手段と、
前記操作手段における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成手段と、
前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成手段とを含み、
前記操作手段における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する
情報処理装置。 An editing means for editing state transition information including information on an operation in each state, an event at the time of transition in each state, and information on a transition direction indicating which other state is to be transitioned by the event;
Display means for displaying a state transition diagram based on the state transition information edited by the editing means;
Operating means for operating the state transition diagram displayed by the display means;
In accordance with the operation content in the operation means, an edit transition generation means for generating an edit transition from a state frame indicating a state as a starting point on the state transition diagram;
Copy frame generation means for generating a copy frame that is a copy of the starting state frame at a position near the start position of the editing transition;
When the start position of the editing transition is connected to a state frame that is different from the starting state according to the operation content in the operating means, the editing step processing is performed as the starting point state. An information processing apparatus that edits the state transition information so that different states are set as transition destinations in the starting state.
前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、
前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、
前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、
前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する
コンピュータが読み取り可能なプログラムが記録されている記録媒体。 An editing step of editing state transition information including information on an operation in each state, an event at the time of transition in each of the states, and a transition direction indicating which other state is to be transitioned by the event;
A display step for displaying a state transition diagram based on the state transition information edited by the processing of the editing step;
An operation step of operating the state transition diagram displayed by the processing of the display step;
In accordance with the operation content in the processing of the operation step, an edit transition generation step for generating an edit transition from a state frame indicating a state serving as a starting point on the state transition diagram;
A copy frame generation step for generating a copy frame that is a copy of the starting state frame at a position near the start position of the editing transition;
If the start position of the editing transition is connected to a state frame different from the starting state according to the operation content in the operating step processing, the editing step processing is the starting point. A recording medium on which a computer-readable program is recorded for editing the state transition information so that a state different from the state is a transition destination in the starting state.
前記編集ステップの処理により編集された状態遷移情報に基づいて、状態遷移図を表示する表示ステップと、
前記表示ステップの処理により表示された状態遷移図を操作する操作ステップと、
前記操作ステップの処理における操作内容に応じて、前記状態遷移図上の起点となる状態を示す状態枠からの編集用トランジションを生成する編集用トランジション生成ステップと、
前記編集用トランジションの先頭位置に対して近傍の位置に、前記起点の状態枠の複写である複写枠を生成する複写枠生成ステップとを含み、
前記操作ステップの処理における操作内容に応じて、前記編集用トランジションの先頭位置が、前記起点となる状態とは異なる状態の状態枠と接続される場合、前記編集ステップの処理は、前記起点となる状態とは異なる状態を、前記起点となる状態における遷移先とするように前記状態遷移情報を編集する
処理をコンピュータに実行させるプログラム。 An editing step of editing state transition information including information on an operation in each state, an event at the time of transition in each of the states, and a transition direction indicating which other state is to be transitioned by the event;
A display step for displaying a state transition diagram based on the state transition information edited by the processing of the editing step;
An operation step of operating the state transition diagram displayed by the processing of the display step;
In accordance with the operation content in the processing of the operation step, an edit transition generation step for generating an edit transition from a state frame indicating a state serving as a starting point on the state transition diagram;
A copy frame generation step for generating a copy frame that is a copy of the starting state frame at a position near the start position of the editing transition;
If the start position of the editing transition is connected to a state frame different from the starting state according to the operation content in the operating step processing, the editing step processing is the starting point. A program that causes a computer to execute a process of editing the state transition information so that a state different from a state becomes a transition destination in the starting state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005267170A JP2007079956A (en) | 2005-09-14 | 2005-09-14 | Information processing method and device, recording medium and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005267170A JP2007079956A (en) | 2005-09-14 | 2005-09-14 | Information processing method and device, recording medium and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007079956A true JP2007079956A (en) | 2007-03-29 |
Family
ID=37940197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005267170A Withdrawn JP2007079956A (en) | 2005-09-14 | 2005-09-14 | Information processing method and device, recording medium and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007079956A (en) |
-
2005
- 2005-09-14 JP JP2005267170A patent/JP2007079956A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5361159B2 (en) | Image display control device, control method therefor, program, and recording medium | |
US7809772B2 (en) | Data change device, data generation device, related method, related recording medium, and related computer data signal | |
US8171400B2 (en) | Image transmission apparatus for transmitting image to a plurality of image projection apparatuses and image display control method in image transmission apparatus | |
JP2004102497A (en) | Gui application development supporting device, gui display unit and method and its computer program | |
KR20100114945A (en) | User interface generation device | |
JP5979168B2 (en) | Screen display device, screen display system, screen display method, and computer program | |
JP2010041663A (en) | Image reading apparatus and guidance display for image reading system | |
JPH11126149A (en) | Information processor and method thereof, and memory medium | |
JP2020123234A (en) | Information processor, control method, and program thereof | |
JP2007079955A (en) | Information processing method and device, recording medium and program | |
JP2007128244A (en) | Information processing method and apparatus, recording medium and program | |
JP2007079956A (en) | Information processing method and device, recording medium and program | |
JP2007133750A (en) | Information processing method and apparatus therefor | |
US11182968B2 (en) | Electronic device and control method thereof | |
JP5173724B2 (en) | Music symbol input device and music symbol input program | |
JP6333279B2 (en) | Programmable display, program | |
JPH08335157A (en) | Scroll controller and display device | |
JP2010139685A (en) | Projector, program and information storage medium | |
JP2024043571A (en) | Object measuring method and device, display device, and computer program | |
JP4802601B2 (en) | Information processing method and apparatus, recording medium, and program | |
EP2887331B1 (en) | Content reproduction control device, content reproducing system, content reproducing method, and content reproducing program | |
JPH113165A (en) | Information processor | |
JP5229000B2 (en) | Information processing apparatus and program | |
JP2015001952A (en) | Driver generating apparatus, driver generating method, and driver generating program | |
JP2011034460A (en) | Image processing coordination system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081202 |