Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer both parts (5 points each) (a) Consider a temperature sensor with an embedded computing element. This sensor sleeps most of the time. Once every
Answer both parts (5 points each) (a) Consider a temperature sensor with an embedded computing element. This sensor sleeps most of the time. Once every 5 minutes, it wakes up for a few milliseconds and creates a process that senses the current temperature and wirelessly sends the temperature reading to a supervisor device hidden in the false ceiling. Discuss the scheduling related requircments of this device and describe a scheduling scheme that the device could use to meet these needs. (b) Now consider the supervisor device hidden in the false ceiling. This device supervises several temperature sensors (of the type described previously) and hence needs to be always awake. When the device receives a message from a sensor device, it reads the temperature reading carried in the message and sends a message to a hot air switch to turn on or off. If a message received from a temperature sensor is not processed within 5 seconds, there is no value in processing the message since a new one would arrive from the sensor soon. The device creates a new process to handle each received message. Discuss the scheduling related requirements of this device and describe a scheduling scheme that the device could use to meet these needs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started