ISO IEC 04396-2-2023.docx
INTERNATIONA1.STANDARDISO/IEC4396-2editionFirSt202312Te1.ecommunicationsandinformationexchangebetweensystemsRecursiveinter-networkarchitecture一。四见Onapp1.icationconnectionestab1.ishmentprocedureReferencenumberISO/IEC4396-2:2023(E)COPYRIGHTPROTECTEDDOCUMENT©ISO/1EC2023IUirhM*hedbdi1.iUedotherwiseupdhi.orbmtndH0tf1.t×t'oni(nc4nmpe*Mqnrt<ifp5tcopyp>iat<)nmaytheinternetoranintranet,withoutpriorwrittenpermission.PermissioncanberequestedfromeitherISOattheaddressbe1.oworISO'smemberbodyinthecountryoftherequester.f),WV>fifiHipB1.andonnet8CH-1214Vernier,GenevaPhone:M1.227490111觥ftte:丽丽BQrgPub1.ishedinSwitzer1.andiiiIntroductionVScopeNormativereferencesTermsanddefinitionsOverview1Detai1.edspecification5.1Genera1.25.2 Definitionsoftheprocessstates25.2.1 Genera1.states5.2.3 Respondingsi:I25.3 AHoCaIC.Reques1.submIt25.3.1 Whenuponreceipt5.4 1.1.ocate.Response.de1.iver35.4.1 Wheninvoked35.4.2 uponreceipt1.1.1 Wheninvoked31.1.2 Actionuponreceipt31.1.3 Wheninvoked1.1.4 Actionuponreceipt35.7 A.CONNECTResponse45.7.1 Whenuponreceipt5.8 AeDATA(Optiona1.)4581WhenInVoked45.8.2ActionuponreceiptWheninvoked4Actionuponreceipt41.1.1 1Wheninvoked1.1.2 2Actionuponreceipt55.11 Dea1.1.ocateindication5Whenuponreceipt5.12 A_IJNIT_DATA(optiona1.)i5.12.1 Wheninvoked55.12.2 Actionupontimer5.13.1 ¼rheninvoked55.13.2 Actionuponreceipt5SyntaxofthcPDUs66.1 Genera1.66.2 ASN.1Definition6Po1.icies9AnnexA(informative)1.egacj-encodingru1.esForewordISO(theInternationa1.OrganizationforStandardization)andIEC(theInternationa1.E1.ectrotechnica1.(inb(55io6)S6rnIHGspartHipaits那而UAWHoPhAWMIQtMaiKtandhaftion.StNnctorddUutiiughtechnirbcommitteesestab1.ishedbytherespectiveorganizationtodea1.withparticu1.arfie1.dsoftechnica1.activity.ISOandIECmitteesco1.1.aborateinfie1.dsOfmutua1.interestOtherinternationa1.ornizations,governmenta1.andnon-governmenta1.rin1.iaisonwithISOandIEC,a1.sotakepartintheTheproceduresusedtodeve1.opthisdocumentandthoseintendedforitsfurthermaintenanceAi1.cddc抑IbCdthe1.ndfrcntIS3H招矫也(H*帆rtsK曲加曲;四IarJg多瞅岫助心至酶旬I1.Wnaccordancewiththeeditoria1.ru1.esoftheISO/IECDirectives.Part2(seewww.iso.org/dircctivesorwww.iec.ch/members.experts/refdocs).IU践唯网酬.at1.曲。MjtM但昭bM啸。sft三W>1.躅曲cni给跳因怕困处的川沿国幽脑icab山Iyofanyc1.aimedpatentrightsinrespectthereof.Asofthedateofpub1.icationofthisdocument.ISOandIEChadreceivednoticeof(八)patent(三)whichmayberequiredtoimp1.ementthisdocument.However,俯冽e艇曲曲懈eda四福b1.豳网k2Mgpai赖也闸岬然三M曲籍沫。怖据Inotbehe1.dresponsib1.eforidentifyinganyora1.1.suchpatentrights.AnytradeusedinthisconstitutenameendorsementdocumentisinformationgivenfortheconvenienceofusersanddoesnotPoranexp1.anationofthevo1.untarynatureofstandards,themeaningofISOspecifictermsand邸n*tergan邪断tO)asse悯fti¾4君惴¾V剂tionBa咕唠tdea加明ces1.www.iso.org/iso/foreword.htm).1ntheIEC,seeurww.iec.chunderstanding-standards.瓢尔御ftWsd独网寤腕忧规B!砌然呵加必。您幅赚p啜即隔SyS便ms硕mnS而。/切,A1.istofa1.1.partsintheISO/IEC4396seriescanbefoundontheISOandIECwebsites.t1.f1.ify.fcA1.backcoWp1.ete1.ftftfctbthcs(fbV6hfiSft08加中的rccted½wv4SC¾?tiftfteRhUHJstandardswww.iec.ch/nationa1.-committees.©ISO/IEC2023-A11rightsreservedIntroductionThefunctionsofcreatinganapp1.icationconnectionbetweeninstancesofapp1.icationprocessesareto:exchangeapp1.icationnaminginformation;)optiona1.1.y,authenticateeach;)estab1.ishthesetofobjectstowhichremoteoperationsonthef1.owhaveaccess.ThisdocumentdefinestheCommonApp1.icationConnectionEstab1.ishmentProcedure(CACEP),patternedaftertheAssociationContro1.ServiceE1.ement(CSE)protoco1.CSEwaschosenforthreereasons:Jta1.readyexists;itprovidesa1.1.ofthenecessaryfunctionsandnomore;-itwasdesignedtobeusedrecursive1.y.auhiicationr&¾rftt的WdJF跟KqngingaPPHCa1.ionnamingandcontextinformationandA1.thoughthePrimaryuseofCACEPistocombineitwithcommondistributedapp1.icationprotoco1.帆ABeM¾1.icationdifferentiRF8F三1.i盘概观独懈F%y三1.3*J,口WAiRSW僖络般衽则MPingCCEPestab1.ishmentarounda1.egacyprotoco1.CCEPexchangesnaminginformationandprovidesforanauthenticationpo1.icy.CACEPisaprotoco1.exchangeoveraf1.owthatservestoauthenticateR做W辆邮酬kA削出to小6出射蚂强耻tiongMoc。也?1肥山izeb四4%1.iCation业训庶ions的mt>ninformation,e.g.abstractandencodingru1.es,objectmode1.versions.Inthecaseofrecursiveinternetworkarchitecture(RIN),theapp1.icationprotoco1.isCDAPTe1.ecommunicationsandinformationexchangebetweensystemsRecursiveinter-networkarchitecture一Commonapp1.icationconnectionestab1.ishmentprocedure1 Scopespecification.theInc1.udesavai1.ab1.e.ofCACEP,itsspecification,thesyntaxoftheprotoco1.dataunits2 NormativereferencesconstitutesrequirementS1.ateStcditiondocumcnt.rcferencedrefercnces,(inc1.udingamendments)app1.ies.app1.ies.architecturePart1:Referencemode1.3 Termsanddefinitionsapp1.y.ISOOn1.inebrowsingp1.atform:avai1.ab1.eat4mpst/WWW=4se=wgebp3.1App1.icationNamingInformationapp1.icationname,app1.icationprocessname,app1.icationprocessinstanceid,app1.icationentityid,and4Overviewpo1.icy.WhenAuthenticationpo1.icyappropriateparametersnegativeAeCONNECTauthenticationdeatAPInatDestinat1.onApp1.icat1.onprocessInatanceIdOPTIONA1./destAPNarw?DstInatIonApp1.iCationProcessNameOPTIONA1.,f1.agsF1.agsDEFAU1.T(),InvokeIDInvokeIDOPTIONA1.rSrcAEInstSourceApp1.icat1.onEnt1.tyInstanceIdOPTIONA1.,SrcAENameSourceApp1.icationBntitarneOPTIONA1./SrcAPInstSourceApp1.icationprocessInstanceIdOPTIONA1.,SrcAPNameSourceApp1.icat1.onProcesstmeOPTIONA1.,u三erDataUserDataRequeatRcsponse::-SEQUENCE(absSynta×AbstractSyntaxIDOPTIONA1./deacAE1.nstdestAENarrdestAPInstdeaCAPNanieDeacinat1.onApp1.icat1.onEntityInstanceIdOPTIONA1.rX9tinatIonApp1.icatIonEntityNameOPTIONA1.,DestinationApp1.icat1.onprocessInstance1.dOPTIONA1.,Deacinat1.onApp1.icat1.onProcessNameOPTIONA1.,nagsF1.agsDEFAU1.T,invokeIDInvokeIDOPTIONA1.,res1.tReasonResu1.tReasonOPTIONA1.,resu1.tCACEP-Resu1.t,SrcAEInstSrcAENameSrcAPInstarcAPNameu三erDataUserDataSourceApp1.ica1.ionEnt1.tyInfitanceIciOPTIONA1.,SourceApp1.icationEntityNameOPTIONA1./SourcGApp1.icationprocessInstanceIdOPTIONA1.,SourceApp1.icationProcessNameOPTIONA1.rAbstractSyntaxID:"INTEGERAuthenticationMechanismNanie:=UTFSStringAuthenticationVa1.ue:-OCTETSTRINGDestinationApp1.icationEnt1.tyInstanceId:-CACEP-Str1.ngDestinationApp1.icationEntityName:-CACEP-StringDestinationApp1.icationprocessInstanceId::"CACEP-StringDestinationApp1.icationProcessName:=CACEP-StringF1.ags:-BITSTRING(reserved1.(O)rreserved2(1)romittedforbrevityresrved32(31)I-ThG3。f1.agbitswi1.1.bedefinedbyimp1.ementationsaspo1.icy.InvokeID::-INTEGERReau1.tReason:-CACEP-StringSourceApp1.icationEntity1.n三tance1.d::-CACEP-StringSouzceApp1.1catIonEntityName:-CACEP-SCrir.qSourceApp1.icationprocessInstanceId:=CACEP-StringSourcepp1.icationProce三三Name:-CACEP-Stringversion:-INTEGERUserData::-OCTETSTRINGCACEP-Resu1.t:-INTEGER(success(O).fai1.(-1>osError(-2)卜Notethatthesearenottheon1.ypossib1.eerrorva1.ues.CACEP-String:-UTF8StringEND7Po1.iciesAuthenticationpo1.iciesarethesubjectofotherspecifications.ANU1.1.authenticationpo1.icycanbeusedifnoauthenticationisrequired,withthefo1.1.owingva1.uesforauthMechandau1.hVa1.ue:authMech:PSOC_Authentication_NU1.1.authVa1.ue:notpresentWiththispo1.icytheauthenticationstepdoesnotrequireanyprocessingandisa1.wayspositive.AnnexA(informative)1.egacyencodingru1.es&1.b咏iQnuR016>wconcc<ifiuntgtionapp1.icationsontheconcretesyntaxtouseisafundamenta1.requirementforcommunication.Oncethisisestab1.ished,itbecomespossib1.etodiscussotheraspectsofthecommunication,suchastheversionoftheQ初加SUn1.rf1.薪BE411f蹴andobjectdefinitionsandva1.uesattheapp1.ication1.eve1.ForaCACEPconnection,afterthedatatransferf1.owisestab1.ishedthefirstPDIJsentfromone能Ni砌(theA_C0WI迎闯股蝴础tide姻源峰ShaUre确仇雁Co郦怖Sy肃坡(喇correspondstotheCACEPmessageencodingmethodbeingused.ThisisdonebyencodingIncconcretesyntaxinthefirstbyte(三)ofthemessagesothatitcanbeexaminedbeforemakingthedecisiontouse1.%hY8WECTgMMe杵匕N也嬲战;efiJftWnterPrnaff1.SVfi8nux1.三ge.toencodetheentirePDUasdescribedinthenextparagraph.Afterconnectionestab1.ishment,theapp1.icationsarefreetouseadifferentconcretesyntax,iftheiragreed-toprotoco1.versionsoindicates.源瞰挺姗砥工Rrg牌给泊他施由脸斗邮Ka1.的希咻er姗过跳障邺幽解遗ptance,itreceives(eithertheconcreteorabstractsyntax),orunderstandsitbutrefusestousethatsyntax,itdiscardsthePDUandtheconnectionestab1.ishmentfai1.s.业杪册处则时“N酗或fi4Q¾V蜒融时trt1.(卿a1.u9阴盼bst丽娜限WM础钻:1)inthefirstbyteofthemessage.EncodingtheGPBmessagefie1.dsincanonica1.order,theusua1.behaviourwi1.1.achievethisautomatica1.1.y.TheCACEprotoco1.enginecancheckforthisva1.uetorecognizethat摭般t眼的印见d1.hccan曲6Pc中就处$限4盗ffeffiBfndc屈瞅俄丽由强£曲F凰脑呢蝌sarepossib1.eformu1.tip1.econcretesyntaxestoexistcontemporaneous1.y.即都越mPDUWP鼻温阳MC或阳峨泥版郭雁),0tearcfieis,nuMW胭前Rns,祁依蛔n*heconstraintsontheirva1.ues.Eachofthesehasava1.uewhosemeaningisconsistentacrossPDUtypes,buttheva1.uemayormaynotbere1.evantorpresentinaspecificPDU.Thedec1.arationofthesefie1.ds沛*龊胡瞥徽;3蝙阚轴防gK油歌油阳觥然解性邮物曲fet品做酬近瓶1.epossibi1.itybydefininganintegercorrespondingtoaversionoftheabstractsyntax.臂M岛me翩XNetyPC刑)pK锦卵鱼冕口神。W1"尺涮i三?好及由朋FFO1.M<fi盟府rsec1.ionNotationa1.convention:fie1.dnamesareidentifiersdefinedinaGPB.prototypedec1.aration;fie1.dnamesbeginwitha1.ower-case1.etter,andusecapita1.izationtoindicateembeddedword-concatenationorabbreviations.ThereareveryfewrepresentationsfortypeddatainGPB.TheonesusedinTab1.e,1.are1.istedinthetab1.ekey.toomitpredictab1.efie1.ds,shorteningthePDUs.Whereapp1.icab1.e,thedefau1.tva1.uesforthefie1.dsbe1.owareidentifiedintheprototypedefinitionoftheGPBPDUformat.©ISO/IEC2023-A1.1.rightsreservedTab1.e.1.Fie1.dsinGCEPmessages,summaryFie1.dnameinspecifics*tionGPBt>,peGPBnameDescriptiontions,orreasonforfai1.ure.AHrep1.iesreturnarc一int32:compact1.y-represented,xinedbutusua1.1.ypo*sitiveintegerva1.ueofupto32bitsinprecision,一SIJM32:Acompact1.y-represented.SIgnedintegerva1.ueupto32bitsinprecision.int64:compact1.y-represented,xinedbutuxua1.1.ypositiveintegerva1.ueofupto64hitsinprecision,string:Avariab1.e-1.engthUTF8orpureASCII-codedstring,knou¾-b>tedotbeAriib1.e-1.Higthapftcibxisbutb)xeunkntnnseqencoCACEP,whkhmaynsistofencoded<h11tertnestedobject!,orotherdataMtypeitm-Enrtnmpc<5w11>ifrw11t(5tto5cifsif114arch¼fmre1.dtkdf11X4ififrit<fccr>j11(ev111.)p11t11knk<actf11i4rartKhnuybe1.ow*fesagc"Wi3sdreWdsdscwhcrc.ncstcdrstructuredva1.ue,definedbyaseparateGPBdefinition.ThestructuretypesusedTab1.e.1.(continued)Fie1.dnameinspecified-tionGPBtypeGPBnameDescription(ffCgta加JEC1.fKUAtiktbarth?IenwAB火Ueferkq”也投加一Int32:Acompactiy-represente<1.signedbutusua1.1.y*psitiveintegerva1.ueofupto32bitsinprecision,SM132:Acompact1.y-represented,signedIntegerva1.ueupto32bitsinprecision.int64:Acompact1.yrcpesmte<tsignedhutusu»1.1.y-pi>sitiveintegerva1.ueofuptMbitsinprecision,string:Avariab1.e-1.engthUTF8orpureASCII-codedstring,kn-bytei:toIheAVgbktengchpp1.k翎OfBhtbyteunkwrutqueacetoCACEPMMImyCOeSMofmcodeddiaracters,eth1.otu.orotherki3oftype理mi1.所hmndnrp诩阂。nx<MhmiM饭&七MWArN1.ms3rtmnWfWNriM格NXrrRmehtrnrmtEk11riHcfd即>fcr三haniRdJttbyniossac'1.ju,hcdcs,Fxp½11auO11s1.n,c*urct1.v4'1.cc,c',ne1«y“srpumtrGFn(>e11ntc(11.Tncstructuretypesusrc1.Ireaitncnis:13Dica.z1.egenaormessage11e1ai)ieMMandatoryfie1.d,sha1.1.a1.waysbePrCsVntinamessageofthistype.Fie1.dmandatory,va1.uesha1.1.matchthatOfInvokeIDinassociatedrequestmessage.2ppe24A.3Summanzesindicatedsitua1.ionsrightmostco1.umns.ofthefie1.dsnamedinthe1.eftmostco1.umn-arcThisfie1.disaInTab1.eA.2fthepresenceorabsenceofafie1.dinaparticu1.arPDUtypeisdefinedbyoneofthefo1.1.owingFie1.dnameinspecifica>tionGPBtypeGPBnameDescription(b1.ank)Notpresent.)resenceisconsidM¾j蹄agfM押山仲侬曲叫咏CSIrtfcrWedHfaT1.Ftherab1.einthePDUSInemeUnaerWn1.C1.eacn一int32:Acompact1.yrcprcscntc<1.signedbutusua1.1.y-positiveintegerva1.ueofupto32bitsinprecision,一sint32:Acompactiy-rcprcscntcd,signedintegerva1.ueupto32bitsinprcsion.一int64:Acompact1.y-representedsignedbutusua1.1.ypsitiveintegerva1.ueofupto64bitsInprecision,string;Avariab1.e-1.engthUTF8orpureASC1.bcodedstring,krwn-bytej:tnthrvarabkn5wpprat>nns皿doCCEP.uid>11uycon<Xofwx!cdciianirten,11retfdobts,orotherdataoftype琼OtIe-EH1.irNK<5U*5喇m三H<f11regshcad必Mttd1.rU1.KIaMtti«MWtG纸hmf吗ERkfH标Wh1.H"加ebSymbo1.Exp1.anationTab1.eA.3Messagefie1.dsA1.UN1.T1.DMTA产DATA>1Rm1.EASE1.R>IRE1.EASE>8.NNECTiR>CONNECTFie1.dname/MessageabsSyntaxMMMauthMechversionMMAAAMuserDtaMMICS35.100.30