Spis treści

Hekate Case Telco

Paweł Grzesiak, p2grzesiak@gmail.com

:!: Find, analyze, reverse engineer some telco billing/services systems. Model rules using the HeKatE process.

Examples:

Meetings

20090305

Problems

:?: :!: How to describe (ARD chart as well as original rules) services management - dependency between time, duration, payment and packets?

:?: :!: Concept of ARD diagram

Project

VARDA / ARD+ Research

Read available materials and documentation about VARDA and ARD+ which are to be found here:

VARDA Installation

Installation according to the instructions available here was successfully conducted on a machine running Microsoft® Windows Vista™ Business 64-bit.

The only problem to overcome was that the Windows installer available on the official Graphviz website http://www.graphviz.org/ does not add the folder where these tools are installed (e.g. C:\Program Files\Graphviz 2.21\bin) to the Windows %PATH% environmental variable so I could not run dot.exe directly from the command line.

The solution was as follows:

HQEd Installation

Compillation according to the instructions available here was successfully conducted under Kubuntu 9.04 32-bit.

HJEd

Use HJEd tool to build ARD+ and TPH diagrams for PlusGSM Case

Conceptualization

Attributes

Day

Hour

Today

Daytime

Operator

ServiceType

Duration

Tariff

Packets

DurationToCover

Charge

FA

FS

FWP

FP

Rules

Rule: 1   
if 	Hour is between 18 and 23
or 	Hour is between 0 and 5    
then   	Daytime is night

Rule: 2   
if 	Hour is between 6 and 17
then   	Daytime is day

Rule: 3   
if    	Day is mon
or   	Day is tue
or   	Day is wed	
or   	Day is thu	
or   	Day is fri		
then   	Today is workday

Rule: 4   
if   	Day is sat	
or   	Day is sun		
then   	Today is weekend

Rule: 5   
if     	ServiceType is MMS
then   	Packets is None

Rule: 6   
if     	ServiceType is SMS
then   	Packets is FreeSMS

Rule: 7
if     	ServiceType is CALL and Operator is not PLUS
then	Packets is FA

Rule: 8   
if     	ServiceType is CALL and Operator is PLUS and Today is weekend
then	Packets is FWP;FP;FA

Rule: 9  
if     	ServiceType is CALL and Operator is PLUS and Daytime is night
then	Packets is FWP;FP;FA

Rule: 10   
if     	ServiceType is CALL and Operator is PLUS and Today is not weekend and Daytime is not night
then	Packets is FP;FA

Rule: 11 
if     	Packets is None and Duration > 0
then   	DurationToCover is Duration

Rule: 12   
if     	Packets is FreeSMS and Duration > 0 and FS >= 0
then   	DurationToCover is ((FS – Duration) * -1)

Rule: 13
if     	Packets is FA and Duration > 0 and FA >= 0
then   	DurationToCover is ((FA – Duration) * -1)

Rule: 14
if     	Packets is FP;FA and Duration > 0 and FA >= 0 and FP >= 0
then   	DurationToCover is (((FA+FP) – Duration) * -1)

Rule: 15
if     	Packets is FWP;FP;FA and Duration > 0 and FA >= 0 and FP >= 0 and FWP >= 0
then   	DurationToCover is (((FWP+FA+FP) – Duration) * -1)

Rule: 16
if	ServiceType is MMS
then	Charge is (DurationToCover * 0.4)

Rule: 17
if	ServiceType is SMS and DurationToCover > 0
then	Charge is (DurationToCover * 0.18)

Rule: 18
if	ServiceType is CALL and DurationToCover > 0 and Operator is P4
then	Charge is (DurationToCover * (0.72 / 60))

Rule: 19
if	ServiceType is CALL and DurationToCover > 0 and Operator is not P4 and (Tariff is TS25 or Tariff is TS40)
then	Charge is (DurationToCover * (0.58 / 60)

Rule: 20
if	ServiceType is CALL and DurationToCover > 0 and Operator is not P4 and (Tariff is TS55 or Tariff is TS75 or Tariff is TS90 or Tariff is TS120)
then	Charge is (DurationToCover * (0.48 / 60)

Design

ARD+ Diagram

TPH Diagram

XTT Diagram

Logical Design

Project Files

Materials