Professional Documents
Culture Documents
Page i
Software Requirements
Specification
for
Software engineering
01/2022
Software Requirements Specification for News Reading Application
Page ii
Table of Contents
Table of Contents...........................................................................................................................ii
1. Introduction..............................................................................................................................1
1.1 Purpose.........................................................................................................................................1
1.2 Scope............................................................................................................................................1
1.3 Glossary........................................................................................................................................1
1.4 References....................................................................................................................................1
1.5 Document overview......................................................................................................................2
2. Functional Requirements........................................................................................................2
2.1 User Interface...............................................................................................................................2
2.2 Login function..............................................................................................................................3
2.3 Account checking function...........................................................................................................4
2.4 View news content function.........................................................................................................5
2.5 Favorite news list function...........................................................................................................5
2.6 trending news function.................................................................................................................6
2.7 View account information function..............................................................................................7
2.8 Change password function............................................................................................................8
2.9 View news category function.......................................................................................................9
2.10 Create account function..............................................................................................................11
2.11 Password reset function..............................................................................................................12
3. Non-functional Requirements...............................................................................................13
3.1 Usability Requirements..............................................................................................................13
3.2 Security Requirements................................................................................................................13
3.3 Perfomance Requirements..........................................................................................................14
3.4 Safety Requirements...................................................................................................................14
4. Other Requirements..............................................................................................................14
4.1 Operating Environment..............................................................................................................14
4.2 Development Environment.........................................................................................................15
5. Analysis Models......................................................................................................................15
5.1 Data Flow Diagram....................................................................................................................15
5.2 State Diagram.............................................................................................................................16
5.3 Activity Diagram........................................................................................................................17
5.3.1 Activitiy diagran of login function.........................................................................................17
5.3.2 Activity diagram of view news content..................................................................................18
5.3.3 Activity diagram of password reset........................................................................................19
5.4 Decision Table............................................................................................................................20
Software Requirements Specification for News Reading Application
Page 1
1. Introduction
1.1 Purpose
This document describes the basics of the application with its user interface, functional and non-
functional requirements. Information to support building the application and describe the operations
of the news reading application
1.2 Scope
The News reading application is an application that provides many popular news:
The users can view many different types of news at different times of the day.
They can read news with similar topics, News with the most views of the day and many
other highlights.
Especially, users can save the news topics they like and can review them at any time.
1.3 Glossary
Term Definition
NRA News Reading Application
UI User interface
UR User requirement
SMS Short messaging service
1.4 References
[1] The software requirement specification document about “mobile clicker application. Ahmad Al-
Toukhy, Amir Ahmed, Ahmad Ashkanani”.
[2] The software requirement specification document about “Date time checker. FU”.
[3] The software requirement specification document about “Web Accessible Alumni Database.
Michael J. Reaves”.
The following sections describe NRA in detail and application-specific state and operations
using basic design models:
Functional requirement: Describe function of NRA
Non-functional requirement: Describe the necessary non-functional information
Analysis models: Many model provides application functionality and performance
information
2. Functional Requirements
2.1 User Interface
This is the interface that the user must see first when starting the application at all times. Users
can see many types of news with icons about "tin tức", "yêu thích", "xu hướng” and “tài
khoản”.
If the users want to use many different functions, they must click on the icons that they want to
see news according to those icons.
If they want to read content news of this topic, they can click on this topic.
In the login function, the users click “Tài khoản ” textbox input to enter their username and
click “Mật khẩu” textbõ input to enter their password.
When they finished enter information, they must click “Đăng nhập” button to the system can
check their account.
The users can click "Quên mật khẩu” if they don't remember their password to log in.
If they don’t have account to login this application, they can create a new account by click
“Đăng ký” button.
“Phiên bản 1.0” is a level version of this system.
Account check will check the account that the user has entered from the keyboard to be able to
use the application.
When user enter data and click “dang nhap”.
If the account data and password data are valid, the message box will appear as follows:
If the account data or password data are invalid, the message box will appear as follows:
In this function, The users can read the news content they want when they click on the news title on
the user interface.
The news content function will be excuted when you select the news shown in figure 5.
In this function, the design will be built as follows:
“back” icon will in the left and gray color.
In the right, near “back” icon will have “newspaper office” icon and “plus” button to add the
news enjoy – you want to follow.
The content will show and can roll up.
In the bottom , “Nguồn” and “Ngày” will be theined
If you click on “back” icon, the application will backdoor figure 2
If click on “hearth” icon, this news will be saved to “yêu thích” folder. The “hearth” icon
don’t have background color.
This function will provide news that is trending and of great interest to readers and it must have:
“Xu huong” header will in the top middle of screen, font size is 13, font name is Arial, font
color is white.
“Noi bat trong ngay” text is built in the left, under “xu huong” header, padding left 5px.
Content screen will be divided into 2 parts.
o Part 1, trending topics can be moved to the right and shows the most special information.
o Part 2, it will provide highlights from different timelines and can scroll down to provide
more information.
View account information function is where user information is stored. The user can see their
birthday, phone number, address. They can update their account information by tapping the pen
icon and edit the information right on the app and it's saved instantly.
If the user want to update password, they can click on “Đổi mật khẩu” button. They can click “Đăng
xuất” button when they want to logout.
In this function, the user must click “Đổi mật khẩu” button from view account information
function, they can use for change their password.
To change the password, the user must click “Nhập mật khẩu cũ” textbox input to enter old
password.
Click “Nhập mật khẩu mới” textbox input to enter new password and click “Nhập lại mật khẩu
mới” textbox input to confirm new password.
When they enter information, the new password and the confirm new password will be ckecked
automatic with valid or invalid.
If the new password valid is tick box will display right tick, else will wrong tick.
If the confirm new password is valid or not valid, a check box will also be displayed like
checking for the new password.
When the user finishes entering information from the keyboard, the user will save the password
by click the “Xác nhận thay đổi” button.
Background is red color and “Mat khau khong chinh xac!” text color is red
If the user enters a new valid password and re-enters the same password as the new
password, the tick box will change to the following state:
This function shows categories with many different topics, if the user can view and read the
news list by all other category, they can click “theo dõi”, “xu hướng”, “Mới”, “Bóng đá VN”,
“Bóng đá QT”, “Độc & Lạ”, “Tình yêu”, “Giải trí”, “Thế giới”, “Pháp luật”.
When the user selects“Theo dõi” category, it will display a list of topics that the user always
read.
When the user selects “Xu hướng” category, it will display a list of topics that have most views.
When the user selects “Mới” category, it will display a list of topics that have just been
uploaded to the application.
When the user selects “Bóng đá VN” category, it will display a list of topic about football
theme in vietnam
When the user select “Bóng đá QT” category, it will display a list of topic about football theme
in international
Software Requirements Specification for News Reading Application
Page 11
When the user select “Độc&Lạ” category, it will display a list of topic about Unique and
innovative news
When the user select “Tình yêu” category, it will display a list of topic about the news of
affection and love.
When the user select “Giải trí” category, it will display a list of topic that topics related to
entertainment, music, etc,..
When the user select “Thế giới” category, it will display a list of topic that going on in the
world
When the user select “Pháp luật” category, it will display a list of topic about the law with
many forms of law
If the user want to back the user interface, they can click “back” icon.
It must have figure 12:
Click on “●○○” icon in main interface to move this function
“Chuyên mục” text on the top middle of screen with “green” background and font is “Arial”
“Chuyên mục chính” title text is in the left and under “Chuyên mục”, “gray” background
and have top black line.
Categories are built into 2 parallel sections with the category name in the middle, “white”
color, font “Arial” and it will be on a symbolic image background.
The “Back” icon in the right top and click on it will move back main screen.
If user click “Quên mật khẩu” at login screen, application will move to this function:
The user will enter the phone number and the code just received from the SMS after click the
"Nhận mã" button. They can click “XÁC NHẬN” when finish inputting.
It must have as figure 14:
“QUÊN MẬT KHẨU” text is “blue” color and fontsize is 30 with font name “Arial”
Three textbox for inputting are “Nhập số điện thoại”, “Nhập mã vừa nhận”, “Nhập mật khẩu
mới” “Nhap lai mat khau moi” with left-align.
“tick check” icon is circle.
Two stickbox is right alaign of textbox input “Nhập mật khẩu mới” and “Nhập lại mật khẩu
mới”.
“Nhan ma” button is left-align with background “blue” and white text.
“XÁC NHẬN” button is left-center with background “blue” and white text.
o If the user enters the correct code that was sent before that as Figure15.
o If the user enters the wrong code that was sent before that as Figure 16.
3. Non-functional Requirements
3.1 Usability Requirements
“Tai khoan” has a maximum of 26 characters, may include the numeric characters "0-9",
the alphanumeric characters "a-z" and "A-Z".
Software Requirements Specification for News Reading Application
Page 14
"Mat khau" has a maximum of 18 characters, may include numeric characters "0-9",
alphanumeric characters "a-z", "A-Z" and special characters.
Forget password must require a verification code sent to SMS and they will expire in 1
minute
Confidential information must be hashed to secure the data.
The system will send a message to the user if the wrong password is entered more than 5
times.
If the user does not work on the application for 10 minutes or more, the application will be
in an expired state.
Database should be behind Firewall.
Time to check login account and logout are 1 second after clicking "Dang Nhap" or “Dang
xuat” button.
Switching time between tasks is 0.2 seconds
when the user changes personal data, the information will be saved in the database for 2
seconds right after pressing "Xac Nhan".
The application can allow about 3000 users to access at the same time and perform the
operations with the above time. If the user is more than 3000 people at a time, each
operation will increase by 0.5 seconds
Image quality must be in HD.
Error or success messages must appear 1 second after the user action.
The application can be accessed stably with a minimum network speed of 3G
The following is information about the safety of the system, UR must be sure to meditate:
Request to use wifi, 4G, 3G network of the system will not record any damage to the user's
device.
Requests to use the device's content will require permission from the user.
4. Other Requirements
4.1 Operating Environment
o Android 11
o Android 12
IOS
o IOS 8
o IOS 9
o IOS 10
o IOS 11
o IOS 12
o IOS 13
o IOS 14
NRA will be developed with Java on NetBean IDE 8.2 and on Eclipse IDE 4.3
5. Analysis Models
5.1 Data Flow Diagram
Data flow diagram of NRA describe many flows of data form many fucntion.
This diagram provides the actions in the view news content function
Turnitin result