textual-notation-of-model/packages/features/hmi/hmi_display_logical_architecture.sysml

3 view(s) · 53 declared member(s) Jump to source ↓

view hmiDisplayLogicalStructureViewsource ↓

ViewpointselectedLogicalStructureViewpoint (SystemStructureDefinitionViewpoint)
Framed concerns
  • hmiDisplayLogicalStructureConcern own frame
RenderasTreeDiagram
ExposeshmiDisplayLogicalSystem
hmiDisplayLogicalSystem::displayIdentityRecorder
hmiDisplayLogicalSystem::sceneDrawer
hmiDisplayLogicalSystem::displayPresenter
Sourcetextual-notation-of-model/packages/features/hmi/hmi_display_logical_architecture.sysml:198
diagram-hmiDisplayLogicalStructureView.svg
«view» hmiDisplayLogicalStructureView expose hmiDisplayLogicalSystem expose hmiDisplayLogicalSystem::displayIdentityRecorder expose hmiDisplayLogicalSystem::sceneDrawer expose hmiDisplayLogicalSystem::displayPresenter filter not (@ SysML::AllocationUsage) «part» hmiDisplayLogicalSystem : HmiDisplayLogicalSystem doc The HMI display as the views draw it: the one usage of the logical definition. It depicts the context's hmiDisplay and is bound to nothing. ports ^sceneIn : DisplaySceneInbound ^speedIn : DisplaySpeedInbound ^warningRequestIn : DisplayWarningRequestInbound ^contentOut : DisplayContentOutbound ^warningOut : DisplayWarningOutbound perform actions ^hmiDisplayFunctionalFlow ::> hmiDisplayFunctionalFlow : HmiDisplayFunctionalFlow «part» ^displayIdentityRecorder : DisplayIdentityRecorder «part» ^sceneDrawer : SceneDrawer «part» ^displayPresenter : DisplayPresenter

Hover a model element for details open raw SVG.

view hmiDisplayFunctionMappingViewsource ↓

ViewpointselectedFunctionMappingViewpoint (SystemFunctionMappingViewpoint)
View typeMVD::MatrixView
Framed concerns
  • hmiDisplayFunctionMappingConcern own frame
ExposeshmiDisplayFunctionalFlow::recordDisplayIdentity
hmiDisplayFunctionalFlow::drawScene
hmiDisplayFunctionalFlow::judgeCurrency
hmiDisplayFunctionalFlow::showContent
hmiDisplayFunctionalFlow::giveWarning
HmiDisplayLogicalSystem::displayIdentityRecorder
HmiDisplayLogicalSystem::sceneDrawer
HmiDisplayLogicalSystem::displayPresenter
DE4SDV_HmiDisplayLogicalArchitecture::*
Sourcetextual-notation-of-model/packages/features/hmi/hmi_display_logical_architecture.sysml:222
diagram-matrix-hmiDisplayFunctionMappingView.svg
HMI display function-to-logical-element mapping Maps the five functions of the HMI display to the three logical elements that carry them. HMI display function-to-logical-element mapping Rows ↓: system functions (action usages) | Columns →: logical elements (part usages) displayIdentityRecorder sceneDrawer displayPresenter recordDisplayIdentity ↗ drawScene ↗ judgeCurrency ↗ showContent ↗ giveWarning ↗

Hover a model element for details open raw SVG.

view hmiDisplayInternalExchangeViewsource ↓

ViewpointselectedInternalExchangeViewpoint (SystemInternalExchangeViewpoint)
Framed concerns
  • hmiDisplayInternalExchangeConcern own frame
RenderasInterconnectionDiagram
Depth-1
ExposeshmiDisplayLogicalSystem
hmiDisplayLogicalSystem::**
Sourcetextual-notation-of-model/packages/features/hmi/hmi_display_logical_architecture.sysml:264
diagram-hmiDisplayInternalExchangeView.svg
«view» hmiDisplayInternalExchangeView expose hmiDisplayLogicalSystem expose hmiDisplayLogicalSystem::** filter not (@ SysML::AllocationUsage) «part» hmiDisplayLogicalSystem : HmiDisplayLogicalSystem «part» ^displayIdentityRecorder : DisplayIdentityRecorder «part» ^sceneDrawer : SceneDrawer ^sceneIn ^perceivedScene : DisplaySceneInput ^drawnSceneOut ^drawnScene : DrawnScene «part» ^displayPresenter : DisplayPresenter ^sceneIn ^perceivedScene : DisplaySceneInput ^speedIn ^vehicleSpeed : DisplayVehicleSpeedInput ^warningRequestIn ^warningRequest : DisplayWarningRequestInput ^contentOut ^shownContent : DisplayContentOutput ^warningOut ^collisionWarning : DisplayWarningOutput ^drawnSceneIn ^drawnScene : DrawnScene ^sceneIn : DisplaySceneInbound ^perceivedScene : DisplaySceneInput ^speedIn : DisplaySpeedInbound ^vehicleSpeed : DisplayVehicleSpeedInput ^warningRequestIn : DisplayWarningRequestInbound ^warningRequest : DisplayWarningRequestInput ^contentOut : DisplayContentOutbound ^shownContent : DisplayContentOutput ^warningOut : DisplayWarningOutbound ^collisionWarning : DisplayWarningOutput drawnSceneExchange drawnSceneOut drawnSceneIn warningFromPresenterDelegation warningOut warningOut contentFromPresenterDelegation contentOut contentOut warningRequestToPresenterDelegation warningRequestIn warningRequestIn speedToPresenterDelegation speedIn speedIn sceneToPresenterDelegation sceneIn sceneIn sceneToDrawerDelegation sceneIn

