JP2001282574A - Expressing method for graphic expression program including processing time information - Google Patents

Expressing method for graphic expression program including processing time information

Info

Publication number
JP2001282574A
JP2001282574A JP2000094176A JP2000094176A JP2001282574A JP 2001282574 A JP2001282574 A JP 2001282574A JP 2000094176 A JP2000094176 A JP 2000094176A JP 2000094176 A JP2000094176 A JP 2000094176A JP 2001282574 A JP2001282574 A JP 2001282574A
Authority
JP
Japan
Prior art keywords
program
block
processing
graphic
processing time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000094176A
Other languages
Japanese (ja)
Inventor
Kiyoshi Yamanaka
清 山中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2000094176A priority Critical patent/JP2001282574A/en
Publication of JP2001282574A publication Critical patent/JP2001282574A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a display method for displaying not only the flow of a program processing but also processing time required at every processing unit of a program in programming by graphic expression. SOLUTION: The prescribed number of blocks at every processing unit of the program are arranged between a start block and an end block. Connection showing the processing order of the programs is arranged between the blocks and processing time information required for performing the programs of the blocks is displayed by the lengths of the width directions of the blocks.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、図式表現によるプ
ログラミングにおいて、プログラム処理の流れのみなら
ず、プログラムの各処理単位毎に要する処理時間も表示
できるようにする表現方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an expression method for displaying not only the flow of a program process but also the processing time required for each processing unit of a program in programming by a graphic expression.

【0002】[0002]

【従来の技術】近年“アイコン”の図柄によりファイル
の内容、プログラムの種類、機能等を表示する方式が一
般化している。また最近は、図式表現によるプログラミ
ングの表示手法も提案されるようになった。この図式表
現によるプログラミング表示の公知文献としては、例え
ば「特開平11−149393号公報、図式表現による
プログラムデバック装置」がある。これら従来の図式表
現によるプログラミングでは、図の構成要素として、プ
ログラムの一単位の処理(例えば一つの機能や動作を行
う処理で複数ステップのプログラムを含むもの等)を表
す絵や記号、図形等の形状の処理ブロックが用いられて
いた。
2. Description of the Related Art In recent years, a method of displaying the contents of a file, the type of a program, the function, and the like by using an "icon" symbol has become popular. Recently, a programming display method using a graphic expression has been proposed. As a well-known document of the programming display by the graphic expression, there is, for example, Japanese Patent Application Laid-Open No. H11-149393, a program debugging device by the graphic expression. In the programming using these conventional graphic expressions, as a component of a diagram, a picture, a symbol, a graphic, or the like representing a unit process of a program (for example, a process for performing one function or operation and including a multi-step program) is used. Shaped processing blocks were used.

【0003】そして従来のコードで表現されるプログラ
ムに比較して、図式表現によるプログラムの方が、図形
等に含まれる機能が理解しやすい利点はあるが、これら
は、プログラム処理の流れ(例えば、プログラム開始後
は、まず処理Aを、次に処理Bを行い、次にある条件判
別を行い、その判別結果がYESなら処理Cを行い、N
Oなら処理Dを行う等)を表示することを主目的とする
ものであった。また、図式表現によるプログラミングに
おけるシミュレーション(模擬的にプログラムを実行し
てみること)の場合における役割も、プログラム上の処
理の流れが正しく記述できているかを確認することに主
眼が置かれていた。
[0005] Compared to a program represented by a conventional code, a program represented by a graphic representation has an advantage that functions included in a figure or the like can be easily understood. After the program starts, first, the processing A is performed, then the processing B is performed, and then a certain condition determination is performed. If the determination result is YES, the processing C is performed.
The main purpose is to display a process D if it is O). In addition, the role in the case of simulation (executing a program simulated) in programming by a schematic representation also focuses on confirming whether the flow of processing on the program can be correctly described.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の図式表現によるプログラミングは、プログ
ラム処理の流れを表現することを主目的とするものであ
るため、プログラムの実行に要する時間を表示画面から
直感的に理解することは、従来のコード表現によるプロ
グラムと同様に、不可能であった。従ってプログラムの
実行時間が重要視されるリアルタイム処理系のプログラ
ムに対しては、従来の処理時間情報を含まない図式表現
プログラミングの表示方法は、満足のいくものではなか
った。
However, since the above-mentioned conventional programming by graphic representation is mainly for expressing the flow of the program processing, the time required for executing the program is displayed on the display screen. Intuitively, as in the case of a program using a conventional code expression, was impossible. Therefore, for a program of a real-time processing system in which the execution time of the program is regarded as important, the conventional method of displaying the graphical representation programming not including the processing time information has not been satisfactory.

【0005】[0005]

