版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
PAGE
11
SEMIE37-0298©SEMI1995,1998
SEMIE37-0298©SEMI1995,1998
PAGE
10
SEMIE37-0298
HIGH-SPEEDSECSMESSAGESERVICES(HSMS)GENERICSERVICES
Purpose
HSMSprovidesameansforindependentmanufactur-erstoproduceimplementationswhichcanbecon-nectedandinteroperatewithoutrequiringspecificknowledgeofoneanother.
HSMSisintendedasanalternativetoSEMIE4(SECS-I)forapplicationswherehigherspeedcommu-nicationisneededorwhenasimplepoint-to-pointtopologyisinsufficient.SEMIE4(SECS-I)canstillbeusedinapplicationswheretheseandotherattributesofHSMSarenotrequired.
HSMSisalsointendedasanalternativetoSEMIE13(SECSMessageServices)forapplicationswhereTCP/IPispreferredoverOSI.
ItisintendedthatHSMSbesupplementedbysubsid-iarystandardswhichfurtherspecifydetailsofitsuseorimposerestrictionsonitsuseinparticularapplica-tiondomains.
Scope
High-SpeedSECSMessageServices(HSMS)definesacommunicationinterfacesuitablefortheexchangeofmessagesbetweencomputersinasemiconductorfac-tory.
ReferencedDocuments
SEMIStandards
SEMIE4—SEMIEquipmentCommunicationStan-dard1—MessageTransport(SECS-I)
SEMIE5—SEMIEquipmentCommunicationStan-dard2—MessageContent(SECS-II)
IETFDocuments1
IETFRFC791—InternetProtocol
IETFRFC792—InternetControlMessageProtocol
IETFRFC793—TransmissionControlProtocol
IETFRFC1120—RequirementsforInternetHosts-CommunicationLayers
IETFRFC1340—AssignedNumbers.Note:ThisRFCsupersedesRFC820.
POSIXDocument2
IEEEPOSIXP1003.12—ProtocolIndependentInter-faces(PII)
Terminology
API—ApplicationProgramInterface.InthecaseofTCP/IP,asetofprogrammingconventionsusedbyanapplicationprogramtopreparefororinvokeTCP/IPcapabilities.
communicationfailure—Afailureinthecommunica-tionlinkresultingfromatransitiontotheNOTCON-NECTEDstatefromtheSELECTEDstate.(SeeSection9.)
confirmedservice(HSMS)—AnHSMSservicerequestedbysendingamessagefromtheinitiatortotherespondingentitywhichrequiresthatcompletionoftheservicebeindicatedbyaresponsemessagefromtherespondingentitytotheinitiator.
connection—AlogicallinkageestablishedonaTCP/IPLANbetweentwoentitiesforthepurposesofexchangingmessages.
controlmessage—AnHSMSmessageusedforthemanagementofHSMSsessionsbetweentwoentities.
datamessage—AnHSMSmessageusedforcommu-nicationofapplication-specificdatawithinanHSMSsession.ADataMessagecanbeaPrimaryMessageoraReplyMessage.
entity—AnapplicationprogramassociatedwithanendpointofaTCP/IPconnection.
header—A10-bytedataelementprecedingeveryHSMSmessage.
TheIETFdocumentscanbeobtainedfromTheNetworkInformationCenter,NetworkSolutions,14700ParkMeadowDrive,Suite200,Chantilly,VA22021USA
POSIXdocumentscanbeobtainedfromInstituteofElectricalandElectronicEngineers(IEEE),345East47thStreet,NewYork,NY10017USA
initiator(HSMS)—TheentityrequestinganHSMSservice.TheinitiatorrequeststheservicebysendinganappropriateHSMSmessage.
IPAddress—InternetProtocolAddress.Alogicaladdresswhichuniquelyidentifiesaparticularattach-menttoaTCP/IPnetwork.
localentity—Relativetoaparticularendpointofaconnection,thelocalentityisthatentityassociatedwiththatendpoint.
localentity-specific—Generalqualifiertoanyproce-dure,option,issue,orotherimplementationmatterwhichisnotasubjectofthisstandardandlefttothediscretionoftheindividualsupplier.
message—Acompleteunitofcommunicationinonedirection.AnHSMSMessageconsistsoftheMessageLength,MessageHeader,andtheMessageText.AnHSMSMessagecanbeaDataMessageoraControlMessage.
messagelength—A4-byteunsignedintegerfieldspecifyingthelengthofamessageinbytes.
opentransaction—Atransactioninprogress.
port—AnendpointofaTCP/IPconnectionwhosecompletenetworkaddressisspecifiedbyanIPAddressandTCP/IPPortnumber.
portnumber—(orTCPportnumber).TheaddressofaportwithinanattachmenttoaTCP/IPnetworkwhichcanserveasanendpointofaTCP/IPconnection.
primarymessage—AnHSMSDataMessagewithanoddnumberedFunction.Also,thefirstmessageofadatatransaction.
publishedport—ATCP/IPIPAddressandPortnum-berassociatedwithaparticularentity(server)whichthatentityintendstouseforreceivingTCP/IPconnec-tionrequests.Anentity'spublishedportmustbeknownbyremoteentitiesintendingtoinitiateconnec-tions.
receiver—TheHSMSEntityreceivingamessage.
remoteentity—Relativetoaparticularendpointofaconnection,theremoteentityistheentityassociatedwiththeoppositeendpointoftheconnection.
reply—AnHSMSDataMessagewithaneven-num-beredfunction.Also,theappropriateresponsetoaPri-maryHSMSDataMessage.
respondingentity(HSMS)—TheproviderofanHSMSservice.Therespondingentityreceivesames-sagefromaninitiatorrequestingtheservice.Intheeventofaconfirmedservice,therespondingentityindicatescompletionoftherequestedservicebysend-inganappropriateHSMSresponsemessagetotheini-tiatoroftherequest.Inanunconfirmedservice,therespondingentitydoesnotsendaresponsemessage.
session—Arelationshipestablishedbetweentwoenti-tiesforthepurposeofexchangingHSMSmessages.
sessionentity—AnentityparticipatinginanHSMSsession.
sessionID—A16-bitunsignedintegerwhichidenti-fiesaparticularsessionbetweenparticularsessionentities.
stream(TCP/IP)—AsequenceofbytespresentedatoneendofaTCP/IPconnectionfordeliverytotheotherend.TCP/IPguaranteesthatthedeliveredsequenceofbytesmatchesthepresentedstream.HSMSsubdividesastreamintoblocksofcontiguousbytes-messages.
T3—ReplytimeoutintheHSMSprotocol.
T5—ConnectSeparationTimeoutintheHSMSproto-colusedtopreventexcessiveTCP/IPconnectactivitybyprovidingaminimumtimebetweenthebreaking,byanentity,ofaTCP/IPconnectionorafailedattempttoestablishone,andtheattempt,bythatsameentity,toinitiateanewTCP/IPconnection.
T6—ControlTimeoutintheHSMSprotocolwhichdefinesthemaximumtimeanHSMScontroltransac-tioncanremainopenbeforeacommunicationsfailureisconsideredtohaveoccurred.Atransactionisconsid-eredopenfromthetimetheinitiatorsendstherequiredrequestmessageuntiltheresponsemessageisreceived.
T7—ConnectionIdleTimeoutintheHSMSprotocolwhichdefinesthemaximumamountoftimewhichmaytranspirebetweentheformationofaTCP/IPcon-nectionandtheuseofthatconnectionforHSMScom-municationsbeforeacommunicationsfailureisconsideredtohaveoccurred.
T8—NetworkIntercharacterTimeoutintheHSMSprotocolwhichdefinesthemaximumamountoftimewhichmaytranspirebetweenthereceiptofanytwosuccessivebytesofacompleteHSMSmessagebefore
acommunicationsfailureisconsideredtohaveoccurred.
TCP/IP—TransmissionControlProtocol/InternetProtocol.Amethodofcommunicationswhichprovidesreliable,connection-orientedmessageexchangebetweencomputerswithinanetwork.
TLI—TransportLevelInterface.OneparticularAPIprovidedbycertainimplementationsofTCP/IPwhichprovidesatransportprotocolandoperatingsystemindependentdefinitionoftheuseofanyTransportLevelprotocol.
transaction—APrimaryMessageanditsassociatedReplymessage,ifrequired.Also,anHSMSControlMessageoftherequest(.req)type,anditsresponseControlMessage(.rsp),ifrequired.
unconfirmedservice(HSMS)—AnHSMSservicerequestedbysendingamessagefromtheinitiatortotherespondingentitywhichrequiresnoindicationofcompletionfromtherespondingentity.
HSMSOverviewandStateDiagram
High-SpeedSECSMessageServices(HSMS)definesacommunicationinterfacesuitablefortheexchangeofmessagesbetweencomputersinasemiconductorfac-toryusingaTCP/IPenvironment.HSMSusesTCP/IPstreamsupport,whichprovidesreliabletwowaysimultaneoustransmissionofstreamsofcontiguousbytes.ItcanbeusedasareplacementforSECS-Icom-municationaswellasothermoreadvancedcommuni-cationsenvironments.
TheprocedureforHSMScommunicationsparallelsthemorefamiliarSECS-Icommunicationsitreplaces.Thefollowingstepsarefollowedforanycommunica-tions(HSMSorotherwise):
Obtainacommunicationslinkbetweentwoenti-ties.InSECS-I,thisistheRS232wirephysicallyconnectinghostandequipment.InHSMS,thelinkisaTCP/IPconnectionobtainedbythestandardTCP/IPconnectprocedure.Notethattheabstractterm"entity"isusedinsteadof"host"or"equip-ment."Thisisbecause,whileHSMSisusedforSECS-Ireplacement,ithasmoregeneralapplica-tionsaswell.InaSECS-Ireplacementapplication,the"host"isan"entity"andthe"equipment"isan"entity."
Establishtheapplicationprotocolconventionstobeusedforexchangingdatamessagesbetweentwo
entities.ForSECS-I,thisstepisimplicitinthefactthatsemiconductorequipmentisphysicallycon-nectedonthetwoendsofthewire:theprotocolisSECS-II.
InthecaseofHSMS,thecommunicationslinkisadynamicallyestablishedTCP/IPconnectiononaphysicallinkwhichmaybesharedwithmanyotherTCP/IPconnectionsusingprotocolsotherthanHSMSorconnectionsusingnonTCP/IPprotocols.HSMSaddsamessageexchange(calledtheSelectprocedure)whichisusedtoconfirmtobothentitiesthattheparticularTCP/IPconnectionistobeusedexlusivelyforHSMScommunications.
ExchangeData.Thisisthenormalintendedpur-poseofthecommunicationslink.InbothSECS-IandHSMS,theprocedureistoexchangeSECS-IIencodedmessagesforthecontrolofsemiconductorequipmentand/orprocesses.Dataexchangenor-mallycontinuesuntiloneorbothoftheentitiesaretakenoff-lineforequipment-specificpurposes,suchasmaintenance.
Formallyendcommunications.InSECS-I,thereisnoformalrequirementhere;theequipmenttobetakenoff-linestopscommunicating.
InHSMS,amessageexchange(eitherthe“bilat-eral”Deselectprocedureorthe“unilateral”sepa-rateprocedure)isusedforbothpartiestoconfirmthattheTCP/IPconnectionisnolongerneededforHSMScommunications.
Breakthecommunicationslink.InSECS-I,thisisdonebyphysicallyunpluggingthehostorequip-mentfromthecommunicationscable,whichonlyoccursduringrepairorphysicalreconfigurationofthefactorynetworkenvironment.
InHSMS,sinceitusesthedynamicconnectionenvironmentofTCP/IP,theTCP/IPconnectionislogicallybrokenviaareleaseoradisconnectpro-cedurewithoutanyphysicaldisconnectfromthenetworkmedium.
Twoadditionalprocedures,ofadiagnosticnature,aresupportedinHSMS,whicharegenerallynotrequiredbyasimpleSECS-IlinkoraSECS-Idirectreplace-ment.Thesefollow:
Linktest.Thisprocedureprovidesasimpleconfir-mationofconnectionintegrity.
Reject.BecauseHSMSisintendedtobeextendedtoprotocolsotherthanjustSECS-II(bymeansofsubsidiarystandards),itispossiblethattwoentitiescanbeconnected(duetoaconfigurationerror)whichuseincompati-blesubsidiarystandards.Also,duringinitialimplementation,incorrectmessagetypesmaybesent,ortheymaybesentoutoforderduetosoftwarebugs.Therejectprocedureisusedtoindicatesuchanoccurrence.
HSMSConnectionStateDiagram—TheHSMSstatemachineisillustratedinthediagrambelow.Thebehav-iordescribedinthisdiagramdefinesthebasicrequirementsofHSMS:subsidiarystandardsmayfurtherextendtheseorotherstates.
StateDescriptions
NOTCONNECTED—TheentityisreadytolistenfororinitiateTCP/IPconnectionsbuteitherhasnotyetestablishedanyconnectionsorallpreviouslyestablishedTCP/IPconnectionshavebeenterminated.
CONNECTED—ATCP/IPconnectionhasbeenestablished.Thisstatehastwosubstates,NOTSELECTEDandSELECTED.
NOTSELECTED—AsubstateofCONNECTEDinwhichnoHSMSsessionhasbeenestablishedoranypreviouslyestablishedHSMSsessionhasended.
SELECTED—AsubstateofCONNECTEDinwhichatleastoneHSMSsessionhasbeenestablished.Thisisthenormal"operating"stateofHSMS:datamessagesmaybeexchangedinthisstate.Itishighlightedbyaheavyoutlineinthestatediagram.
StateTransitionTable
#
CurrentState
Trigger
NewState
Actions
Comment
1
...
Localentity-specificpreparationforTCP/IPcommunication.
NOTCONNECTED
Localentity-specific
Actiondependsonconnectionproceduretobeused:activeorpassive.
2
NOTCONNECTED
ATCP/IPconnectionisestablishedforHSMScommunication.
CONNECTED-NOTSELECTED
Localentity-specific
none
3
CONNECTED
BreakingofTCPconnection.
NOTCONNECTED
Localentity-specific
SeeSection6.4.
4
NOTSELECTED
SuccessfulcompletionofHSMSSelectProcedure.
SELECTED
Localentity-specific
HSMScommunicationisnowfullyestablished:datamessageexchangeispermitted.
5
SELECTED
SuccessfulcompletionofHSMSDeselectorSeparate.
NOTSELECTED
Localentity-specific
ThistransitionnormallyindicatestheendofHSMScommunicationandsoanentitywouldimmediatelyproceedtobreaktheTCP/IPconnection(transition3above).
6
NOTSELECTED
T7ConnectionTimeout.
NOTCORRECTED
Localentity-specific
perSection9.2.2
UseofTCP/IP
TCP/IPAPI—ThespecificationofarequiredTCPApplicationProgramInterface(API)foruseinimple-mentationsisoutsidethescopeofHSMS.AgivenHSMSimplementationmayuseanyTCP/IPAPI—sockets,TLI(TransportLayerInterface),etc.—appropriatetotheintendedhardwareandsoftwareplatform,aslongasitprovidesinteroperableTCP/IPstreamsprotocolonthenetwork.
TheappendixcontainsexamplesoftheTCP/IPproceduresreferencedinthisstandardandsamplescenariosusingboththeTLI(POSIXstandard1003.12)andthepopularBSDsocketmodelforTCP/IPcommunication.
TCP/IPNetworkAddressingConventions
IPAddresses—EachphysicalTCP/IPconnectiontoagivenLocalAreaNetwork(LAN)musthaveauniqueIPAddress.IPAddressesmustbeassignableatinstallationtime,andanHSMSimplementationcannotselectafixedIPAddress.AtypicalIPAddressis.
IPimposesrestrictionsonthesenumberswhichareoutsidethescopeoftheHSMSprotocol.ConsultSection2.3ofRFC791,InternetProtocol(IP)inSection3.
TCPPortNumbers—ATCPPortNumbercanbeconsideredasanextensionoftheIPAddress.
HSMSimplementationsshouldallowconfiguringTCPPorttothefullrangeoftheTCP/IPimplementationused.AtypicalTCPPortNumberis5000.
ConventionshavebeenestablishedforselectingTCPPortNumberswhichareoutsidethescopeoftheHSMSpro-tocol.ConsultRFC793,TransmissionControlProtocol(TCP)inSection3.
EstablishingaTCP/IPConnection
ConnectModes—TheproceduresforestablishingaTCP/IPconnectionaredefinedinRFC793.However,notalltheproceduresdefinedbyRFC793aresupportedbycommonlyavailableAPIs.Inparticular,whileRFC793permitsbothentitiestoinitiatetheconnectionsimultaneously,thisfeatureisrarelysupportedinavailable
APIs.Therefore,HSMSrestrictsanentitytooneofthefollowingmodes:
PassiveMode.ThePassivemodeisusedwhenthelocalentitylistensforandacceptsaconnectproce-dureinitiatedbytheRemoteEntity.
ActiveMode.TheActivemodeisusedwhentheconnectprocedureisinitiatedbytheLocalEntity.
Theappendixprovidesanexampleofhowanentitymayoperatealternatelyintheactiveandpassivemodestoachievegreaterflexibilityinestablishingcommunications.
PassiveModeConnectProcedure—Thepro-cedurefollowedbythePassiveLocalEntityisdefinedinRFC793.Itissummarizedasfollows:
Obtainaconnectionendpointandbindittoapub-lishedport.
Listenforanincomingconnectrequesttothepub-lishedportfromaremoteentity.
Uponreceiptofaconnectrequest,acknowledgeitandindicateacceptanceoftheconnection.Atthispoint,theconnectprocedurehascompletedsuc-cessfully,andtheCONNECTEDstateisentered(Section5).
TheseproceduresarecarriedoutthroughtheAPIofthelocalentity'simplementationofTCP/IP.TheappendicesprovidetheAPI-specificproceduresfortheabovestepsusingbothTLIandBSD.
Note:Afailuremayoccurduringtheabovesteps.Thereasonforfailuremaybelocalentity-specificormaybeduetoalackofanyconnectrequestafteralocalentity-specifictimeout.Theactiontobetaken(forexample:returntostep1toretry)isalocalentity-spe-cificissue.
Note:SeeSection9,SpecialConsiderations,forissuesrelatingtomultipleconnectionrequeststothesamepassivemodeentity.
ActiveModeConnectProcedure—Theproce-durefollowedbytheActiveLocalEntityisdefinedinRFC793.Itissummarizedasfollows:
Obtainaconnectionendpoint.
Initiateaconnectiontothepublishedportofapas-sivemoderemoteentity.
Waitforthereceiptoftheacknowledgeandtheacceptanceoftheconnectrequestfromtheremoteentity.Receiptoftheacceptancefromtheremoteentityindicatessuccessfulcompletionofthecon-nectprocedure,andtheCONNECTEDstateisentered(Section5).
TheseproceduresarecarriedoutthroughtheAPIofthelocalentity'simplementationofTCP/IP.TheappendixprovidestheAPI-specificproceduresfortheabovestepsusingbothTLIandBSD.
Note:Afailuremayoccurduringtheabovesteps.Thereasonforfailuremaybelocalentity-specificormaybeduetoalackofanyacceptmessageafteralocalentity-specifictimeout.Theactiontobetakenisalocalentity-specificissue.If,however,thelocalentityintendstoretrytheconnection,itshoulddososubjecttotheT5connectseparationtimeout(see"SpecialConsiderations").
TerminatingaTCP/IPConnection—ConnectionterminationisthelogicalinverseofConnectionestab-lishment.FromtheLocalEntity'sperspective,aTCP/IPconnectionmaybebrokenatanytime.However,HSMSonlypermitsterminationoftheconnectionwhentheconnectionisintheNOTSELECTEDsub-stateoftheCONNECTEDstate.
TheproceduresforterminationofaconnectionaredefinedinRFC793.Eitherentitymayinitiatetermina-tionoftheconnection.TheNOTCONNECTEDstateisentered,indicatingtheendofHSMScommunica-tions.TheappendixillustratestheproceduresforbothreleaseanddisconnectusingtheTLIandBSDAPIs.
HSMSMessageExchangeProcedures
HSMSdefinestheproceduresforallmessageexchangebetweenentitiesacrosstheTCP/IPconnec-tionestablishedaccordingtotheproceduresinthepre-vioussection.Asexplainedintheoverview,oncethe
connectionisestablished,thetwoentitiesestablishHSMScommunicationswiththeSelectprocedure.Thendatamessagesmaybeexchangedineitherdirec-tionatanytime.WhentheentitieswishtoendHSMScommunications,theDeselectorSeparateprocedureisusedtoendHSMScommunications.
SendingandReceivingHSMSMessages—AllHSMSproceduresinvolvetheexchangeofHSMSmessages.ThesemessagesaresentandreceivedasTCP/IPstreamsusingthepreviouslyestablishedTCP/IPconnectionatstandardpriority.Inparticular,theuseof"Urgent"dataisnotsupportedunderHSMS(seeRFC793formoreinformationonsendandreceiveprocedures).
TheappendixgivesexamplesofsendingandreceivingHSMSmessagesusingbothTLIandBSDsocketAPIs.
SelectProcedure—TheSelectprocedureisusedtoestablishHSMScommunicationsonaTCP/IPcon-nectionusingtheSelect.reqandSelect.rspmessagesinacontroltransaction.
AlthoughHSMSpermitsSelectatanytimeintheCONNECTEDstate,subsidiarystandardsmayfurtherrequiretheconnectiontobeintheNOTSELECTEDsubstate(see"SpecialConsiderations").
InitiatorProcedure—Theprocedurefollowedbytheinitiatorisasfollows.
TheinitiatoroftheselectproceduresendstheSelect.reqmessagetotherespondingentity.
IftheinitiatorreceivesaSelect.rspwithaSelectStatusof0,TheHSMSSelectprocedurecompletessuccessfullyandtheSELECTEDstateisentered(seeSection5).
IftheinitiatorreceivesaSelect.rspwithanon-zeroSelectStatus,theSelectcompletesunsuccessfully(nostatetransitions).
IftheT6timeoutexpiresintheinitiatorbeforereceiptofaSelect.rsp,itisconsideredacommuni-cationsfailure(see"SpecialConsiderations").
RespondingEntityProcedure—Theprocedurefollowedbytherespondingentityisasfollows.
TherespondingentityreceivestheSelect.req.
Iftherespondingentityisabletoaccepttheselect,ittransmitstheSelect.rspwithaSelectStatusof0.TheHSMSSelectProcedurefortherespondingentityissuccessfullycompleted,andtheSELECTEDstateisentered(seeSection5).
Iftherespondingentityisunabletopermittheselect,ittransmitstheSelect.rspwithanon-zeroSelectStatus.TheHSMSSelectProcedurefortherespondingentitycompletesunsuccessfully(nostatetransitions).
SimultaneousSelectProcedures—Ifthesub-sidiarystandardsdonotrestricttheuseoftheSelect,itispossiblethatbothentitiessimultaneouslyinitiateSelectProcedureswithidenticalSessionID’s.Insuchacase,eachentitywillaccepttheotherentity'sselectrequestbyrespondingwithaSelect.rsp.
DataProcedure—HSMSdatamessagesmaybeinitiatedbyeitherentityaslongastheconnectionisintheSELECTEDstate.ReceiptofadatamessagewhennotintheSELECTEDstatewillresultinarejectpro-cedure(seeSection7.7).
Datamessagesmaybefurtherdefinedaspartofadatatransactionaseithera"Primary"or"Reply"datames-sage.Inadatatransaction,theinitiatorofthetransac-tionsendsaprimarymessagetotherespondingentity.IfthePrimarymessageindicatesthatareplyisexpected,aReplymessageissentbytherespondingentityinresponsetothePrimary.
ThefollowingtypesofDataTransactionsaresup-ported:
PrimaryMessagewithreplyexpectedandtheasso-ciatedReplyMessage.
PrimaryMessagewithnoreplyexpected.
Thespecificproceduresforthesetransactionsaredeterminedbytheapplicationlayerandaresubjecttootherstandards(forexample,E5andE30forGEMequipmentusingSECS-IIencodedmessages).
Theapplicableupperlayerstandardisidentifiedbythemessagetype.ThetypeisdeterminedfromthespecificformatdefinedinSection8.ThenormaltypeforHSMSmessagesisSECS-IItext.Alsoreferto"SpecialConsiderations"concerningtheT3ReplyTimeout.
DeselectProcedure—TheDeselectprocedureisusedtoprovideagracefulendtoHSMScommunica-tionforanentitypriortobreakingtheTCP/IPconnec-tion.HSMSrequiresthattheconnectionbeintheSELECTEDstate.Theprocedureisasfollows.
InitiatorProcedure
TheinitiatoroftheDeselectproceduresendstheDeselect.reqmessagetotherespondingentity.
IftheinitiatorreceivesaDeselect.rspwithaDese-lectStatusof0,itsDeselectprocedureterminatessuccessfully.TheNOTSELECTEDstateisentered(seeSection5).
IftheinitiatorreceivesaDeselect.rspwithanon-zeroDeselectStatus,itsDeselectproceduretermi-natesunsuccessfully.Nostatechangeoccurs.
IftheT6timeoutexpiresintheinitiatorbeforereceiptofaDeselect.rsp,itisconsideredacommu-nicationsfailure(see"SpecialConsiderations").
RespondingEntityProcedure
TherespondingentityreceivestheDeselect.reqmessage.
IftherespondingentityisintheSELECTEDstate,andifitisabletopermittheDeselect,itrespondsusingtheDeselect.rspwithazeroresponsecode.Therespondingentity'sDeselectprocedurecom-pletessuccessfully.TheNOTSELECTEDstateisentered(seeSection5).
IftherespondingentityisunabletopermittheDeselect,eitherbecauseitisnotintheSELECTEDstateorbecauselocalconditionsdonotpermittheDeselect,itrespondsusingtheDeselect.rspwithanon-zeroresponsecode.Therespondingentity'sDeselectprocedureterminatesunsuccessfully.Nostatechangeoccurs.
SimultaneousDeselectProcedures—Ifthesub-sidiarystandardsdonotrestricttheuseoftheDeselect,itispossiblethatbothentitiessimultaneouslyinitiateDeselectProcedureswithidenticalSessionID’s.Insuchacase,eachentitywillaccepttheotherentity'sDeselectrequestbyrespondingwiththedeselect.rsp.
LinktestProcedure—TheLinktestisusedtodeterminetheoperationalintegrityofTCP/IPand
HSMScommunications.ItsuseisvalidanytimeintheCONNECTEDstate.
InitiatorProcedure
TheinitiatoroftheLinktestproceduresendstheLinktest.reqmessagetotherespondingentity.
IftheinitiatorreceivesaLinktest.rspwithintheT6timeout,theLinktestissuccessfullycompleted.
IftheT6timeoutexpiresintheinitiatorbeforereceiptofaLinktest.rsp,itisconsideredacommu-nicationsfailure(see"SpecialConsiderations").
RespondingEntityProcedure
TherespondingentityreceivestheLinktest.reqfromtheinitiator.
TherespondingentitysendsaLinktest.rsp.
SeparateProcedure—TheSeparateprocedureisusedtoabruptlyterminateHSMScommunicationforanentitypriortobreakingtheTCP/IPConnection.HSMSrequiresthattheconnectionbeintheSELECTEDstatewhenusingSeparate.Therespond-ingentitydoesnotsendaresponseandisrequiredtoterminatecommunicationsregardlessofitslocalstate.Theprocedureisasfollows.
InitiatorProcedure
1.TheinitiatoroftheselectproceduresendstheSepa-rate.reqmessagetotherespondingentity.Theiniti-ator'sSeparateprocedurecompletessuccessfully.
TheNOTSELECTEDstateisentered(seeSection5).
RespondingEntityProcedure
TherespondingentityreceivestheSeparate.reqfromtheinitiator.
IftherespondingentityisintheSELECTEDstate,itsSeparateprocedurecompletessuccessfully.
IftherespondingentityisnotintheSELECTEDstate,theSeparate.reqisignored.
RejectProcedure—TheRejectprocedureisusedinresponsetoanotherwisevalidHSMSmessagereceivedinaninappropriatecontext.Supportingtherejectprocedurecanprovideusefuldiagnosticinfor-mationduringthedevelopmentofadistributedappli-cationusingHSMS.Theprocedureisasfollows:
Initiator(SenderofInappropriateMessage)Procedure
1.Theinitiatoroftheinappropriatemessage,uponreceivingtheReject.req,takesappropriateaction(localentity-specific).
RespondingEntityProcedure
1.TheentityreceivingtheinappropriatemessagerespondswithaReject.reqmessage.
HSMSrequirestherejectprocedureforthereceiptof
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年度土地承包经营权续包与调整合同模板4篇
- 2025年度商铺租赁合同环保与节能条款规范4篇
- 2025年伊捷卡项目可行性研究报告
- 2025年江西宜春公交集团有限公司招聘笔试参考题库含答案解析
- 2025年浙江嘉兴兴港热网有限公司招聘笔试参考题库含答案解析
- 2025年安徽亳州市蒙城县城投集团招聘笔试参考题库含答案解析
- 2025年浙江余杭旅游集团有限公司招聘笔试参考题库含答案解析
- 2025年浙江国企杭州建德市公共交通运输有限公司招聘笔试参考题库附带答案详解
- 漳州理工职业学院《教学技能培训》2023-2024学年第一学期期末试卷
- 张家口职业技术学院《智慧供应链管理实训》2023-2024学年第一学期期末试卷
- 2024年人教版小学三年级信息技术(下册)期末试卷附答案
- 中国子宫内膜增生管理指南(2022)解读
- 应征公民政治考核表(含各种附表)
- 2024年第九届“鹏程杯”五年级语文邀请赛试卷
- 名师成长论名师成长的模式、机制和规律研究
- FSSC22000V6.0变化点和文件修改建议
- 2024年高一年级上册语文期末复习:语言文字运用Ⅰ刷题练习题(含答案)
- 新苏教版三年级下册科学全册知识点(背诵用)
- 乡镇风控维稳应急预案演练
- 脑梗死合并癫痫病人的护理查房
- 成都银行贷款合同
评论
0/150
提交评论