Download final project thesis and more Study Guides, Projects, Research Computer System Design and Architecture in PDF only on Docsity!
CONTEXT BASED NOTIFICATION SYSTEM
FOR CIIT VEHARI
Muhammad Haseeb Nusrat
CIIT/SP14-BCS-023/VHR
Muhammad Sohaib Ramzan
CIIT/SP14-BCS-025/VHR
BSCS Thesis
COMSATS Institute of Information Technology Vehari,
Pakistan
Fall, 2018
COMSATS Institute of Information Technology
CONTEXT BASED NOTIFICATION
SYSTEM FOR CIIT VEHARI
A Thesis Presented to
COMSATS Institute of Information Technology, Vehari
In partial fulfillment
Of the requirements for the degree of
Bachelor of Science
in
Computer Science
Department of Computer Science
By Muhammad Haseeb Nusrat CIIT/SP14-BCS-023/VHR Muhammad Sohaib Ramzan CIIT/SP14-BCS-025/VHR
Fall 2017
Final Approval
This Thesis Titled
CONTEXT BASED NOTIFICATION SYSTEM FOR CIIT VEHARI
By
Muhammad Haseeb Nusrat
CIIT/SP14-BCS-023/VHR
Muhammad Sohaib Ramzan
CIIT/SP14-BCS-025/VHR
External Examiner: _________________________________________ Dr. Shahid Kamal Assistant Professor , Department of Computer Science Gomal University D I Khan
Supervisor: _________________________________________ Mr. Farman Ullah Lecturer, Department of Computer Science COMSATS Vehari
Internal Examiner: __________________________________________ Dr./Mr. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Designation:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Department of Computer Science COMSATS Institute of Information Technology, Vehari
Convener Project Committee: __________________________________________ Dr./Mr. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Designation:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Department of Computer Science COMSATS Institute of Information Technology, Vehari
DECLARATION
It is certified that the research work presented in this thesis is to the best of my
knowledge my own. All sources used and any help received in the preparation of
this dissertation have been acknowledged. Hereby, it is declared that this material
is not submitted, either in whole or in part, for any other degree at this or any other
institution.
Date: _______________ Signature of the Student: _______________________________ Muhammad Haseeb Nusrat CIIT/SP14-BCS-023/VHR
Signature of the Student: _______________________________ Muhammad Sohaib Ramzan CIIT/SP14-BCS-025/VHR
CERTIFICATE
It is certified that Mr. Muhammad Nusrat Haseeb (CIIT/--/VHR) and Farman Ullah (CIIT/--/ VHR) have carried out all the work related to this thesis under my supervision at the Department of Computer Science COMSATS Institute of Information Technology, Vehari. And the work fulfills the requirements for award of BS degree.
Date: ______________ Supervisor: ____________________________________ Dr. Aqeel
DEDICATION
To Almighty ALLAH and the Holy Prophet Muhammad
(P.B.U.H)
&
My Loving Family
ACKNOWLEDGMENTS
Requrements
- Project Introduction………………………………………………………… - 1.1 Project Category (Mobile Application)……………………...… - 1.2 Objective……………………………………………………….. - 1.3 Problem Formulation…………………………………………... - 1.4 Identification of Need………………………………………….. - 1.5 Existing System……………………………………………..…. - 1.5.1 Limitations of Existing System…………………….…
- 1.6 Proposed System……………………………………………………..…..
- 1.7 Unique Features of System………………………………………………. - Chapter
- Software Requirements Specification (SRS)………………………….….. - 2.1 Data Requirements………………………………………….…... - 2.2 Functional Requirements……………………………………..…. - 2.2.1 User Functional Requirements……………………… - 2.2.2 Admin Functional Requirements…………………… - 2.3 Non Functional Requirements………………………………….
- 2.4 System Dependability…………………………………………..... - Chapter
- Software Design…………………………………………………………… Design - 3.1 Design Approach……………………………………………..…...
- 3.2 Detail Design………………………………………………….…..
- 3.3 Data Flow Diagram………………………………………………...
- 3.3.1 Level 0……………………………………………………………
- 3.3.2 Level 1……………………………………………………………
- 3.4 Software Architecture……………………………………………....
- 3.5 ER Diagram/Database Schema………………………………….….
- 3.6 Use Case Diagram …………………………………………………. - Student………………………………………………..….. - Admin…………………………………………………...… - 3.7 Sequence Diagram…………………………………………….….. - 3.8 Methodology……………………………………………………… - Chapter
- Implementation……………………………………………………………… Implementation - Implementation…………………………………………………...... 4.1 Introduction to Languages, IDE’s, Tools and Technologies Used For - 4.1.1 Java…………………………….…………………………..…..
- 4.1.2 Android Development Tools ………………………………….…. - Chapter
- 5.1 Test Plan ……………………………………………………………………….. Testing
- 5.2 Types of Software Testing………………………………………………………
- 5.3 Test Cases……………………………………………………………………….
- 5.3.1 Admin Panel Test Cases……………………………………………
- 5.3.2 Android Application Test Cases…………………………………… - Chapter
- 6.1 Future Scope………………………………………………………………… Conclusion and Future Scope
- 6.2 Conclusion…………………………………………………………………...
- Appendix A: Admin User Manual…………………………………………………………… Appendix - A.A. Add Student…………………………………………………….... - A.B. Edit Student………………………………………………………. - A.C. Delete Student……………………………………………………. - A.D. Add Department………………………………………………….. - A.E. Edit Department………………………………………………….. - A.F. Delete Department……………………………………………….. - A.G. Add programme…………………………………………………..
- A.H. Edit Programme…………………………………………………..
- A.I. Delete Programme…………………………………………….…..
- A.J. Send Notification……………………………………………..…
- A.K. Notification List……………………………………………...….
- Appendix B: Student User Manual……………………………………………...….
- B.A. Dashboard………………………………………………………....
- B.B. Notification List……………………………………………...……
- B.C. Notification Description………………………………………..
- B.D. Feedback…………………………….……………………….…
Chapter 1
Introduction
With the technical improvements in mobile devices, location finding via GPS and other wireless sensors has become a basic feature of mobile phones. In context-aware event recommendation and message delivery systems, location information is the fundamental context data used for recommending geographically related events. For example a student who is outside the campus will not receive the notifications which are only for the students who are inside the campus.
COMSATS Notification System (CNS) Android App helps you access online notices on your phone. It is an online notice board maker where a group of people can easily get notification according to their context information. These notes can have only text information.
The notice board has always been the place where staff/students gathers to get their latest release of corporate news. CNS brings the notice board to a virtual location where students can read notices from their own desks or homes. With this electronic notice and announcement system, notification alerts may be sent out notifying students that a new notice has been posted.
With the advent of mobile and pervasive computing era, smart phones became ubiquitous, and wearable devices are getting traction. A significant portion of the applications for these devices relies on remote servers on the cloud, and Firebase Cloud Messaging (FCM) is a popular service as a client/server communication solution for Android.
FCM is a service which allows developers to send push messages to Android devices from the server. FCM handles the queuing of the messages as well as delivering those messages to the target applications on the devices. FCM is a free service by Google, and it has no quotas. It is the default push messaging solution for the Android platform.
These are the features that CNS App has:
- An electronic dashboard board for disseminating information students.
- Notices can be posted.
- Staff or student can be notified of new postings via push notification alert.
- Administrator may push important notices in to selected students.
- Administrator may create any notice category.
1.1 Project Category (Mobile Application):
- The main objective of the application is its simplicity of design and ease of implementation that shows and helps to collect most of the information about events going on in campus premises. The interface will be very user-friendly.
- To automate the current procedure of managing and controlling the information about the student details and to reduce the overhead of managing paper documents for every announcement and notices being made.
- The proposed system will keep the information on a central server while allowing users to access that information from their own Smartphone through the installed android application.
- There will be an optimized database on the server and an improved user interface on each client machine i.e. on the CNS app installed on the user Smartphone. The developed application will be used by students and the administrator.
1.3 Problem Formulation:
To develop a mobile application that will help you receiving the notices from the campus, anywhere, anytime. Earlier there was problem that notices were pasted on notice board. If there is holiday on the next day, nobody will be able to read it. Moreover any update on website is also very difficult. Everyone feels lazy to go and update the website data. The more easy way is, just type in message sitting wherever and post by pressing a button. It will notify all the students registered with that application.
1.4 Identification of Need
- As we discussed earlier that manual maintenance of a notices is a tedious job. So to enhance the ease of working, we go for this package.
- Giving the facility to convey messages to all students anytime and anywhere.
- Making students updated about all the events and activities going on in the campus.
- The student will not require to stand in the crowd to see the notice. There will be no issue of fighting in order to see the notice first. Everyone is first to see that notice inside their own mobile phone anywhere and anytime.
- The least but most important it saves time.
- Utilizing less man power. As there are many persons involved in circulating the message. With this application, only one person is required to post the notice. Rest of the man power is saved in the entire process.
1.5 Existing System:
Currently our campus has manual system of putting notices on notice board. Its outdated now. As nobody has a time to stand in rush in order to read the notices on noticeboard.
1.5.1 Limitations of Existing System:
- Order of Data: Notice can get out of order in traditional notice board system. If someone accidentally puts some data in the wrong place, it can lead to lost data. Automated notice management systems allow users to quickly check whether information already exists somewhere in the system, which helps avoid problems like redundant data.
- Complexity: Automated system is less complex than manual system of handling notices, which can make it easier for untrained people to access and manipulate data. Anyone having the basic knowledge of mobiles can work on the automated system.
- Inconsistency of data: There will be an unavailability for future use, since notice might get misplaced during manual notices management. So notice won’t be preserved properly for future use.
- Damage: Manual notices stack are vulnerable to damage, destruction and theft in ways that digital databases are not. A company may back up its digital data both on site and at offsite locations, ensuring its security if the office building suffered a fire or similar disaster. A manual database, however, may only exist in one place without any copies. As a result, a manual database would be very vulnerable to a fire or other natural disaster. In addition, while access time in a manual database system, information must be found by hand rather than electronically. While a digital database will typically allow users to search the entire database for specific information in seconds, someone looking for information in a manual system may have to spend hours searching for a particular piece of data.
- Editing and Communication : Manual notices do not allow users to easily edit data or information. Manual notices often cannot be edited directly, forcing users to make new copies. To circulate notice on paper, users must require peons and other staff. CNS app allow users to edit information fields directly, and because data is stored digitally, it is already in a form that can be easily transmitted.
- Anytime Anywhere Service : With this application, notices will be delivered anytime and at any place. There is no restriction of time to send a notice.
- Keeping Notices at one place: This application allow you to have notices in one place only. If there is an attachment with that, all will be placed in a separate folder dedicated to that application. So there will be no here and there of notices.
1.7 Unique Features of System:
The unique features of this application are as follow:
- FCM Notification: Firebase Cloud Messaging has been used to broadcast notices to all the students who are registered with this application. It will help you receive the notice even if you application is closed. So it implements anywhere anytime notifications. Firebase Cloud Messaging (FCM) is a free service for sending messages to Android devices. FCM messaging can greatly enhance the user experience. Your application can stay up to date without wasting battery power on waking up the radio and polling the server when there are no updates. Also, FCM allows you to attach up to 1,000 recipients to a single message, letting you easily contact large user bases quickly when appropriate, while minimizing the work load on your server.
- Context Based Notifications: This system sends notification on the basis of the context information of the students. Context information may include the location and identity of the student. E.g. the notification which is only for students who are outside the campus will not be delivered to the students who are inside of the campus.
- Anytime Anywhere Service: With this application, notices will be delivered anytime and at any place. There is no restriction of time to send a notice.
- Free Service: It gives free service to notify all the students. There will be no cost of sending notification to all. Just have the good system implemented in campus and that too free of cost.