Social network platform
SOCIAL NETWORK PLATFORM
SVTH: Ngu ễn Thu Hà, Phạ Quang hiến
Vương h nh Linh, Trần Thu Hiền
GVHD:ThS Luyện Thu Trang
ắ : Mục đích của nghiên cứu này là xem xét ỹ lưỡng lý do, lợi ích, vấn đề và giải pháp
gặp phải trong việc sử dụng mạng xã hội dựa trên ý iến của sinh viên Đại học Hà Nội, từ đó, chúng
ta có thể tạo ra một mạng xã hội hữu ích. Nghiên cứu này được thực hiện bằng cách sử dụng ỹ thuật
bảng câu hỏi để thu thập dữ liệu. Do đó, bảng câu hỏi được t chức với 1 sinh viên ngẫu nhiên.
Dựa trên ết quả nghiên cứu, người ta thấy rằng có nhiều lý do hiến sinh viên sử dụng mạng xã hội
như ết nối và giữ liên lạc với bạn bè và gia đình một cách dễ dàng, chia s cảm xúc hoặc câu chuyện
với người hác và giảm căng th ng. Một điểm quan trọng hác trong cuộc hảo sát này là ý iến của
sinh viên về mạng xã hội, liệu là nó tốt hay hông. Nếu hông, giải pháp cần thiết để cải thiện mạng
xã hội là gì. Do đó, người ta tin rằng báo cáo này có thể phục vụ như một nguyên mẫu cũng như một
huyến hích tiềm năng cho các nghiên cứu lớn h n và xa h n trong tư ng lai.
ừ kh a: Social network platform, REST Architecture Style, Software Development Life Cycle
(SDLC)
Abstract: The purpose of this study is to scrutinize the reasons, benefits, problems and
solutions encountered in the usage of social networ ing based on opinions of Hanoi University’s
students, thence, we can create a useful social media web. This study was conducted using the
questionnaire technique to collect data. Therefore, questionnaire was held with 100 random students.
Based on the study’s results, it was found that there are various reasons why students use social
media such as connecting and keeping in touch with friends and family easily, sharing emotion or
story with others and reducing stress. Another ey point in this survey is the students’ opinions about
social networking, whether it is good or not. If it does not, what is the solution needed to improve
social networking. As such, it is believed that this report can serve as a prototype as well as a potential
stimulus for larger and further studies in the future.
Keywords: Social network platform, REST Architecture Style, Software Development Life Cycle
(SDLC)
I. INTRODUCTION
With the explosion of internet, social networks are becoming increasingly popular in
our society. Thanks to social media, we can communicate easily with others regardless of
geographical distance and time. However, social network platforms also bring many troubles
for users as wel as administrators such as security errors, annoying advertisements, slow
processing speed and difficult interface to use. Thus, based on collected users‘ requirements,
we aim to conduct Social Media Web Project which creates a simple and convenient social
media web and focuses more on restful architecture.
152
II. METHODS AND RESULTS
Software Development Life Cycle (SDLC) is the development approach for our project
which is a process used by the software industry to design, develop and test high quality
softwares. The SDLC aims to produce a high-quality software that meets or exceeds customer
expectations, reaches completion within times and cost estimatesInvalid source specified..
SDLC divides development processes into the following five phases: analysis, design,
implementation, testing, and maintenance.
A. Analysis and Requirement
1. Methods
The data used in this report is acquired from a survey carried out within Hanoi
University. At the beginning, a questionnaire consisting of 8 questions was designed to
capture requirements of users with a social media web. In the next step, about 100 students of
different ages and academic years were randomly selected, and each of them respectively
asked the 8 questions. Therefore, we were confident that the data obtained achieved a fairly
high level of genuineness.
2. Results
This section outlines the results of the survey conducted to discover HANU students‘
opinions of the usage of social networking. With a view to determining the kinds of functions
of social networking which are popular among the students of Hanoi University, a great deal
of the typical features were listed in the questionnaire. In order to simplify the data
interpretation, the different requirements have been combined and labeled under the headings
― user interface‖, ―security‖ and ―communication and interaction tool‖.
120
100
80
60
40
20
0
User interface
Security
Communication and
interaction tool
The types of requirement
Figure 14: The percentage of the students setting the requirements
As can be seen from Figure 1, the number of the students desiring good communication
and interaction tools( such as chat box, status post) occupies the first place, reaching 96% of
the total. Meanwhile, the figure for the students requiring user interface ranks the second, with
84%, is significantly more than that of security (only at 46%).
Especially, the required user interface is clear, convenient and easy to use and includes
different tabs with title according to its function. With regard to security, every user has a
distinct account and individual page, which helps users to avoid being hacked individual
information and account.
Positive
Negative
Both
Figure 2: The percentage of the students' attitudes towards social media' effects
Turning to the social network platforms‘ effects, more than a half (51%) of those who
responded were of the opinion that social media has both negative and positive impacts on
them. Whereas, 39% of the people replied that social networking is positive, and, only 10%
believed that it has negative influences.
Therefore, we believe that creating a social network platform is really useful, which
may meet the essential needs of people.
B. Design
1. Methods
Based on these above requirements, design provides a comprehensive design overview
of the system, using a number of different design views to depict different aspects of the
system, such as Entity Relationship Diagram and Data Flow Diagram. It is intended to capture
and convey the significant design decisions which have been made on the system.
2. Results
The below entity relationship diagram (ERD) shows the relationships of entity sets
stored in our database and sketches out the design of databaseInvalid source
154
specified. .Creating the necessary entities( such as comment, status, profile, like) helps us to
develop useful communication and interaction functions for users.
Our project has two main processes including chatting and posting status, and the
following data flow diagrams (DFDs) map out the flow of information for these two processes
Invalid source specified.. Chatting and posting status are two vital processes which assist us
in creating simple and user-friendly social media web.
Figure 3: Chatting data flow chart
Figure 4: Posting Status data flow chart
C. Implementation
1. Methods
To develop our social media web, we use Tomcat version 9.0 web server, MySQL
database server and Java programming language. Besides, we also attach special importance
to using Restful architecture that defines the set of rules to be used for creating web services.
Web services which follow the REST architectural style are known as RESTful web services.
It allows requesting systems to access and manipulate web resources by using a uniform and
predefined set of rules. Interaction in REST based systems happen through Internet‘s
Hypertext Transfer Protocol (HTTP)Invalid source specified.. In our project, we use jax-rs
interface and jersey which are implementation of jax-rs to create Rest APIs.
2. Results
To concretize REST architecture style, we exemplify the following profile rest. The
profile model helps to declare essential attributes for profile of user. The profile DAO roles
play as data layer for profile of user in database. Profile DAO conforms to CRUD( create,
read, update and delete). Next, we provide profile service handling business logic( post, get,
update and delete data from data layer). Moreover, profile service also helps get expected data
range or data by year. The profile resource implements sufficiently get, post, update and
delete method. Profile resource returns both JSON data and XML data, conforms to REST
Architecture Style. Finally, we use postman to get JSON data from our social media web.
156
In terms of social media web for users, we represent user interface of two main pages
including chatting and posting status.
Figure 5: Posting status
Figure 6: Chatting
D. Testing
1. Methods
To test software, we use Junit which is a Regression Testing Framework used by
developers to implement unit testing in Java, and accelerate programming speed and increase
the quality of codeInvalid source specified.. JUnit Framework can be easily integrated with
Eclipse.
2. Results
The below figure 7 shows our Junit Test demo for Comment Service with testGet
method to check selecting comment from database, which assists in increasing the quality of
code.
Figure 7: Comment Service Junit Test
III. DISCUSSION
This study has proposed the simple and user-friendly social network platform which
helps users can communicate and interact with others more conveniently. Moreover, our
project applies REST Architecture Style to build API easily. However, our project is still
limited, social media web is quite simple and has limitation in functions. The potential of
application of social networking platforms is that they assist not only in communicating and
interacting better but also in growing marketing. Increasing numbers of businesses in various
industries have already integrated or plan to integrate social media applications into their
marketing programs. Besides, we will develope more about maintance pharse by updating the
code according to the changes taking place in user end environment or technology. This topic
is of interest for further research and implementation.
IV. CONCLUSION
In short, while studying users‘ usage of social media, we concluded that social network
is a double - edged sword, therefore, in order to make the benefits outweigh the dissavantages,
158
creating a convenient and friendly social media web for users are really essential. This paper
has discussed about the development approach - Software Development Life Cycle (SDLC)
which helps us to design, develop and test high-quality softwares, that meets or exceeds
customer expectations. It is hoped that in the future, where would be many more further
project about social media so as to help users to have better social network platforms.
Bạn đang xem tài liệu "Social network platform", để tải tài liệu gốc về máy hãy click vào nút Download ở trên
File đính kèm:
social_network_platform.pdf

