Summer Internship Report
Summer Internship Report
Submitted By
ABHISHEK GUPTA
16BCE0109
Bachelor in Technology
In
SCOPE
I hereby declare that the Industrial Internship report entitled “EMERGENCY AMBULANCE
SYSTEM” submitted by me to Vellore Institute of Technology, Vellore in partial fulfillment of the
requirement for the award of the degree of B.tech in CSE is a record of bonafide industrial training
undertaken by me under the supervision of Mr. Ashirwad Gupta, NEC Laboratories India. I further
declare that the work reported in this report has not been submitted and will not be submitted, either in
part or in full, for the award of any other degree or diploma in this institute or any other institute or
university.
Abhishek Gupta
16BCE0109
School of Computer Science and Engineering
BONAFIDE CERTIFICATE
SUPERVISOR
Date: Date:
The internship opportunity I had with NEC Laboratories India was a great chance for learning
and professional development. Therefore, I consider myself as a very lucky individual as I was
provided with an opportunity to be a part of it. I am also grateful for having a chance to meet
so many wonderful people and professionals who led me though this internship period.
Bearing in mind previous I am using this opportunity to express my deepest gratitude and
special thanks to Mr. Ashirwad Gupta of NEC Laboratories India who in spite of being
extraordinarily busy with his duties, took time out to hear, guide and keep me on the correct
path and allowing me to carry out my project at their esteemed organization and extending
during the training.
It is my radiant sentiment to place on record my best regards, deepest sense of gratitude to Mr.
Sachin Mishra, Solution Designer and Mr. Akihiko Iketani, HEAD of NEC Laboratories
India, my industry guides for his careful and precious guidance which were extremely valuable
for my study both theoretically and practically which was very helpful for this report.
I express my deepest thanks to all the industry experts who took out time from their busy
schedules to hold a session with me and to provide the best of their knowledge and experience
in order to make this training a success.
I would also like to thank, DEAN and HOD for taking part in useful decision & giving
necessary advices and guidance and arranged all facilities. I choose this moment to
acknowledge there contribution gratefully.
I perceive as this opportunity as a big milestone in my career development. I will strive to use
gained skills and knowledge in the best possible way, and I will continue to work on their
improvement, in order to attain desired career objectives. Hope to continue cooperation with
all of you in the future.
List of Figure
1. INTRODUCTION
2. Company Profile
3. Benefits and Knowledge Gained During The Training
3.1 Skill Set before the training period
Company details
Website:
https://www.nec.com/en/global/rd/labs/india/index.html
Headquarters
Minato, Tokyo, Japan
Year founded
July 17, 1899
Company type
Electronics and IT
Company size
109,390 employees
Specialties
Figure:1:HTML Implementation
3.2.2 CSS:- After complementing HTML thoroughly the 2nd thing that I learnt was
CSS(Cascading Style Sheet).Now this actually helps us to do the styling.
Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation of a document written in a mark up language like HTML.
CSS is designed to enable the separation of presentation and content, including layout, colors,
and fonts. This separation can improve content accessibility, provide more flexibility and
control in the specification of presentation characteristics, enable multiple web pages to share
formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and
repetition in the structural content.
So, to the basic structure is give external CSS in styles folder under CSS and using the class
as the main source of giving the CSS the properties are mentioned.
3.2.3 BOOTSTRAP:- After complementing HTML thoroughly the 2nd thing that I learnt was
BOOTSTRAP. Now this actually helps us to create a responsive design.
Now, this is a framework which consists of in build classes so we just have to include the
files and give the classes.
This is mainly used to get a responsive design and to reduce the CSS given by the designer.
3.2.4 JAVASCRIPT:- After complementing BOOTSTRAP thoroughly the 2nd thing that I
learnt was JAVASCRIPT. Simply JavaScript makes a web page more interactive. JavaScript
does all validation operation to the browser side and saves data from mismatching to the server
side which can cause the crash of the database.
One more interesting fact about JavaScript is that we can make games using HTML Canvas
and JavaScript. There are many games developed using JavaScript. Some examples are Frog
hop, Backgammon, Checkers, Tic Tac Toe and so many.
3.2.5 Jquery:- After complementing JAVASCRIPT thoroughly the 2nd thing that I learnt was
Jquery. jQuery is not a language but a well-written JavaScript code. It is nothing but a small,
mostly used (near about 65%) JavaScript library. JQuery is very well written compact
JavaScript code which increases the productivity of developer and enables them to handle
critical UI functionality in websites by writing a very small amount of code.
As jQuery is very light weighted, it decreases the loading time of web pages. Because of this,
most web browsers like Google and Bing uses jQuery. In game constructions, jQuery is the
most used library of JavaScript.
3.2.6 PHP:- PHP is the world’s fastest web scripting language till now. PHP stands for PHP
Hypertext Preprocessor, the first letter of PHP stands for its acronym PHP. PHP is server side
scripting language primarily designed for web development but it is also used as a general-
purpose programming language.
PHP5 is the version which is currently in use for web development and included several new
features like support for object-oriented programming, an interface for database access and
other enhanced features. PHP6 and PHP7 are also launched with other new and enhanced
features.
3.2.7 FIREBASE:- It is the world fastest growing and scalable database developed by google
for high performance application. It is very flexible, easy to use and help us to collect the real
Time data from application and provide various method to monitor our application like crash
analysis and data monitoring etc.
Figure 3: Map using JavaScript and JQuery Figure 4: Alerts using JQuery
Web technology has come a long way since its introduction during the 1980s. There was a
time when the World Wide Web was used primarily by researchers of universities to share
information related to their academic work with specific audience (co-workers). Times have
changed greatly and today social media sites like Facebook and Google search engine have
become a part of daily life even for a layman living in third world nations. The developments
responsible for this change within the web technology landscape are spread across different
fields. It has to do with advancements in mark-up languages, programming languages, server
technology, data transmission technology and infrastructure that supports internet.
Tim Berners-Lee takes credits for the development of first web browser the World Wide Web
in 1990. Soon, there were many other browsers that followed and this began the internet
revolution. By the year 1993 there were browsers that could bring home graphical content
which, for the first time, made web pages available and useful to layman. The beginnings
were dominated by a browser named Netscape, thanks to the pictures and content it could
display on web pages. Microsoft entered the market during late 1990s by integrating its
browser application with the Windows operating system. The name Internet Explorer took
over the market and it continues to be a popular browser even today, about 30 years after its
introduction. It is referred to as one of the oldest browsers which is still in use.
From the time when World Wide Web was created, there has been rapid transformation in the
web server technology which has fuelled the growth of internet. The combined developments
in server technology (software side and hardware side), web browsers and website design and
development have resulted in this phenomenal growth in information technology landscape.
During the beginnings of internet era the speed at which requests for web pages were
processed and retrieved and the hosting space offered for website content on the server were
limited. With the growth of internet, website technology started to spread its roots into most
of the business landscapes which created the need for higher processing speed and increased
accessibility for large number of users. Thanks to the developments in technologies such as
virtualization and advanced data management systems in recent times, today we are able to
achieve phenomenal data handling capabilities and processing speeds.
There has been a drastic transformation in the applications of website technology. From the
time where web pages were used to merely display text to the times where video calls and
live streaming are possible, websites have come a long way. Today, everything from
connecting to unknown people to buying stuff happens online. There are billions of users
accessing the internet every day. Browsers and applications have become so complex that
they can sense the mood of users and display appropriate content on web pages.
In future it may become difficult to draw a line between what is today web/internet
technology and daily life activities. With everything from phone to refrigerator, television to
automobiles becoming smart, the connectivity of devices with the internet in future will be
seamless. There may be automobiles that can remind you that you are late to school and drive
you without you having to do anything.
4 LANGUAGES USED IN DEVELOPMENT
Hypertext refers to hyperlinks or links which connect web pages to one another, markup refers
to the tags used in HTML and language is for Standard English text. The tag is some kind of
code we used in HTML to display elements or contents written for websites.
The journey of HTML towards HTML5 was fascinating with CSS to CSS3, evolving its
features to large extent.
Figure 7:CSS
4.3 Bootstrap
There was a time when the websites were made using HTML, CSS or other designing
languages were completely static as the time passed the issues of security were also raised
because these designing languages didn’t provided validation and the user also wanted a
dynamic the website thus the need to use those languages came into existence.
5.1.1 JavaScript
Most of us think that JavaScript is somewhat related to Java because of its name. But it’s not
true. JavaScript is not related to Java; just it is having syntactic similarity.We use JavaScript
with HTML and CSS at the front end for validating a form, animating the HTML
document.Simply JavaScript makes a web page more interactive. JavaScript does all validation
operation to the browser side and saves data from mismatching to the server side which can
cause the crash of the database.One more interesting fact about JavaScript is that we can make
games using HTML Canvas and JavaScript. There are many games developed using
JavaScript. Some examples are Frog hop, Backgammon, Checkers, Tic Tac Toe and so many.
HTML canvas is used for drawing graphics on the web page with the help of JavaScript. It can
be used to draw graphs, make photo compositions or to do simple animations.JavaScript is a
fascinating language and has its wide end use. JavaScript is world’s most popular and most
widely used language.
Figure 8: Javascript
5.1.2 jQuery
jQuery is not a language but a well-written JavaScript code. It is nothing but a small, mostly
used (near about 65%) JavaScript library. JQuery is very well written compact JavaScript code
which increases the productivity of developer and enables them to handle critical UI
functionality in websites by writing a very small amount of code. JQuery is cross-platform and
very light weighted JavaScript library. JQuery itself says that “write less do more”. By writing
very less code you can manipulate the HTML document i.e. you can do animating, event
handling and etc.As jQuery is very light weighted, it decreases the loading time of web pages.
Because of this, most web browsers like Google and Bing uses jQuery. In game constructions,
jQuery is the most used library of JavaScript.
Figure:9: jQuery
5.2 Server-Side Scripting
All websites need to be hosted (i.e. stored) in a database on a web server. Server-side
scripting simply refers to any code that facilitates the transfer of data from that web server to
a browser. It also refers to any code used to build a database or manage data on the web
server itself. Server-side scripts run on the web server, which has the power and resources to
run programs that are too resource intensive to be run by a web browser. Server-side scripts
are also more secure, because the source code remains on the web server rather than being
temporarily stored on an individual’s computer.
5.2.1 PHP
PHP is the world’s fastest web scripting language till now. PHP stands for PHP Hypertext
Preprocessor, the first letter of PHP stands for its acronym PHP. PHP is server side scripting
language primarily designed for web development but it is also used as a general-purpose
programming language.PHP was created by Rasmus Lerdorf in 1994. After that, a development
team was formed to develop PHP further to remove its inconstancy in the functions. PHP goes
in rapid changes and launched its new versions as PHP3 in 1998, PHP4 in 2000 and PHP5 in
2004.PHP5 is the version which is currently in use for web development and included several
new features like support for object-oriented programming, an interface for database access
and other enhanced features. PHP6 and PHP7 are also launched with other new and enhanced
features.
6 INTRODUCTION TO DATABASE
Database Management System (DBMS) is a collection of programs which enables its users to
access database, manipulate data, reporting / representation of data. It also helps to control
access to the database. Database Management Systems are not a new concept and as such had
been first implemented in 1960s.Charles Bachmen's Integrated Data Store (IDS) is said to be
the first DBMS in history.With time database technologies evolved a lot while usage and
expected functionalities of databases have been increased immensely.
Types of DBMS
Let's see how the DBMS family got evolved with the time. Following diagram shows the
evolution of DBMS categories.
A framework is a collection of programs that do something useful and which you can use to
develop your own applications. A framework guides you on how to do something (like a
predefined way of doing things). It's kind of the skeleton of an application which you take
advantage of to build your own stuff. Normally frameworks are written in a specific
programming language. That is, I haven't heard about a framework that is implemented in
many language and you can choose from among them.
There are some very special characteristics that differentiate frameworks from normal
libraries. For example:
1. Inversion of control: the framework already laid things for you. You have to
follow the way of doing things that the framework author determined.
This is the most important step or part of our project development because in this we actually
get to know the complete brief of the project that what is to be done, what are the points on
which we have to work. So if we have the complete briefing in a proper we can decide how to
work on the project and how to work in the subsequent steps.
So if I have to summarise this entire step then the entire theme of the project, its order of
working and its entire steps of implementation start in our mind from this particular step
itself.
So this project had to be divided into multiple parts and had various modules to be
implemented some of them are:-
1. Survey and business model development.
2. Analysis of Results.
3. Build emergency button for victim.
4. Build emergency system for Auto Rickshaw.
5. Build Auto rickshaw tracking system for hospital.
6. Notification mechanism.
7. Pay roll System.
8. Admin panel.
9. Update all information on regular basis which are needed.
10. Message sending system.
8.2 Selecting the way to proceed:-
Once we know the overall project description we can decide the flow or the way to proceed.
So on analysing the various modules there were many ways that were coming in the mind the
best one for this that we could decide was Modals, View, and Controls i.e
1. First think on the database.
Not to create it but what was to be required in the database as this project is
entirely based on the database.
2. Decide the view or the layout of the project.
3. Finally the development part.
So, this I can was the actual flow of the project. Selecting the right flow is important as it
helps saving time and improves efficiency.
Deciding the topics for which separate tables are to be created.
So, now we to analyse the first step very properly.
First Step: - Think on the database.
So, the various points on which this project is to implemented are:-
1. Hospital management.
2. Ambulance management.
3. Customer management.
4. Transaction management.
5. Back Up of all data.
6. Maintaining the expenses.
7. Pay roll Management.
8. Admin panel.
9. Update management database when needed.
10. Message management.
So we have to decide which point requires a separate table, which one can be accommodated
in at the created tables.
So the tables that are to be created are for the following: -
1. To store the details of Customer.
2. To store the details of Ambulance.
3. To store the details of Hospital.
4. To store the details of Transaction.
5. To back up all required data.
6. Backup real time data for tracking vehicle.
So, there are various themes available that we can refer to in order to create the design but it is
very important to select a design that goes well with our topic an also makes the page look
attractive that’s why we attended design workshop which was organised by NEC Laboratories
India. Their we learned many thing related development and also design wireframe for our
project. We participate with many good designer and create eye pleasing design for our project.
So for this particular project we selected a template which is called as “super-flat” template.
Super-flat Features
In implementing the design of the super flat theme we used HTML, CSS, BOOTSTRAP 3
HTML:- Hypertext Markup Language (HTML) is the standard markup language for
creating web pages and web applications.
HTML are the building blocks of HTML pages. With HTML constructs, images and other
objects such as interactive forms may be embedded into the rendered page. HTML provides a
means to create structured documents by denoting structural semantics for text such as
headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated
by tags, written using angle brackets. Tags such as <img /> and <input /> directly introduce
content into the page. Other tags such as <p> surround and provide information about
document text and may include other tags as sub-elements. Browsers do not display the HTML
tags, but use them to interpret the content of the page.
So we used HTML to create a basic layout of the page and give the page a structure. Yes, this
structured is not a proper way since CSS is not used yet to give this a proper shape.
CSS:- Cascading Style Sheets (CSS) is a style sheet language used for describing
the presentation of a document written in a mark up language like HTML.
CSS is designed to enable the separation of presentation and content, including layout, colors,
and fonts. This separation can improve content accessibility, provide more flexibility and
control in the specification of presentation characteristics, enable multiple web pages to share
formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and
repetition in the structural content. So, to the basic structure is give external CSS in styles folder
under CSS and using the class as the main source of giving the CSS the properties are
mentioned.
BOOTSTRAP:- Now, this is a framework which consists of in build classes so we just have to
include the files and give the classes.
This is mainly used to get a responsive design and to reduce the CSS given by the designer.
After implementing the design part to extent that the development languages can now be used
to start making the project dynamic in which we first start the validation part which includes
the validation of the User, hospital and ambulance data collection form to collect precise data
and implementing the validation logic on the important aspects. Now this validation can be
done using either client-side scripting language or server-side scripting language.
If we use only client-side scripting language than the problem is this validation can very easily
be broken even using the concept of inspect element as the main request goes on the server
and since there is no server-side scripting the validation actually gets failed if the user somehow
gets to know about it. So, to solve this problem we at least require a server-side validation and
all it functioning so that user cannot modify data and system remain secure from hacker. In this
project, we implement three part which listed below:
8.5.1 User:
In this part, First user have to register with our system then, application is set up in his mobile
and we developed the front end which only consist of single button. when user press the button
it will send message for help to nearest ambulance in range of 1 Km, If ambulance does not
reply to the system doesn’t in 60 seconds then it increase the range till it find ambulance and if
nearest ambulance reply to victim request, then system will display the ambulance information
and contact number to the victim which he can use to call the ambulance driver.
8.5.2 Ambulance:
In this Part, Firstly Ambulance needed to registered with system. We will provide them account
on our system which they use to get there rides. In this part, ambulance will get request from
user for the help and they cannot deny the request because person has suffered accident and
need help and if he deny the request, they will be penalty charge to the driver. After several
denial request. If the ambulance accepts the request, he will get user coordinate and path will
be drawn between user and ambulance. They can follow the line and get to the user and after
reaching the victim position, they will get location and path between victim location and nearest
hospital. We also provide the section of camera which will be used by ambulance driver to take
the picture and send to the hospital, so that, they can arrange the required equipment for that
particular treatment.
8.5.3 Hospital:
In this part, Hospital will get request from the ambulance and according to it, they will start
making arrangement to handle that case and hospital can track auto driver using navigation
system we have designed for them and payment will be done by hospital to ambulance on per
ride and designed the OTP System, which is a secure method for payment. Later the money
will be added to victim bill.
Now this project that is made is not only useful for this company to generate revenue but also
help people to save the life. Using our application, user can be delivered to the hospital fast
and efficiently without loss of blood. In this way we optimize the chain of ambulance and
make them work optimally. This system can be extended to auto rickshaw and cab who are
willing to help the people. We can also provide our platform to Non – governmental
organizations and generate the revenue from them.
9 Conclusion