Resilient End–Edge–Cloud Collaboration for Control Continuity and Closed-Loop Alarm Management in Solar Greenhouse IoT Systems Under Degraded Network Conditions
Abstract
1. Introduction
2. System Architecture and Problem Requirements
2.1. Scenario Model and System Architecture
2.2. Degraded Network Conditions and Interaction Requirements
3. Proposed End–Edge–Cloud Collaborative Control Mechanism
3.1. Network-State Determination and Control Authority Allocation
| Algorithm 1. Network-state determination and hysteresis-based switching. |
| Input: RTT, PLR, consecutive no-response duration, current communication state S(t), and recent observations used for the hysteresis check. Output: Updated communication state S(t + 1). 1. Sample RTT, PLR, and consecutive no-response duration through heartbeat messages. 2. Determine the candidate state S_c according to the thresholds in Table 1: 2.1. If any indicator satisfies the disconnected condition, set S_c = disconnected. 2.2. Else if any indicator satisfies the degraded condition, set S_c = degraded. 2.3. Else set S_c = online. 3. If S_c is worse than the current state S(t), immediately downgrade S(t + 1) to S_c. 4. If S_c is better than S(t), check whether the better state has been observed continuously and maintained for the required minimum duration. 5. If the hysteresis condition is satisfied, update S(t + 1) to S_c; otherwise, keep S(t + 1) = S(t). 6. If the system changes from disconnected to degraded or online, enter the recovery phase before normal cloud-side primary control is restored. 7. During the recovery phase, prioritize event backfill and cloud–edge consistency verification before control authority is handed back to the cloud. |
3.2. Disconnection Fault Tolerance: Edge Takeover and Local Buffering
3.3. Recovery After Reconnection: Data Backfill and Consistency Alignment
4. Proposed Alarm Closed-Loop Mechanism and Evaluation Setup
4.1. Alarm Closed-Loop Framework Under Degraded Network Conditions
4.2. Key Interaction Mechanisms
4.3. Materials and Methods: Simulation Setup and Evaluation Metrics
5. Results and Discussion
5.1. Recovery-Phase Backfill Performance
5.2. Control Continuity During Disconnection
5.3. Sensitivity to Edge-Takeover Delay
5.4. Alarm Closed-Loop Reliability
5.5. Supplementary Trace-Driven Recovery Evaluation
5.6. Ablation Analysis of Recovery Backfill
5.7. Security and Safety Considerations
5.8. Discussion
6. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Hosny, K.M.; El-Hady, W.M.; Samy, F.M. Technologies, Protocols, and Applications of Internet of Things in Greenhouse Farming: A Survey of Recent Advances. Inf. Process. Agric. 2025, 12, 91–111. [Google Scholar] [CrossRef]
- Zhang, M.; Yan, T.; Wang, W.; Jia, X.; Wang, J.; Klemeš, J.J. Energy-Saving Design and Control Strategy towards Modern Sustainable Greenhouse: A Review. Renew. Sustain. Energy Rev. 2022, 164, 112602. [Google Scholar] [CrossRef]
- Yu, P.; Teng, F.; Zhu, W.; Shen, C.; Chen, Z.; Song, J. Cloud–Edge–Device Collaborative Computing in Smart Agriculture: Architectures, Applications, and Future Perspectives. Front. Plant Sci. 2025, 16, 1668545. [Google Scholar] [CrossRef]
- Zhang, Y.; Yu, H.; Zhou, W.; Man, M. Application and Research of IoT Architecture for End-Net-Cloud Edge Computing. Electronics 2023, 12, 1. [Google Scholar] [CrossRef]
- Andriulo, F.C.; Fiore, M.; Mongiello, M.; Traversa, E.; Zizzo, V. Edge Computing and Cloud Computing for Internet of Things: A Review. Informatics 2024, 11, 71. [Google Scholar] [CrossRef]
- Fernando, N.; Shrestha, S.; Loke, S.W.; Lee, K. On Edge-Fog-Cloud Collaboration and Reaping Its Benefits: A Heterogeneous Multi-Tier Edge Computing Architecture. Future Internet 2025, 17, 22. [Google Scholar] [CrossRef]
- Ribeiro Junior, F.M.; Kamienski, C.A. Data Resilience System for Fog Computing. Comput. Netw. 2021, 195, 108218. [Google Scholar] [CrossRef]
- Jesus, B.; Lins, F.; Laranjeiro, N. An Approach to Assess Robustness of MQTT-Based IoT Systems. Internet Things 2025, 31, 101590. [Google Scholar] [CrossRef]
- Chen, W.-H.; You, F. Semiclosed Greenhouse Climate Control under Uncertainty via Machine Learning and Data-Driven Robust Model Predictive Control. IEEE Trans. Control Syst. Technol. 2022, 30, 1186–1197. [Google Scholar] [CrossRef]
- Chen, W.-H.; You, F. Smart Greenhouse Control under Harsh Climate Conditions Based on Data-Driven Robust Model Predictive Control with Principal Component Analysis and Kernel Density Estimation. J. Process Control 2021, 107, 103–113. [Google Scholar] [CrossRef]
- Iqbal, M.Z.; Islam, M.N.; Kabir, M.S.N.; Gulandaz, M.A.; Reza, M.N.; Jang, S.-H.; Chung, S.-O. Comparison of Heating Modules for Suspension-Type Multipoint Temperature Variability Management in Smart Greenhouses. Smart Agric. Technol. 2023, 5, 100296. [Google Scholar] [CrossRef]
- Zhang, L.; Liu, X.; Li, T.; Ji, J.; Zhao, L. A Microenvironment Prediction Model for Chinese Solar Greenhouses Based on the Bond Graph Approach. PLoS ONE 2022, 17, e0267481. [Google Scholar] [CrossRef]
- Ariesen-Verschuur, N.; Verdouw, C.; Tekinerdogan, B. Digital Twins in Greenhouse Horticulture: A Review. Comput. Electron. Agric. 2022, 199, 107183. [Google Scholar] [CrossRef]
- Kalyani, S.; Collier, R. A Systematic Survey on the Role of Cloud, Fog, and Edge Computing Combination in Smart Agriculture. Sensors 2021, 21, 5922. [Google Scholar] [CrossRef] [PubMed]
- Qureshi, R.; Mehboob, S.H.; Aamir, M. Sustainable Green Fog Computing for Smart Agriculture. Wirel. Pers. Commun. 2021, 121, 1379–1390. [Google Scholar] [CrossRef]
- Shi, H.; Li, Q. Edge Computing and the Internet of Things on Agricultural Green Productivity. J. Supercomput. 2022, 78, 14448–14470. [Google Scholar] [CrossRef]
- El Jarroudi, M.; Kouadio, L.; Delfosse, P.; Bock, C.H.; Mahlein, A.-K.; Fettweis, X.; Mercatoris, B.; Adams, F.; Lenné, J.M.; Hamdioui, S. Leveraging Edge Artificial Intelligence for Sustainable Agriculture. Nat. Sustain. 2024, 7, 846–854. [Google Scholar] [CrossRef]
- Chen, W.-H.; You, F. Decarbonization through Smart Energy Management: Climate Control in Building-Integrated Rooftop Greenhouses for Urban Agriculture across Various Climate Conditions. J. Clean. Prod. 2024, 458, 142544. [Google Scholar] [CrossRef]
- Chen, W.-H.; You, F. Sustainable Energy Management and Control for Decarbonization of Complex Multi-Zone Buildings with Renewable Solar and Geothermal Energies Using Machine Learning, Robust Optimization, and Predictive Control. Appl. Energy 2024, 372, 123802. [Google Scholar] [CrossRef]
- Zhou, J.; Shang, J.; Chen, T. Performance Analysis for Stochastic Anomaly Detectors with On/Off-Delay Timers. Automatica 2025, 173, 112073. [Google Scholar] [CrossRef]
- Ortiz, G.; Zouai, M.; Kazar, O.; García-de-Prado, A.; Boubeta-Puig, J. Atmosphere: Context and Situational-Aware Collaborative IoT Architecture for Edge–Fog–Cloud Computing. Comput. Stand. Interfaces 2022, 79, 103550. [Google Scholar] [CrossRef]
- Tian, J.; Jia, H.; Bai, W. CCECGP: Causal Consistency Model of Edge–Cloud Collaborative Based on Grouping Protocol. J. Supercomput. 2023, 79, 8401–8424. [Google Scholar] [CrossRef]
- Dui, H.; Wang, J.; Zhu, T.; Xing, L. Maintenance Optimization Methodology of Edge Cloud Collaborative Systems Based on a Gateway Cost Index in IIoT. Reliab. Eng. Syst. Saf. 2024, 251, 110370. [Google Scholar] [CrossRef]
- Tian, J.; Jia, H.; Bai, W. CCESHP: Causal Consistency Model of Edge Storage Based on Hash Ring and Partial Geo-Replication. Comput. J. 2023, 66, 2874–2886. [Google Scholar] [CrossRef]
- Zyrianoff, I.; Gigli, L.; Montori, F.; Sciullo, L.; Kamienski, C.; Di Felice, M. CACHE-IT: A Distributed Architecture for Proactive Edge Caching in Heterogeneous IoT Scenarios. Ad Hoc Netw. 2024, 156, 103413. [Google Scholar] [CrossRef]
- Tian, J.; Bai, W.; Jia, H. PGCE: A Distributed Storage Causal Consistency Model Based on Partial Geo-Replication and Cloud-Edge Collaboration Architecture. Comput. Netw. 2022, 212, 109065. [Google Scholar]
- Colarusso, C.; Falco, I.; Zimeo, E. Business Continuity of Cloud-Based IoT Applications through a Seamless Continuum. Internet Things 2025, 33, 101723. [Google Scholar] [CrossRef]
- Rao, H.R.M.; Zhou, B.; Brown, K.; Chen, T.; Shah, S.L. Alarm Correlation Analysis with Applications to Industrial Alarm Management. Control Eng. Pract. 2024, 143, 105812. [Google Scholar] [CrossRef]
- Rahaman, M.H.; Alinezhad, H.S.; Chen, T. Real-Time Classification and Early Warning of Industrial Alarm Floods Using Modified TF-IDF Methods. Control Eng. Pract. 2025, 164, 106485. [Google Scholar] [CrossRef]
- Yang, S.; Zhang, T.; Zhai, Y.; Wang, K.; Zhao, G.; Tu, Y.; Cheng, L. Frequent Alarm Pattern Mining of Industrial Alarm Flood Sequences by an Improved PrefixSpan Algorithm. Processes 2023, 11, 1169. [Google Scholar] [CrossRef]
- Gavrielides, A. DEDICAT6G-5G Testbed Measurements-CGB, Zenodo 2024, Version 1.0; CERN: Geneva, Switzerland, 2024. [CrossRef]










