🎯 Learning Outcomes (Part 2)
After completing this chapter, students should be able to:
- Define Internet of Things (IoT).
- Differentiate between CPS and IoT.
- Explain the IoT architecture.
- Identify some looming problems in IoT and CPS.
بعد إتمام هذا الجزء، يجب أن يكون الطالب قادراً على:
- تعريف إنترنت الأشياء (IoT).
- التمييز بين CPS و IoT.
- شرح بنية IoT.
- تحديد بعض المشاكل الوشيكة في IoT و CPS.
📡 Definition of IoT
Internet of Things (IoT) – a network of physical objects (”things”) embedded with sensors, actuators, software, and communication technologies, enabling them to collect, exchange, and act on data over the Internet with minimal or no human intervention.
Key characteristics:
- Interconnectivity – anything can be connected.
- Heterogeneity – diverse devices and technologies.
- Dynamic changes – devices can appear/disappear, change state.
- Scalability – huge number of devices.
IoT: شبكة من الأشياء الفيزيائية المزودة بمستشعرات ومشغلات وبرامج واتصالات، تتبادل البيانات وتتصرف بناءً عليها بأقل تدخل بشري.
الخصائص: الترابط (interconnectivity)، التنوع (heterogeneity)، التغير الديناميكي (dynamic changes)، قابلية التوسع (scalability).
🏥 Example: health / motion sensors
Motion sensors, electrocardiogram (ECG) sensors connected to the internet, sending data to cloud.
مستشعرات الحركة ومستشعرات تخطيط القلب (ECG) ترسل البيانات عبر الإنترنت إلى مقدمي الرعاية الصحية.
🏡 Smart home / city scenario
Multiple heterogeneous devices (lights, thermostats, security cameras) communicating via internet and local gateways.
أجهزة متنوعة (أضواء، ترموستات، كاميرات) تتصل عبر الإنترنت والبوابات المحلية.
🏗️ IoT Architecture (layered view)
Fog/Edge devices: gateway‑layer devices close to end users (routers, gateways) with more storage/compute than edge devices.
Edge devices: end‑user constrained devices (smart watches, TVs, phones).
طبقة السحاب (Cloud Layer): خوادم ومراكز بيانات.
طبقة البوابة (Gateway Layer): أجهزة وسيطة (بوابات شبكية) تربط الأجهزة بالسحاب.
طبقة الأجهزة (Device Layer): “الأشياء” ذات الذاكرة المحدودة (هواتف، مستشعرات).
طبقة الاستشعار والمشغلات (Sensor‑Actuator): تجمع البيانات من البيئة وتؤثر فيها.
حافة/ضباب (Fog/Edge): أجهزة أقرب للمستخدم (بوابات) لديها قدرات تخزين/حوسبة أكبر.
🔁 CPS versus IoT – high level
Similarities: both involve sensors, actuators, communication, control.
Differences: CPS focuses more on tight cyber‑physical integration and control loops (often real‑time), while IoT emphasizes connectivity, internetworking, and data exchange among “things”.
Diagram elements: Sensors (e.g., XM1000, IEEE 802.15.4 radio), gateway, internet, servers.
CPS يركز على التكامل الوثيق والتحكم (غالباً زمن حقيقي)، بينما IoT يركز على الربط الشبكي وتبادل البيانات بين الأشياء.
🔌 Sensors (input) and Actuators (output)
Sensors types:
- Passive, omnidirectional (e.g., microphone).
- Passive, narrow‑beam (e.g., PIR motion sensor).
- Active sensors (e.g., sonar, radar).
Actuators: alter the environment – add light/heat/sound, control motors, display messages.
المستشعرات (Sensors): أنواع: سلبية شاملة (ميكروفون)، سلبية ضيقة (PIR)، نشطة (سونار).
المشغلات (Actuators): تغير المحيط – إضاءة، حرارة، صوت، تحريك محركات، عرض رسائل.
📦 Anatomy of a “Thing”
Four main parts: sensors & actuators, microcontroller, communication unit, power supply.
Properties:
- Battery‑powered → limited energy.
- Small size, low cost → limited computing capability.
- Doesn’t perform complicated tasks.
- Power consumption is the main design issue.
الأجزاء الرئيسية: مستشعرات/مشغلات، متحكم دقيق (microcontroller)، وحدة اتصال، مزود طاقة.
الخصائص: يعمل بالبطارية (طاقة محدودة)، صغير ورخيص (قدرة حوسبة محدودة)، لا يؤدي مهام معقدة، استهلاك الطاقة هو التحدي الأكبر.
📡 Communication in IoT
Role: data link between nodes.
Types: wired (copper, fiber) and wireless (RF, infrared).
Popular RF solutions:
- IEEE 802.15.4 (low‑power mesh)
- IEEE 802.11 (Wi‑Fi)
- Bluetooth
- Near Field Communication (NFC) – e.g., RFID
الاتصالات توفر رابط بيانات بين العقد. نوعان: سلكي (نحاس، ألياف بصرية) ولاسلكي (RF، تحت الحمراء). من أشهر تقنيات RF: IEEE 802.15.4، WiFi، بلوتوث، NFC.
🌐 Role of Networks
- Managing nodes (discovery, join, leave).
- Relaying packets from source to destination.
- Distributed system – all nodes perform networking tasks.
Examples of RF‑based multi‑hop networks:
- Wireless Sensor Networks (WSNs)
- Mobile Ad Hoc Networks (MANETs)
- Wireless Mesh Networks (WMNs)
- Vehicular Ad Hoc Networks (VANETs)
Main concern: reliability & performance.
مهام الشبكة: إدارة العقد (الاكتشاف، الانضمام، المغادرة)، ترحيل الحزم. شبكات لاسلكية متعددة القفزات مثل WSN, MANET, WMN, VANET. الاهتمام الرئيسي: الموثوقية والأداء.
🌍 Internet & Gateway role
The Internet serves as wide‑area networking for local networks. Things must support TCP/IP.
Gateway (sink): relays packets between the local network and the Internet.
الإنترنت توفر شبكة واسعة للشبكات المحلية. يجب أن تدعم الأشياء TCP/IP. البوابة (gateway) ترسل الحزم بين الشبكة المحلية والإنترنت.
⚠️ Major security issues
- Data breaches: large‑scale, long‑term distributed data – attackers sell/hoard personal info.
- Malware: CPS has tight time horizons; attackers have broad surfaces.
- Example: Jeep remote hijack (2015) – hacked via entertainment system.
خرق البيانات: بيانات موزعة ضخمة، يبيعها المهاجمون. برمجيات خبيثة: CPS لها قيود زمنية صارمة، المهاجمون يستغلون الأسطح الواسعة. مثال: اختراق جيب ريموت (Jeep) عام ٢٠١٥ عبر نظام الترفيه.
🔓 Top Ten Device Vulnerabilities (OWASP)
- Insecure Web Interface
- Insufficient Authentication/Authorization
- Insecure Network Services
- Lack of Transport Encryption
- Privacy Concerns (Data Collection)
- Insecure Cloud Interface
- Insecure Mobile Interface
- Insufficient Security Configuration
- Insecure Software/Firmware Updates
- Poor Physical Security
Trusting device end‑points is hard.
١- واجهة ويب غير آمنة، ٢- ضعف المصادقة/التفويض، ٣- خدمات شبكية غير آمنة، ٤- غياب تشفير النقل، ٥- مخاوف خصوصية، ٦- واجهة سحاب غير آمنة، ٧- واجهة موبايل غير آمنة، ٨- إعدادات أمنية غير كافية، ٩- تحديثات برامج/فرموير غير آمنة، ١٠- ضعف الأمن المادي. من الصعب الثقة بالأجهزة الطرفية.
📝 Practice Questions (detailed)
- Q1: Internet of Things (IoT) is best defined as:
A. A network of computers connected to the Internet
B. A network of physical objects embedded with sensors, actuators, software, and connectivity ✓
C. A cloud‑based computing platform only
D. A traditional wireless sensor network - Q2: In IoT, the term “things” refers to:
A. Only smartphones and laptops
B. Cloud servers
C. Physical devices with sensing and actuating capabilities ✓
D. Software applications - Q3: Which of the following is NOT a characteristic of IoT?
A. Interconnectivity
B. Heterogeneity
C. Dynamic changes
D. Static configuration ✓ - Q4: Which layer of IoT architecture contains servers and cloud‑based infrastructure?
A. Device Layer
B. Gateway Layer
C. Cloud Layer ✓
D. Sensor–Actuator Layer - Q5: The Gateway Layer in IoT architecture primarily:
A. Performs sensing and actuation
B. Acts as an intermediary between devices and the cloud ✓
C. Stores user data permanently
D. Replaces the Internet - Q6: Which communication technology is commonly used in IoT?
A. HDMI
B. IEEE 802.15.4 ✓
C. SATA
D. VGA
الإجابات: ١- ب (شبكة أشياء مادية مزودة بمستشعرات/مشغلات)، ٢- ج (أجهزة مادية)، ٣- د (التكوين الثابت ليس من الخصائص)، ٤- ج (طبقة السحاب)، ٥- ب (وسيط بين الأجهزة والسحاب)، ٦- ب (IEEE 802.15.4).
📌 Chapter 1 – Part 2: All points covered
- IoT definition: network of physical objects (sensors, actuators, connectivity) exchanging data with minimal human intervention.
- Characteristics: interconnectivity, heterogeneity, dynamic changes, scalability.
- IoT architecture layers: Cloud (servers), Gateway (intermediary), Device (things), Sensor‑Actuator (physical I/O). Fog/Edge: gateways close to user.
- Thing anatomy: sensors/actuators, microcontroller, communication, battery → constrained energy/compute.
- Communications: wired/wireless, popular RF: 802.15.4, WiFi, Bluetooth, NFC.
- Networks: multi‑hop (WSN, MANET, WMN, VANET). Internet + gateway required.
- Security problems: data breaches, malware (Jeep hack), OWASP Top Ten (insecure interfaces, lack of encryption, etc.).
- CPS vs IoT: CPS emphasises tight integration/control; IoT focuses on connectivity and data.
ملخص الجزء الثاني: تعريف IoT: شبكة أشياء مادية (مستشعرات، مشغلات، اتصالات) تتبادل البيانات. خصائصه: الترابط، التنوع، التغير الديناميكي، قابلية التوسع. الطبقات: سحاب، بوابة، أجهزة، استشعار/مشغلات. الشيء يتكون من: مستشعرات/مشغلات، متحكم دقيق، وحدة اتصال، بطارية. اتصالات لاسلكية: 802.15.4, WiFi, بلوتوث, NFC. شبكات متعددة القفزات. مشاكل أمنية: خرق البيانات، برمجيات خبيثة، مثال جيب، وأهم عشر ثغرات حسب OWASP.