Sie sind auf Seite 1von 4

Manet for Stable Data flow in Smart home and

Smart city
Vishal Dattana Arun Kumar
Department of Computing Dept of comp science
Middle east College, Muscat, Univ. College Kurukshetra University, india
arunkumar9429@gmail.com
Vishaldattana@gmail.com

Syed Imran Ali Kazmi


Ashwani Kush
Dept of comp science Department of Computing
Univ. College, Kurukshetra University Middle east College, Muscat,
India. Akush20@gmail.com skazmi@mec.edu.om

Abstract—Rapid rise in population adds many problems in city. Rest of the paper is organized as; section II presents some
The notion of Smart city concept is gaining momentum day by existing studies, section III represent the proposed plan and
day. Proper usage of infrastructure, making life livable, secure detailed study, last section described conclusion.
environment and energy efficient devices are need of the smart
home and thus smart city. The concept is emerging and attracts II RECENT STUDIES
many new innovations. An effort has been made in this paper to
carry out some issues and then taking care of stable and fast data
transfer which is utmost important in the process. MANET has Energy management [7] strategies and the low-cost of smart
been used as technology to achieve the target of data households when renewable power and storing of energy are
communication in smart homes via a base station. combined and use of the stochastic energy management with
electric vehicle power storage and photovoltaic array, where
Keywords— Ad-Hoc Networks, MANET, Smart city, Security, electricity costs are much lower than the non- optimal
data transfer, stable routing control situation. [8] Designs a non- linear projecting energy
management policy for the identical building with a
I. INTRODUCTION photovoltaic rooftop structure and a second- life lithium- ion
battery system for energy storage and introduces an ANN to
Because of flexible integration into everyday life, the smart forecast the system load. While some other research focuses
home has received widespread attention. When a wireless on generating a wireless network and selecting routing. In
sensor network connects the home atmosphere and facilities order to build such a wireless networks, the wireless
to a remote managed device, the smart home can modules are already integrated into the corresponding
conveniently monitor the Atmosphere at home and remotely devices. We pay attention here to the energy utilization of
control all equipment, such as the home appliance socket, the wireless nodules and to the delay of the network. To this
lighting, temperature, humidity, smoke, infrared, magnetic end, it will benefit the use of a low- cost network and an
door, etc. [1–2] . These days, Smart home encouraged optimum routing approaches. The traditional intelligent
public research interest. Some studies just focusing on the home system generates a wireless network using Wi- Fi or
energy consumption all over the home system and commit Bluetooth. [9]
to reduce energy intake by ensuring a comfortable home
atmosphere. [3, 4]. To improve the old smart home system, III PROPOSED PLAN
its electronic wiring, wireless and wired networking
technology, transmissions of information and control of Three basic functionalities exist in the system for smart
facilities are investigated. Electric cables, networking homes are remote control, enquiry and alert. The remote
technology, transmission of information and control of control clients sends the appropriate control commands by
facilities are some of the key issues needed to improve the using computers or mobile devices. When the MANET
old smart home system. Many steps have already been Router receives the commands transmitted from the remote
standardized for improvement. One is using ZigBee to server, the home router judges and transmits the commands
replace the traditional electrical cable system. Secondly, to the corresponding devices. Call terminals to parse the
thanks to the capacity of the self- organized ZigBee network commands and execute the control commands. If a queried
is used to connect many wireless sensors and facilities. A command is used, the sensor collects the data and returns
new algorithm is used here to find the best route. Finally, if the data to the MANET router, which sends the data back to
the smart home system is connected to the Internet using the remote control device. If the household sensor detects
remote server technology, the home atmosphere and the abnormal situation, the alarm system is triggered and
facilities can be controlled remotely in real time. The messages are sent to the coordinator and the remote control
experiments are under way to reduce the system delay and unit receives the alarm message. If the node is identified as a
maintain continuous flow of data in the wireless system of router, the MANET creates a wireless network
smart home. automatically. The routers play a key role in routing and
remote access, and devices offer many functions, because

