1、B CReference numberISO/IEC 9805-1:1998(E)Information technology Open SystemsInterconnection Protocol for theCommitment, Concurrency and Recoveryservice element: Protocol specificationTechnologies de linformation Interconnexion de systmes ouverts(OSI) Protocole pour llment de service dengagement, dec
2、oncomitance et de rtablissement: Spcification du protocoleNational Standard of CanadaCAN/CSA-ISO/IEC 9805-1:04(ISO/IEC 9805-1:1998)International Standard ISO/IEC 9805-1:1998 (third edition, 1998-12-15) has been adopted withoutmodification (IDT) as CSA Standard CAN/CSA-ISO/IEC 9805-1:04, which has be
3、en approved as a NationalStandard of Canada by the Standards Council of Canada.ISBN 1-55397-812-9 December 2004The Canadian Standards Association (CSA), under whose auspices this National Standard has been produced, was chartered in 1919 and accredited by the Standards Council of Canada to the Natio
4、nal Standards system in 1973. It is a not-for-profit, nonstatutory, voluntary membership association engaged in standards development and certification activities. CSA standards reflect a national consensus of producers and users including manufacturers, consumers, retailers, unions and professional
5、 organizations, and governmental agencies. The standards are used widely by industry and commerce and often adopted by municipal, provincial, and federal governments in their regulations, particularly in the fields of health, safety, building and construction, and the environment. Individuals, compa
6、nies, and associations across Canada indicate their support for CSAs standards development by volunteering their time and skills to CSA Committee work and supporting the Associations objectives through sustaining memberships. The more than 7000 committee volunteers and the 2000 sustaining membership
7、s together form CSAs total membership from which its Directors are chosen. Sustaining memberships represent a major source of income for CSAs standards development activities. The Association offers certification and testing services in support of and as an extension to its standards development act
8、ivities. To ensure the integrity of its certification process, the Association regularly and continually audits and inspects products that bear the CSA Mark. In addition to its head office and laboratory complex in Toronto, CSA has regional branch offices in major centres across Canada and inspectio
9、n and testing agencies in eight countries. Since 1919, the Association has developed the necessary expertise to meet its corporate mission: CSA is an independent service organization whose mission is to provide an open and effective forum for activities facilitating the exchange of goods and service
10、s through the use of standards, certification and related services to meet national and international needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaThe Standards Council of Canada is the coordinatin
11、g body of the National Standards system, a federation of independent, autonomous organizations working towards the further development and improvement of voluntary standardization in the national interest. The principal objects of the Council are to foster and promote voluntary standardization as a
12、means of advancing the national economy, benefiting the health, safety, and welfare of the public, assisting and protecting the consumer, facilitating domestic and international trade, and furthering international cooperation in the field of standards. A National Standard of Canada is a standard whi
13、ch has been approved by the Standards Council of Canada and one which reflects a reasonable agreement among the views of a number of capable individuals whose collective interests provide to the greatest practicable extent a balance of representation of producers, users, consumers, and others with r
14、elevant interests, as may be appropriate to the subject in hand. It normally is a standard which is capable of making a significant and timely contribution to the national interest. Approval of a standard as a National Standard of Canada indicates that a standard conforms to the criteria and procedu
15、res established by the Standards Council of Canada. Approval does not refer to the technical content of the standard; this remains the continuing responsibility of the accredited standards development organization. Those who have a need to apply standards are encouraged to use National Standards of
16、Canada whenever practicable. These standards are subject to periodic review; therefore, users are cautioned to obtain the latest edition from the organization preparing the standard.The responsibility for approving National Standards of Canada rests with theStandards Council of Canada270 Albert Stre
17、et, Suite 200Ottawa, Ontario, K1P 6N7CanadaCette Norme nationale du Canada est offerte en anglais et en franais.Although the intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their
18、 particular purpose.Registered trade-mark of Canadian Standards AssociationCAN/CSA-ISO/IEC 9805-1:04Information technology Open Systems Interconnection Protocol for theCommitment, Concurrency and Recovery service element: Protocol specificationDecember 2004 Canadian Standards Association CSA/1CAN/CS
19、A-ISO/IEC 9805-1:04Information technology Open Systems Interconnection Protocol for the Commitment, Concurrency and Recovery service element: Protocol specificationCSA PrefaceStandards development within the Information Technology sector is harmonized with international standards development. Throug
20、h the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadi
21、an National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the Strategic Ste
22、ering Committee on Information Technology and deemed acceptable for use in Canada. (A committee membership list is available on request from the CSA Project Manager.) From time to time, ISO/IEC may publish addenda, corrigenda, etc. The CSA TCIT will review these documents for approval and publicatio
23、n. For a listing, refer to the CSA Information Products catalogue or CSA Info Update or contact a CSA Sales representative. This Standard has been formally approved as a National Standard of Canada by the Standards Council of Canada.December 2004 Canadian Standards Association 2004All rights reserve
24、d. No part of this publication may be reproduced in any form whatsoever without the prior permission ofthe publisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text, they should be interpreted as “this National Standard of Canada”.Inqu
25、iries regarding this National Standard of Canada should be addressed toCanadian Standards Association5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N61-800-463-6727 416-747-4044www.csa.caB CReference numberISO/IEC 9805-1:1998(E)INTERNATIONALSTANDARDISO/IEC9805-1Third edition1998-12-
26、15Information technology Open SystemsInterconnection Protocol for theCommitment, Concurrency and Recoveryservice element: Protocol specificationTechnologies de linformation Interconnexion de systmes ouverts(OSI) Protocole pour llment de service dengagement, deconcomitance et de rtablissement: Spcifi
27、cation du protocoleISO/IEC 9805-1:1998(E) ISO/IEC 1998All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic ormechanical, including photocopying and microfilm, without permission in writing from the publishe
28、r.ISO/IEC Copyright Office Case postale 56 CH-1211 Genve 20 SwitzerlandiiContents Page1 Scope 12 Normative references . 12.1 Identical Recommendations | International Standards 13 Definitions 23.1 Reference model definitions . 23.2 Naming and addressing definitions. 23.3 Service conventions definiti
29、ons 33.4 Presentation service definitions 33.5 ACSE service definitions 33.6 Application Layer Structure definitions . 33.7 CCR service definitions 33.8 CCR protocol specification definitions. 54 Abbreviations. 54.1 Data units 54.2 Types of application-protocol-data-units 54.3 Other abbreviations. 5
30、5 Conventions . 66 Overview of the CCR protocol 66.1 Service support . 66.2 Constraints on ACSE services 66.3 Use of the presentation service . 76.4 Relationship to the session-service and the transport-service. 76.5 Operation of the CCRPM . 86.6 Rules of extensibility 87 Elements of procedures 87.1
31、 Initialization procedure. 97.2 Begin branch procedure 117.3 Prepare procedure. 147.4 Signal readiness procedure . 157.5 Order commitment 167.6 Rollback procedure. 187.7 No-change completion procedure. 207.8 Cancel procedure 227.9 Branch recovery procedure. 237.10 Order commitment and begin branch p
32、rocedure 267.11 Error procedure. 278 CCRPM state table. 278.1 General 27 ISO/IEC ISO/IEC 9805-1:1998(E)iii8.2 Incoming events 288.3 Outgoing events. 288.4 Specific actions 298.5 Predicates. 298.6 Enablements 298.7 Variables 298.8 Notation. 298.9 Conventions. 308.10 Actions to be taken by the CCRPM.
33、308.11 Changes to atomic action data. 318.12 Changes to bound data 319 Reference mapping to the ACSE and presentation services . 429.1 Initialize. 429.2 Begin branch . 439.3 Prepare. 449.4 Signal readiness. 449.5 Order commitment 449.6 Rollback 459.7 No-change completion 459.8 Cancel 459.9 Branch re
34、covery 459.10 Order commitment and begin branch procedure.4510 Concatenations and mappings 4610.1 Mapping precedence 4610.2 Allowable concatenations 4611 Precedence 4712 Conformance 4712.1 Statement requirements . 4712.2 Static conformance requirements 4812.3 Presentation transfer syntax. 4812.4 Bou
35、nd data and atomic action data 4812.5 Dynamic conformance requirements. 48Annex A Definition of CCR data types 49A.1 Information object names 49A.2 Datatype definitions for CCR Protocol . 49Annex B Using the CCR ASE in combination with other ASEs 53B.1 Introduction . 53B.2 Service primitives 53B.3 C
36、onformance . 53B.4 CCR events 53B.5 Purge and flow control 54B.6 Delimitation of atomic actions 54B.7 Named mapping variations 54ISO/IEC 9805-1:1998(E) ISO/IECivForewordISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) formthe specialize
37、d system for worldwide standardization. National bodies that are members of ISO or IEC participate in thedevelopment of International Standards through technical committees established by the respective organization to dealwith particular fields of technical activity. ISO and IEC technical committee
38、s collaborate in fields of mutual interest.Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in thework.In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. DraftInternational
39、Standards adopted by the joint technical committee are circulated to national bodies for voting. Publicationas 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 JT
40、C 1, Informationtechnology, Subcommittee SC 33, Distributed application services, in collaboration with ITU-T. The identical text ispublished 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 980
41、5 consists of the following parts, under the general title Information technology Open SystemsInterconnection Protocol for the Commitment, Concurrency and Recovery service element: Part 1: Protocol specification Part 2: Protocol Implementation Conformance Statement (PICS) proformaAnnexes A and B for
42、m an integral part of this part of ISO/IEC 9805.v,QWURGXFWLRQThis Recommendation | International Standard is one of a set of Recommendations | International Standards produced tofacilitate the interconnection of information processing systems. It is related to other Recommendation | InternationalSta
43、ndards 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 layersof specification, each of manageable size.The goal of Open Systems Interc
44、onnection is to allow, with a minimum of technical agreement outside theinterconnection standards, the interconnection of information processing systems: from different manufacturers; under different managements; of different levels of complexity; and of different technologies.This Recommendation |
45、International Standard specifies the protocol for the application-service-element forCommitment, Concurrency, and Recovery (CCR). These services are intended to be applicable to a wide range ofapplication-process communication requirements.This Recommendation | International Standard specifies CCR P
46、rotocol Version 2. The 1990 edition of ISO/IEC 9805specified CCR protocol Version 1. The 1993/1994 editions of this Recommendation | International Standard specifiedboth CCR protocol Version 1 and CCR protocol Version 2, for the static commitment functional unit only.The CCR protocol specification c
47、onsists 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 CCRservice-user when CCR APDUs are received and for the sen
48、ding of CCR APDUs when CCR servicerequest and indication primitives are received from the CCR service-user;c) the CCR protocol machine specified in terms of a state table; andd) the presentation services (see ITU-T Rec. X.216 | ISO/IEC 8822) used for sending and receiving CCRAPDUs.The CCR protocol s
49、hares 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 tothis 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 waythat is not compatible with the use of the presentation service by CCR as specified in the body of thi