Software
Architecture
Assignment :1
Name Email Address ID Number
Mohammed Jubair Khan 2019ht13292@wilp.bits-pilani.ac.in 2019ht13292
Mahen Jamal 2019ht13206@wilp.bits-pilani.ac.in 2019ht13206
Amit Kumar Singh 2019ht13043@wilp.bits-pilani.ac.in 2019ht13043
Deepanshu 2019ht13177@wilp.bits-pilani.ac.in 2019ht13177
BITS Pilani
Purpose of the
system
Design CCS(Converged Charging System to enable
telecommunication service providers to enable real time convergent
charging capability on diversified mobile networks
(2G/3G/4G/5G/VOLTE) using a unified platform.
The proposed solution supports Converged Charging for diversified
business scenario like VR Entertainment, Drone Logistics, Autonomous
Car, Smart Grid, Drone Aid, VR Education, 4K Live Video , Tele-
Operated Driving, AR/VR Live Broadcast, Drone Surveillance..etc.
Key Requirements : Functional
& Non-Functional
Functional requirements Non functional requirements
• Customer , Subscriber and Account • Operation and Maintenance
Management • Backup
• Basic Rating and Charging • Security
• Multi-Language Notification • Automatic & Elastic Scaling
• SMS Rating and Charging
• Data Rating and Charging
(2G/3G/4G/5G)
• Query Call Details
Records
• Fundamental Package
configuration
• Open API integration
capability
Utility Tree
Understanding business value & Impact on architecture
Quality attribute Attribute Scenario Business Architecture impact
refinement value
Security Integrity The customer data should not be lost or tampered with by unauthorized people, including High High
those working in the company (1)
Performance Service Availability System should support 99.999% Availability (5) High High
Usability User Experience Customer should be able to register/subscriber/un-subscribe offers using system UI using High High
standard self guided workflow within 2 minutes, (3)
Usability Correctness System should charge customer accurately based on service usages. High High
Modifiability Criteria specification User should be able to modify package and service easily using system or 3rd party Medium Medium
application channel. (4)
Interoperability Notification The system should send real time notification to the customer when he/she buy new High Medium
package. (5)
Performance Response time System should be able to support 1000 CAPS. Medium High
Interoperability Unified User System should be able to support 2G/3G/4G/5G services on single platform High High
Experience
Usability Understanding user Customer should be able to query his/her call detail record (CDR), system should store & Medium Low
model support the query of minimum 6 months CDR, query response should be less than 5
seconds.(2)
Usability Intuitiveness Using SMS/Data service should be very easy (2) High Medium
Interoperability User Experience Customer should be able to use basic services (SMS/Data) from different network, call High High
connection delay should less than 100 millisecond (5)
Usability Understanding user Customer should be able to choose and set offer Plans, Consumption limit using system High Low
model or 3rd party system integrated by API (2)
Usability Status notification Customer should be notified when number is activate, barred or suspended (2) High Medium
Performance Scalability System should support Millions of Connections considering 5G connectivity from all kind High High
of devices (2)
Utility Tree
Understanding business value & Impact on
architecture
Quality attribute Attribute Scenrario Business Architecture impact
refinement value
Maintainability Easy Operation & System should support easy monitoring, alarms , deployment using micro service High High
Maintenance based architecture using Docker Container.
Security Confidentiality Customer personal data like email/password ..etc should be encrypted in database High Medium
using standard algorithm(5)
Availability Data backup System should keep back up of complete system data including customer information , Medium High
system configuration details, (3)
Testability detecting failure System should support auto/mock testing to reduces testing cost and efforts. (4) Medium Low
modes
Availability Data backup solution supports databases and virtualization environments full backup or Differential High Medium
incremental backup
Security Operation & Manage and audit all system logs through a centralized log server Medium High
Maintenance
Security Operation & Monitor all systems to find exceptions and attacks Medium High
Maintenance
Performance Scalability System should be able to Scale In/Out based on future business need. Medium High
Tactics used to achieve
the top 3 ASRs :
Security
Quality Attribute Scenario (ASR) Tactics
No direct access database by any user, all system user can access backend
data through system business process with respective access rights.
Web Service Interfaces will be authenticated with User/Password
Coding security includes security methods during programming of codes
The customer data should not be lost or
tampered with by unauthorized people, Access security includes identification, authentication, authorization, access
including those working in the company (1) control, session control etc.
Block multi session login from different devices and session time out after 5
minute (default time) for system user.
Store data on a separate database server cluster and protect the server
using an appropriate security zones using firewall technologies
Security Customer personal data like email/password Encrypt critical and personal data using standard protocol Like DB user
..etc should be encrypted in database using Password will be encrypted using SHA256 Algorithm, sensitive data of
standard algorithm(5) application like password AES 128 algorithm for encryption
Manage and audit all system logs through a Develop a centralized log monitoring module to audit the system, user logs.
centralized log server
Communication security is to ensure the security of transmission through
secure protocol and non-repudiation technologies like HTTPS/SSL.
Ensure the security of applications and database OS hardening
Monitor all systems to find exceptions and
attacks. Separate different network traffic and control through the appropriate
security zones depending on subnets and firewall technologies
Protect internal and external network connections through VPN tunnels
Develop a centralized log monitoring module to audit the system, user logs
Tactics used to achieve
the top 3 ASRs :
Performance
Quality Attribute Scenario (ASR) Tactics
The system should send real time • Design south bound integration using Elastic Load
Balancer
notification to the customer when he/she • 99.999% Availability based on Distributed Architecture
buy new package and Active-Active GDR
New Services Deployed as Add-ons in separate container
System should be able to support 1000 using service based architecture (SBA) complaint to 3GPP
CAPS standard.
Performance
• Session Control and Routing Service Separated from
& Session Control and Routing Database Cluster
Scalability System should support Millions of
Connections considering 5G connectivity • All Routing Service Nodes and Routing In-memory
from all kind of devices (2) Database Nodes are Active
• Distributed DB and In-Memory DB Improve X Capacity
and Performance
• Fully Micro-service Based Architecture to support Auto
System should be able to Scale In/Out service Scaling In/Out.
based on future business need within 1 day. • Container: support seconds Scale In/Out, 90% Computing
Resource savings
Tactics used to achieve the
top 3 ASRs :
Interoperability
Quality Scenario (ASR) Tactics
Attribut
e
The system should send real time • Develop SMS adapter which can adapt different protocol
like
notification to the customer when he/she • Integrate SMS sender module with SMSC on standard
buy new package protocol to support different network.
Interoperab Customer should be able to use basic
ility services (Voice/SMS/Data) from different Develop separate module Diameter Gateway using micro
network, call connection delay should service container.
less than 100 millisecond
System should be able to support Develop API gateway for 5G charging and use “Signal Access
2G/3G/4G/5G services on single platform Point” for legacy 2/3/4G network.
System Context
Diagram
Legends
RA : Revenue Assurance
FMS : Fraud Management
BI : Business intelligence
Module Decomposition
Diagram
Legends
DB: Database
Converged Charging System API : Application programming interface
SBI : Service based interface
BP : Business Platform
Remarks: Design Data Access Layer to
support multi database using
DAF : Data Access Function
Adapter Rating Engine container container container container container DAS : Data Access Service
container container
ZooKeeper Service
Business Platform
Digital
Chagrin Gateway
Voice Charging
SMS Charging
Usage Charging
Data Charging
Policy Charging
…
Deployment
Monitoring &
DCC Adapter
API Gateway
File Adapter
(BP)
Data Access Layer
Elastic Load balancer
Memory DB Physical DB …
Component & Connection
diagram
Channels
Portal
Portal || CRM
CRM || Self
Self Care
Care || Mobile AP….
Mobile AP…. Legends
ExternalSystem
External System
Northbou
SOAP/Rest
nd Converrged Charrgining Systetem
Offline
Management NE
Online
Softfwtwarre Load Balalancerr((SLB)) Notification
Operations HTTPS
SMF: Session Management Function
PCF: Policy Control Function
SNMP APIIGateteway SMSC: Short Message service center
Digigitiatal
GGSN: Gateway GPRS Support Node
HTTPS
PGW: Packet Gateway
lMonitiotorrining
Busininess Plalatftoforrm ((BP)) PCRF: Policy and Charging Rules Function
& Deploloymentt Data
Dataware
ware DAF : Data Access Function
Rest DAF/DAS House DAS : Data Access Service
SNMP Rest Database House
SFTP RA/FMS
RA/FMS
Memorry DB
ZooKeeperrSerrvicice Polilcicy BI System
Rest
Physicical lDB
DAF/DAS
Charrginin
g DatataRecorrd
Charrge
ChagrrininGateteway Rest
Rest Serrvicice
Rest
ElalastitcicLoad Cache Serrvicice
Balalancerr
Rest Gy Sy
SMPP
5GCore VAS LTECore
SMF & PCF SMSC GGSN/PGW PCRF
Core Network
5G SA Element NSA/2G/3G/4G/VOLTE
Deployment
diagram Portal
Portal || CRM
CRM || Self
Self Care
Care || Mobile
Mobile AP….
AP….
Firewall
Software Load Balancer (SLB) High
Component Working mode
Availabilit
y mode
Container API Gateway (To build, orchestrate, govern and maintain macro-APIs). ELB Distributed cluster Master-Active
Rest Rest API Gateway Distributed cluster Active-Active
ZooKeeper Distributed cluster Master-Active
Service Bus SMS Adapter Dual Active-Standby
Rating Engine Distributed cluster Active-Active
Charging Distributed cluster Active-Active
container container container container container Gateway
Business Platform (BP)
Adapter Rating Engine
Policy Charging Distributed cluster Active-Active
Service Service Service Service Service
Cache Service Distributed cluster Active-Active
SMS Charging
…
Data Charging
Usage Charging
Voice Charging
SMS Adapter
BM Distributed cluster Active-Active
& Deployment
Policy Charging
File Adapter
ZooKeeper
Monitoring
Gateway
Chagrin
Service SLB Dual Active-Standby
Digital
Physical DB Dual Active-Standby
Memory DB Dual Active-Standby
Digital
Rest/File Monitoring Distributed cluster Active-Standby
& Deployment
Raw
DAS
CDR Sy/Gy SBI
DAF Firewall
Data Access Layer (Cluster)
Elastic Load balancer (ELB) …
Memory DB Physical DB
Top 3 Key Learnings
Mohammad Jubair Khan - 2019HT13292
To be update……
Top 3 Key Learnings
XXXXX - YYYY
To be updated by team members …… [ask them to update tomorrow]