You are on page 1of 19

Contents

Abstract.................................................................................................................................................2
Introduction..........................................................................................................................................2
Design....................................................................................................................................................3
Structural Design...............................................................................................................................3
UML Sequence Diagram....................................................................................................................4
UML Class Diagram............................................................................................................................5
Development........................................................................................................................................6
Barcode Generation...........................................................................................................................6
Login-Register Module.......................................................................................................................6
Login Page.......................................................................................................................................10
Barcode Display Page......................................................................................................................11
History Page.....................................................................................................................................12
Scanner Device display....................................................................................................................13
Barcode Scanner Module Code.......................................................................................................14
Database Module............................................................................................................................15
Testing.................................................................................................................................................16
Interface Test...................................................................................................................................16
Optimization Test............................................................................................................................17
Conclusion and Findings.....................................................................................................................18
References..........................................................................................................................................19

1|Page
Abstract
There’s no application or device that is collecting the information about people sampling
during covid-19 peak and times. The sampling is important as it provides the information
about the history of people movement and it helps us to prevent the ordinary COVID spread
as we restrict the places where more COVID samples are positive and those places can be
marked as a hot places on a map and every individual can access this sampling map. For idea
purpose, we can implement this for the students of the HCT and this can be implemented by
using Barcode scanner device that can save the information of student’s movements across
the city.

Introduction
This barcode scanner device basically scans the user id barcode. Every student is issued with
the unique barcode. The barcode contains the information about the student full name,
Emirate ID, college ID and his/her schedule.
When some barcode is scanned then this device holds the information of the student in its
history panel and when any of the student is infected with COVID. Then, this student can
mark himself positive using this app in his mobile application. Every student that visited
some common place with the COVID positive student will get the notification about the
student name that he/she is infected with positive and anyone who is in close contact with
him can make yourselves isolated. And if some place crosses the threshold value of positive
cases then higher authority will make sure that this place is sealed.
This device will be helpful to restrict the COVID positive patients’ movements and anyone
who’s in close contact with this patient will get notification about the positive patient. The
unique barcode of every student also holds the information of the student ID and when
some class get more cases then it is shifted to DL mode as well. In this way, we can continue
our classes with no cases and with less cases in Face to Face mode and restrict the classes
that get more COVID cases and this can be sampled properly using this class and this device
will automatically generate the notification about the cancellation of class when some
threshold value is achieved. This device can be used for tracking of employees of some
organization as well.

2|Page
Design
Structural Design
______________________________________________________________________________

______________________________________________________________________________

When students enter at some public place or at college, they have to pass through the
barcode scanner and when they go through using their unique barcode their history is
recorded in barcode scanner and when any of them is infected with COVID then notification
is generated that will send to all people that visited the same place in past seven days. And
if many students infected with COVID-19 and they had visited the same place then
notification is generated and will send to the higher authority. This is basic structural
diagram that will be helpful for better understanding of local community and people with
basic knowledge can easily understand it.

3|Page
UML Sequence Diagram
______________________________________________________________________________

______________________________________________________________________________

This diagram infers the different stages between three different states. The first stage is
student stage and the second one is of the scanner device and third one is database. When
user open the application, the cover page of the application contains the information about
the login details. The cover page has two basic options, the first is sign up or register and the
other one is sign in details. After going through this stage, bar code is displayed on the
screen of the application and it is scanned through the scanner device, that is placed on the
different places and history of every student is saved who visits the specific place and in this
way their movement is detected and if any of the student got infected with COVID and there
is an option in the application where he/she can mark himself COVID positive. And
notification is displayed o the screen of every student that visited the same place with the
COVID positive student and third stage is database stage. All history of student’s movement
is stored in the database and in the last process if some place crosses the threshold value of
positive cases then notification is generated for higher authority to seal this place.

4|Page
UML Class Diagram
______________________________________________________________________________

______________________________________________________________________________

This is class level UML diagram of application. There is only one class that is student class as
there is no admin or employees are handling it from the other end. The scanner works
without any guidance or supervision. The student class contains the general information of
student including the Emirate ID, College ID, Student name and schedule. And if student is
not registered then student’s barcode is generated using registration process and this is
automated process. And the working of scanner is to send information to database and
sometimes it also gets information from database and the major functioning is to create the
notification.

5|Page
Development
The development process goes throgh many stages and all of them are stated below.

Barcode Generation
Barcode is generated using C# and in the first step we have to install the barcode related libraray in
visual studio. And the barcode private function is generated and the purpose of making it private is
that there is no one who is accessing it. We use new Barcode() function to create a new barcode and
make its color black in the next step and in the next step we make its type to TYPE.UPCA and in 11 th
line barcode.save function is used to save the image in of barcode in png form.

Login-Register Module
In order to create login and register page we use the C++ as it is easily to handle. In main, we take
the inputs from the user and it depends upon the user demand. There are two options for the user.
The register option and log in option. And if the user presses the login information then this
credential will go to the database and then if information is matched and all strings or digits are
correctly placed then it opens the next page otherwise it shows the notification that please enter the
correct credentials. And if user enter the register button then user has to enter the login credentials
for first time including username and password. This credential will save in the database and ready
for use for the next time and the barcode is automatically generated for the new user.

6|Page
7|Page
8|Page
9|Page
Login Page

The login Page contains the basic information of the user. It represents the simple interface
of sign in and register information. The title page is shown in the blue font. And Login page
also contains the picture of the user and it will be displayed if he uploads it.

10 | P a g e
Barcode Display Page

This is the next page that shows the unique Barcode of the user and random barcodes are
generated using random function and it also testifies that the newly generated barcode is
not exist in other credentials and in this way, it prevents us from the overlapping of the
information.

11 | P a g e
History Page

History page contains the information about the movement of the student, and it stores the
information of past seven days and it will be helpful in sampling. In top left, there is button
and this button will allow the student to mark himself COVID positive.

12 | P a g e
Scanner Device display

This is the display of the scanner device that is placed at different spots and points. And it
shows the information of student after scanning and this information is saved in the
database as well. Student name and picture is shown as well so that student can verify the
identity and report the system if there is any ambiguity occurs.

13 | P a g e
Barcode Scanner Module Code
The below code represents the scanner module and it works on the open cv library and
engine library open cv uses camera to detect the barcode and release the information that
is present in the barcode and also gives the information. if there is problem occur at the
scanning then it shows the notification that there is a problem in handling this file.

14 | P a g e
Database Module
Firebase is used as database for this application and it stores the information and send the
information back on request. That’s example of how it stores data.

15 | P a g e
Testing
Interface Test
For this we must check the app interface of app and we have to check there is no pixel drop
or there is no graphical change occur when page will be changed in the application. The
pixel drop in apps mostly occurs when we change the page and there are online simulator
that provide the free pixel drop test for the application and all pages are running on
application simultaneously and if there is a graphical change occur in any of the page then it
means that the there is a risk of graphical error in the application. It may be does not occur
in high or average internet speed but when the internet speed goes down then this error
occurs, and we all had already observed the same error in some application when we are
operating them at the low speed.
______________________________________________________________________________

______________________________________________________________________________

16 | P a g e
Optimization Test
We run the optimization test to get the result optimization percentage of the app and in the
first test there is some ambiguity occurs and this happens because two many pages were
added in the application. The page where user mark himself as COVID positive is removed
and the single function COVID positive case is adjusted in the history page and this is helpful
in better optimization of the app.
We perform the ASO test and score of this test is determined and this also provides result
based on keyword uses in the app and keywords that are used are already general and
therefore, it gives us the better result.
______________________________________________________________________________

______________________________________________________________________________

17 | P a g e
Conclusion and Findings
The app is based on the scanning of COVID-19 positive patients. The Graphical user interface
of this application is so simple that there is no need of user guide to run it. The unique
barcode is generated for every student and the new students can also register themselves in
this app and their unique barcode is automatically generated by going through the
registration process. There is no employee class in this application as there is no employee is
handling it from backend and this is also cost effective as it saves the employee cost. In next
step barcode is scanned at different points and public places. The user opens the barcode
page of the application and then scanned it using the device. The device saves the
information of user in the database and the gives back the information when someone mark
himself as COVID positive and it keeps the information of past seven days and destroys the
previous information.
We also perform the testing for the optimization and interface test of the application.
Optimization test gives the better result when we make our pages limited to 3. And we
remove the extra functionalities that has no use for the user and there is no need to keep
trash functionalities and interface test gives us the better result at the first and there is need
to make any changes in it. We can also make some improvement like by adding geographical
map in the application. Every student can see the area with more positive cases and will
restrict their activities to those areas.

18 | P a g e
References
[CITATION CSh \l 1033 ]\

[ CITATION htt64 \l 1033 ]

[ CITATION htt65 \l 1033 ]

[ CITATION htt66 \l 1033 ]

[ CITATION htt67 \l 1033 ]

19 | P a g e

You might also like