Modeling of Traffic Accident Reporting System through UML Using GIS

Nowadays vehicles are increasing day by day in town and cities roads. It is a well known problem to manage traffics on the roads in towns and cities. A lot of accident occurs on the road due to careless driving and Technical faults in vehicles. The main problem of traffic authorities is to manage the traffic on the road for the smooth functioning of vehicles that can reduce the accident and violation on the road. There is a tremendous demand from traffic authorities to develop a system that can helps to avoid the accident and keep the accident report data and also maintain the accident report data. The main objective of this paper is to model a Traffic Accident Reporting System (TARS) through UML using GIS to solve the above problem. Authors are also proposed the sequence and activity diagram for the above proposed model.


INTRODUCTION
Models are playing very important role to understand real time problems.A model gives an overall idea about the actual problem in a very simple and clear way [1].The Object Management Group introduced the Unified Modeling Language (UML) for the software designers to develop useful, efficient, effective designs and quality model system for the industry peoples [2,3].The Unified Modeling Language (UML) is a modeling language that covers a large range of different application domains and which is used to design a scientific and research problems [4].UML model is an accepting a view of actual real world problem and explain in the form of pictures and notations [5].UML have nine standard diagrams for graphic representation of a system which is represent the different points of view of the system and that are classes, interaction-sequence, objects, interaction-communication, state, use , activities, components and display [6].Some of the important domain oriented UML models are designed and shown in [7,8,9].Geography always plays the important role in human's life.A geographic information system (GIS) is a kind of system which is used to capture, designed, store, manipulate, analyze and manage all types of geographically referenced data [10,11].The geographic knowledge is applied to human routine tasks such as unfamiliar with the city or searching the exact street or station etc. [12].Recently there are some important research papers about explaining the GIS system in a very effective and efficient way is given in [13,14].These are the some paper that explaining and prevention about the accident in a very simple way [15,16].

II. UML CLASS MODEL FOR TRAFFIC ACCIDENT REPORTING SYSTEM
A Traffic Accident Reporting System (TARS) has been designed with the use of UML concepts and which is shown in  Reporting System.According to the activity diagram viewers see the accident and inform to the TARS with mail or through the phone even viewers can go directly traffic police and inform about the accident.When the TARS get the information about accident the system will connect GIS system through internet and find the exact location of the accident.After finding the exact location of the accident the TARS search the nearest police station and inform the responsible person also the same time TARS send the information to the insurance company.When the police officer gets the information about the accident he reaches the proper location prepares the report about the accident and send to the TARS.After that clear the traffic and go back to the other task.Similarly insurance officer reaches the accident place and prepares report and sends to the insurance company and go for other task.

IV. UML SEQUENCE DIAGRAM FOR TRAFFIC ACCIDENT REPORTING SYSTEM
The sequence diagram is representing the interactions between objects.The sequence diagram passes the message from top to bottom.The sequence diagram of above TARS UML model is given in Fig. 3 This sequence diagram of TARS have five important object which are shown on the top of the diagram in the form of rectangles boxes with their class names.The five main objects are Accident Effected party, TARS, GIS, Officer and Insurance Company.The communication between two objects is shows by an arrow and the message of that arrow.According to the sequence diagram is given in Fig. 3.The Accident Effected party inform to the Traffic Accident Reporting System (TARS) through the mail or phone.The TARS connect to GIS system and find exact location of the accident.After finding the exact location, system searches the nearest traffic police station and informs and assigns the task to the traffic police officer.Similarly at the same time also inform to insurance company.The traffic police officer and insurance company officer reach the accident place and prepare the report.The insurance company officer sends the report to the company.The traffic police officer prepare the report and send to TARS also the officer clear the traffic after that go to the other task.www.ijacsa.thesai.org Fig1.UML class diagram demonstrate the structure of the system by depicting classes, attributes and relationship.The complete Traffic Accident Reporting System TARS have been designed with attributes and functions.The different properties have been used like association, aggregation, inheritances etc in the form of sub classes and shown in the UML class model.In a UML class diagram Viewers class multiple associations with TARS and TARS has a single association with Viewers class.Similarly TARS class also has a single association with GIS class and multiple associations with Insurance_Com and Traffic_Officer classes.GIS class has a single association with TARS class and multiple associations with Vehicle_detail class also GIS class has a multiple association with Street class and Street class also has a single association with GIS class.Vehicle_datail class multiple associations with GIS class and also multiple associations with Report class.Report class has a multiple associations with Vehicle_Detail, Traffic_Officer and Insurance_Com class also the Traffic_Officer class and Insurance_Com class multiple associations with Report class.TARS also have a multiple association with Traffice_Officer class and Traffic_Officer class also has the multiple associations with TARS class.www.ijacsa.thesai.org

Figure 1 .
Figure 1.UML Class Diagram Traffic Accident Reporting System III.UML ACTIVITY DIAGRAM FOR TRAFFIC ACCIDENT REPORTING SYSTEM An activity diagram is a kind of flowchart that shows the flow of control step-by-step [17].The activity diagram shows the various activities one by one with the moving for both controlled and uncontrolled activities.The UML activity diagram of the above model is shown in Fig.2.The activity diagram represents the complete process of Traffic Accident Reporting System.According to the activity diagram viewers see the accident and inform to the TARS with mail or through the phone even viewers can go directly traffic police and inform about the accident.When the TARS get the information about accident the system will connect GIS system through internet and find the exact location of the accident.After finding the exact location of the accident the TARS search the nearest police station and inform the responsible person also the same time TARS send the information to the insurance company.When the police officer gets the information about the accident he reaches the proper location prepares the report about the accident and send to the TARS.After that clear the traffic and go back to the other task.Similarly insurance officer reaches the accident place and prepares report and sends to the insurance company and go for other task.

Figure 2 .
Figure 2. UML Activity Diagram for Traffic Accident Reporting System V. A CASE AND EXPERIMENTAL STUDY Saudi Arabia has the highest Road Accident Death Toll in the world and averages of 17 Saudi Arabian residents are died on the country's road each day.A report by the Kingdom's General Directorate of Traffic has revealed [18, 19].Let us consider the accidental data of Saudi Arabia for evaluating the TARS model.

Figure 4 .
Figure 4. Bar chart for Traffic Accident Reporting System