1、I STD-ITU-T RECMN XmBbZ-ENGL 1997 4862593 0662476 O96 W INTERNATIONAL TELECOMMUNICATION UNION ITUmT TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU X.862 (1 2/97) SERIES X: DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS OS1 applications - Transaction processing Open Systems Interconnection - Distribut
2、ed transaction processing: Protocol specification IT U -T Recommend at ion X. 862 (Previously CCITT Recommendation) STD-ITU-T RECMN X-BbZ-ENGL 1997 48h2591 Obh2477 T22 ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS UBLIC DATA NETWORKS Services and facilities Interfaces T
3、ransmission, signalling and switching Network aspects Maintenance Administrative arrangements )PEN SYSTEMS INTERCONNECTION Model and notation Service definitions Connection-mode protocol specifications Connectionless-mode protocol specifications PICS proformas Protocol Identification Security Protoc
4、ols Layer Managed Objects Conformance testing General Satellite data transmission systems MESSAGE HANDLING SYSTEMS DIRECTORY OS1 NETWORKING AND SYSTEM ASPECTS NTERWORKING BETWEEN NETWORKS Networking Efficiency Quality of service Naming, Addressing and Registration Abstract Syntax Notation One (ASN.
5、1) OS1 MANAGEMENT Systems Management framework and architecture Management Communication Service and Protocol Structure of Management Information Management functions and ODMA functions SECURITY OS1 APPLICATIONS x. 1-x.19 X.20-X.49 X.50-X.89 X.90-X. 149 X. 150-X. 179 X.180-X.199 X.200-X.209 X.210-X.
6、219 X.220-X.229 X.230-X.239 X.240-X.259 X.260-X.269 X.270-X.279 X.280-X.289 X.290-X.299 x.300-x.349 . x.350-x.399 x.400-x.499 x.500-x.599 X. 600-X.629 X.630-X.639 X.640-X.649 X.650-X.679 X.680-X.699 X.700-X.709 X.710-X.7 19 X.720-X.729 X.730-X.799 X.800-X.849 Commitment, Concurrency and Recovery X.8
7、50-X.859 Transaction processing xa60-xm Remote operations OPEN DISTRIBUTED PROCESSING X.880-X. 899 x.900-x.999 r For further details, please refer to ITU-T List of Recommendations. ITU-T RECOMMENDATION X.862 OPEN SYSTEMS INTERCONNECTION - DISTRIBUTED TRANSACTION PROCESSING: PROTOCOL SPECIFICATION Su
8、mmary This Recommendation describes the application layer protocol for OS1 distributed transaction processing. The protocol provides a means to group a set of actions called a . It also provides a framework for coordination of a transaction across multiple transaction processing resources in separat
9、e open systems. Source ITU-T Recommendation X.862 was prepared by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 12th of December 1997. Recommendation X.862 (12/97) i - FOREWORD ITU (International Telecommunication Union) is the United Nations Speci
10、alized Agency in the field of telecommuni- cations. The IT Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The IT-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunicati
11、ons on a worldwide basis. The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the IT-T Study Groups which, in their tum, produce Recommendations on these topics. The approval of Recommendations by the Members of the ITU-T i
12、s covered by the procedure laid down in WTSC Resolution No. I. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with IS0 and IEC. NOTE In this Recommendation, the expression “Administration“ is used for concisenes
13、s to indicate both a telecommunication administration and a recognized operating agency. INTELLECTUAL PROPERTY RIGHTS The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no p
14、osition concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property
15、, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database. O ITU 1998 All rights reserved. No part of this publication may
16、be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU. 11 Recommendation X.862 (12/97) STD-ITU-T RECMN XmBbZ-ENGL 1997 = 48b2591 Ob62480 517 m CONTENTS Instroduction 1 Scope 2 Normative refere
17、nces Identical Recommendations I International Standards 3 Definitions 4 Abbreviations . 5 Conventions 6 Model of the PM . 6.1 Overview . Principles of association usage Functional unit capabilities and selection 2.1 2.2 Paired Recommendations I International Standards equivalent in technical conten
18、t 6.1. I 6.1.2 6.1.3 Dialogue establishment . 6.1.4 Soliciting dialogue establishment 6.1.5 Channel management 6.1.6 Channel utilization 6.1.7 Token control 6.1.8 . Collisions of ready signals 6.1 . 1 O OS1 TP Protocol structure . 6.2.1 Components of the PM 7 Execution rules . 6.1.9 Concatenationhep
19、aration Embedding 6.2 7.1 7.2 7.3 7.4 7.5 Operation of the PM 7.1.1 7.1.2 Input events to the PM 7.1.3 Action sequences . 7.1.4 SACF queuing . 7.1.5 Input event blocking at the PSAP 7.1.6 PM error conditions . Procedure rules Definitions . Log records used by the PM . 7.4.1 Log-ready record . 7.4.3
20、Log-heuristic record 7.4.4 Log-damage record . Recovery-context-handle Relationship of SAO(s) to MACF (s) 7.4.2 Log-commit record 8 Use of ACSE. CCR and the Presentation Layer . 8.1 Introduction . 8.2 Use of ACSE Service primitives . 8.2.1 Use of the A-ASSOCIATE parameters . 8.2.2 8.2.3 Use of CCR S
21、ervice primitives . Use ofthe Presentation Layer . 8.4.1 Use of Presentation Service primitives 8.4.2 Use of the A-RELEASE parameters . Use of the A-ABORT and A-P-ABORT parameters 8.3 8.4 Mapping of C-ROLLBACK-Ri to Presentation Recommendation X862 (12/97) Page XV 1 1 1 2 2 3 3 3 3 4 4 5 5 6 6 6 7 8
22、 8 8 8 11 11 11 11 11 12 12 13 13 15 23 23 23 24 24 24 24 24 24 25 26 26 26 28 28 29 . 111 Page 8.5 Association management. 29 8.5.1 Introduction . 29 8.5.2 Associatioddialogue compatibility . 29 8.5.3 Associatiodchannel compatibility 29 8.5.4 Initiating an association establishment 29 8.5.5 Receivi
23、ng an association establishment indication 31 8.5.6 Responding to association establishment 32 8.5.7 Receiving confirmation of association establishment . 33 8.5.8 Initiating an association release . 34 8.5.9 Aborting an association . 34 8.5.10 Initiating a dialogue solicitation 34 8.5.1 1 Respondin
24、g to a dialogue solicitation 34 8.5.12 Receiving a rejection of a dialogue solicitation . 35 8.5.13 Successful dialogue solicitation 35 9 TP-ASE description 35 9.1 Introduction . 35 9.2 AF Service Definition . 35 9.2.1 AF-BEGIN-DIALOGUE 35 9.2.2 AF-BID . 36 9.2.3 AF-END-DIALOGUE 36 9.2.4 AF-U-ERROR
25、. 36 9.2.5 AF-ABORT . 37 9.2.6 AF-GRANT-CONTROL . 37 9.2.7 . AF-REQUEST-CONTROL 37 9.2.8 AF-HANDSHAKE 37 9.2.9 AF-HANDSHAKE-AND-GRANT-CONTROL 37 9.2.10 AF-DEFER 37 9.2.1 1 AF-BEGIN-TRANSACTION . : . 37 9.2.12 AF-PREPARE . 37 9.2.13 AF-REPORT . 38 9.2.14 AF-ABORT-AND-REPORT 38 9.2.15 AF-NOCHANGE 38 9
26、.2.16 AF-EARLY-EXIT . 38 9.2.17 AF-RECOVER 38 9.2.18 AF-TOKEN-GIVE 38 9.2.19 AF-TOKEN-PLEASE . 38 9.2.20 AF-SOLICIT-DIALOGUE . 38 AF-Services and TP APDUs: Parameters and field Mappings . 39 9.3.1 AF-BEGIN-DIALOGUE request/indicatiodresponse/confirm, TP-BEGIN- : DIALOGUE-RV-RC APDU . 39 9.3 9.3.2 AF
27、-BID request/indication/response/confirm, TP-BID-Ri/-RC APDU 40 9.3.3 AF-END-DIALOGUE request/indication/response/confirm - TP-END-DIALOGUE- RI/-RC APDU . 40 9.3.5 AF-ABORT requesthndication - TP-ABORT-RI APDU . 43 9.3.7 AF-REQUEST-CONTROL requestindication - TP-REQUEST-CONTROL-Rl APDU 44 9.3.8 AF-H
28、ANDSHAKE request/indication/response/confirm - TP-HANDSHAKE-RV-RC APDU 44 9.3.9 AF-HANDSHAKE-AND-GRANT-CONTROL requesthndicatiodresponseconfim - 9.3.1 O AF-BEGIN-TRANSACTION requesthndication - TP-BEGIN-TRANSACTION-RI APDU 45 9.3.1 1 AF-DEFER requesthdication - TP-DEFER-Ri APDU . 45 9.3.12 AF-PREPAR
29、E requestindication - TP-PREPARE-RI APDU 46 9.3.4 AF-U-ERROR request/indicatiodresponse/confirm - TP-U-ERROR-RI/-RC APDU 43 9.3.6 AF-GRANT-CONTROL requestindication - TP-GRANT-CONTROL-RI APDU 44 TP-HANDSHAKE-AND-GRANT-CONTROL-RV-RC APDU 44 iv Recommendation X.862 (12/97) Page 9.3.13 9.3.15 9.3.16 AF
30、-EARLY-EXIT request/indication/response/codirm - TP-EARLY-EXIT-RI/-RC APDU 9.3.17 9.3.18 9.3.19 AF-REPORT requesdindication - TP-REPORT-RI APDU . 9.3.14 AF-ABORT-AND-REPORT requesthndication . AF-NOCHANGE requesthdication - TP-NEXT-TID-RI APDU . AF-RECOVER requesthdication - TP-RECOVER-RI APDU . AF-
31、TOKEN-GIVE requesihndication - TP-TOKEN-GIVE-RI APDU . AF-TOKEN-PLEASE requesthndication - TP-TOKEN-PLEASE-RI APDU . 9.3.20 AF-SOLICIT-DIALOGUE request/indication/response/confirm . 9.4 Procedures . 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.4.6 9.4.7 9.4.8 9.4.9 9.4.10 9.4.1 1 9.4.12 9.4.13 9.4.14 9.4.15 9.4.
32、16 9.4.17 9.4.18 9.4.19 9.4.20 9.4.21 9.4.22 9.4.23 9.4.24 9.4.25 9.4.26 9.4.27 9.4.28 9.4.29 9.4.30 9.4.3 1 9.4.32 9.4.33 9.4.34 9.4.35 9.4.36 9.4.37 9.4.38 9.4.39 9.4.40 9.4.41 9.4.42 9.4.43 9.4.44 9.4.45 9.4.46 9.4.47 9.4.48 9.4.49 9.4.50 AF-BEGIN-DIALOGUE request AF-BEGIN-DIALOGUE response . AF-
33、BID request . AF-BID response . AF-END-DIALOGUE request AF-END-DIALOGUE response . AF-U-ERROR request AF-U-ERROR response TP-BEGIN-DIALOGUE-RI TP APDU TP-BEGIN-DIALOGUE-RC TP APDU . TP-BID-RI TP APDU . TP-BID-RC TP APDU TP-END-DIALOGUE-RI TP APDU TP-END-DIALOGUE-RC TP APDU . TP-U-ERROR-RI TP APDU .
34、TP-U-ERROR-RC TP APDU . AF-ABORT request AF-GRANT-CONTROL request TP-ABORT-RI TP APDU . TP-GRANT-CONTROL-RI TP APDU AF-REQUEST-CONTROL request . : AF-HANDSHAKE request . AF-HANDSHAKE response . TP-HANDSHAKE-RC TP APDU AF-HANDSHAKE-AND-GRANT-CONTROL request TP-HANDSHAKE-AND-GRANT-CONTROL-RI TP APDU A
35、F-HANDSHAKE-AND-GRANT-CONTROL response . TP-HANDSHAKE-AND-GRANT-CONTROL-RC TP . AF-DEFER request . TP-DEFER-RI TP APDU . AF-BEGIN-TRANSACTION request C-BEGIN indication AF-PREPARE request C-PREPARE indication AF-REPORT request . AF-ABORT-AND-REPORT request AF-EARLY-EXIT request AF-EARLY-EXIT respons
36、e AF-RECOVER request . C-RECOVER indication . A-ABORT indication C-ROLLBACK indication C-ROLLBACK confirm AF-NOCHANGE request . C-NOCHANGE indication C-NOCHANGE confirm . TP-REQUEST-CONTROL-RI TP APDU TP-HANDSHAKE-FU TP APDU . TP-REPORT-RI TP APDU . TP-ABORT-AND-REPORT-RI TP APDU Recommendation X.86
37、2 (12/97) 46 47 48 49 49 49 50 50 51 51 51 51 51 51 51 51 51 51 51 51 51 51 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 53 53 53 53 53 53 53 53 53 53 53 53 54 54 54 54 54 55 V 1: 9.4.5 1 C-COMMIT indication 9.4.52 C-COMMIT confirm . 9.4.53 C-RECOVER confirm . 9.4.54 P-TOKEN-GIVE (sync-m
38、inor) indication 9.4.55 AF-TOKEN-GIVE request . 9.4.56 P-TOKEN-PLEASE (sync-minor) indication . 9.4.57 AF-TOKEN-PLEASE request 9.4.58 AF-SOLICIT-DIALOGUE request . 9.4.60 AF-SOLICIT-DIALOGUE response 9.4.59 TP-SOLICIT-DIALOGUE-RI TP APDU . 9.4.6 1 TP-SOLICIT-DIALOGUE-RC TP APDU . 9.5 Mapping 1 O SAC
39、F description . 10.1 Introduction . 10.2 SACF states . 10.3 Service definitions for SAF services . 10.3.1 SAF-DETACH-ASSOCIATION request 10.3.2 SAF-ASSOCIATION-LOST indication . 10.3.3 SAF-SOLICIT-DIALOGUE requestindicatiodresponse/confirm . Procedures for SAF primitives 10.4.1 SAF-DETACH-ASSOCIATIO
40、N request 10.4.2 SAF-SOLICIT-DIALOGUE request 10.4.3 SAF-SOLICIT-DIALOGUE response Procedures for TP-ASE, CCR, ACSE, and Presentation Service primitives 10.5.1 AF-BEGIN-DIALOGUE request 10.5.2 AF-BEGIN-DIALOGUE indication . 10.5.3 AF-BEGIN-DIALOGUE response . 10.5.4 AF-BEGIN-DIALOGUE confirm . 10.5.
41、5 AF-BID indication . 10.5.6 AF-BID con firm 10.5.7 AF-END-DIALOGUE request 10.5.8 AF-END-DIALOGUE indication . 10.5.9 AF-END-DIALOGUE confirm . 10.5.10 AF-U-ERROR request 10.5.1 1 AF-U-ERROR indication 10.5.12 AF-U-ERROR confirm . 10.5.13 AF-ABORT request 10.5.14 AF-ABORT (provider, abortRI) indica
42、tion . 10.5.15 AF-ABORT (user, dataRI) indication . 10.5.16 A-ABORT request . 10.5.17 A-RELEASE (Result = affirmative) response 10.5.18 A-P-ABORT indication or A-RELEASE (Result = affirmative) confirm 10.5.19 AF-GRANT-CONTROL request 10.5.20 AF-GRANT-CONTROL indication 10.5.2 1 AF-REQUEST-CONTROL re
43、quest 10.5.22 AF-REQUEST-CONTROL indication . 10.5.23 AF-HANDSHAKE request . 10.5.24 AF-HANDSHAKE indication . 10.5.25 AF-HANDSHAKE confirm 10.5.26 AF-HANDSHAKE-AND-GRANT-CONTROL request 10.5.27 AF-HANDSHAKE-AND-GRANT-CONTROL indication . 10.5 -28 AF-HANDSHAKE-AND-GRANT-CONTROL confirm . 10.5.30 AF-
44、DEFER indication . 10.5.3 1 AF-PREPARE request 10.5.32 AF-PREPARE indication 10.5.33 10.4 10.5 10.5.29 AF-DEFER request . AF-REPORT (commitRC) indication, or M-REPORT (recoverDoneRC) indication . age 55 55 55 55 55 55 55 55 55 55 56 56 57 57 57 58 58 59 59 59 59 60 60 60 60 61 62 62 63 63 64 64 64 6
45、4 64 64 64 65 65 65 65 65 65 65 66 66 66 66 66 66 66 66 67 67 67 67 67 vi Recommendation X.862 (12/97) STDmITU-T RECMN XmbZ-ENGL 1997 E 48b259L Obb2484 Lb2 111 Page 10.5.34 C-BEGIN request or AF-BEGIN-TRANSACTION request 10.5.35 C-BEGIN indication or AF-BEGIN-TRANSACTION indication . 10.5.36 C-BEGIN
46、 confirm . 10.5.37 C-READY indication 10.5.38 C-COMMIT indication or C-COMMIT+C-BEGIN indication . 10.5.39 AF-ABORT (user, commitRi) indication or AF-ABORT (user, commitRC) indication 10.5.40 C-COMMIT confirm . 10.5.4 1 AF-ABORT-AND-REPORT (commitRC) indication 10.5.42 C-ROLLBACK request . 10.5.43 C
47、-ROLLBACK indication 10.5.44 AF-ABORT-AND-REPORT request or AF-REPORT request 10.5.45 AF-ABORT-AND-REPORT (dataRi) indication or AF-REPORT (user, dam) indication . 10.5.46 AF-ABORT (usedprovider, rollbackRI) indication, AF-ABORT-AND-REPORT (rollbaclciti) indication, AF-REPORT (rollbackRI) indication
48、 or AF-EARLY -EXIT indication . 10.5.47 C-ROLLBACK confirm, AF-REPORT (roilbackRC) indication, AF-ABORT (user/provider, rollbackRC) indication or AF-ABORT-AND-REPORT (rollbackRC) indication . 10.5.48 AF-NOCHANGE request or C-NOCHANGE request . 10.5.49 C-NOCHANGE indication or AF-NOCHANGE indication
49、. 10.5.50 C-NOCHANGE confirm . 10.5.5 1 AF-EARLY-EXIT confirm . 10.5.53 . C-RECOVER request or AF-RECOVER request . 10.5.52 AF-RECOVER indication . 10.5.54 C-RECOVER indication . 10.5.55 C-RECOVER confirm . 10.5.56 U-ASE request . 10.5.57 U-ASE indication 10.5.58 AF-TOKEN-GIVE (regular) indication 10.5.59 AF-TOKEN-GIVE (keep) indication 10.5.60 AF-TOKEN-GIVE (two-way-recovery) request . 10.5.6 1 AF-TOKEN-GIVE (two-way-recovery) indication 10.5.62 P-TOKEN-GIVE (sync-minor) indication 10.5.63 AF-TOKEN-PLEASE request 10.5.64 AF-TOKEN-PLEASE indication 10.5.66 AF-SOLIC