Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WFOMS is a weather service which has a network of internet connected weather sensors all over the world. All of these sensors maintain a connection

image text in transcribed

WFOMS is a weather service which has a network of internet connected weather sensors all over the world. All of these sensors maintain a connection to a broker and every ten minutes, they report the current temperature. A node connected to the broker either publish or subscribe to particular topics which are somewhat like message subjects. The broker to decide who will receive a message. Basically, system are arranged around the managed message broker, WFOMS IoT Hub, in a star topology. This is a very different model to the standard client/server approach, but the decoupling it provides is a huge advantage in many situations. ww The loT Hub uses the MQTT protocol, an open, lightweight, simple, and easy-to-implement messaging transport protocol. Topics in MQTT have a particular syntax. They are arranged in a hierarchy using the slash character (/) as a separator, much like the path in a URL. A weather station publish to a particular topic based on their location in the following format: 'sensors/{type}/{country}/{state}/{location}', so an example of a location Kajang, Selangor Malaysia (weather station code: MYXX0005)would publish to with a message containing the current temperature as follows: sensors/temperature/my/selangor/ Other example of weather stations include, Klang (MYXX0006), Ipoh (MYXX0003) and others. mangan kajang' www Three nodes are subscribe to the IoT Hub: a Database (to keep a history of the weather data), a Live Display and Weather Radar. The Database keep an up to date database of historical temperatures so it creates a database service which can subscribe to an MQTT topic, '#'. The database service will then be notified when a new temperature is received. The Live Display provide a real-time interactive dashboard of weather information. For example, the Live Display subscribe to a topic, 'sensors/temperature/my/Selangor/ +', to receive the temperature forecast for all cities in a Selangor. While, Weather Radar is a weather surveillance radar that analyse weather data to determine its potential to severe weathers such as storms, typhoon etc. For example, the Weather Data subscribe to topics such as 'sensors/precipitation/my/selangor /klang', 'sensors/wind/my/selangor/klang' and sensors/temperature/my/selangor/klang' to receive the precipitation, wind and temperature forecast of Klang. ww wwwwwwwwwwww a) Identify architectural style described in the scenario. [2M] b) Draw a conceptual diagram of the WFOMS architecture based on the adopted architectural style. [18M]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Define confusion matrix.

Answered: 1 week ago