978-1-5386-8046-9/19/$31.00 ©2019 IEEE


they have all kinds of sensors. The coordinator when routers NSTV(n) = LOE+MON+TL Where NSTV(n) > value B - 1
and devices connect to the wireless sensor networks
manages the nodes that handle incidents and remote Where value B is the min. stability value of nodes for the
requests. In order to ensure remote control in real time, the route.
number of routing nodes increases and the routing path
becomes more complex. The adoption of the relevant (i) Level of energy of a node (LOE)
routing algorithm is therefore especially important. Good In our model of energy, the level of energy(LOE) of a node
routing will improve the system's performance, such as refers to the available energy of node n which depends on
quality of communication, shortening time, reducing node total initial energy and consumed energy [11]. Available
energy consumption, etc. energy = total initial energy -consumed energy
Proposed Protocol for Stable Routing
A case study has been taken. A small city, more precisely a AE = TIE(n) - CE(n) Where AE(n) > Value C --- 2
small area in a small city has been considered. Total of 50
houses has been taken. Each house has been considered as a Value C is the threshold energy level for node
Node. In the said case, node has been considered as a cluster The Consumed energy(CE) depends upon the energy used in
head of many houses and in this case, each cluster has appx transmitting and receiving of a packet.
15 houses. In the said experiment, the cluster head has been
given enough energy to work for 10-12 hours for data CE(n) = Etransmit(N) + Ereceieve(N) --- (3)
transfer safely to all nodes under that cluster.
To implement stability of route using MANET, the work Energy used in transmitting and receiving of a one packet is
proposes a Route stability algorithm. The algorithm will calculated as follows [5]:-
solve the two main problems of MANET i.e. Route Stability Etransmit(n) = Ptransmit (n)*DOT -- (4)
Ereceived (n) = Preceived(n)*DOT …. (5)
and Route Recoverability. In the proposed protocol, a route
stability estimation method and a path finding algorithm are
Where Ptransmit is power used n transmitting one packet.
developed and maintain stable routes for communication
Preceived is power used in receiving of one packet. DOT =
services within a cluster.
Donates the duration of transmission (transmit + received)
The proposed protocol aims to improve the performance of
of a packet at node
existing routing protocol. In this the route stability of the
In our proposed scheme the algo. Choose only those nodes
node is measured by following parameters:
in the route that have higher energy level than Value C
1. Node energy (ii) Mobility of nodes(MON)
2. Node mobility In a dynamic network such as MANET, mobility of nodes
3. Traffic load cannot be ignored. They play important role in maintaining
These three parameters help to find out the stable route from stable route. Therefore, mobility of nodes can be considered
source to destination. as the deciding factor for route setup, so that better route
Route Request Phase is similar to AODV Protocol. In order stability can be achieved. In our proposed scheme we adopt
to allow more stable routes for data transmission in MANET the policy given in [6, 7], where a node with average lower
we propose to include a new field, called Route Stability displacement has a higher chance of being an intermediate
(RSTV) route request packet. It measures the stability of node. Weights are assigned to each node which shows their
route during route request phase (RREQ). In AODV hello respective displacement value i.e. the node with lower
packets are sent periodically to maintain the routing table, so average displacement as a higher weight and nodes with
that each node know about the connected neighbors. Each higher displacement has a lower weight. Mobility of a node
node broadcast the HELLO packet with Node stability is calculated by the average distance covered by mobile
value (NSTV) . If node Stability value of a hello packet is nodes in a given time slot. Calculation of mobility of node
larger than the threshold value then node adds the sender of as an average speed
the Hello packet as its neighbor.
MONT (n) = --- (6)

