ISO/IEC 9805-1:1998
(Main)Information technology — Open Systems Interconnection — Protocol for the Commitment, Concurrency and Recovery service element: Protocol specification — Part 1:
Information technology — Open Systems Interconnection — Protocol for the Commitment, Concurrency and Recovery service element: Protocol specification — Part 1:
This Recommendation | International Standard is to be applied by reference from other specifications. This is done within such specifications by reference to the CCR services defined in ITU-T Rec. X.851 | ISO/IEC 9804. A reference to a CCR service invokes the procedures of this Recommendation | International Standard to cause external effects. This Recommendation | International Standard specifies, in clause 9, a use of the ACSE, Presentation and Session services to carry the CCR semantics. This "reference" mapping can be used whenever the use of these services does not conflict with the user made by other ASEs or ASOs that are using the same association. Annex B defines how a different use of supporting services may be specified, for use where the reference mapping is inappropriate. This Recommendation | International Standard specifies the static and dynamic conformance requirements for systems implementing these procedures. It does not contain tests which can be used to demonstrate conformance. This edition of this Recommendation | International Standard specifies CCR protocol Version 2, which makes use of the Session Data Separation functional unit to protect data not belonging to the CCR atomic action. The 1990 edition of ISO/IEC 9805 specified CCR protocol Version 1. The 1993/1994 edition of this Recommendation | International Standard specified both CCR protocol Version 1 and CCR protocol Version 2, for the static commitment functional unit only. This International Standard specifies the protocol elements that support the following functional units: a) static commitment; b) dynamic commitment; c) read only; d) one-phase commitment; e) cancel; and f) overlapped recovery.
Technologies de l'information — Interconnexion de systèmes ouverts (OSI) — Protocole pour l'élément de service d'engagement, de concomitance et de rétablissement: Spécification du protocole — Partie 1:
General Information
Relations
Buy Standard
Standards Content (Sample)
INTERNATIONAL ISO/IEC
STANDARD 9805-1
Third edition
1998-12-15
Information technology — Open Systems
Interconnection — Protocol for the
Commitment, Concurrency and Recovery
service element: Protocol specification
Technologies de l'information — Interconnexion de systèmes ouverts
(OSI) — Protocole pour l’élément de service d’engagement, de
concomitance et de rétablissement: Spécification du protocole
Reference number
B C
ISO/IEC 9805-1:1998(E)
---------------------- Page: 1 ----------------------
ISO/IEC 9805-1:1998(E)
Contents Page
1 Scope . 1
2 Normative references . 1
2.1 Identical Recommendations | International Standards. 1
3 Definitions. 2
3.1 Reference model definitions . 2
3.2 Naming and addressing definitions. 2
3.3 Service conventions definitions. 3
3.4 Presentation service definitions . 3
3.5 ACSE service definitions. 3
3.6 Application Layer Structure definitions . 3
3.7 CCR service definitions. 3
3.8 CCR protocol specification definitions. 5
4 Abbreviations. 5
4.1 Data units. 5
4.2 Types of application-protocol-data-units. 5
4.3 Other abbreviations. 5
5 Conventions . 6
6 Overview of the CCR protocol . 6
6.1 Service support . 6
6.2 Constraints on ACSE services . 6
6.3 Use of the presentation service . 7
6.4 Relationship to the session-service and the transport-service. 7
6.5 Operation of the CCRPM . 8
6.6 Rules of extensibility . 8
7 Elements of procedures. 8
7.1 Initialization procedure. 9
7.2 Begin branch procedure. 11
7.3 Prepare procedure. 14
7.4 Signal readiness procedure . 15
7.5 Order commitment. 16
7.6 Rollback procedure. 18
7.7 No-change completion procedure. 20
7.8 Cancel procedure . 22
7.9 Branch recovery procedure. 23
7.10 Order commitment and begin branch procedure . 26
7.11 Error procedure. 27
8 CCRPM state table. 27
8.1 General. 27
© ISO/IEC 1998
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
ISO/IEC Copyright Office • Case postale 56 • CH-1211 Genève 20 • Switzerland
Printed in Switzerland
ii
---------------------- Page: 2 ----------------------
ISO/IEC 9805-1:1998(E)
© ISO/IEC
8.2 Incoming events . 28
8.3 Outgoing events. 28
8.4 Specific actions. 29
8.5 Predicates. 29
8.6 Enablements . 29
8.7 Variables. 29
8.8 Notation. 29
8.9 Conventions. 30
8.10 Actions to be taken by the CCRPM. 30
8.11 Changes to atomic action data. 31
8.12 Changes to bound data . 31
9 Reference mapping to the ACSE and presentation services . 42
9.1 Initialize. 42
9.2 Begin branch . 43
9.3 Prepare. 44
9.4 Signal readiness. 44
9.5 Order commitment . 44
9.6 Rollback . 45
9.7 No-change completion . 45
9.8 Cancel. 45
9.9 Branch recovery . 45
9.10 Order commitment and begin branch procedure.45
10 Concatenations and mappings . 46
10.1 Mapping precedence. 46
10.2 Allowable concatenations. 46
11 Precedence. 47
12 Conformance . 47
12.1 Statement requirements . 47
12.2 Static conformance requirements . 48
12.3 Presentation transfer syntax. 48
12.4 Bound data and atomic action data. 48
12.5 Dynamic conformance requirements. 48
Annex A – Definition of CCR data types . 49
A.1 Information object names. 49
A.2 Datatype definitions for CCR Protocol . 49
Annex B – Using the CCR ASE in combination with other ASEs . 53
B.1 Introduction . 53
B.2 Service primitives. 53
B.3 Conformance . 53
B.4 CCR events. 53
B.5 Purge and flow control . 54
B.6 Delimitation of atomic actions . 54
B.7 Named mapping variations. 54
iii
---------------------- Page: 3 ----------------------
ISO/IEC 9805-1:1998(E)
© ISO/IEC
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form
the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the
development of International Standards through technical committees established by the respective organization to deal
with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest.
Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the
work.
In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft
International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication
as an International Standard requires approval by at least 75 % of the national bodies casting a vote.
International Standard ISO/IEC 9805-1 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information
technology, Subcommittee SC 33, Distributed application services, in collaboration with ITU-T. The identical text is
published as ITU-T Recommendation X.852.
This third edition cancels and replaces the second edition (ISO/IEC 9805-1:1994), which has been technically revised.
ISO/IEC 9805 consists of the following parts, under the general title Information technology — Open Systems
Interconnection — Protocol for the Commitment, Concurrency and Recovery service element:
— Part 1: Protocol specification
— Part 2: Protocol Implementation Conformance Statement (PICS) proforma
Annexes A and B form an integral part of this part of ISO/IEC 9805.
iv
---------------------- Page: 4 ----------------------
ISO/IEC 9805-1:1998(E) ISO/IEC
,QWURGXFWLRQ
This Recommendation | International Standard is one of a set of Recommendations | International Standards produced to
facilitate the interconnection of information processing systems. It is related to other Recommendation | International
Standards in the set as defined by the Reference Model for Open Systems Interconnection (see ITU-T Rec. X.200 |
ISO/IEC 7498-1). The Reference Model subdivides the area of standardization for interconnection into a series of layers
of specification, each of manageable size.
The goal of Open Systems Interconnection is to allow, with a minimum of technical agreement outside the
interconnection standards, the interconnection of information processing systems:
– from different manufacturers;
– under different managements;
– of different levels of complexity; and
– of different technologies.
This Recommendation | International Standard specifies the protocol for the application-service-element for
Commitment, Concurrency, and Recovery (CCR). These services are intended to be applicable to a wide range of
application-process communication requirements.
This Recommendation | International Standard specifies CCR Protocol Version 2. The 1990 edition of ISO/IEC 9805
specified CCR protocol Version 1. The 1993/1994 editions of this Recommendation | International Standard specified
both CCR protocol Version 1 and CCR protocol Version 2, for the static commitment functional unit only.
The CCR protocol specification consists of the following main components:
a) the specification of the CCR APDUs using Abstract Syntax One (ASN.1, ITU-T Rec. X.680 |
ISO/IEC 8824-1);
b) the elements of procedure for issuing CCR service indication and confirm primitives to the CCR
service-user when CCR APDUs are received and for the sending of CCR APDUs when CCR service
request and indication primitives are received from the CCR service-user;
c) the CCR protocol machine specified in terms of a state table; and
d) the presentation services (see ITU-T Rec. X.216 | ISO/IEC 8822) used for sending and receiving CCR
APDUs.
The CCR protocol shares the presentation-service with other application-service-elements.
The requirement to provide support for CCR together with other application-service-elements is satisfied by reference to
this Recommendation | International Standard.
Annex A contains the definitions of the structure of the CCR APDUs.
Annex B describes how the CCR can be used in combination with other ASEs that use the presentation service in a way
that is not compatible with the use of the presentation service by CCR as specified in the body of this Recommendation |
International Standard.
v
---------------------- Page: 5 ----------------------
,62,(&(
,17(51$7,21$/67$1'$5'
ISO/IEC 9805-1 : 1998 (E)
ITU-T Rec. X.852 (1997 E)
,7875(&200(1'$7,21
,1)250$7,217(&+12/2*<±23(16<67(06,17(5&211(&7,21±
35272&2/)257+(&200,70(17&21&855(1&<$1'5(&29(5<
6(59,&((/(0(1735272&2/63(&,),&$7,21
6FRSH
This Recommendation | International Standard is to be applied by reference from other specifications. This is done
within such specifications by reference to the CCR services defined in ITU-T Rec. X.851 | ISO/IEC 9804. A reference to
a CCR service invokes the procedures of this Recommendation | International Standard to cause external effects.
This Recommendation | International Standard specifies, in clause 9, a use of the ACSE, Presentation and Session
services to carry the CCR semantics. This “reference” mapping can be used whenever the use of these services does not
conflict with the user made by other ASEs or ASOs that are using the same association. Annex B defines how a different
use of supporting services may be specified, for use where the reference mapping is inappropriate.
This Recommendation | International Standard specifies the static and dynamic conformance requirements for systems
implementing these procedures. It does not contain tests which can be used to demonstrate conformance.
This edition of this Recommendation | International Standard specifies CCR protocol Version 2, which makes use of the
Session Data Separation functional unit to protect data not belonging to the CCR atomic action. The 1990 edition of
ISO/IEC 9805 specified CCR protocol Version 1. The 1993/1994 edition of this Recommendation | International
Standard specified both CCR protocol Version 1 and CCR protocol Version 2, for the static commitment functional unit
only.
This International Standard specifies the protocol elements that support the following functional units:
a) static commitment;
b) dynamic commitment;
c) read only;
d) one-phase commitment;
e) cancel; and
f) overlapped recovery.
1RUPDWLYHUHIHUHQFHV
The following Recommendations and International Standards contain provisions which, through reference in this text,
constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated
were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this
Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent
edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently
valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently
valid ITU-T Recommendations.
,GHQWLFDO5HFRPPHQGDWLRQV_,QWHUQDWLRQDO6WDQGDUGV
– ITU-T Recommendation X.200 (1994) | ISO/IEC 7498-1:1994, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±%DVLF5HIHUHQFH0RGHO7KH%DVLF0RGHO
– ITU-T Recommendation X.207 (1993) | ISO/IEC 9545:1994, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±$SSOLFDWLRQOD\HUVWUXFWXUH
– ITU-T Recommendation X.210 (1993) | ISO/IEC 10731:1994, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±%DVLF5HIHUHQFH0RGHO&RQYHQWLRQVIRUWKHGHILQLWLRQRI26,VHUYLFHV
,7875HF;( 1
---------------------- Page: 6 ----------------------
,62,(&(
– ITU-T Recommendation X.215 (1995) | ISO/IEC 8326:1996, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±6HVVLRQVHUYLFHGHILQLWLRQ
– ITU-T Recommendation X.216 (1994) | ISO/IEC 8822:1994, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±3UHVHQWDWLRQVHUYLFHGHILQLWLRQ
– ITU-T Recommendation X.217 (1995) | ISO/IEC 8649:1996, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±6HUYLFHGHILQLWLRQIRUWKHDVVRFLDWLRQFRQWUROVHUYLFHHOHPHQW
– ITU-T Recommendation X.227 (1995) | ISO/IEC 8650-1:1996, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±&RQQHFWLRQRULHQWHGSURWRFROIRUWKHDVVRFLDWLRQFRQWUROVHUYLFHHOHPHQW3URWRFRO
VSHFLILFDWLRQ
– ITU-T Recommendation X.650 (1996) | ISO/IEC 7498-3:1997, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±%DVLF5HIHUHQFH0RGHO1DPLQJDQGDGGUHVVLQJ
– ITU-T Recommendation X.680 (1994) | ISO/IEC 8824-1:1995, ,QIRUPDWLRQWHFKQRORJ\±$EVWUDFW6\QWD[
1RWDWLRQ2QH$616SHFLILFDWLRQRIEDVLFQRWDWLRQ
– ITU-T Recommendation X.680 (1994)/Amd. 1 (1995) | ISO/IEC 8824-1:1995/Amd. 1:1995, ,QIRUPDWLRQ
WHFKQRORJ\±$EVWUDFW6\QWD[1RWDWLRQ2QH$616SHFLILFDWLRQRIEDVLFQRWDWLRQ±$PHQGPHQW
5XOHVRIH[WHQVLELOLW\
– Technical Corrigendum (1997) to ITU-T Recommendation X.680 (1994)/Amd. 1 (1995) | ISO/IEC
8824-1:1995/Amd. 1:1995, ,QIRUPDWLRQ WHFKQRORJ\ ± $EVWUDFW 6\QWD[ 1RWDWLRQ 2QH $61
6SHFLILFDWLRQRIEDVLFQRWDWLRQ±$PHQGPHQW5XOHVRIH[WHQVLELOLW\
– ITU-T Recommendation X.690 (1994) | ISO/IEC 8825-1:1995, ,QIRUPDWLRQWHFKQRORJ\±$61HQFRGLQJ
UXOHV6SHFLILFDWLRQRI%DVLF(QFRGLQJ5XOHV%(5&DQRQLFDO(QFRGLQJ5XOHV&(5DQG'LVWLQJXLVKHG
(QFRGLQJ5XOHV'(5
– ITU-T Recommendation X.851 (1997) | ISO/IEC 9804:1998, ,QIRUPDWLRQWHFKQRORJ\±2SHQ6\VWHPV
,QWHUFRQQHFWLRQ±6HUYLFHGHILQLWLRQIRUWKHFRPPLWPHQWFRQFXUUHQF\DQGUHFRYHU\VHUYLFHHOHPHQW
'HILQLWLRQV
5HIHUHQFHPRGHOGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.200 |
ISO/IEC 7498-1:
a) Application Layer;
b) application association; association;
c) application-process;
d) application-entity;
e) presentation-service;
f) presentation-connection;
g) session-service; and
h) session-connection.
1DPLQJDQGDGGUHVVLQJGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.650 |
ISO/IEC 7498-3:
a) application-process title;
b) application-entity qualifier;
c) application-entity title.
2 ,7875HF;(
---------------------- Page: 7 ----------------------
,62,(&(
6HUYLFHFRQYHQWLRQVGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.210 |
ISO/IEC 10731:
a) service-provider;
b) service-user;
c) confirmed service;
d) non-confirmed service;
e) primitive;
f) request (primitive);
g) indication (primitive);
h) response (primitive); and
i) confirm (primitive).
3UHVHQWDWLRQVHUYLFHGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.216 |
ISO/IEC 8822:
a) abstract syntax;
b) abstract syntax name;
c) defined context set;
d) presentation context; and
e) presentation data value.
$&6(VHUYLFHGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.217 |
ISO/IEC 8649:
a) association-initiator; and
b) association-responder.
$SSOLFDWLRQ/D\HU6WUXFWXUHGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.207 |
ISO/IEC 9545:
a) application-entity-invocation;
b) application-service-element;
&&5VHUYLFHGHILQLWLRQV
This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.851 |
ISO/IEC 9804:
1) acceptor;
2) application failure;
3) atomic action;
4) atomic action branch identifier; branch identifier;
5) atomic action branch; branch;
6) atomic action data;
7) atomic action graph;
8) atomic action identifier;
,7875HF;( 3
---------------------- Page: 8 ----------------------
,62,(&(
9) atomic action initiator;
10) atomic action owner;
11) atomicity;
12) begin-tree; atomic action begin-tree
13) bound data;
14) branch-initiator; atomic action branch-initiator;
15) branch-responder; atomic action branch-responder;
16) CCR service-provider;
17) CCR service-user;
18) commit coordinator;
19) commit-decider;
20) commit-subordinate;
21) commit-superior;
22) commit-tree; atomic action commit-tree;
23) communication failure;
24) compensating action;
25) concurrency control;
26) confirmation of commitment;
27) connected graph;
28) consistency;
29) continuing two-phase branch; continuing two-phase neighbour;
30) distributed application;
31) doubt period;
32) durability;
33) final state;
34) graph;
35) heuristic decision;
36) initial state;
37) intermediate;
38) intermediate state;
39) interrupted branch;
40) isolation;
41) leaf;
42) local commitment procedures;
43) local rollback procedures;
44) mixed heuristic situation; mixed situation;
45) neighbour (of a node in a graph);
46) neighbourhood (of a node);
47) node; CCR node;
48) non-reference mapping;
49) order of commitment of an atomic action branch; order of commitment;
50) phase I;
51) phase II;
52) presumed rollback;
53) ready signal;
54) ready-to-commit state;
55) recovery of an atomic action branch; recovery;
56) recovery responsibility for an atomic action branch; recovery responsibility;
57) reference mapping;
58) referencing specification;
59) requesting neighbourhood;
60) requestor;
61) rollback of an atomic action branch; rollback;
62) root;
63) subordinate of a node;
64) subordinate of an arc;
65) subordinate subtree;
66) subtree (of a node);
67) superior of a node (in a rooted tree);
68) superior of an arc (in a rooted tree);
69) tree;
70) user-ASE.
4 ,7875HF;(
---------------------- Page: 9 ----------------------
,62,(&(
&&5SURWRFROVSHFLILFDWLRQGHILQLWLRQV
For the purposes of this Recommendation | International Standard, the following definitions apply.
DFFHSWLQJ&&5SURWRFROPDFKLQH The CCR protocol machine whose service-user is the acceptor for a
particular CCR service.
&&5SURWRFROPDFKLQH The protocol machine of the CCR application-service-element specified in this
Recommendation | International Standard.
UHTXHVWLQJ&&5SURWRFROPDFKLQH The CCR protocol machine whose service-user is the requestor for a
particular CCR service.
$EEUHYLDWLRQV
'DWDXQLWV
APDU application-protocol-data-unit
7\SHVRIDSSOLFDWLRQSURWRFROGDWDXQLWV
The following abbreviations have been given to the application-protocol-data-units defined in this Protocol
Specification:
C-INITIALIZE-RI
C-INITIALIZE-RC
C-BEGIN-RI
C-BEGIN-RC
C-PREPARE-RI
C-READY-RI
C-COMMIT-RI
C-COMMIT-RC
C-ROLLBACK-RI
C-ROLLBACK-RC
C-CANCEL-RI
C-NOCHANGE-RI
C-NOCHANGE-RC
C-RECOVER-RI
C-RECOVER-RC
2WKHUDEEUHYLDWLRQV
For the purposes of this Recommendation | International Standard, the following abbreviations apply:
ACSE Association Control Service Element
AE application-entity
AEI application-entity invocation
AP application-process
APDU application-protocol-data-unit
ASE application-service-element
ASN.1 Abstract Syntax Notation One
CCR Commitment, Concurrency, and Recovery application-service-element
CCRPM CCR protocol machine
,7875HF;( 5
---------------------- Page: 10 ----------------------
,62,(&(
cnf confirm primitive
ind indication primitive
OSI Open Systems Interconnection
req request primitive
rsp response primitive
&RQYHQWLRQV
This Protocol Specification employs a tabular presentation of its APDU fields. In clause 7, tables are presented
for each CCR APDU. Each field is summarized using the following notation:
M Presence is Mandatory
O Presence is CCRPM Option
U Presence is CCR service-user option
req Source is the related request primitive
ind Sink is the related indication primitive
rsp Source is the related response primitive
cnf Sink is the related confirm primitive
CCRPM Source or sink is the CCRPM
The structure of each CCR APDU is specified in Annex A using the abstract syntax notation of ASN.1 (see
ITU-T Rec. X.680 | ISO/IEC 8824-1).
CCR allows the concatenation of some of its APDUs. In clause 11 the allowed concatenations are specified.
2YHUYLHZRIWKH&&5SURWRFRO
6HUYLFHVXSSRUW
The protocol specified in this Recommendation | International Standard supports the services defined in
ITU-T Rec. X.851 | ISO/IEC 9804. These services are listed in Table 1.
7DEOH±&&5VHUYLFHV
Service Type Requestor
C-INITIALIZE C
...
NORME ISO/CEI
98054
INTERNATIONALE
Troisieme Edition
1998-12-15
Technologies de Unformation -
Interconnexion de systemes ouverts
(OS) - Protocole pour Ml6ment de Service
d ’engagement, de concomitance et de
Hablissement: Specification du protocole
Information technology - Open Systems Interconnection - Protocol for
the Commitment, Concurrency and Recovery Service element: Protocol
specifica tion
Numero de rkfhrence
ISO/CEI 98051:1998(F)
---------------------- Page: 1 ----------------------
ISOKEI 9805=1:1998(F)
0 ISOKEI 1998
Droits de reproduction reserves. Sauf prescription differente, aucune Partie de cette publication ne peut etre reproduite ni utilisee sous quelque forme que ce
soit et par aucun procede, electronique ou mecanique, y compris la photocopie et les microfilms, sans l ’accord k-it de l ’editeur.
ISOKEI Copyright Office l Case postale 56 l CH-12 11 Geneve 20 l Suisse
Version francaise tiree en 1999
Imprime en Suisse
---------------------- Page: 2 ----------------------
0 ISOKEI ISOKEI 9805-1: 1998(F)
Sommaire
Page
Domaine d ’application . 1
1
References normatives .
2.1 Recommandations 1 Normes internationales identiques . 1
2
Definitions .
3.1 Definitions du modele de reference . 2
2
3.2 Definitions relatives a la denomination et a l ’adressage .
3.3 Definitions des conventions de Service . 3
3
3.4 Definitions du Service de presentation .
3.5 Definitions du Service ACSE . 3
3.6 Definitions de la structure de la couche Application . 3
3.7 Definitions du Service CCR . 3
............................................................................................................. 5
3.8 Definitions du protocole CCR
Abreviations . 5
................................................................................................................................ 5
4.1 Unites de donnees
......................................................................... 5
4.2 Types d ’unites de donnees de protocole d ’application
4.3 Autres abreviations . 5
Conventions . 6
6
Apercu general du protocole CCR .
6
6.1 Services foumis .
6.2 Contraintes sur les Services ACSE . 7
.................................................................................................. 7
6.3 Utilisation du Service de presentation
6.4 Relation avec le Service de Session et le Service de transfert . 7
6.5 Fonctionnement de la CCRPM . 8
Regles d ’extensibilite 8
6.6 .
8
Elements de procedure .
7.1 Procedure d ’initialisation . 9
7.2 Procedure de commencement de branche . 11
14
7.3 Procedure de preparation .
7.4 Procedure de signalisation d ’aptitude a s ’engager . 15
Procedure d ’ordre d ’engagement . 17
7.5
19
7.6 Procedure de retour-arriere .
7.7 Procedure de terminaison sans modification . 21
23
7.8 Procedure d ’annulation .
7.9 Procedure de retablissement de branche . 24
7.10 Procedure d ’ordre d ’engagement et de commencement de branche . 28
7.11 Procedure d ’erreur . 29
Tables d ’etats de la CCRPM . 29
8.1 Generalites . 29
............................................................................................................................ 30
8.2 Evenements entrants
8.3 Evenements sortants . 30
8.4 Actions specifiques . 30
8.5 Predicats . 30
........................................................................................................................................ 31
8.6 Habilitations
8.7 Variables . 31
............................................................................................................................................... 31
8.8 Notation
8.9 Conventions . 32
........................................................................................................ 32
8.10 Actions a prendre par la CCRPM
8.11 Modikations des donnees d ’action atomique . 33
8.12 Modikations des donnees liees . . . . . . . . . . . . . . . . . . .~. 33
. . .
111
---------------------- Page: 3 ----------------------
ISOKEI 98054: 199S(F)
0 ISQICEI
Page
9
Mappage de reference sur l ’element ACSE et les Services de presentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.1
Initialisation . . . . . . . . . . . . . . . . . . . .-.-.-.-.*.
44
9.2 Commencement de branche . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.
45
9.3 Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .“.
46
9.4 Signalisation d ’aptitude a s ’engager
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .“.“.
46
9.5 Fordre d ’engagement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
9.6 Retour-arriere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ‘.
47
9.7 Terminaison sans modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
9.8 Annulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
9.9 Retablissement de branche . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
9.10
Procedure d ’ordre d ’engagement et de debut de branche . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .“.
47
10 Concatenations et mappages .
48
10.1 Preseance des mappages
......................................................................................................................
48
10.2 Concatenations autorisees .
49
11 Preseance .
49
12 Conformite .
49
12.1 Conditions a remplir par les declarations de conformite
.....................................................................
50
12.2 Conditions de conformite statique .
50
12.3 Syntaxe de transfert de presentation
....................................................................................................
50
12.4
Donnees liees et donnees d ’action atomique
.......................................................................................
50
12.5 Conditions de conformite dynamique
.................................................................................................
50
Annexe A - Definition des types de donnees CCR
...................................................................................................
51
A.l Noms d ’objets informationnels
............................................................................................................
51
A.2 Definitions des types de donnees du protocole CCR
..........................................................................
51
Annexe B - Utilisation des elements ASE du protocole CCR par d ’autres elements de Service d'application
..........
55
B.l Introduction .
55
B.2 Primitives de Service
.........................................................................
..................................................
55
B.3 Conformite .
55
B.4 Evenements CCR
.......................................................................
.........................................................
55
B.5 Purge et controle de flux .
........................................................
56
B.6 Delimitation d ’actions atomiques
........................................................................................................
56
B.7 Variations de mappage nommees .
56
IV
---------------------- Page: 4 ----------------------
0 ISO/CEI ISO/CEI 98051: 1998(F)
Avant-propos
L ’ISO (Organisation internationale de normalisation) et la CE1 (Commission electrotechnique internationale) forment
ensemble un Systeme consacre a la normalisation internationale consideree comme un tout. Les organismes nationaux
membres de HS0 ou de la CE1 participent au developpement de Normes internationales par l ’intermediaire des comites
techniques cr& par l ’organisation concernee afin de s ’occuper des differents domaines particuliers de l ’activite technique. Les
comites techniques de I ’ISO et de la CE1 collaborent dans des domaines d ’interet commun. D ’autres organisations
internationales, gouvernementales et non gouvernementales, en liaison avec 1 ’ISO et la CE1 participent egalement aux travaux.
Dans le domaine des technologies de l ’information, I ’ISO et la CE1 ont cree un comite technique mixte, l ’ISO/CEI JTC 1. Les
projets de Normes internationales adoptes par le comite technique mixte sont soumis aux organismes nationaux pour
approbation, avant leur acceptation comme Normes internationales. Les Normes internationales sont approuvees
conformement aux procedures qui requierent l ’approbation de 75 % au moins des organismes nationaux votants.
La Norme internationale ISO/CEI 9805-1 a etc elaboree par le comite technique mixte ISOKEI JTC 1, Technologies de
Z ’information, sous-comite SC 33, Services d ’applications distribukes, en collaboration avec I ’UIT-T. Le texte identique est
publik en tant que Recommandation UIT-T X.852.
Cette troisieme edition annule et remplace la deuxieme edition (ISOKEI 98051: 1994), qui a fait l ’objet d ’une revision
technique.
L ’ISOKEI 9805 comprend les Parties suivantes, presentees sous le titre general Technologies de Z ’information -
Interconnexion de systemes ouverts (OSI) - ProtocoZe pour Z ’t?Zkment de Service d ’engagement, de concomitance et de
r&abZissement:
Partie 1: Spkcification du protocole
Partie 2: Formulaire de dkclaration de conformitk d ’instance de protocole (PICS)
-
Les annexes A et B font Partie integrante de la presente Partie de l ’ISO/CEI 9805.
---------------------- Page: 5 ----------------------
0 ISOfCEI
ISO/CEI 9805~1:1998(F)
Introduction
La presente Recommandation 1 Norme internationale fait Partie d ’un ensemble de Recommandations j Normes
internationales elaborees pour faciliter l ’interconnexion des systemes de traitement de l ’information. Elle fait Partie d ’un
ensemble de Recommandations 1 Normes internationales dont les relations sont definies par le modele de reference pour
l ’interconnexion des systemes ouverts (Rec. UIT-T X.200 / ISO/CEI 7498-1). Le modele de reference subdivise le
domaine de la normalisation pour l ’interconnexion en une Serie de Couches de specification, chacune de taille maitrisable.
L ’objectif de 1 ’OSI est de permettre, avec un minimum d ’accords techniques en dehors des normes d ’interconnexion,
l ’interconnexion de systemes de traitement de l ’information:
-
provenant de divers fabricants;
-
geres differemment;
-
de niveaux de complexite differents;
-
de techniques differentes.
La presente Recommandation 1 Norme internationale specifie le protocole pour l ’element de Service d ’application (ASE,
application Service element) pour l ’engagement, la concomitance et le retablissement (protocole CCR). 11 est prevu que
ces Services s ’appliquent a une large gamme de besoins de communication entre processus d ’application.
La presente Recommandation 1 Norme internationale specifie la version 2 du protocole CCR. L ’edition de 1990 de
1 ’1SOKEI 9805 specifiait la version 1 du protocole CCR. L ’edition de 1993/1994 de la presente Recommandation
1
Norme internationale specifiait a la fois la version 1 et la version 2 du protocole CCR, uniquement pour l ’unite
fonctionnelle d ’engagement statique.
La specification du protocole CCR est composee des principaux elements suivants:
a) la specification des unites APDU du protocole CCR en utilisant la notation de syntaxe abstraite numero
un (ASN.l, definie dans la Rec. UIT-T X.680 1 ISOKEI 8824-1);
b) les elements de procedure d ’emission de primitives d ’indication et de confirmation de Service CCR, a
l ’intention de l ’utilisateur de Service CCR, apres la reception d ’unites APDU du protocole CCR; les
elements de procedure d ’envoi d ’unites APDU du protocole CCR par l ’utilisateur de Service CCR, apres la
reception de primitives de demande et d ’indication de Service CCR;
la machine protocole CCR specifiee en termes de tables d ’etats;
4
d) les Services de presentation (voir la Rec. UIT-T X.216 1 ISOKEI 8822) utilises pour l ’emission et la
reception d ’unites APDU du protocole CCR.
Le protocole CCR partage le Service de presentation avec d ’autres elements de Service de la couche Application.
Lorsqu ’il est necessaire de foumir un support
du protocole CCR avec d ’autres elements de Service d ’application, il suffit
de faire reference a la presente Recommandati 1 Norme internationale.
on
L ’Annexe A definit la structure des unites APDU du protocole CCR.
L ’Annexe B decrit comment le protocole CCR peut etre utilise de facon combinee avec d ’autres ASE utilisant le Service
de presentation d ’une facon non compatible avec l ’utilisation, specifiee dans la presente Recommandation 1 Norme
internationale, que fait le protocole CCR de ce meme Service.
vi
---------------------- Page: 6 ----------------------
ISOKEI 9805-1 : 1998 (F)
NORME INTERNATIONALE
RECOMMANDATION UIT-T
TECHNOLOGIES DE L ’INFORMATION - INTERCONNEXION DE SYSTEMES
OUVERTS (OSI) - PROTOCOLE POUR L ’I?LkMENT DE SERVICE D ’ENGAGEMENT,
DE CONCOMITANCE ET DE RETABLISSEMENT: SPIkIFICATION DU PROTOCOLE
1 Domaine d ’application
La presente Recommandation 1 Norme internationale doit etre appliquee en y faisant reference dans d ’autres
specifications. Ces specifkations font reference aux Services CCR definis dans la Rec. UIT-T X.851 1 ISO/CEI 9804.
Une reference a un Service CCR invoque les procedures definies dans la presente Recommandation 1 Norme
internationale et entraine des effets externes.
La presente Recommandation 1 Norme internationale specifie, dans l ’article 9, une utilisation de l ’element de Service
ACSE, des Services de presentation et de Session pour transporter la semantique du protocole CCR. Ce mappage “de
reference” peut etre utilise chaque fois que l ’utilisation de ces Services n ’est pas en conflit avec l ’utilisation faite par
d ’autres ASE et AS0 qui utilisent la meme association. L ’Annexe B definit la facon de specifier une utilisation
differente des Services supports lorsque l ’utilisation du mappage de reference n ’est pas appropriee.
La presente Recommandation 1 Norme international e specifie les conditions de conformite statique et dynamique des
systemes qui mettent en ceuvre ces procedures. Elle ne contient pas les tests qui peuvent etre utilises pour demontrer la
conformite a ces conditions.
L ’edition de la presente Recommandation 1 Norme internationale specifie les Versions de protocole suivantes:
La version 2 du protocole CCR, qui fait appel a l ’unite fonctionnelle de Separation des donnees de Session afin de
proteger des donnees ne dependant pas de l ’action atomique du protocole CCR. L ’edition de 1990 de l ’ISO/CEI 9805
specifiait la version 1 du protocole CCR. L ’edition de 1993/1994 de la presente Recommandation 1 Norme internationale
specifiait a la fois la version 1 et la version 2 du protocole CCR, uniquement pour l ’unite fonctionnelle d ’engagement
statique.
La presente Norme internationale specifie les elements de protocole supportant les unites fonctionnelles suivantes:
engagement statique;
a>
b) engagement dynamique;
c) lecture seule;
d) engagement en une Phase;
annulation;
e>
retablissement recouvert.
2 Rkfbrences normatives
Les Recommandations et Normes internationales suivantes contiennent des dispositions qui, par Suite de la reference qui
y est faite, constituent des dispositions valables pour la presente Recommandation 1 Norme internationale. Au moment de
la publication, les editions indiquees etaient en vigueur. Toutes Recommandations et Normes sont sujettes a revision et
les Parties prenantes aux accords fondes sur la presente Recommandation 1 Norme internationale sont invitees a
rechercher la possibilite d ’appliquer les editions les plus recentes des Recommandations et Normes indiquees ci-apres.
Les membres de la CE1 et de 1 ’1SO possedent le registre des Normes internationales en vigueur. Le Bureau de la
normalisation des telecommunications de 1 ’UIT tient a jour une liste des Recommandations UIT-T en vigueur.
21 . Recommandations 1 Normes internationales identiques
-
Recommandation UIT-T X.200 (1994) 1 ISO/CEI 7498-1: 1994, TechnoZogies de Z ’infirmation -
Interconnexion des systemes ouverts - ModGIe de r@%rence de base: le modele de base.
-
Recommandation UIT-T X.207 (1993) / ISO/CEI 9545: 1994, Technologies de Z ’information -
Interconnexion des systemes ouverts - Structure de Zu couche application.
Rec. UIT-T X.852 (1997 F)
1
---------------------- Page: 7 ----------------------
ISOKEI 9805-1 : 1998 (F)
-
Recommandation UIT-T X.210 (1993) ( ISOKEI 1073 1: 1994, Technologies de Z ’information -
conventions relatives pour Za
Interconnexion des systemes ouverts -- k?od?Ze de rkfkrence de base.
dkfinition des Services de Z ’interconnexion de systemes ouverts.
-
Recommandation UIT-T X.215 (1995) 1 ISOKEI 8326: 1996, Technologies de Z ’information -
lnterconnexion des systemes ouverts -- Dkfinition du Service de Session.
-
Recommandation UIT-T X.216 (1994) 1 ISO/CEI 8822: 1994, Technologies de Z ’information -
Interconnexion des systemes ouverts - Dkfinition du Service de prksentation.
-
Recommandation UIT-T X.217 (1995) 1 ISO/CEI 8649: 1996, Technologies de Z ’information -
Interconnexion des systemes ouverts - Dkfinition de Service applicable a Z ’eleiment de Service de controle
d ’association.
-
Recommandation UIT-T X.227 (1995) 1 ISO/CEI 8650-1: 1996, Technologies de Z ’information -
Interconnexion des systemes ouverts - Protocole en mode connexion appZicabZe ti Z ’kZkment de Service de
contrQZe d ’association: Sp&iJication du protocole.
-
Recommandation UIT-T X.650 (1996) 1 ISO/CEI 7498-3:1997, Technologies de Z ’information -
Interconnexion des systemes ouverts - Modele de rkfkrence de base: dknomination et adressage.
-
Recommandation UIT-T X.680 (1994) 1 ISO/CEI 8824-1:1995, TechnoZogies de Z ’information - Notation
de syntaxe abstraite numkro un: spklfication de Za notation de base.
-
Recommandation UIT-T X.680 (1994)/Amd. 1 (1995) / ISO/CEI 8824- 1: 1995/Amd. 1: 1995,
Technologies de Z ’information - Notation de syntaxe abstraite num&o un: sp&fkation de Za notation de
base - Amendement 1: rkgles d ‘extensibilitk.
-
Corrigendum technique 1 (1997) a la Recommandation UIT-T X.680 (1994)/Amd. 1 (1995) 1 ISO/CEI
8824-1: 1995/Amd. 1: 1995, Technologies de Z ’information -- Notation de syntaxe abstraite num&o un.
spkczjkation de Za notation de base - Amendement I: r&gZes d ‘extensibilitk.
-
Recommandation UIT-T X.690 (1994) 1 ISO/CEI 8825-1:1995, Technologies de Z ’information - R&gZes
de codage de Za notation de syntaxe abstraite numkro un: spkijication des r2gZes de codage de base, des
r2gZes de codage canoniques et des r2gZes de codage distinctives.
-
Recommandation UIT-T X.85 1 (1997) 1 ISO/CEI 9804: 1998, Technologies de Z ’information -
Interconnexion des systemes ouverts (OSlj) - Definition du Service pour Z ’klkment de Service
d ’engagement, de concomitance et de rktablissement.
3 DSinitions
31 . Dkfinitions du modele de rkfkrence
La presente Recommandation 1 Norme internationale utilise les termes suivants, definis dans la Rec. UIT-T
X.200 ( ISOKEI 7498-1:
couche Application;
4
association d ’application; association;
b)
processus
d ’application;
4
entite d ’application;
4
Service de presentation;
4
connexion de presentation;
Service de Session;
connexion de Session.
32 . Dkfinitions relatives h Ia dhomination et 5 l ’adressage
La presente Recommandation 1 Norme internationale utilise les termes suivants, definis dans la Rec. UIT-T X.650 1
ISO/CEI 7498-3:
titre de processus d ’application;
4
b) qualificateur d ’entite d ’application;
titre d ’entite d ’application.
C>
Rec. UIT-T X.852 (1997 F)
---------------------- Page: 8 ----------------------
M
.
Q;
Tl
4)
>
‘l-t
w
‘d
E
‘F4
E &
‘4
Si
0
.d
. h
? a
a.J ‘Vd
c,
0
‘74
l + 8
E
E
2 -7-t
a,
Vi & a
n
nnnnnnnn
a Q) CH
-mmTl-v)\o1\00
---------------------- Page: 9 ----------------------
ISOKEI 9805-1 : 1998 (F)
instigateur d ’action atomique;
9)
?roprietaire d ’action atomique;
10)
ztomicite;
11)
arbre de debut; arbre de debut d ’action atomique;
12)
donnees liees;
13)
initiateur de branche; initiateur de branche d ’action atomique;
14)
repondeur de branche; repondeur de branche d ’action atomique;
15)
fournisseur de Service CCR;
16)
utilisateur de Service CCR;
17)
coordinateur de l ’engagement;
18)
decideur de l ’engagement;
19)
subordonne de l ’engagement;
20)
superieur de l ’engagement;
21)
arbre d ’engagement; arbre d ’engagement d ’action atomique;
22)
echec de la communication;
23)
action de compensation;
24)
gestion de la concomitance;
25)
confirmation de l ’engagement;
26)
graphe connecte;
27)
coherence;
28)
branche de continuation en deux phases; voisin de continuation en deux phases;
29)
application repartie;
30)
Periode de doute;
31)
durabilite;
32)
etat final;
33)
graphe;
34)
decision heuristique;
35)
etat initial;
36)
intermediaire;
37)
etat intermediaire;
38)
branche interrompue;
39)
isolation;
40)
feuille;
41)
procedures d ’engagement local;
42)
procedures de retour-arriere local;
43)
Situation heuristique mixte; Situation mixte;
44)
voisin (d ’un noeud dans un graphe);
45)
voisinage (d ’un noeud);
46)
nceud; noeud CCR;
47)
mappage particulier; mappage autre que le mappage de rkfkence;
48)
ordre d ’engagement d ’une branche d ’action atomique; ordre d ’engagement;
49)
Phase 1;
50)
Phase II;
51)
retour-arriere presume;
52)
signalisation “pret ”;
53)
etat “pret pour l ’engagement ”;
54)
retablissement d ’une branche d ’action atomique; retablissement;
55)
responsabilite de retablissement pour une branche d ’action atomique; responsabilit6 de rktablissement;
56)
mappage de reference;
57)
specification faisant rkfkrence;
58)
voisinage demandeur;
59)
demandeur;
60)
retour-arriere d ’une branche d ’action atomique; retour-arriere;
61)
racine;
62)
subordonne d ’un noeud;
63)
subordonne d ’un arc;
64)
sous-arbre subordonne;
65)
sous-arbre (d ’un nceud);
66)
superieur d ’un nceud (dans un arbre avec racine);
67)
superieur d ’un arc (dans un arbre avec racine);
68)
arbre;
69)
element ASE utilisateur.
70)
4 Rec. UIT-T X.852 (1997 F)
---------------------- Page: 10 ----------------------
PSO/CEI 9805-1 : 1998 (F)
38 . IMinitions du protocole CCR
Pour les besoins de la presente Recommandation 1 Norme internationale, les definitions suivantes sont applicables.
3.8.1 automate protocolaire CCR accepteur: machine protl cole CCR dont l ’utilisateur de Service est l ’accepteur,
pour un Service CCR particulier.
3.8.2 automate protocolaire CCR: machine protocole de l ’e ement de Service d ’application CCR specifiee dans la
presente Recommandation 1 Norme internationale.
protocole CCR dont l ’utilisateur de Service est le
3.
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.