BACKGROUND OF THE INVENTION
Field of the Invention
[0001] This invention relates to a picture displaying method whereby a picture corresponding
to a picture display task switched among a plurality of the picture display tasks
is displayed on a displaying device such as a CRT displaying one or the like.
Description of Related Art
[0002] Generally, a man-machine interface apparatus 6 as indicated in a block diagram of
Fig. 1 consists of a CRT displaying device 1, a frame memory 2 for recording pixel
information per a dot unit, a drawing controller 3 for drawing a picture into the
frame memory 2, a microcomputer 4 incorporated with a multi-task operation system
and, a keyboard 5 for inputting data into the microcomputer 4 therethrough. The microcomputer
4 is connected with a controller 7 which holds the drawing data and controls the microcomputer
4.
[0003] Fig. 2 illustrates the constitution of tasks inside the microcomputer 4. There are
three kinds of picture display tasks a,b and c as well as a picture switching control
task d for controlling the activation and switching of the picture display tasks a-c.
By way of example, if a key A (not shown) of the keyboard 5 is depressed, the picture
switching control task d detects the depression thereby to activate the picture display
task a. In consequence, the drawing controller 3 is turned intelligent, drawing a
picture in the frame memory 2 on the basis of a drawing command from the microcomputer
4 (picture display task a), etc. The result is displayed on the CRT displaying device
1.
[0004] The operation of each picture display task a,b or c is shown in a flow chart in Fig.
3, and the procedure for the picture display (in the present instance, the picture
display task a) will now be described with reference to this Fig. 3.
[0005] In the first place, a start demand from the picture switching control task d is waited
for (step S1). When the start demand is extracted from the task d, a window is formed
(step S2). In forming the window, the drawing area in the frame memory 2 is determined.
Although it is possible to divide the screen into a plurality of sections thereby
to draw a plurality of pictures simultaneously at one time, the whole of the frame
memory 2 is rendered one window in the present instance for brevity. Moreover, the
picture display tasks a,b and c are allotted with the window Nos. 1,2 and 3, respectively.
Therefore, a window forming command extracted from the picture display task a reads
as "Window forming (command), window No. 1-the drawing area is the whole area of the
frame memory". Every drawing command extracted from the picture display task a is
always added with the window No. 1 henceforward.
[0006] Secondly, a fixed picture is drawn (step S3). A group of drawing commands are extracted
to display a fixed picture after a picture clear command is generated. The window
No. 1 is added to the group of the commands. Since the window No. 1 has been already
formed, the drawing controller 3 executes drawing into the frame memory 2 on the basis
of the drawing commands. Then, the data held by the controller 7 are collected in
communication with the microcomputer 4 (step S4). A group of drawing commands to display
a variable picture are extracted on the basis of the collected data, with the window
No. 1 added. The window No. has been already formed and therefore, the drawing controller
3 executes drawing into the frame memory 2 as indicated by the drawing commands (step
S5).
[0007] It is checked whether a task stopping demand is extracted from the picture switching
control task d (step S6). Without the task stopping demand, it is returned to the
data collecting step, thereby repeatedly collecting the data (step S4) and drawing
a variable picture (step S5). On the contrary, with the task stopping demand extracted,
the command directed to the window No. 1 is turned ineffective. Therefore, if the
drawing command with the window No. 1 is extracted henceforth, the drawing controller
3 is regarded as in the error state without having formed the window. However, the
drawing command to the window No. 1 is logically not extracted, and eventually the
window is eliminated (step S7). Subsequently, a response to the task stopping demand
is returned to the picture switching control task d (step S8). The flow is returned
to the step S1 to wait for a start demand.
[0008] Fig. 4 is a flow chart indicating the operation of the picture switching control
task d, based on which the procedure to switch the picture will be explained below.
It is to be noted here that the following explanation is related to the case where
a picture β by the picture display task b which is currently being displayed is switched
to a picture α through depression of the key A of the keyboard 5.
[0009] In general, it is in the waiting state for a picture switching demand (to wait for
the key to be depressed) (step S11). When the key A is depressed, the waiting state
is released, and a stopping demand is generated to the present picture display task
b (step S12). A response from the task b is waited (step S13). When the response is
generated, a start command is generated to the picture display task a (step S14),
thereby returning to the waiting state again.
[0010] In this case, when the present task b is stopped, the picture switching control task
d and picture display task b exchange messages therebetween. This is because the picture
display tasks a and b might work at the same time unless the task a is started after
the task b is completely stopped. In other words, the drawing command from the picture
display task b would be carried out while a fixed picture corresponding to the picture
display task a is drawn, resulting in the partial mix-up of the variable picture β
into the picture α. The messages are accordingly necessary to be exchanged between
the tasks d and b in order to prevent the above-discussed mix-up.
[0011] Conventionally, the picture is switched in the manner as described hereinabove in
the man-machine interface device. In the above-described manner, however, since the
messages are exchanged between the picture switching control task d and picture display
task a,b or c to stop the present task, it takes time to switch the picture. For example,
when the stopping demand is generated at the very beginning of the collecting step
of the data, it is impossible to respond to the stopping demand immediately until
the variable picture is drawn. Collecting data and drawing the variable picture take
several seconds, thereby decreasing the responding efficiency to switch a picture.
Although it may be considered to subdivide the data collecting process and the drawing
process of the variable picture to frequently confirm the presence or absence of the
stopping demand, the confirming process itself is a cause of the decrease of the responding
efficiency to switch a picture.
[0012] From EP-A-0 176 950 a picture displaying and switching method for activating a picture
display task, for extracting a drawing command from the activated picture display
task and for displaying a picture on a displaying device on the basis of said drawing
command, and for switching a first picture display task to a second picture display
task when said first picture display task is activated is known. According to this
known method the first picture display task is activated, then a drawing command is
extracted from said first picture display task, the picture of the first picture display
task is displayed on the displaying device on the basis of the drawing command, in
response to a switching command it is switched from the first picture display task
to the second picture display task, and the picture of the second picture display
task is displayed on the displaying device. Said method apparently has the same disadvantages
as the prior art method discussed before.
SUMMARY OF THE INVENTION
[0013] This invention has been devised to solve the afore mentioned disadvantage, and has
for its main object to provide a picture displacing method capable of improving the
responding efficiency to switch a screen.
[0014] This object is solved by a method as defined in claim 1.
[0015] According to the picture displaying method of this invention, when a picture corresponding
to a picture display task is to be switched, the picture display task before switching
is permitted to run concurrently with a picture display task after switching, with
a drawing command from the picture display task before switching being turned invalid.
[0016] The above and further objects and features of the invention will more fully be apparent
from the following detailed description with accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0017]
Fig. 1 is a block diagram showing the structure of a general man-machine interface
apparatus;
Fig. 2 is a block diagram showing the constitution of tasks within a microcomputer
of Fig. 1;
Fig. 3 is a flow chart showing the conventional picture display process;
Fig. 4 is a flow chart showing the conventional picture switching process;
Fig. 5 is a flow chart showing the picture switching process according to this invention;
Fig. 6 is a flow chart showing the picture display process according to this invention;
Fig. 7 is a diagram of a format showing the constitution of drawing commands of this
invention; and
Figs. 8(a),8(b),8(c) and 8(d) are views respectively showing an example of a display
on a CRT displaying device.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] A preferred embodiment of this invention will be discussed more in detail with reference
to the accompanying drawings.
[0019] To switch a picture according to a picture displaying method of this invention is
practicable by a man-machine interface apparatus in the structure as shown in Fig.
1, and accordingly, the man-machine interface apparatus of Fig. 1 will be used in
the following description. Further, the constitution of tasks in the microcomputer
4 is the same as in Fig. 2.
[0020] With reference to Fig. 5 showing a flow chart of the operation of the picture switching
control task d of this invention, the procedure to switch a picture will be depicted.
In the instant embodiment, a picture β which is being displayed by the picture display
task b is switched to a picture α through depression of the key A of the keyboard
5.
[0021] It is in the waiting state for a key on the keyboard 5 to be depressed (step S21).
A stopping demand is generated to the present picture display task b through depression
of the key A on the keyboard 5 (step S22). Then, the window No. 2 which is the window
of the present task b is eliminated (step S23). The drawing controller 3 is never
actuated to any drawing command with the window No. 2 henceforth. This state of the
drawing controller 3 is different from the conventional error state. A start command
is generated to a new picture display task a (step S24). The flow is returned to the
waiting state for a picture switching demand.
[0022] Fig. 6 is a flow chart showing the operation of each picture display task a,b or
c. The operation of, for example, the picture display task a will be explained with
reference to Fig. 6. It is to be noted that steps S1-S6 in Fig. 6 are the same proceedings
as in the steps S1-S6 of Fig. 3.
[0023] A start demand from the picture switching control task d is waited for (step S1).
Upon receipt of the start demand, a window is formed, e.g., the whole of the frame
memory 2 is rendered to be one window (step S2). A group of drawing commands for a
fixed picture added with the window No. 1 is extracted, thereby drawing a fixed picture
(step S3). The data held by the controller 7 are collected through communication (step
S4), and a group of drawing commands for a variable picture added with the window
No. 1 is extracted to draw a variable picture (step S5). Thereafter, it is detected
whether a task stopping demand is generated from the picture switching control task
d (step S6). If the task stopping demand is not generated, steps S4 and S5 are repeated.
On the contrary, if the task stopping demand is present, the flow is returned to the
waiting state for a start demand.
[0024] In comparison with the conventional operation (Fig. 3), the procedures to eliminate
the window (step S7) and to respond to the stopping demand (step S8) are abbreviated
in the operation of the picture display task according to this invention, and the
messages are not exchanged between the tasks d and a,b or c. Therefore, a new picture
can be displayed immediately after the stopping demand is generated (after the picture
is switched).
[0025] Although it is a short time, the picture display tasks a and b run concurrently after
the task a is started before the task b is stopped. Despite this fact, however, the
picture is normally displayed according to this invention. The reason for this will
be discussed hereinbelow with reference to Fig. 7 which shows the constitution of
drawing commands to the drawing controller 3 and Fig. 8 which shows the change with
time of the display on the CRT displaying device 1.
[0026] The drawing command with the window No. 2 such as C1 or C2 is executed before it
is required to switch to the picture α. Therefore, the picture β is displayed on the
CRT displaying device 1 (Fig. 8(a)). Now, supposing that it is required to switch
to the picture α, an eliminating command C3 to eliminate the window 2 is extracted
from the picture switching control task d, so that the window No. 2 is eliminated
from the CRT displaying device 1 (Fig. 8(b)). Subsequently, a forming command C4 to
form the window No. 1 is extracted from the picture switching control task d and the
window No. 1 is displayed on the CRT displaying device 1 (Fig. 8(c)). Thereafter,
drawing commands C5 and C7 with the window No. 1 for the picture α are sequentially
extracted. Although a drawing command C6 with the window No. 2 for the picture β may
be mixed up with the commands C5 and C7 since the picture display task b is active
for a while, the drawing controller 3 is not actuated to any drawing command with
the window No. 2 because of the fact that the window No. 2 is already eliminated.
As a result, the picture α is normally displayed (Fig. 8(d)).
[0027] The window No. is fixedly allotted in the picture in the foregoing embodiment. However,
it may be possible that the picture switching control task d controls or manages the
total window Nos. and hands the required window No. when a picture display task is
activated. That is, a variable allotment may be possible.
[0028] Moreover, although the CRT displaying device 1 is used as a displaying device in
the foregoing embodiment, a displaying device using a plasma, liquid crystal or the
like may be employable.
[0029] In addition, although the drawing controller 3 is separated from the microcomputer
4 in the foregoing embodiment, the microcomputer 4 may be adapted to control drawing
as well.
[0030] In the foregoing embodiment, there are in the controller 7 unprocessed data to be
collected. However, the data held by the microcomputer 4 can be utilized as the drawing
data.
1. A picture displaying and switching method, for activating a picture display task,
for extracting a drawing command from the activated picture display task and for displaying
a picture on a displaying device on the basis of said drawing command, and for switching
a first picture display task toa second picture display task when said first picture
display task is activated, said method comprising:
a first step of activating (S1, S2) a first picture display task (b);
a second step of extracting a drawing command (C1, C2) from said first picture display
task;
a third step of displaying (S3 - S6) a picture corresponding to said first picture
display task on said displaying device on the basis of said drawing command;
a fourth step of responding to a switching command (S21, S22, S24) to switch to a
second picture display task (a) different from said first picture display task; and
a fifth step of displaying (S24, Figure 6) a picture corresponding to said second
picture display task on said displaying device on the basis of the drawing command
(C5, C7) extracted from said second picture display task;
and characterised in that said fourth step further comprises:
a sixth step of activating said second picture display task while said first picture
display task is still activated;
a seventh step of extracting drawing commands (C5 - C7) from said first picture display
task and said second picture display task in response to said switching command; and
an eighth step of invalidating (S23, C3, C4) the drawing command extracted from said
first picture display task.
2. A picture displaying method as set forth in claim 1, further comprising:
a step of adding a signal indicating the display area in said displaying device (1)
to said drawing command extracted from each picture display task; and
a step of displaying a window corresponding to each picture display task on said displaying
device on the basis of said signal.
3. A picture displaying method as set forth in claim 2, wherein said eighth step includes
a step of eliminating the window corresponding to said first picture display task
(b) in response to the command (S23) to switch to said second picture display task
(a).
4. A picture displaying method as set forth in claim 1, wherein said third and fifth
steps include a step of collecting drawing data (S4) on the basis of said drawing
command, a step of storing the collected drawing data temporarily into a memory (2),
a step of reading out the stored drawing data from said memory (2) and a step of displaying
a picture on said displaying device (1) on the basis of the readout drawing data.
5. A picture displaying method as as set forth in claim 1, wherein said displaying device
is a CRT displaying device (1).
1. Bildwiedergabe- und -umschaltverfahren, zum in Gang setzen eines Bildwiedergabe-Prozesses,
zum Gewinnen eines Zeichnen-Befehls aus dem in Gang gesetzten Bildwiedergabe-Prozeß
und zum Wiedergeben eines Bildes auf einem Wiedergabe-Gerät auf der Grundlage des
Zeichnen-Befehls, und zum Umschalten eines ersten Bildwiedergabe-Prozesses auf einen
zweiten Bildwiedergabe-Prozeß, wenn der erste Bildwiedergabe-Prozeß in Gang gesetzt
ist, mit:
einem ersten Schritt zum in Gang setzen (S1, S2) eines ersten Bildwiedergabe-Prozesses
(b);
einem zweiten Schritt zum Gewinnen eines Zeichnen-Befehls (C1, C2) aus dem ersten
Bildwiedergabe-Prozeß;
einem dritten Schritt zum Wiedergeben (S3 - S6) eines Bildes gemäß dem ersten Bildwiedergabe-Prozeß
auf dem Wiedergabe-Gerät auf der Grundlage des Zeichnen-Befehls;
einem vierten Schritt zum Ansprechen auf einen Umschalt-Befehl (S21, S22, S24) zum
Umschalten zu einem vom ersten Bildwiedergabe-Prozeß verschiedenen zweiten Bildwiedergabe-Prozeß;
und
einem fünften Schritt zum Wiedergeben (S24, Figur 6) eines Bildes gemäß dem zweiten
Bildwiedergabe-Prozeß auf dem Wiedergabe-Gerät auf der Grundlage des aus dem zweiten
Bildwiedergabe-Prozeß gewonnenen Zeichnen-Befehls (C5, C7),
dadurch charakterisiert, daß der vierte Schritt ferner umfaßt:
einen sechsten Schritt zum in Gang setzen des zweiten Bildwiedergabe-Prozesses während
der erste Bildwiedergabe-Prozeß noch in Betrieb ist;
einen siebten Schritt zum Gewinnen von Zeichnen-Befehlen (C5 - C7) aus dem ersten
Bildwiedergabe-Prozeß und dem zweiten Bildwiedergabe-Prozeß in Reaktion auf den Umschalt-Befehl;
und
einen achten Schritt, um den aus dem ersten Bildwiedergabe-Prozeß gewonnenen Zeichnen-Befehl
ungültig zu machen.
2. Bildwiedergabe-Verfahren nach Anspruch 1, dadurch charakterisiert, daß es ferner umfaßt:
einen Schritt zum Hinzufügen eines das Anzeigefeld in dem Wiedergabe-Gerät (1) anzeigenden
Signals zu dem aus jedem Bildwiedergabe-Prozeß gewonnenen Zeichnen-Befehl; undeinen
Schritt zum Darstellen eines jedem Bildwiedergabe-Prozesses entsprechenden Fensters
auf dem Wiedergabe-Gerät auf der Grundlage dieses Signals.
3. Bildwiedergabe-Verfahren nach Anspruch 2, dadurch gekennzeichnet, daß der achte Schritt
einen Schritt zum Entfernen des dem ersten Bildwiedergabe-Prozeß (b) entsprechenden
Fensters in Reaktion auf den Befehl (S23), zum zweiten Bildwiedergabe-Prozeß (a) umzuschalten,
einschließt.
4. Bildwiedergabe-Verfahren nach Anspruch 1, dadurch gekennzeichnet, daß der vierte und
fünfte Schritt einen Schritt zum Erfassen von Zeichnungs-Daten (S4) auf der Grundlage
des Zeichnen-Befehls, einen Schritt zum temporären Abspeichern der erfaßten Zeichnungs-Daten
in einem Speicher (2) und einen Schritt zum Auslesen der gespeicherten Zeichnungs-Daten
aus dem Speicher (2) und einen Schritt zum Wiedergeben eines Bildes auf dem Wiedergabe-Gerät
(1) auf der Grundlage der ausgelesenen Zeichnungs-Daten einschließen.
5. Bildwiedergabe-Verfahren nach Anspruch 1, dadurch charakterisiert, daß das Wiedergabe-Gerät
ein CRT-Wiedergabe-Gerät ist.
1. Procédé de visualisation et de commutation d'image pour activer une tâche de visualisation
d'image, pour extraire une commande de dessin à partir de la tâche de visualisation
d'image activée et pour visualiser une image sur un dispositif de visualisation sur
la base de ladite commande de dessin et pour commuter une première tâche de visualisation
d'image à une seconde tâche de visualisation d'image lorsque ladite première tâche
de visualisation d'image est activée, ledit procédé comprenant :
une première étape d'activation (S1, S2) d'une première tâche de visualisation d'image
(b);
une seconde étape d'extraire une commande de dessin (C1, C2) à partir de ladite première
tâche de visualisation d'image;
une troisième étape de visualisation (S3 - S6) d'une image correspondant à ladite
première tâche de visualisation d'image sur ledit dispositif de visualisation sur
la base de ladite commande de dessin;
une quatrième étape de répondre à une commande de commutation (S21, S22, S24) pour
se commuter à une seconde tâche de visualisation d'image (a) différente de ladite
première tâche de visualisation d'image; et
une cinquième étape de visualiser (S24, Figure 6) une image correspondant à ladite
seconde tâche de visualisation d'image sur ledit dispositif de visualisation sur la
base de la commande de dessin (C5, C7) extraite de ladite seconde tâche de visualisation
d'image;
et caractérisé en ce que la quatrième étape comprend de plus :
une sixième étape d'activer ladite seconde tâche de visualisation d'image alors que
ladite première tâche de visualisation d'image est encore activée;
une septième étape d'extraire des commandes de dessin (C5 - C7) à partir de ladite
première tâche de visualisation d'image et ladite seconde tâche de visualisation d'image
en réponse à ladite commande de commutation; et
une huitième étape d'invalider (S23, C3, C4) la commande de dessin extraite de ladite
première tâche de visualisation d'image.
2. Procédé de visualisation d'image selon la revendication 1, comprenant de plus :
une étape d'additionner un signal indiquant la zone de visualisation dans le dispositif
de visualisation précité (1) à la commande du dessin précitée extraite de chaque tâche
de visualisation d'image; et
une étape de visualiser une fenêtre correspondant à chaque tâche de visualisation
d'image sur ledit dispositif de visualisation sur la base dudit signal.
3. Procédé de visualisation d'image selon la revendication 2, dans lequel la huitième
étape précitée comprend une étape d'éliminer la fenêtre correspondant à la première
tâche de visualisation d'image précitée (b) en réponse à la commande (S23) pour se
commuter à la seconde tâche de visualisation d'image précitée (a).
4. Procédé de visualisation d'image selon la revendication 1, dans lequel les troisième
et cinquième étapes précitées comprennent une étape de collecter des données de dessin
(S4) sur la base de la commande de dessin précitée, une étape de mémoriser des données
de dessin collectées temporairement dans une mémoire (2), une étape d'extraire les
données de dessin mémorisées de ladite mémoire (2) et une étape de visualiser une
image sur le dispositif de visualisation précité (1) sur la base des données de dessin
extraites.
5. Procédé de visualisation d'image selon la revendication 1, dans lequel le dispositif
de visualisation précité est un dispositif de visualisation à tube à rayons cathodiques
(1).