Calculation of Node Stability value NSTV(n) Where SP(n) is a speed of node in time duration T.
Node stability value can be calculated on the basis of 3 MONT(n) <VALUE D, the threshold mobility value for a
different parameters [4]: node.
1. Level of energy of node (LOE)
The speed of the node is given by following expression
2. Mobility of node (MON)
3. Traffic Load (TL)

NSTV of a node is calculated periodically and transmit to --- (7)


the network through HELLO packets
If any node receives larger NSTV value than the predefined DC is the distance covered by the node n at time slot ∆t i.e
threshold value A from some node, it adds that node as its from time t-1 to t. From position Pt-1(x,y) to Pt(x,y)
neighbor node. NSTV of a node is given by
DC∆t (n) = √ (x(n)t - x(n)t-1)2 + (y(n)t – y(n)t-1)2 --- 8
(iii) Load Estimation node is having NSTV less than threshold value B then
Traffic load of a node is measure by total cost incurred in intermediate node (IN) informs the upper node (UP) through
sending /receiving packet by node. If time arrival b/w unstable node detection packets (UNN). Upper node then
sending/receiving two packets is ∆T seconds and the size of reinitiates the route discovery process. A new field Unstable
packet is ∆L bits, then traffic load of a node is given by the node detection (UNN) is introduce to detect unstable node
equation [8] in route maintained. UNN node contains the fields sender
node address, upstream node, downstream node, source
node address, and destination node address
---- (9) Establishing New Path (ESTNP)
If upper node is unstable to find the new route it sends
The protocol has the following phase: - rerouting request (RERREQ) packets back to the source
(I) Route Request (RREQ) node.
(II) Route Reply (RREP)
(III) Data Transmission(DTRAM)
(IV) Route Error (RERR)
(V) Route Repair (RREPR)
(VI) Establishing New Path (ESTNP)

(i) Route Request in Self -heal Stable Routing Protocol


In the proposed scheme a new field route stability RSTV is
introduced in RREQ packet which indicate the route
stability value of a path from source node to destination
node. Initially all nodes are assigned high stability value.

(ii) Route Reply Phase in SSRP


When the Source receives the RREP, it records the route to
the Destination and it can begin sending the data. If multiple
RREPs are received by the Source, it selects the path on the
basis of largest Route Stability Value (RSTV) of RREQ.

(iii) Data Transmission Phase in SSRP Figure 1 : RREP in SSRP

After the stable route is discovered, the source node starts Working of Scheme has been discussed using figures 1 to 3.
transferring data packets to destination node and Node 1 will be source node and node 14 will be destination
periodically checks the stability value of route. During data node. In protocol, if node wants to transfer data minimum
transmission via stable route, if any intermediate node RSTV value has been selected. This value has been selected
becomes unstable node (a node having its NSTV less than on the basis of minimum NSTV value in the network. All
the predefined threshold value) at some point, link breakage nodes use Hello messages to broadcast their NSTV value. In
is detected along this route and route error message(RERR) figures, each node has its NSTV value. and it can be seen
is generated. that node 1 has the minimum NSTV value. Which can be
selected as RSTV value for the path. And node 1 is also a
(iv) Route Error Phase in SSRP source node. Now node 1 will initiate the route discovery
process. There are two paths used to send the RREP packet
Route error phase is activated when node have less node
to the Source node 1. i.e. 14-9-7-6-5-2-1 and 14-9-8-4-3-1.
stability value (NSTV) than the predefined threshold value.
Node 1 will receive RREP packets from node 2 and node 3.
The intermediate node generates the route error message to
Node 1 will select the node having highest NSTV value.
upper node, informing about the instability of route because
Node 2 has NSTV [2] = 7 and node 3 has NSTV [3] = 6.
of lesser value than threshold value selected during the
Node 2 has the highest NSTV value therefore Route having
phase discovery phase of route.
node 2 will be selected for transmission of data i.e. 1-2-5-
(vi) Route Repair Phase in SSRP
6-7-9-14
This phase plays important role in stable routing of protocol.
As the upper node receives the Route Error message(RERR)
Protocol SSRP has been proposed to provide the stable
, automatically it starts the Route Repair (RREPR) Process .
routing to the network. It keeps on checking for the stability
the Route Repair Process includes local route discovery
value of path using Hello packets periodically. During the
process.
transmission if any node has the NSTV value less than the
RSTV value selected for the path RERR has been generated
by the upper nodes. this case can be easily understood with
Route breaking avoidance algorithm the help of figure 3.9. during the transmission of data node 5
In this algorithm each node periodically calculates the updated its node stability value equals to NSTV [5] = 2,
NSTV and transmit to neighbors through HELLO packets to which is lesser than RSTV value selected for the path. Node
maintain the connection. During the transmission if any 5 is in danger state and can not be considered as member of
data transmission. Node 5 will generate the RERR message
to the node the Upper node about the failure of node 5.

