We chose to use APP combined with SNS as data visualization measures, because the operating situation is that parents forget their children in their car in summer, and we want them to be informed with this dangerous situation. Thus an application is just what we need. It provides a straightforward and easy-to-interact platform to alert parents and enable them to take some necessary actions. We also combined SNS notification in case users are in areas with bad mobile signal.
1. Goals to achieve
Our App should realize following functions:
(a) Receive alarm messages when the Intelligent Baby-sitter installed in the car decides that there is a baby locked inside the car.
(b) Confirm the alarm message to make sure the user have seen this alarm.
(c) Open the fan inside the car(in reality, the car’s air-conditioner) for cooling, making the situation better for the baby.
(d) The fan can AUTOMATICALLY control fan speed according to temperature and every time it will run 60 seconds
2. Measures taken
(a) We built a server-client communication model because we need a central server to process information gathered from the temperature sensor and the machine learning model; meanwhile we need to deliver message to the APP and the fan. What’s more, the APP also need to send confirm messages to the server when customer recognize the alarm. So, the server-client model matches our need best.
(b) We need a server that is running all the time and easily accessible. So we put our server into the AWS EC2.
(c) TCP communication and multi-threads techniques are needed. Here, we realized multi-threads communication between the central server and different clients by using sockets. We also took the “concurrency control” issue into consideration, and added “lock” to make sure the accuracy and reliability of the APP.
(d) We realized a “caching” function. It means that even if a “dangerous alarm” message is created when the APP is not opened, it will be displayed on the phone when the user opens the APP. We made this happen by caching it in the server.
(e) In case of undesirable mobile signal situations in which it is hard for the user to run the APP through ISP, we added SNS notification function. This guarantees an alert message can be received by the phone, notifying the user about the dangerous situation.
3. Result
We developed an android APP by using Android Studio. When dangerous situation is detected, the APP can receive alarm messages, notifying the danger and current temperature in the car. After receiving the message, the user can open the fan as a counter measure. Furthermore, a SNS notification will be sent to the phone. The SNS notification and APP alert forms a dual fail-safe. Our APP realize a close-loop.
1. Goals to achieve
Our App should realize following functions:
(a) Receive alarm messages when the Intelligent Baby-sitter installed in the car decides that there is a baby locked inside the car.
(b) Confirm the alarm message to make sure the user have seen this alarm.
(c) Open the fan inside the car(in reality, the car’s air-conditioner) for cooling, making the situation better for the baby.
(d) The fan can AUTOMATICALLY control fan speed according to temperature and every time it will run 60 seconds
2. Measures taken
(a) We built a server-client communication model because we need a central server to process information gathered from the temperature sensor and the machine learning model; meanwhile we need to deliver message to the APP and the fan. What’s more, the APP also need to send confirm messages to the server when customer recognize the alarm. So, the server-client model matches our need best.
(b) We need a server that is running all the time and easily accessible. So we put our server into the AWS EC2.
(c) TCP communication and multi-threads techniques are needed. Here, we realized multi-threads communication between the central server and different clients by using sockets. We also took the “concurrency control” issue into consideration, and added “lock” to make sure the accuracy and reliability of the APP.
(d) We realized a “caching” function. It means that even if a “dangerous alarm” message is created when the APP is not opened, it will be displayed on the phone when the user opens the APP. We made this happen by caching it in the server.
(e) In case of undesirable mobile signal situations in which it is hard for the user to run the APP through ISP, we added SNS notification function. This guarantees an alert message can be received by the phone, notifying the user about the dangerous situation.
3. Result
We developed an android APP by using Android Studio. When dangerous situation is detected, the APP can receive alarm messages, notifying the danger and current temperature in the car. After receiving the message, the user can open the fan as a counter measure. Furthermore, a SNS notification will be sent to the phone. The SNS notification and APP alert forms a dual fail-safe. Our APP realize a close-loop.