27.03.2014 Views

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D0103v1.doc Version 1 6.7.2003<br />

course, the accounting data needs to contain information about roaming, in order to allow the charging<br />

component selecting different tariffs (i.e. roaming tariffs).<br />

4.5.4.1 DIAMETER Messages vs. Entries in the Accounting Database<br />

In this context, three kind of DIAMETER messages are of interest: “start”, “interim” and “end” messages.<br />

When a session starts, the DIAMETER “start” message will add the first row of the current session to the<br />

accounting database. This first row is mandatory. Section 0 describes in details how the parameters have<br />

to be defined. When a session is running, DIAMETER “interim” messages are being generated. When a<br />

session ends, a DIAMETER “end” message will be generated and the last row for this current session will<br />

be added to the accounting database. This last row is mandatory like the first row.<br />

It is important that the accounting database is consistent! It’s up to the accounting system, to ensure the<br />

consistency. Therefore, accounting for the current session x has to produce the following entries in the<br />

accounting database:<br />

“start” message => first row for session x<br />

“interim” messages<br />

“end” message => last row for session x<br />

Therefore, accounting for a session x, will at least yield to two rows in the accounting database 1 .<br />

4.5.4.2 Sessions<br />

<strong>Moby</strong> <strong>Dick</strong> uses the concept of sessions. The next subsections give some more details about the (<strong>Moby</strong><br />

<strong>Dick</strong>) session concept. In general, each session is defined with a unique session ID and is associated with<br />

a user.<br />

Note: It is possible that a user can have more than one open session.<br />

4.5.4.2.1 Start of a Session<br />

A session can start after the following two events:<br />

1. A user switches on his MN and requests authentication and authorization. After successfully<br />

passing AA, the user will be associated with a session ID.<br />

2. A user moves from one AR to another, i.e. handover takes place. The “new” AR will associate a<br />

new session ID to the user.<br />

3. A new user logs in a MN.<br />

All events will yield to a DIAMETER “start” message and will eventually define the first row of a session<br />

in the accounting DB.<br />

Note: When the user starts a new application (e.g. VoIP) within a current session, then there will be new<br />

flows set up (with certain DSCP values), but not a new session.<br />

It is possible that two different applications generate flows with the same DSCP values; therefore it is not<br />

possible to conclude from an observed flow (i.e. the accounting data in the DB) to a certain application.<br />

4.5.4.2.2 Termination of a Session<br />

A session will be terminated after the following three events:<br />

1. A user switches off his MN.<br />

2. A user moves from one AR to another, i.e. handover takes place. The “old” session from the<br />

previous AR has to be closed.<br />

3. The lifetime of a session is reached, cf. section 4.5.4.2.4.<br />

All events will yield to a DIAMETER “end” message and will eventually define the last row of a session<br />

in the accounting DB.<br />

It is important to note that only closed sessions will be used for the charging process, cf. section 4.5.4.2.5.<br />

1 If the duration of a session is shorter than the interval of diameter „interim“ messages then the accounting DB will<br />

contains only two rows.<br />

D0103v1.doc 122 / 168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!