Figure 3: setting the new path

IV CONCLUSION
Figure 2: Node failure during
This paper describes a case study involving many homes at
Node 2 will search for the destination node if it is next to the a time treated as nodes. The simulation process is under
node 2 it will directly send the packets. But this case it is not progress. Network simulator (NS2) will be used. Metrics
feasible because Destination node is not directly connected used will be packet delivery i.e. data transfer and Delay
to the node 2. Now node 2 will search for the next available caused in data transfer. Since algorithm is showing all
path but node 2 itself will check the NSTV. merits , it is great probability that results will favour the
theory.
If it is not in the danger state it will initiate the route
discovery process. NSTV value of node 2 is NSTV [2] = 7,
which is greater than the RSTV value of the path. Hence it REFERENCES
will rediscover the path to the destination. Node 2 is 1. Liyanage CDS, et al (2012). State of the art of smart homes. Engineering
connected to the node 3, again it will check the NSTV value Applications of Artificial Intelligence. 25: 1313–1321.
of node 3. If it has higher node stability value which is true 2. Giovanni P, et al (2017). Smart home energy management Energies.
10(382).https://doi.org/10.3390/en10030382
in case of node 3, will be selected for data transfer. All this 3. Amjad AM, et al (2015). Optimal smart home energy management
process can be easily understandable using the figure 3. considering energy saving and a comfortable lifestyle. IEEE Transactions
Intermediate nodes(IN) will rebroadcast it till they get the on Smart Grid. 6(1): 324–332.
final destination node. 4. Helal SA, et al (2017). On optimal scheduling for smart homes and their
integration in smart grids. Electrical & Computer Engineering. :1–4
The new route selected by the node 2 is 1-2-3-4-8-9-14 5. Jinsung B, et al (2012). An intelligent self-adjusting sensor for smart
home services based on ZigBee communications. IEEE Transactions on
Consumer Electronics. 58(3): 794– 802.
6. Lee JS, et al (2007). A Comparative Study of Wireless Protocols:
Bluetooth, UWB, ZigBee, and Wi-Fi. The 33rd Annual Conference of the
IEEE Industrial Electronics Society (IECON). 11:46–51
7. Gao L, et al (2016). Design of smart home system based on ZigBee
technology and R&D for application. Energy and Power Engineering. 8:
13–22.
8. Pretty DG, et al (2016). H1DS: A new web-based data access system.
Fusion Engineering and Design. 89(5): 731–735.
9. Cao Z, et al (2017). Design of the smart home system based on the
optimal routing algorithm and ZigBee network PLOS ONE |
https://doi.org/10.1371/journal.pone.0188026.
10. A.Kush, et al (2017). “Self healing using backbone”, International
Journal Of Research In Computer Application & management. Vol. no. 7
Issue no-06(JUNE),Page no-29-31.
11. Dattana v,et al (2017) “Scheme to Make MANET Selfheal Stable
Routing protocol” in proceedings of FTC Canada Future Technologies
Conference (FTC)

Das könnte Ihnen auch gefallen