Название: Machine Learning Techniques and Analytics for Cloud Security
Автор: Группа авторов
Издательство: John Wiley & Sons Limited
Жанр: Программы
isbn: 9781119764090
isbn:
Figure 4.3 Dataflow diagram for the message, command, and data transfer.
4.8 Components of Informative Interface
The most important interface is the mirror. The mirror considered here is architecture for doing multiple functions in same time slot, i.e., the concept of multiplexing is applied. The interface is made in such a way that even though it provides us with the mirror like effect, it also smart enough to view us multiple information like news, clock, calendar events, and fitness tracking on the background. Information is relayed with the help of a LCD screen behind the glass. The key factor is the smoothness of the surface, as rough surfaces scatter light instead of reflecting it. Since the propositions of installing multiple smart informatics are embedded inside the system as per user’s choice.
One of the major interfaces is clock, which is real time and updates itself using time server of Google NTP (Network Time Protocol). NTP provides accurate and synchronized time across the Internet.
On the top left position of the mirror, we have the email sync option. This uses SMTP protocol to receive mails from your mailing servers to the screen. Our mirror has only the option of incoming mailing view notification feature for obvious reasons.
Uber is the largest cab industry business globally recognized. Uber has multiple integrations with Google and other smart device manufacturers. Uber has free API distribution developer platform that provides us with the API keys for free. So, we have used that API interface along with our cloud server to be more specified, Google Cloud Console. To obtain the data against our Uber account that are sync to the Uber Technologies Servers from our mobile phones, we have used a buffer mosquito server in between UBER and our Google Cloud Console. Schematic block diagram is given in Figure 4.4.
Now, we consider a music streaming device in digital form, called Spotify that provides access of digital audio and video files from a normally huge database along with podcasts and videos. The major acceptance and corresponding overwhelming response to Spotify is due to the fact that all the contents under this umbrella are free with a simple authentication through email or Facebook account. This module shows user the current playback on Spotify app from any devices like iPad, iPhone, any Android Phones, and computers using the same Spotify account. Block diagram is given in Figure 4.5.
Figure 4.4 Block diagram that exhibits the linkage between Uber server and IFTTT server.
Figure 4.5 Block diagram for Spotify server connection.
Figure 4.6 Block diagram for fitness tracking using Google Fit.
Fitness-freak persons are increasing in day by day in the modern lifestyle and therefore can be considered an essential part while making the present proposal. The embedded fitness tracker does the same. Google Fit is a free-to-use application developed by Google for multiple devices like mobile phones based on Android and IOS. It also has extended its support to multiple wearable operating system and devices like iWatch, MI watch, Fitbit, and other smart watches. Data of one’s daily activity are stored through these devices and are synced to the cloud via internet. Here, the user can sync his/her account of Google Fit to the mirror by replicating the data from Google Fit server to our Cloud Console and then viewing the data on owns Mirror. Block diagram is given in Figure 4.6.
News updates are fetched within the mirror directly from Times of India world news with 1 hour interval. The present proposal deals with one extremely essential feature which is given at free of cost; that is weather predictions with utmost accuracy. This is helpful for making daily routine for people with whatever professions. Phone notifications are fetched into the mirror and stayed tuned.
4.9 Results
The total result section in this manuscript is subdivided into three parts: circuit design, LDR data display, and API data from the informative interface. In the circuit design section, we have discussed about PIR sensor and its connections, LDR, control unit design, and Rasberry Pi configuration. In the display section, we have shown the variation of data in LDR, and API data using Google Cloud Console is exhibited in the last phase of this section.
4.9.1 Circuit Design
We have started with the setting up of Raspberry Pi 3 Model B+, which operates at 1.4GHz. This is supported by Bluetooth 4.2.1, along with wireless ac Wi-Fi. The process begins with connecting the microphone and speaker to the Raspberry Pi and then by inserting the SD card into it. Thereafter, USB keyboard, mouse, and HDMI monitor are added sequentially.
Figure 4.7 Implementation of PIR sensor in our system.
Figure 4.8 Block diagram of the control unit.
Figure 4.9 Live streaming results of the LDR sensor.
At last, Ethernet cable is connected to Wi-Fi network. After successful configuration, date and time will be set.
The next important hardware part is the Pyroelectric Infrared (PIR) Sensor Module, required for human body detection. Its implementation into the interface circuit is shown in Figure 4.7.
In the next phase, control unit is designed. Microcontroller is connected with relay module and LDR, where proper power supply is required. Block diagram is given in Figure 4.8.
4.9.2 LDR Data
After finalizing the circuit, LDR gives data as output which is a series of pulses. Plots are shown in СКАЧАТЬ