【課題を解決するための手段】本発明に係る処理時間情
報を含む図式表現プログラムの表現方法は、開始ブロッ
クと終了ブロックの間にプログラムの処理単位毎のブロ
ックもしくは図形を所要数だけ配列し、これらのブロッ
クもしくは図形間にプログラムの処理順を示す結線を設
けて表現する図式表現プログラムにおいて、前記各ブロ
ックもしくは図形で表現されたプログラムをそれぞれ実
行するのに必要な相対的または絶対的な各処理時間情報
を、それぞれ対応する各ブロックもしくは図形を用いて
または各ブロックもしくは図形の近傍の表示部に表示す
るものである。
According to the present invention, there is provided a method for expressing a graphic expression program including processing time information, comprising arranging a required number of blocks or graphics for each processing unit of a program between a start block and an end block. In a diagrammatic expression program in which connections indicating the processing order of a program are provided between these blocks or figures, a relative or absolute processing required to execute the program represented by each block or figure is performed. The time information is displayed using a corresponding block or figure or on a display unit near each block or figure.

【0006】[0006]

【発明の実施の形態】実施形態1 図1は本発明の実施形態1に係る処理時間情報を含む図
式表現プログラムの表示例を示す図である。図1におい
て、各ブロックはそれぞれ長方形または正方形等の矩形
状図形で表示されたプログラムの1処理単位であり、こ
れらの各ブロックは、それぞれ開始ブロックと終了ブロ
ックの間において、プログラムの処理順に配列されると
共に、各ブロック間の結線がなされて全体のダイヤグラ
ムが表示される。なお図1の表示例は、プログラムの実
行開始前の状態を表示したものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a diagram showing a display example of a graphic expression program including processing time information according to Embodiment 1 of the present invention. In FIG. 1, each block is one processing unit of a program displayed in a rectangular figure such as a rectangle or a square, and these blocks are arranged between a start block and an end block in the processing order of the program. At the same time, connections are made between the blocks, and the entire diagram is displayed. Note that the display example in FIG. 1 shows a state before the execution of the program is started.

