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 />

(Value 0 to 255)<br />

Accounting.-<br />

Input-Octets<br />

Unsigned64 BytesToUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

Accounting-<br />

Input-Packets<br />

Unsigned64 PacketsToUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

DSCP Unsigned32 DSCP TINYINT UNSIGNED<br />

(Value 0 to 255)<br />

Accounting-<br />

Output-Octets<br />

Unsigned64 BytesFromUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

Accounting-<br />

Output-Packets<br />

Unsigned64 PacketsFromUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

Table 26. Comparison of DIAMETER parameters and MySQL data types<br />

All other DIAMETER parameters shall not be saved in this MySQL Database, since they are not used by<br />

the charging component and would only occupy place.<br />

The accounting information about flows is as general as possible. Therefore it is possible that the flows<br />

from and to the user (from the user’s point of view) can contain different DSCP values.<br />

Table 27 describes all data types that will be needed by the charging component.<br />

MySQL<br />

MySQL<br />

Example<br />

Remarks<br />

Column Name Data Type<br />

AccID INT UNSIGNED Primary key,<br />

auto_increment<br />

UserID VARCHAR (255) hans.muster@abc.com Must be globally unique<br />

(Max. 2^8 – 1<br />

Characters)<br />

SessionID VARCHAR (255) Exact structure see Must be globally unique<br />

(Max. 2^8 – 1<br />

Characters)<br />

4.5.4.5.1.2<br />

SessionTime INT UNSIGNED<br />

(32 Bit Unsigned)<br />

1350 Duration of current session,<br />

measured in seconds.<br />

EventTime DATETIME 2002-12-31 22:40:11 Time when the record was<br />

AcctType<br />

DataUsed<br />

ENUM(“start”,<br />

”interim”, “stop”,<br />

“event”)<br />

Start<br />

generated.<br />

Defines whether the entry<br />

is from a start, interim or<br />

end accounting request<br />

TINYINT<br />

UNSIGNED<br />

(Va lue 0 to 255)<br />

0 or 1 If a row was used for<br />

charging, then the value of<br />

this parameter is set to 1<br />

otherwise the value will be<br />

0.<br />

Table 27. First MySQL table “accounting records”<br />

MySQL MySQL<br />

Remarks<br />

Column Name Data Type<br />

AccID INT UNSIGNED Foreign key from table<br />

“accountingrecords”<br />

FTID INT UNSIGNED Primary key,<br />

auto_increment<br />

BytesToUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

PacketsToUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

DSCP<br />

TINYINT<br />

UNSIGNED<br />

(Value 0 to 255)<br />

BytesFromUser BIGINT UNSIGNED<br />

(64 Bit Unsigned)<br />

D0103v1.doc 126 / 168

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

Saved successfully!

Ooh no, something went wrong!