《ISO IEC 04396-3-2023.docx》由会员分享,可在线阅读,更多相关《ISO IEC 04396-3-2023.docx(18页珍藏版)》请在课桌文档上搜索。
1、INTERNATIONA1.STANDARDISO/IEC4396-3editionFirSt202312Te1.ecommunicationsandinformationexchangebetweensystemsRecursiveinter-networkarchitecture一。断阴Ondistributedapp1.icationprotoco1.Te1.ecommunicationsetGchanged,inbrmationentresystemesArchitecturerecursiveinterrdseauxPartie3:Protoco1.epour1.esapp1.ica
2、tionsdistributesCDAPReferencenumberISO/IEC4396-3:2023(E)COPYRIGHTPROTECTEDDOCUMENTISO/1EC2023IUirhM*hedbdi1.iUedotherwiseupdhi.or啪UIBndttaeDmkfifiU81.andonnet8CH-1214Vernier,GenevaPhone:M1.22749O1.11觥ftte:丽丽BQrgPub1.ishedinSwitzer1.andISO/IEC2023-A1.1.tightsreservedISO(theInternationa1.Organizationf
3、orStandardization)andIEC(theInternationa1.E1.ectrotechnica1.membersofISOtheparticipateintheforwor1.dwideInternationa1.Nationa1.bodiesarecommitteesestab1.ishedbytherespectiveorganizationtodea1.withparticu1.arHo1.dsoftechnica1.activity.ISOandIECmitteesco1.1.aborateinfie1.dsofmutua1.interest.Otherinter
4、nationa1.work.Theproceduresusedtodeve1.opthisdocumentandthoseintendedforitsfurthermaintenanceareforthetypesofdocument1.Inbenoted,thedifferentwascriteriaaccordancewiththeeditoria1.ru1.esoftheISO/IECDirectives,Part2(seewww.iso.org/directivesorwww.iec.ch/members-experts/refdocs).theuseof(八)drawISOtothe
5、takenothatconcerningtheofthisva1.idityormayinvo1.veofanyc1.aimedpatentrightsinrespectthereof.Asofthedateofpub1.icationofthisdocument.ISOandIEChadreceivednoticeof(八)patent(三)whichmayberequiredtoimp1.ementthisdocument.However,fromthepatentdatabasethatatmaytheandinformation,whichISObeIECsha1.1.notbehe1
6、.dresponsib1.eforidentifyinganyora1.1.suchpatentrights.AnytradeusedinthisForanexp1.anationofthevo1.untarynatureofstandards,themeaningofISOspecifictermsandtheWor1.dTradeconformityprincip1.esintheTechnica1.aboutISOs(TBT)towww.iso.org/iso/foreword.htm1.IntheIECrseewwr.iec.chunderstanding-standards.This
7、document6preparedbyJointnrfechnica1.exchange1.SOIECJTC1,.A1.istofa1.1.partsintheISO/IEC4396seriescanbefoundontheISOandIECwebsites.AnyAorIistingofthisbodiescanbefoundatusersnationa1.www.iec.ch/nationa1.-committees.IntroductionThecommondistributedapp1.icationprotoco1.(CDAP)isusedbycommunicatingrecursi
8、veinternetworkRnimareIhe伸加用CoIaPP1.mRgtoesdnngmpjHm丽OmsMEicthedotOandRrffif1.intWSmotttaacamgDARionf1.owtoexchangeread/write,Start/stop,andcrcate/de1.ctemethodinvocationsonremoteobjects.ThesemanticsofthoseobjectsandoperationsareopaquetotheCDPprotoco1.itse1.f.BecauseCDP洛艇te金盹四眼SWithCa帽监胰忸弹katio糊奸翻榴料麻
9、岛丫阊ne四柚娜?rm科睨曲U1.rebyapp1.ications,anspecifica1.1.ybyinter-processcommunication(IPC)Processes,whicharespecia1.izedapp1.icationsthatcooperatetocreateaDistributedIPCFaci1.ity(DIF)thatprovidesnetworktransporttoOtherapp1.ications.Te1.ecommunicationsandinformationexchangebetweensystemsRecursiveinter-netw
10、orkarchitecture一Commondistributedapp1.icationprotoco1.1 Scopeapp1.icationsdistributedapp1.icationswithseria1.izationcommunicationsinput/outputobjectoperations.ratherCDAPthanprovidesspecia1.izedprotoco1.s.anoverviewofCDAP;adescriptionofpo1.icies,inthespecificsenseintroducedinthetext;2 Normativerefere
11、ncesconstitutesrequirements1.atesteditiondocument.referencedreferencesinc1.udingamendrnents)app1.ies.app1.ies.NetworkArchitecturePart1:RINAReferenceMode1.3 Termsanddefinitions叩p1.y.ISOOn1.inebrowsingp1.atform:avai1.ab1.eat4UpweFg0bp3.1app1.icationobjectmode1.5.10CDAPmessage/methodTtpes5.10.1 Objectc
12、reation:CREATE(.R),DE1.ETEQR)CREATEandde1.etemessagesareusedtocreatenewobjectsandtode1.eteexistingobjectsfromthe叩PHeaHon.ObieCtreferencedcrkatemessagemessageisOthenviseattemptcreatefoiU/orObf1.D,1.11parftfPOtrWjf1.iQBOBJCREATEJobjectcreationpo1.icy.OthenvisertheoperationWii1.Theobjectc1.assofthecrea
13、tedobjectisdeterminedbythecontentsofthemessage,and/ortheobjects崎谶edpaWt,vaR电qeined(0asstS5fhWE3P%q由ftHWb1QftP1.yf*Pade(FKFAffiationinherentinitsencodingintheconcretesyntaxofthemessage)areacceptab1.etotherecipientCREATEobjectmethodand/oritsparent,thenewobjectwi1.1.beassignedaninitia1.va1.uebasedonitJ
14、fnoBuecrationBWit%口,thVb坦两棉舒限W依故砧忸朋麻腌initia1.va1.ueifso-specifiedintheIfacreateaddressesanexistingobject,theobjectcreationpo1.icydetermineswhethertheoperationisMra醯钳鹿1.娜A1.三湎Pe梆erationOn网icy践istin撕加幅躺旋(angtw的郦帆邮twriteinthe1.attercasechangeitsva1.ue.瞅隘歌曲H妪棚曲ectmode1.ssha1.r三2嵌魄的酰夕而蹈偏犯蹄蜚斓destfi出ns诲ft玳
15、即thecreatemessagebutcannotbeusedforthenewobjectforanyreason,theoperationwi1.1.rai1.IfnoObjIDwasprovided,onemaybeassignedinaccordancewiththeIPo1.CDAP-OBJ-OBJCREATEpo1.icyandmaybereturnedintheCREBTjRrep1.ya1.ongwithasuccessresu1.t.ObjeetSmaybecreatedanddestroyedbyanapp1.icationatwi1.1.intheapp1.icatio
16、nsownRIB,butifanobjectwhoseObjIDhasbeensharedduringanACwiththeappositeapp1.icationisdestroyed,otherthantat施1.ETEoperationbytheapposite,thatObjIDva1.uesha1.1.notbereusedforadifferentobjectduringCDAPdoesnotspecifyhowanewobjectistobefittedintoanyhierarchythatmightbepresentin物限改nde期廉蠹电也中胡蛊耳fa曲快幅掰%耶艘而胭肺褪
17、d,p81.时脾姗ObjNametoidentifyacontainingnode/Parent,or6yusingtheObjNameParentand/orObj1.DParentfie1.ds.加阳*bebede1.etedfoHH碘佻储mI三御禺Rrefe商hg郦碱醴Wfiesu1.Y琳1储3ned(ifrequested).Iftheobjecthasbeende1.eted,aDE1.ETE.Rrep1.ywithasuccessretmva1.uewi1.1.bereturned(ifarep1.yisrequested).5.10.2 ObjectRead:READQR),CA
18、NCE1.READJR)5.10.2.1 Genera1.Anapp1.icationcanfetchthecurrentva1.ueofanobjectusingareadoperation.Ifthcspecifiedobjectefdmsjedd1.titih4ce1.Da1.ueiBtbcuhrnessagncaRtdo,andtheti1.uobjcthBMOiittcdbtahttVb1.udcKatedorreadbutarep1.yisrequested,thenaread?,messagecontainingafai1.ureresu1.tisreturned.IfJfnot
19、gc1.ft霏玲揖秒Itj姗岐*啷&p鞘孤席礼魏野8斡联却根留府而散觊照后岳Invoke1.Dwi1.1.CDAPdoesnotdefinethesemanticsOfinc1.udinganObjVa1.ueinareadoperation,butitisa1.1.owed.Thedefau1.tistoignoreit(butanobjectcantreatitasanerrororimp1.ementanoperationusingit.e.g.20ISO/IEC2023-A1.1.rightsreserveddeneddesiredobjectunder1.yingtree-struc
20、turednamenotspacetreestructured,pathObjNamethestring7b,Uefau1.U8iMtftithetie明WV阚4加山监SW处UrCUi1.嗅淤Ihirt)P僦熊仲他蒯依Urservebe1.owandmajorminor,and,fixresidinginthenext-higherto1.ow-orderbytes,respective1.y.25Iftheextensionbyteva1.ueisuponathetheAEs.Theinitia1.va1.ueforthe,major,*minorrand,fixfie1.dsiszero.
21、Themostsignicantfie1.dinwhichchangeofobjectmode1.A1.1.hasbeenfie1.dsisreturnedtozerowhenanyachangeofthatisincremented.AEssha1.1.ACwithawithany,major,thannotownbyifanmaychoosetowith1.owerminor“va1.uethanitsownmaximumva1.ueitsha1.1.acceptbehaviorsconsistentwiththatear1.ierversion.Thispo1.icydescribesh
22、owthesetofOb)NamesObj1.Dswithintheovera1.1.ObjectMode1.tobemadeAE)rortothisACisoverRIB.A1.1.objectsintheRIBarepotentia1.1.yvisib1.e,butattemptstoaccessaspecificobjectwi1.1.generatean*objectnotsomeifthesti1.1.bedoesnothavethemethodinvokeanye.g.ifofthedoesnotimp1.ementaspecificrequestedmethodorifthere
23、questordoesnothavesufficientprivi1.egefortherequestedoperation.Thenamingpo1.icyhassevera1.parts:theused;b)thesyntaxofthenamesofobjects,ifdifferent;A1.1.ofthesesha1.1.bespecified.A1.1.objectshaveanon-nu1.1.name,asdescribedinthesyntaxbe1.ow.ObjNamefie1.dsinmessagesaretotheinawaythatThepresentsaR1.Bmay
24、ormaybethatdefinesthebutthethroughtreepresentsthatappearancebyitssyntax.The,*(hex2F)characterisusedtoseparateparentnodenamesfromchi1.drennodenames.ItisastonamingObjeCtUSedcreateparentnodesobjectsofparentnodes1.eadingtothena1.(rightmost)chi1.dnameintheObjName1.inadditiontothatrightmostchi1.dname,uniq
25、ue1.yidentityISOIEC2023-A1.1.rightsreserved6.5.6.2Defau1.tauthenticationandspecificpropertiestoofbethecreated.describedbyotherpo1.icies,andrestrictionsimposedbyObjectC1.assmayconcreteprovide1.exp!icit1.ydocumentedObjectC1.assfie1.dthatimp1.icit1.y1.nbythetheC1.efini1.ionsprovidedva1.ueCREATEprovided
26、inthecreatemessage.VaIidateObjVaIueeitherCREATEmessageanerrordescription.restricdonsprocessedObjVa1.uecREATEmethodbasedtheObjectcurrentthesemanticsbehaviour(e.g,di11erentmayfromCreatedmessagesha1.1.havetwonon-emptyObjNamewhichsha1.1.Specifiedabso1.utepathname.fie1.dwhichObjIDParent.butusingCithersha
27、1.1.beObjNameParentcasc.ObjIDParcntfie1.d;GXPMCiuyObjNanicParentabso1.utethatgenera1.manage1.Ditsva1.uesnumerica1.objeettheownerTherefore,thatCREAmessagebeingCreatedspedfyObj)D.Ifandocumentedpresenttheobjectnotassignedpo1.icyCDAP-PO1.-OB-C1.ASSESandCDAP-PO1.-OBJ-TheIocationsemanticimp1.ications.Ther
28、efore,whenabso1.utepathnameorimmediateparentage,orboth,presentcreationOfparentownidentifiedbyobjectsimp1.ementbe:RF:ATE_CHi1.oCDAPmethod.potentia1.1.ycreatedoesChooseandperformCheperfonnCreation,operationsrequiredcomp1.eteCDAPinitia1.ization1.Whichobjectc1.assthatprovidessuchamethod.6.5.7PO1.-CDAP-O
29、BJ-TypesSca1.artypes6.5.7.1 Genera1.C1.assnamesarea1.waysstring-va1.ued,theirnamesareassignedint1.eobjectmode1.Bui1.t-insca1.arcypsngmMrffen(ibiijrthabdctod)fd)ndife1.nuiHtringsthaHwr11ywiumethbsfi)Uj41.Qafi11t*enObjVaIuefie1.dofamessageasdescribedbe1.ow,inwhichcaseanotherwisemissingObjC1.assva1.uem
30、aybeconsideredtobesupp1.ied.f陷俄If超饰三那Mreq由阳IthoUghSU陋临fiQ神de电研黑咿出帆联明RM部曲黄沿gersH出用edbedefined,theymayneveroccurinmessagesifa1.1.theimp1.ementedobjectshavenova1.uefie1.dsthatusethem.W谢邓侬)rsy限axes做P1.eme解MaRsearandpbj&ts,udnandhedfthiyPGagHnjte(aorayusedastheObjC1.ass.orinsomecasesasnotede1.sewhere,the
31、ObjC1.assmaybeimp1.icitintheencoding.Whencreatinganobject,ifava1.ueencodedinthecreatemessageusingtherrentsyntaxdoesnothavea制摊裾用给OnSP1.SRViqfftdne解晞rangedpo1.icyforse1.ectingsuchproperties,Tab1.e6Pre-defineddefau1.tsca1.arObjCIassnamesNameDescriptionU1.Unsigned8bit(1byte)integerva1.ueSVariab1.e-1.eng
32、thstring,UTF-8encodedDVariab1.e-1.engtharbitrarybinarydataTab1.e8CDPerrortypesCommunicationErrorsuponattemptingtosendorF1.owtimeout,erroronsend,erroronreceiveoperation,butusefu1.forfindinginformationsoftwarerevisionandstatusapp1.ication1.mp1.ementationsoccursimp1.ementation-definedre-estab1.ishCommu
33、nicationimp1.cmentation-Iheerrors1.oca1.1.y,causeitmessagegeneratedi1.1.-fo11nedmessageuninterpretab1.eapp1.icationshou1.dcausemeansto1.ogsetnumberofsucherrorsoccurintheAC.error1.oggingmessage4-6themessagesthattherenotrequesttorep1.ypossib1.yfo1.1.owedbyterminatingCDPA1.1.spontaneous1.ygeneratedgene
34、ratedCDPmessageinc1.udingInfonnationa1.thereTab1.e9CDAPspecificresu1.tva1.uesResu1.tNameVa1.ueDescriptionenttinfortheuCaP1.etefie1.dspecificationofeachnrsaoetype.messageCDAPMessage(三ptio111.int32心ERVED_CACEP-1;RESERVEDFCftCMEP,XOTUSEDBYCMPrequiredQPCode_topcode=2:/opCode.optiona1.int32InvokeID-3defa
35、u1.t-O);HInvokeIDrOifnorep1.ycfesird.optiona1.f1.agVa1.ues-tf1.ags-4;m1.sc-f1.agsoptiona1.stringobjC1.a三三-5;/Xaneoftheobjectc1ssofobjN11eoptiona1.stringQbjNge=6;HObjectnarrruniqueinitsc1.assoptiona1.int64ObjInst-7;/Uniqueobjectinstanceoptiona1.Objja1.tOtojVa1.ue8;/va1.ueofObjRUtinread/writc/etc.optiona1.int32resu1.t=9defau1.t=0;Uresu1.tofoperation/O=successoptiona1.int32scope-10;/scopeofREAD/WRITEoperationoptiona1.bytesfi1.ter-11;/fi1.terscriptoptiona1.DbjNaDeParent-28;/na11cofparentnodeforCREATEoptiona1.ObJIDParent-29;UobjectIDofparentn1.eforC
链接地址:https://www.desk33.com/p-1777512.html