2.2 Modèle de tâche
La connaissance de l!utilisateur permet d!analyser son activité
(ce qu!il fait indépendamment du système).
Faire rédiger des scénarios par des utilisateurs représentatifs
(ou à défaut soi-même) permet d!identifier ces activités.
Il faut ensuite les organiser en un modèle de tâches.
2.2 Modèle de tâche
Une tâche consiste en :
• un but (état souhaité) ; et
• une procédure pour atteindre ce but.
Une procédure est un ensemble de sous-tâches liées par :
• des relations de composition ; et
• des relations temporelles.
Une tâche élémentaire est
une tâche décomposable en actions physiques.
Une action physique est
une opération sur un dispositif d!entrée/sortie qui provoque un
changement d!état du dispositif (clic, mouvement, affichage, etc.)
2.2 Modèle de tâche
Les modèles de tâche sont des structures arborescentes dont
les nœuds sont les buts et
les sous-arbres sont les procédures pour atteindre ces buts.
Les nœuds peuvent être décorés par :
• les concepts du domaines (objets référencés, i.e. paramètres,
variables globales ...) ;
• les préconditions et les postconditions ;
• la fréquence ;
• la complexité ;
• la criticité (niveau de danger, caractère irrévocable) ;
• les contraintes temporelles (durée maximale) ;
• l!acteur responsable de l!exécution de la tâche (utilisateur et/ou
système) ;
• toute autre information pertinente (selon le domaine).
2.2 Modèle de tâche
Il existe de nombreuses notations pour les modèles de tâche, par
exemple UAN, CTT, HTA, MAD ...
Les use cases et les diagrammes de séquences d!UML peuvent
aussi être utilisés.
2.2 Modèle de tâche
UAN, (User Action Notation) utilise des opérateurs pour dénoter
les actions élémentaires :
194 l H. FL Hartson et al.
Table I. Summary of Some Useful UAN Symbols
Action Meaning
WI -WI -lx, Yl
-[x, y in A]
-[X in Y]
[Xl- ”
A
Xv
XA
XAV
X”UbC”
x (XYZ)
0 *
+
II AB
OR
&
*
II
v
move the cursor
the context of object X, the “handle” by which X is manipulated
move cursor into context of object X
move the cursor to (arbitrary) point n, y outside any object
move the cursor to (arbitrary) point within object A
move to object X within object Y (e.g., [OK-icon in dialogue-box])
move cursor out of context of object X
depress
release
depress button, key, or switch called X
release button, key, or switch X
idiom for clicking button, key, or switch X
enter literal string, abc, via device X
enter value for variable xyz via device X
grouping mechanism
iterative closure, task is performed zero or more times
task is performed one or more times
enclosed task is optional (performed zero or one time)
sequence; perform A, then B (same if A and B are on separate, but adjacent, lines)
disjunction, choice of tasks (used to show alternative ways to perform a task)
order independence; connected tasks must all be performed, but relative order is
immaterial
interleavability; performance of connected tasks can be interleaved in time
concurrency; connected tasks can be performed simultaneously
task interrupt symbol; used to indicate that user may interrupt the current task at
this point (the effect of this interrupt is specified as well, otherwise it is
undefined, i.e., as though the user never performed the previous actions)
for all
separator between condition and action or feedback
Feedback Meanine
-!
!!
!-!
(!-!)”
@X,Y
@X
display (X)
erase (X)
x>-
x >> -
outline (X)
highlight object
dehighlight object
same as !, but use an alternative highlight
blink highlight
blink highlight n times
at point x, y
at object X
display object X
erase object X
object X follows (is dragged by) cursor
object X is rubber-banded as its follows cursor
outline of object X
symbols) and that specific parts of designs be usable within other textual documents. This arrangement facilitates the use of standard keyboards for writing
UAN task descriptions.
For mnemonic purposes the symbols were chosen to be visually onomatopoetic. For example, - carries the impression of movement and [X] conveys the idea of
a box around X. Similarly, ! attracts attention as highlighting and > reflects the
notion of following, while >> is following but stretching out (rubberbanding).
ACM Transactions on Information Systems, Vol. 8, No. 3, July 1990.
2.2 Modèle de tâche
UAN, (User Action Notation) utilise des opérateurs pour dénoter
les relations temporelles :
194 l H. FL Hartson et al.
Table I. Summary of Some Useful UAN Symbols
Action Meaning
WI -WI -lx, Yl
-[x, y in A]
-[X in Y]
[Xl- ”
A
Xv
XA
XAV
X”UbC”
x (XYZ)
0 *
+
II AB
OR
&
*
II
v
move the cursor
the context of object X, the “handle” by which X is manipulated
move cursor into context of object X
move the cursor to (arbitrary) point n, y outside any object
move the cursor to (arbitrary) point within object A
move to object X within object Y (e.g., [OK-icon in dialogue-box])
move cursor out of context of object X
depress
release
depress button, key, or switch called X
release button, key, or switch X
idiom for clicking button, key, or switch X
enter literal string, abc, via device X
enter value for variable xyz via device X
grouping mechanism
iterative closure, task is performed zero or more times
task is performed one or more times
enclosed task is optional (performed zero or one time)
sequence; perform A, then B (same if A and B are on separate, but adjacent, lines)
disjunction, choice of tasks (used to show alternative ways to perform a task)
order independence; connected tasks must all be performed, but relative order is
immaterial
interleavability; performance of connected tasks can be interleaved in time
concurrency; connected tasks can be performed simultaneously
task interrupt symbol; used to indicate that user may interrupt the current task at
this point (the effect of this interrupt is specified as well, otherwise it is
undefined, i.e., as though the user never performed the previous actions)
for all
separator between condition and action or feedback
Feedback Meanine
-!
!!
!-!
(!-!)”
@X,Y
@X
display (X)
erase (X)
x>-
x >> -
outline (X)
highlight object
dehighlight object
same as !, but use an alternative highlight
blink highlight
blink highlight n times
at point x, y
at object X
display object X
erase object X
object X follows (is dragged by) cursor
object X is rubber-banded as its follows cursor
outline of object X
symbols) and that specific parts of designs be usable within other textual documents. This arrangement facilitates the use of standard keyboards for writing
UAN task descriptions.
For mnemonic purposes the symbols were chosen to be visually onomatopoetic. For example, - carries the impression of movement and [X] conveys the idea of
a box around X. Similarly, ! attracts attention as highlighting and > reflects the
notion of following, while >> is following but stretching out (rubberbanding).
ACM Transactions on Information Systems, Vol. 8, No. 3, July 1990.
2.2 Modèle de tâche
UAN, (User Action Notation) utilise des opérateurs pour dénoter
le feedback :
194 l H. FL Hartson et al.
Table I. Summary of Some Useful UAN Symbols
Action Meaning
WI -WI -lx, Yl
-[x, y in A]
-[X in Y]
[Xl- ”
A
Xv
XA
XAV
X”UbC”
x (XYZ)
0 *
+
II AB
OR
&
*
II
v
move the cursor
the context of object X, the “handle” by which X is manipulated
move cursor into context of object X
move the cursor to (arbitrary) point n, y outside any object
move the cursor to (arbitrary) point within object A
move to object X within object Y (e.g., [OK-icon in dialogue-box])
move cursor out of context of object X
depress
release
depress button, key, or switch called X
release button, key, or switch X
idiom for clicking button, key, or switch X
enter literal string, abc, via device X
enter value for variable xyz via device X
grouping mechanism
iterative closure, task is performed zero or more times
task is performed one or more times
enclosed task is optional (performed zero or one time)
sequence; perform A, then B (same if A and B are on separate, but adjacent, lines)
disjunction, choice of tasks (used to show alternative ways to perform a task)
order independence; connected tasks must all be performed, but relative order is
immaterial
interleavability; performance of connected tasks can be interleaved in time
concurrency; connected tasks can be performed simultaneously
task interrupt symbol; used to indicate that user may interrupt the current task at
this point (the effect of this interrupt is specified as well, otherwise it is
undefined, i.e., as though the user never performed the previous actions)
for all
separator between condition and action or feedback
Feedback Meanine
-!
!!
!-!
(!-!)”
@X,Y
@X
display (X)
erase (X)
x>-
x >> -
outline (X)
highlight object
dehighlight object
same as !, but use an alternative highlight
blink highlight
blink highlight n times
at point x, y
at object X
display object X
erase object X
object X follows (is dragged by) cursor
object X is rubber-banded as its follows cursor
outline of object X
symbols) and that specific parts of designs be usable within other textual documents. This arrangement facilitates the use of standard keyboards for writing
UAN task descriptions.
For mnemonic purposes the symbols were chosen to be visually onomatopoetic. For example, - carries the impression of movement and [X] conveys the idea of
a box around X. Similarly, ! attracts attention as highlighting and > reflects the
notion of following, while >> is following but stretching out (rubberbanding).
ACM Transactions on Information Systems, Vol. 8, No. 3, July 1990. 2.2 Modèle de tâche
Un exemple d!arbre de tâches noté
avec HTA (Hierarchical Task Analysis).!"!#$%&'(&%')&%*+"% ,-./01'.1'0234567658
Organisation : l’arbre de tâche / d’activité
!9:91'.234567658'.1'03';1<56-='.1<'91<<->941<'4-??>=1<
!"#$%&'()"#(91<<->941#)"(*+,-.%/"
0&'#.*$1$%&'()"
*1()%#/&'%2%*%$,
344"5$."6(.'"
7,4%'%6 7,4%'%6(6=519730018#9
:&;;"691<<->941
:&;;"6(5@A1)"(6"##&.65"
0<&%#%691<<->941
=6%#"("'(5&;/$")+.'"('&.>"**"(91<<->941
0<&%#%6(#"*&'*"(5@A1()"(6"##&.65"
)"($";/#91<<->9418#9
7,4%'%691<<->9418#9
7,4%'%6(6=519730018#9)"($";/#
?,#&.)6"5&'4*%$#
0&'$15$"6A19<-==1
?,#"6>"6(91<<->941,-.%>1*"'$"
8 97,4%'%698<197356-=
98<197356-=
!"!#$%&'(&%')&%*+"% ,-./01'.1'0234567658Organisation : l’arbre de tâche / d’activité
*9:3;6<356-;'='0239>91'.1'5?4@1'A'.234567658
!"#$%&$'()($*+,("-.-#,(/01+1*+)2#,1'+3+'$0'4)2#,1'
51)+1*+.6.*)+71'+#$*#1&)'+80+8$%.(*1'+96.-(.:71'+&';#,$7$<(/01'=
!"#$%&'%
!$()%*&+&*+,-+&&"%
./)%,&0)(1%
2+$'/%
./)%,&0)(1%*&+&*3),(')%
2.2 Modèle de tâche
Il n!y a pas de notation standard,
CTT (Concurrent Task Tree) propose les opérateurs suivants :
• T1 >> T2 : séquence ;
• T1 [data]>> T2 : séquence & transmission d!information ;
• T1 [] T2 : disjonction ;
• T* : fermeture (répétition de zéro à autant de fois qu!on veut) ;
• Tn : répétition ;
• [T] : option ;
• T1 [> T2 : interruption définitive ;
• T1 |> T2 : interruption avec reprise ;
• T1 ||| T2 : parallélisme.
Il existe un éditeur qui permet l!édition
de modèles de tâche : CTTE.
http://giove.cnuce.cnr.it/ctte.html
2.2 Modèle de tâche
Les use case models d!UML
spécifient les requis fonctionnels
du point de vue des acteurs.
Page ‹#›
19
• Nœuds : tâches abstraites
• Feuilles : tâches élémentaires user ou système
• Les opérateurs de CTT– Séquence T1 >> T2
– Séquence avec passage d’information T1 [ info] >> T2
– Disjonction T1 [ ] T2
– Répétition T1*
– Itération finie T1 (n)
– Tâche optionnelle [T]
– Interruption définitive T1 [> T2 (T2 interrompt T1 définitivement)
– Interruption avec reprise T1|> (T2 interrompt T1 qui peut reprendre qd T1 est achevée)
– Parallèle T1 ||| T2
• Outil support : CTTEhttp://giove.cnuce.cnr.it/ctte.html
2. Modèle de tâche et notations : CTT (ConcurTaskTree)
20
• Le modèle (Use case model) : spécifie des requis fonctionnels système du pointde vue des acteurs (utilisateurs ou autres systèmes) à haut niveau d’abstraction
• Pas de format imposé
• Exemple de structure
2. Modèle de tâche et notations : Use cases (UML)
21
2. Modèle de tâche et notations : Use cases (UML)
2.2 Modèle de tâche
Page ‹#›
19
• Nœuds : tâches abstraites
• Feuilles : tâches élémentaires user ou système
• Les opérateurs de CTT– Séquence T1 >> T2
– Séquence avec passage d’information T1 [ info] >> T2
– Disjonction T1 [ ] T2
– Répétition T1*
– Itération finie T1 (n)
– Tâche optionnelle [T]
– Interruption définitive T1 [> T2 (T2 interrompt T1 définitivement)
– Interruption avec reprise T1|> (T2 interrompt T1 qui peut reprendre qd T1 est achevée)
– Parallèle T1 ||| T2
• Outil support : CTTEhttp://giove.cnuce.cnr.it/ctte.html
2. Modèle de tâche et notations : CTT (ConcurTaskTree)
20
• Le modèle (Use case model) : spécifie des requis fonctionnels système du pointde vue des acteurs (utilisateurs ou autres systèmes) à haut niveau d’abstraction
• Pas de format imposé
• Exemple de structure
2. Modèle de tâche et notations : Use cases (UML)
21
2. Modèle de tâche et notations : Use cases (UML)
Page ‹#›
19
• Nœuds : tâches abstraites
• Feuilles : tâches élémentaires user ou système
• Les opérateurs de CTT– Séquence T1 >> T2
– Séquence avec passage d’information T1 [ info] >> T2
– Disjonction T1 [ ] T2
– Répétition T1*
– Itération finie T1 (n)
– Tâche optionnelle [T]
– Interruption définitive T1 [> T2 (T2 interrompt T1 définitivement)
– Interruption avec reprise T1|> (T2 interrompt T1 qui peut reprendre qd T1 est achevée)
– Parallèle T1 ||| T2
• Outil support : CTTEhttp://giove.cnuce.cnr.it/ctte.html
2. Modèle de tâche et notations : CTT (ConcurTaskTree)
20
• Le modèle (Use case model) : spécifie des requis fonctionnels système du pointde vue des acteurs (utilisateurs ou autres systèmes) à haut niveau d’abstraction
• Pas de format imposé
• Exemple de structure
2. Modèle de tâche et notations : Use cases (UML)
21
2. Modèle de tâche et notations : Use cases (UML)