Professional Documents
Culture Documents
Certified that the project work entitled “Home Automation System” being
submitted by Ankit (1702914908) for the partial fulfillment of MCA-IV
offered by Dr. A.P.J. Abdul Kalam Technical University during the
academic year 2017-2018 is an original work carried out by the student
under my supervision, and this work has not formed the basis for the award
of any degree, diploma or such other titles.
Supervisor
Mr. Prashant Agrawal
Associate Professor
KIET Group of Institutions, Ghaziabad
External Examiner
i
Date:
CERTIFICATE
Certified that the project work entitled “Home Automation System” being
submitted by Lalit Ujjwal (1702914928) for the partial fulfillment of
MCA-IV offered by Dr. A.P.J. Abdul Kalam Technical University during
the academic year 2017-2018 is an original work carried out by the student
under my supervision, and this work has not formed the basis for the award
of any degree, diploma or such other titles.
Supervisor
Mr. Prashant Agrawal
Associate Professor
KIET Group of Institutions, Ghaziabad
External Examiner
ii
Date:
CERTIFICATE
Certified that the project work entitled “Home Automation System” being
submitted by Sumit Malik (1702914943) for the partial fulfillment of
MCA-IV offered by Dr. A.P.J. Abdul Kalam Technical University during
the academic year 2017-2018 is an original work carried out by the student
under my supervision, and this work has not formed the basis for the award
of any degree, diploma or such other titles.
Supervisor
Mr. Prashant Agrawal
Associate Professor
KIET Group of Institutions, Ghaziabad
External Examiner
iii
KIET Group of Institutions
Date:
CERTIFICATE
Certified that the project work entitled “Home Automation System” being
submitted by Udai Pratap Singh (1702914944) for the partial fulfillment
of MCA-IV offered by Dr. A.P.J. Abdul Kalam Technical University during
the academic year 2017-2018 is an original work carried out by the student
under my supervision, and this work has not formed the basis for the award
of any degree, diploma or such other titles.
Supervisor
Mr. Prashant Agrawal
Associate Professor
KIET Group of Institutions, Ghaziabad
External Examiner
iv
Head of Department
Department of Computer Applications
KIET Group of Institutions
Date:
ACKNOWLEDGEMENT
ANKIT
v
LALIT UJJWAL
SUMIT MALIK
UDAI PRATAP SINGH
ABSTRACT
vi
vii
TABLE OF CONTENT
viii
CHAPTER 5 : APPLICATION DESCRIPTION 16-20
CHAPTER 6 : INTERFACE REQUIREMENTS 21-47
6.1 Customer Interface
6.2 Hardware Interface
6.3 Software Interface
CHAPTER 7 : APPLICATION SECURITY 48-53
7.1 Common Security Threats
7.2 Technical Security Features
CHAPTER 8 : RESULT & DISCUSSIONS 54-55
8.1 Problem Faced
CHAPTER 9 : ADVANTAGES 56-58
CHAPTER 10 : LIMITATIONS & FUTURE 59-61
10.1 Limitations
10.2 Future Enhancement
10.3 Budget Analysis
CHAPTER 11 : CONCLUSION & BIBLIOGRAPHY 62-63
ix
TABLE OF FIGURES
x
CHAPTER 1
PROJECT OVERVIEW
1.1: INTRODUCTION
Warehouse Management provides the insight into your inventory and the
warehouse management tools to help you increase customer satisfaction and
reduce costs. Warehouse Management exchanges information with many other
functional areas in the solution including Logistics, Production and Trade, to
help improve your overall business performance
1
complete the timely status of the patients, working to accomplish
everything on our never-ending “to-do” list. Because of the hospital
management system, we never have to worry about remembering to
record the status of the patients, In short, we can save precious time
and experience more daily productivity. And this will be also helpful
for the staff of hospital and for the doctors.
1.3: OBJECTIVES
iii. To provide ease to the staff of the hospital. Who have too much
of workload.
iv. Healthcare application for remainder management.
2
1.4: SCOPES
1.5: APPLICATIONS
3
The application includes controlling of hospital system in an
easy way. Staff will be relaxed as the notification will alert them to
take the report of each and every patient on time.
Create a list of tasks that need to be carried out for each deliverable
identified . For each taskidentify the following:
The amount of effort (hours or days) required to complete the task.
The resource who will carry out the task.Once you have established the
amount of effort for each task, you can work out the effortrequired for
each deliverable, and an accurate delivery date. Update your deliverables
sectionwith the more accurate delivery dates.At this point in the
4
planning, we choose to use a software package such
asMicrosoftProject to create your project schedule. Input all of the
deliverables, tasks, durations and theresources who will complete each
task.
CHAPTER 2
LITERATURE REVIEW
5
the server side database. The project contains a server application, which
is the hospital website and is accessible only by the hospital administrator
and staff. The mobile application is the client side, developed in android
and it is designed for doctors and staff. The prevalent functionality of the
application is to provide medical experts and staff with a mobile user
interface for managing healthcare information more securely. The retrieval
of patient health records and patient-related medical data are easier through
this app. The user can get the overview about the services provided by an
hospital through thisapp. Users can also get navigation support to reach the
hospital and can view the hospital onthe map. Users can also make request
for appointments. The application provides a practical,user friendly
interface, so that its users can retrieve information about the hospital.
Theapplication provides several information about the hospital, navigation
guide to the hospital,make appointment for consultation and other
information on doctors and products.The application also includes patients
DICOM format. DICOM files can beexchanged between two entities that
are capable of receiving image and patient data inDICOM format. All
DICOM images needed to be securely exchanged over network. Doctorsor
patients can view patient's medical files etc. on their tablet even if they are
far from theirclinic, sitting at home and if patients are at separate
facilities.Out-patient medication administration has been identified as the
most error-
prone procedure in modern healthcare. Under or over doses due to erratic in
-takes, drug-drug ordrug-food interactions caused by un-reconciled
prescriptions and the absence of in-takeenforcement and monitoring
6
mechanisms have caused medication errors to become thecommon cases of
all medical errors. Most medication administration errors were made
when patients bought different prescribed and over-the-counter
medicines from several drug storesand use them at home without little or no
guidance. Elderly or chronically ill patients are particularly susceptible to
these mistakes. This app is designed to help patients avoiding these
mistakes. It can remind itsusers to take the correct medicines on time. The
app is equipped with user friendly interfacesto help its users to recognize
the proper medicines and obtain the correct instructions oftaking these
drugs.Electronic hospital management utilizing Web Services connectivity
and Android OS support the described functionalities.
In the existing system, for a patient to contact a doctor and take an
appointment is
possible only if patient goes to that particular hospital. Although the people
can’t get the
correct information about doctors, their details and different services
provided by the hospital. The only way is to contact directly. Those who
want to have some information inthe medical reports or files or want to get
appointment to particular doctor from his own placeare not possible.
In cases, a person suffering from some diseases may not have the medical
documentwith them. This may result in severe problems. Nowadays in
order to get correct informationand right treatment for a patient has to go by
him wherever needed. This is a lengthy process,which takes a lot of time,
and also costs a
7
re high. It’s not possible to get all the information ordetails as well as we
can’t satisfy the user through this process.
HealthCare Management App’
is a mobile application system developed for the
android devices in which the patient’s details are stored in the s
erver side database. Thesystem contains a server application, which is the
hospital website and is accessible only bythe hospital administrator. The
mobile application is the client side, developed in android andit is designed
for doctors and patients.The prevalent functionality of the system is to
provide medical experts and patientswith a mobile user interface for
managing healthcare information more securely. Theretrieval of patient
health records and patient-related medical data are easier through
thissystem.The user can get the overview about the services provided by an
hospital through thissystem. Users can also get navigation support to reach
the hospital and can view the hospitalon the map. Users can also make
request for appointments. The system provides a practical,user friendly
interface, so that its users can retrieve information about the hospital.
Thesystem provides several information about the hospital, navigation
guide to the hospital,make appointment for consultation and other
information on doctors and products.The system also includes patients
DICOM format. DICOM files can be exchanged between
two entities that are capable of receiving image and patient data in DICOM
format.
This system can remind its users to take the correct medicines on time. The
system isequipped with user friendly interfaces to help its users to recognize
8
the proper medicines andobtain the correct instructions of taking these
drugs.
CHAPTER 3
FEASIBILITY ANALYSIS
9
workability, impact on the organization, ability to meet user needs and
effective use of resources. The objective of feasibility study is not to solve
the problem but to acquire a sense of its scope. Feasibility study involves 6
steps:
1. Form a project team and appoint a project leader.
2. Prepare system flow charts.
3. Enumerate potential candidate system.
4. Describe and identify characteristics of candidate systems.
10
The assessments of technical feasibility centres on the existing system
and to what extend it can support the proposed addition. This was based
on an outline design of system requirements in turns of input files,
programs, procedures and staff. It involves financial considerations to
accommodate technical enhancements.
11
CHAPTER 4
PROJECT MANAGEMENT
12
4.1.1: Experimentation
13
CHAPTER 5
INTERFACE REQUIREMENT
The design or layout of our will be very clear and very interactive to
the customer.
When the customer opens the application the home page will
appear.
Then it will ask you to add an electrical device you have to control.
1. Android Studio3.0.1
14
OS for wrist watches, each with a specialized user interface. Variants of
Android are also used on game consoles, digital cameras, PCs and other
electronics.
15
Applications
16
Android has a growing selection of third-party applications, which can
be acquired by users by downloading and installing the
application's APK (Android application package) file, or by downloading
them using an application store program that allows users to install, update,
and remove applications from their devices. Google Play Store is the
primary application store installed on Android devices that comply with
Google's compatibility requirements and license the Google Mobile
Services software. Google Play Store allows users to browse, download and
update applications published by Google and third-party developers; as of
July 2013, there are more than one million applications available for
Android in Play Store. As of July 2013, 50 billion applications have been
installed. Some carriers offer direct carrier billing for Google Play
application purchases, where the cost of the application is added to the
user's monthly bill. As of May 2017, there are over one billion active users
a month for Gmail, Android, Chrome, Google Play and Maps.
17
Memory management
Development
18
open source and proprietary software, with the software required for
accessing Google services falling into the latter category.
Linux kernel
19
Android is built on top of the Linux kernel, the platform has very little in
common with the conventional desktop Linux stack".
20
journalists. Others, such as Google engineer Patrick Brady, say that
Android is not Linux in the traditional Unix-like Linux distribution sense;
Android does not include the GNU C Library (it uses Bionic as an
alternative C library) and some of other components typically found in
Linux distributions.
With the release of Android Oreo in 2017, Google began to require that
devices shipped with new SoCs had Linux kernel version 4.4 or newer, for
security reasons. Existing devices upgraded to Oreo, and new products
launched with older SoCs, were exempt from this rule.
Software stack
21
Until version 5.0, Android used Dalvik as a process virtual
machine with trace-based just-in-time (JIT) compilation to run Dalvik "dex-
code" (Dalvik Executable), which is usually translated from the Java
bytecode. Following the trace-based JIT principle, in addition
to interpreting the majority of application code, Dalvik performs the
compilation and native execution of select frequently executed code
segments ("traces") each time an application is launched. Android 4.4
introduced Android Runtime (ART) as a new runtime environment, which
uses ahead-of-time (AOT) compilation to entirely compile the application
bytecode into machine code upon the installation of an application. In
Android 4.4, ART was an experimental feature and not enabled by default;
it became the only runtime option in the next major version of Android, 5.0.
For its Java library, the Android platform uses a subset of the now
discontinued Apache Harmony project. In December 2015, Google
announced that the next version of Android would switch to a Java
implementation based on the OpenJDK project.
22
Aiming for a different licensing model, toward the end of 2012, Google
switched the Bluetooth stack in Android from the GPL-licensed BlueZ to
the Apache-licensed BlueDroid.
Android does not have a native X Window System by default, nor does
it support the full set of standard GNU libraries. This made it difficult to
port existing Linux applications or libraries to Android, until version r5 of
the Android Native Development Kit brought support for applications
written completely in C or C++. Libraries written in C may also be used in
applications by injection of a small shim and usage of the JNI.
Android has another operating system, Trusty OS, within it, as a part of
"Trusty" "software components supporting a Trusted Execution
Environment (TEE) on mobile devices." "Trusty and the Trusty API are
subject to change. [..] Applications for the Trusty OS can be written in
C/C++ (C++ support is limited), and they have access to a small C library.
[..] All Trusty applications are single-threaded; multithreading in Trusty
userspace currently is unsupported. [..] Third-party application development
is not supported in" the current version, and software running on the OS and
processor for it, run the "DRM framework for protected content. [..] There
are many other uses for a TEE such as mobile payments, secure banking,
full-disk encryption, multi-factor authentication, device reset protection,
replay-protected persistent storage, wireless display ("cast") of protected
23
content, secure PIN and fingerprint processing, and even malware
detection."
Open-source community
24
6.3.2: Android Studio
25
Gradle-based build support
Android-specific refactoring and quick fixes
Lint tools to catch performance, usability, version compatibility and
other problems
ProGuard integration and app-signing capabilities
Template-based wizards to create common Android designs and
components
A rich layout editor that allows users to drag-and-drop UI components,
option to preview layouts on multiple screen configurations.
Support for building Android Wear apps
Built-in support for Google Cloud Platform, enabling integration with
Firebase Cloud Messaging (Earlier 'Google Cloud Messaging') and
Google App Engine
26
CHAPTER 6
FRONTEND DESIGN
27
Figure 5.1: Screenshot 1
28
Figure 5.2: Screenshot 2
3. This activity shows the details of the recorded figures in different tests.
29
Figure 5.3: Screenshot 3
30
Figure 5.4: Screenshot 4
5. This activity is for staff in which they have to enter the recorded figures
of different tests.
31
Figure 5.5: Screenshot 5
32
Figure 5.6: Screenshot 6
CHAPTER 7
33
APPLICATION SECURITY
34
Store." The following October, researchers at the University of
Cambridge concluded that 87.7% of Android phones in use had known but
unpatched security vulnerabilities due to lack of updates and support. Ron
Amadeo of Ars Technica wrote also in August 2015 that "Android was
originally designed, above all else, to be widely adopted. Google was
starting from scratch with zero percent market share, so it was happy to give
up control and give everyone a seat at the table in exchange for adoption.
[...] Now, though, Android has around 75–80 percent of the worldwide
smartphone market—making it not just the world's most popular mobile
operating system but arguably the most popular operating system, period.
As such, security has become a big issue. Android still uses a software
update chain-of-command designed back when the Android ecosystem had
zero devices to update, and it just doesn't work". Following news of
Google's monthly schedule, some manufacturers, including Samsung and
LG, promised to issue monthly security updates, but, as noted by Jerry
Hildenbrand in Android Central in February 2016, "instead we got a few
updates on specific versions of a small handful of models. And a bunch of
broken promises".
35
security update in the previous year", stating that their work would continue
to focus on streamlining the security updates program for easier deployment
by manufacturers. Furthermore, in a comment to TechCrunch, Ludwig
stated that the wait time for security updates had been reduced from "six to
nine weeks down to just a few days", with 78% of flagship devices in North
America being up-to-date on security at the end of 2016.
Patches to bugs found in the core operating system often do not reach
users of older and lower-priced devices. However, the open-source nature
of Android allows security contractors to take existing devices and adapt
them for highly secure uses. For example, Samsung has worked with
General Dynamics through their Open Kernel Labs acquisition to
rebuild Jelly Bean on top of their hardened microvisor for the "Knox"
project.
36
7.2: TECHNICAL SECURITY FEATURES
37
used instead, in which users are prompted to grant or deny individual
permissions to an app when they are needed for the first time. Applications
remember the grants, which can be revoked by the user at any time. Pre-
installed apps, however, are not always part of this approach. In some cases
it may not be possible to deny certain permissions to pre-installed apps, nor
be possible to disable them. The Google Play Services app cannot be
uninstalled, nor disabled. Any force stop attempt, result in the app restarting
itself. The new permissions model is used only by applications developed
for Marshmallow using its software development kit (SDK), and older apps
will continue to use the previous all-or-nothing approach. Permissions can
still be revoked for those apps, though this might prevent them from
working properly, and a warning is displayed to that effect.
38
revealed that "the tested antivirus apps do not provide protection against
customized malware or targeted attacks", and that "the tested antivirus apps
were also not able to detect malware which is completely unknown to date
but does not make any efforts to hide its malignity".
39
CHAPTER 8
40
As it was our first take on the hardware design, for instance, the
fabrication of PCB with varieties of electronic components, we faced a lot
of complexities and the overall process was a challenging one.
41
CHAPTER 9
ADVANTAGES
The advantages of this project are as follows: Firstly, it has the capacity
to be in command of the user-desired electrical device through real time
server. The live-in settings can be suggested when the class room is left
unattended during break time, holiday, and in-control of class room settings
through real time server.
The effective advantages of this Home Automation project can be discussed
under the following headings:
First and foremost installation cost is least to establish the system. Just
need an internet network and little circuitry for developing the overall
system.
For developing the system users need to install the little circuit board
containing a low cost microcontroller, motion sensor, BJT and relay with
the final appliances.
42
9.3: ACCESSIBILITY
9.4: HANDINESS
43
9.6: SAVES TIME
It is obvious that today‘s world is busier than in days what went before.
People are constantly running from place to place; work to accomplish
everything on the never-ending ―to-do‖ list. Just because of the up-to-the-
minute character of a house mechanization system, they never have to be
concerned about running house to open the door for their kids after school
or making a fast discontinue at home in order adjusting household items.
The phrase ―It‘s better to be safe than sorry‖ can be taken relatively
literally at this time. Shielding yourself, your house and your corporation is
a matter of common sense. Of course, it is always good to start at the basis:
fit excellent physical security, like burglary-proof windows and locks. But
also electronic security is, in various cases, a necessity; even a dread room
is among the possibilities.
44
CHAPTER 10
10.1: LIMITATIONS:
45
10.2: FUTURE SCOPE
In future we are thinking that the staff will get a notification whenever
the time will come as the doctor has decided to record the status of the
patient.
The system has been designed in such a way that it can be modified
with very little effort when such a need arise in the future. The system has
been found to work efficiently and effectively. Due to its higher user
friendliness, others may use these documents as a prototype for developing
similar application. The system is found to be error free and ready for
implementation. To survive from the competition each has to produce some
modifications to it in the future. To keep track with the changing
environment, the system that we developed should be easily enhanced. Due
to this reason it is necessary that the system need to be modified according
to the users requirements.
46
CHAPTER 11
11.1: CONCLUSION
47
this, we thank all the people who help as to complete this
projectsuccessfully.
11.2: BIBLIOGRAPHY
Websites:
1:https://www.developer.android.com/
2:https://www.stackoverflow.com/
48