Question
the client-server application should be written in Java programming language. Many elderly patients suffer from chronic diseases, which require costly long time care services. Wireless
the client-server application should be written in Java programming language.
Many elderly patients suffer from chronic diseases, which require costly long time care services. Wireless Body Area Networks (WBAN) enables remote monitoring of patients with chronic diseases, thereby, improving the elderly patients quality of life and reducing medical care cost. In this project, you are going to implement a simulation of a typical Remote Health Monitoring System (RHMS) which uses WBAN. RHMS is based on the client-server architecture. The system you are required to implement considers using three types of sensors, which are heart rate, oxygen saturation, and temperature, for monitoring the health of elderly patients. The RHMS consists of (3) main components as shown in Figure 1:
The Sensor Client Application: which collects the sensors data and sends them to the server side of the Personal Server via TCP sockets.
The Personal Server: which has two roles. It acts as a server for the Sensor Client Application that processes the received sensor information and decides whether or not this information needs to be sent to the caregiver. If the processed information needs to be sent to the caregiver, the client side of the Personal Server sends the appropriate messages to the Medical Server.
The Medical Server: which receives messages about the patient status from the personal server. The medical server displays the received messages from the Personal Server to the caregiver. In addition, it processes the received information and displays the appropriate action to be taken by the caregiver.
Description of the RHMS Operation Steps:
Three types of sensors are installed on the elderly patient body which are heart rate, temperature, and oxygen saturation sensors. For simulating the generated data by these sensors the Sensor Client Application must generate them randomly. The random numbers are generated depending on the sensor type according to the following ranges:
Temperature sensor data is between 36C and 41C.
Heart rate sensor is between 50 and 120 heart beats each minute
(bpm).
Oxygen level in the blood data is sent by the sensor with values
between 60% to 100%.
The sensors send their sensed data every 5 seconds to a Personal Server
application installed on the patient's mobile phone.
The Personal Server displays the received sensors data on its application
interface.
The Personal Server application processes the receive sensor data and
decides based on the processed data if the medical caregiver should be notified. The personal server contacts the caregiver server in any of the following cases and sends the appropriate messages based on the following cases:
a. If the temperature exceeds 38, the message to be sent is At date:
If the heart rate exceeds 100, the message to be sent is At date:
If the heart rate is below 60, the message to be sent is At date:
If the oxygen saturation is below 75, the message to be sent is At date:
At the Medical Server, the received messages from the Personal Server are displayed on the caregiver application interface.
The Medical Server processes the received measurement notifications and based on processing this data decides on the appropriate action. The following output is displayed on the caregiver interface:
If the temperature exceeds 39 and heart rate is above 100 and oxygen is below 95, the message to be displayed is Send an ambulance to the patient!.
If the temperature is between 38 and 38.9, and the heart rate is between 95 and 98, and oxygen is below 80, the message to be displayed is Call the patient's family!.
Otherwise, the message to be displayed is Warning, advise patient to make a checkup appointment!
The RHMS Simulation Software execution must start and run as following:
ThePersonalServerApplicationshouldhaveaninfinitelooptoaccept
connection requests from the Sensor Client Application.
TheMedicalServerApplicationshouldhaveaninfinitelooptoaccept
connection requests from the Personal Server.
The Sensor Client Application needs to run over a period of time. The
minimum time of execution is (60) seconds which is equivalent to 12 readings. You can allow this value to be entered at runtime (e.g. user input or read from file).
Finally, the client Personal Server runs when needed.
Sensors Application Output At date: 15 Jan 23 , time 09:05:14, sensed temperature is 37 At date: 15 Jan 23, time 09:05:15, sensed heart rate is 96 At date: 15 Jan 23 ,time 09:05:16, sensed oxygen saturation is 96 At date: 15 Jan 23, time 09:05:17, sensed temperature is 39 At date: 15 Jan 23, time 09:05:18, sensed heart rate is 101 At date: 15 Jan 23 , time 09:05:19, sensed oxygen saturation is 93 Personal Server Output At date: 15 Jan 23 , time 09:05:14, Temperature is normal At date: 15 Jan 23, time 09:05:15, Heart rate is normal At date: 15 Jan 23, time 09:05:16, Oxygen Saturation is normal At date: 15 Jan 23 , time 09:05:17, Temperature is high 39. An alert message is sent to the Medical Server. At date: 15 Jan 23, time 09:05:18, Heat rate is above normal 101. An alert message is sent to the Medical Server. At date: 15 Jan 23, time 09:05:19, Oxygen Saturations is low 93. An alert message is sent to the Medical Server. Medical Server At date: 15 Jan 23, time 09:05:17, Temperature is high 39. At date: 15 Jan 23, time 09:05:18, Heat rate is above normal 101. At date: 15 Jan 23, time 09:05:19, Oxygen Saturations is low 93. ACTION: Send an ambulance to the patient
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