Dbms Final Project
Dbms Final Project
This chapter defines the conventions used in this SRS of Cable Operating Management
System (COMS):
Typographical Conventions:
Bold Text: Headings of system elements, module names, and key words (such as Network
Status Monitoring)
Italic Text: For emphasis or as a placeholder (such as a name of the customer).
Monospaced Text: Used for code, database fields, system logs (such as device_id).
Underlined Text: Section and reference headings, such as Section 3: System Architecture
Requirement Priority:
[CUSTOM]: Must be done first.
[MEDIUM]: Should be done, but its implementation is not necessary and may be delayed.
[LOW]: Nice-to-have or enhancement features.
Unless otherwise stated, higher-level requirements override lower-level requirements.
This SRS on the Cable Operating Management System (COMS) is intended for the following
audiences all with a different emphasis as follows:
Project Managers: Start with Section 1: Introduction, and Section 2: System Overview to see
the general objectives, scope, and structure of the system. Then they should be referred to
Section 3: Functional Requirements and Section 6: Non-Functional Requirements for more
specific information about the system behavior and constraints that would help in planning,
scheduling, and resourcing the project .
Testers Begin with Section 3: Functional Requirements to gain insight into the expected
system behavior. For example, Section 5: System Interfaces and Section 6: Non-Functional
Requirements, performance as well as security, will be used to outline test plans. The
traceability matrix, if available, will also be helpful to link requirements to test cases.
Business Analysts : Normally, it will be required that attention be given to Section 1:
Introduction, Section 2: System Overview, and Section 3: Functional Requirements in order
to clearly understand what the system is, its scope, and the outcome. They should also turn
to Section 7: Assumptions and Dependencies for certain constraints likely to have an impact
on business processes.
Marketing and Sales Staff: Main interest in the high-level system overview in Section 2 is in
the benefits, features, and customer-facing aspects of the system. This will help position the
system within the market as well as understand the key selling points.
End Users (if applicable): While not a primary reader of this document, end-users may want
to read parts of Section 3 to get an overview of what the system will do and how it will
work. They will come to user manuals or training information that will be generated from
this SRS.
context should begin with Section 1: Introduction and Section 2: System Overview, and
continue to Section 3: Functional Requirements and Section 5: System Interfaces, which
contain the detailed information necessary to produce user guides, help documents, and
training material.
Document Structure and Proposed Reading Order:
Section 1: Introduction
It provides background, purpose, and scope of the document, overview of the intended
audience and gives information about the readers.
Recommended reading: All stakeholders start here to get a grounding in the context.
Module 2: System Overview
High-level abstract of Cable Operating Management System and its components with their
relationships
Recommended reading: Project Managers, Business Analysts, Marketing Staff and End
Users.
Module 3: Functional Requirements
System core functionality including such detailed requirements for the subsystems of Cable Network
Monitoring, Maintenance, and Outage Management.Recommended reading: Developers, Testers,
Business Analysts, and Project Managers.
Section 4: System Design (if applicable)
The system's architecture and design with the components, flow of data, and high-level interactions
between systems.Recommended to be read: Developers, Testers.
Section 5: System Interfaces
Interfaces where the system is interacting with external components, like APIs, data formats, or
third-party integrations.Recommended to be read: Developers, Testers.
Section 6: Non-Functional Requirements
Performance, security, scalability, and reliability requirements Recommended to be read: Testers,
Project Managers, Developers.
Section 7: Assumptions and Dependencies
Lists assumptions in system design, and external dependencies that may impact the
systemRecommended reading: Business Analysts, Project Managers, Developers.
Appendices (as needed)Any additional information, such as a glossary, acronyms, and references
Recommended reading: All readers of the document for clarification and definition.
1.4 Product Scope
The Cable Operating Management System is the software which manages and optimizes the
operations of cable service providers. It functions to monitor, maintain, and ensure the
infrastructures of cable networks in an efficient way so services are delivered quickly, faults are
detected, and customers are served smoothly.
Objective:
COMS will help the cable operators:
Continuously monitor the health and status of the cable network before any potential issues reach
the customer's doorstep.
Diagnose network faults and perform timely maintenance to minimize downtime
Tolerate more effective management of service outages, providing alerts and updates both to
operators and customers
Improve operational efficiency and increase service reliability based on data-driven insights and
reporting
Benefits
Increased Operational Efficiency: Network monitoring, diagnostics and maintenance activities will be
automated which means low intervention in manual transactions and human errors.
Improved Service Reliability: Ability to detect the root cause of the network fault which can be
critical in fault prevention before turning into customer complaints or disruption in the service.
Cost Saves: Optimizing the maintenance work flows while ensuring network downtime to the
smallest minimum, the system minimizes the cost in relation to the operations and ensures the best
use of resources.
Customer Confidence Gains : Such communication and faster restoration will enhance customer
confidence and loyalty towards an organization
Scalable Architecture: COMS is scalable with the network and supports every cable operator from a
small regional provider to a big multinational organization.
Objective 1: Design an all-encompassing monitoring and management platform that shall be easy
and relatively rapid for cable operators to understand and correct network problems.
Objective 2: Integrate with existing infrastructure and third-party systems in applications such as
billing and customer support to deliver an integrated solution in operations.
Objective 3: Ensure the system meets non-functional requirements including performance, security,
and scalability that will enable the network to scale well when growth is specified.
Target: Reduces the average time for detecting and repairing networks by 30% in the first year.
Alignment with Corporate Objectives:
COMS development aligns with the company's overall business strategy in the following:
Achieving Operation Excellence-Developing a set of key operational processes that support the
general objective of cost cutting and efficiency of operations for the company.
Improving Customer Experience: Thence, the improvement of service reliability and responsiveness
would be a direct contribution towards the focus of COMS - best customer service with increasing
retention levels of customers.
Pushing Innovation: While COMS will lead adoptive networks in advanced management of networks,
it will not only help the company remain up-to-date but also keep competition with an increasingly
complex environment.
References
www.ciso.org/standards/cable-network
www.cableoperatingmanagement.com
www.iso.org/isoiec-27001-information-security
2.Overall Description
2.1 Product Perspective
Cable Operator Management
System: The New Product cable service provider operations are going to be
automated and managed by this automated and digital solution. A fully digital and efficient system
replaces the very unautomated, extremely manual
processes so that productivity might be increased, services streamlined, and customer
satisfaction improved.
Context and Origin:
The system was designed to address the growing complexities in the stream of cable operators,
beginning with customer subscription management, payment handling, monitoring service
availability, and responding to complaints. It is tailored for cable operators who hitherto relied on
manual record-keeping or lost systems and need a unified platform that can support all aspects of
the business.
Key Components
Customer Management
Stores customer details such as name, address, contact information, and subscription
status.
Subscription Management
Tracks subscription packages, activation, and renewal dates.
Billing and Payments
Automates bill generation and integrates with payment gateways for easy transactions.
Complaint Management
Logs and tracks customer complaints, ensuring timely resolution.
Inventory Management
Monitors hardware (set-top boxes, cables, etc.) and ensures availability.
Reporting and Analytics
Generates reports on revenue, active subscriptions, and service performance.
Subsystem Interconnections:-
Database System: Stores and retrieves customer, subscription, and transaction details.
Payment Gateway Interface: Facilitates online payments for subscriptions and other services.
Notification System: Sends SMS or email alerts for bill payments, renewals, and service
updates.
Technical Support Module: Integrates with complaint management to assign and track service
tasks.
3. Field Technicians
Role:
Resolve technical issues, install equipment, and fulfill service requests.
Characteristics:
Limited access to relevant system functions (e.g., assigned service requests).
Require mobile-friendly access for on-site operations.
Moderate technical expertise in hardware and network troubleshooting.
Key Functions:
Receive assigned service tasks.
Update task status (e.g., resolved, pending).
Record equipment installations or replacements.
4. Billing Team
Role:
Manage invoices, payments, and financial records.
Characteristics:
Moderate access to billing and payment-related features.
Require knowledge of financial processes.
Frequent users during billing cycles.
Key Functions:
Generate and manage invoices.
Track payment statuses.
Resolve payment disputes or errors.
5. Customers
Role:
Access and manage their subscription details via a portal.
Characteristics:
Limited technical expertise; require simple and intuitive interfaces.
Use the system infrequently, mainly for payments, complaints, or subscription updates.
Require access from various devices (desktop, mobile).
Key Functions:
View subscription details and payment history.
Make payments and renew subscriptions.
Log service complaints and track their status.
Operating Environment
It will be run in a robust, flexible environment that would give the Cable Operator Management
System reliable performance over various hardware and software platforms. The environment
is being designed with room for the needs of system administrators, customer support staff,
technicians, and customers.
Hardware Platform
Server-Side:
Devices Supported:
Desktops/Laptops: For support staff and IT administrators
Tablets/Smartphones: For field techs and customers
Hardware Compatibility: Compatible with standard cable operator tools :bar code scanners for
equipment management
2. Operating System
Server-Side:
Compatible with modern operating systems:
Linux: Ubuntu Server 20.04+, Red Hat Enterprise Linux 8+
Windows Server: 2019 or later
Containerization Support: Compatible with Docker and Kubernetes for deployment.
Client-Side:
Desktop: Windows 10+, macOS 11+
Mobile: Android 8.0+ and iOS 12+ for mobile applications.
3. Database System
Preferred Databases:
Relational Databases: PostgreSQL 12+ or MySQL 8+
NoSQL Databases (optional): MongoDB for unstructured data (if required).
Backup and Recovery:
Automated daily backups with redundancy.
4. Web and Application Servers
Preferred Web Server:
Apache HTTP Server 2.4+ or Nginx 1.18+
Application Server:
Node.js 14+, Python (Django/Flask), or Java (Spring Boot).
5.Availability:-
Uptime: Available 24/7; almost negligible downtime, under 1% at the end of each year.
Redundancy:
Load balancers to take care of heavy loads.
Failover mechanism for no-interruptive service.
The operating environment is designed to be compatible, scalable and secure, meeting the needs of
modern cable operator management.
Server Requirements:
-> Run within the server restrictions. Such restrictions can be government servers, limited budgets
etc.
Low memory on the server, that is, at least 16 GB and low storage on the server which will be 500
GB SSD.
Client Devices
-> The clients are configured to run the system application on ordinary devices, for instance, on
regular desktops, laptops, tablets, and mobile devices. It should not have high specifications.
->Support devices. It will also run on low-power devices used by field technicians for remote areas
4. Parallel Operations
Continuous Availability:
Ensure 24/7 system operation during peak hours with minimal downtime (<1%
annually).
5. Language Requirements
Multilingual Support:
The system must support multiple languages, including regional languages, for better
accessibility by a diverse user base.
6. Communications Protocols
Network Protocols:
Use secure communication protocols such as HTTPS for all client-server
communications.
Support RESTful APIs or GraphQL for seamless integration with other systems.
Offline Capabilities:
Provide limited offline functionality for field technicians, syncing data once connectivity
is restored.
7. Security Considerations
Data Protection:
Encrypt sensitive data at rest using AES-256 and in transit using SSL/TLS protocols.
Access Control:
Implement Role-Based Access Control (RBAC) to ensure only authorized users access
specific features or data.
Audit Trails:
Maintain detailed logs of all user activities for monitoring and auditing purposes.
9. Design Conventions and Programming Standards
UI/UX Guidelines:
Follow best practices for intuitive design and accessibility.
Testing:
Thorough testing for unit, integration, system, and user acceptance levels to ensure
reliability.
Maintainability:
The system must use modular, documented code to facilitate easy maintenance by in-
house or third-party teams.
2.6 User Documentation
The Cable Operator Management System shall be thoroughly documented, comprehensive and
user friendly enough for them to make effective utilization and adopt use practices. The process
of documentation will consider different classes of users so as to highlight their respective needs and
responsibilities as well.
1.User Manual
A detailed guide for all user classes, providing step-by-step instructions on using the system.
Sections include:
Administrators: System setup, user role management, and configuration.
Customer Support Staff: Managing customer profiles, subscriptions, and complaints.
Field Technicians: Logging and updating service requests.
Billing Team: Generating invoices and tracking payments.
Customers: Accessing subscription details, making payments, and filing complaints
2.Online Help
Integrated help feature accessible within the application.
Context-sensitive assistance that provides users with relevant guidance based on the section or
task they are working on.
4.Interactive Tutorials
On-screen, step-by-step instructions for key workflows.
Provides real-time guidance as users interact with the system
Delivery Formats
PDF Files:
Downloadable and printable manuals for offline use.
Web-Based Documentation:
Accessible through a dedicated help section in the system.
Updated in real-time to reflect new features or changes.
Mobile-Friendly Formats:
Optimized for smartphones and tablets, ensuring access to documentation on the go.
Interactive Features:
Searchable knowledge base for quick navigation to relevant topics.
Embedded help widgets within the system interface.
Accessibility Compliance:
WCAG (Web Content Accessibility Guidelines) for ensuring usability by all, including
individuals with disabilities.
Usability Standards:
Clear language, concise instructions, and visual aids (diagrams, screenshots, or videos).
Consistency:
Uniform formatting and terminology across all documentation components.
This comprehensive suite of user documentation ensures that all users, regardless of their technical
expertise, can effectively navigate and utilize the Cable Operator Management System.
Color Scheme: Utilizes consistent color scheme, which is brand primary and
secondary, to ensure high contrast for readable text.
Font Style and Size: Usage of a standardized font family is required, such as Arial or
Roboto, and it must be at least 12px in size for text and a bigger value for headings.
Navigation: User-friendly navigation via a top bar and sidebar menu items that are
collapsible to get around features quickly.
Error Handling: The error messages are clearly stated in red, and next to it the user
will be hinted as how to correct the problem themselves.
Help and Support: Each screen contains a help button or tooltip linked to
documentation or customer support.
Responsive Design:
Interfaces adapt seamlessly to different screen sizes and orientations.
4. Sample Screen Layouts
Login Page:
Includes fields for username and password, a "Forgot Password" link, and a login
button.
Customer Management Screen:
Left: Search and filter panel.
Center: Tabular view of customer data.
Right: Detailed customer profile view.
Hardware Interfaces
The Cable Operator Management System (COMS) interacts with various hardware components to
facilitate operations such as customer management, service provisioning, and system monitoring.
Below are the logical and physical characteristics of these interfaces
1. Supported Device Types
The system supports the following hardware components:
Operator and Administrator Workstations: Desktop or laptop computers used by operators and
administrators to access the COMS.
Customer Devices: Smartphones, tablets, and personal computers used by customers to interact
with the self-service portal (if available).
Set-Top Boxes (STBs): Devices installed at customer premises for receiving cable services.
Headend Equipment:
Multiplexers, modulators, and encoders for broadcasting cable services.
Network servers for managing subscriptions and distributing content.
Payment Terminals: Point-of-sale (POS) devices used by operators for in-person payments.
Networking Devices: Routers, switches, and modems facilitating internet and intranet
connectivity.
2. Logical Characteristics
Operator and Administrator Workstations:
OS Compatibility: Windows 10 or higher, macOS, and Linux.
Required Software: A web browser (e.g., Chrome, Firefox) or a dedicated desktop
application.
Data Interaction: Exchange of customer data, service status, and billing information with
the central database through HTTPS.
Customer Devices:
Interaction via a responsive web application or dedicated mobile app.
Use of RESTful APIs to retrieve and update account information and perform
transactions.
Set-Top Boxes (STBs):
Two-way communication with headend servers for activation, deactivation, and content
distribution.
Communication through proprietary or standardized protocols (e.g., DVB-C for cable
signal and IP-based protocols for interactive services).
Periodic status updates to the COMS for monitoring service health.
Headend Equipment:
Control Signals: Commands for activating/deactivating customer subscriptions and
managing content access.
Status Reports: Real-time monitoring of hardware health and content transmission
quality.
Payment Terminals:
Secure data transfer via PCI-compliant protocols for processing transactions.
Integration with the COMS backend to update payment records in real-time.
Networking Devices:
Connectivity via Ethernet or Wi-Fi for both local area network (LAN) and wide area
network (WAN).
Support for common communication protocols such as TCP/IP, DHCP, and DNS.
3. Communication Protocols
Internet and Intranet Communication:
Protocol: HTTPS (TLS 1.2/1.3) for secure data transfer.
Data Format: JSON/XML for API communication.
Set-Top Box Communication:
Protocols: DVB-C, HTTP, or proprietary protocols for managing content and services.
Encryption: Conditional access system (CAS) for secure content distribution.
Payment Terminals:
Protocol: PCI-DSS-compliant data exchange for financial transactions.
Headend Equipment and Servers:
Protocols: SNMP for monitoring, FTP for firmware updates, and SSH for secure remote
management.
This modular approach to hardware integration ensures scalability, security, and seamless
communication across all components of the Cable Operator Management System.
Software Interfaces
The Cable Operator Management System (COMS) interacts with various software components to
ensure seamless operation and integration. These interfaces involve communication with operating
systems, databases, APIs, libraries, and third-party tools. Below is a detailed description of these
interfaces
2. Database Interface
Database Management System (DBMS):
PostgreSQL 13+ or MySQL 8+ as the primary relational database.
NoSQL database (e.g., MongoDB 5+) for real-time logs or caching of service request
statuses.
Purpose:
Storage and retrieval of customer information, billing records, service packages, and
system logs.
Enabling complex queries and reports generation.
Data Items:
Incoming: Customer information, payment records, and service activation requests.
Outgoing: Subscription details, billing statements, and system status updates.
Communication:
Interfaces with the database via an Object-Relational Mapping (ORM) tool such as
Hibernate (Java) or Sequelize (Node.js) to abstract SQL queries.
1. Communication Functions
Email Notifications:
Used for sending account updates, billing reminders, promotional offers, and support-
related messages to customers.
Integration with third-party email services like SendGrid or Amazon SES.
Message Formatting:
Emails will use HTML for rich content and plain text for fallback.
Standard structure: Subject line, greeting, body, call-to-action link, and footer
with contact information.
Security: Use TLS encryption (SMTP over TLS) for secure email transmission.
Web Browser Access:
Operators, administrators, and customers can access the system through a modern web
browser.
Supported Browsers: Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari (latest
versions).
Protocols: HTTPS with TLS 1.2 or higher for secure browsing.
Message Formatting:
JSON for data exchange between frontend and backend using REST APIs.
Responsive web design to adapt to varying screen sizes.
Network Server Communications:
Communication between the application servers, database servers, and external
services.
Protocols:
HTTP/HTTPS: For REST API calls.
WebSocket: For real-time updates like service requests and notifications.
FTP/SFTP: For file uploads/downloads, such as large billing records or service
reports.
Security:
SSH for server-to-server file transfers.
Authentication via API keys or OAuth 2.0 for external service integration.
Electronic Forms:
Used for data input (e.g., customer registration, service activation requests, complaint
submissions).
Message Formatting:
Form data submitted as JSON payloads.
Validation at both client-side (using JavaScript frameworks) and server-side.
Security:
CAPTCHA for spam prevention.
All sensitive data encrypted in transit.
2. Communication Standards
Internet Protocols:
TCP/IP: For reliable network communication.
DNS: For resolving domain names to IP addresses.
DHCP: For dynamic allocation of IP addresses to connected devices.
Data Transfer:
RESTful APIs with JSON or XML as the standard data format.
File transfers via SFTP for secure and authenticated data exchange.
These communication interfaces ensure that the Cable Operator Management System operates
efficiently, securely, and reliably across all components and user interactions.
4.System Features
COMS is aiming at effective management and monitoring of the operations of cable services through
providing installations of cables, management of customer services, contents' distribution, billing as
well as network monitoring. Key features grouped in natural use cases and functional modules
follow below.
Customer has the ability to order, cancel, or change the service pack (channels, internet plan).
Keep track of the usage, upgrades, and downgrades of the package.
Service History and Ticketing
Feature Description:
This module allows for the efficient operation of the cable network infrastructure through the
management of its hardware as well as its signal routing.
Monitor the cable equipment that includes set-top boxes, routers, signal amplifiers, etc.
Manage the installation, maintenance, and upgrade of hardware.
Cable Routing and Distribution
Realtimintegrate with the various content providers for live TV channels, on-demand services, and
pay-per-view content.
Schedule and manage content delivery (scheduled broadcasts, VOD).
Digital Rights Management (DRM)
Content Protection
Provide content protection.
Geo-blocking or Licensing restrictions
Video Streaming and Video On-Demand (VOD)
Provide Video streaming services
Manage VOD libraries and customer access to on-demand content.
Feature Description:
Manage the new customers installation and provisioning process including trouble shooting
Service Activation and De-Activation
Automatically activate or deactivate services when a customer subscribes or cancels.
Configure service plans and devices (e.g., set-top boxes, modems).
Installation and Technician Management
Module Description
This module handles customer interactions, queries, and problem resolution.
Help Desk, Ticketing System
A centralized system for managing all the incoming customer service requests and complaints
Customer complaint status and resolution
Automated Customer Support (Chatbot/IVR)
Feature Description:
This module will handle all the billing and payment requirements related to cable services.
Dynamic Billing Calculation
Bill based on the service package chosen with usages and additional services.
Bill adjustment for any promotional, discount, or late payment fee.
Feature Description:
Deep Insights into Customer behavior, Network, and Business
Customer Usage Analytics
Track customer usage behavior including 'most watched' channels, 'streaming habits'.
Product reports on customer churn, service requests, and demographics.
Network Performance Reports
Track the performance of the cable infrastructure and identify areas where improvements are
needed.
Be able to provide real-time reporting on service interruptions, outages, and resolutions .
Financial and Operational Reports
Provide business reports to track revenues, expenses, and operational cost.
Prove profitability by service package and region.
Feature Description:
Protect the security of the customer data, data privacy, and protection against unauthorized access .
Data Encryption and Secure Communication
System Response:
The system loads, in real time, the status of the cable network: signal strength, health, and faults
alert report.
User Action-Stimulus:
Using the cues obtained from the system regarding the visual faults, the network operator identifies
a fault in the network, proceeds to run a diagnostic check about the problem.
System Response:
The system runs a diagnostic scan to locate and identify precisely where the fault lies and what kind
of fault it is, etc. signal degradation, or equipment failure.
User Action-Stimulus:
The network operator adjusts controls to redirect traffic or relieve network overload.
Response/System Action:
The system reconfigures its routing and presents new real-time performance statistics.
Stimulus/User Action:
The network operator requests a report of all the information regarding network performance in the
last 30 days.
Response/System Action:
The system generates and displays a report that includes statistics, outages, and maintenance
information on the network performance.
Stimulus/User Action:
A content manager uploads new content into the system, which could be a new episode of a TV
program or film.
System
Verifies and stores the content in the library within the system depending on the format and DRM
policy compliance.
Stimulus
User action- The content manager books the live broadcast for a particular time slot
Response
The system schedules the broadcast and reminds concerned staff to deliver the content at the
stipulated time.
Stimulus (User Action): The content manager alters the availability of content because it is subject to
licensing restrictions.
Response (System Action): The system deprives certain users or regions to access the content
according to the licensing data updated by the system .
System Response
The system develops the installation plan based on the availability of a technician and the customer
favorite time slot.
System Response
The system sends details of the installation for equipment required by the technician and the
customer's choice for the service.
System Response:
The system will automatically turn on the customer's service, will have a quality check and confirm
to the customer.
Response (System Action): The system sends a notification to a senior support agent, includes the
ticket history, and escalates the issue for priority resolution.
Stimulus (User Action): When an issue is resolved with the customer, the customer gives feedback
on the service received.
Response (System Action): The system documents the feedback and uses it for further improvement
in customer service processes.
System Response: The system retrieves the information associated with the billing, shows the
available balance, and pending charges or discount(s).
Stimulus (User Action): The customer pays for the same using a credit card or through an online
payment gateway.
System Response: It completes the payment process, changes the billing status of the customer, and
sends the confirmation email to the customer.
System Action: The system generates a detailed itemized statement showing charges against each
service, piece of equipment, and tax on the account.
User Action: The customer disputes some charge or fee on his or her statement.
System Action: The system automatically generates a dispute case and notifies the support team and
tracks the status of resolution.
Update accounts: In this, the system shall enable the customers to alter their personal information
like contact details, service preferences, and billing information.
Error Handling: The system should input validation (for example, proper address format, valid credit
card number) and not allow bad updates with an appropriate error message.
Account Deletion
The system should permit deletion of an account with its respective data by a customer based on
data privacy rules. For instance, GDPR.
Error Handling: There should be a system to notify the customer that he is about to delete an
account where there are one or more unpaid items or services before the account can be finally
deleted.
Monitor in real time network status at all times, including signal strength, bandwidth utilization and
hardware performance.
Error Handling: In case of failure of a network device, be it signal loss, the system must be able to
automatically flag an error and send an alert to the network administrator to debug.
Fault Detection and Diagnosis
The system shall be able to detect faults in a network, a degraded signal, equipment failure, etc., and
diagnose the problem, including location and type.
Error Handling: In case the system cannot automatically detect or diagnose the fault, it must provide
an error message instructing the network administrator to look into the problem manually.
Network Configuration and Optimisation
The system should allow modifying the network parameters around (for example, rerouting traffic)
to achieve greater performance under congestion.
Error Handling: It must validate changes in configurations such that no conflict arises due to the
alterations with other constituents of the network and return an error message when conflicts
persist.
: Reporting Historical Data
The system has to be able to present historical performance data and report uptimes, faults and
patterns of traffic over the network.
Error Handling: When the system was unable to produce a report because an error occurs, for
instance, data is unavailable, it must throw an appropriate error message and be allowed to retry
the user as the report is being produced .
Error Handling: If the scheduled time of content coincides with the scheduled event, then a system
needs to warn the user and reschedule the event.
Content Delivery
The system must ensure that the content is reached to the end-users within time and efficiently.
Either it can be through live broadcast or VOD.
Error Handling: If the problem occurs during the delivery process (like buffering or delay), the system
has to alert the content manager and the steps for troubleshooting.
License Compliance
Content licensing should be monitored and access to content is restricted based on licensing
contracts, such as geo-restrictions or user-level access.
Error Handling: On the recognition of unavailability of restriction content, the system shall clearly
publish why the content cannot be accessed.
Error Handling: If the service fails to activate (for instance, due to missing hardware or network
issues), the system should be able to send a message to the customer and technician to reschedule
for reinstall .
FR-4.2: Schedule Tech
The system shall schedule a visit from the technician for the installation or repair of the service
depending on the availability of the technicians and according to the wishes of the customers.
Error Handling: If there aren't any available service technicians in a time frame accepted by the
customer, the system should send out alternative times along with an indication that they aren't
available.
FR-4.3: Device Configuration
The system should present a facility to configure devices such as set-top boxes and modems at the
time of installation, thereby getting properly linked to the customer account.
Error Handling: Failure of equipment to connect or not compatible, the system should display a
failure message and steps on how to resolve it.
Service Termination
The system should enable customers upon request to withdraw their subscription services and
ensure that all the related services are deactivated.
Error Handling: In case there is a pending balance or some obligations the system should notify the
customer and demand their payment or accomplish the required step before closing the service.
5.Other Nonfunctional Requirements
5.1_Performance Requirements:-
The Cable Operator Management System (COMS) must perform reliably and efficiently under
various operational conditions to ensure a seamless experience for operators, administrators, and
customers. The following performance requirements outline key metrics, timing relationships, and
system behaviors expected in real-world scenarios.
1. General Performance Metrics
Response Time:
Average response time for user actions (e.g., loading a dashboard, searching customer
profiles) must not exceed 2 seconds under normal load.
Critical operations (e.g., service activation or payment processing) should complete
within 3 seconds under normal load.
Throughput:
The system should handle up to 500 concurrent users (operators, administrators, and
customers) without performance degradation.
Must support 1000 API requests per second for operations like service queries, status
updates, and notifications.
Data Processing:
The system should process batch updates (e.g., billing data) for up to 10,000 records in
under 5 minutes.
Real-Time Updates:
Notifications (e.g., service status updates, payment confirmations) must propagate to
users within 1 second.
2. Database Performance
Query Execution:
Simple queries (e.g., fetching a customer profile) should execute within 500
milliseconds.
Complex queries involving joins or aggregations (e.g., generating monthly revenue
reports) must complete within 5 seconds.
Scaling:
The database should handle up to 1 million active customer records and 5 million
transaction records without significant performance degradation.
Backup and Restore:
Full database backups should complete within 1 hour for a database size of up to 100
GB.
3. Network Performance
Latency:
End-to-end latency between the frontend and backend for API calls should not exceed
200 milliseconds in a typical network environment.
Bandwidth Utilization:
The system should optimize bandwidth usage by employing compression (e.g., gzip for
API payloads) and caching for frequently accessed data.
Reliability:
The system must maintain 99.9% uptime, allowing a maximum downtime of 8.76 hours
per year.
4. Real-Time System Requirements
Service Activation and Deactivation:
The system must send service activation or deactivation commands to headend
equipment and receive acknowledgment within 3 seconds.
Set-Top Box Updates:
Firmware updates or service configuration changes for set-top boxes must complete
within 5 minutes for a batch of 100 devices.
5. Scalability and Load Handling
Load Handling:
The system must support scaling to 1,500 concurrent users and 2,000 API requests per
second during peak usage times (e.g., billing cycles or promotional periods).
Elastic Scaling:
Cloud-hosted components should auto-scale to handle surges in user activity or API
requests.
Stress Testing:
Under stress, the system should gracefully degrade performance without crashing,
maintaining at least 50% of throughput capacity under extreme load.
6. Security-Related Performance
Authentication:
User login and authentication (including multi-factor authentication) must complete
within 2 seconds.
Data Encryption:
Encrypted data transfers (e.g., HTTPS or API communication) should not introduce more
than 10% additional latency.
7. Specific Feature Performance Requirements
Billing and Invoicing:
Generating a bill for an individual customer must complete within 2 seconds.
Bulk invoice generation for 10,000 customers must complete within 10 minutes.
Search Functionality:
Searching for customer records by name, address, or account number must yield results
within 1 second.
Report Generation:
Real-time reports (e.g., daily revenue, active subscriptions) should generate within 10
seconds for datasets up to 1 million records.
3. Regulatory Compliance
Legal and Regulatory Standards:
General Data Protection Regulation (GDPR):
Ensure all customer data processing complies with GDPR to avoid data misuse or
breaches.
Payment Card Industry Data Security Standard (PCI DSS):
Adhere to PCI DSS for secure handling of payment card information.
Federal Communications Commission (FCC):
Comply with FCC regulations for cable service operations and customer rights.
4. Infrastructure Safety
Hardware and Environment:
Requirement: Protect the physical infrastructure of the COMS.
Safeguard:
Controlled server room access with biometric locks.
Environmental controls (e.g., temperature, humidity monitoring) to prevent
hardware damage.
Regular hardware maintenance schedules.
Action to Prevent: Prevent unauthorized tampering or physical access to critical
infrastructure.
Disaster Recovery:
Requirement: Minimize downtime and data loss during emergencies (e.g., natural
disasters, cyberattacks).
Safeguard:
Disaster recovery plans with predefined recovery point objectives (RPOs) and
recovery time objectives (RTOs).
Regular drills to test disaster recovery readiness.
Action to Prevent: Prevent uncoordinated or untested recovery procedures.
1. Data Security
Data Encryption:
All sensitive data, including customer information, billing records, and payment details,
must be encrypted:
In Transit: Use TLS 1.2 or higher for secure communication between clients and
servers.
At Rest: Use AES-256 encryption for all stored data.
Database Security:
Implement database access controls to restrict unauthorized queries.
Enable auditing for all database access and modifications.
Backup Security:
Encrypt all backups and store them in a secure location with restricted access.
Verify backup integrity periodically to prevent data loss or tampering.
4. Privacy Requirements
Customer Data Protection:
Limit data collection to what is strictly necessary for system operations.
Anonymize or pseudonymize data wherever possible to enhance privacy.
Data Sharing:
Do not share customer data with third parties without explicit consent.
Ensure any shared data is transmitted securely and only for authorized purposes.
Compliance with Privacy Regulations:
Adhere to General Data Protection Regulation (GDPR) for customer data protection in
the EU.
Follow California Consumer Privacy Act (CCPA) if applicable.
These security requirements ensure that the COMS is robust, secure, and compliant, providing
protection against potential threats and safeguarding user data and privacy.
Software Quality Attributes
The Cable Operator Management System (COMS) must meet several software quality attributes to
ensure it is reliable, user-friendly, and scalable for operators, administrators, and customers. These
attributes are prioritized to support business goals and user satisfaction while ensuring efficient
development and maintenance.
1. Usability
Ease of Use:
The system must be intuitive, enabling operators and administrators to perform key
tasks (e.g., billing, service management) with minimal training.
Include user-friendly dashboards with tooltips, contextual help, and consistent UI
design.
Accessibility:
Comply with WCAG 2.1 standards to ensure accessibility for users with disabilities.
Provide support for screen readers, keyboard navigation, and color contrast
adjustments.
Ease of Learning:
Users should become proficient with the system after 4 hours of training.
2. Reliability
Availability:
The system must achieve 99.9% uptime, allowing for a maximum downtime of 8.76
hours per year.
Implement redundant components (e.g., databases, application servers) to avoid single
points of failure.
Error Handling:
All critical errors (e.g., payment processing failures) must trigger alerts and provide
actionable error messages for users.
The system should recover automatically from transient errors (e.g., network
interruptions) without user intervention.
3. Maintainability
Modularity:
The system should have a modular architecture to simplify updates, bug fixes, and
feature additions.
Code Quality:
Follow industry-standard coding practices (e.g., clean code principles) to ensure
maintainability and readability.
Documentation:
Provide detailed documentation for developers, including API references, architecture
diagrams, and setup guides.
Change Management:
Apply version control and maintain a clear changelog for all updates.
4. Performance
Response Time:
System operations (e.g., searching customer records, generating bills) should respond
within 2 seconds under normal load.
Scalability:
Must support up to 1,500 concurrent users and 2,000 API requests per second during
peak loads.
Batch Processing:
Bulk operations (e.g., processing monthly bills for 10,000 customers) must complete
within 10 minutes.
The following business rules define the operating principles and constraints for the Cable Operator
Management System (COMS). These rules guide system behavior, user access, and operational
workflows, ensuring proper management and compliance with organizational policies.
Business Rules
7. Operational Rules
Maintenance Notifications:
Scheduled maintenance must be announced to customers at least 48 hours in advance.
Dispute Resolution:
All disputes related to billing or services must be resolved within 7 business days.
Downtime Allowance:
Unplanned service downtime must not exceed 4 hours per month to meet SLA
requirements.
8. Communication Rules
Customer Notifications:
Customers must receive automated notifications for billing, payments, service changes,
and outages.
Language Preferences:
Communications must support the customer’s preferred language as specified in their
account settings.
These business rules ensure operational consistency, legal compliance, and customer satisfaction
while defining the necessary constraints and permissions within the Cable Operator Management
System.
6. Other Requirements
6.1 Database Requirement
DB-1: Data Integrity and Consistency
The system should ensure that all information in the database is correct and updated, especially
during updates or transactions (such as customer account records, billing information).
Requirement:
ACID (Atomicity, Consistency, Isolation, Durability) principles must be applied at a system level to
database transactions so that transaction processes are safe.
Technologies
Data can be modeled in relation database applications like MySQL, PostgreSQL, or Oracle to
accommodate complex queries with data consistency.
DB-2: Scalability and Performance
The database needs to be upward scalable because more customers, transactions, and network
devices will be adding more data into the system.
Requirement:
The system must scale upwards to accommodate growing users, content, as well as services over
time. The techniques for database indexing, partitioning, and clustering will allow for great
performance even under load.
DB-3: Data Retention and Archiving
The system shall store customer and transaction information based on legal and business
requirements for retention times and shall provide the option of archiving.
Requirement:
The database shall automatically archive inactive or older entries, and it shall retrieve archived data
on demand.
6.2 Security and Privacy Requirements
Data Encryption
The system should use industry-standard encryption protocols for the transit as well as rest data
that is AE-256 for data at rest and TLS/SSL for data in transit.
Requirement
Secret encryption keys shall be stored securely, and changed at least periodically.
Authentication and Authorization
The system shall use Role Based Access Control (RBAC) to ensure that users/administrators have
access only to the functionality and data relevant to their role.
Requirement:
MFA should be applied everywhere on admin-level accesses; throttling of attempts on login should
be supported, in order to defeat brute force attacks.
Adherence to Privacy Laws
The system should be in compliance with relevant data privacy laws such as GDPR (General Data
Protection Regulation), CCPA (California Consumer Privacy Act), and other regional laws that govern
the data of customers.
The system should allow customers to request data erasure, to obtain copies of their personal data,
and to receive transparent information regarding data collection practices.
SR-4 Security Auditing and Logging
The system must log every activity of users, like login attempts, changes in data, and access to the
system for deep auditing.
Requirement:
Logs shall be tamper-proofed, and logs must be safely kept for at least 6 months.
6.3 Performance Requirements
PR-1 Response Time
The system must display acceptable system response times for any interaction made by the user. In
other words, in this system, it must occur within 3 seconds for any 90% of all transactions and
examples could be a list of updates on an account, requests for content streaming.
Requirement:
Billing inquiries and any type of customer account update and service management shall be returned
within the same time.
PR-2: High Availability
The system shall be available 99.9% during each calendar month.
Requirement:
Design with fault tolerance and high availability in mind, using techniques such as load balancing,
clustering, and redundant systems.
PR-3: Data Backup and Recovery
The system shall implement regular data backups and disaster recovery.
Requirement:
There shall be full system backups once a week, and incremental backups daily. The data recovery
time after any system failure shall not exceed 4 hours.
PR-4: Scalability
The system has to scale up in terms of users, network devices, content, and transaction volumes.
Requirements
The system has to be able to scale horizontally (for example, add more servers) and vertically (for
example, upgrade server capacity) with minimal degradation of performance.
6.4 Legal and Compliance Requirements
LR-1: Copyright and Intellectual Property
The system must respect copyright and intellectual property rights in content distribution, including
DRM for protected contents.
Requirement:
The system must allow connectivity with third-party DRM applications so that unauthorized access
to or copying of the contents will be prevented.
LR-2: Billing and Tax Compliance
LR-2 will ensure the system calculates and handles the taxes properly about services rendered to
abide by the local tax law terms including VAT or Sales Tax, apart from keeping taxes charged on
customer invoices proper.
Requirement:
The system must integrate with any of the external tax calculation APIs or libraries that provide up-
to-date tax rates and rules for any region.
LR-3: Accessibility Compliance
The system must meet WCAG (Web Content Accessibility Guidelines) 2.1 guidelines, meaning the
web portal and mobile apps must be accessible to everyone, including persons with disabilities.
Requirement:
Non-text content needs to have alternatives in the texts, permission for navigation using a keyboard
when it employs mobility-impaired people, and the visual elements need to have sufficient contrast
levels for the visually impaired.
LR-4: Legal Disclaimers And Privacy Policies
System needs to provide legal disclaimers relevant to the terms of services and the policies of
privacy for the customers at the account creation time, service subscriptions, and while billing.
Users should accept the terms and policies before they either register or subscribe.
Appendix A: Glossary
Acronyms and Abbreviations
ACID (Atomicity, Consistency, Isolation, Durability):
Set of properties describing in what way database transactions need to be executed in an invariant
manner.
It refers to an authentication process where more than one way of proving identity must be checked
by lists of different credentials, for example, a password and a fingerprint.
A database management system that use tables to hold data, creates relationships among them
using a variety of possible relational operators, such as access and modification for example: MySQL,
PostgreSQL.
SSL (Secure Sockets Layer): A protocol used to encrypt data sent over the internet, often used to
establish an SSL/TLS encrypted connection for secure HTTPS.
TLS (Transport Layer Security): The successor of SSL, a cryptographic protocol used in building secure
communications on the Internet and other networks. Generally speaking, it is used for both
protecting Web-based communications and securing Internet communication data.
Terms
Account Management
The set-up, updating, maintaining, and removal of customer accounts in the system including every
personal and billing details.
Activation
This is allowing access to a customer's subscription or service over the cable network, which includes
content activation and related devices like set-top boxes.
API Integration: This links the COMS to external services, such as payment processors, third-party
content providers, and analytics tools, through API integration.
Bandwidth: The quantity of data that can be transmitted over a network during a given period and
typically measured in bits per second (bps).
Content Distribution:
Process of providing media content, including video and audio, to end users over a cable network,
either live broadcast, VOD, and other forms of media serving.
Fault Detection:
Identify and diagnose faults or failures of cable network, signal loss, hardware failures etc .
Firmware
This is software permanently programmed into hardware devices such as cable modems or set-top
boxes that supervises how they work.
Geo-restriction
The act of preventing certain contents or services from being accessed based on the geographical
location of the viewer. This has majorly been due to licensing agreements and regional regulations.
Live Broadcast
This includes video and/or audio content streamed in real time to users-usually part of cable
network services.
Multimedia Services
Audio, video, and interactive services, such as streaming services, cable TV, and on-demand video
services.
On-Demand Content
Media content available for viewing at the user's discretion, without scheduled programming.
Provisioning:
Such process involves hardware setup, software installation, and network configuration; all the
above processes are done on behalf of a customer in order to enable and configure services or
resources for him.
Redundancy
In this approach, there is use of additional or backup components, including servers or network
paths, in order to ensure system reliability. This is for the reason that in failure scenarios, the system
should not break down, especially when systems run long-term processes.
LAB 7&9:
Noun (Entity) and Verb (Relationship) Analysis:
NOUN VERB
Customer Subscribes to, Updates, Cancels,
Views, Makes payment on
Subscription Belongs to, Tracks, Renews,
Modifies
Cable_Service Provides, Activates, Deactivates,
Modifies
Cable_Box Assigns, Installs, Returns,
Tracks, Replaces
Payment Processes, Verifies, Tracks, Issues,
Receives
Technician Installs, Repairs, Services,
Assigns, Tracks
________________________________________
4. Cable_Box
This entity tracks the set-top boxes provided to customers for
accessing the cable service.
Attributes:
Box_ID (Primary Key, INT)
Customer_ID (Foreign Key, INT, references Customer.Customer_ID)
Model (VARCHAR)
Serial_Number (VARCHAR)
Installation_Date (DATE)
________________________________________
5. Payment
This entity records customer payments for their subscriptions and
services.
Attributes:
Payment_ID (Primary Key, INT)
Customer_ID (Foreign Key, INT, references Customer.Customer_ID)
Amount (DECIMAL)
Payment_Date (DATE)
Payment_Method (VARCHAR)
________________________________________
6. Technician
This entity tracks technicians responsible for the installation and
maintenance of cable services.
Attributes:
Technician_ID (Primary Key, INT)
First_Name (VARCHAR)
Last_Name (VARCHAR)
Phone (VARCHAR)
Email (VARCHAR)
Hire_Date (DATE)
Relationships of noun:
1. Customer ↔ Subscription
Relationship: A Customer subscribes to a Subscription.
Cardinality: A customer can have one or more subscriptions
(e.g., a customer can subscribe to different services such as
cable TV and internet).
2. Subscription ↔ Cable_Service
Relationship: A Subscription is associated with a
Cable_Service.
3. Customer ↔ Cable_Box
Relationship: A Customer is assigned a Cable_Box.
4. Cable_Box ↔ Technician
5. Payment ↔ Customer
6. Payment ↔ Cable_Service
Relationship: A Payment is linked to the Cable_Service the
customer has subscribed to.
Cardinality: A Payment is related to one or more
Cable_Services, depending on the subscription plan and
services chosen.
EER DIAGRAM:
ER DIAGRAM:
DDL QUERIES:
-- Table for Customer
CREATE TABLE Customer (
Customer_ID INT PRIMARY KEY,
First_Name VARCHAR(255),
Last_Name VARCHAR(255),
Email VARCHAR(255),
Phone VARCHAR(15),
Address VARCHAR(255),
Subscription_Date DATE
);
);
Customer_ID INT,
Model VARCHAR(100),
Serial_Number VARCHAR(255),
Installation_Date DATE,
FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID)
);
Hire_Date DATE
);
Email VARCHAR(255),
Phone VARCHAR(15),
Subscription_Date DATE
);
CREATE TABLE Customer_Address (
Zip_Code VARCHAR(20),
FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID)
);
CREATE TABLE Package (
Package_ID INT PRIMARY KEY,
Package_Name VARCHAR(50),
Description TEXT
);
CREATE TABLE Subscription (
Service_Type_ID INT,
Description TEXT,
Cost DECIMAL(10, 2),
FOREIGN KEY (Service_Type_ID) REFERENCES Service_Type(Service_Type_ID)
);
Customer_ID INT,
Amount DECIMAL(10, 2),
Payment_Date DATE,
Payment_Method_ID INT,
FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID),
);
CREATE TABLE Technician (
Technician_ID INT PRIMARY KEY,
First_Name VARCHAR(255),
Last_Name VARCHAR(255),
Phone VARCHAR(15),
Email VARCHAR(255),
Hire_Date DATE
);
FINAL EER: