Abstract
In IT Industry, although ‘Digital Picture Frame’ has advantage of not only bringing the nostalgic memories of classic desk frame but also using smart way to change the picture, it did not become a new trend. It was because there were several problems in digital picture frame such as an expensive price of most importantly, inconvenience of picture transmission system. In this paper, we provide a solution for picture transmission system, and more than that, we add various functions that could use with pictures such as widget and security function. In particular, we use AWS server in the transmission system, and it allows using data in the Wi-Fi environment to transmit pictures whenever and wherever people want it. The proposed system will be the great solution for the discomfort of the current digital picture frame’s transmission system which is using USB or SD card. Also, by using this digital picture frame at home or work.
Similar content being viewed by others
Keywords
- Internet of Things (IoT)
- Amazon Web Service (AWS)
- Wi-Fi
- Smart phone
- Application
- Security
- Widgets
- Digital picture frame
1 Introduction
With a development of industry, some people are missing and using the products of analog generation instead of developed products because of beauties and special advantages calling as an analog emotion. For example, we heard music by LP(Long Play Record) with turntable at past but nowadays, technology changed turntable with mp3 player such as Smartphone. Yet somewhere people uses turntable because of its beauty and nostalgic memories.
Shape of smart photo frame in this paper looks like existing shape of it and it will attract feeling of nostalgia. Nowadays, we can input pictures to digital frame by USB memory and SD-Card. But this method is convenient. And nowadays, digital frame includes various functions such as music player, touch slide shower, watch, Calendar. But people don’t use these functions often because of discomforts.
Therefore, in this paper, we suggest efficient solution to remove discomfort using USB memory and SD-Card and including functions. In addition, we make security function using infrared light sensor and camera. We implement transmission method using AWS (Amazon Web Service) [1] that is an android application. In android application, we send pictures to AWS using Multipart [2] and AWS shows pictures to web page organizing of HTML [3]. Digital frame includes small computer called by Raspberry Pi [4] and connects to web page using Chrome [5] and shows pictures using display. Unlike other digital frame, we place widget functions in the corner of one web page. If movement is detected, infrared light sensor catches and takes a picture. We suggest three discriminations such as transmission method, widget function, and security function and overcome the problems of current digital frame.
This paper is organized as follows. In Sect. 2, we introduce the domestic and foreign related research. In Sect. 3, we suggest functional review of this research. In Sect. 4, it is performed experiments and analysis. Finally, in Sect. 5, we conclude this paper.
2 Transmission Methods
In some cases, such as SAMSUNG [6], LG [7], SONY [8] and CEVIA [9], user process using USB memory and SD-Card for transmission method is as follows. First, we save pictures to computer hard disk drive. Second, we copy pictures to USB memory or SD-Card. And finally, we recopy pictures to digital frame. Repeating this step is simpler than analog style of print a picture and insert to frame. But this method is complicated and inconvenient.
In other cases, such as KT [10], SKT [11], Dufri International [12], they use a method of E-mail and MMS. This method is simpler than that of USB memory and SD-Memory. But there are some restrictions. In the E-mail transmission method, we have to memorize E-mail address and turn on internet browser and proceed login process. In the MMS transmission method, we have only on process, but we have to pay a fee.
Thus, we suggest picture transmission method using smartphone application data. This pethood is more cheap and convenient than established method, such as USB memory, SD-Card, E-mail, MMS.
3 Proposed Functional Review of the Study
In this paper, we proposed a smart photo frame that composed of Raspberry-Pi(H/W), AWS(Server), Android application. A core function of this research is composed by three. First function is picture transmission. A method of picture transmission functions is not USB Memory and SD-Card but Wi-Fi transmission system. Second function is Widget. Existing digital picture frame suggests calendar. But when one uses a calendar function, one can’t see pictures. The proposed frame shows Widget opaquely on picture and one can see picture and widget at the same time. One can choice and see a widget toggling On/Off switch. Third function is Security. If movement is detected, infrared light sensor detects and takes a picture and send picture to Server. This function can be toggled On/Off too. The combination of CCTV and Picture of captured by security function can prevent crime. This security function is only available to the proposed frame.
3.1 Function of Picture Transmission
Picture transmission process of the frame is as follows. By Multipart form-data form, picture in smartphone is sent to server, AWS. In AWS server, save picture to Server and DB using Multipart form-data of Node.js. To the next, show picture on web page.
This is all that we select picture in gallery in smartphone and touch ‘Send’ button. So picture transmission process we proposed is simpler than existing process. The proposed frame is cheaper than existing process that need to fee 83 to 200 won per one case.
3.2 Function of Widget
The Widget function process of the frame is figured as shown in Fig. 1. Android smartphone application checks state of ‘On/Off’ data and saves to DB. After that, HTML verifies DB and expresses Widget of ‘On’ state. Widget has Time/Date, Weather, Memo, News, and so on. If one toggles Time/Date ‘On’, display shows time with external Library, ‘ClockLink’ and date with Date class in JavaScript. For Weather, we use api of National Weather Service in general. But we found bugs in api of National Weather Service and asked to fix. Nevertheless, there is no modification. So we use api of ‘Weather UnderGround’ and it provides high performance and exact weather information. For Memo, user can save memos using application. At first, system saves memo to DB. Next, system sends specific URL in Server in the form of Json using request module of Node.js. Web page parses data, formed with Json type in specific URL and shows parsed data. For News, widget parses news RSS and shows. In this research, we thought that it is better to show more various kinds of news than specific news. So we applied RSS of ‘Google popular news’ and shows News as follows. Because of ’Same Origin Policy’ [13], we did not RSS Parsing in web but using cheerio module and request module of Node.js in Server, draws data formed in Json type in specific URL. The system parses data formed in Json type in specific URL using Ajax of Jquery and shows news to user.
3.3 Function of Security
The frame’s process of security is figured as shown in Fig. 2. The system saves state of ‘On/Off’ to DB and Raspberry Pi progresses next step using Python. When a state of security is ‘Off’, check continuously until ‘On’ state. When state indicates ‘On’, system takes a picture using infrared light sensor when senses movement. After that, system sends picture as a Multipart form-data type to Server and returns to first step after 10 s. System receives picture using Multipart form-date of Node.js in Server and saves path & name to DB. At last, android application loads picture in Server by path & name from DB and gives a choice to save picture in the middle of gallery showed by ‘Picasso’ Library.
4 Experiment and Analysis
For the experiment of picture transmission, we tested environment of Wi-Fi and LTE-A(Long Term Evolution-Advanced) [14]. After Splash [15] activity is executed, main activity is executed continuously. When you touch ‘Frame Setting’ area, mode is changed to frame setting activity as shown in Fig. 3(a) and when you push picture area, the gallery of smartphone is activated and if you choice a picture, picture transmission activity will be appear as shown in Fig. 3(b). You can choice between ‘Send’ and ‘Cancel’. If you choice ‘Send’ button, picture will be sent to Server and picture of your digital frame will be changed.
4.1 Result and Analysis
As shown in Fig. 4, it [16] took 19.515 ms, 9.967 ms, 7.527 ms, 9.358 ms, and 9.453 ms at each time. The transmission took 11.164 ms average. We know that Wi-Fi speed [17] is 11 Mbps and LTE-A speed [18] is 150 Mbps. So we can suppose that it will be faster in LTE-A environment.
5 Conclusion
Existing transmission methods such as USB Memory, SD-Card, E-mail, MMS are not efficient because of too much steps and time, inconvenience and cost. Picture transmission process in this paper is efficient because of few steps with application, fast time using Wi-Fi and LTE-A, low cost more than existing method. From now on, direction of research is suggestion of various widgets and applies to various fields.
References
Multipart. https://en.wikipedia.org/wiki/MIME#Form-Data
Raspberry-Pi. https://en.wikipedia.org/wiki/Raspberry_Pi
Google Chrome. https://en.wikipedia.org/wiki/Google_Chrome
SAMSUNG. http://www.zdnet.co.kr/news/news_view.asp?artice_id=00000039171353
SKT. http://www.hankyung.com/news/app/newsview.php?aid=2005110149118
Dufri International. http://m.blog.daum.net/allmart/15651952
Same Origin Policy. https://en.wikipedia.org/wiki/Same-origin_policy
ms. http://terms.naver.com/entry.nhn?docId=1917667&cid=50332&categoryId=50332
Wi-Fi speed. http://terms.naver.com/entry.nhn?docId=70666&cid=43667&categoryId=43667
LTE-A speed. http://terms.naver.com/entry.nhn?docId=1968165&cid=43667&categoryId=43667
Acknowledgments
This work was supported by National Research Foundation of Korea Grant funded by the Korean Government (NRF-2013R1A1A1075980).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Bae, JH., Kim, IH., Jeon, YT., Lee, H. (2017). IoT-Based Smart Photo Frame. In: Park, J., Pan, Y., Yi, G., Loia, V. (eds) Advances in Computer Science and Ubiquitous Computing. UCAWSN CUTE CSA 2016 2016 2016. Lecture Notes in Electrical Engineering, vol 421. Springer, Singapore. https://doi.org/10.1007/978-981-10-3023-9_122
Download citation
DOI: https://doi.org/10.1007/978-981-10-3023-9_122
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-3022-2
Online ISBN: 978-981-10-3023-9
eBook Packages: EngineeringEngineering (R0)