JP4431126B2 - Timing chart creation support system, timing chart creation support method, and timing chart creation support program - Google Patents
Timing chart creation support system, timing chart creation support method, and timing chart creation support program Download PDFInfo
- Publication number
- JP4431126B2 JP4431126B2 JP2006174386A JP2006174386A JP4431126B2 JP 4431126 B2 JP4431126 B2 JP 4431126B2 JP 2006174386 A JP2006174386 A JP 2006174386A JP 2006174386 A JP2006174386 A JP 2006174386A JP 4431126 B2 JP4431126 B2 JP 4431126B2
- Authority
- JP
- Japan
- Prior art keywords
- timing chart
- period
- resource
- task
- tasks
- 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
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明は、複数のタスクが共通のリソースを確保する期間を表すタイミングチャートの作成を支援するタイミングチャート作成支援システム、タイミングチャート作成支援方法、及び、コンピュータにて実行されるタイミングチャート作成支援プログラムに関する。 The present invention relates to a timing chart creation support system, a timing chart creation support method, and a timing chart creation support program executed by a computer that support creation of a timing chart representing a period in which a plurality of tasks secure a common resource. .
従来より、入力情報に基づいてタイミングチャートを作成、表示するシステムが用いられている。このようなシステムは、例えば、電気回路における信号の入出力についてのタイミングチャートを作成する場合には、ユーザの操作指示に応じて、信号の立ち上がり、立ち下がり等のタイミングの情報を入力し、これらの情報を満たすタイミングチャートを作成、表示する(例えば特許文献1乃至3参照)。
ところで、複数のタスクが共通のリソースを利用して実行されるような場合には、複数のタスクによるリソース確保が時間的に重なること(リソース確保の競合)を防止してリソースを的確に割り当てることが要求され、その観点からのタイミングチャートの作成が必要となる。しかし、従来のシステムでは、単に入力情報からタイミングチャートが作成、表示されるだけであり、ユーザがタイミングチャートにおけるリソース確保の競合を把握しづらい等、リソース確保の競合を防止したタイミングチャートを作成する際における十分な支援がなされていない。 By the way, when multiple tasks are executed using a common resource, resource allocation by multiple tasks is prevented from overlapping in time (resource allocation conflict), and resources are allocated appropriately. Therefore, it is necessary to create a timing chart from that viewpoint. However, in a conventional system, a timing chart is simply created and displayed from input information, and a timing chart is created that prevents resource reservation contention, such as difficulty in grasping resource reservation contention in the timing chart. There is not enough support at the time.
本発明の目的は、上述した問題点を解決するものであり、複数のタスク実行におけるリソース確保の競合を防止したタイミングチャートの作成支援システム、タイミングチャート作成支援方法及びタイミングチャート作成支援プログラムを提供するものである。 An object of the present invention is to solve the above-described problems, and provide a timing chart creation support system, a timing chart creation support method, and a timing chart creation support program that prevent competition for securing resources in a plurality of task executions. Is.
本発明は、複数のタスクが共通のリソースを確保する期間を表すタイミングチャートの作成を支援するタイミングチャート作成支援システムであって、前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得手段と、前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出手段と、前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成手段と、前記タイミングチャートを表示ユニットに表示させる表示制御手段と、前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更手段とを有することを特徴とする。 The present invention is a timing chart creation support system that supports creation of a timing chart that represents a period in which a plurality of tasks secure a common resource, and for each of the plurality of tasks, information that represents a resource securing period of the task Resource reservation information acquisition means for acquiring resource reservation information including information indicating a resource reservation period of the task, and period type information indicating whether the resource reservation period can move in the resource reservation period; , A contention period detecting means for detecting a resource securing period that overlaps in time for two or more tasks based on resource securing information obtained for each of the plurality of tasks, and a resource acquired for each of the plurality of tasks Reservation information and time for two or more detected tasks Based on the overlapping resource securing period, it is distinguished whether each of the plurality of tasks secures the resource whether it can move or not, and the overlapping resource securing period A timing chart creating means for creating a timing chart representing the timing, display control means for displaying the timing chart on a display unit, and a period during which the task can move on the timing chart displayed on the display unit A timing chart for changing the timing chart in the resource securing period after the movement when the operation unit performs an operation for moving the resource securing period distinguished as: within the resource securing period And changing means
この構成によれば、リソース確保情報を満たすとともに、複数のタスクによるリソース確保が競合する場合には、そのタスクを特定したタイミングチャートが作成、表示される。このため、ユーザは、どのタスクによるリソース確保が競合しているか、更には、どのタスクのリソース確保期間を移動させれば、リソース確保の競合が防止されるのか等を容易に把握することができる。更に、移動可能なリソース確保期間が区別されて表示され、ユーザの操作に応じて、そのリソース確保期間を移動させたタイミングチャートに変更させることができる。ここで、タスクとは、ソフトウェアでの処理単位の他、プロセス、ユニット等の様々な処理の単位を意味する。 According to this configuration, when resource reservation information is satisfied and resource reservation by a plurality of tasks competes, a timing chart specifying the task is created and displayed. For this reason, the user can easily grasp which task the resource reservation is competing with, and which task the resource reservation period is moved to prevent the resource reservation conflict. . Furthermore, the resource reservation period that can be moved is distinguished and displayed, and the resource reservation period can be changed to a moved timing chart according to a user operation. Here, a task means a unit of various processes such as a process and a unit in addition to a processing unit in software.
また、本発明のタイミングチャート作成支援システムは、前記タイミングチャート作成手段が、前記時間的に重なるリソース確保期間と前記時間的に重ならないリソース確保期間との表示形態を異ならせたタイミングチャートを作成するようにしてもよい。 Further, in the timing chart creation support system of the present invention, the timing chart creation means creates a timing chart in which the display forms of the resource securing periods that overlap in time and the resource securing periods that do not overlap in time differ. You may do it.
この構成によれば、タスク間におけるメッセージの送受を反映したタイミングチャートの作成、表示が可能となる。 According to this configuration, it is possible to create and display a timing chart reflecting transmission / reception of messages between tasks.
また、本発明のタイミングチャート作成支援システムは、前記タスク間で送受され、受信先のタスクによるリソース確保の契機となり得るメッセージの通信を表すメッセージ通信情報を取得するメッセージ通信情報取得手段を有し、前記タイミングチャート作成手段が、前記メッセージ通信情報に基づいて、前記メッセージの送受を特定しつつ表すタイミングチャートを作成するようにしてもよい。 In addition, the timing chart creation support system of the present invention has message communication information acquisition means for acquiring message communication information representing communication of a message that can be sent and received between the tasks and can be a trigger for securing a resource by the task of the reception destination, The timing chart creation means may create a timing chart that indicates transmission / reception of the message based on the message communication information.
この構成によれば、ユーザは、タスク間のメッセージの送受を把握することができる。 According to this configuration, the user can grasp transmission / reception of messages between tasks.
また、本発明のタイミングチャート作成支援システムは、前記リソース確保情報と、前記メッセージ通信情報とに基づいて、所定のタスクによって受信されるメッセージが該タスクによるリソース確保の開始の契機となるか否かを判定するメッセージ判定手段を有し、前記タイミングチャート作成手段が、前記タスクによるリソース確保の開始の契機にならないと判定されたメッセージを特定しつつ表すタイミングチャートを作成するようにしてもよい。 In addition, the timing chart creation support system of the present invention determines whether a message received by a predetermined task triggers the start of resource reservation by the task based on the resource reservation information and the message communication information. Message determination means for determining whether or not the timing chart creation means identifies a message that is determined not to trigger the start of resource reservation by the task.
この構成によれば、メッセージを受信したタスクが既にリソースを確保済みであり、当該メッセージがタスクによるリソース確保の開始の契機とならない場合には、ユーザは、その旨を把握することができる。 According to this configuration, when the task that has received the message has already secured the resource, and the message does not trigger the start of resource securing by the task, the user can recognize that fact.
また、本発明のタイミングチャート作成支援システムは、前記タスク間における前記メッセージの通信遅延の情報を取得する通信遅延情報取得手段を有し、前記タイミングチャート作成手段が、前記メッセージの通信遅延の情報に基づいて、前記メッセージの通信遅延を特定しつつ表すタイミングチャートを作成するようにしてもよい。 Further, the timing chart creation support system of the present invention has communication delay information acquisition means for acquiring communication delay information of the message between the tasks, and the timing chart creation means includes information on the communication delay of the message. Based on this, a timing chart representing the message communication delay may be created.
この構成によれば、ユーザは、タスク間におけるメッセージの通信遅延を把握することができる。 According to this structure, the user can grasp | ascertain the communication delay of the message between tasks.
また、本発明のタイミングチャート作成支援システムは、前記競合期間検出手段が、前記メッセージの通信遅延の情報に基づいて、前記タスクによりリソースが確保される可能性のある期間を特定し、該タスクによりリソースが確保される可能性のある期間に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出するようにしてもよい。 In the timing chart creation support system according to the present invention, the contention period detection unit specifies a period in which resources may be secured by the task based on the communication delay information of the message. You may make it detect the resource securing period which overlaps in time about two or more tasks based on the period when a resource may be secured.
この構成によれば、メッセージの通信遅延を考慮してタスクによるリソース確保の競合判定をより適切に行うことが可能となり、更には、その競合判定の結果をタイミングチャートに反映させることが可能となる。 According to this configuration, it is possible to more appropriately perform resource reservation competition determination by taking into account message communication delays, and it is possible to reflect the result of the competition determination in the timing chart. .
また、本発明のタイミングチャート作成支援システムは、前記タイミングチャート作成手段が、前記メッセージの通信遅延の情報に基づいて、受信先のタスクによるリソース確保の開始を前記メッセージの通信遅延の時間だけ遅らせたタイミングチャートを作成するようにしてもよい。 Further, in the timing chart creation support system of the present invention, the timing chart creation means delays the start of resource reservation by the task of the receiving destination by the communication delay time of the message based on the communication delay information of the message. A timing chart may be created.
この構成によれば、ユーザは、メッセージの通信遅延によってタスクによるリソース確保の開始タイミングがどの程度変動するのかを把握することができる。 According to this configuration, the user can grasp how much the start timing of resource reservation by a task varies due to a message communication delay.
また、本発明のタイミングチャート作成支援システムは、前記タイミングチャート作成手段が、受信先のタスクによるリソース確保の開始を前記メッセージの通信遅延の最小時間だけ遅らせたタイミングチャートと、受信先のタスクによるリソース確保の開始を前記メッセージの通信遅延の最大時間だけ遅らせたタイミングチャートとを作成するようにしてもよい。 The timing chart creation support system according to the present invention includes a timing chart in which the timing chart creation means delays the start of resource reservation by the destination task by a minimum communication delay time of the message, and a resource by the destination task. A timing chart in which the start of securing is delayed by the maximum communication delay time of the message may be created.
この構成によれば、ユーザは、リソース確保の開始をメッセージの通信遅延の最小時間だけ遅らせたタイミングチャートと、リソース確保の開始を前記メッセージの通信遅延の最大時間だけ遅らせたタイミングチャートとを比較して、適切なタイミングチャートを選択することができる。 According to this configuration, the user compares the timing chart in which the start of resource reservation is delayed by the minimum time of the message communication delay with the timing chart in which the start of resource reservation is delayed by the maximum time of the message communication delay. Thus, an appropriate timing chart can be selected.
また、本発明のタイミングチャート作成支援システムは、前記リソース確保情報と、前記メッセージの通信遅延の情報とに基づいて、前記タスクが該タスクのリソース確保周期内でリソース確保が可能であるか否かを判定するリソース確保可否判定手段を有し、前記タイミングチャート作成手段は、リソース確保が不能であると判定されたタスクを特定しつつ表すタイミングチャートを作成するようにしてもよい。 Further, the timing chart creation support system of the present invention determines whether or not the task can secure a resource within the resource securing period of the task based on the resource securing information and the communication delay information of the message. The timing chart creating means may create a timing chart representing the task determined to be unable to secure the resource while identifying the task.
この構成によれば、メッセージの通信遅延によってリソース確保不能のタスクが生じる場合に、ユーザは、その旨を把握することができる。 According to this configuration, when a task in which resources cannot be secured occurs due to message communication delay, the user can recognize that fact.
また、本発明のタイミングチャート作成支援システムは、前記タイミングチャート作成手段が、所定のタスクから複数のタスクに対して同時にメッセージが送信される場合に、1の受信先のタスクによるリソース確保の開始を他の受信先のタスクのリソース確保期間だけ遅らせたタイミングチャートを作成するようにしてもよい。 Also, the timing chart creation support system of the present invention, when the timing chart creation means sends a message simultaneously to a plurality of tasks from a predetermined task, starts securing resources by a task at one receiving destination. You may make it produce the timing chart delayed only the resource securing period of the task of the other recipient.
また、本発明のタイミングチャート作成支援システムは、前記タスクのリソース確保間隔を表すリソース確保間隔情報を取得するリソース確保間隔情報取得手段を有し、前記タイミングチャート作成手段が、前記リソース確保間隔情報に基づいて、前記タスクのリソース確保間隔を特定しつつ表すタイミングチャートを作成するようにしてもよい。 The timing chart creation support system according to the present invention further includes resource securing interval information obtaining means for obtaining resource securing interval information indicating the resource securing interval of the task, wherein the timing chart creating means includes the resource securing interval information. Based on this, a timing chart representing the task resource securing interval may be created.
この構成によれば、ユーザは、タスクのリソース確保間隔を把握することができる。 According to this configuration, the user can grasp the task resource securing interval.
また、本発明のタイミングチャート作成支援システムは、前記リソース確保間隔情報に基づいて、前記タスクがリソース確保間隔を満たすか否かを判定するリソース確保間隔判定手段を有し、前記タイミングチャート作成手段が、前記リソース確保間隔を満たしていないと判定されたタスクを特定しつつ表すタイミングチャートを作成するようにしてもよい。 Further, the timing chart creation support system of the present invention has resource securing interval determination means for determining whether the task satisfies the resource securing interval based on the resource securing interval information, and the timing chart creating means In addition, a timing chart representing the task determined to not satisfy the resource securing interval may be created.
この構成によれば、ユーザは、リソース確保間隔を満たしていないタスクを把握することが可能となる。 According to this configuration, the user can grasp a task that does not satisfy the resource securing interval.
また、本発明のタイミングチャート作成支援システムは、前記複数のタスクのリソース確保周期の終端が一致するタイミングを検出する一致タイミング検出手段を有し、前記タイミングチャート作成手段が、前記検出された複数のタスクのリソース確保周期の終端が一致するタイミングまでのタイミングチャートを作成するようにしてもよい。 In addition, the timing chart creation support system of the present invention has a coincidence timing detection unit that detects a timing at which the end of the resource securing period of the plurality of tasks coincides, and the timing chart creation unit includes the detected plurality of detected timings. You may make it produce the timing chart to the timing to which the termination | terminus of the resource securing period of a task corresponds.
この構成によれば、複数のタスクのリソース確保周期の終端が一致するタイミングが存在すれば、それ以降は前段と同様のタイミングチャートが適用可能であるため、当該タイミングまでのタイミングチャートの作成を行うようにすることで、作成処理を必要十分な処理量に抑えることができる。 According to this configuration, if there is a timing at which the end points of the resource securing periods of a plurality of tasks coincide, the timing chart similar to the previous stage can be applied thereafter, so the timing chart up to the timing is created. By doing so, the creation processing can be suppressed to a necessary and sufficient processing amount.
また、本発明のタイミングチャート作成支援システムは、前記複数のタスクをグループに分けた場合におけるグループ分けの情報を取得するグループ分け情報取得手段と、前記複数のタスクのそれぞれについて、該タスクの実行期間を表す実行期間情報を取得する実行期間情報取得手段と、前記グループ分けの情報と、前記実行期間情報とに基づいて、前記グループ毎に、該グループに属するタスクの実行が競合するか否かを判定する実行競合判定手段と、前記タイミングチャート作成手段は、前記実行が競合すると判定されたタスクを特定しつつ表すタイミングチャートを作成するようにしてもよい。 Further, the timing chart creation support system of the present invention includes a grouping information acquisition unit that acquires grouping information when the plurality of tasks are divided into groups, and an execution period of the task for each of the plurality of tasks. Whether or not execution of tasks belonging to the group competes for each group based on the execution period information acquisition means for acquiring the execution period information representing the grouping information and the execution period information. The execution conflict determination means for determining and the timing chart creation means may create a timing chart that indicates the task determined to compete with the execution.
この構成によれば、ユーザは、グループ内のタスクの実行の競合を把握することができる。 According to this configuration, the user can grasp the competition of execution of tasks in the group.
また、本発明のタイミングチャート作成支援システムは、前記タイミングチャート作成手段が、前記実行期間情報に基づいて、前記リソース確保期間の開始又は終了のタイミングのうち、前記タスクの実行期間の範囲外にあるものを特定しつつ表すタイミングチャートを作成するようにしてもよい。 Further, in the timing chart creation support system of the present invention, the timing chart creation means is out of the task execution period within the start or end timing of the resource securing period based on the execution period information. You may make it produce the timing chart showing specifying a thing.
この構成によれば、ユーザは、タスクの実行期間の範囲外にあって当該タスクが把握することのできないリソース確保期間の開始又は終了のタイミングを把握することができる。 According to this configuration, the user can grasp the start or end timing of the resource securing period that is outside the task execution period and cannot be grasped by the task.
また、本発明は、複数のタスクが共通のリソースを確保する期間を表すタイミングチャートの作成を支援するタイミングチャート作成支援方法であって、前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得ステップと、前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出ステップと、前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成ステップと、前記タイミングチャートを表示ユニットに表示させる表示制御ステップと、前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更ステップとを有することを特徴とする。 Further, the present invention provides a timing chart creation support method for supporting creation of a timing chart representing a period in which a plurality of tasks secure a common resource, and for each of the plurality of tasks, a resource securing period of the task is set. Resource reservation information acquisition for acquiring resource reservation information including information indicating, information indicating the resource reservation period of the task, and period type information indicating whether the resource reservation period can move in the resource reservation period Acquired for each of the plurality of tasks, a contention period detecting step for detecting a resource reservation period overlapping in time for two or more tasks, based on the resource reservation information acquired for each of the plurality of tasks, Resource reservation information and two or more detected tasks Based on a resource securing period that overlaps in time, whether or not each of the plurality of tasks secures the resource is a period that can be moved and overlaps in time A timing chart creating step for creating a timing chart representing the resource securing period, a display control step for displaying the timing chart on a display unit, and the movement of the task on the timing chart displayed on the display unit The timing chart is changed in the resource securing period after the movement when the operation unit is operated to move the resource securing period distinguished as the period in which the task can be performed within the resource securing period. To change the timing chart Characterized in that it.
また、本発明は、複数のタスクが共通のリソースを確保する期間を表すタイミングチャートの作成を支援するコンピュータにて実行されるタイミングチャート作成支援プログラムであって、前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得ステップと、前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出ステップと、前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成ステップと、前記タイミングチャートを表示ユニットに表示させる表示制御ステップと、前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更ステップとを有することを特徴とする。 The present invention is also a timing chart creation support program executed by a computer that supports creation of a timing chart representing a period during which a plurality of tasks secure a common resource, and for each of the plurality of tasks, Resource reservation information including information indicating the resource reservation period of the task, information indicating the resource reservation period of the task, and period type information indicating whether the resource reservation period can move in the resource reservation period A resource reservation information acquisition step to acquire, a contention period detection step of detecting a resource reservation period overlapping in time for two or more tasks based on the resource reservation information acquired for each of the plurality of tasks, Resource allocation information acquired for each task and Based on the resource securing periods that overlap in time for the two or more detected tasks, it is distinguished whether each of the plurality of tasks secures the resource is a period that can be moved. And a timing chart creating step for creating a timing chart that represents the resource securing periods that overlap in time, a display control step for displaying the timing chart on a display unit, and a timing chart displayed on the display unit When the operation unit is operated to move the resource securing period, which is distinguished as the period during which the task can be moved, within the resource securing period, the resource securing after the task is moved Change the timing chart in the period And having a timing chart changing step.
本発明によれば、タスクによるリソース確保の競合に関する様々な情報をタイミングチャートに反映させることによって、リソース確保の競合を防止したタイミングチャートを作成する場合において、ユーザに対する適切な支援を行うことが可能となる。 According to the present invention, it is possible to provide appropriate support to the user when creating a timing chart that prevents resource reservation competition by reflecting various information related to resource reservation competition by tasks in the timing chart. It becomes.
本発明の実施の形態について、図面を参照して具体的に説明する。 Embodiments of the present invention will be specifically described with reference to the drawings.
図1は、タイミングチャート作成支援システムのハードウェア構成を示す図である。図1に示すタイミングチャート作成支援システム100は、パーソナルコンピュータ(PC)であり、内部バス107に接続されたCPU101、メモリ102、ハードディスクドライブ(HDD)103、操作部105及びモニタ106によって構成される。
FIG. 1 is a diagram illustrating a hardware configuration of a timing chart creation support system. A timing chart
図2は、タイミングチャート作成支援システム100の機能ブロック図である。同図に示すタイミングチャート作成支援システム100は、複数のタスクが共通のリソースを確保する期間を表すタイミングチャートの作成を支援するものであり、リソース確保情報取得手段、メッセージ通信情報取得手段、通信遅延情報取得手段、リソース確保間隔情報取得手段及びグループ分け情報取得手段としての情報取得部52と、タイミングチャート作成手段及びタイミングチャート変更手段としてのタイミングチャート作成部54と、競合期間検出手段及び実行競合判定手段としての競合判定部56と、メッセージ判定手段としてのメッセージ判定部58と、リソース確保可否判定手段としての確保可否判定部60と、リソース確保間隔判定手段としての確保間隔判定部62と、一致タイミング検出手段としての一致タイミング検出部64と、表示制御手段としての表示制御部66とにより構成される。これら各機能ブロックは、図1のハードウェア構成においては、CPU101が操作部105の操作に応じて、HDD103から読み出してメモリ102に記憶させた所定のプログラムを実行することによって実現される。
FIG. 2 is a functional block diagram of the timing chart
以下、タイミングチャート作成支援システム100の動作を説明する。図3は、タイミングチャート作成支援システム100の第1の動作を示すフローチャートである。
Hereinafter, the operation of the timing chart
情報取得部52は、リソース確保情報を取得する(S101)。例えば、ユーザが操作部105を操作して、リソース確保情報の入力操作を行うと、情報取得部52は、その入力操作に応じたリソース確保情報を生成する。
The
図4は、リソース確保情報の一例を示す図である。図4に示すリソース確保情報は、各タスク毎に、当該タスクにおいてリソースを確保する周期(リソース確保周期:t2)、1のリソース確保周期においてリソースを確保する期間(リソース確保期間:t3、t4)、及び、リソース確保周期においてタスクのリソース確保期間が移動可能であるか否かを示す種別からなる。これらのうち、種別は、リソース確保期間が移動不能である場合にはHard、移動可能である場合にはSoftとなる。 FIG. 4 is a diagram illustrating an example of resource reservation information. The resource reservation information shown in FIG. 4 includes, for each task, a period for securing a resource in the task (resource reservation period: t2), a period for securing a resource in one resource reservation period (resource reservation periods: t3, t4). And the type indicating whether or not the resource securing period of the task is movable in the resource securing cycle. Among these, the type is Hard when the resource securing period is immovable, and is Soft when it is movable.
再び、図3に戻って説明する。情報取得部52は、取得したリソース確保情報をタイミングチャート作成部54へ送る。タイミングチャート作成部54は、このリソース確保情報に基づいて、チャートデータを作成する(S102)。
Again, referring back to FIG. The
チャートデータは、タイミングチャートの画像の作成に必要な情報である。図5は、チャートデータの一例を示す図である。図5に示すチャートデータは、各タスク毎に、当該タスクにおけるリソース確保周期、種別、各回のリソース確保周期におけるリソース確保期間の開始及び終了のタイミング、当該リソース確保期間の領域の表示色からなる。リソース確保周期及び種別は、リソース確保情報からそのまま得られる。また、初期状態では、リソース確保期間の表示領域の色は、予め定められた色が設定される。更には、初期状態では、リソース確保期間の開始タイミングは、リソース確保周期の開始タイミングと一致し、リソース確保期間の終了タイミングは、開始タイミングからリソース確保情報内のリソース確保期間だけ経過後のタイミングが設定される。 The chart data is information necessary for creating a timing chart image. FIG. 5 is a diagram illustrating an example of the chart data. The chart data shown in FIG. 5 includes, for each task, the resource reservation period and type of the task, the start and end timings of the resource reservation period in each resource reservation period, and the display color of the area of the resource reservation period. The resource reservation period and type can be obtained directly from the resource reservation information. In the initial state, a predetermined color is set as the color of the display area in the resource securing period. Furthermore, in the initial state, the start timing of the resource reservation period coincides with the start timing of the resource reservation period, and the end timing of the resource reservation period is the timing after the elapse of the resource reservation period in the resource reservation information from the start timing. Is set.
再び、図3に戻って説明する。タイミングチャート作成部54は、作成したチャートデータに基づいて、タイミングチャート画像を作成し(S103)、表示制御部66は、この作成されたタイミングチャート画像を、モニタ106に表示させる(S104)。
Again, referring back to FIG. The timing
図6は、タイミングチャート画像の第1の例を示す図である。図6に示すタイミングチャート画像は、初期のチャートデータに基づいて作成され、表示されるものである。タスク1に対応するタイミングチャートは、リソース確保周期の領域11−1乃至11−3(以下、これらをまとめて適宜「リソース確保周期領域11」と称する)と、リソース確保期間の領域12−1乃至12−3(以下、これらをまとめて適宜「リソース確保期間領域12」と称する)からなる。また、タスク2に対応するタイミングチャートは、リソース確保周期の領域13−1乃至13−4(以下、これらをまとめて適宜「リソース確保周期領域13」と称する)と、リソース確保期間の領域14−1乃至14−4(以下、これらをまとめて適宜「リソース確保期間領域14」と称する)からなる。また、タスク3に対応するタイミングチャートは、リソース確保周期の領域15−1乃至15−5(以下、これらをまとめて適宜「リソース確保周期領域15」と称する)と、リソース確保期間の領域16−1乃至16−10(以下、これらをまとめて適宜「リソース確保期間領域16」と称する)からなる。リソース確保周期領域11、13及び15の長さは、リソース確保周期の時間長に比例し、リソース確保期間領域12、14及び16の長さは、リソース確保期間の時間長に比例する。また、リソース確保期間の領域12は、種別がHardであることに対応して四角形状となっており、リソース確保期間の領域14及び16は、種別がSoftであることに対応して楕円形状あるいは円形状となっている。
FIG. 6 is a diagram illustrating a first example of a timing chart image. The timing chart image shown in FIG. 6 is created and displayed based on initial chart data. The timing chart corresponding to
再び、図3に戻って説明する。競合判定部56は、複数のタスクによるリソース確保が競合するか否かを判定する(S105)。具体的には、競合判定部56は、タイミングチャート作成部54によって、リソース確保情報に基づいて作成されるチャートデータを取得する。更に、競合判定部56は、このチャートデータに基づく、複数のタスクにおけるリソース確保期間が時間的に重複している場合、リソース確保が競合していると判定する。
Again, referring back to FIG. The
複数のタスクによるリソース確保が競合している場合、競合判定部56は、チャートデータにおける、その競合が生じているタスクのリソース確保期間領域の表示色を変更して、タイミングチャート作成部54へ送る。タイミングチャート作成部54は、取得したチャートデータに基づいて、リソース確保の競合が生じているタスクのリソース確保期間領域の表示色を変更したタイミングチャート画像を再作成し、表示制御部66は、この再作成されたタイミングチャート画像を、モニタ106に表示させる処理を行う(S106)。なお、リソース確保の競合が生じているタスクのリソース確保期間領域の表示色を変更するとともに、リソース確保の競合が生じているタスクのリソース確保期間が存在することを通知するためのポップアップ画像等がタイミングチャート画像に含まれるようにしてもよい。
When resource securing by a plurality of tasks is competing, the
図7は、タイミングチャート画像の第2の例を示す図である。図7に示すタイミングチャート画像は、リソース確保の競合が生じているタスクのリソース確保期間領域の表示色を変更したチャートデータに基づいて作成され、表示されるものである。図6に示すタイミングチャートでは、タスク1におけるリソース確保期間領域12−1、タスク2におけるリソース確保期間領域14−1、タスク3におけるリソース確保期間領域16−1及び16−2が時間的に重複している。このため、図7に示すタイミングチャート画像では、これらリソース確保期間領域の表示色が変更される(図7では斜線に変更されている)。また、図7に示すタイミングチャート画像では、タスク2におけるリソース確保期間領域14−2と、タスク3におけるリソース確保期間領域16−4とが時間的に重複し、タスク1におけるリソース確保期間領域12−2と、タスク3におけるリソース確保期間領域16−5とが時間的に重複し、タスク1におけるリソース確保期間領域12−3と、タスク3におけるリソース確保期間領域16−7及び16−8とが時間的に重複し、タスク1におけるリソース確保期間領域12−3と、タスク2におけるリソース確保期間領域14−4とが時間的に重複している。このため、図7に示すタイミングチャート画像では、これらリソース確保期間領域の表示色が変更される。
FIG. 7 is a diagram illustrating a second example of the timing chart image. The timing chart image shown in FIG. 7 is created and displayed based on chart data obtained by changing the display color of the resource securing period area of the task in which resource securing competition occurs. In the timing chart shown in FIG. 6, the resource securing period region 12-1 in
再び、図3に戻って説明する。リソース確保の競合が生じているタスクのリソース確保期間領域の表示色が変更された後、次に、タイミングチャート作成部54は、リソース確保期間の変更情報を取得したか否かを判定する(S107)。具体的には、ユーザは、図7に示すタイミングチャート画像が表示されている状態で、操作部105を操作する(クリック操作やドラック操作等)ことにより、リソース確保期間領域12、14及び16を移動させることができる。情報取得部52は、この操作の情報をリソース確保期間変更情報として取得し、タイミングチャート作成部54へ送る。
Again, referring back to FIG. After the display color of the resource securing periods region tasks resource reservation conflict has occurred has changed, then, the timing
リソース確保期間変更情報を取得した場合、タイミングチャート作成部54は、そのリソース確保期間変更情報に基づいて、リソース確保期間が変更されたチャートデータを再作成する(S102)。具体的には、タイミングチャート作成部54は、リソース確保期間変更情報に基づいて、リソース確保期間の開始タイミングを特定し、タイミングチャート作成部54は、チャートデータ内のリソース確保期間の開始タイミングを、その特定した開始タイミングに変更する。更に、タイミングチャート作成部54は、チャートデータ内のリソース確保期間の終了タイミングを、変更前の開始タイミングと変更後の開始タイミングの差分だけ経過後のタイミングに変更する。
When the resource securing period change information is acquired, the timing
更に、タイミングチャート作成部54は、再作成したチャートデータに基づいて、タイミングチャート画像を再作成し(S103)、表示制御部66は、この再作成されたタイミングチャート画像を、モニタ106に表示させる処理を行う(S104)。その後は、複数のタスクによるリソース確保が競合するか否かの判定(S105)、リソース確保の競合が生じているタスクのリソース確保期間領域の表示色の変更(S106)、及び、リソース確保期間の変更情報を取得したか否かの判定(S107)の動作が繰り返される。
Further, the timing
図8乃至図14は、ユーザの操作によってリソース確保期間が変更される場合のタイミングチャート画像の例を示す図である。まず、図7に示すタイミングチャート画像において、タスク3におけるリソース確保期間領域16−1及び16−2が図8に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域16−1及び16−2に対応するリソース確保期間は、他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複していない。従って、競合判定部56は、リソース確保期間領域16−1及び16−2に対応するリソース確保期間をリソース確保が競合していない期間として特定することになる。このため、図8に示すように移動後のリソース確保期間領域16−1及び16−2の表示色が初期設定された色に戻されたタイミングチャート画像が再作成され、表示される。
8 to 14 are diagrams illustrating examples of timing chart images when the resource securing period is changed by a user operation. First, in the timing chart image shown in FIG. 7, when the resource securing period areas 16-1 and 16-2 in the
次に、図8に示すタイミングチャート画像において、タスク2におけるリソース確保期間領域14−1が図9に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域14−1に対応するリソース確保期間は、タスク3におけるリソース確保期間領域16−3に対応するリソース確保期間と時間的に重複し、一方、リソース確保期間領域14−1の移動によってタスク1におけるリソース確保期間領域12−1に対応するリソース確保期間は他のタスクにおけるリソース確保期間領域と時間的に重複しなくなる。従って、競合判定部56は、リソース確保期間領域12−1に対応するリソース確保期間をリソース確保が競合していない期間として特定し、リソース確保期間領域14−1及び16−3に対応するリソース確保期間をリソース確保が競合している期間として特定することになる。このため、図9に示すように、リソース確保期間領域12−1の表示色が初期設定された色に戻され、リソース確保期間領域14−1及び16−3の表示色が変更されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 8, when the resource securing period area 14-1 in the
次に、図9に示すタイミングチャート画像において、タスク3におけるリソース確保期間領域16−3及び16−4が図10に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域16−3に対応するリソース確保期間は、タスク2におけるリソース確保期間領域14−2に対応するリソース確保期間と時間的に重複し、一方、移動後のリソース確保期間領域16−4に対応するリソース確保期間は、他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複していない。従って、競合判定部56は、リソース確保期間領域16−3に対応するリソース確保期間をリソース確保が競合している期間として特定し、リソース確保期間領域16−4に対応するリソース確保期間をリソース確保が競合していない期間として特定することになる。このため、図10に示すように移動後のリソース確保期間領域14−3の表示色が変更され、移動後のリソース確保期間領域16−4の表示色が初期設定された色に戻されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 9, when the resource securing period areas 16-3 and 16-4 in the
次に、図10に示すタイミングチャート画像において、タスク2におけるリソース確保期間領域14−2が図11に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域14−2に対応するリソース確保期間は、タスク3におけるリソース確保期間領域16−6に対応するリソース確保期間と時間的に重複している。従って、競合判定部56は、リソース確保期間領域14−2に対応するリソース確保期間をリソース確保が競合している期間として特定することになる。このため、図11に示すように移動後のリソース確保期間領域14−2の表示色が変更されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 10, when the resource securing period area 14-2 in the
次に、図11に示すタイミングチャート画像において、タスク3におけるリソース確保期間領域16−5及び16−6が図12に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域16−5及び16−6に対応するリソース確保期間は、他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複しておらず、リソース確保期間領域16−5及び16−6の移動によってタスク1におけるリソース確保期間領域12−2及びタスク2におけるリソース確保期間領域14−2に対応するリソース確保期間も他のタスクにおけるリソース確保期間領域と時間的に重複していない。従って、競合判定部56は、リソース確保期間領域16−5、16−6、12−2及び14−2に対応するリソース確保期間をリソース確保が競合していない期間として特定することになる。このため、図12に示すように移動後のリソース確保期間領域16−5、16−6、12−2及び14−2の表示色が初期設定された色に戻されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 11, when the resource securing period regions 16-5 and 16-6 in the
次に、図12に示すタイミングチャート画像において、タスク3におけるリソース確保期間領域16−7及び16−8が図13に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域16−7及び16−8に対応するリソース確保期間は、他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複していない。従って、競合判定部56は、リソース確保期間領域16−7及び16−8に対応するリソース確保期間をリソース確保が競合していない期間として特定することになる。このため、図13に示すように移動後のリソース確保期間領域16−7及び16−8の表示色が初期設定された色に戻されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 12, when the resource securing period areas 16-7 and 16-8 in the
次に、図13に示すタイミングチャート画像において、タスク2におけるリソース確保期間領域14−4が図14に示すように移動すると、その移動に対応するチャートデータが作成される。移動後のリソース確保期間領域14−4に対応するリソース確保期間は、他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複しておらず、リソース確保期間領域14−4の移動によってタスク1におけるリソース確保期間領域12−3に対応するリソース確保期間も他のタスクにおけるリソース確保期間領域に対応するリソース確保期間と時間的に重複していない。従って、競合判定部56は、リソース確保期間領域14−4及び12−3に対応するリソース確保期間をリソース確保が競合していない期間として特定することになる。このため、図14に示すように移動後のリソース確保期間領域14−4の表示色と、リソース確保期間領域12−3の表示色が初期設定された色に戻されたタイミングチャート画像が再作成され、表示される。
Next, in the timing chart image shown in FIG. 13, when the resource securing period area 14-4 in the
再び、図3に戻って説明する。S107においてリソース確保期間変更情報を取得していないと判断された場合や、S105においてリソース確保の競合がないと判定された場合、タイミングチャート作成部54は、ユーザによる操作部105の操作の情報に基づいて、終了指示がなされたか否かを判定する(S108)。終了指示がなされた場合には、一連の動作を終了する。一方、終了指示がなされていない場合には、リソース確保情報の取得(S101)以降の動作が繰り返される。
Again, referring back to FIG. When it is determined in S107 that the resource securing period change information has not been acquired, or when it is determined in S105 that there is no resource securing conflict, the timing
このように、タイミングチャート作成支援システム100は、リソース確保情報に対応するタイミングチャートを作成するとともに、複数のタスクによるリソース確保が競合する場合には、そのタスクのリソース確保期間を特定して表すタイミングチャートを作成、表示する。このため、ユーザは、どのタスクによるリソース確保が競合しているか、更には、どのタスクのリソース確保期間を変更すれば、競合が防止されるのか等を容易に把握することができる。また、タイミングチャート作成支援システム100は、ユーザの操作によってリソース確保期間が変更された場合には、その変更に応じたタイミングチャートを作成する。このため、ユーザがタスクのリソース確保期間の変更を要求するような場合に、その要求に応じてリソース確保期間が変更されたタイミングチャートの作成、表示が可能となり、最終的に、図14に示すような複数のタスクによるリソース確保が競合しないように計画されるタイミングチャートの作成を支援することができる。
As described above, the timing chart
図15は、タイミングチャート作成支援システム100の第2の動作を示すフローチャートである。タイミングチャート作成部54は、タスク間で送受され、受信先のタスクによるリソース確保の開始の契機となり得るメッセージの通信を表すメッセージ通信情報を取得したか否かを判定する(S201)。例えば、ユーザは、操作部105により、タイミングチャート画像が表示されている状態で、1のタスクにおけるリソース確保期間領域の終端と、他のタスクにおけるリソース確保期間領域の始端とを結んだメッセージ線を記述する操作を行うことができる。あるいは、ユーザは、操作部105により、最初にタスク1からタスク2へメッセージが送られ、次にタスク2からタスク3へメッセージが送られる等のメッセージの送受順序を入力する操作を行うことができる。情報取得部52は、これらの操作の情報をメッセージ通信情報として取得し、タイミングチャート作成部54へ送る。
FIG. 15 is a flowchart showing a second operation of the timing chart
メッセージ通信情報を取得した場合、タイミングチャート作成部54は、そのメッセージ通信情報に基づいて、メッセージの送受を表したチャートデータを再作成する(S202)。具体的には、タイミングチャート作成部54は、メッセージ通信情報に基づいて、メッセージの送信元となるタスクにおけるリソース確保期間と、受信先となるタスクにおけるリソース確保期間とを特定する。更に、タイミングチャート作成部54は、図16に示すように、チャートデータ内のリソース確保期間のうち、メッセージの送信元となるタスクにおけるリソース確保期間に、当該メッセージの受信先のタスクにおけるリソース確保期間の識別情報を付加するとともに、メッセージの受信先となるタスクにおけるリソース確保期間に、当該メッセージの送信元のタスクにおけるリソース確保期間の識別情報を付加する。
When the message communication information is acquired, the timing
次に、タイミングチャート作成部54は、メッセージ通信情報に基づいて再作成したチャートデータに基づいて、メッセージ線を含んだタイミングチャート画像を作成し(S203)、表示制御部66は、当該メッセージ線を含んだタイミングチャート画像をモニタ106に表示させる処理を行う(S204)。
Next, the timing
図17は、メッセージ線を含んだタイミングチャート画像の一例を示す図である。図17に示すタイミングチャート画像では、メッセージ線17−1乃至17−9(以下、これらをまとめて適宜「メッセージ線17」と称する)が含まれている。例えば、メッセージ線17−1は、タスク1においてリソース確保期間領域12−1に対応するリソース確保期間が終了したときに、タスク1からタスク3にメッセージが送られ、当該タスク3においてリソース確保期間領域16−1及び16−2に対応するリソース確保期間が開始されることを表しており、矢印の始端がタスク1におけるメッセージの送信タイミングとなり、終端がタスク3におけるメッセージの受信タイミングとなっている。なお、ユーザによってリソース確保期間領域の移動操作がなされた場合、その移動に伴って、当該リソース確保期間領域に対応するリソース確保期間の開始タイミングと一致する受信タイミングのメッセージを表すメッセージ線17も、その一致を維持するように連動して変更される。
FIG. 17 is a diagram illustrating an example of a timing chart image including a message line. The timing chart image shown in FIG. 17 includes message lines 17-1 to 17-9 (hereinafter collectively referred to as “
このように、タイミングチャート作成支援システム100は、ユーザの操作によってタスク間にメッセージが設定される場合には、そのメッセージの送受を特定したタイミングチャートを作成しており、タスク間におけるメッセージの送受を反映したタイミングチャートの作成、表示が可能となり、ユーザは、タスク間のメッセージの送受を把握することができる。
As described above, when a message is set between tasks by a user's operation, the timing chart
なお、メッセージ線17とリソース確保周期領域11、13、15の囲み線とが重なってリソース確保周期が視認しづらくなることを防止すべく、タイミングチャート作成部54は、ユーザの操作指示に応じて、図18に示すタイミングチャート画像のように、リソース確保周期領域11、13、15の囲み線を太くしてもよい。
In order to prevent the
また、タイミングチャート作成部54は、ユーザの操作指示に応じて、図19に示すタイミングチャート画像のように、各タスクのタイミングチャート毎に開始タイミングを変更してもよい。この場合、タイミングチャート作成部54は、チャートデータに、タイミングチャートの初期の開始タイミングと変更後の開始タイミングとの時間差を追加し、そのチャートデータに基づいて、追加された時間差だけ開始を遅らせたタイミングチャート画像を作成する。
Further, the timing
また、タイミングチャート作成部54は、ユーザの操作指示に応じて、図20に示すタイミングチャート画像のように、短いリソース確保周期におけるリソース確保期間領域から長いリソース確保周期におけるリソース確保期間領域へ順次メッセージ線17を伸ばしたタイミングチャート画像を作成するようにしてもよい。この場合、タイミングチャート作成部54は、チャートデータ内の各タスク毎のリソース確保周期により、そのリソース確保周期の時間長を認識し、当該時間長に基づいてメッセージの送受順序を決定し、更に当該送受順序に基づいて、S202と同様の動作によってメッセージの送受を表したチャートデータを作成する。その後、タイミングチャート作成部54は、その作成したチャートデータに基づいて、タイミングチャート画像を作成する。
Further, the timing
なお、このようにしてメッセージの送受順序が決定される場合、メッセージの受信先のタスクにおいて、その受信タイミングのリソース確保周期内で既にリソース確保がなされている、換言すれば、リソース確保期間が経過している等の理由によって、当該メッセージがリソース確保の開始の契機とならない場合がある。メッセージ判定部58は、タイミングチャート作成部54によって再作成されたチャートデータに基づいて、メッセージがリソース確保の開始の契機となるか否かを判定するものであり、その判定結果をタイミングチャート作成部54へ送る。タイミングチャート作成部54は、この判定結果に基づいて、メッセージがリソース確保の開始の契機とならない場合には、当該メッセージの受信先のタスクにおける受信タイミングを強調表示したタイミングチャート画像を作成する。
Note that when the message transmission / reception order is determined in this way, the resource is already secured within the resource securing period at the reception timing in the message receiving task, in other words, the resource securing period has elapsed. For some reason, the message may not trigger the start of resource reservation. The
例えば、図20では、タスク1におけるリソース確保周期領域11−3に対応するリソース確保周期において、リソース確保期間領域12−3に対応するリソース確保期間が経過した後に、再度、タスク1は、タスク2からのメッセージを受信することを表しているが、このメッセージは、既にリソース確保期間が経過しているため、リソース確保の開始の契機とならない。このため、受信タイミングの強調表示18がタイミングチャート画像に含まれることになる。
For example, in FIG. 20, after the resource reservation period corresponding to the resource reservation period area 12-3 has elapsed in the resource reservation period corresponding to the resource reservation period area 11-3 in
また、タイミングチャート作成部54は、メッセージの送受における通信遅延を考慮したタイミングチャート画像を作成するようにしてもよい。図21は、通信遅延の情報を含んだリソース確保情報の一例を示す図である。図21では、各タスク間のメッセージの送受における最小の通信遅延と最大の通信遅延とが含まれている。
Further, the timing
例えば、ユーザが操作部105を操作して、通信遅延の情報の入力操作を行うと、情報取得部52は、その入力操作に応じ、通信遅延の情報を含んだリソース確保情報を作成し、タイミングチャート作成部54へ送る。タイミングチャート作成部54は、リソース確保情報内の通信遅延の情報を取得すると、チャートデータに最小通信遅延及び最大通信遅延を追加し、更に、当該チャートデータに基づいて、最小通信遅延及び最大通信遅延を表すメッセージ線を含んだタイミングチャート画像を作成する。
For example, when the user operates the
図22は、通信遅延を考慮したタイミングチャート画像の第1の例を示す図である。図22に示すタイミングチャート画像では、最小通信遅延及び最大通信遅延を表すメッセージ線19−1乃至19−3(以下、これらをまとめて適宜「メッセージ線19」と称する)が含まれている。例えば、メッセージ線19−1は、タスク3においてリソース確保期間領域16−1及び16−2に対応するリソース確保期間が終了したときに、タスク3からタスク2にメッセージが送られることを表しており、2本の矢印の始端がタスク3におけるメッセージの送信タイミングとなり、終端が最小通信遅延の場合と最大通信遅延の場合におけるタスク2におけるメッセージの受信タイミングとなっている。
FIG. 22 is a diagram illustrating a first example of a timing chart image in consideration of communication delay. The timing chart image shown in FIG. 22 includes message lines 19-1 to 19-3 representing the minimum communication delay and the maximum communication delay (hereinafter collectively referred to as “
このようにして、タスク間におけるメッセージの通信遅延を反映したタイミングチャートの作成、表示が可能となり、ユーザは、通信遅延の状態を把握することができる。 In this manner, a timing chart reflecting the message communication delay between tasks can be created and displayed, and the user can grasp the state of the communication delay.
ところで、通信遅延を考慮しない場合には、複数のタスクによるリソース確保が競合しなくても、通信遅延を考慮することによって、リソース確保が競合する場合がある。競合判定部56は、通信遅延を考慮してリソース確保の競合を判定する場合、タイミングチャート作成部54によって作成されたチャートデータに基づいて、メッセージの受信先のタスクにおいてリソースが確保される可能性のある期間を特定する。具体的には、競合判定部56は、メッセージの受信先のタスクにおいて、通信遅延を考慮しない場合におけるリソース確保期間の開始タイミングから最小通信遅延だけ経過後のタイミングから、通信遅延を考慮しない場合におけるリソース確保期間の終了タイミングから最大通信遅延だけ経過後のタイミングまでの期間を、メッセージの受信先のタスクにおいてリソースが確保される可能性のある期間であると特定する。
By the way, when communication delay is not considered, resource reservation may compete by considering communication delay even if resource reservation by a plurality of tasks does not compete. When the
そして、競合判定部56は、メッセージの受信先のタスクにおいてリソースが確保される可能性のある期間が、他のタスクにおけるリソースが確保される可能性のある期間や、リソース確保期間と時間的に重複している場合、複数のタスクにおけるリソース確保が競合していると判定する。
Then, the
複数のタスクによるリソース確保が競合している場合、競合判定部56は、チャートデータにおける、その競合が生じているタスクのリソース確保期間領域の表示色を変更して、タイミングチャート作成部54へ送る。タイミングチャート作成部54は、取得したチャートデータに基づいて、競合が生じているタスクのリソース確保期間領域の表示色を変更したタイミングチャート画像を作成する。なお、リソース確保の競合が生じているタスクのリソース確保期間領域の表示色を変更するとともに、競合が生じているタスクのリソース確保期間が存在することを通知するためのポップアップ画像等がタイミングチャート画像に含まれるようにしてもよい。
When resource securing by a plurality of tasks is competing, the
また、タイミングチャート作成部54は、メッセージの最大通信遅延に応じてリソース確保期間を変更したタイミングチャート画像を作成することもできる。この場合、タイミングチャート作成部54は、通信遅延の情報を取得すると、チャートデータに最小通信遅延及び最大通信遅延を追加するとともに、当該チャートデータ内のメッセージの受信先のタスクにおけるリソース確保期間の開始タイミングから最大通信遅延だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングから最大通信遅延だけ経過後のタイミングを新たな終了タイミングとして設定する。更に、タイミングチャート作成部54は、その再作成したチャートデータに基づいて、タイミングチャート画像を作成する。
In addition, the timing
なお、チャートデータ内のリソース確保期間の開始タイミング及び終了タイミングを最大通信遅延に応じて変更する場合、変更後のリソース確保期間が対応するリソース確保周期内に収まらない場合がある。確保可否判定部60は、タイミングチャート作成部54からのチャートデータを取得し、当該チャートデータ内の変更後のリソース確保期間とリソース確保周期に基づいて、変更後のリソース確保期間が対応するリソース確保周期内に収まるか否か、換言すれば、リソース確保周期においてリソースを確保することができるか否かを判定し、その判定結果をタイミングチャート作成部54へ送る。タイミングチャート作成部54は、この判定結果に基づいて、リソース確保周期においてリソースを確保することができない場合には、対応するリソース確保周期やリソース確保期間の表示色を変更したタイミングチャート画像を作成する。なお、タスクのリソース確保期間領域の表示色を変更するとともに、リソースを確保することができないことを通知するためのポップアップ画像等がタイミングチャート画像に含まれるようにしてもよい。
When the start timing and end timing of the resource reservation period in the chart data are changed according to the maximum communication delay, the changed resource reservation period may not be within the corresponding resource reservation period. The
図23乃至図25は、メッセージの最大通信遅延に応じてリソース確保期間を変更したタイミングチャート画像の一例を示す図である。図23に示すタイミングチャート画像では、メッセージ線19−1乃至19−3で表されるメッセージ送受の最大通信遅延を考慮することによって、図22と比較すると、タスク2におけるリソース確保期間領域14−1、及び、タスク1におけるリソース確保期間領域12−1に対応するリソース確保期間の開始タイミングが最大通信遅延である場合のメッセージの受信タイミングと一致している。また、最大通信遅延を考慮することによって、タスク3におけるリソース確保周期領域15−2に対応するリソース確保周期において、リソース確保期間領域16−3及び16−4に対応するリソース確保期間が収まらないため、リソース確保周期領域15−2の表示色が変更されるとともに、リソース確保期間領域16−3及び16−4がリソース確保周期領域15−2の枠外に表示され、更に表示色が変更される。
23 to 25 are diagrams illustrating examples of timing chart images in which the resource securing period is changed according to the maximum communication delay of a message. In the timing chart image shown in FIG. 23, the resource securing period area 14-1 in
また、図24に示すタイミングチャート画像では、メッセージ線19−1乃至19−4で表されるメッセージ送受の最大通信遅延を考慮することによって、タスク2におけるリソース確保期間領域14−1に対応するリソース確保期間、タスク3におけるリソース確保期間領域16−1及び16−2に対応するリソース確保期間、タスク2におけるリソース確保期間領域14−2に対応するリソース確保期間、及び、タスク1におけるリソース確保期間領域12−2に対応するリソース確保期間の開始タイミングが最大通信遅延である場合のメッセージの受信タイミングと一致している。また、最大通信遅延を考慮することによって、タスク1におけるリソース確保周期領域11−2に対応するリソース確保周期において、リソース確保期間領域12−2に対応するリソース確保期間が収まらないため、リソース確保期間領域12−2の表示色が変更され、更に、当該リソース確保期間領域12−2に対応するリソース確保期間の開始タイミングと受信タイミングが一致するメッセージに対応するメッセージ線19−4が強調表示されている。
Further, in the timing chart image shown in FIG. 24, the resource corresponding to the resource securing period area 14-1 in
また、図25に示すタイミングチャート画像では、メッセージ線19−1乃至19−5で表されるメッセージ送受の最大通信遅延を考慮することによって、タスク2におけるリソース確保期間領域14−1に対応するリソース確保期間、タスク3におけるリソース確保期間領域16−1及び16−2に対応するリソース確保期間、タスク1におけるリソース確保期間領域12−2に対応するリソース確保期間、及び、タスク2におけるリソース確保期間領域14−2に対応するリソース確保期間の開始タイミングが最大通信遅延である場合のメッセージの受信タイミングと一致している。また、最大通信遅延を考慮することによって、タスク3におけるリソース確保周期領域15−2に対応するリソース確保周期において、リソース確保期間領域16−3及び16−4に対応するリソース確保期間が収まらないため、リソース確保周期領域15−2の表示色が変更されるとともに、リソース確保期間領域16−3及び16−4がリソース確保周期領域15−2の枠外に表示され、更に表示色が変更される。更には、リソース確保期間領域16−3に対応するリソース確保期間の開始タイミングと受信タイミングが一致するメッセージに対応するメッセージ線19−5が強調表示されている。
In the timing chart image shown in FIG. 25, the resource corresponding to the resource securing period area 14-1 in
また、タイミングチャート作成部54は、メッセージの最小通信遅延に応じてリソース確保期間を変更したタイミングチャート画像を作成することもできる。この場合、タイミングチャート作成部54は、通信遅延の情報を取得すると、チャートデータに最小通信遅延及び最大通信遅延を追加するとともに、当該チャートデータ内のメッセージの受信先のタスクにおけるリソース確保期間の開始タイミングから最小通信遅延だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングから最小通信遅延だけ経過後のタイミングを新たな終了タイミングとして設定する。更に、タイミングチャート作成部54は、その再作成したチャートデータに基づいて、タイミングチャート画像を作成する。
In addition, the timing
図26は、メッセージの最小通信遅延に応じてリソース確保期間を変更したタイミングチャート画像の一例を示す図である。図26に示すタイミングチャート画像では、メッセージ線19−1乃至19−3で表されるメッセージ送受の最小通信遅延を考慮することによって、タスク2におけるリソース確保期間領域14−1、及び、タスク1におけるリソース確保期間領域12−1に対応するリソース確保期間の開始タイミングが最小通信遅延である場合のメッセージの受信タイミングと一致している。
FIG. 26 is a diagram illustrating an example of a timing chart image in which the resource securing period is changed according to the minimum communication delay of the message. In the timing chart image shown in FIG. 26, by considering the minimum communication delay of message transmission / reception represented by message lines 19-1 to 19-3, the resource securing period area 14-1 in
また、タイミングチャート作成部54は、1のタスクから複数のタスクに対して同時にメッセージが送られる場合に、1の受信先のタスクによるリソース確保の開始を他の受信先のタスクのリソース確保期間だけ遅らせたタイミングチャート画像を作成することもできる。
In addition, when a message is sent simultaneously from one task to a plurality of tasks, the timing
この場合、タイミングチャート作成部54は、情報取得部52から通信遅延の情報を取得すると、チャートデータに最小通信遅延及び最大通信遅延を追加するとともに、メッセージの受信先の各タスクについて、リソース確保の優先度を特定する。この優先度は、例えば、ユーザの操作指示に応じて設定されたものでもよく、予め定められたものでもよい。
In this case, when the timing
次に、タイミングチャート作成部54は、チャートデータ内の優先度の最も高いタスクのリソース確保期間の開始タイミングについては、当該開始タイミングから最大通信遅延だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングについては、当該終了タイミングから最大通信遅延だけ経過後のタイミングを新たな終了タイミングとして設定する。また、タイミングチャート作成部54は、チャートデータ内の2番目以降の優先度のタスクのリソース確保期間の開始タイミングについては、当該開始タイミングから、最大通信遅延と当該タスクよりも優先度の高い他のタスクの先行するリソース確保期間との合計値だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングについては、当該終了タイミングから、最大通信遅延と当該タスクよりも優先度の高い他のタスクの先行するリソース確保期間との合計値だけ経過後のタイミングを新たな終了タイミングとして設定する。更に、タイミングチャート作成部54は、再作成したチャートデータに基づいて、タイミングチャート画像を作成する。
Next, for the start timing of the resource securing period of the task with the highest priority in the chart data, the timing
図27は、1のタスクから複数のタスクに対して同時にメッセージが送られる場合に、1の受信先のタスクによるリソース確保の開始を他の受信先のタスクのリソース確保期間だけ遅らせたタイミングチャート画像の一例を示す図である。図27に示すタイミングチャート画像は、タスク1からタスク2及び3に同時にメッセージが送られ、且つ、リソース確保の優先度はタスク3が高く、タスク2が低くなっている場合の例である。
FIG. 27 is a timing chart image in which the start of resource reservation by one recipient task is delayed by the resource reservation period of another recipient task when a message is sent simultaneously from one task to a plurality of tasks. It is a figure which shows an example. The timing chart image shown in FIG. 27 is an example in which a message is sent simultaneously from
図27に示すタイミングチャート画像では、タスク3におけるリソース確保期間領域16−1乃至16−8に対応するリソース確保期間の開始タイミングは、メッセージ線19−1乃至19−4で表されるメッセージ送受の最大通信遅延を考慮することによって、最大通信遅延である場合のメッセージの受信タイミングと一致している。また、タスク2におけるリソース確保期間領域14−1乃至14−4に対応するリソース確保期間の開始タイミングは、メッセージ線19−1乃至19−4で表されるメッセージ送受の最大通信遅延と、当該タスク2よりも優先度の高いタスク3における先行するリソース確保期間とを考慮することによって、最大通信遅延である場合のメッセージの受信タイミングから更にタスク3におけるリソース確保期間だけ経過後のタイミングとなっており、タスク3における先行するリソース確保期間が他タスクリソース確保期間線20−1乃至20−4によって表されている。
In the timing chart image shown in FIG. 27, the start timing of the resource securing period corresponding to the resource securing period areas 16-1 to 16-8 in the
また、タイミングチャート作成部54は、メッセージの最小通信遅延に応じてリソース確保期間を変更したタイミングチャートと、最大通信遅延に応じてリソース確保期間を変更したタイミングチャートの双方の画像を作成してもよい。
Further, the timing
この場合、タイミングチャート作成部54は、通信遅延の情報を取得すると、チャートデータに最小通信遅延及び最大通信遅延を追加するとともに、当該チャートデータ内のメッセージの受信先のタスクにおけるリソース確保期間の開始タイミングから最小通信遅延だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングから最小通信遅延だけ経過後のタイミングを新たな終了タイミングとして設定した第1のチャートデータと、メッセージの受信先のタスクにおけるリソース確保期間の開始タイミングから最大通信遅延だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングから最大通信遅延だけ経過後のタイミングを新たな終了タイミングとして設定した第2のチャートデータとを作成する。なお、タイミングチャート作成部54は、リソース確保期間の開始タイミング及び終了タイミングを遅らせたことに合わせて、対応するリソース確保周期の開始タイミングをも遅らせたチャートデータを作成してもよい。
In this case, when the timing
また、1のタスクから複数のタスクに対して同時にメッセージが送られる場合には、タイミングチャート作成部54は、上述した手順により、チャートデータ内の2番目以降の優先度のタスクのリソース確保期間の開始タイミングについては、更に、当該タスクよりも優先度の高い他のタスクの先行するリソース確保期間だけ経過後のタイミングを新たな開始タイミングとして設定し、リソース確保期間の終了タイミングについては、当該タスクよりも優先度の高い他のタスクの先行するリソース確保期間だけ経過後のタイミングを新たな終了タイミングとして設定する。この場合も同様に、タイミングチャート作成部54は、リソース確保期間の開始タイミング及び終了タイミングを遅らせたことに合わせて、対応するリソース確保周期の開始タイミングをも遅らせたチャートデータを作成してもよい。
Further, when a message is simultaneously sent from one task to a plurality of tasks, the timing
図28は、メッセージの最小通信遅延に応じてリソース確保期間を変更したタイミングチャートと、最大通信遅延に応じてリソース確保期間を変更したタイミングチャートの双方を含んだタイミングチャート画像の一例を示す図である。 FIG. 28 is a diagram illustrating an example of a timing chart image including both a timing chart in which the resource securing period is changed according to the minimum communication delay of the message and a timing chart in which the resource securing period is changed according to the maximum communication delay. is there.
図28に示すタイミングチャート画像では、タスク2及びタスク3のタイミングチャートは、それぞれ最大通信遅延に対応するものと最小通信遅延に対応するものとが表されている。タスク2のタイミングチャートのうち、最小通信遅延に対応するタイミングチャートにはリソース確保期間領域14−1−1及びリソース確保周期領域13−1−1が表され、これらの開始タイミングは、最大通信遅延に対応するタイミングチャートに表されているリソース確保期間領域14−1−2及びリソース確保周期領域13−1−2よりも、最大通信遅延と最小通信遅延の差分だけ先行して表されている。同様に、タスク3のタイミングチャートのうち、最小通信遅延に対応するタイミングチャートにはリソース確保期間領域16−1−1及びリソース確保周期領域15−1−1が表され、これらの開始タイミングは、最大通信遅延に対応するタイミングチャートに表されているリソース確保期間領域16−1−2及びリソース確保周期領域15−1−2よりも、最大通信遅延と最小通信遅延の差分だけ先行して表されている。
In the timing chart image shown in FIG. 28, the timing charts of
また、タイミングチャート作成部54は、1のタスクにおいてリソースを解放してから次にリソースを確保するまでの間隔(リソース確保間隔)に制限がある場合、当該リソース確保間隔を考慮したタイミングチャート画像を作成することもできる。
In addition, when there is a limit on an interval (resource allocation interval) from the time when resources are released in one task until the next resource is allocated, the timing
この場合、例えば、ユーザが操作部105を操作して、リソース確保間隔の情報の入力操作を行うと、情報取得部52は、そのリソース確保間隔の情報を取得し、タイミングチャート作成部54へ送る。タイミングチャート作成部54は、リソース確保間隔の情報を取得すると、チャートデータにリソース確保間隔を追加し、更に、当該チャートデータに基づいて、リソース確保間隔を表す確保間隔線を含んだタイミングチャート画像を作成する。
In this case, for example, when the user operates the
また、確保間隔判定部62は、タイミングチャート作成部54からのチャートデータを取得し、当該チャートデータ内のリソース確保期間とリソース確保間隔とに基づいて、リソース確保期間がリソース確保間隔を満たしているか否かを判定する。具体的には、確保間隔判定部62は、1のリソース確保期間の開始タイミングと、その1つ前のリソース確保期間の終了タイミングとを特定して、これらの間隔を算出し、当該間隔がリソース確保間隔を超えている場合には、1のリソース確保期間がリソース確保間隔を満たしていないと判定する。判定結果はタイミングチャート作成部54へ送られる。タイミングチャート作成部54は、この判定結果に基づいて、リソース確保間隔を満たしていないリソース確保期間の表示色を変更したタイミングチャート画像を作成する。なお、リソース確保間隔を満たしていないリソース確保期間の表示色を変更するとともに、リソース確保間隔を満たしていないリソース確保期間が存在することを通知するためのポップアップ画像等がタイミングチャート画像に含まれるようにしてもよい。
Further, the reservation
図29は、リソース確保間隔を考慮したタイミングチャート画像の第1の例を示す図である。図29に示すタイミングチャート画像では、リソース確保間隔を表す確保間隔線21−1乃至21−3(以下、これらをまとめて適宜「確保間隔線21」と称する)が含まれている。また、タスク2のリソース確保期間領域14−2−1及び14−2−2に対応するリソース確保期間は、1つ前のリソース確保期間との間隔がリソース確保間隔を超えているため、これらリソース確保期間領域14−2−1及び14−2−2の表示色が変更されている。
FIG. 29 is a diagram illustrating a first example of a timing chart image in consideration of a resource securing interval. The timing chart image shown in FIG. 29 includes reservation interval lines 21-1 to 21-3 (hereinafter collectively referred to as “
図30は、リソース確保間隔を考慮したタイミングチャート画像の第2の例を示す図である。図30に示すタイミングチャート画像では、図29に示すタイミングチャート画像と比較すると、新たに確保間隔線22が追加されている。この確保間隔線22は、1のリソース確保期間が最大通信遅延の場合であり、その1つ前のリソース確保期間が最小通信遅延の場合における、1のリソース確保期間と、その1つ前のリソース確保期間との間隔がリソース確保間隔を超えているか否かを、ユーザが容易に認識可能とするために表示されるものである。 FIG. 30 is a diagram illustrating a second example of the timing chart image in consideration of the resource securing interval. In the timing chart image shown in FIG. 30, a securing interval line 22 is newly added as compared with the timing chart image shown in FIG. 29. This reservation interval line 22 is for the case where the one resource reservation period is the maximum communication delay, and when the one resource reservation period is the minimum communication delay, the one resource reservation period and the previous resource It is displayed so that the user can easily recognize whether or not the interval with the securing period exceeds the resource securing interval.
このようにして、リソース確保間隔を特定し、更に、当該リソース確保間隔を満たしていないタスクのリソース確保期間を特定したタイミングチャートが作成、表示されることにより、ユーザは、リソース確保間隔と、当該リソース確保間隔を満たしていないタスクのリソース確保期間を把握することが可能となる。 In this way, the resource reservation interval is specified, and further, the timing chart specifying the resource reservation period of the task that does not satisfy the resource reservation interval is created and displayed. It becomes possible to grasp the resource securing period of a task that does not satisfy the resource securing interval.
また、タイミングチャート作成部54は、複数のタスクのリソース確保周期の終端が一致するタイミングまでのタイミングチャート画像を作成することもできる。この場合、一致タイミング検出部64は、タイミングチャート作成部54からのチャートデータを取得し、当該チャートデータ内のリソース確保周期に基づいて、複数のタスクのリソース確保周期の最大公約数を算出する。この算出結果は、タイミングチャート作成部54へ送られる。タイミングチャート作成部54は、この算出結果である最大公約数に対応するタイミングを終端とするタイミングチャート画像を作成するとともに、当該タイミングを表すマークを付加する。
The timing
図31は、複数のタスクのリソース確保周期の終端が一致するタイミングまでのタイミングチャート画像の一例を示す図である。図31では、タスク1及びタスク2について、リソース確保周期の最大公約数に対応するタイミングを終端とするタイミングチャート画像とともに、当該タイミングを表すマーク23が含まれている。
Figure 31 is a diagram showing an example of a timing chart image in timing bears the end of the resource securing the period of multiple tasks match. In FIG. 31, for
また、タイミングチャート作成部54は、複数のタスクがグループ分けされる場合に、グループに属するタスク間で、実行が競合するタスクを特定したタイミングチャート画像を作成するようにしてもよい。
Further, when a plurality of tasks are grouped, the timing
図32は、複数のタスクがグループ分けされる場合におけるリソース確保情報の一例を示す図である。図32では、タスクが属するグループの情報、同一グループに属するタスク間で実行が競合する場合にどれを優先するのかを表す優先度、タスクの実行周期及び実行期間とが含まれている。 FIG. 32 is a diagram illustrating an example of resource securing information when a plurality of tasks are grouped. FIG. 32 includes information on a group to which a task belongs, a priority indicating which is given priority when execution conflicts between tasks belonging to the same group, a task execution cycle, and an execution period.
例えば、ユーザが操作部105を操作して、グループ分けと、タスクの実行周期及び実行期間の設定のための操作を行うと、情報取得部52は、その操作に応じ、図32に示すようなタスクが属するグループの情報、優先度、タスクの実行周期及び実行期間とを含んだリソース確保情報を作成し、タイミングチャート作成部54へ送る。タイミングチャート作成部54は、リソース確保情報内のグループの情報を取得すると、チャートデータに各タスクが属するグループの識別情報、優先度、実行周期及び実行期間を追加したチャートデータを作成する。更に、タイミングチャート作成部54は、当該チャートデータに基づいて、タスクのグループ分けを表すグループ線とタスクの実行期間を表す実行期間領域とを含んだタイミングチャート画像を作成する。
For example, when the user operates the
図33は、タスクのグループ分けと実行期間とを考慮したタイミングチャート画像の第1の例を示す図である。図33に示すタイミングチャート画像では、グループ線24と、実行期間領域25とが含まれており、グループ線24は、タスク1及び2のタイミングチャートを取り囲むように表され、これらタスク1及び2が同一グループに属することを表している。
FIG. 33 is a diagram illustrating a first example of a timing chart image in consideration of task grouping and an execution period. In the timing chart image shown in FIG. 33, a
競合判定部56は、タイミングチャート作成部54からのチャートデータを取得すると、当該チャートデータ内のグループの識別情報、実行周期及び実行期間に基づいて、同一グループに属するタスクの実行が競合しているか否か、換言すれば、同一グループに属するタスクの実行期間が時間的に重複しているか否かを判定する。
When the
同一グループに属するタスクの実行が競合している場合、競合判定部56は、チャートデータにおける、その競合が生じているタスクの実行期間をタイミングチャート作成部54へ通知する。タイミングチャート作成部54は、この通知を受けると、チャートデータ内の競合が生じているタスクの実行期間に対応する優先度を把握し、優先度の低いタスクの実行期間領域のうち、優先度の高いタスクの実行期間領域と重複する部分については、タスクが実行されずに待機状態であることを表す待機期間領域に変更し、更に実行期間領域の終端に、実行期間が延長されたことを表す待機期間領域と同一の長さの延長期間領域を追加したタイミングチャート画像を作成する。
When the execution of tasks belonging to the same group competes, the
図34は、タスクのグループ分けと実行期間とを考慮したタイミングチャート画像の第2の例を示す図である。図33に示すタイミングチャート画像では、同一グループに属するタスク1の実行期間領域25に対応する実行期間領域とタスク2の実行期間領域26に対応する実行期間領域とが時間的に重複している。この場合、上述した同一グループに属するタスクの実行の競合判定によって、図34に示すタイミングチャート画像では、優先度の低いタスク(ここではタスク2)の実行期間領域26のうち、優先度の高いタスク(ここではタスク1)の実行期間領域25と重複する部分については、待機期間領域28に変更され、更に実行期間領域26の終端に、待機期間領域28と同一の長さの延長期間領域29が追加されている。
FIG. 34 is a diagram illustrating a second example of a timing chart image in consideration of task grouping and an execution period. In the timing chart image shown in FIG. 33, the execution period area corresponding to the
また、タイミングチャート作成部54は、上述と同様、ユーザの操作等に応じたリソース確保期間の変更情報を取得した場合には、図35に示すように、リソース確保期間領域(個々ではリソース確保期間領域14)を移動させたタイミングチャート画像を生成する。更に、タイミングチャート作成部54は、チャートデータ内のリソース確保期間と、タスクの実行期間とを比較し、リソース確保期間の開始タイミングや終了タイミングがタスクの実行期間の範囲外である場合、換言すれば、タスクがリソース確保の開始や終了を把握することができない状態になる場合には、図36に示すように、その旨を表す警告線30をタイミングチャート画像に追加することができる。また、タイミングチャート作成部54は、リソースを確保する際のオーバヘッド時間が存在する場合には、チャートデータ内のリソース確保期間の開始タイミング及び終了タイミングを、オーバヘッド時間だけ経過後のタイミングに変更し、更に、この変更後のチャートデータに基づいて、図37に示すように、リソース確保期間領域(ここではリソース確保期間領域12)の前端にオーバヘッド時間領域30を挿入したタイミングチャート画像を作成することができる。
The timing
以上、説明したように、本発明に係るタイミングチャート作成支援システム、タイミングチャート作成支援方法及びタイミングチャート作成支援プログラムによれば、リソース確保の競合を防止したタイミングチャートを作成する場合において、ユーザに対する適切な支援を行うことが可能となり、タイミングチャート作成支援システム等として有用である。 As described above, according to the timing chart creation support system, the timing chart creation support method, and the timing chart creation support program according to the present invention, when creating a timing chart that prevents competition for securing resources, it is appropriate for the user. Therefore, it is possible to perform a simple support, which is useful as a timing chart creation support system.
52 情報取得部
54 タイミングチャート作成部
56 競合判定部
58 メッセージ判定部
60 確保可否判定部
62 確保間隔判定部
64 一致タイミング検出部
66 表示制御部
100 タイミングチャート作成支援システム
101 CPU
102 メモリ
103 HDD
105 操作部
106 モニタ
107 内部バス
52
102
105
Claims (17)
前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得手段と、
前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出手段と、
前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成手段と、
前記タイミングチャートを表示ユニットに表示させる表示制御手段と、
前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更手段とを有することを特徴とするタイミングチャート作成支援システム。 A timing chart creation support system that supports creation of a timing chart representing a period in which a plurality of tasks secure a common resource,
For each of the plurality of tasks, information representing the resource securing period of the task, information representing the resource securing period of the task, and whether the resource securing period can move in the resource securing period Resource reservation information acquisition means for acquiring resource reservation information including period type information;
Contention period detection means for detecting resource reservation periods that overlap in time for two or more tasks based on the resource reservation information acquired for each of the plurality of tasks;
A period in which each of the plurality of tasks secures the resource based on resource reservation information acquired for each of the plurality of tasks and a resource reservation period that overlaps in time for the two or more detected tasks. And a timing chart creating means for creating a timing chart that identifies the resource securing period that overlaps in time and distinguishing whether or not it is a period that can be moved,
Display control means for displaying the timing chart on a display unit;
When an operation is performed in the operation unit to move the resource securing period, which is distinguished as the period in which the task can be moved, on the timing chart displayed on the display unit within the resource securing period, A timing chart creation support system comprising timing chart changing means for changing the timing chart in the resource securing period after movement of the task.
前記タイミングチャート作成手段は、前記メッセージ通信情報に基づいて、前記メッセージの送受を特定しつつ表すタイミングチャートを作成することを特徴とする請求項1又は2に記載のタイミングチャート作成支援システム。 Message communication information acquisition means for acquiring message communication information representing communication of a message that is transmitted and received between the tasks and can be a trigger for securing a resource by a task at the reception destination;
3. The timing chart creation support system according to claim 1, wherein the timing chart creation unit creates a timing chart representing the transmission / reception of the message based on the message communication information.
前記タイミングチャート作成手段は、前記タスクによるリソース確保の開始の契機にならないと判定されたメッセージを特定しつつ表すタイミングチャートを作成することを特徴とする請求項3に記載のタイミングチャート作成支援システム。 Based on the resource reservation information and the message communication information, has a message determination means for determining whether a message received by a predetermined task triggers the start of resource reservation by the task;
4. The timing chart creation support system according to claim 3, wherein the timing chart creation means creates a timing chart that identifies and identifies a message that is determined not to trigger the start of resource reservation by the task.
前記タイミングチャート作成手段は、前記メッセージの通信遅延の情報に基づいて、前記メッセージの通信遅延を特定しつつ表すタイミングチャートを作成することを特徴とする請求項3又は4に記載のタイミングチャート作成支援システム。 Communication delay information acquisition means for acquiring communication delay information of the message between the tasks;
5. The timing chart creation support according to claim 3, wherein the timing chart creation unit creates a timing chart that indicates the communication delay of the message based on information on the communication delay of the message. system.
前記タイミングチャート作成手段は、リソース確保が不能であると判定されたタスクを特定しつつ表すタイミングチャートを作成することを特徴とする請求項5乃至8のいずれかに記載のタイミングチャート作成支援システム。 Based on the resource reservation information and the communication delay information of the message, resource reservation availability determination means for determining whether or not the task can secure a resource within the resource reservation period of the task,
9. The timing chart creation support system according to claim 5, wherein the timing chart creation means creates a timing chart that represents a task determined to be unable to secure resources.
前記タイミングチャート作成手段は、前記リソース確保間隔情報に基づいて、前記タスクのリソース確保間隔を特定しつつ表すタイミングチャートを作成することを特徴とする請求項1乃至10のいずれかに記載のタイミングチャート作成支援システム。 Resource securing interval information obtaining means for obtaining resource securing interval information representing the resource securing interval of the task;
The timing chart according to any one of claims 1 to 10, wherein the timing chart creating unit creates a timing chart representing the resource securing interval of the task based on the resource securing interval information. Creation support system.
前記タイミングチャート作成手段は、前記リソース確保間隔を満たしていないと判定されたタスクを特定しつつ表すタイミングチャートを作成することを特徴とする請求項11に記載のタイミングチャート作成支援システム。 Based on the resource reservation interval information, resource reservation interval determination means for determining whether the task satisfies the resource reservation interval,
The timing chart creation support system according to claim 11, wherein the timing chart creation unit creates a timing chart that represents a task that is determined not to satisfy the resource securing interval.
前記タイミングチャート作成手段は、前記検出された複数のタスクのリソース確保周期の終端が一致するタイミングまでのタイミングチャートを作成することを特徴とする請求項1乃至12のいずれかに記載のタイミングチャート作成支援システム。
A coincidence timing detecting means for detecting a timing at which the end of the resource securing period of the plurality of tasks coincides;
The timing chart creation means according to any one of claims 1 to 12 , wherein the timing chart creation means creates a timing chart up to a timing at which the end points of the resource securing periods of the plurality of tasks coincide with each other. Support system.
前記複数のタスクのそれぞれについて、該タスクの実行期間を表す実行期間情報を取得する実行期間情報取得手段と、
前記グループ分けの情報と、前記実行期間情報とに基づいて、前記グループ毎に、該グループに属するタスクの実行が競合するか否かを判定する実行競合判定手段と、
前記タイミングチャート作成手段は、前記実行が競合すると判定されたタスクを特定しつつ表すタイミングチャートを作成することを特徴とする請求項1乃至13のいずれかに記載のタイミングチャート作成支援システム。 Grouping information acquisition means for acquiring grouping information when the plurality of tasks are divided into groups,
For each of the plurality of tasks, execution period information acquisition means for acquiring execution period information representing the execution period of the task;
Execution conflict determination means for determining, for each group, whether or not execution of tasks belonging to the group competes based on the grouping information and the execution period information;
The timing chart creation support system according to any one of claims 1 to 13, wherein the timing chart creation unit creates a timing chart that indicates a task determined to compete with the execution.
前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得ステップと、
前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出ステップと、
前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成ステップと、
前記タイミングチャートを表示ユニットに表示させる表示制御ステップと、
前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更ステップとを有することを特徴とするタイミングチャート作成支援方法。 A timing chart creation support method for supporting creation of a timing chart representing a period in which a plurality of tasks secure a common resource,
For each of the plurality of tasks, information representing the resource securing period of the task, information representing the resource securing period of the task, and whether the resource securing period can move in the resource securing period A resource reservation information acquisition step for acquiring resource reservation information including period type information;
A contention period detection step of detecting a resource reservation period overlapping in time for two or more tasks based on the resource reservation information acquired for each of the plurality of tasks;
A period in which each of the plurality of tasks secures the resource based on resource reservation information acquired for each of the plurality of tasks and a resource reservation period that overlaps in time for the two or more detected tasks. And a timing chart creating step for creating a timing chart for identifying the resource securing period that overlaps in time while distinguishing whether or not it is a period during which movement is possible,
A display control step of displaying the timing chart on a display unit;
When an operation is performed in the operation unit to move the resource securing period, which is distinguished as the period in which the task can be moved, on the timing chart displayed on the display unit within the resource securing period, A timing chart creation support method comprising: a timing chart changing step for changing the timing chart in the resource securing period after the movement of the task.
前記複数のタスクのそれぞれについて、該タスクのリソース確保周期を表す情報、該タスクのリソース確保期間を表す情報、及び、前記リソース確保期間が前記リソース確保周期において移動することができるか否かを表す期間種別情報を含むリソース確保情報を取得するリソース確保情報取得ステップと、
前記複数のタスクのそれぞれについて取得したリソース確保情報に基づいて、2以上のタスクについての時間的に重なるリソース確保期間を検出する競合期間検出ステップと、
前記複数のタスクのそれぞれについて取得されたリソース確保情報と、前記検出された2以上のタスクについての時間的に重なるリソース確保期間とに基づいて、前記複数のタスクのそれぞれが前記リソースを確保する期間を、移動することができる期間であるか否かを区別するとともに、前記時間的に重なるリソース確保期間を特定しつつ表すタイミングチャートを作成するタイミングチャート作成ステップと、
前記タイミングチャートを表示ユニットに表示させる表示制御ステップと、
前記表示ユニットに表示されたタイミングチャート上においてタスクの前記移動することのできる期間として区別されたリソース確保期間を、前記リソース確保周期内で移動させるための操作が操作ユニットにてなされたときに、該タスクについて移動後の前記リソース確保期間にて前記タイミングチャートを変更するタイミングチャート変更ステップとを有することを特徴とするタイミングチャート作成支援プログラム。
A timing chart creation support program executed by a computer that supports creation of a timing chart representing a period in which a plurality of tasks secure a common resource,
For each of the plurality of tasks, information representing the resource securing period of the task, information representing the resource securing period of the task, and whether the resource securing period can move in the resource securing period A resource reservation information acquisition step for acquiring resource reservation information including period type information;
A contention period detection step of detecting a resource reservation period overlapping in time for two or more tasks based on the resource reservation information acquired for each of the plurality of tasks;
A period in which each of the plurality of tasks secures the resource based on resource reservation information acquired for each of the plurality of tasks and a resource reservation period that overlaps in time for the two or more detected tasks. And a timing chart creating step for creating a timing chart for identifying the resource securing period that overlaps in time while distinguishing whether or not it is a period during which movement is possible,
A display control step of displaying the timing chart on a display unit;
When an operation is performed in the operation unit to move the resource securing period, which is distinguished as the period in which the task can be moved, on the timing chart displayed on the display unit within the resource securing period, A timing chart creation support program, comprising: a timing chart changing step for changing the timing chart in the resource securing period after movement for the task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006174386A JP4431126B2 (en) | 2006-06-23 | 2006-06-23 | Timing chart creation support system, timing chart creation support method, and timing chart creation support program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006174386A JP4431126B2 (en) | 2006-06-23 | 2006-06-23 | Timing chart creation support system, timing chart creation support method, and timing chart creation support program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008003946A JP2008003946A (en) | 2008-01-10 |
JP4431126B2 true JP4431126B2 (en) | 2010-03-10 |
Family
ID=39008261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006174386A Expired - Fee Related JP4431126B2 (en) | 2006-06-23 | 2006-06-23 | Timing chart creation support system, timing chart creation support method, and timing chart creation support program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4431126B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012014313A1 (en) * | 2010-07-30 | 2012-02-02 | 富士通株式会社 | Multi-core processor system, thread control method, and thread control program |
JP7170957B2 (en) * | 2020-10-05 | 2022-11-14 | 三菱電機株式会社 | Distributed processing system, distributed processing method, distributed processing program and scheduling device |
-
2006
- 2006-06-23 JP JP2006174386A patent/JP4431126B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008003946A (en) | 2008-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI323431B (en) | Interruptible gpu and method for processing multiple contexts and runlists | |
JP5793690B2 (en) | Interface device and memory bus system | |
CN1873688B (en) | Image processing device, method, and storage medium which stores a program | |
JP2005327094A (en) | Uml design method | |
CN107430492A (en) | Free time software garbage is collected | |
JP4431126B2 (en) | Timing chart creation support system, timing chart creation support method, and timing chart creation support program | |
JP2005352839A (en) | Data communication device | |
CN107273124A (en) | The processing method of running software performance information, apparatus and system | |
CN114567445B (en) | Method, device, equipment and medium for transmitting signature verification data | |
JP4405365B2 (en) | Program conversion apparatus and method | |
CN106850596B (en) | Data acquisition system and method | |
CN115527663A (en) | Method, device and equipment for processing oral cavity scanning data | |
JP6124594B2 (en) | Power system monitoring and control apparatus and control program therefor | |
EP3152657B1 (en) | Installation interface presentation method and apparatus | |
US20110161860A1 (en) | Method and apparatus for separating events | |
JP2005258552A (en) | Event analysis apparatus | |
JP2008158649A (en) | Data collecting device | |
JP2002041748A (en) | Device and method for projection information management | |
JP2005165825A (en) | Trace information recorder | |
CN110413706A (en) | Data processing method, device, storage medium and electronic equipment | |
JP6184217B2 (en) | Simulation control method, simulation control program, and simulation control apparatus | |
KR101524484B1 (en) | Method and apparatus for step printing an electronic document applied animation effect | |
CN118796141A (en) | Image display method, device, ultrasonic equipment and storage medium | |
JP4174421B2 (en) | Image signal generator | |
JP5334173B2 (en) | Data transfer system and retry control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090819 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091015 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091209 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091218 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121225 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4431126 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121225 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151225 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |