=Paper= {{Paper |id=Vol-1746/paper-28 |storemode=property |title=Notifying System for Bad Parking and Fines Setting Through GUI interface |pdfUrl=https://ceur-ws.org/Vol-1746/paper-28.pdf |volume=Vol-1746 |authors=Blerina Zanaj,Xhoi Kallupi,Elma Zanaj,Dorela Karaj,Irida Gjermeni |dblpUrl=https://dblp.org/rec/conf/rtacsit/ZanajKZKG16 }} ==Notifying System for Bad Parking and Fines Setting Through GUI interface== https://ceur-ws.org/Vol-1746/paper-28.pdf
                   Notifying system for bad parking and fines setting
                                 through GUI interface

             Blerina Zanaj                            Xhoi Kallupi                       Elma Zanaj
           Agriculture University                xhoi_kallupi@live.com            Polytechnic University
              of Tirana                                                                  of Tirana
           bzanaj@ubt.edu.al                         Irida Gjermeni                  ezanaj@fti.edu.al
                                            Agriculture University of Tirana
             Dorela Karaj                        igjermeni@ubt.edu.al
           dorela@hotmail.co.uk

                                                             the vehicle because a passage is blocked. Also the fines
                                                             setting and the notification of the person is another big
                                                             problem. As sometimes people find that they have to
                       Abstract                              pay for some fines that they did not know when and
                                                             where those were assigned to them. So another system
    The problem with parking in big towns such as
                                                             is built in order to visualize the fine with date, place
    Tirana brings different problems like parking
                                                             and reason why the fine was taken. Also this system
    in wrong places. There are some extreme cases
                                                             makes it easier for the police to set the fine and the
    like different emergencies when it can be
                                                             records may pass automatically and will be registered
    dreadful for the person not knowing where the
                                                             in the agency of entrances and incomes. Actually such a
    owner of the car might be in that moment in
                                                             web application already exist where all the fines and
    order to leave you pass with your car or that of
                                                             taxes are registered in it and people can search for them
    fire workers. Also when you drive more than
                                                             by login into this web application. But this other system
    one car you may find yourself to have forgot
                                                             built by us is not just a digital register where it is
    your driver license at home and if the police
                                                             required the employment of some operators that have to
    ask you for it you may take a fine not being
                                                             enter the data manually for their registration in the
    able to show it. It is possible to build some
                                                             database. Then the fines are displayed after that people
    systems that may handle these problems by
                                                             performs a search into the system. The system of fines
    giving the possibility to notify the other person
                                                             setting works differently from the one applied by the
    to come and move his car and as well to
                                                             government, in this new one the registration of the fines
    generate fines automatically if he does not take
                                                             start from the police. Instead in the digital register of
    in consideration the notification arrived by the
                                                             the ministry of finance the path starts with the police
    system after there has been a complain of
                                                             who set the fine to the driver. Then all the fines written
    blocking a passage.
                                                             in book are registered by entering them manually into
                                                             the system. The fines setting system is more complex
                                                             with different tasks and profiles and it is the police who
1. Introduction                                              put the fine and notes as well the reason why he put it.
With the economic growth the number of cars in               After the fine is generated and saved in the system
Albania and especially in Tirana is becoming                 database, our system will communicate and exchange
enormous. It can be count that each family owns more         its data with the other system the one of finance
than two cars. And people normally use them to reach         ministry. This work is organized in six sections where
their place of work or to accompany their children to        in the first section we give an overview of the problem,
school or to the kinder garden. Besides the economic         while in the second section we specify more in deep
growth and people incomes or environmental problems          what these two web applications are built for. Then the
it brings, we focus our attention in this work in the        work proceeds with the third and the fourth section
problems regarding the parking of the cars. In               where are described the different users profiles
particular we study the cases when people being in a         configured in the systems and is explained the
rush park in front of a gate. It is not a rare case to see   interaction between them. Instead in section number
different notes in front of the gates where they ask         five are brought some new ideas for incoming future
people not to block the passage with the car parked          works. The work is concluded with section number six
over there. To overcome such problem it was thought          where are listed the references. In the reference section
and then realized the building of a system that might        we have mentioned only the books and web pages
help to notify the owner of the car to come and move         visited in order to build the systems.
2. Systems description and functioning                         And the element selected from the list will generate
                                                               automatically the fine amount and also it will subtract
The idea to build these two systems comes as a                 the points from the person’s digital driving license.
necessity in different occasions in our everyday life.         This system will help in facilitating the procedure of
Everyone might have experienced the situation to be            registering the fines in the police workstation and in the
late for a meeting and in that moment you may park             agency of taxes and incomes. This least system will
even in front of garage or passage. You may think that         allow any driver to log in and to check for any fines and
it will be ok for a couple of hours to park there as you       penalties that the police might have put to them. Also it
see none having a car parked inside the garage. And            will help to show in the display of your smart phone
then you may forgive that you have to go and displace          your driving license in case you lose or have forgot it
you car and you continue with your work till the end of        back home. You can show it to the police through the
your shift. This is quite rare to happen during the day        application in case you are asked for this document and
but in the night this situation is more probable to            you do not have the card with you.
happen. And if you have to accompany with the car
somebody to the hospital than the situation become
very tense and the only solution will be to call a taxi if
                                                               3. Systems interaction
the passage is blocked by another car. So it was thought       Web based systems require the internet connection in
to construct a system which will help people to                your phone and a browser already installed in it
communicate through a web application with the owner           [O3B14]. Web applications are easy to access and their
of the car that have blocked the passage. The                  response time is short, during the information retrieval
connection between the owner and his car will be               from the query in their database. The time it takes for a
through the car plate. The person will have to log in
                                                               web application to respond will depend on the internet
into the system if he/she has already an account or
                                                               velocity and on traffic generated toward the
otherwise he/she might create a new account. Where
the account is created for the first time it is required the   application. The person may use it in the moment when
name, surname, ID number, car plate, email and mobile          he needs to notify another person to come and move
phone number. All these fields in the form are required        his/her car. Or he might want to check the fines he has
because by doing like this you enrich the database by          to pay. So before you can have access to the web
holding more data regarding different persons. So the          applications it is necessary that first you login or create
database will keep the records by using as a primary           an account in the system. If you have already used
key the ID number of the person. The records once              before the application you have to remember the
registered in the database can be used for any query           username and password or to have it memorized it in
required in the case when this same person may have            your browser. So the next time you want to access it
parked his car in a wrong place. So by login in into this      you just open the web page and the authentication will
system it gives the possibility to write the car plate and     be done automatically from the browser. The form that
it automatically generates an email to the owner of the        the person needs to fill in when he is trying to access
car in case you need to contact him for moving his car.        the system that sends a notification of a wrong car
The person whose passage is blocked can send again             parking for the first time is shown in Fig.1. The system
another notification to the owner of the car after he
                                                               will give you the possibility that through a query in its
waits for a while. If the person ignores these emails
then after a while the system might bring a request to         own database of the cars plates to find and show you
put a fine to owner of the car. This second system is          the car owner email. So the system will show you such
created firstly for the purpose to allow the police to put     information if the records of car owner exist in the
the fines and secondly to become helpful to the other          system database. The field that might be filled once that
system in case of really hazard situation when the             you have been logged in the system is only the car plate
person is not getting the message or at least he is            as shown in Fig.2. After you have entered the car plate
ignoring it on purpose. The police through his interface       whose owner data you are searching for in the system,
set the penalties without the need to write it down in         if owner records already exist in the database the
letter. The fine will be generated automatically and the       system will show you his/her email address, Fig.3. To
only thing that the police might do is to specify from         the owner of the car whose car plate is queried
the list which law infringement the driver has done.
successfully in the system will get notified by an email   The content of the email is the same all the time asking
generated automatically by the system.                     to go and displace your car from where you have
                                                           parked it as it has blocked a passage. The notification
                                                           content and message will be as shown in Fig.4. Such a
                                                           system alone will be quite a useless tool and people
                                                           may ignore its notification, but if you employee another
                                                           system that might generate penalties in case of ignoring
                                                           the complaints targeted to the same person than it
                                                           becomes more interesting. So this first notifying system
                                                           will be interfaced with another one that will be
                                                           connected with the police central station that handles
                                                           the problems of traffic and street security. This second
                                                           system may generate fines if you ignore the
                                                           notifications done via emails. The fine will be
                                                           generated after a predefined period of time set in the
                                                           first system the one that sends the notification emails.
         Figure 1: New account creation in the system      The second system of fines helps the police to generate
                                                           the fines when there are some rule breakers cases in the
                                                           street [DPSHTRR16].




          Figure 2: Querying the database with the car
                     plate number




                                                                 Figure 4: The email generated from the wrong
                                                                               parked system

                                                           When the police catches some abnormal behaviors of
                                                           the drivers in the street like driving too fast passing the
                                                           velocity limit of the road, or passing with the red light,
           Figure 3: Querying result about the person      or incidents that may occur in cross roads, etc. The
                data like email address                    fines generated from the second web application keeps
                                                           a lot of details and their registration and display will be
very fast like in real time as it does not require other
extra procedures to register them in the digital register
of finance ministry. The procedure a police might
follow to set a fine to a car driver is like accessing any
other web applications. First the police need to log in
into the system and then he can put another fine if he
sees that there is any law breaking behavior in the
streets, his form looks like as in Fig.5. The police will
fill the predefined fields of the form through his
interface and as well he has to specify the rule of the
street code that the driver might have infringed. Then
the system will automatically generate the different                    Figure 6: Police setting the fine to the car
penalties that it holds. Penalties are connected to the                              driver
low infringements by including them in a list and it is      With the introduction of the digital driving license it
already set in the system by following our national          may be revoked if he the driver is not careful to follow
street code and rules as it is shown in Fig.6. After         the rules and obligations of the street code. And the
filling the fields regarding the details on the date and     driver loses it when the driver keeps repeating those
place where the law break have occurred, the police          errors with a high frequency within a predefined period
might select and specify from the list of law                of time. Some similar applications are already in use in
infringements the respective one of the case. Then he        different countries where it is already applied now for
might press the button that subtracts the points from the    many years the digital driving license. But the system
driving license and then the other button that set the       described in this work is quite different as beside the
fine. The order of the actions is configured like this in    fine setting and the digital car driving license it is
order to prevent any error to subtract twice the points      designed as well to interact with the other system of
from the driver license for the same case. This least        notification in case you have parked and have blocked
system is designed as well for another functioning that      a passage. Another feature that might be considered and
of digital driver license. The digital driving license       most probably is already set in different systems around
holds all person’s data contained in the driver license      the world is its configuration to have established as
card. It holds as well some extra information regarding      well the interaction with the velocity street radar. So
the points you have lost or won during the years. So the     this time it will be the radar that might read the car
person might not need any more to hold his card with         plate and ask to the fine setting system to generate
him as if the police ask for it you can show it from the     automatically the fine. The selection of the law
application.                                                 infringement will be from the different rules broken by
                                                             the driver and those will be set and selected by the
                                                             radar application. The fines generated will be assigned
                                                             to the owner of the car and as well if for example he
                                                             passes when the street lighter is red it brings to his
                                                             driver license cancellation for a predefined period of
                                                             time the same with his car license which may be
                                                             revoked for a period of time. So in such case the owner
                                                             losses the right to drive and to bring out of garage his
                                                             car. All this action will be taken automatically by the
                                                             system without the police to do it.

                                                             4. Systems use cases and realizations
           Figure 5: Police’s interface in the system of
               fines and penalties setting                   The web applications that are brought in this work may
                                                             seem simple and of small importance than they really
are. These systems represent a tool for helping people       he can generate reports based on what he have found to
by generating notifications to the persons by asking         the police station. The interaction of the two systems
them to move their car. While in the second system it        will be performed through an API. This interaction
allows the viewing on the screen of your smart phone         means the generation in automatic of the fine in the
of your digital driving license and as well it helps into    second system through the first.
viewing also any fines and the points that you may have
lost or gained during a certain period of time. If we go
and analyze more in deep the notification system of
                                                             5. Conclusions
wrong parking by supposing that the database holds           There can be introduced some modification in the
many records regarding different cars plates owners.         notification system of wrong parking where is needed
Then it is possible to appreciate its applicability          to set the timing between the different emails sent by
focused on different fields of the application like those    the same user. Also there might be necessary to build
enrolled in the list below: Creation of some standard        another feature of the system that gives the possibility
list or special list for emergency cases. Like in case       to the owner of the car to complain if somebody is
when the car is parked in front of a hospital entrance       abusing with the system and is sending emails in
and the ambulance can not pass. The disclosure of car        continuous. And to prevent the generation of the
plates cloning, where the plate can be used in another       requests toward the other system for setting him/her a
car to do any crime with it. In this case the system         fine in case of false alarms. Also the profile of the
notifies the real owner of the car plate even that his car   administrator might classify the user into different list
is being parked in a different place far from where he is    like if someone is trying to make a joke with his/her
notified to have parked wrongly the car. This is             friends by sending very often requests toward this
possible to find out because the system gives you the        system after that you have verified of them being false
possibility to complain in case you are continuously         alarms he can put him/her in a grey or black list.
disturbed by many emails which ask you to go and
displace your car. But your car actually is parked in the
garage that you may own or you pay the rent of it.
Through this system the police may ask the
collaboration of the citizen to notify the authorities in
                                                             References
case they see a car and plate of a person that is an out
of law person. The system that notifies in case of wrong     [O3B14] O3B (2014). Technology.
parking is programmed with PHP and for the front end               http://www.o3bnetworks.com/o3b-
part are used HTML, CSS and JavaScript, for the                    advantage/our-technology
database is used MySQL. The database is administrated        [DPSHTRR16] Drejtoria e Përgjithshme e Shërbimeve
from the browser it is in MySQL, it is saved in                    të Transportit Rrugorë,
phpMyAdmin which is an open source program. It is                  http://www.dpshtrr.gov.al/
possible to perform different tasks such as creation,
table deletion, table modification, and all these actions    [Django16] Django documentation, url:
can be performed from the SQL or from the                            https://docs.djangoproject.com/en/1.9/content/
administrator. The second system is programmed with          [Sweigart15] Al. Sweigart, “Automate the boring stuff
Django of Python [Django16], [Sweigart15], [Lutz13],                 with python (2015)”
where different views allow to the users to interact and     [Lutz13] M.Lutz, “Learning Python”, 5th Edition
to perform all the allowed actions with it. So for                   (2013)
example the police after having being logged in the
system can put a fine, the user can log in to control the
fines or his driving license points. The administrator
can add or delete a profile and an account. As well the
administrator of this system can check if a police put
quite frequently different fines to the same car plate and