textual-notation-of-model/packages/features/middleware/middleware_logical_architecture.sysml

2 view(s) · 109 declared member(s) Jump to source ↓

view middlewareSystemStructureViewsource ↓

ViewpointselectedSystemStructureViewpoint (SystemStructureDefinitionViewpoint)
Framed concerns
  • conceptualStructureConcern own frame
RenderasTreeDiagram
Depth1
ExposesMiddlewareSystem
Sourcetextual-notation-of-model/packages/features/middleware/middleware_logical_architecture.sysml:237
diagram-middlewareSystemStructureView.svg
«view» middlewareSystemStructureView expose MiddlewareSystem «part def» MiddlewareSystem parts signalTranslator : SignalTranslator diagnosticProxy : DiagnosticProxy lifecycleBridge : LifecycleBridge healthProxy : HealthProxy updateCoordinator : UpdateCoordinator serviceBindingManager : ServiceBindingManager ports signalAccess : SignalAccessApplicationPort diagnosticAccess : DiagnosticApplicationPort lifecycle : LifecycleApplicationPort health : HealthApplicationPort update : UpdateApplicationPort serviceBinding : ServiceBindingApplicationPort ... exhibit states lifecycleStates

Hover a model element for details open raw SVG.

view middlewareSystemFunctionMappingViewsource ↓

ViewpointselectedSystemFunctionMappingViewpoint (SystemFunctionMappingViewpoint)
View typeMVD::MatrixView
Framed concerns
  • conceptualFunctionMappingConcern own frame
