Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:miw:2009:hekate_case_telco [2009/06/25 11:33] jsi08 |
pl:miw:2009:hekate_case_telco [2019/06/27 15:50] (aktualna) |
| |
* Plus | * Plus |
* Era | |
* Play | |
* Orange | |
| |
====== Meetings ====== | ====== Meetings ====== |
* Varda description [[hekate:bib:hekate_bibliography#gjn2008flairs-ardprolog]] | * Varda description [[hekate:bib:hekate_bibliography#gjn2008flairs-ardprolog]] |
| |
==== TODO ==== | |
| |
| |
===== HQEd Installation ===== | ===== HQEd Installation ===== |
| |
Compillation according to the instructions available [[hekate:hqed|here]] was successfully conducted under Kubuntu 9.04 32-bit | Compillation according to the instructions available [[hekate:hqed|here]] was successfully conducted under Kubuntu 9.04 32-bit. |
| |
===== HJEd ===== | ===== HJEd ===== |
| |
* Use HJEd tool to build **ARD+** and **TPH** diagrams for **PlusGSM Case** | Use HJEd tool to build **ARD+** and **TPH** diagrams for **PlusGSM Case** |
| |
| |
===== Conceptualization ===== | ===== Conceptualization ===== |
==== PlusGSM ==== | ==== Attributes ==== |
=== Original Rules === | === Day === |
| *Type: **symbolic** |
| *Description: **Respresents day of week** |
| *Acceptable values: |
| * **mon** for monday |
| * **tue** for tuesday |
| * **wed** for wednesday |
| * **thu** for thurstday |
| * **fri** for friday |
| * **sat** for saturday |
| * **sun** for sunday |
| |
| === Hour === |
| *Type: **decimal** |
| *Description: **Respresents full hour of start time of the service** |
| *Acceptable values: |
| * **0** to **23** for 24h time format |
| |
| === Today === |
| *Type: **symbolic** |
| *Description: **Respresents type of the day** |
| *Possible values: |
| * **weekend** |
| * **workday** |
| |
| === Daytime === |
| *Type: **symbolic** |
| *Description: **Respresents part of the day** |
| *Possible values: |
| * **day** |
| * **night** |
| |
| === Operator === |
| *Type: **symbolic** |
| *Description: **Respresents operator of the receiver of the service** |
| *Possible values: |
| * **PLUS** |
| * **P4** |
| * **ERA** |
| * **ORANGE** |
| |
| === ServiceType === |
| *Type: **symbolic** |
| *Description: **Respresents type of the service** |
| *Possible values: |
| * **SMS** |
| * **MMS** |
| * **CALL** |
| |
| === Duration === |
| *Type: **decimal** |
| *Description: **Respresents duration of the service (seconds for CALL / amount for MMS or SMS)** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| |
| === Tariff === |
| *Type: **symbolic** |
| *Description: **Respresents the tariff** |
| *Possible values: |
| * **TS25** for Taryfa Syberyjska 25 |
| * **TS40** for Taryfa Syberyjska 40 |
| * **TS55** for Taryfa Syberyjska 55 |
| * **TS75** for Taryfa Syberyjska 75 |
| * **TS90** for Taryfa Syberyjska 90 |
| * **TS120** for Taryfa Syberyjska 120 |
| |
| === Packets === |
| *Type: **symbolic** |
| *Description: **Respresents set of packets used to cover the service** |
| *Possible values: |
| * **FreeSMS** for Free SMS Packet |
| * **FA** for Free to All Packet |
| * **FWP** for Free to All in Plus on Weekends and Evenings Packet |
| * **FP** for Free to All in Plus Packet |
| * **None** for no packet |
| * any combinantion like **FP+FA** or **FWP+FP+FA** which indicates that more than one packet is capable of covering service cost |
| |
| |
| === DurationToCover === |
| *Type: **decimal** |
| *Description: **Respresents part of the service that packets cannot cover and for which charge will be calculated** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| === Charge === |
| *Type: **decimal** |
| *Description: **Respresents calcualted charge for the service** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| === FA === |
| *Type: **decimal** |
| *Description: **Respresents amount of free calls (in seconds) for Free to All Packet** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| === FS === |
| *Type: **decimal** |
| *Description: **Respresents amount of free messages for Free SMS Packet** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| === FWP === |
| *Type: **decimal** |
| *Description: **Respresents amount of free calls (in seconds) for Free to All in Plus on Weekends and Evenings Packet** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| === FP === |
| *Type: **decimal** |
| *Description: **Respresents amount of free calls (in seconds) for Free to All in Plus Packet** |
| *Possible values: |
| * **decimal >= 0** values |
| |
| |
| |
| ==== Rules ==== |
| |
<code> | <code> |
// Time of day | |
Rule: 1 | Rule: 1 |
if Hour is between 18 and 23 | if Hour is between 18 and 23 |
then Daytime is day | then Daytime is day |
| |
//Day of week | |
Rule: 3 | Rule: 3 |
if Day is mon | if Day is mon |
then Today is weekend | then Today is weekend |
| |
//Packet choosing | |
Rule: 5 | Rule: 5 |
if ServiceType is MMS | if ServiceType is MMS |
Rule: 6 | Rule: 6 |
if ServiceType is SMS | if ServiceType is SMS |
then Packets is FreSMS | then Packets is FreeSMS |
| |
Rule: 7 | Rule: 7 |
then Packets is FP;FA | then Packets is FP;FA |
| |
//Duration to Cover | |
Rule: 11 | Rule: 11 |
if Packets is None and Duration > 0 | if Packets is None and Duration > 0 |
then DurationToCover is (((FWP+FA+FP) – Duration) * -1) | then DurationToCover is (((FWP+FA+FP) – Duration) * -1) |
| |
//Charge | |
Rule: 16 | Rule: 16 |
if ServiceType is MMS | if ServiceType is MMS |
</code> | </code> |
| |
=== TODO === | ===== Design ===== |
| |
=== Revision 1 === | |
| |
| ==== ARD+ Diagram ==== |
{{:pl:miw:2009:hekate_case_telco:gsm2-ard.png|}} | {{:pl:miw:2009:hekate_case_telco:gsm2-ard.png|}} |
| |
| ==== TPH Diagram ==== |
{{:pl:miw:2009:hekate_case_telco:gsm2-tph.png|}} | {{:pl:miw:2009:hekate_case_telco:gsm2-tph.png|}} |
| |
| ==== XTT Diagram ==== |
{{:pl:miw:2009:hekate_case_telco:gsm2-xtt.png|}} | {{:pl:miw:2009:hekate_case_telco:gsm2-xtt.png|}} |
| |
| ==== Logical Design ==== |
{{:pl:miw:2009:hekate_case_telco:xtt.png|}} | {{:pl:miw:2009:hekate_case_telco:xtt.png|}} |
| |
====== Documentation ====== | ====== Project Files ====== |
====== Presentation ====== | * [[hekate:hjed]] project {{:pl:miw:2009:hekate_case_telco:gsm2.xml|XML file}} |
| * Generated by [[hekate:hjed]] {{:pl:miw:2009:hekate_case_telco:gsm2.pl|PL file}} for [[hekate:varda]] usage |
| * Generated by [[hekate:varda]] {{:pl:miw:2009:hekate_case_telco:gsm2.xttml|XTTML file}} for [[hekate:hqed]] usage |
| * [[hekate:hqed]] project {{:pl:miw:2009:hekate_case_telco:gsm2u.xttml|HML file}} - due to wiki file restrictions please change the extension to **HML** after downloading the file |
====== Materials ====== | ====== Materials ====== |
* Official Graphviz website http://www.graphviz.org/ | * Official Graphviz website http://www.graphviz.org/ |
* PlusGSM Taryfy Syberyjskie http://www.plus.pl/oferta_indywidualna/plus_abonament/taryfy/taryfy_syberyjskie/ | * PlusGSM Taryfy Syberyjskie http://www.plus.pl/oferta_indywidualna/plus_abonament/taryfy/taryfy_syberyjskie/ |