VIETNAM – KOREA UNIVERSITY OF INFORMATION ANDCOMMUNICATION TECHNOLOGY FACULTY OF COMPUTER SCIENCE SPECIALIZED PROJECT 3 INTEGRATE AI FEATURES INTO SOCIAL NETWORKING APPLICATION Students
Trang 1VIETNAM – KOREA UNIVERSITY OF INFORMATION AND
COMMUNICATION TECHNOLOGY
FACULTY OF COMPUTER SCIENCE
SPECIALIZED PROJECT 3
INTEGRATE AI FEATURES INTO SOCIAL
NETWORKING APPLICATION
Students conducting : NGUYEN PHUOC THINH
NGUYEN THI HONG HANH Lecturers providing guidance: D.SC DANG DAI THO
Class : 20SE2 - 20SE6
Trang 2VIETNAM – KOREA UNIVERSITY OF INFORMATION AND
COMMUNICATION TECHNOLOGY
FACULTY OF COMPUTER SCIENCE
SPECIALIZED PROJECT 3
INTEGRATE AI FEATURES INTO SOCIAL
NETWORKING APPLICATION
Trang 3In today's world, the application of information technology and digitalization is considered a crucial factor in the operations of governments, organizations, and companies It plays an extremely important role and can lead to significant breakthroughs With the continuous development of computer technology and electronic networks, information technology has been enhanced by high-level technologies, conquering one peak after another The Internet is one of the most valuable products and has become an indispensable tool, serving as the main platform for global information transmission and exchange
In the digital age, the construction of social networks is one of the most prominent trends Developing a social networking application that runs on multiple platforms has become a
challenge for developers This is why we have chosen the topic "INTEGRATE AI
FEATURES INTO SOCIAL NETWORKING APPLICATION" for my Specialized Project 3.
The aim of this project is to create an advanced social networking application that can be accessed on various devices, catering to the needs of users Additionally, this topic is relevant
to the current reality, as social networks have become an integral part of people's lives
Trang 4We would like to express my sincere gratitude to the university, specifically to the Faculty of Computer Science, for their dedicated guidance, valuable feedback, and the opportunities provided to us to successfully complete my research project for Specialized Project 3
We would like to thank D.Sc Dang Dai Tho for his wholehearted support and guidance throughout the process of conducting and reporting the research
During the execution of this research project, we have made diligent efforts, although some mistakes may still be present We hope to receive valuable input from my professors and the evaluation committee to further improve the quality of my research project
We sincerely thank you!
Trang 5(From the supervising instructor)
………
………
………
………
………
………
………
………
………
………
………
………
Supervising Instructor
(signature and full name)
D.Sc Dang Dai Tho
Trang 6TABLE OF CONTENTS Contents
HEADING 1
1 Overview 1
1.1 Implementation context 1
1.2 Problems need to be solved 1
1.3 What to do 1
2 Research Methods 1
2.1 Method 1 1
2.2 Method 2 1
2.3 Method 3 1
Chapter 1 Theoretical Basis 3
1.1 Overview of Artificial Intelligence 3
1.1.1 Definition of Artificial Intelligence 3
1.1.2 Some Types of AI 3
1.2 Overview of cross-platform programming 4
1.2.1 Concept of Cross-Platform Programming 4
1.2.2 Various Approaches to Cross-Platform Programming 4
1.2.3 Benefits of cross-platform programming 5
1.3 Introduction to social networks and their role in modern life 6
1.3.1 Concepts and characteristics of social networks 6
1.3.2 The role of social networks in modern life 6
1.3.3 Problems related to social networks 7
1.4 Overview of the Flutter framework and the reasons for choosing to use Flutter 8
1.4.1 Introduction to Flutter framework 8
1.4.2 Why choose Flutter 9
1.4.3 Points to note when using Flutter 9
1.5 Firebase platform overview and reasons for choosing Firebase 10
1.5.1 Firebase Concepts 10
1.5.2 Reasons for choosing to use Firebase 10
Trang 7Chapter 2 System Analysis and Design 12
2.1 System Requirements Specification 12
2.1.1 System Non-Functional Requirements 12
2.1.2 System Function Requirements 12
2.2 System Requirements Modeling 17
2.2.1 List of actors 17
2.2.2 List use cases 17
2.2.3 Use case diagram 19
2.3 Static Structure Modeling 22
2.3.1 List of classes 22
2.3.2 Class diagram 23
2.3.3 Object diagram 24
2.4 Behavior Modeling 24
2.4.1 Activity class 24
2.4.2 State diagram 27
2.4.3 Sequence diagram 29
2.4.4 Communication 31
Chapter 3 Construction Deployment 33
3.1 Login screen 33
3.2 News feed screen 35
3.3 Search screen 39
3.4 Community creation screen 41
3.5 Community screen 41
3.6 Community admin screen 43
3.7 Post creation screen 43
3.8 Post details screen 44
3.9 Profile screen 46
3.10 Extensions screen 47
3.10.1 Live Stream screen 47
3.10.2 Chat Bot screen 47
3.10.3 Speech to Text screen 48
Trang 83.10.4 Image to Text screen 49
CONCLUSION AND FUTURE DEVELOPMENT 51
1 Conclusion 51
2 Future development 51
REFERENCES 52
Trang 9LIST OF TABLES
Table 1 - Compare research methods
Trang 10LIST OF FIGURES
Figure 1 - Cross-Platform programming 4
Figure 2 - Socials 6
Figure 3 - Flutter framework 8
Figure 4 - Firebase platform 10
Figure 5 - Use case diagram for Admin 20
Figure 6 - Use case diagram for User 21
Figure 7 - Use case diagram for Guest 22
Figure 8 - Class diagram 23
Figure 9 - Object diagram 24
Figure 10 - Activity diagram for the Google account login use case 24
Figure 11 - Activity diagram for the Guest login use case 25
Figure 12 - Activity diagram for the search use case 26
Figure 13 - Activity diagram for the Theme change use case 27
Figure 14 - State diagram for the Google account login use case 27
Figure 15 - State diagram for the Guest login use case 28
Figure 16 - State diagram for the search use case 28
Figure 17 - State diagram for the Theme change use case 29
Figure 18 - Sequence diagram for post management use case 29
Figure 19 - Sequence diagram for community management use case 30
Figure 20 - Sequence diagram for profile management use case 31
Figure 21 - Communication diagram for post management use case 31
Figure 22 - Communication diagram for community management use case 32
Figure 23 - Communication diagram for profile management use case 32
Figure 24 - Applications on the Android phone screen 33
Figure 25 - Login screen interface on Android Mobile - App 34
Figure 26 - Login screen interface on Website 34
Figure 27 - News feed interface on Android Mobile-App 35
Figure 28 - News feed interface on Website 36
Figure 29 - Community List Drawer on Android Mobile-App 37
Trang 11Figure 30 - Drawer community list on Website 37
Figure 31 - Personal Drawer on Android Mobile-App 38
Figure 32 - Personal Drawer on Website 38
Figure 33 - Light Mode on Android Mobile-App 39
Figure 34 - Light Mode on Website 39
Figure 35 - Search screen on Android Mobile-App 40
Figure 36 - Search screen on Website 40
Figure 37 - Community Creation Screen on Android Mobile-App 41
Figure 38 - Community creation screen on Website 41
Figure 39 - Community screen on Android Mobile-App 42
Figure 40 - Community screen on Website 42
Figure 41 - Community editing screen on Android Mobile-App 43
Figure 42 - Community editing screen on Website 43
Figure 43 - Post creation screen on Android Mobile-App 44
Figure 44 - Post creation screen on Website 44
Figure 45 - Post detail screen on Android Mobile-App 45
Figure 46 - Post detail screen on Website 45
Figure 47 - Profile screen on Android Mobile-App 46
Figure 48 - Profile screen on Website 46
Figure 49 - Live Stream screen 47
Figure 50 - Chat Bot screen 48
Figure 51 - Speech to Text screen 49
Figure 52 - Image to Text screen 50
Trang 12LIST OF ABBREVIATIONS
3 DD-MM-YYYY DayDay-MonthMonth-YearYear
4 HH-MM-SS HourHour-MinuteMinute-SecondSecond
Trang 131
Trang 141 https://chat.openai.com/
2 https://console.firebase.google.com/
3 https://flutter.dev/
4 https://pub.dev/
5 https://stackoverflow.com/
6 https://www.youtube.com/
7 https://console.zegocloud.com/dashboard
2