Hi Ganesh,
First we need to understand the difference between connection and session.
+--------+ +-------+ +--------+
| Client | | Relay | | Server |
+--------+ +-------+ +--------+
<----------> <---------->
peer connection A peer connection B
<----------------------------->
User session x
A connection refers to a transport-level connection between two peers that is used to send and receive Diameter messages.
A session is a logical concept at the application layer that exists between the Diameter client and the Diameter server; it is identified via the Session-Id AVP.
So now u can understand where DPR/DPA and STR/STA will fit.
I Hope you get some idea.