Hover a model element for details open raw SVG.

Source

1/*2 * DE4SDV HMI display logical architecture.3 *4 * INC-HMI-001, phase 7: the logical architecture of the HMI display. What5 * technology-independent logical elements realize the five functions of6 * phase 6?7 *8 * The decomposition subject is the system of interest itself, one level below9 * the functional boundary of phase 6: HmiDisplayLogicalSystem specializes10 * HmiDisplayFunctionalBoundary, so it keeps the five boundary ports and gives11 * the display an inside of three logical elements. The context elements of12 * phase 2 stay outside and undivided. Functions stay where phase 6 put them;13 * each is allocated to the element that carries it by a native allocation14 * (allocatedTo), a responsibility assignment, not a realization, deployment or15 * runtime claim.16 *17 * Three elements for five functions (owner decision of 2026-11-24). Functions18 * share an element when nothing requires them to be separately placeable, and19 * split where a requirement constrains the exchange between them or demands20 * that one keeps working when the other does not. The scene drawer carries the21 * drawing of the scene alone: REQ-HMI-009 sets the drawing of the scene apart22 * from the drawing of the vehicle speed and the collision warning, and23 * REQ-HMI-008 asks the speed and the warning to go on through each outage of24 * the drawing of the scene. The presenter carries the judging of the currency,25 * the showing of the content and the giving of the warning: the three share26 * the currency verdict, and no requirement asks one of them to go on when27 * another does not. The identity recorder stands alone because the record28 * covers both other elements and comes before the first frame of either, so29 * phase 8 realizes it beside their software, not inside either.30 *31 * The drawn scenes are the one exchange between elements. Phase 6 allocated32 * REQ-HMI-001 and REQ-HMI-002 to the functions at both of its ends, and their33 * stop leaves the vehicle speed and the warning going, as REQ-HMI-008 asks.34 * REQ-HMI-009 keeps the paths of the inputs inside the boundary: each element35 * takes its inputs from the boundary by delegations of its own, and phase 836 * carries the requirement by the elements it places on those paths.37 * REQ-HMI-010 orders the record before the first frame; phase 6 holds that38 * order by succession, with no item, so it crosses no exchange here. Nothing39 * here names a computer, a process, a transport or a signal catalogue.40 */41package DE4SDV_HmiDisplayLogicalArchitecture {42  private import DE4SDV_Stakeholders::*;43  private import DE4SDV_TraceVocabulary::LogicalAllocationElement;44  private import DE4SDV_HmiDisplayFunctionalArchitecture::HmiDisplayFunctionalBoundary;45  private import DE4SDV_HmiDisplayFunctionalArchitecture::HmiDisplayFunctionalFlow;46  private import DE4SDV_HmiDisplayFunctionalArchitecture::hmiDisplayFunctionalFlow;47  private import DE4SDV_HmiDisplayFunctionalArchitecture::DrawnScene;48  private import DE4SDV_HmiDisplayFunctionalArchitecture::DisplaySceneInbound;49  private import DE4SDV_HmiDisplayFunctionalArchitecture::DisplaySpeedInbound;50  private import DE4SDV_HmiDisplayFunctionalArchitecture::DisplayWarningRequestInbound;51  private import DE4SDV_HmiDisplayFunctionalArchitecture::DisplayContentOutbound;52  private import DE4SDV_HmiDisplayFunctionalArchitecture::DisplayWarningOutbound;53  private import SAF_Viewpoints::*;54  private import SysideViews::**;55  private import Views::*;5657  /* ─── The ports of the exchange inside the HMI display ─── */5859  port def DrawnSceneOutbound {60    doc /*61     * The output port of the drawn scenes: the scene drawer gives one for each62     * scene that it draws, and none while it is out.63     */64    out item drawnScene : DrawnScene;65  }66  port def DrawnSceneInbound {67    doc /*68     * The input port of the drawn scenes: the presenter takes them, and goes69     * on when they stop.70     */71    in item drawnScene : DrawnScene;72  }7374  /* ─── The three logical elements of the HMI display ─── */7576  part def DisplayIdentityRecorder :> LogicalAllocationElement {77    doc /*78     * Carries the recording of the display identity: before the first frame of79     * the HMI display in each run, it records the display identity, whose80     * parts the requirements name one by one. The record covers the scene81     * drawer and the presenter alike and comes before the first frame of82     * either, so it is a responsibility of its own: phase 8 realizes it beside83     * the software of both, not inside either. It exchanges nothing with84     * another element: phase 6 orders the record before the first frame by85     * succession, with no item.86     */87  }8889  part def SceneDrawer :> LogicalAllocationElement {90    doc /*91     * Carries the drawing of the scene: it draws each scene that reaches the92     * HMI display, or a newer one, with the object that the system acts on,93     * when the scene has one, as an element of its own, and gives each scene94     * that it draws, with the time of that scene, to the presenter, and none95     * while it, or the environment that hosts it, is out. It is the only96     * element that draws the scene, and it takes nothing from another element.97     * It stands alone because REQ-HMI-009 sets the drawing of the scene apart98     * from the drawing of the vehicle speed and the collision warning, and the99     * other elements go on through each of its outages: phase 8 realizes it on100     * the software that draws the scene, apart from the presenter.101     */102    port sceneIn : DisplaySceneInbound;103    port drawnSceneOut : DrawnSceneOutbound;104  }105106  part def DisplayPresenter :> LogicalAllocationElement {107    doc /*108     * Carries what the driver gets from the HMI display: it judges the109     * currency of each element and of the warning request, shows the drawn110     * scene and the vehicle speed, each element as outdated while it is111     * outdated and the collision warning as unavailable while the warning112     * request is outdated, and gives the collision warning on the display and113     * as a sound. The three functions share the currency verdict, and no114     * requirement asks one of them to go on when another does not, so they115     * share one element. It takes the scene only to judge its currency, and116     * nothing from the scene drawer but the drawn scenes, so it goes on117     * through each outage of the drawing of the scene. Phase 8 realizes it on118     * the side that draws the vehicle speed and the collision warning, apart119     * from the scene drawer.120     */121    port sceneIn : DisplaySceneInbound;122    port speedIn : DisplaySpeedInbound;123    port warningRequestIn : DisplayWarningRequestInbound;124    port drawnSceneIn : DrawnSceneInbound;125    port contentOut : DisplayContentOutbound;126    port warningOut : DisplayWarningOutbound;127  }128129  /* ─── The HMI display one level inside its boundary ─── */130131  part def HmiDisplayLogicalSystem :> HmiDisplayFunctionalBoundary {132    doc /*133     * The HMI display of phase 2, one level inside the functional boundary of134     * phase 6: the same system, now with its three logical elements and the135     * exchanges between them. The boundary ports are inherited and delegated136     * to the elements that take or provide their items: the scene goes to the137     * scene drawer and to the presenter, the vehicle speed and the warning138     * request to the presenter, and what the display shows and the collision139     * warning leave from the presenter. Inside, the drawn scenes go from the140     * scene drawer to the presenter, the one exchange between elements. No141     * exchange runs from the presenter to another element, nothing runs into142     * the scene drawer from another element, and the identity recorder143     * exchanges nothing. This definition names no computer, process, transport144     * or technology. hmiDisplayLogicalSystem is its usage for the views, which145     * draw usages. It depicts the context's hmiDisplay, whose definition this146     * one specializes, and is bound to nothing.147     */148    part displayIdentityRecorder : DisplayIdentityRecorder;149    part sceneDrawer : SceneDrawer;150    part displayPresenter : DisplayPresenter;151152    // The boundary items, delegated from the inherited ports of phase 6.153    connection sceneToDrawerDelegation connect sceneIn to sceneDrawer.sceneIn;154    connection sceneToPresenterDelegation connect sceneIn to displayPresenter.sceneIn;155    connection speedToPresenterDelegation connect speedIn to displayPresenter.speedIn;156    connection warningRequestToPresenterDelegation connect warningRequestIn to displayPresenter.warningRequestIn;157    connection contentFromPresenterDelegation connect displayPresenter.contentOut to contentOut;158    connection warningFromPresenterDelegation connect displayPresenter.warningOut to warningOut;159160    // The exchange between the elements.161    connection drawnSceneExchange connect sceneDrawer.drawnSceneOut to displayPresenter.drawnSceneIn;162  }163164  part hmiDisplayLogicalSystem : HmiDisplayLogicalSystem {165    doc /*166     * The HMI display as the views draw it: the one usage of the logical167     * definition. It depicts the context's hmiDisplay and is bound to nothing.168     */169  }170171  /* ─── Function-to-logical-element allocations (allocatedTo) ─── */172173  allocation recordDisplayIdentityAllocation174    allocate HmiDisplayFunctionalFlow::recordDisplayIdentity to HmiDisplayLogicalSystem::displayIdentityRecorder;175  allocation drawSceneAllocation176    allocate HmiDisplayFunctionalFlow::drawScene to HmiDisplayLogicalSystem::sceneDrawer;177  allocation judgeCurrencyAllocation178    allocate HmiDisplayFunctionalFlow::judgeCurrency to HmiDisplayLogicalSystem::displayPresenter;179  allocation showContentAllocation180    allocate HmiDisplayFunctionalFlow::showContent to HmiDisplayLogicalSystem::displayPresenter;181  allocation giveWarningAllocation182    allocate HmiDisplayFunctionalFlow::giveWarning to HmiDisplayLogicalSystem::displayPresenter;183184  /* ─── Views ─── */185186  concern hmiDisplayLogicalStructureConcern : ConceptualStructureConcern {187    doc /*188     * System architects and software developers need the logical elements of189     * the HMI display, one level inside its functional boundary, each with the190     * responsibility it carries and its ports, before phase 8 places software191     * on them: which elements there are, and why each stands alone.192     */193    subject;194    stakeholder systemArchitect : SystemArchitect;195    stakeholder softwareDeveloper : SoftwareDeveloper;196  }197198  view hmiDisplayLogicalStructureView {199    viewpoint selectedLogicalStructureViewpoint : SystemStructureDefinitionViewpoint {200      frame hmiDisplayLogicalStructureConcern;201    }202    expose hmiDisplayLogicalSystem;203    expose hmiDisplayLogicalSystem::displayIdentityRecorder;204    expose hmiDisplayLogicalSystem::sceneDrawer;205    expose hmiDisplayLogicalSystem::displayPresenter;206    filter not (@ SysML::AllocationUsage);207    render asTreeDiagram;208  }209210  concern hmiDisplayFunctionMappingConcern : ConceptualFunctionMappingConcern {211    doc /*212     * System architects and verification engineers need each function of213     * phase 6 allocated to the logical element that carries it, and each214     * element carrying a function: phase 8 places the elements, and phase 10215     * verifies each requirement on the functions of its element.216     */217    subject;218    stakeholder systemArchitect : SystemArchitect;219    stakeholder verificationEngineer : VerificationEngineer;220  }221222  view hmiDisplayFunctionMappingView : MVD::MatrixView {223    viewpoint selectedFunctionMappingViewpoint : SystemFunctionMappingViewpoint {224      frame hmiDisplayFunctionMappingConcern;225    }226    view :>> rowView {227      expose hmiDisplayFunctionalFlow::recordDisplayIdentity;228      expose hmiDisplayFunctionalFlow::drawScene;229      expose hmiDisplayFunctionalFlow::judgeCurrency;230      expose hmiDisplayFunctionalFlow::showContent;231      expose hmiDisplayFunctionalFlow::giveWarning;232      attribute :>> includeReferenceElements = true;233      attribute :>> representation = Rep::name;234    }235    view :>> columnView {236      expose HmiDisplayLogicalSystem::displayIdentityRecorder;237      expose HmiDisplayLogicalSystem::sceneDrawer;238      expose HmiDisplayLogicalSystem::displayPresenter;239      attribute :>> includeReferenceElements = true;240      attribute :>> representation = Rep::name;241    }242    view :>> cellView {243      expose DE4SDV_HmiDisplayLogicalArchitecture::*;244      attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;245    }246  }247248  concern hmiDisplayInternalExchangeConcern : ConceptualInternalExchangeConcern {249    doc /*250     * Systems engineers and software developers need the exchanges between the251     * logical elements of the HMI display, the item each carries and its252     * direction: the drawn scenes, the one exchange between elements, which253     * carries REQ-HMI-001 and REQ-HMI-002 across two elements and whose stop254     * leaves the vehicle speed and the warning going (REQ-HMI-008); and the255     * boundary items delegated to the elements that take or provide them, on256     * paths that REQ-HMI-009 keeps inside the boundary. Phase 8 places each257     * exchange on a technology.258     */259    subject;260    stakeholder systemsEngineer : SystemsEngineer;261    stakeholder softwareDeveloper : SoftwareDeveloper;262  }263264  view hmiDisplayInternalExchangeView {265    viewpoint selectedInternalExchangeViewpoint : SystemInternalExchangeViewpoint {266      frame hmiDisplayInternalExchangeConcern;267    }268    expose hmiDisplayLogicalSystem;269    expose hmiDisplayLogicalSystem::**;270    filter not (@ SysML::AllocationUsage);271    attribute depth = -1;272    attribute showAnnotationRows = false;273    render asInterconnectionDiagram;274  }275}276