Analysis, design, and implementation of a Smart City Management Application   System features: A smart city has a number of smart buildings and smart streets. The users of the system have different roles and different privileges. The system components in addition to the different users, their roles and responsibilities are presented in the next paragraphs. Smart Buildings: Each building has a number of floors and each floor consists of a number of apartments. A building is characterized by its ID, type (residential, institutional, business, industrial), the smart street where it is located, in addition to the number of residents. Smart buildings integrate renewable energy sources (solar and/or wind) in order to power the building. Apartments in each building have IDs. Each apartment is equipped with a sensor node. These nodes contain the following components: Motion sensor Temperature sensor Humidity sensor Microcontroller Communication module a microcontroller and a communication module. Smart Streets: A smart street has a name and an ID. Streets are also equipped with sensor nodes consisting of the following components: Microcontroller Temperature sensor Smart meter for the streetlights power consumption monitoring Each street has a general control room where we can find data about the street itself along with data regarding the different buildings located in that street. The system has two main users: General Admin: The general admin manages the entire city. His privileges include: Adding smart buildings to the system Adding smart streets to the system Adding apartments to the buildings on the system Adding sensor nodes to the apartments and streets on the system Viewing data related to the different sensor nodes deployed. Manages profiles/accounts for the residents Create account Delete account Update account In order to have access to these privileges, the general admin has to login using a username and a password. A general admin has an ID, full name, email, and phone number. In addition to the privileges mentioned previously, the general admin can manage his own account. The general admis also takes care of the different report given by the residents. These reports are given to the corresponding organisations offline. Resident  Residents have ID, name, phone number, email, age, profession, and address (street, building, and apartment). Residents have access to the different sensor nodes that are deployed in their apartments. They can view the data given by the sensors and the status of the appliances; they can also control the appliances (turn on/off). In addition to that, residents can report any problems related to their smart appliances or the sensor nodes deployed in their apartments. These reports and requests are handled by the general admin who contacts the responsible parties to take care of the problems. Residents have access to the system through their accounts (login and password). They can manage their accounts by changing passwords and usernames.   Let's build the appartment and admin classes

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Analysis, design, and implementation of a Smart City Management Application

 

System features:

A smart city has a number of smart buildings and smart streets. The users of the system have different roles and different privileges.

The system components in addition to the different users, their roles and responsibilities are presented in the next paragraphs.

Smart Buildings:

  • Each building has a number of floors and each floor consists of a number of apartments.
  • A building is characterized by its ID, type (residential, institutional, business, industrial), the smart street where it is located, in addition to the number of residents.
  • Smart buildings integrate renewable energy sources (solar and/or wind) in order to power the building.
  • Apartments in each building have IDs.
  • Each apartment is equipped with a sensor node.
  • These nodes contain the following components:
  • Motion sensor
  • Temperature sensor
  • Humidity sensor
  • Microcontroller
  • Communication module
  • a microcontroller and a communication module.

Smart Streets:

  • A smart street has a name and an ID.
  • Streets are also equipped with sensor nodes consisting of the following components:
  • Microcontroller
  • Temperature sensor
  • Smart meter for the streetlights power consumption monitoring
  • Each street has a general control room where we can find data about the street itself along with data regarding the different buildings located in that street.

The system has two main users:

General Admin:

The general admin manages the entire city. His privileges include:

  • Adding smart buildings to the system
  • Adding smart streets to the system
  • Adding apartments to the buildings on the system
  • Adding sensor nodes to the apartments and streets on the system
  • Viewing data related to the different sensor nodes deployed.
  • Manages profiles/accounts for the residents
  • Create account
  • Delete account
  • Update account

In order to have access to these privileges, the general admin has to login using a username and a password. A general admin has an ID, full name, email, and phone number. In addition to the privileges mentioned previously, the general admin can manage his own account. The general admis also takes care of the different report given by the residents. These reports are given to the corresponding organisations offline.

Resident 

Residents have ID, name, phone number, email, age, profession, and address (street, building, and apartment). Residents have access to the different sensor nodes that are deployed in their apartments. They can view the data given by the sensors and the status of the appliances; they can also control the appliances (turn on/off). In addition to that, residents can report any problems related to their smart appliances or the sensor nodes deployed in their apartments. These reports and requests are handled by the general admin who contacts the responsible parties to take care of the problems. Residents have access to the system through their accounts (login and password). They can manage their accounts by changing passwords and usernames.

 

Let's build the appartment and admin classes

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY