Cloud-oriented implementation of a mobile transaction fraud detection system
- Attributes:
Subscriber_ID(Primary Key)NamePhone_NumberEmailAddressJoin_DateDevice_ID(Foreign Key referencingDEVICE_INFO.Device_ID)
- Attributes:
Message_ID(Primary Key)Sender_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)Receiver_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)Message_Type(e.g., SMS, MMS)Content(optional, encrypted or anonymized for privacy)TimestampStatus(e.g., Sent, Delivered, Failed)
- Attributes:
Transaction_ID(Primary Key)Subscriber_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)Transaction_Type(e.g., Recharge, Bill Payment)AmountTimestampPayment_Method(e.g., Credit Card, Mobile Money)
- Attributes:
Call_ID(Primary Key)Subscriber_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)Phone_Number(destination number)Call_Type(e.g., Incoming, Outgoing, Missed)Call_StartCall_EndDurationCall_Status(e.g., Completed, Failed)
- Attributes:
SIM_ID(Primary Key)Subscriber_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)IMSI(International Mobile Subscriber Identity)ICCID(Integrated Circuit Card Identifier)CarrierActivation_DateDeactivation_Date(nullable)
- Attributes:
Traffic_ID(Primary Key)Subscriber_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)IP_AddressURL_VisitedTimestampProtocol(e.g., HTTP, HTTPS)Data_Transferred(volume in MB)Geo_LocationTraffic_Status(e.g., Allowed, Blocked)
- Attributes:
Device_ID(Primary Key)Subscriber_ID(Foreign Key referencingSUBSCRIBER.Subscriber_ID)Device_Type(e.g., Smartphone, Tablet)OS_VersionIMEI(International Mobile Equipment Identity)ManufacturerModel
-
SUBSCRIBER → MESSAGE:
SUBSCRIBERis related toMESSAGEviaSender_IDandReceiver_ID.- Referential Integrity:
Sender_IDandReceiver_IDinMESSAGEmust exist asSubscriber_IDinSUBSCRIBER.
-
SUBSCRIBER → TRANSACTION:
SUBSCRIBERis related toTRANSACTIONviaSubscriber_ID.- Referential Integrity:
Subscriber_IDinTRANSACTIONmust exist inSUBSCRIBER.
-
SUBSCRIBER → CALL_LOG:
SUBSCRIBERis related toCALL_LOGviaSubscriber_ID.- Referential Integrity:
Subscriber_IDinCALL_LOGmust exist inSUBSCRIBER.
-
SUBSCRIBER → SIM_INFO:
SUBSCRIBERis related toSIM_INFOviaSubscriber_ID.- Referential Integrity:
Subscriber_IDinSIM_INFOmust exist inSUBSCRIBER.
-
SUBSCRIBER → ISP_DATA_TRAFFIC:
SUBSCRIBERis related toISP_DATA_TRAFFICviaSubscriber_ID.- Referential Integrity:
Subscriber_IDinISP_DATA_TRAFFICmust exist inSUBSCRIBER.
-
SUBSCRIBER → DEVICE_INFO:
SUBSCRIBERis related toDEVICE_INFOviaSubscriber_ID.- Referential Integrity:
Subscriber_IDinDEVICE_INFOmust exist inSUBSCRIBER.
-
SUBSCRIBER:
- Central entity, connected to
MESSAGE,TRANSACTION,CALL_LOG,SIM_INFO,ISP_DATA_TRAFFIC, andDEVICE_INFO.
- Central entity, connected to
-
MESSAGE:
- Connected to
SUBSCRIBER(Sender and Receiver).
- Connected to
-
TRANSACTION:
- Connected to
SUBSCRIBER.
- Connected to
-
CALL_LOG:
- Connected to
SUBSCRIBER.
- Connected to
-
SIM_INFO:
- Connected to
SUBSCRIBER.
- Connected to
-
ISP_DATA_TRAFFIC:
- Connected to
SUBSCRIBER.
- Connected to
-
DEVICE_INFO:
- Connected to
SUBSCRIBER.
- Connected to
-
Foreign Keys:
- Every foreign key (
Subscriber_ID,Sender_ID,Receiver_ID,Device_ID) must match a primary key in its respective parent table.
- Every foreign key (
-
Deletion Cascade Rules:
- If a
SUBSCRIBERis deleted, associated data in dependent tables (MESSAGE,TRANSACTION,CALL_LOG,SIM_INFO,ISP_DATA_TRAFFIC,DEVICE_INFO) may either:- Be deleted (CASCADE).
- Be retained but marked as orphaned (SET NULL).
- If a
-
Null Constraints:
- Attributes such as
Sender_IDandReceiver_IDinMESSAGEmust not be null. Deactivation_DateinSIM_INFOcan be null if the SIM is active.
- Attributes such as