Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

Client Server Communication Configuration

By
Ragavendran

RTE
Agenda

 Introduction to Client Server Communication


 Synchronous Communication
 Asynchronous Communication
 Basic Entities required for CS communication
 How to configure Intra ECU communication for CS
 How to configure Inter ECU communication for CS
 How to configure Ecu Extract for the configured System Description
 Practice on client Server communication

2 © KPIT Technologies Limited


Introduction to Client Server Communication

Client 1
ASWC

Server Client 2
S-SWC
ASWC

Client 3
ASWC

3 © KPIT Technologies Limited


Synchronous Communication

Client Request
[Rte_Call]
Server Request

Application Client Reponse RTE Server


[return Rte_Call] Server Response

4 © KPIT Technologies Limited


Asynchronous Communication

Client Request
[Rte_Call]

[return Rte_Call]
Server Request
Application RTE Server
Client Notify Server Response

Client Response
[Rte_Result]

5 © KPIT Technologies Limited


Example
SWC-1 SWC-2

Runnable – 1
{ Runnable – 2(Arg -1 )
- {
- -
- -
status = Rte_call….(data1, &result); -
- Return (Result);
- }
}

RTE.C

Rte_Call…(IN data1, OUT Result)


{
*Result = Runnable – 2(data1);
}

6 © KPIT Technologies Limited


Basic Entities required for Client Server [Intra]

Application SW Component (Client) [R-port] [1..*]


• Client Runnable [Runnable entity]
• Synchronous / Asynchronous Server call point.
• R-Port

Service SW Component (Server) [P-port][1..1]


• Operation Invoked Event
• Server Runnable [Runnable Entity]
• P-Port

Client Server Interface


• Operation
• Arguments
• Direction

Data type

Connectors

7 © KPIT Technologies Limited


Basic Entities required for Client Server [Inter]

Application SW Component (Client) [R-port] [1..*]



Client Runnable [Runnable entity]

Synchronous / Asynchronous Server call point.

R-Port

Service SW Component (Server) [P-port][1..1]



Operation Invoked Event

Server Runnable [Runnable Entity]

P-Port

Client Server Interface



Operation

Arguments

Direction

Data type

Com Signal Mapping

8 © KPIT Technologies Limited


Basic entities for Ecu description

• Rte
– Rte Event To Task Mapping
• Position in Task
• Task Reference
• Event reference
• Os
– Alarm
• Task Reference
• Event Reference
• Counter reference
– Counter
• Os Second per tick
– Task
• Task Priority
• Com
– Com Signals

9 © KPIT Technologies Limited © KPIT Cummins Infosystems Ltd.


Thank you

© KPIT Technologies Limited


Mapping of Com Signal for Inter ECU Communication

System Signal
System
SR to signal mapping
Isignal
• Ports
• CS Interface
• Component Prototype
• System Signal
• Argument Mapping
Isignal to IPDU

Ecu Extract
Mapping to Com
signal

11 © KPIT Technologies Limited


Assembly Connector

• Assembly Connector

Composition

COMPONENT PROTOTYPE
• Component Path

PROVIDER-IREF
• Component
Prototype
• P-Port
REQUESTER -IREF
• Component
Prototype
• R-Port

12 © KPIT Technologies Limited


Delegation Connector

• Delegation Connector

Composition 1
Composition 2
INNER-PORT-IREF Component
(Assembly Prototype
Connector)
Component Prototype • Component Path
• Port

PROVIDER-IREF
• Component
Port Prototype
• P-Port / Port Out
REQUESTER -IREF
• Component
OUTTER-PORT-IREF
Prototype
• Port Out
• R-Port / Port Out

13 © KPIT Technologies Limited © KPIT Cummins Infosystems Ltd.

You might also like