Service Editor
The
Service Editor supports you in managing your Service Deployments.
Open Service Editor |
CTRL + SHIFT + D, S |
Service Interfaces
The communication of an Adaptive platform is service oriented in nature, which means its functionalities mainly consist of Services being consumed and provided among its components. The element Service Interface is the means to model access to these functionalities, as the Services are made available through method, events, or fields. It also ensures compatibility between components by formalizing what kind of information these Services will be expected to exchange.
Service Deployment
Depending on where two communicating Software Components are located, different forms of communication bindings are more preferable. For instance, when the communication takes place between two Software Components on the same machine, IPC (Inter-Process Communication) would be appropriate, while SOME/IP would be more appropriate for communication spanning between two different machines.
|
|
Inter-Process Communication |
SOME/IP Communication |
The communication to be used can be defined by the element Service Interface Deployment, which is also used to set a unique ID with which the Service can be identified.
Service Instances
When a Service described by a Service Interface shall be deployed, an instantiation of it must be modeled. A Service Instance is represented by either required or provided Service Instance elements. Depending on which communication to use, different types of instances must be modeled, for example Provided SOME/IP Service Instance. Using mappings, the Service Instance can be allocated to the Machine and Process which will provide or consume the Service. The Service Instances are also given a unique ID, which is used for identification on the network.
Open Editor
To open the Service Editor, expand your DaVinci Adaptive project in the
DaVinci Project Explorer and double
click on
Open Project Dashboard. The Project Frame
opens showing the Project Home. You can then
open the Service Editor as follows:
-
Open the
Editor menu on the top right of the Project Dashboard and click the
Service Editor command. -
Alternatively, use the context menu command
Service Editor of the
Open Project Dashboard node in the
DaVinci Project Explorer. -
Alternatively, on the Dashboard page of the Project Home, click
Service Editor in the Comfort Editors area. -
Alternatively, on the Dashboard page of the Project Home, click the arrow of the Current Focus drop-down list and select Machine Integration. In the Service Interface Deployments area, click the Edit button (this requires at least one created Service Interface Deployment).
-
Alternatively, use the context menu command
Open in Service Editor of a Service Instance, Service Instance To Port
Prototype or Machine Mapping, Service Interface, or Service Interface
Deployment in the AUTOSAR Model
Explorer.
The Service Editor opens in a new tab of the Project Frame.
Functionality
The Service Editor provides the functionalities listed below. If not
otherwise mentioned, the functionalities available in the
Form mode are described.
If you want to manage the properties of an element textually, switch to
the
DML mode
via the toolbar and refer to
DaVinci Modeling Language
Editor for more information.
| Tree View Structure | Description of Functionalities |
|---|---|
|
Select a Service Interface in the tree view on the left side of the editor. The form page provides the following options:
|
|
Select a SOME/IP Service Interface Deployment in the tree view on the left side of the editor. At the top of the form page, the general properties are displayed and can be modified:
Deployment Configuration Area The Deployment Configuration area contains the tabs Methods, Fields, Events, and Event Groups of the SOME/IP Service Interface Deployment. You can modify the Deployment Configuration as follows:
Instances Area The form page provides the following options:
|
|
Select a SOME/IP Service Instance in the tree view on the left side of the editor. At the top of the form page, the general properties are displayed and can be modified:
Load Balancing (Optional) Area This area is only available for Provided Service Instances. Use the [+] icon to expand the Load Balancing area. You can enter the Priority and Weight for the selected Service Instance. Provided/Required Event Groups For each event group in the service interface deployment, an event group element in the provided/required service instance can be created. These elements allow configuration of multicast and timing. Mappings Area The Mappings area contains a tab for Machine, Port, and Signal Mappings. You can modify the Mappings as follows:
General Functions
|
MICROSAR Adaptive Parameters Area
This area contains MICROSAR Adaptive Parameters that are specified as Model Extensions (MEX) in the MICROSAR Adaptive BSW Package. Parameters for the selected AUTOSAR model element are displayed in the table of the MICROSAR Adaptive Parameters area on the respective pages of the Service Editor. Select a parameter in the table to view the editing options.
|
For more information on the MICROSAR Adaptive Parameters, refer to the
Technical Reference in the |










