您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 其它行业文档 > AUTOSAR-PRS-SOMEIPProtocol
SOME/IPProtocolSpecificationAUTOSARFORelease1.3.0DocumentTitleSOME/IPProtocolSpecificationDocumentOwnerAUTOSARDocumentResponsibilityAUTOSARDocumentIdentificationNo696DocumentStatusFinalPartofAUTOSARStandardFoundationPartofStandardRelease1.3.0DocumentChangeHistoryDateReleaseChangedbyDescription2017-12-081.3.0AUTOSARReleaseManagementNocontentchanges2017-10-271.2.0AUTOSARReleaseManagementEditorialchanges2017-03-311.1.0AUTOSARReleaseManagementSerializationofStructuredDatatypesandArgumentswithIdentifierandoptionalmembers2016-11-301.0.0AUTOSARReleaseManagementInitialRelease1of64—AUTOSARCONFIDENTIAL—DocumentID696:AUTOSAR_PRS_SOMEIPProtocolSOME/IPProtocolSpecificationAUTOSARFORelease1.3.0DisclaimerThiswork(specificationand/orsoftwareimplementation)andthematerialcontainedinit,asreleasedbyAUTOSAR,isforthepurposeofinformationonly.AUTOSARandthecompaniesthathavecontributedtoitshallnotbeliableforanyuseofthework.Thematerialcontainedinthisworkisprotectedbycopyrightandothertypesofintel-lectualpropertyrights.Thecommercialexploitationofthematerialcontainedinthisworkrequiresalicensetosuchintellectualpropertyrights.Thisworkmaybeutilizedorreproducedwithoutanymodification,inanyformorbyanymeans,forinformationalpurposesonly.Foranyotherpurpose,nopartoftheworkmaybeutilizedorreproduced,inanyformorbyanymeans,withoutpermissioninwritingfromthepublisher.Theworkhasbeendevelopedforautomotiveapplicationsonly.Ithasneitherbeendeveloped,nortestedfornon-automotiveapplications.ThewordAUTOSARandtheAUTOSARlogoareregisteredtrademarks.2of64—AUTOSARCONFIDENTIAL—DocumentID696:AUTOSAR_PRS_SOMEIPProtocolSOME/IPProtocolSpecificationAUTOSARFORelease1.3.0TableofContents1Introductionandoverview51.1Protocolpurposeandobjectives......................51.2Applicabilityoftheprotocol.........................51.2.1Constraintsandassumptions..................51.2.2Limitations............................61.3Dependencies................................61.4DocumentStructure............................72ProtocolRequirements82.1RequirementsTraceability.........................83AcronymsandAbbreviations154Protocolspecification164.1SpecificationofSOME/IPonwire-format(Serialization).........164.1.1Header..............................164.1.1.1MessageID[32Bit]..................174.1.1.2Length[32Bit].....................174.1.1.3RequestID[32Bit]...................184.1.1.4ProtocolVersion[8Bit].................194.1.1.5InterfaceVersion[8Bit]................204.1.1.6MessageType[8Bit]..................204.1.1.7ReturnCode[8Bit]...................214.1.1.8Payload[variablesize].................214.1.2Event,FieldandEventgroup..................224.1.3Endianess............................224.1.4SerializationofDataStructures.................224.1.4.1BasicDatatypes....................244.1.4.2StructuredDatatypes(structs).............244.1.4.3StructuredDatatypesandArgumentswithIdentifierandoptionalmembers.................254.1.4.4Strings..........................324.1.4.5Arrays(fixedlength)..................344.1.4.6DynamicLengthArrays................354.1.4.7Enumeration......................374.1.4.8Bitfield..........................374.1.4.9Union/Variant.....................374.2SpecificationofSOME/IPProtocol....................394.2.1TransportProtocolBindings...................394.2.1.1UDPBinding......................404.2.1.2TCPBinding......................404.2.1.3MultipleService-Instances...............424.2.1.4TransportinglargeSOME/IPmessagesofUDP(SOME/IP-TP).....................433of64—AUTOSARCONFIDENTIAL—DocumentID696:AUTOSAR_PRS_SOMEIPProtocolSOME/IPProtocolSpecificationAUTOSARFORelease1.3.04.2.2Request/ResponseCommunication..............494.2.3Fire&ForgetCommunication..................504.2.4NotificationEvents........................514.2.4.1Strategyforsendingnotifications...........524.2.5Fields...............................524.2.6ErrorHandling..........................534.2.6.1ReturnCode......................544.2.6.2ErrorMessage.....................544.2.6.3ErrorProcessingOverview..............554.2.6.4CommunicationErrorsandHandlingofCommunica-tionErrors........................574.3CompatibilityRulesforInterfaceVersion.................575ConfigurationParameters616Protocolusageandguidelines626.1Choosingthetransportprotocol......................626.2TransportingCANandFlexRayFrames..................626.3InsertPaddingforstructs..........................637References644of64—AUTOSARCONFIDENTIAL—DocumentID696:AUTOSAR_PRS_SOMEIPProtocolSOME/IPProtocolSpecificationAUTOSARFORelease1.3.01IntroductionandoverviewThisprotocolspecificationspecifiestheformat,messagesequencesandseman-ticsoftheAUTOSARProtocolScalableservice-OrientedMiddlewarEoverIP(SOME/IP).SOME/IPisanautomotive/embeddedcommunicationprotocolwhichsupportsremoteprocedurecalls,eventnotificationsandtheunderlyingserialization/wireformat.TheonlyvalidabbreviationisSOME/IP.Otherabbreviations(e.g.Some/IP)arewrongandshallnotbeused.1.1ProtocolpurposeandobjectivesThebasicmotivationtospecifyYetanotherRPC-Mechanisminsteadofusinganexistin
本文标题:AUTOSAR-PRS-SOMEIPProtocol
链接地址:https://www.777doc.com/doc-1760186 .html