【0007】図1においては、プログラムの実行開始
後、2つの処理系の並列処理が同時に行われ、第1処理
系である処理1,2,3の終了後と、第2処理系である
処理Aの終了後に、両処理系の出力の同期処理を行う例
が示される。本実施形態1の特徴は、図1の各処理ブロ
ックの「幅方向の長さ」(図1では、プログラムは、ブ
ロックへの矢印入力側(左側)から矢印の出力側(右
側)へ進行するので「幅方向の長さ」でよいが、一般の
流れ図のように上側から下側にプログラムが進行するよ
うな場合もあるので、本発明では、このような場合も含
めた名称として「プログラムの進行方向の長さ」と称す
る)L1 ,L2 ,L3 及びLA がそれぞれのブロックで
必要とするプログラムの処理時間情報を示していること
である。
In FIG. 1, after the execution of a program is started, parallel processing of two processing systems is performed simultaneously, and after processing 1, 2, 3 which is a first processing system, and processing which is a second processing system. An example is shown in which the output of both processing systems is synchronized after A is completed. A feature of the first embodiment is that the “length in the width direction” of each processing block in FIG. 1 (in FIG. 1, the program proceeds from the arrow input side (left side) to the block to the arrow output side (right side). Therefore, the "length in the width direction" may be used, but the program may progress from the upper side to the lower side as in a general flow chart. traveling direction is referred to as a length ") is that L 1, L 2, L 3 and L a indicates the processing time information of the program required by the respective blocks.

【0008】いま図1の各処理ブロックで示す処理1,
2,3及びAのプログラムを実行するのに要する時間を
1 ,T2 ,T3 及びTA とすると、これらの時間の比
は前記ブロックの幅方向の長さの比と等しい。例えばL
1 /L2 =T1 /T2 ,L1/LA =T1 /TA ,L2
/L3 =T2 /T3 ,…等となる。即ち各ブロックの幅
方向の長さは、それぞれ相対的な処理時間情報を示して
いる(なお絶対的な処理時間情報は、図6の(c)に示
す)。
Processing 1 shown in each processing block of FIG.
2, 3 and the time required to execute the program A When T 1, T 2, T 3 and T A, the ratio of these times is equal to the ratio of the length in the width direction of the block. For example, L
1 / L 2 = T 1 / T 2, L 1 / L A = T 1 / T A, L 2
/ L 3 = T 2 / T 3 , etc. That is, the length in the width direction of each block indicates relative processing time information (the absolute processing time information is shown in FIG. 6C).

【0009】図2は本発明に係るプログラム処理単位毎
の処理時間の算出及び表示例を示す図である。いま処理
1が、nステップのプログラムで構成されるとすると、
各ステップのプログラム毎に必要な処理時間(例えば加
算命令と乗算命令とでは処理所要時間が大幅に異なる)
をそれぞれ求め、これらプログラム毎の処理時間を属性
データとして順次設定してゆく。図2においては、処理
1の#1プログラムに5msec、#2プログラムに10ms
ec,…と#nプログラムまで設定して、これら設定値の
総合計として処理1の処理時間を求めた例が100msec
となっている。
FIG. 2 is a diagram showing an example of calculation and display of processing time for each program processing unit according to the present invention. Assuming that the process 1 is composed of an n-step program,
Processing time required for each step program (for example, processing time is significantly different for addition and multiplication instructions)
Are calculated, and the processing time for each program is sequentially set as attribute data. In FIG. 2, 5 ms for the # 1 program of the process 1 and 10 ms for the # 2 program.
ec,... and #n programs are set, and the processing time of processing 1 is calculated as a total of these set values in 100 msec.
It has become.

【0010】同様に処理2がmステップのプログラムで
構成されており、#1プログラムに13msec、#2プロ
グラムに17msec、…と#mプログラムまで設定して、
これら設定値の総合計として処理2の処理時間を求めた
例が300msecとなっている。この場合、処理ブロック
1,2の幅方向の長さL1 ,L2 は、L1 /L2 =10
0/300=1/3となるようにそれぞれの長さを設定
する。
Similarly, the processing 2 is composed of an m-step program. The # 1 program is set to 13 msec, the # 2 program is set to 17 msec,...
An example in which the processing time of the processing 2 is obtained as a total sum of these set values is 300 msec. In this case, the lengths L 1 and L 2 in the width direction of the processing blocks 1 and 2 are L 1 / L 2 = 10.
The respective lengths are set so that 0/300 = 1/3.

【0011】図3は図1の図式表現プログラムの実行過
程を示す図である。図3は、このプログラムの実行開始
前の状態(図1)からプログラムの実行が開始され逐次
進行する過程を(a)〜(d)の順に示している。ま
ず、各ブロックには、未実行、実行中又は既実行の3つ
の状態があり、また各ブロック間を結ぶ結線には未通過
又は既通過の2つの状態がある。本実施形態において
は、これらの各状態を識別できるようにするため、各状
態を異なる表示色により表示しているが、図面には色彩
を付与できないので、図3における各状態の識別表示法
を最初に説明する。
FIG. 3 is a diagram showing an execution process of the graphic expression program of FIG. FIG. 3 shows a process in which the execution of the program is started from the state before the execution of the program is started (FIG. 1) and progresses sequentially, in the order of (a) to (d). First, each block has three states, that is, unexecuted, being executed, and already executed, and a connection between the blocks has two states of not passed or already passed. In the present embodiment, in order to be able to identify each of these states, each state is displayed in a different display color. However, since colors cannot be given to the drawings, the identification and display method of each state in FIG. Let me explain first.

【0012】図1のように、ブロック内が文字のみの場
合は未実行のブロックを表し、ブロック間の結線が細い
矢印の場合は未通過の結線を表している。従って図1
は、プログラムが全く実行されていない最初の状態を示
している。また図3の(b)の処理1のようにブロック
内の周囲にハッチングのある場合は既実行のブロックを
表し、ブロック間の結線が太い矢印の場合は既通過の結
線を表している。また図3の(a)の処理1のようにこ
のブロックから2つの矢印が外部に出ている場合は現在
実行中のブロックを表している。また処理Aのようにプ
ログラム処理時間の長いブロックについては、例えば、
この処理時間を3分割し、それぞれ初期、中期、終期
(上期、中期、下期でもよい)のどの期間を実行してい
るかを表するようにしている。図3の処理Aでは、
(a)が初期を、(b)が中期を、(c)が終期をそれ
ぞれ実行中であることを表している。
As shown in FIG. 1, when only characters are included in a block, an unexecuted block is shown, and when the connection between blocks is a thin arrow, an unpassed connection is shown. Therefore, FIG.
Indicates an initial state in which no program is executed. Also, when there is hatching around the inside of the block as in processing 1 of FIG. 3B, the block has already been executed, and when the connection between the blocks is a thick arrow, the connection has already passed. Further, when two arrows are outside from this block as in the process 1 in FIG. 3A, the block is currently being executed. For a block having a long program processing time such as process A, for example,
This processing time is divided into three to indicate which of the initial, middle, and final periods (the first, middle, and second periods may be performed). In the process A of FIG.
(A) indicates the initial stage, (b) indicates the middle stage, and (c) indicates the end stage.

【0013】図3に示す図式表現プログラムの実行過程
を説明する。図3の(a)では、プログラムの実行(ま
たはシミュレーションの実行)が開始されたので、開始
ブロックの表示色を変え(この例では初期の黒色から赤
色に変え)、処理1と処理Aの初期が現在実行中である
ので、該当ブロック及び該当ブロックの該当部分を異な
る2色(この例では黒色と赤色)を交互に切換えて繰返
し表示する。処理2,3及び処理Aの中期と終期は未実
行であるので、該当ブロックと該当ブロックの該当部分
を未実行のブロックの表示色(この例では黒色)で表示
する。また開始ブロックと処理1及び処理A間の矢印
は、既通過のため太い矢印で、その他の矢印は未通過の
ため細い矢印で表示する。
An execution process of the diagram expression program shown in FIG. 3 will be described. In FIG. 3A, since the execution of the program (or the execution of the simulation) has been started, the display color of the start block is changed (in this example, the color is changed from initial black to red), and the first processing and the initial processing A are started. Is currently being executed, the corresponding block and the corresponding portion of the block are repeatedly displayed by alternately switching between two different colors (black and red in this example). Since the middle and final stages of the processes 2 and 3 and the process A have not been executed, the corresponding block and the corresponding portion of the block are displayed in the display color of the unexecuted block (black in this example). Arrows between the start block and processing 1 and processing A are displayed as thick arrows because they have already passed, and the other arrows are displayed as thin arrows because they have not passed.

【0014】図3の(b)では、開始ブロック及び処理
1は、既実行の表示色(この例では赤色)で表示され、
処理2及び処理Aの中期は現在実行中であることを示す
異なる2色(この例では黒色と赤色)の交互切換えによ
り表示される。以下同様に図3の(d)では、開始ブロ
ック、処理1、処理2、処理3及び処理Aは既実行の表
示色で表示され、同期のブロックが現在実行中を示す異
なる2色の交互切換えにより表示される。このようにし
て最初に表示された全部のブロックのうち、どこまでの
ブロックが既実行で、現在どのブロックを実行中である
か等が表示画面上で一目瞭然であるので、プログラムを
実行させて、その実行過程や実行処理時間が適切である
か等を容易に検証することができる。
In FIG. 3B, the start block and the processing 1 are displayed in the already executed display color (red in this example),
The middle term of the processing 2 and the processing A is displayed by alternately switching between two different colors (black and red in this example) indicating that the processing is currently being executed. Similarly, in FIG. 3D, the start block, the processing 1, the processing 2, the processing 3 and the processing A are displayed in the already-executed display colors, and the two blocks are alternately switched to indicate that the synchronous block is currently being executed. Is displayed. Of all the blocks displayed first in this way, up to which block has already been executed, and which block is currently being executed, etc. can be clearly seen on the display screen. Whether the execution process or the execution processing time is appropriate can be easily verified.

【0015】実施形態2 図4は本発明の実施形態2に係る図式表現プログラムの
実行過程を示す図である。実施形態1では、図式表現プ
ログラムを構成する各ブロックは、図1,3に示したよ
うに矩形状図形の場合を示したが、本発明はこれに限定
されるものではなく、図形は、例えばアイコンの図柄の
ようにどのような形状、形式のものでもよい。図4は、
開始ブロックと終了ブロックの間に、任意の図形A,
B,C及びDをプログラムの処理順に配列し、これらの
図形を矢印で接続して構成した図式表現プログラムの例
を示している。
Embodiment 2 FIG. 4 is a diagram showing an execution process of a graphic expression program according to Embodiment 2 of the present invention. In the first embodiment, each block constituting the diagram expression program is a rectangular figure as shown in FIGS. 1 and 3, but the present invention is not limited to this. It may be of any shape and form, such as the design of an icon. FIG.
Any figure A, between the start block and the end block
The figure shows an example of a diagrammatic representation program in which B, C and D are arranged in the processing order of the program and these figures are connected by arrows.

【0016】本実施形態2の特徴は、プログラムの各処
理単位を示す各図形の下側にそれぞれ帯状表示部を設
け、これらの帯状表示部の長さLA ,LB ,LC 及びL
D がそれぞれ処理時間情報を示していることである。い
ま図4の各図形で示すプログラム処理に要する時間をT
A ,TB ,TC 及びTD とすると、これらの時間の比は
前記帯状表示部の長さの比と等しい。例えばLA /LB
=TA /TB ,LB /LC =TB /TC ,LC /LD
C /TD ,…等となる。即ち各帯状表示部の長さは、
それぞれ相対的な処理時間情報を示している。
A feature of the second embodiment is that a strip-shaped display portion is provided below each figure indicating each processing unit of the program, and the lengths L A , L B , L C and L of the strip-shaped display portions are provided.
D indicates processing time information. The time required for the program processing shown by each figure in FIG.
Assuming that A , T B , T C and T D , the ratio of these times is equal to the ratio of the length of the strip-shaped display portion. For example, L A / L B
= T A / T B , L B / L C = T B / T C , L C / L D =
T C / T D ,... That is, the length of each band-shaped display portion
Each shows relative processing time information.

【0017】また図4においては、この各帯状表示部の
表示色を、未実行(例えば黒色)、既実行(例えば赤
色)、実行中(例えば黒色と赤色の交互切換え表示)と
で変えて、各状態の識別表示を行っている。図4の
(a)は、プログラムが全く実行されていない最初の状
態を示している。図4の(b)は、プログラムの実行が
開始され、現在図形Aによる処理を実行中の状態を示し
ている。以下同様に、図4の(c)は図形Bによる処理
を、(d)は図形Cによる処理を、(e)は図形Dによ
る処理をそれぞれ実行中の状態を示している。
In FIG. 4, the display color of each band-shaped display portion is changed between unexecuted (for example, black), executed (for example, red), and being executed (for example, black and red alternately displayed). Each state is identified and displayed. FIG. 4A shows an initial state in which no program is executed. FIG. 4B shows a state in which the execution of the program has been started and the processing based on the graphic A is currently being executed. Similarly, FIG. 4C shows a state in which the processing based on the graphic B is performed, FIG. 4D illustrates a state in which the processing based on the graphic C is performed, and FIG.

【0018】実施形態3 図5は本発明の実施形態3に係る図式表現プログラムの
実行過程を示す図である。図5は、図4と同一の図形に
より構成した図式表現プログラムの例を示しているが、
図4の帯状表示部(アナログ表示)の代りに、デジタル
数値による時間表示部を設けた点が異っている。
Third Embodiment FIG. 5 is a diagram showing an execution process of a graphic expression program according to a third embodiment of the present invention. FIG. 5 shows an example of a diagram expression program composed of the same graphics as FIG.
The difference is that a time display unit using digital numerical values is provided instead of the band display unit (analog display) in FIG.

【0019】図5の(a)は、プログラムが全く実行さ
れていない最初の状態を示しており、図形A,B,C及
びDによる各処理時間がそれぞれ40,90,50及び
30秒で、合計(即ち終了までに)210秒を要するこ
とを表示している。図5の(b)では、プログラムの実
行が開始され、現在図形Aによる処理を実行中であるこ
とが、図形Aの下側の時間表示部の数値が減算中である
ことにより分かる。さらに図では、図形Aによる処理に
あと20秒必要であり、終了までに190秒を要するこ
とも分る。
FIG. 5A shows an initial state in which the program is not executed at all, and the processing times for the figures A, B, C and D are 40, 90, 50 and 30 seconds, respectively. It indicates that it takes 210 seconds in total (that is, until the end). In FIG. 5B, the execution of the program has been started, and it can be seen that the processing of FIG. A is currently being executed by subtracting the numerical value of the time display section below FIG. Further, in the figure, it can be seen that another 20 seconds are required for the processing based on the graphic A, and 190 seconds are required until the processing ends.

【0020】図5の(c)では、図形Aによる処理は終
了して現在図形Bによる処理を実行中であることが分
る。この場合、図形Aの時間表示部は数字の“0”を表
示しても、文字の“終了”を表示してもよい。同様に図
5の(d)では、図形AとBによる処理は終了して現在
図形Cによる処理を実行中であり、(e)では、図A,
B及びCによる処理は終了して現在図形Dによる処理を
実行中であることが分る。なお、プログラムの処理時間
が余り短いと、デジタル数値による減算中の表示はかえ
って見にくいので、デジタル数値による時間表示は、余
り高速処理でない場合に適するといえる。
In FIG. 5C, it can be seen that the processing with the graphic A is completed and the processing with the graphic B is currently being executed. In this case, the time display section of the graphic A may display the number “0” or the character “end”. Similarly, in FIG. 5 (d), the processing with the graphics A and B is completed and the processing with the graphics C is currently being executed.
It can be seen that the processing by B and C is completed and the processing by the graphic D is currently being executed. Note that if the processing time of the program is too short, the display during the subtraction using digital values is rather difficult to see, so the time display using digital values can be said to be suitable when the processing is not very fast.

【0021】実施形態4 図6は本発明の実施形態4に係る処理時間情報の表示例
を示す図である。図4において、各図形の下側に設けら
れる帯状表示部の長さは、相対的な処理時間情報を示す
ものであり、絶対的な処理時間情報を示すものではな
い。そこで図6の(a)では、図4の帯状表示部の下側
にさらに時間スケールを設けて絶対的な時間を表示して
いる。この図の例では、単位時間(この例では1秒)毎
に円形マークを設け、さらに0,5,10秒のような区
切りやすい時間にはやや大きい円形マークを、その間の
1,2,3,4,6,7秒のような時間には小さな円形
マークをそれぞれ設けている。
Fourth Embodiment FIG. 6 is a diagram showing a display example of processing time information according to a fourth embodiment of the present invention. In FIG. 4, the length of the strip-shaped display portion provided below each figure indicates relative processing time information, and does not indicate absolute processing time information. Therefore, in (a) of FIG. 6, a time scale is further provided below the strip-shaped display unit of FIG. 4 to display the absolute time. In the example of this figure, a circular mark is provided for each unit time (1 second in this example), and a slightly larger circular mark such as 0, 5, 10 seconds is set to 1, 2, 3 between them. , 4, 6, 7 seconds are provided with small circular marks, respectively.

【0022】また図6の(b)では、単位時間ブロック
(この例では、正方形の一辺が1秒を示すブロック)を
直線形に配列してデジタル的な時間を表示している。こ
の図の例では、単位時間ブロックが6個配列されている
ので、約6秒(例えば5.5〜6.4秒)の時間である
ことが分る。この図6の(b)のブロック配列表示を図
4の帯状表示部の代りに用いることで、概略の絶対時間
の表示が可能となる。
In FIG. 6B, a unit time block (in this example, a block in which one side of a square indicates 1 second) is linearly arranged to display digital time. In the example of this figure, since six unit time blocks are arranged, it can be seen that the time is about 6 seconds (for example, 5.5 to 6.4 seconds). By using the block arrangement display of FIG. 6B instead of the strip display unit of FIG. 4, it is possible to display a rough absolute time.

【0023】また図6の(c)では、図1のブロックを
破線で構成し、この破線の横方向の1つの線分が単位時
間(この例では1秒)を表すようにすると、図1の相対
的な処理時間表示の代りに、絶対的な処理時間の表示が
可能となる。
In FIG. 6C, if the block of FIG. 1 is constituted by a broken line, and one line segment in the horizontal direction of the broken line represents a unit time (1 second in this example), Instead of displaying the relative processing time, an absolute processing time can be displayed.

【0024】以上のように、本発明の各実施形態によれ
ば、図式表現プログラムが表示される際に、各ブロック
もしくは図形で表現されるプログラムを実行するのに必
要な相対的または絶対的な各処理時間情報も表示される
ので、プログラムの実行時間が重要視されるリアルタイ
ム処理系のプログラムの開発、実行、シミュレーション
等を行う際に有効である。またプログラムの処理内容を
詳しく知らない人がプログラムの表示画面をみても、ど
のブロックもしくは図形でどの程度の時間がかかるのか
が、容易に理解できる。また、実際にオンライン等でプ
ログラムを実行させずとも、ブロックに設定された処理
時間をもとにオフライン等で模擬的にプログラムをシミ
ュレートすることにより、オンラインで実行する場合の
プログラムの実行時間を予測することができる。また相
対的な処理時間を表示する場合には、あるブロックや図
形の処理時間を基準時間として、他のブロックや図形の
処理時間を基準時間の倍数(2倍とか3倍等)としたり
数分の1(1/2とか1/3等)として表示できるの
で、大まかな時間を直感的に把握することができる。
As described above, according to each embodiment of the present invention, when the graphic expression program is displayed, the relative or absolute necessary for executing the program represented by each block or graphic is displayed. Since each piece of processing time information is also displayed, it is effective when developing, executing, simulating, etc., a program of a real-time processing system in which the execution time of the program is important. Also, even if a person who does not know the details of the processing of the program looks at the display screen of the program, it is easy to understand which block or figure and how long it takes. Also, without actually executing the program online, the program execution time when executing online can be reduced by simulating the program offline or the like based on the processing time set in the block. Can be predicted. When the relative processing time is displayed, the processing time of a certain block or graphic is set as a reference time, and the processing time of another block or graphic is set to a multiple (two or three times) of the reference time or several minutes. Since it can be displayed as 1 (1/2 or 1/3), the rough time can be intuitively grasped.

【0025】なお本実施形態1〜4では、各ブロックも
しくは図形で表現されたプログラムを実行するのに必要
な処理時間を相対的または絶対的に、アナログ的または
デジタル的に表示する各種方法を示したが、本発明は上
記方法に限定されるものではない。例えばブロックや図
形の大きさ(面積に相当する)を処理時間の長短に比例
させたり、色や形状を変えたりしても同様の効果を得る
ことができる。また各実施形態では、プログラムは左端
のブロックもしくは図形から右端へと水平方向に進行す
る例を表示したが、通常のフローチャートのように上端
のブロックもしくは図形から下端へと垂直方向に進行す
るように表示させてもよい。
The first to fourth embodiments show various methods for displaying the processing time required to execute a program represented by each block or figure in a relative or absolute manner, in an analog or digital manner. However, the present invention is not limited to the above method. For example, the same effect can be obtained by making the size (corresponding to the area) of a block or figure proportional to the length of the processing time, or changing the color or shape. Also, in each embodiment, the example in which the program progresses in the horizontal direction from the leftmost block or graphic to the rightmost is displayed, but as in the normal flowchart, the program progresses vertically from the uppermost block or graphic to the lowermost. It may be displayed.

【0026】[0026]

【発明の効果】以上のように本発明によれば、開始ブロ
ックと終了ブロックの間にプログラムの処理単位毎のブ
ロックもしくは図形を所要数だけ配列し、これらのブロ
ックもしくは図形間にプログラムの処理順を示す結線を
設けて表現する図式表現プログラムにおいて、前記各ブ
ロックもしくは図形で表現されたプログラムをそれぞれ
実行するのに必要な相対的または絶対的な各処理時間情
報を、それぞれ対応する各ブロックもしくは図形を用い
てまたは各ブロックもしくは図形の近傍の表示部に表示
するようにしたので、プログラムの実行時間が重要視さ
れるリアルタイム処理系のプログラムの開発、実行、シ
ミュレーション等を行う際に有効である。またプログラ
ムの処理内容を詳しく知らない人がプログラム表示画面
をみても、どのブロックもしくは図形でどの程度の時間
がかかるのかが、容易に理解できる。
As described above, according to the present invention, a required number of blocks or graphics for each processing unit of a program are arranged between a start block and an end block, and the processing order of the program is arranged between these blocks or graphics. In a diagrammatic expression program that is provided with connections indicating the following, relative or absolute processing time information required to execute the program represented by each of the blocks or graphics, respectively, is represented by a corresponding one of the corresponding blocks or graphics. Is displayed on the display unit near each block or figure, which is effective when developing, executing, simulating, etc., a real-time processing system program in which the execution time of the program is important. Also, even if a person who does not know the details of the processing of the program looks at the program display screen, it is easy to understand which block or figure and how long it takes.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態1に係る処理時間情報を含む
図式表現プログラムの表示例を示す図である。
FIG. 1 is a diagram showing a display example of a graphic expression program including processing time information according to a first embodiment of the present invention.

【図2】本発明に係るプログラム処理単位毎の処理時間
の算出及び表示例を示す図である。
FIG. 2 is a diagram showing an example of calculation and display of a processing time for each program processing unit according to the present invention.

【図3】図1の図式表現プログラムの実行過程を示す図
である。
FIG. 3 is a diagram showing an execution process of the diagram expression program of FIG. 1;

【図4】本発明の実施形態2に係る図式表現プログラム
の実行過程を示す図である。
FIG. 4 is a diagram showing an execution process of a graphic expression program according to a second embodiment of the present invention.

【図5】本発明の実施形態3に係る図式表現プログラム
の実行過程を示す図である。
FIG. 5 is a diagram showing an execution process of a graphic expression program according to Embodiment 3 of the present invention.

【図6】本発明の実施形態4に係る処理時間情報の表示
例を示す図である。
FIG. 6 is a diagram illustrating a display example of processing time information according to a fourth embodiment of the present invention.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 開始ブロックと終了ブロックの間にプロ
グラムの処理単位毎のブロックもしくは図形を所要数だ
け配列し、これらのブロックもしくは図形間にプログラ
ムの処理順を示す結線を設けて表現する図式表現プログ
ラムにおいて、 前記各ブロックもしくは図形で表現されたプログラムを
それぞれ実行するのに必要な相対的または絶対的な各処
理時間情報を、それぞれ対応する各ブロックもしくは図
形を用いてまたは各ブロックもしくは図形の近傍の表示
部に表示することを特徴とする処理時間情報を含む図式
表現プログラムの表現方法。
1. A schematic representation in which a required number of blocks or graphics for each processing unit of a program are arranged between a start block and an end block, and a connection indicating the processing order of the program is provided between these blocks or graphics. In the program, the relative or absolute processing time information required to execute the program represented by each block or graphic is obtained by using each corresponding block or graphic or in the vicinity of each block or graphic. A method for expressing a diagrammatic expression program including processing time information, wherein the method is displayed on a display unit.
【請求項2】 前記プログラムの処理単位毎のブロック
もしくは図形についてのプログラムの未実行、実行中及
び既実行の各状態並びに前記結線についてのプログラム
の未通過及び既通過の各状態についての識別表示法を予
め決めておき、前記処理時間情報を含む図式表現プログ
ラムの実行開始後のプログラムの進行状態にあわせて前
記予め決められた識別表示法によりブロックもしくは図
形並びに結線を表示することを特徴とする請求項1記載
の処理時間情報を含む図式表現プログラムの表現方法。
2. A method of identifying and displaying each state of a program not executed, being executed, and already executed for a block or graphic for each processing unit of the program, and each state of the program not passing and having passed the connection. Wherein a block, a graphic, and a connection are displayed by the predetermined identification display method in accordance with the progress of the program after the execution of the graphic expression program including the processing time information. An expression method of a graphic expression program including the processing time information according to item 1.
【請求項3】 前記プログラムの処理単位毎のブロック
もしくは図形におけるプログラムの進行方向の長さが該
当ブロックもしくは図形で表現されたプログラムを実行
するのに必要とする相対的または絶対的な処理時間情報
を示すものであることを特徴とする請求項1または2記
載の処理時間情報を含む図式表現プログラムの表現方
法。
3. The relative or absolute processing time information in which the length of a program or block in each processing unit of the program in the direction of progress of the program is required to execute the program represented by the block or graphic. 3. A method for expressing a graphic expression program including processing time information according to claim 1 or 2.
【請求項4】 前記プログラムの処理単位毎のブロック
もしくは図形の近傍に帯状表示部を設け、該帯状表示部
の長さが該当ブロックもしくは図形で表現されたプログ
ラムを実行するのに必要とする相対的または絶対的な処
理時間情報を示すものであることを特徴とする請求項1
または2記載の処理時間情報を含む図式表現プログラム
の表現方法。
4. A band-shaped display unit is provided in the vicinity of a block or figure for each processing unit of the program, and the length of the band-shaped display unit is a relative value required to execute a program represented by the corresponding block or figure. 2. The information indicating target or absolute processing time information.
Or a method for expressing a diagrammatic expression program including the processing time information according to 2.
【請求項5】 前記プログラムの処理単位毎のブロック
もしくは図形の近傍に設けられた帯状表示部は、該当ブ
ロックもしくは図形についてのプログラムの未実行、実
行中及び既実行の各状態を識別して表示するようにした
ことを特徴とする請求項4記載の処理時間情報を含む図
式表現プログラムの表現方法。
5. A band-shaped display unit provided in the vicinity of a block or a figure for each processing unit of the program, and identifies and displays the unexecuted, executing, and already-executed states of the program for the block or the figure. 5. The method according to claim 4, wherein the graphical representation program includes processing time information.
【請求項6】 前記プログラムの処理単位毎のブロック
もしくは図形の近傍に時間表示部を設け、該時間表示部
に該当ブロックもしくは図形で表現されたプログラムを
実行するのに必要とする処理時間情報をデジタル数値に
より表示することを特徴とする請求項1または2記載の
処理時間情報を含む図式表現プログラムの表現方法。
6. A time display unit is provided in the vicinity of a block or graphic for each processing unit of the program, and processing time information required to execute the program represented by the block or graphic is provided on the time display unit. The method according to claim 1 or 2, wherein the display is performed using digital values.
【請求項7】 前記プログラムの処理単位毎のブロック
もしくは図形の近傍に設けられた時間表示部は、プログ
ラムの実行開始前の初期値からプログラムの進行にあわ
せて既実行プログラムの処理時間を減算して未実行プロ
グラムの処理時間を表示するようにしたことを特徴とす
る請求項6記載の処理時間情報を含む図式表現プログラ
ムの表現方法。
7. A time display unit provided near a block or a figure for each processing unit of the program, subtracts the processing time of the already executed program from the initial value before the start of the execution of the program according to the progress of the program. 7. The method according to claim 6, wherein the processing time of the unexecuted program is displayed.
JP2000094176A 2000-03-30 2000-03-30 Expressing method for graphic expression program including processing time information Pending JP2001282574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000094176A JP2001282574A (en) 2000-03-30 2000-03-30 Expressing method for graphic expression program including processing time information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000094176A JP2001282574A (en) 2000-03-30 2000-03-30 Expressing method for graphic expression program including processing time information

Publications (1)

Publication Number Publication Date
JP2001282574A true JP2001282574A (en) 2001-10-12

Family

ID=18609262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000094176A Pending JP2001282574A (en) 2000-03-30 2000-03-30 Expressing method for graphic expression program including processing time information

Country Status (1)

Country Link
JP (1) JP2001282574A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008071314A (en) * 2006-09-15 2008-03-27 Ricoh Co Ltd Program development apparatus for integration and automatic generation method of program
JP2009219158A (en) * 2009-06-29 2009-09-24 Yamaha Corp Edition device
US7817809B2 (en) 2005-03-11 2010-10-19 Yamaha Corporation Editing device and audio signal processing system
WO2017138220A1 (en) * 2016-02-12 2017-08-17 ソニー株式会社 Information processing method and information processing device
US10990073B2 (en) 2016-08-30 2021-04-27 Mitsubishi Electric Corporation Program editing device, program editing method, and computer readable medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7817809B2 (en) 2005-03-11 2010-10-19 Yamaha Corporation Editing device and audio signal processing system
JP2008071314A (en) * 2006-09-15 2008-03-27 Ricoh Co Ltd Program development apparatus for integration and automatic generation method of program
JP2009219158A (en) * 2009-06-29 2009-09-24 Yamaha Corp Edition device
WO2017138220A1 (en) * 2016-02-12 2017-08-17 ソニー株式会社 Information processing method and information processing device
JPWO2017138220A1 (en) * 2016-02-12 2018-11-29 ソニー株式会社 Information processing method and information processing apparatus
JP2019139792A (en) * 2016-02-12 2019-08-22 ソニー株式会社 Information processing method and information processing device
US10942711B2 (en) 2016-02-12 2021-03-09 Sony Corporation Information processing method and information processing apparatus
US10990073B2 (en) 2016-08-30 2021-04-27 Mitsubishi Electric Corporation Program editing device, program editing method, and computer readable medium

Similar Documents

Publication Publication Date Title
US9189972B2 (en) Visualizing the mood of a group of individuals
US7721255B2 (en) Sequence program editing apparatus
CN104781773B (en) User interface device
JP2001282574A (en) Expressing method for graphic expression program including processing time information
CN110569027B (en) Flow chart layout method and device applied to electronic equipment and electronic equipment
US9021346B2 (en) Systems and methods for displaying and editing state-specific link attributes
CN108156504A (en) A kind of image display method and device
CN113926188A (en) Game information display method and device and electronic equipment
JP2001243488A (en) Figure element selecting method and medium stored with cad processing program
JP5589502B2 (en) Electronic computer and program
JP4735549B2 (en) Electronic device and electronic device control program
JP2009104562A (en) Operation support system and program used for the same
JPS6182228A (en) Level displaying system of hierarchical structure menu
JP2543215Y2 (en) Logic circuit simulation waveform display
CN116415320A (en) Simulation auxiliary decision-making method and device, electronic equipment and storage medium
JPH04115362A (en) Method for managing program execution in cad system
JPH0991127A (en) Image processing programming method
JP2015122007A (en) Edition support system, method and program
JPH04290168A (en) Simulation device and display method for its simulation result
JP2006039212A (en) Cad operation learning device
JP2003316846A (en) Verification device for image display logic circuit
JP2000137686A (en) Computer and storage medium
JPH08115208A (en) Method for displaying program execution condition
JPH09128191A (en) Window identifying device
JPH01134673A (en) Method and device for displaying data of block chart