University second hand textbook app
Software Requirement Specification
By
Dongze LI 602115505
Wennan Lin 592115516
Department of Software Engineering
College of Arts, Media and Technology
Chiang Mai University
Project Advisor
Aj.Dr. Pathathai Na Lumpoon
Document history
Document Name
Version
Status
Date
Viewable
Reviewer
Responsible
Documents
University second hand textbook app
SRS_V1.0.docx
1.0
Reviewed
2020.7.10
WL, DL, PL
WL, DL
WL, DL
Chapter1: Introduction
In students’ daily life, students often want to sell some textbooks that they no longer use, want to sell the old one, and get a new one.
Sometimes they also want to buy a second-hand textbooks to use, which is generally more affordable than buying a new one. Buying and selling second-hand textbooks can save students a lot of money. Encouraging
students to use second-hand textbooks is also an environmentally friendly way. This is a very practical economic management method for students who do not yet have a financial source. Because of this demand, there have been second-hand textbooks trading platforms.
In college life, we often see classmates and friends around us selling second-hand textbooks or seeking certain second-hand textbooks. Their common way is to post information in the chat group, but it will soon be covered by other information, or post information on Facebook, but the efficiency is often relatively low because there is no particularly targeted group, the scope is too broad.
University second-hand textbooks trading app, this is an app specifically for student second-hand textbooks trading. It explicitly sets the target group as students and builds a second-hand textbooks trading platform for students. Since everyone is a student, the living conditions are very similar, so the probability that the textbooks you want to buy and sell are in need of each other, greatly improving the transaction efficiency, so that students can take their needs in a timely manner. And all are from a school, so the quality of the transaction has also been greatly improved.
Students can log in to the software with the student account to avoid the problem of fake and low-quality textbooks. Users need to find the type of textbooks, and can also directly search for keywords. Finally, students can determine the place and time of the good transaction, the deals will be done face to face.
This second-hand textbooks school-based trading platform can be extended to every school in the future, bringing convenience to students.
1.1 Project Purpose
He purpose of this software requirement specification (SRS) document is to clarify the relationship between developer team and requirements for the ‘University second-hand sale App’ software application. The system will be implemented following this SRS document.
1.2 Project Scope
This project is to develop a second sale platform for CMU students to make a new way and more safe way for transactions second-hand textbooks.
1.3 Definitions, Acronyms, and Abbreviations Key Definition
Software “Computer program, procedures, and associated documentation and data pertaining to the operation of a computer system.” [IEEE90]
Application “Computer software designed to help the user to perform specific tasks. Examples include enterprise software, accounting software, office suites, graphic software, and media players. Many application deals principally with a document. The application may be bundled with the computer and its system software or may be published separately. Some users have satisfied with the bundled application and need never install one.”
Specification “A document that specifies, in a complete, precise, verifiable manner, the requirements, design, behavior, or other characteristics of a system or component, and often, the procedures for determining whether these provisions have been satisfied.” [IEEE90]
Requirement “A condition or capability needed by a user to solve a problem or achieve an objective.” [IEEE90]
“A condition or capability that must be met or possessed by a system or system component to satisfy a contract, standard, specification or other formally imposed documents” [IEEE90]
Server “A computer program running to serve the requests of other programs, the “clients”. Thus, the “server” performs some computational task on behalf of “clients”. The clients either run on the same computer or connect through the network.
In most common use, the server is a physical computer (a computer hardware system) dedicated to running one or more such services (as a host), to serve the needs of users of the other computers on the network. Depending on the computing service that it offers it could be a database server, file server, mail server, print server, web server, or some other kind of server.”
Use case “A concept to describe a system based on the usage of system resources by its environment. Characterize by an objective-set of interaction within and the border of the system [1]. Notation of UML for describing a scenario (Usage approach, operational scenario) from the perspective of this user [IEEE90]”
Key Acronyms and Abbreviations
VSE Very Small Entity
IEEE Institute of Electrical and Electronics Engineers SRS Software Requirement Specification
URS User Requirement Specification
SRS Software Requirement Specification
UI User Interface
URS User requirement specification
SRS Software requirement specification
AD-XX Activity diagram-XX
1.4 Software overview
Our goal is to provide CMU students with a platform software operated on Android phones for second-hand textbooks trading, so as to create a safe and reliable trading environment for students, so that students can avoid being deceived. However, students must log in the software with The CMU account, so that the administrator can manage the textbooks.
1.5 Over Description
1.5.1 Product perspective
University second hand textbook app that is composed of 3 sub system including Back-end Management System, User login System, advertisement system. There are two main characters student and administrator.
1.5.2 Product Functions
Student
• Students can login into the system.
• Students can search for posts by input keywords.
• Students can view the post detail.
• Students can public post.
• Students can delete their own post.
• Students can edit their own post.
• Students can view their profile.
• Students can report posts.
• Students can add posts like.
Administrator
• Administrator can delete the post.
• Administrator can login.
• Administrators can receive the student’s report in email.
• Administrator can view the post detail.
• Administrators can search posts.
1.5.3 Environmental Condition
Display post and public post are the main functions of University’s second-hand book sale App. Uploading media about textbooks requires a relatively fast network speed, so it is best to use it in an environment with Wi-Fi, and it can also be watched more smoothly. Other people’s posts.
1.5.4 User Characteristic
There are two kind main Characteristics:
Student:Students are the main users. Students use cmu student account to log in. They can public post on the App and sell textbooks, or they can watch other people’s posts and buy textbooks sold by others.
Administrator:Administrator is the person who manages student posts. He can receive student reports, review the reported posts, and delete problematic posts.
1.5.5 External Interface
The internal environment of the App is that there is a server that manages real-time data and connects two clients.
1.5.6 Constrains
1.Application currently only supports English language.
2.Application needs to be used in an environment with a network connection.
3.This application can operate on Android Operating System only.
Chapter two | Requirement Specification2.1. University second hand textbook app: URS
URS-01: Students and admin can log in with a CMU account.
URS-02: Students can publish posts.
URS-03: Students and admin can view post list.
URS-04: Students can use keyword search posts.
URS-05: Students can like posts.
URS-06: Students can report posts.
URS-07: Students and Admin can view their profile.
URS-08: Students can edit their post.
URS-09: Students can delete their post.
URS-10: Students can view their like post list.
URS-11: Students can delete their posts.
URS-12: Students and Admin can watch posts.
URS-13: Admin can delete any post.
URS-14: Admin can set an Email to receive a student’s report.
2.2 University second hand textbook app: SRS
SRS-06:System,at a server side,shall be able to display a password error message.
SRS-07:System,at a mobile side,shall be able to provide a login button to send student information to the server.
SRS-08:System,at a mobile side, will provide a public post page for students.
SRS-09:System,at a server side,will update new posts to database.
SRS-10:System,at a server side,shall be able to display a publish successful message.
SRS-11:System,at a mobile side,will provide a post list page for students and admin.
SRS-12:System,at a server side,shall be able to send post data to the mobile side.
SRS-13:System,at a mobile side,shall be able to provide a search bar for student and admin input keywords.
SRS-14:System,at a mobile side,shall be able to provide a search button to send keywords to the server.
SRS-15:System,at a server side,shall be able to according to the keyword to filter posts sent to the mobile side.
2.2 User Requirement Specification with the System
Requirement Specification
URS-02: Students can public post. // Student can post textbook information.
SRS-08:System,at a mobile side, will provide a public post page for students. The post page consists of input attributes,type of textbooks, price,page of textbook, hours of use,Language,publishing house, textbook photo, textbook description.
SRS-09:System,at a server side,will update new post to database.
SRS-10:System,at a server side,shall be able to display a unsuccessful message.
SRS-11:System,at a server side,shall be able to display a successful message.
SRS-12:System,at a server side,shall be able to send post data to the mobile side.
URS-03: Students can view post lists.
SRS-13:System,at a mobile side,will provide a post list page for students and admin.
URS-04: Students can use keyword search posts.
SRS-14:System,at a mobile side,shall be able to provide a search bar for student and admin input keyword.
SRS-15:System,at a mobile side,shall be able to provide a search button to send keywords to the server.
SRS-16:System,at a server side,shall be able to according the keyword to filter posts sent to the mobile side.
SRS-17:System,at a server side,shall be able to display a unmatch message.
Chapter Three | Specific Requirement
3.1 Use case Scenario
3.2 Use case Description
Use Case ID
02
Use Case Name
Students can public post.
Created By
Dongze Li
Last Update By
Dongze Li
Date Created
20207/28
Last Revision Date
20207/28
Actors
Student
Description
Students can public post. Students have to input attributes of textbooks.
Example: type of textbooks, price,page of textbook, hours of use,Language,publishing house, textbook photo, textbook description.
Trigger
Students click the public post button.
Preconditions
Students have logged into the system.
Post conditions
Student posts have been stored in the database.
Normal Flows
1.Students have to input attributes of textbooks.example: type of textbooks, price,page of textbook, hours of use,Language,publishing house, textbook photo, textbook description.
2.System verify the information of textbooks.
3.System save textbooks in the database.
4.System display “post successful”
Alternative Flow
2.System verify the information of textbooks.
2.1 The system displays that the textbook information you added is incomplete.
2.2 Students continue to normal flow no.1.
Exception Flow
If failure occurs, Mobile applications display a message to notify Students and Admin.
Use Case ID
03
Use Case Name
Students can view the post detail.
Created By
Dongze Li
Last Update By
Dongze Li
Date Created
20207/28
Last Revision Date
20207/28
Actors
Student, Admin
Description
Students and admin can view detailed information of posts in the post list.
Trigger
Student and admin click post.
Preconditions
Student access to the application.
Post conditions
Students and admin can view the post in detail.
Use Case ID
04
Use Case Name
Search for posts
Created By
Dongze Li
Last Update By
Dongze Li
Date Created
20207/28
Last Revision Date
20207/28
Actors
Student
Description
Students can search for posts by input keywords.
Trigger
Students go to the search page.
Preconditions
Student access to the application.
Post conditions
Students can view the post that they search.
Normal Flows
1.Student input key words that they want to search.
2.System,at a server side according to the keyword to filter posts sent to the mobile side.
3.System show the posts that they search.
Alternative Flow
2.System,at a server side according to the keyword to filter posts sent to the mobile side.
2.1.System display “No related posts”
2.2 Students and Admin continue to normal flow 1.
Exception Flow
If failure occurs, Mobile applications display a message to notify Student and Admin.
Chapter Four | Software Requirement Specification
URS-02: Students can public post.
Introduction
Students can public post. Students have to input attributes of textbooks.
Example: type of textbooks, price,page of textbook, hours of use,Language,publishing house, textbook photo, textbook description.
Input
Type of textbooks, price,page of textbook, hours of use,Language,publishing house, textbook photo, textbook description.
Use Case Input Specification
Input
type
Constraint
Example
Price
String
The system allows using English alphabet and numeric 0-9.
1000BAHT
File
File
picture file
path of the file
The system allow using only
.jpg, .png file.
Page of textbook
Int
The system allows using numeric 0-9.
2000
Type of textbooks
String
The system allows using English alphabet and numeric 0-9.
statistics
Hours of use
String
The system allows using English alphabet and numeric 0-9.
20 days
Language
String
The system allow using
English alphabet .
English
Publishing house
String
The system allow using
English alphabet.
Pass Education, Co., Ltd.
Textbook description
String
The system allow using numeric 0-9 and English alphabet
The system allow using 500
characters length.
The book contains tutorials on the Java language and c++.
Contact me at 0987913535
AD-02
Output
Students can view the post list that they search.
System Requirement Specification
SRS-11:System,at a mobile side,will provide a post list page for students and admin.
URS-03: Students can view post detail.
Introduction
Students can view post list information by click post.
AD-03
Output
Students and admin view post detail information.
System Requirement Specification
SRS-11:System,at a mobile side,will provide a post list page for students and admin.
SRS-12:System,at a server side,shall be able to send post data to the mobile side.
URS-04: Students can use keyword search posts.
Introduction
Student can input keywords in search bar. Student can serach post by keywords.
Input
Keywords
Use Case Input Specification
Input
type
Constraint
Example
Keywords
String
The system allow using numeric 0-9 and English alphabet
The system allow using 30
characters length.
“Thinking In Java”
AD-04
System Requirement Specification
SRS-13:System,at a mobile side,shall be able to provide a search bar for student and admin input keywords.
SRS-14:System,at a mobile side,shall be able to provide a search button to send keywords to the server.
SRS-15:System,at a server side,shall be able to according to the keyword to filter post send to mobile side.