ExposesfunctionalFlow::translateSignal
functionalFlow::proxyDiagnostics
functionalFlow::coordinateLifecycle
functionalFlow::forwardHealth
functionalFlow::coordinateUpdate
functionalFlow::bindService
functionalFlow::protectSafetyPath
system::signalTranslator
system::diagnosticProxy
system::lifecycleBridge
system::healthProxy
system::updateCoordinator
system::serviceBindingManager
DE4SDV_MiddlewareLogicalArchitecture::*
Sourcetextual-notation-of-model/packages/features/middleware/middleware_logical_architecture.sysml:248
diagram-matrix-middlewareSystemFunctionMappingView.svg
Middleware system-function mapping Maps system functions to conceptual system elements. Middleware system-function mapping Rows ↓: system functions (action usages) | Columns →: conceptual system elements (part usages) signalTranslator diagnosticProxy lifecycleBridge healthProxy updateCoordinator serviceBindingManager translateSignal ↗ proxyDiagnostics ↗ coordinateLifecycle ↗ forwardHealth ↗ coordinateUpdate ↗ bindService ↗ protectSafetyPath ↗

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV middleware logical architecture model slice in the SAF Conceptual Domain.3 *4 * INC-MW-007 allocates the technology-neutral middleware functions to logical5 * responsibilities and defines their internal exchanges. It does not select6 * ROS 2, DDS, AAOS SDV, S-CORE, AUTOSAR, processes, ECUs, networks, or a7 * physical deployment. The emergency intervention command path remains8 * outside this middleware logical architecture; only its health/protection9 * status is represented here.10 */1112package DE4SDV_MiddlewareLogicalArchitecture {13  private import DE4SDV_MethodContext::*;14  private import DE4SDV_ProductLine::*;15  private import DE4SDV_MiddlewareOperationalContext::Features::Middleware::OperationalContext::*;16  private import DE4SDV_MiddlewareFunctionalArchitecture::Features::Middleware::FunctionalArchitecture::*;17  private import DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::*;18  private import DE4SDV_AEBSLogicalArchitecture::*;19  private import DE4SDV_Stakeholders::*;20  private import DE4SDV_TraceVocabulary::LogicalAllocationElement;21  private import SAF_Viewpoints::*;22  private import SysideViews::**;23  private import Views::*;2425  part incMW007 : FeatureIncrement {26    doc /* INC-MW-007: middleware integration logical architecture. */27  }2829  part systemSignalDefinitionGap : DeferredProductLineScope {30    doc /* GAP-MW-016: Conceptual signal contracts remain nominal until signal identity, units, freshness, and conversion rules are baselined. */31  }3233  part systemServiceContractGap : DeferredProductLineScope {34    doc /* GAP-MW-017: System service discovery, authentication, and binding contracts remain technology-neutral and incomplete until physical interface selection. */35  }3637  part systemSafetyOwnershipGap : DeferredProductLineScope {38    doc /* GAP-MW-018: Ownership and failure-response semantics for safety-path protection remain open pending safety analysis and physical realization. */39  }4041  port def SignalAccessApplicationPort {42    in item signalRequest : VehicleSignalAccessRequest;43    out item signalResponse : VehicleSignalAccessResponse;44  }4546  port def DiagnosticApplicationPort {47    in item diagnosticRequest : DiagnosticAccessRequest;48    out item diagnosticResponse : DiagnosticAccessResponse;49  }5051  port def LifecycleApplicationPort {52    in item lifecycleRequest : LifecycleCoordinationRequest;53    out item lifecycleStatus : LifecycleCoordinationStatus;54  }5556  port def HealthApplicationPort {57    out item forwardedHealth : HealthForwardingStatus;58  }5960  port def UpdateApplicationPort {61    in item updateNotification : UpdateNotification;62    out item updateStatus : UpdateCoordinationStatus;63  }6465  port def ServiceBindingApplicationPort {66    in item bindingRequest : ServiceBindingRequest;67    out item bindingStatus : ServiceBindingStatus;68  }6970  port def SafetyPathObservationPort {71    out item safetyPathStatus : SafetyPathProtectionStatus;72  }7374  part def SignalTranslator :> LogicalAllocationElement {75    doc /* Conceptual responsibility for translating and exposing vehicle-signal access without selecting a signal schema or transport. */76    port application : SignalAccessApplicationPort;77  }7879  part def DiagnosticProxy :> LogicalAllocationElement {80    doc /* Conceptual responsibility for proxying diagnostic requests and responses across the middleware boundary. */81    port application : DiagnosticApplicationPort;82  }8384  part def LifecycleBridge :> LogicalAllocationElement {85    doc /* Conceptual responsibility for coordinating application-visible lifecycle state with middleware lifecycle state. */86    port application : LifecycleApplicationPort;87  }8889  part def HealthProxy :> LogicalAllocationElement {90    doc /* Conceptual responsibility for forwarding service health and availability status. */91    port application : HealthApplicationPort;92    port safetyObservation : SafetyPathObservationPort;93    exhibit state healthStates {94      state unavailable;95      state degraded;96      state available;97    }98  }99100  part def UpdateCoordinator :> LogicalAllocationElement {101    doc /* Conceptual responsibility for coordinating integration updates without selecting an update mechanism. */102    port application : UpdateApplicationPort;103  }104105  part def ServiceBindingManager :> LogicalAllocationElement {106    doc /* Conceptual responsibility for service discovery, authentication boundary handling, and service binding. */107    port application : ServiceBindingApplicationPort;108  }109110  part def MiddlewareSystem {111    doc /* Technology-neutral logical composition of the middleware integration responsibilities. */112    port signalAccess : SignalAccessApplicationPort;113    port diagnosticAccess : DiagnosticApplicationPort;114    port lifecycle : LifecycleApplicationPort;115    port health : HealthApplicationPort;116    port update : UpdateApplicationPort;117    port serviceBinding : ServiceBindingApplicationPort;118    port safetyPathObservation : SafetyPathObservationPort;119120    part signalTranslator : SignalTranslator;121    part diagnosticProxy : DiagnosticProxy;122    part lifecycleBridge : LifecycleBridge;123    part healthProxy : HealthProxy;124    part updateCoordinator : UpdateCoordinator;125    part serviceBindingManager : ServiceBindingManager;126127    exhibit state lifecycleStates {128      state uninitialized;129      state initializing;130      state operational;131      state degraded;132      state shuttingDown;133    }134135    bind signalAccess = signalTranslator.application;136    bind diagnosticAccess = diagnosticProxy.application;137    bind lifecycle = lifecycleBridge.application;138    bind health = healthProxy.application;139    bind update = updateCoordinator.application;140    bind serviceBinding = serviceBindingManager.application;141    bind safetyPathObservation = healthProxy.safetyObservation;142  }143144  action functionalFlow : MiddlewareIntegrationFunctionalFlow;145  part system : MiddlewareSystem;146147  allocation def FunctionalToSystemResponsibility;148149  allocation signalTranslationAllocation : FunctionalToSystemResponsibility150    allocate functionalFlow::translateSignal151    to system.signalTranslator;152  allocation diagnosticProxyAllocation : FunctionalToSystemResponsibility153    allocate functionalFlow::proxyDiagnostics154    to system.diagnosticProxy;155  allocation lifecycleBridgeAllocation : FunctionalToSystemResponsibility156    allocate functionalFlow::coordinateLifecycle157    to system.lifecycleBridge;158  allocation healthProxyAllocation : FunctionalToSystemResponsibility159    allocate functionalFlow::forwardHealth160    to system.healthProxy;161  allocation updateCoordinatorAllocation : FunctionalToSystemResponsibility162    allocate functionalFlow::coordinateUpdate163    to system.updateCoordinator;164  allocation serviceBindingAllocation : FunctionalToSystemResponsibility165    allocate functionalFlow::bindService166    to system.serviceBindingManager;167  allocation safetyPathObservationAllocation : FunctionalToSystemResponsibility168    allocate functionalFlow::protectSafetyPath169    to system.healthProxy;170171  dependency signalTranslatorDerivedFromRequirement172    from system::signalTranslator173    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqProvideMiddlewareSignalAccess;174  dependency diagnosticProxyDerivedFromRequirement175    from system::diagnosticProxy176    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqProvideMiddlewareDiagnosticAccess;177  dependency lifecycleBridgeDerivedFromRequirement178    from system::lifecycleBridge179    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqCoordinateMiddlewareLifecycle;180  dependency healthProxyDerivedFromRequirement181    from system::healthProxy182    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqMonitorMiddlewareHealth;183  dependency updateCoordinatorDerivedFromRequirement184    from system::updateCoordinator185    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqCoordinateMiddlewareUpdates;186  dependency serviceBindingDerivedFromRequirement187    from system::serviceBindingManager188    to DE4SDV_MiddlewareRequirements::Features::Middleware::Requirements::reqProvideServiceDiscovery;189190  dependency aebsVehicleMotionDependsOnSignalTranslator191    from DE4SDV_AEBSLogicalArchitecture::system::vehicleMotionObservationIn192    to system::signalTranslator;193  dependency aebsTargetObservationDependsOnSignalTranslator194    from DE4SDV_AEBSLogicalArchitecture::system::targetObservationIn195    to system::signalTranslator;196  dependency aebsDriverOverrideDependsOnSignalTranslator197    from DE4SDV_AEBSLogicalArchitecture::system::driverOverrideObservationIn198    to system::signalTranslator;199  dependency aebsOperatingContextDependsOnLifecycleBridge200    from DE4SDV_AEBSLogicalArchitecture::system::operatingContextIn201    to system::lifecycleBridge;202  dependency aebsHealthStatusDependsOnHealthProxy203    from DE4SDV_AEBSLogicalArchitecture::system::subsystemHealthIn204    to system::healthProxy;205206  dependency systemFunctionalArchitectureBaselineTrace207    from system208    to DE4SDV_MiddlewareFunctionalArchitecture::Features::Middleware::FunctionalArchitecture::middlewareFunctionalBoundary;209210  concern conceptualStructureConcern : ConceptualStructureConcern {211    subject;212    stakeholder systemsEngineer : SystemsEngineer;213    stakeholder reviewer : OpenSourceReviewer;214  }215216  concern conceptualInternalExchangeConcern : ConceptualInternalExchangeConcern {217    doc /*218     * Known issue: no view is published for this concern yet. The current219     * conceptual architecture models boundary delegations from MiddlewareSystem220     * ports to owned responsibility ports, but no cross-component connections or221     * item flows. Native rendering of those bindings produces assignment/end222     * notation rather than a reviewable internal-exchange diagram. The boundary223     * delegations remain in the model; publish this view only after authoritative224     * cross-component interfaces, connections, and exchanged items are modeled.225     */226    subject;227    stakeholder systemsEngineer : SystemsEngineer;228    stakeholder reviewer : OpenSourceReviewer;229  }230231  concern conceptualFunctionMappingConcern : ConceptualFunctionMappingConcern {232    subject;233    stakeholder systemsEngineer : SystemsEngineer;234    stakeholder reviewer : OpenSourceReviewer;235  }236237  view middlewareSystemStructureView {238    viewpoint selectedSystemStructureViewpoint : SystemStructureDefinitionViewpoint {239      frame conceptualStructureConcern;240    }241    expose MiddlewareSystem;242    attribute depth = 1;243    attribute showAnnotationRows = false;244    attribute maxCompartmentEntries = 6;245    render asTreeDiagram;246  }247248  view middlewareSystemFunctionMappingView : MVD::MatrixView {249    viewpoint selectedSystemFunctionMappingViewpoint : SystemFunctionMappingViewpoint {250      frame conceptualFunctionMappingConcern;251    }252    view :>> rowView {253      expose functionalFlow::translateSignal;254      expose functionalFlow::proxyDiagnostics;255      expose functionalFlow::coordinateLifecycle;256      expose functionalFlow::forwardHealth;257      expose functionalFlow::coordinateUpdate;258      expose functionalFlow::bindService;259      expose functionalFlow::protectSafetyPath;260      attribute :>> representation = Rep::name;261    }262    view :>> columnView {263      expose system::signalTranslator;264      expose system::diagnosticProxy;265      expose system::lifecycleBridge;266      expose system::healthProxy;267      expose system::updateCoordinator;268      expose system::serviceBindingManager;269      attribute :>> representation = Rep::name;270    }271    view :>> cellView {272      expose DE4SDV_MiddlewareLogicalArchitecture::*;273      attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;274    }275  }276}277