| State | Round-Trip Time (RTT) (s) | Packet Loss Rate (PLR) (%) | Consecutive No-Response Duration (s) | Interpretation |
|---|---|---|---|---|
| Online | ≤1 | ≤5 | ≤3 | Normal interaction performance |
| Degraded | 1–3 | 5–20 | 3–10 | Elevated latency and/or moderate packet loss, leading to unstable interactions |
| Disconnected | >3 or N/A | >20 or N/A | >10 | Link unavailable; local edge takeover is activated |
| Stage | Trigger or Condition | Control-Authority Action | Purpose or Explanation |
|---|---|---|---|
| Lease creation | The cloud sends configuration parameters or control commands with a validity period under online conditions. | The edge gateway accepts fresh and non-duplicated commands and stores the latest valid configuration. | Defines cloud-side primary control with edge-side execution. |
| Lease renewal or update | A newer, valid configuration or command is received before the current lease expires. | The edge gateway updates the stored configuration after freshness and duplicate checks. | Keeps the local configuration consistent with the latest cloud-side strategy when communication is available. |
| Degraded communication with a valid lease | The link is degraded, but the current lease remains valid. | The cloud remains the primary controller, while the edge gateway executes the latest valid configuration and buffers local records. | Avoids unnecessary control handover under temporary network degradation. |
| Lease expiry or disconnected state | The control lease expires, or the network state becomes disconnected, according to the state-determination rule. | Control authority shifts to the edge gateway, and the edge gateway executes fallback local control based on the latest valid configuration. | Prevents control interruption when the cloud becomes unreachable. |
| Recovery after reconnection | The link changes from disconnected to degraded or online. | Control authority is not returned to the cloud immediately. The edge gateway first reports high-priority event records and control-action summaries. | Reduces the risk of state inconsistency during recovery. |
| Consistency verification | High-priority event backfill is completed, and cloud–edge state consistency is checked. | The cloud and edge compare synchronized records and unresolved differential content. | Confirms whether the system state is sufficiently aligned before handback. |
| Handback to cloud-side primary control | Cloud–edge states are largely consistent, and a fresh, valid configuration or lease is available. | The system returns to the normal mode of cloud-side primary control with edge-side execution. | Restores normal collaboration after recovery without abrupt authority switching. |
| Trigger or Condition | Local-Control Rule | Constraint or Boundary | Purpose |
|---|---|---|---|
| Edge–cloud link enters the disconnected state and the cloud control lease expires | The edge gateway switches to fallback local control using the latest valid configuration. | No new global optimization strategy is generated at the edge side. | Maintain basic control execution when cloud commands are unavailable. |
| Sensor data are temporarily delayed or unavailable | The edge gateway uses the most recent valid sensor reading within the configured validity window; if the reading is invalid, the corresponding control update is skipped or limited. | Sensor values outside the validity window are not used for aggressive control adjustment. | Avoid abrupt actuator changes caused by missing or stale sensor data. |
| Environmental variable exceeds the acceptable range | The edge gateway applies bounded corrective actions according to the latest valid control parameters. | The adjustment step is limited by the configured maximum step size. | Reduce temperature drift while avoiding excessive actuator changes. |
| Actuator feedback is delayed or abnormal | The edge gateway limits further control changes for the affected actuator and records the abnormal state locally. | The mechanism does not infer actuator health beyond the configured abnormality condition. | Avoid repeated or conflicting actuator commands during disconnection. |
| High-priority event or alarm is generated during disconnection | The event record is stored locally with occurrence time, source, and current state information. | The record is prioritized for recovery backfill after reconnection. | Preserve event traceability for later cloud–edge state alignment. |
| Link recovers from the disconnected state | The edge gateway keeps fallback control active during recovery until high-priority records are backfilled and state consistency is checked. | Cloud-side primary control is restored only after recovery verification and a fresh, valid configuration is available. | Avoid abrupt handback and reduce cloud–edge state inconsistency. |
| Scheme | Included Mechanisms | Excluded Mechanisms | Purpose |
|---|---|---|---|
| Cloud-centric baseline | Cloud-side control and direct cloud–edge communication | Edge takeover, control lease, fallback local control, event-prioritized differential backfill, and local alarm-state persistence | Main baseline used to represent cloud-dependent operation under degraded communication |
| Proposed scheme | Control lease, edge takeover, fallback local control, event-prioritized differential backfill, and alarm-state persistence | None of the listed core mechanisms is excluded | Integrated mechanism evaluated against the cloud-centric baseline in the scripted simulations and the supplementary trace-driven recovery evaluation |
| Parameter Category | Parameter | Value/Setting | Description |
|---|---|---|---|
| Network-disturbance script | Total simulation duration | 240 s | Total simulation time |
| Network-disturbance script | Time step | 1 s | Discrete simulation interval |
| Network-disturbance script | Stage division | Online: 0–60 s; degraded: 60–120 s; disconnected: 120–180 s; recovery: 180–240 s | Scripted degraded-network disturbance profile |
| Network-state determination | RTT thresholds | Degraded: 1 s; disconnected: 3 s | Consistent with Table 1 |
| Control parameters | Target temperature | 25 °C | Greenhouse temperature-control target |
| Control parameters | Safe range | 22–28 °C | Target temperature ± 3 °C |
| Control parameters | Cloud/edge control gains | 0.08/0.10 | Cloud-side primary control and edge takeover |
| Control parameters | Actuator lag coefficient/maximum adjustment step | 0.20/0.08 | Dynamic-response constraints |
| Control parameters | Edge-takeover delay | 6 s | Default setting for Figure 7 |
| Sensitivity analysis | Takeover-delay levels | 4 s, 6 s, 8 s, and 10 s | Settings for Figure 8 |
| Recovery backfill | Baseline backfill budget | min (2.8, 0.30 + 0.22 × backlog) | Burst backfill strategy |
| Recovery backfill | Proposed-scheme backfill budget | High-priority events: 0.20 MB; total budget cap: 0.70 MB | Event prioritization and hierarchical rate limiting |
| Recovery backfill | Edge-buffering ablation budget | Total budget cap: 0.70 MB; single shared queue | Rate-limited recovery backfill without event prioritization |
| Alarm simulation | PLR range | 0–30%, increment 5% | Settings for Figure 9a |
| Alarm simulation | ACK experiment scale | 20 repeated trials, 200 alarms per trial | Figure 9a |
| Alarm simulation | Delay-CDF experiment scale | 20 repeated trials, 1000 events per trial | Figure 9b |
| Alarm simulation | Local persistence failure probability/maximum retransmission attempts | 0.02/3 | Alarm recovery-backfill mechanism |
| Alarm simulation | Additional backfill delay | 0.6–8.0 s | Retransmission of disconnection-period events after recovery |
| Recovery Setting | Scheme | Peak Backfill Throughput (MB/s) | Total Synchronization Time (s) | High-Priority Event Completion Time (s) |
|---|---|---|---|---|
| Scripted recovery profile | Cloud-centric baseline | 2.16 ± 0.06 | 19.90 ± 1.70 | 17.25 ± 2.68 |
| Scripted recovery profile | Proposed scheme | 0.69 ± 0.01 | 14.50 ± 0.97 | 1.95 ± 0.67 |
| Trace-driven recovery profile | Cloud-centric baseline | 2.32 ± 0.25 | 22.75 ± 3.21 | 20.45 ± 3.22 |
| Trace-driven recovery profile | Proposed scheme | 0.76 ± 0.09 | 14.90 ± 1.04 | 2.35 ± 0.57 |
| Scheme | Peak Backfill Throughput (MB/s) | Total Synchronization Time (s) | High-Priority Event Completion Time (s) |
|---|---|---|---|
| Cloud-centric baseline | 2.16 ± 0.06 | 19.90 ± 1.70 | 17.25 ± 2.68 |
| Edge buffering without event prioritization | 0.694 ± 0.005 | 14.85 ± 0.73 | 13.90 ± 0.70 |
| Proposed scheme | 0.69 ± 0.01 | 14.50 ± 0.97 | 1.95 ± 0.67 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Bi, H.; Zhang, Y.; Jiang, J.; Guan, T. Resilient End–Edge–Cloud Collaboration for Control Continuity and Closed-Loop Alarm Management in Solar Greenhouse IoT Systems Under Degraded Network Conditions. Appl. Sci. 2026, 16, 5191. https://doi.org/10.3390/app16115191
Bi H, Zhang Y, Jiang J, Guan T. Resilient End–Edge–Cloud Collaboration for Control Continuity and Closed-Loop Alarm Management in Solar Greenhouse IoT Systems Under Degraded Network Conditions. Applied Sciences. 2026; 16(11):5191. https://doi.org/10.3390/app16115191
Chicago/Turabian StyleBi, Hongdan, Ying Zhang, Jinan Jiang, and Tianwei Guan. 2026. "Resilient End–Edge–Cloud Collaboration for Control Continuity and Closed-Loop Alarm Management in Solar Greenhouse IoT Systems Under Degraded Network Conditions" Applied Sciences 16, no. 11: 5191. https://doi.org/10.3390/app16115191
APA StyleBi, H., Zhang, Y., Jiang, J., & Guan, T. (2026). Resilient End–Edge–Cloud Collaboration for Control Continuity and Closed-Loop Alarm Management in Solar Greenhouse IoT Systems Under Degraded Network Conditions. Applied Sciences, 16(11), 5191. https://doi.org/10.3390/app16115191
