Design a real time system for a bank which also acts as a security system for intruder detection and alert. Identify what would be the prerequisites for the same. Explain the algorithm and scenario for the same. (model, algorithm and Cheddar implementation). Identify the basic tasks required.
Explain what type of system it is i.e. either HARD /SOFT OR FIRM and justify your answer.
Also mention what type of scheduling algorithm can be used and justify your answer.
Also say whether it is online or offline scheduler and justify your answer.
Posts: 8,059
Threads: 1
Joined: Mar 2014
case studies of rtos
RTOS Functional Overview
Process Management
– create/terminate processes
– perform reset or 'power-on' initialization
Processor Scheduling
– selection & dispatch of processes for execution
Inter-Process Communication/Synchronization
– send/receive messages
– signal/wait on semaphores
Storage Management
– allocate/deallocate memory
RTOS Functional Overview [2]
Interrupt Handling Framework
– capture interrupts
– if required, activate a user defined process
Timing Services
– relative [delay] services
– absolute time services
Device Driver Interfaces
– provide standard i/o and specialized interrupt
driven device handlers
Simple RTOS: Requirements
basic requirements
– non-preemptive
– support for processes [creation at init time only]
– priority scheduling [fixed priority]
– message-based interprocess communication
[asynchronous, messages sent in envelopes]
– memory management: message envelopes
– basic timing services
Simple RTOS: Setting
Assumptions concerning RTOS setting
– all processes are known and created at OS
initialization time
– processes are friendly, cooperating and non
malicious
– each process ‘knows’ the process_id of its coworkers