VIETNAM NATIONAL UNIVERSITY HOCHIMINH CITY UNIVERSITY OF INFORMATION TECHNOLOGY ADVANCED PROGRAM IN INFORMATION SYSTEMS TRINH HOANG NGUYEN - LE ANH TAI BACHELOR OF ENGINEERING IN INFORMATION SYSTEMS HO CHI MINH CITY, 2020 | NATIONAL UNIVERSITY HOCHIMINH CITY UNIVERSITY OF INFORMATION TECHNOLOGY ADVANCED PROGRAM IN INFORMATION SYSTEMS TRINH HOANG NGUYEN-16521755 LE ANH TAI-16521049 BACHELOR OF ENGINEERING IN INFORMATION SYSTEMS THESIS ADVISOR DR. NGUYEN THANH BINH HO CHI MINH CITY, 2020 ASSESSMENT COMMITTEE The Assessment Committee is established under the Decision. by Rector of the University of Information Technology. ACKNOWLEDGMENTS First of all, We would like to sincerely thank the teachers of the University of Information Technology, National University of Ho Chi Minh City, especially the teachers of the Information System Faculty.
It is thanks to the valuable knowledge that the teachers passed through the school hours that have created a stepping stone and solid luggage to help me complete the topic better. In particular, We would like to extend my sincere thanks and deep gratitude Dr Nguyen Thanh Binh, thank you teacher for enthusiastic guidance and favorable conditions for me to complete this thesis. Thanks to the suggestions and corrections of teacher. We can overcome my own shortcomings and errors to better orient the topic development.
Besides, We would also like to thank my friends and especially my family for always cheering and helping me to improve this topic. During the process of implementing the topic, We always put the research, research and development of the topic as a top goal combined with the available background knowledge to be able to complete the topic in the best way. However, in the implementation process, shortcomings are inevitable. Therefore, We look forward to receiving helpful contributions and advice from the teachers to strengthen the existing knowledge and be a prerequisite for me to be able to implement other projects in the future.
Thank you sincerely. UNIVERSITY OF INFORMATION TECHNOLOGY Advanced ADVANCED PROGRAM Education IN INFORMATION SYSTEMS Program THESIS PROPOSAL THESIS TITLE: An Embedded Based Electronic Album For Worship Advisor: Dr. Nguyen Thanh Binh Duration: From 9/2020 to 12/2020 Students: Trinh Hoang Nguyen — 16521755 Le Anh Tai — 16521049 Contents: 1. Objective: Realizing the need to display worship pictures is very essential.
But for small apartments in the city, the display area of worship space is narrowed. Therefore, we build a product that helps to display worship photos to meet cultural and spiritual needs at a reasonable price. To achieve this we need to set up a system based on php and Javascript. However, due to time and resource limitations, this product will be defined in the Scope section.
Scope: Since there aren't too many apps and websites related to this product, we'll be specific and narrow the scope as follows: Built on the low-cost Raspberry Pi embedded circuit platform Support intuitive management interface for users via local web. Supports basic display scheduling features, display functions (Single image display, Double image display, Random display, How long to display before image transfer Support to create basic interfaces for images to display (add borders to pictures, add frames, add necessary information on pictures, .) Methodologies: Device : Raspberry Pi circuit, LCD panel. The programming languages that will be used are php, Javascript, HTML, CSS.js, Laravel Model of application : Web based application, Server - client. Operating system : Raspberry Pi OS (previously called Raspbian).
Expected Results : The expected outcomes of this project are as the following: - Build a mesh product that meets the needs above. - Cheap for a set of products. - Easily used to cater to the worship and spiritual needs of each family. Research time lines: Task Start day | End day Assign to Meeting with lecturer for the issue of | 14/8/2020 | --/--/---- Tai, Nguyen the project Design database 20/8/2020 | 30/8/2020 Tai, Nguyen Front end | Design UI 25/8/2020 | 1/10/2020 Nguyen Mix Laravel project Backend | Design web system 25/8/2020 | 25/10/2020 Tai Create API Server Set enviroment and | 25/10/2020 | 24/12/2020 Tai, Nguyen server for device Push project into device Testing system for complete 24/12/2020 | 30/12/2020 Tai, Nguyen Tasks assignment Approved by the advisor(s) Ho Chi Minh city,.
Signature(s) of advisor(s) Signature(s) of student(s) IV TABLE OF CONTENTS ACKNOWLEDGIMEÌN TỀ. HH TH HH HH nh i THESTS PÑPP() SA Ì. TH HT ng ng ii LIST OF TABLES. << < si HH Họ TH I0 ix LIST OF AC ROÌN Y|ÌM S.
HT HH TH HH nh x ABSTRACT. SH KH nh HH nhe 1 1.1 Problem s(af€ImenI.1 Current status SUTV€Y. 2n tt HT HH HH TH HH Hi 1 1.2 Thesis OĐbj€©CfÏV€.3 OD ject, SCOD.4 Methods and tools of implementation. KH kg ke 5 2.2 REST and RESTful API.
Build website application by PHP frame-work Laravel.4 Design front-end and fetch API with Vue. SYSTEM ANALYSIS AND DESIGN .2 Non-function r€quIIr€fm€fIfS:.2 Use case đÏagraIm.1 Use case SD€CIÍICAfIOT.2 Description Of ACÍOTS.-- - c3 1319 92 2v 1v vn ng ng 18 3. Description Of Usecases: .-- SG S2 S 11v ng ng vn 19 3.1 Add a new image to SlideShow .2 Add relationship to OJ€CÍ. Setting default Í€afUT€S.-- -- -Ă + S1 vn ng ng ng 24 3.4 Update of each 1mage .4 Sequence đỉaØraIm.4 Setting default features .5 Update of each 1mage.
INSTALLATION, USER GUIDE AND DEPLOYMENT.2 Using admin paB. vn ng re. Development environment and system deploymen(.-- - << + + + x*++*EE++eeE+eeeeeeeeeeeeeerreerre 58 4. 5 << << KH KH Huế 70 Š.coco ó5 SH HH 9 000 08.3 Orientation of topic developMeNt.
- «<< << HH KH KH TH HH HT nhe 72 VỊ LIST OF FIGURES Figure 2.1 Relationship between client, API And S€rveP. - << 5£ «%9 SE 9S E98 9 SESEEESSESESEESEEEEkrsrsrerereerersrsre 9 Figure 3.1 Use CaS€ (ÏÌ(ÐT(IHH1.o- << 5< Ă Tnhh gen nen 16 Figure 3.2 Activity diagram Add a new image to SlideshioW.3 Activity diagram Add relationship to 0O j@C.4 Activity diagram Setting default features .5 Activity diagram Update of each image .6 Activity diagram Delete ÙITI(Ø©.7 Activity diagram Delete relationship .8 Sequence diagram display image .9 Sequence diagram add new LITIGÔ.10 Sequence diagram add relationship .11 Sequence diagram Setting update @QÍHLTF€S.12 Sequence diagram update of each image .-< «s55 S<sss£sesesess 39 Figure 3.13 Sequence diagram delete image .14 Sequence diagram delete relationship .15 Class (ÏÏ(Œ@TFŒTHH. 5-5 << << TT HT ngan re 45 Figure 3.1 OR to connect the WIT-ÏLOSÍOOÍ.2 OR to open Admin Page.3 3 function of AAMIN DÔ. gen ee re 52 Figure 4.4 [con add Mew recor, .5 Create new fOrim.6 S Icon setting the default features.
5< nh HT HT TT gan nh 54 Figure 4.8 Time transition funtion,.9 Icon Relation S©ÍẨÙHE. gen gere 55 Figure 4. << s< << TT ng TT gen gerere 55 Figure 4. TT ng ng ng ng gen re 55 Figure 4.12 Action with records, .ccsccccscsserssssssssscsssscsssssssssesssssscssssssessscesssssssssssseeseeees 55 Vil Figure 4.13 Icon 3 option of each OÏj@CÍ.14 Upage task ,[OF H .15 Icon relationship of cach ObjeCt.16 Add relation ƒOTHHL.
5< 5< << th HT Hung re 57 Figure 4. << << < << x1 x1 g1 gen gen re” 60 [i0 9209,. 5-5 << << TT ng TT ng nen ng 64 Figtre 4.28 Add relation DQE©. 5< <- << << xxx 91 1611 6 1 1x1 genee re 69 VIII LIST OF TABLES œ4EEl› Table 3.1 Table use Case spe€Ci[[TCđfiOHI.--<-<« Error! Bookmark not defined.2 Desciption of ACtOrs iN USE CdS€.
Error! Bookmark not defined.3 Description Of USC COSC .-<-<<<<<<<+ Error! Bookmark not defined.4 Table people _ r€Ï(4ÍÄOïI.-- << «5s =<«=s<sss Error! Bookmark not defined.o-< 5< SSSSSsSsesEsstsessesesee Error! Bookmark not defined. << SSĂSSSSseessesssesesee Error! Bookmark not defined.8 Table people relation .1 Description Of AAMIN PAGE .---‹ Error! Bookmark not defined.24 Description Of Create PAGE .----«-s<<<+ Error! Bookmark not defined.4 Description relation Page. -----<-« Error! Bookmark not defined.5 Description Update Page. ---s-s-5 Error! Bookmark not defined.6 Description Add relation page .- Error! Bookmark not defined.
IX LIST OF ACRONYMS NO. Acronyms Stands for 1 API Application Programming Interface 2 HTTP Hyper Text Transfer Protocol 3 JSON JavaScript Object Notation 4 PHP Hypertext Preprocessor 5 SQL Structured Query Language 6 HTML Hypertext Markup Language 7 CSS Cascading Style Sheets 8 REST Representational State Transfer 9 CRUD CREATE,READ,UPDATE,DELETE 10 XAMPP X (any of four different operating systems), Apache, MySQL, PHP and Perl 11 UI User Interface ABSTRACT Thesis “an embedded based electronic album for worship” is aimed at people who have a small living space but want to worship their loved ones who have died. With the growing technology and smartphone, it will be practical to present as many worship photos on the screen as you want and be controlled remotely via smartphones. This thesis is to build a web application, use PHP to build API and then use JavaScript to get and use them for the user interface and then embed the system into the Raspberry Pi device to play through the screen.
With the purpose of providing a user purpose to manage projected images. Since the system is designed under the localhost network, after installing the entire system for users, they can operate all the functions of the system such as modifying the user's system relationships in the image, making changes Show photos, change the time between images, choose important dates to take photos on this date. After surveying and understanding the needs of users, the project is developed in the following direction: - Built in perfect interface and easy to use for users, using beautiful and reasonable photo frames. Besides allowing users to manage images conveniently.
- Construction tools include: PHP, JavaScript, Laravel, API, Html, CSS, Vue.1 Problem statement Nowadays, people in small cities are flocking to big cities to work and live. Therefore, in addition to the need for material life, the spiritual life is also more focused than before. In fact, the vast majority of people only live in rented houses and live in apartments with small areas, so the worshiping position has been arranged a small position in the house. Therefore, the need to worship at the same time many people have died becomes difficult.
Keeping pace with the age of information technology is very developed. And technology and smartphones are also the indomitable thing of a person living in a big city. Therefore, the integration of information technology into worship also inspires us to implement a new project. In order to solve everyone's worshiping needs but encounter obstacles when the residence is small, the project aims to build a web application that helps to play remote-controlled intelligent worship images to help solve the problem.
Current status survey In fact, individual organizations are doing online forms of worship, helping clients to perform the worship from afar through the organizer and only observing on the phone screen. As for us, we provide a visual display screen of the deceased's worship so that clients can perform home worship for many people without wasting space. As mentioned above, the proportion of the population moving to live in big cities is increasing rapidly, but with low incomes, people's accommodation is also very limited. According to a survey by vneconomy newspaper, in 2019 in Ho Chi Minh City, about 476,000 households do not have a house or are living with relatives, accounting for nearly a quarter of the total number of households.
In which, about 20,000 cadres and civil servants do not own houses; 300,000 households have the need to rent social housing; 143,000 households have the need to buy, rent and buy social houses (accounting for 65% - 94% of the survey respondents). With the current situation, there are about 42% of houses under 30 m2 / house, even 22.4% of houses under 20 m2 / house. According to Assoc. Nguyen Hoi Loan and MA.
Nguyen Thi Hai Yen, ina study on belief in ancestor worship, 75.