pdf 17
pdf 17
Abstract—Future Smart Cities require new ways to manage to communicate important public safety information/alerts to
services that benefit the end users. An important issue is how to each other, such as fire in any home or an amber alert.
connect homes in a community and create an alert management Whenever an incident like a fire takes place in a home,
system in Smart Cities with coordination among different entities.
In this paper, we present an architectural vision of a software a fire hazard severity zone can be formed around the place
defined home alert management system for Smart Cities. This of the fire. If any home lies within the danger zone, it has
alert management system would make the residents aware of a high probability of catching fire. During these situations, a
any incidents in the neighborhood such as fire. In this work, major concern is to inform the people, who live in these danger
we use the features of software defined networking to design a zones, about the fire. Generally, to do this, the authorities send
manageable and flexible smart home for a smart community to
provide services such as smart alarm systems. out alerts to the public in that zone and broadcast it on the
news as well. However, this might not reach all the people
I. I NTRODUCTION who need to be informed.
Providing smart services in Smart Cities has become an In this work, we propose SeSAMe as an architectural
emerging interest in the past few years. The goal is to improve vision for software defined smart community home alarm
and simplify the life of citizens living in a city by integrating management based on software defined networks (SDN). We
information and communication technology (ICT) and Internet present the protocol messages and system components for
of Things (IoT) solutions to create better service facilities for the operation of SeSAMe. With our approach, should any
the citizens [6]. There are six major components in a smart city alert/event such as a fire occur, an automated notification is
as shown in Fig. 1. In this paper, we focus on smart homes—a sent to all the homes in the neighborhood and to the fire
major component of smart living in smart cities. department and the police department about the fire. At the
A smart home, in its core, can be defined as an automated same time, alerts can also be forwarded to the police and the
home where all devices and appliances are networked together; fire departments.
they coordinate to make intelligent decisions and can be In future smart homes, we anticipate a number of sensors
controlled remotely by the owner of the home. One of the for monitoring a variety of information about the homes. We
important features in home automation is that the home owner believe the use of SDN would give the flexibility of adjusting
decides the reaction of the device. Initially, smart homes were to old and newly added sensors and traffic that arises from
thought to be to controlled environmental systems, but recent them. An advantage of using SDN is that the configuration of
development in technology has enabled it to cover almost any highly complex sensor devices can be made easy through the
electrical device within the home [13]. That is, smart homes centralized SDN controller.
aim to improve the lives of the residents by (1) creating The rest of the paper is organized as follows. Section II
secure homes, (2) saving energy, and (3) improving home presents the related work followed by a brief overview of SDN
accessibility in a convenient and flexible way. A smart com- in section III. Section IV presents our proposed architecture,
munity can be viewed as a virtual environment where smart section V describes the system initialization, and section VI
homes are networked together in a local geographic region to shows our experimental result followed by conclusion and
continuously monitor various aspects of the community and future work in section VII.
provide feedback to improve the safety, security, quality and
emergency response abilities of the community [12]. II. R ELATED W ORK
In a smart home, different electronic devices are networked Li et al. [12] introduces the smart community as a new
together through a Home Area Network (HAN). For example, application of the Internet of Things. In this work, the smart
motion sensors communicate with light sensors and thermal community architecture has been defined and how to realize
sensors to switch lights on/off and adjust the temperature in the secure and robust networking among individual homes has
home. The smart homes can study the resident’s daily activities been described. Xu et al. [14] proposes the software defined
pattern and accordingly adapt to it. smart home (SDSH). The authors use the core idea of SDN
The overall goal of our work is to enable features for a to design an SDSH and list the advantages of SDN such as
smart community where smart homes are able to communicate centralization, optimization, and virtualization in designing the
with each other and exchange information. This can be used smart home. The SDSH discussed in the work focuses on
Authorized licensed use limited to: SRM Institute of Science and Technology Kattankulathur. Downloaded on February 13,2025 at 07:33:42 UTC from IEEE Xplore. Restrictions apply.
Fig. 7. Connection between home and controller
The controller then alerts the police and fire departments and
informs the home about the route to other homes and installs
flows on them as shown in Fig. 5. Once the flows are installed,
the fire affected home sends alerts to the different homes that
include the alert id and its location. Fig. 8. Trigger Event
Authorized licensed use limited to: SRM Institute of Science and Technology Kattankulathur. Downloaded on February 13,2025 at 07:33:42 UTC from IEEE Xplore. Restrictions apply.
TABLE I kind of alert it is. The Value field represents the reading
M ESSAGE TYPES of the alert device.
Message Type Sender-receiver Description
Update Home-to-Controller Sends updates to
the controller
Trigger Home-to-Controller Event triggered
message to notify
the controller of
any alert
Announce Home-to-Homes Notify the homes
of any alert
Keepalive Home-to-Controller Notify the Fig. 10. Trigger message fields
controller that the
home is connected
• An Announce message is generated by the home where
the event occurred and will be sent to all other homes in
changes made to any device at home. There are two types the neighborhood. When an event takes place in a home, it
of timers used here. One is the update timer and the other notifies the controller. The controller in turn installs flows
one is the holddown timer. The holddown timer value is on the route connecting the affected home to all other
several times the value of the periodic update timer. If homes in the neighborhood. Once the flows are installed,
the updates sent by the homes to the controller are lost, the affected home announces the message to the other
the controller would not assume that the home is down. homes. The announce message fields are shown in Fig.
Instead, it waits until the holddown timer expires. When 11. An alert ID again represents the type of alert. The
no updates are sent by the home to the controller (when GPS ID of the alert home represents the location of the
the holddown timer exipres) it assumes that the devices home where the event occurs.
at this home are not accessible.
Authorized licensed use limited to: SRM Institute of Science and Technology Kattankulathur. Downloaded on February 13,2025 at 07:33:42 UTC from IEEE Xplore. Restrictions apply.
The controller keeps listening for the triggered events sent • Normal condition: When the primary home gateway is
by the home gateways. Also, after repeat intervals, it keeps up, the centralized SDN controller receives information
using the PingPong protocol. If any home sends a trigger event from the primary as well as the secondary home gateway.
to the controller, the controller then forwards it the addresses In this case, the information received from the secondary
of the homes where the alert should be broadcasted and also controller is ignored.
installs flows on the route. • Home gateway failure/ Link failure: When the primary
home gateway loses connection to the centralized SDN
B. Sensor Data controller, which can either happen because of the home
Different sensors in the home will send data to the home gateway failure or due to the failure of the link between
gateway and the secondary home gateway assigned to each the home and the centralized controller, the secondary
sensor. Each of the sensor datum will consist of 6 different controller takes the role of the primary controller. So
parameters: timestamp, location, home address, phenomena, the centralized controller would receive information from
value, and unit. The timestamp denotes the time when the the secondary controller as a backup way to update the
reading of the sensor was taken; the location denotes the IPS sensors.
location; the home address would be the address of the primary
gateway to which the sensor is connected; the phenomena A. Issues
represents the kind of reading that is being measured; the value SeSAMe could be an opt-in service. In this case, the home
is the reading of the sensor and the unit is the unit associated owners, by opting-in, agree to share their home locations
with the sensor. and sensor information. It could also include registering the
user’s phone number/numbers that can be used to send alert
C. Policy Rules
messages. While as a service, there are benefits of SeSaMe, it
The central controller also maintains various policy rules. also could present privacy risks for the owner. If the location of
For example, certain types of information available from the the user’s house is shared with the controller and is maintained
sensors at a home may only be sent to the police and the by a third party provider, it raises privacy risks. Services for
fire department, but not to the others in the neighborhood. which the location/information of the user are shared, require
Similarly, if a home does not wish to be a secondary home the use of a secure communication and privacy preservation.
gateway for sensors in the neighborhood, this can be specified If the server becomes a point of attack, the user’s information
through a policy rule. could be compromised.
VI. S IMULATION S ETUP AND P RELIMINARY R ESULTS
V. S YSTEM I NITIALIZATION AND O PERATION The SeSAMe testbed was setup on GENI [4]. The exper-
The SeSAMe setup includes setting up the home gateway, imental topology is shown in Fig. 16. There are 12 homes
and then the sensors are installed. Once the sensors are as shown in the figure. We tested the time to notify different
installed, it sends out a ‘discover’ message to the nearby hosts in the topology. The capacity of each link was set to
gateways. The gateways, after receiving the ‘discover’ mes- 100 Mbps. We tested the normal scenario as well the home
sage, send an ‘offer’ message in reply to it, which includes gateway failure scenario where home 1 loses connection to
the location of the gateways. As there can be more than one the controller and home 2 acts as the secondary controller.
gateway in the neighborhood sending the ‘offer’ message to The result for both the scenarios are the same as both homes
the sensor, it uses the election protocol to select the primary are in the same cluster.
and the secondary gateway. It selects the gateway that is As the message size increased and the number of sensors
closest as the primary gateway (which should be the home sending the message increased, the time to receive the message
where the sensor is installed) and the secondary gateway is the increases. We measured the time it took to send a message
second nearest gateway. After the primary and the secondary from home 1 to home 3 that was on the same node cluster
gateways are selected, the sensors send a ‘request’ message and to home 4 and home 7 that were on different node
to the selected gateways, indicating the gateways to add them clusters. Table II shows our simulation results based on each
as an authorized device. The home gateways send an ‘ack’ case being independently replicated 10 times and ± represents
message reply to the sensor indicating that it has been added the 90% confidence interval. One-to-One means the message
as an authorized device and the gateway is ready to receive was sent to just one host. For example, h1-h3 means when
the data from the sensors. home 1 is sending the alert just to home 3. The number of
As a result of the primary and the secondary home gateways, sensors represents the total number of sensors that are sending
at any particular time the data transmitted by the sensor are messages at a time (with each sensor sending one message).
received by these two gateways. Therefore, the controller One-to-Three signifies the time it takes for the alert to reach
receives information about the sensor status of homes from home 3, home 4, and home 7 when home 1 sends the alerts
the primary as well the secondary controller at any instance to three hosts at the same time. The time for One-to-Three is
of time. A few scenarios shown below detail the use of the greater (as compared to One-to-One) because the alert is sent
primary and secondary controllers: to the three hosts at the same time, so the link gets congested
Authorized licensed use limited to: SRM Institute of Science and Technology Kattankulathur. Downloaded on February 13,2025 at 07:33:42 UTC from IEEE Xplore. Restrictions apply.
Fig. 13. h1-h3 Fig. 14. h1-h4 Fig. 15. h1-h7
Authorized licensed use limited to: SRM Institute of Science and Technology Kattankulathur. Downloaded on February 13,2025 at 07:33:42 UTC from IEEE Xplore. Restrictions apply.