scieee AI-readable full text Open interactive document viewer

Secure-fault-tolerant efficient industrial internet of healthcare things framework based on digital twin federated fog-cloud networks

Lakhan, Abdullah

Abstract

The Industrial Internet of Healthcare Things (IIoHT) is the emerging paradigm in digital healthcare. Context-aware healthcare sensors, local intelligent watches, healthcare devices, wireless communication technologies, fog, and cloud computing are all parts of the IIoHT used in healthcare. The ubiquitous healthcare services it provides to its users in practice. However, the current IIoHT healthcare frameworks have security and failure issues in mobile fog and cloud networks where they are spread out. This paper presents the secure, fault-tolerant IIoHT Framework based on digital twin (DT) federated learning-enabled fog-cloud models. The DT is an effective technology that makes virtual copies of servers at different locations. DT integrated with federated learning inside the fog and cloud environments, where the failure of tasks and execution improved for healthcare sensor data. The study aims to reduce processing time and the risk of task failure. The study presents the Secure and Fault-Tolerant Strategies (SFTS)-enabled IIoHT framework that optimizes wearable sensor data and executes it with the minimum offloading and processing delays. Simulation results show that the proposed work minimized the security risk by 40%, failure risk of tasks risk by 50%, and the training and testing time by 39% for sensor data during the execution of mobile fog cloud networks.

Full text

Secure-fault-tolerant efficient industrial internet of healthcare things framework based on digital twin federated fog-cloud networks Abdullah Lakhan a,f,g , Ali Azawii Abdul Lateef b,i , Mohd Khanapi Abd Ghani c , Karrar Hameed Abdulkareem d , Mazin Abed Mohammed e,f,g, ⇑ , Jan Nedoma f , Radek Martinek g , Begoña Garcia-Zapirain h a Department of Computer Science and Cybersecurity, Dawood University of Engineering and Technology, Karachi, Pakistan b Human Resources Department, University Headquarter, University of Anbar, Ramadi 31001, Anbar, Iraq c Biomedical Computing and Engineering Technologies (BIOCORE) Applied Research Group, Faculty of Information and Communication Technology, Universiti Teknikal Malaysia Melaka, Durian Tunggal 76100, Malaysia d College of Agriculture, Al-Muthanna University, Samawah 66001, Iraq e College of Computer Science and Information Technology, University of Anbar, Ramadi 31001, Anbar, Iraq f Department of Telecommunications, VSB-Technical University of Ostrava, Ostrava, Czech Republic g Department of Cybernetics and Biomedical Engineering, VSB-Technical University of Ostrava, Ostrava, Czech Republic h eVIDA Lab, University of Deusto, 48007 Bilbao, Spain i Deprament of administrative and financial affairs, University Headquarter, University of Anbar, Ramadi, 31001, Anbar, Iraq article info Article history: Received 29 March 2023 Revised 4 September 2023 Accepted 6 September 2023 Available online 14 September 2023 Keywords: IoHT Fault-tolerant Digital twin Industry 5.0 Blockchain SFTS Fog-cloud networks CNN abstract The Industrial Internet of Healthcare Things (IIoHT) is the emerging paradigm in digital healthcare. Context-aware healthcare sensors, local intelligent watches, healthcare devices, wireless communication technologies, fog, and cloud computing are all parts of the IIoHT used in healthcare. The ubiquitous healthcare services it provides to its users in practice. However, the current IIoHT healthcare frameworks have security and failure issues in mobile fog and cloud networks where they are spread out. This paper presents the secure, fault-tolerant IIoHT Framework based on digital twin (DT) federated learningenabled fog-cloud models. The DT is an effective technology that makes virtual copies of servers at different locations. DT integrated with federated learning inside the fog and cloud environments, where the failure of tasks and execution improved for healthcare sensor data. The study aims to reduce processing time and the risk of task failure. The study presents the Secure and Fault-Tolerant Strategies (SFTS)- enabled IIoHT framework that optimizes wearable sensor data and executes it with the minimum offloading and processing delays. Simulation results show that the proposed work minimized the security risk by 40%, failure risk of tasks risk by 50%, and the training and testing time by 39% for sensor data during the execution of mobile fog cloud networks. Ó2023 The Author(s). Published by Elsevier B.V. on behalf of King Saud University. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). 1. Introduction The industrial Internet of Things (IIoT) is a revolutionary paradigm to improve digital productivity in different businesses (e.g., healthcare, manufacturing, and transport) (Lv, 2023). It started with Industry 1.0, which optimized the steam of engine machines. Industry 2.0 has a lot of optimization in distributed electricity in smart cities (Rashid et al., 2022). Industry 3.0 determined the optimal information about ages with depth transformation into results. Industry 4.0 is about automation and intelligence; many static and dynamic systems have been transformed into automation. Initiated by the European Union in 2021, the revolutionary paradigm is known as Industrial 5.0. The objective is to connect wearable and industrial devices with distributed artificial intelligencebased services (Leng et al., 2022). Cloud computing is a remote serhttps://doi.org/10.1016/j.jksuci.2023.101747 1319-1578/Ó2023 The Author(s). Published by Elsevier B.V. on behalf of King Saud University. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). ⇑ Corresponding author at: College of Computer Science and Information Technology, University of Anbar, Ramadi 31001, Anbar, Iraq. E-mail addresses: [email protected] (A. Lakhan), aliazawii@uoanbar. edu.iq (A.A. Abdul Lateef), [email protected] (M.K. Abd Ghani), Khak9784@mu. edu.iq (K.H. Abdulkareem), [email protected] (M.A. Mohammed), [email protected] (J. Nedoma), [email protected] (R. Martinek), mbgarcia- [email protected] (B. Garcia-Zapirain). Peer review under responsibility of King Saud University. Production and hosting by Elsevier Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 Contents lists available at ScienceDirect Journal of King Saud University – Computer and Information Sciences journal homepage: www.sciencedirect.com vice provider corporation where different providers offer services to the 5.0 industry-enabled industries for execution (Leong et al., 2021). Many technological developments in healthcare sectors based on 5.0 with cloud computing have recently been seen and implemented in different clinics. Cloud computing offers virtual services to the 5.0 industrial Internet of Healthcare Things (IIoHT), the version of IIoT where remote healthcare monitoring improves the quality of life (Chi et al., 2022). Modern Artificial Intelligence (AI) and machine learning algorithms have a lot of impact in Industry 5.0 to make the healthcare application (e.g., IoT Covid-19) with full automation through different training and testing phases (Konigsburg, 2022; Salman and Geman, 2023). IIoHT is a collection of healthcare sensors equipped with human bodies that monitor rates in real-time. Cloud computing outsources healthcare services at different layers. For instance, fog computing is the cloud paradigm that brings cloud services to the healthcare radio network layer with minimum end-to-end latency (Khoso et al., 2021). The real-time monitoring and huge amount of data generated by sensors with increased users lead to challenges in the IIoHT system for processing. Furthermore, many challenges exist in industrial 5.0-aware IIoHT for healthcare industries, such as resource constraints, failure of nodes, and security, along with the quality of service requirements of applications (Younan et al., 2020). The digital twin (DT) is an emerging technology offering different physical server replicas through virtualization (Khan et al., 2022; Elayan et al., 2021; Ghita et al., 2020). DT technology has made many contributions to industry-5.0-enabled healthcare technologies. For instance, DT offers components, infrastructure, and resource replicas to the same and different nodes. The goal is to handle vast healthcare sensor requests on other healthcare servers (Volkov et al., 2021; Haleem et al., 2023). The DT reduces the resource constraints issue of healthcare sensors and servers with the virtual replica at various locations. However, security is a critical issue in DT technologies. Blockchain is decentralized, where all autonomous physical and virtual entities can transfer data with validity and transparency (Azzaoui et al., 2021; Jimenez et al., 2020; Akash and Ferdous, 2022; el Azzaoui et al., 2020; Zhang et al., 2020). Blockchain schemes can validate data transactions among physical and virtual servers during their execution without showing abstraction to the users. However, blockchain technology requires a considerable amount of resources for transactions. Therefore, transaction and node failures are common in blockchain-based DT for healthcare applications. The faulttolerant, efficient DT technologies presented by these studies (Nguyen et al., 2022; Darvishi et al., 2021; Alshathri et al., 2023). However, these techniques did not consider security aspects. Therefore, the fog cloud network has no digital twin-enabled IIoHT system.(i) Due to a distributed system, the failure of resources leads to the failure of healthcare tasks. It is a necessary process. Therefore, fault-tolerant resources must be part of the IoT healthcare system to process the sensory data without failure. (ii) Many things can go awry with resource failure nodes, such as missing deadlines, critical tasks not doing their jobs, and not getting the best results needed. (iii) The sensory data is the challenging component of the IoT-enabled healthcare system, where processing centralized server nodes on big sensory data takes much time for execution. (iv) Resource-efficient security is most important when fog nodes have limited resources at the radio network for processing with minimum end-to-end delays. In this paper, we are considering the following research questions: (i) Due to a distributed system, resource failure in hospital nodes leads to the complete failure of critical healthcare tasks. Existing DT failure strategies (Nguyen et al., 2022; Darvishi et al., 2021; Alshathri et al., 2023) only focused on replica failure. However, it is not beneficial for large systems like distributed healthcare with many sensors. (ii) Existing DT-enabled healthcare systems did not combine security and fault tolerance. Therefore, there must be a balance between security and failure of tasks and nodes in the DT-enabled healthcare system. This paper presents the secure, fault-tolerant Industrial Internet of Healthcare Things (IIoHT) system based on digital twin federated fog-cloud models. The study aims to reduce the time needed to process healthcare sensor data for security, task execution, and fault tolerance while using less resources. The paper has the following contributions to the research questions, including federated learning and digital twin technology. The study integrated the fog and cloud nodes based on digital twin technology, where all local nodes at different laboratories have replica copies of trained data and processing capability in the same runtime environment. We integrated the different kinds of healthcare sensors in the human body. We connected them with mobile devices, such as ECG lead-1 and lead-2 sensors, wristwatches (temperature and jogging sensors), and ankle magnetometer sensors. Each sensor can generate real-time data and offload it to the proximity laboratories for processing. The proposed SFTS is more efficient regarding security, faulttolerant, and resource scalability. We integrated the federated learning scheme, where training and testing are determined based on a convolutional neural network (CNN). The aggregated node executes all tasks based on their given constraints. The paper consists of the following parts. The goals of the previous studies for IoT healthcare in fog cloud models were discussed in the related work. The problem architecture shows all components of the architecture. The proposed algorithm part shows how to solve the problem in different steps. The experimental part shows the simulation configuration and simulation results. In conclusion, the results and future direction of the work were looked at in light of the new limits. 2. Related work Digital twin technology in IIoHT systems has achieved many achievements in the healthcare domain. Different healthcare applications, such as disease prediction, secure data offloading, mobile medicine, and IoT healthcare, are widely integrated with DT technology. Further studies solved the different healthcare issues with additional constraints, as shown in Table 1. These studies (Lv, 2023; Leng et al., 2022; Leong et al., 2021; Chi et al., 2022; Khoso et al., 2021; Younan et al., 2020) discussed Industry 5.0, a new information technology revolution that transforms traditional healthcare applications, architectures, and systems into digital and automated forms. In Industry 5.0, many emerging technologies, such as DT, edge computing, machine learning, cloud computing, and blockchain technologies, are integrated with healthcare to make it more robust and efficient. However, these studies only discussed DT’s information flow and advantages with Industry 5.0 for healthcare. Therefore, methods and systems are to be developed based on the given prototypes in these studies. This study (Khan et al., 2022) suggested DT-enabled fog cloud solutions for different industry applications. For instance, healthcare in intelligent cities, pharmaceutical medicine supply chains, etc. In detail, this paper discussed machine learning, edge computing, and IoT healthcare sensor-enabled DT industry architectures and resource replicas. Different offloading and resource allocation (RA) strategies based on machine learning for edge and cloud computing are listed with their constraints. However, this work is more A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 2 general. So far, security, fault tolerance, and other issues will be solved in the discussed solutions. A healthcare DT-enabled context-aware IoT fog cloud solution has been suggested by this study (Elayan et al., 2021). For prediction, the electrocardiogram (ECG) non-invasive technology data was offloaded to proximity clinical servers. The healthcare clinics are integrated with the digital twins, where homogeneous nodes can share their data assets and virtual server copies. However, this work only focused on limited IoT data services with fixed nodes for healthcare contexts. To improve the efficiency of IoT healthcare context-aware DT, a distributed intelligent geospatial system based on cloud services is suggested in Ghita et al. (2020). This system offered distributed context-aware IoT healthcare services based on cloud computing. There is no issue of resource scalability in the work. However, due to the many users of this technology, the storage and processing costs become higher for the service providers. Security scarcity is also a challenging task for this technology. However, prior studies focused on the context of IoT healthcare services, where data is offloaded based on non-invasive ECG sensors to cloud computing. For the offloaded data, the mobile medicine system based on DT is introduced in these studies (Volkov et al., 2021; Haleem et al., 2023). This work combined different pharmaceutical companies and collected the server data assets. However, the work could be more secure and fault-tolerant. During simulation results, failure of tasks during offloading and scheduling was seen. However, these studies (Azzaoui et al., 2021; Jimenez et al., 2020; Akash and Ferdous, 2022; el Azzaoui et al., 2020; Zhang et al., 2020) suggested blockchain and secure algorithmbased solutions solve the security limitations of prior studies in DT IoT healthcare. Public blockchain technology (Azzaoui et al., 2021) implemented with the DT, where different blocks can share virtual data assets. The main advantage is that the transactional nodes do not need to process and validate previous transactions to avoid delays and resource consumption in fog cloud networks. However, public blockchain technology with DT shares data with homogeneous nodes. Therefore, it cannot be used with heterogeneous nodes in IoT healthcare domains. The IoT healthcare cyberspace (Jimenez et al., 2020; Akash and Ferdous, 2022; el Azzaoui et al., 2020; Zhang et al., 2020), such as the cyber-physical system, is integrated with digital twin technology. DT integrated with mobile and fog cloud networks, securely sharing different data types. These studies (Nguyen et al., 2022; Darvishi et al., 2021; Alshathri et al., 2023) suggested DT-enabled fault-tolerant techniques such as primary backup and checkpointing on fog and cloud networks for IoT healthcare applications. These studies focused on the compile time failure of services, tasks, resources, and scheduling for the assigned tasks to the fog and cloud networks. The primary backup is integrated into the different fog and cloud networks as virtual servers, where task checkpointing techniques are implemented. These studies (Rieke et al., 2020; Xu et al., 2021) federated learning enabled solutions for distributed healthcare systems. However, the proposed frameworks only support fixed nodes and incur the resource failure of nodes during training and testing in networks. To the best of our knowledge, SFTS-enabled IIoHT is the new solution. The main reason is that the existing security mechanisms provided by these studies (Azzaoui et al., 2021; Jimenez et al., 2020; Akash and Ferdous, 2022; el Azzaoui et al., 2020; Zhang et al., 2020) in digital twin-enabled fog cloud are only supported on rich resource nodes. Therefore, mobile devices can not integrate those models. The existing digital twin enabled IIoHT considered the homogeneous environment for data replication and execution. However, in our case, we have different fog and cloud nodes. Therefore, federated learning-enabled security and privacy are the new contributions to DT-enabled IIoHT in mobile fog cloud networks. 3. Proposed IIoHT framework The study presents an IIoHT framework based on digital twin and federated fog-cloud models, as Fig. 1 illustrates. As shown in Fig. 1, we can call architecture to the proposed framework. We designed the framework based on two core technologies: federated learning and DT. Federated learning allows different hospitals to train, validate, and securely share their private data. The digital twin is the backbone of the system. Heterogeneous copies of servers offer the same services, like storage, resources, and runtime environments for executing programs. So, our goal is to process healthcare sensor data in the shortest amount of time while remaining secure and efficient. The proposed SFTS consisted of different schemes such as fault-tolerant, security, local processing, offloading convolutional neural networks (CNN), and aggregated methods. The healthcare sensor could be abnormal, so the system could not be slow or fail during a patient’s critical condition. The study implemented different healthcare sensors and monitored their healthcare during daily activities. Wearable sensors such as ECG (lead-I and lead-II), wrist-watches, and ankle sensors generate data for mobile devices. Furthermore, mobile devices offload sensory data to nearby hospitals for processing. The healthcare tasks are mobile healthcare functions and monitoring and offloading the sensory data for some purpose. We monitored that each user or subject performed different daily activities at different intervals. We monitor the users’ healthcare based on the generated data from sensors to the system. All these sensors are connected to the hospitals via different communication channels, such as wireless and mobile networks. We implemented two main technologies, digital twin and federated learning, in the distributed fog cloud networks. All the local servers of the hospitals are implemented at the radio network, and the centralized cloud is located at the infrastructure level. We trained and validated offloaded data models at the local hospital networks based on machine learning training models and integrated their weights Table 1 Existing IIoHT frameworks based on digital twin. Study Proposed Indus.App. Gap Analysis (Khan et al., 2022)2022 DT-Industries. IoT-Health Resource Replica (Elayan et al., 2021; Ghita et al., 2020)2021 DT-Context-Algo. IoT-Health Resource Scalability (Volkov et al., 2021)2021 DT-Mobile IoT Medicine Resource Scarcity (Haleem et al., 2023)2021 DT-Healthcare IoT Health Feature and Service (Azzaoui et al., 2021; Jimenez et al., 2020; Akash and Ferdous, 2022; el Azzaoui et al., 2020; Zhang et al., 2020)2021 DT-Blockchain,Security IoT Health PoW,Methods (Nguyen et al., 2022; Darvishi et al., 2021; Alshathri et al., 2023)2020–2022 DT-Fault-Detection IoT Health Backup,Checkpointing (Rieke et al., 2020; Xu et al., 2021)2020–2021 Federated IoT Health Training Proposed Work DT-Federated Constraints IoT Health Fault,Security,RA A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 3 based on federated learning. All the local fog servers are assumed to be the main server’s digital twin. The goal is to control security issues, failure issues, and delay issues during the processing of sensory tasks based on given constraints. Table 2 shows the notations and abbreviations of different terms and mathematical models. We consider the Dnumber of sensor data with the different number of features F. The features of the data dare f1 temperature, f2 ECG signal, f3 heartbeat speed, f4 blood pressure, f5 ankle direction, and others. Therefore, we formulated them in the following way. The study considers the Tnumber of tasks. Each task t consisted of data dand features F, deadline d t , processing status t s as green annotation shown in Fig. 1 All the healthcare tasks are performed on the user or subject devices as well as fog and cloud nodes. It depends upon the availability of computing resources. Before offloading, we consider the Mnumber of mobile devices. Each mobile mhas processing and computing capability represented by  m and f m . The study considered the Snumber of healthcare cloud servers and DT number of digital-twin-enabled fog nodes implemented at the radio networks. All the users or subjects can access any server, whether it is a centralized federated cloud or digital-twin-enabled local fog nodes for the services. All the digital-twin-enabled fog nodes and federated cloud servers Fig. 1. Secure-fault-tolerant efficient industrial internet of healthcare things framework based on digital twin federated fog-cloud networks. Table 2 Abbreviations & notations and description. Notations and Abbreviations Description IoT Internet of Things IIoT Industrial Internet of Things IIoHT Industrial Internet of Healthcare Things IoHT Internet of Healthcare Things RA Resource Allocation DT Digital Twin ECG electrocardiogram Mob-Healthcare Mobile Healthcare FL Federated Learning DNumber of sensor data FNumber of features d;fParticular data and feature TTotal number of tasks MNumber of mobile devices t;mParticular mobile device and task  m ;f m Mobile resource and speed SNumber of healthcare cloud servers DT Digital twin number of fog servers dt;sParticular fog node and cloud server  dt ;f dt fog cloud resource and speed  s ;f s Cloud server resource and speed A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 4 are homogeneous in execution runtime. However, they are heterogeneous in resource capability. Therefore, each federated resource has  s resource capability and f s computing speed capability. Similarly, all fog nodes have  dt and f dt computing resource and speed, respectively. We designed the mathematical model based on the assignment problem on mobile fog cloud networks. We determined the local sensory processing time of tasks as follows. L e t ¼X M m¼1 X T t¼1 X D d¼1 d f m þEncryption:ð1Þ Eq. (1) designed based on mobile fog cloud assignment problem (Daigneault and St-Hilaire, 2021). Eq. (1) analyzes and monitors sensory data’s local processing time for specific tasks on mobile devices. In this equation, L e t represents the execution time of all tasks, where Lis the variable that stores the execution time of all tasks. Furthermore, the inclusion of t2Tindicates that all tasks, from start to end, should be executed after assigning them to their respective computing nodes. The variable esignifies the execution of all tasks on different computing nodes. All the tasks are encrypted before offloading to any server for processing. Therefore, the variable Encryption determines the encryption and decryption of all tasks among different computing nodes. The offloading transmission time of the sensory data is calculated as below. C e t ¼X M m¼1 X T t¼1 X D d¼1 d upload þd download :ð2Þ Eq. (2) determines communication offloading where tasks are offloaded from local devices to computing nodes. We designed this Eq. (2) based on communication offloading based on the same network rule (Kim, 2020). Eq. (2) determines the data’s pre-determined upload and download transmission times before and after processing. On the other hand, C e t represents the offloading and downloading of task data from local sensors to the computing servers for processing. The variable Cholds the communication time of all tasks from local sensors to computing servers during offloading and downloading results. Furthermore, the inclusion of t2Tindicates that all tasks, from start to end, offload their data and download their results from the servers. The scheduling time on the cloud servers is determined as follows. Cloud e t ¼X S s¼1 X T t¼1 X D d¼1 d f s þEncryption ð3Þ We designed Eq. (3) based on cloud scheduling on different computing servers (Panda et al., 2022). Eq. (3) analyzed and monitored the cloud processing time of sensory data for particular tasks. The variable, e.g., Cloud e t determines the execution time of all tasks on cloud computing. The digital-twin-enabled nodes have the following processing time for all tasks. Furthermore, the variable of t2T indicates that all tasks, from start to end, are executed on the cloud servers. All the tasks must be decrypted before starting any processing. Therefore, the variable Encryption determines the encryption and decryption of all tasks among different computing nodes. However, after execution, all tasks must be encrypted to share another cloud server for storage. We scheduled all offloaded tasks on digital-twin-enabled fog cloud networks, designed based on digital twin fog cloud rules (Alaasam et al., 2020). We determined the processing time based on twin digital twin fog servers in our work and defined it in the following way. F e t ¼X DT dt¼1 X S s¼1 X T t¼1 X D d¼1 d f d tþEncryption:ð4Þ Eq. (4) is designed based on digital twin fog cloud rules (Alaasam et al., 2020). Eq. (4) aims to determine digital twin fog nodes processing time of offloaded sensory data for particular tasks. We implemented the digital twin mechanism of the fog nodes, where F e t shows that all tasks are executed on digital-twin-enabled fog nodes. All the fog nodes are represented by d2D, and the variable of t2Tindicates that all tasks, from start to end, are executed on the fog nodes from the scheduler. To present a federated learning approach, we consider the different heterogeneous nodes for data sharing and execution in our work. All the tasks must be decrypted before starting any processing. Therefore, the variable Encryption determines the encryption and decryption of all tasks among different computing nodes. However, after execution, all tasks must be encrypted to share another fog server for storage. Therefore, we maintain the data security of tasks on different is determined in the following way. Encryption ¼X M m¼1 X D d¼1 Encðd;AES;publickeyÞþDecðEnc d;pri v atekeyÞ:ð5Þ Eq. (5) designed based on advanced encryption standard security rule (Dharangan et al., 2022). Eq. (5) determines the encryption and decryption of all task data on different nodes. For example, each node encrypts task data based on a public key using the Advanced Encryption Standard (AES) (Dharangan et al., 2022). Then, the nodes decrypt the task data using a private key. We implemented AES-256 with multiple rounds and specific characteristics such as round substitution and column replacement. This equation, for instance, Encryption ¼P D d¼1 Encðd;AES;publickeyÞþDecðEnc d;privatekeyÞ, illustrates that all nodes must encrypt and decrypt the data during sharing and execution in the network. Overall, we determined the total processing time of tasks based on minimization optimization enabled on mobile fog cloud rule (Lakhan et al., 2022). min Total ¼L e t þC e t þCloud e t þF e t :ð6Þ Eq. (6) is designed based on the mobile fog cloud scheduling rule with the minimization objective with the constraints (Lakhan et al., 2022). Eq. (6) determines the total time of all tasks on different nodes with different features. We denoted the total time as variable Total and determined the execution time with the unit minutes. The variable Total is an array that stores the execution time on the cloud, the communication time during offloading and downloading, and the processing time on fog nodes for all tasks. We calculate the total time using the equation Total ¼L e t þC e t þCloud e t þF e t . Therefore, individual times impact the total processing time in our architecture. 4. Proposed SFTS algorithm methodology The study presents the SFTS algorithm methodology, which consists of different sub-schemes. The process flow of these subschemes has different connections, as shown in Fig. 2. The SFTS algorithm starts with all parameter constraints such as M;DT;D;S;T. The distinct parameters have already been explained in Table 2. The local processing scheme initiates the healthcare application tasks on local devices. All the sensors are connected to mobile devices, so the sensor data is generated only on local machines. Each local server encrypts the data before offloading and receives decryption results from the digital-twin-enabled fog and cloud servers. Offloading is a communication scheme that transfers generated data from local mobile devices to available fog nodes for further processing. We train the generated data on fog nodes based on data, resources, computation time, and deadline. We apply Convolutional Neural Networks (CNN) to the local training data, and federated learning (Rieke et al., 2020) integrates the local training data into the aggregated node for final results. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 5 The security and fault-tolerant schemes are centralized and connect all nodes, enabling them to acknowledge each other about security issues in the IIoHT framework. Security and fault tolerance are the key challenges in the IIoHT healthcare architecture. Therefore, the study proposed the SFTS framework that consists of different sub-schemes. SFTS framework consisted of different schemes as shown in Algorithm 1. Algorithm 1. SFTS Algorithm Framework Different levels exist in Algorithm 1 for generating and processing sensors based on their constraints. Level 1 is the scheme where sensor data are processed based on available resources and offloaded to the available fog and cloud nodes. Level 2 is the communication channel that transmits the data without security and failure issues. Level 3 local federated learning training and testing models. Level 4 is the aggregated node processing. Level 5 handles the fault-tolerant mechanism of the study. We defined the all steps of Algorithm 1, where the flow starts from local processing to fog and cloud nodes in the following way. The local processing scheme performs based on Eq. (1). All the local nodes are sources of data generation. To ensure security and privacy, all the task data is encrypted before being sent to the fog and cloud servers for processing, as shown in Level 1. Offloading is the mechanism where the algorithm checks if the communication network and computing resources are available; it allows local devices to offload data to the servers. This algorithm’s main efficiency is providing a seamless environment when all the network’s communication channels and computing node resources are available. In Level 3, all the tasks are offloaded to available fog nodes for processing. The fog nodes are integrated with the digital twin, where resources, task updates, and execution status training and testing are shared with the cloud nodes for aggregation. The main efficiency of the digital twin is its ability to enable fog nodes to provide resource availability at the edge layer. These fog nodes act as replicas of cloud computing servers, having the same runtime environment and interoperability within the network. The aggregation takes place in the cloud computing nodes, as shown in level 4, where all fog nodes share their task execution status and resources and store the final results of the tasks. This sharing is done to achieve resource scalability. We devised an aggregation mechanism based on vertical federated learning, where all the fog nodes share metrics such as resources, task status, failure annotations, and trained and tested execution models with the cloud computing servers. This sharing aims to further optimize and improve the nodes’ efficiency for all tasks. Fig. 2. Proposed algorithm flow diagram. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 6 The fault-tolerant scheme, as shown in Level-5, is an important component implemented on all nodes. The main objective of fault tolerance is to minimize the risk of task failures. It involves training and rescheduling all failed tasks on available computing resources within the given task deadline. 4.1. Local processing sensory data All the local healthcare sensor data are generated by the different sensors and connected to mobile devices. The local mobile devices analyzed the security based on the following rules. Algorithm 2. Local Processing Sensory Data We present the local processing scheme Algorithm 2 that processed the local process as the IoT sensor healthcare mobile data. We discussed the IoT healthcare data based on mobile devices in the form of a case study, as shown in Fig. 3. For understanding purposes, we consider only three types of sensors. For instance, ECG sensor (lead-I and lead-II), wristwatch sensors (temperature and heart-beat range), and jogging speed and walk count sensor that is integrated into the subject or user’s ankle. We apply the wavelet scattering technique (Jean Effil and Rajeswari, 2022) to pre-process data according to features. However, it depends upon the available resources; if the required pre-processing and security resources are sufficient, then the mobile devices are processed locally. Otherwise, this process will offload to the available digital twin fog nodes. The offloading schemes proposed in Algorithm 2 are defined in the following way. Initially, all tasks are annotated as local tasks, e.g., @t2T, where local computing nodes (e.g., m2M) execute all tasks to meet the security and privacy requirements of data locally. Therefore, the inputs equal D;M, and T.Tis the total number of tasks, Dis the sensor data, and Mis the set of local computing nodes for processing the sensory data at the local machines. In Steps 1 and 2, all the tasks are annotated as local tasks. The main reason is that each task must be initially executed locally. We read the tasks one by one from the task set, as shown in Steps 1–2. Step 2 verifies that the local devices have enough to execute sensory data. Therefore, initially, we anticipated resource checking before execution for all tasks. In Step 4, the algorithm determines that if the local computing nodes have enough resources, it annotates all tasks as local tasks and starts their execution based on security requirements. In Steps 5 to 7, we ensure that the tasks are executed within their deadlines and meet the security requirements. The algorithm allows execution based on Eq. (1) for task execution and security based on Eq. (5). A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 7 In Steps 8 to 11 determines that the local processing finished their execution and is looking for offloading for execution based on available resources and wireless communication. We determined the available resources based on Eq. (8) before starting any execution and offloading for all tasks. The local nodes offload their data to the fog and cloud nodes. After the execution, all nodes send back their results in encrypted form, decrypted by the local device for display. 4.2. Offloading data Offloading is a process that initiates from mobile devices when they have no resources or tasks that need further execution based on their given thresholds. Algorithm 3. Offloading Data Scheme Fig. 3. Local processing on sensor data. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 8 The study designs the offloading scheme Algorithm 3, where all data is offloaded from local mobile devices to the available fog and cloud nodes for processing. Algorithm 3 checks in advance; if the communication channels have a higher capability of offloading, it will offload data to the available fog node for further processing. Otherwise, if the mobile offload finds weaker and insufficient bandwidth, the mobile waits for the network availability and resource availability inside the designed network. We define the steps of Algorithm 3 in the following way. In Steps 1–2, the algorithm checks communication availability for offloading data to the connected fog and cloud nodes. In Steps 3–4, the algorithm determines the communication time and availability for offloading and downloading data from computing nodes to the local machines. In Steps 5–6, determines if the communication channel is established, then the algorithm allows the local processing algorithm to offload all tasks to the available computing nodes for execution. 4.3. Federated learning enabled local training and testing models The study designed the federated learning and its replica virtual local fog nodes at different radio networks. In our case, we implemented federated learning at different nodes. The main aggregated node is powerful cloud computing, where digital-twin-enabled same virtual copies are integrated at different healthcare clinics as shown in Fig. 4. Each node has weights W¼fw¼1;dots;:Wg that consists of different features (e.g., resource, deadline, training, and testing datasets). All the cloud and fog nodes in federated learning-enabled digital twins cooperate and communicate without overhead issues. Data security and privacy are maintained among nodes based on encryption, decryption rules, and faulttolerant techniques. We present the federated learning technology-enabled framework for IoT wearable healthcare devices. In our system, federated learning is the complete system based on cloud data servers and its replica fog servers based on digital twin technology. The federated is divided into local training and testing part and aggregated decision parts for IoT healthcare devices. The study considers the FLM number of federated learning training servers such as FLMfflm dt s1g. We trained both replica and aggregated nodes based on resources capability and IoT datasets and represented by Z¼fz¼1;...;Zg. In our study, we considered horizontal federated learning where all fog and aggregated share their datasets but in different sample modes. We determined the federated learning mechanism based on the following equation. min w fðtÞX F flm1 LMX DT dt¼1 X S s¼1 flmðwjzÞ:ð7Þ We designed the Eq. (7) based on federated learning rules for fog and cloud networks (Lakhan et al., 2021). In Eq. (7) wis the learning weight of federated learning on given input t2Ttasks and trained dataset z. It is the same for all datasets on different nodes. We trained and test the model based on a neural network. We divide the objective function performance into local, fog, and cloud components as shown in Eq. (7). Fig. 4. Federated learning processing on digital twin. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 9 failure of connection or availability of communication networks and remote nodes. For instance, we are offloading to the remote computing nodes such as fog and cloud, incurring 14-min delays. All the nodes are executing tasks in parallel ways. Therefore, we need to minimize the failure delays for all reasons to meet the requirements of tasks in higher with the deadline constraints. Due to the risk to the healthcare of humans, we set deadlines for all tasks and ensure all tasks must be executed under their deadline. We denoted the brown line as the security task validation in the form of delay on different computing nodes. We represented the security delays on different computing nodes, such as mobile devices, communications, fog, and cloud nodes. The Total is the objective function that combines various delays. Fig. 8 shows that all the tasks, e.g., 26 tasks as shown in the x-axis, incurred eighteen minutes (18) delays at different nodes as shown in the Y-axis. These delays include encryption decryption and validation of tasks at nodes. Therefore, it is necessary to process all tasks on different nodes with fewer delays according to given tasks. In our scenario, we consider the random number of healthcare tasks and increase their sizes in the experiment. We implemented data pre-processing strategies, such as wavelet scattering and CNN, for feature extraction in the IIoHT framework. We evaluated the performances of schemes in the experiment. Fig. 9 analyzes the performance of tasks with the different delays as a total delay. The variable Total is the sum of processing delays determined in minutes. The total delay becomes higher and higher during the recovery of the security and failure risks for all tasks with the higher number of tasks in different mobile fog and cloud computing nodes. The y-axis represents the delays of tasks as annotated as Total, and the y-axis shows the range of tasks with random numbers, e.g., 30. We recover the security failure issues on different computing nodes. For instance, mobile devices performed on the local devices and communication networks identified the original data in encrypted form. However, if there are some issues in the wireless communication and require a recovery time, the offloaded tasks wait until connection recovery from security failure. It is similar to the failure delay recovery, which takes delays for all tasks on different computing nodes. We denoted the number of tasks from 0 to 5 on mobile devices with the 6-min delay with the security recovery. At the same time, 9 min of delay with the failure of tasks during recovery on mobile devices. We offloaded tasks through wireless communications, and all tasks from 0 to 20 incurred 10 to 12 min with both failure and security delays and impact on total delay. The 0 to 30 tasks are executed on fog and cloud nodes and 16 and 18 min and determined total delays for all tasks. Therefore, all tasks have higher delays if we manage them efficiently on different computing nodes. We implemented the proposed scheme along with baseline approaches in the experiment. For instance, SFTS, IoT Without Federated, IoT With Federated, and IoT Fog Cloud schemes evaluate the performance of healthcare tasks on heterogeneous nodes. We evaluated the performance of all tasks in terms of total delays as determined in objective function Total as shown in Eq. (6). In the simulation result, as shown in Figure Fig. 10, the y-axis indicates that the different number of tasks determines Total time in minutes for all tasks. The SFTS scheme executed all tasks on different computing nodes with the Total delays in 2 min. The IoT With Federated scheme performed all tasks on different computing nodes with the Total delays in 4 min. The IoT Fog Cloud With Federated scheme executed all tasks on different computing nodes with the Total delays in 8 min. However, without federated learning, it has 10 min on different computing nodes for all tasks. We analyzed the performance of different architectures and schemes evaluated based on various tasks during the experiment. We analyzed and monitored the performance of all methods: SFTS, IoT Without Federated, IoT With Federated, and IoT Fog Cloud, and noted the Total total delays of all tasks in the environment. Fig. 10 shows the performance of different schemes, but SFTS outperformed all existing methods. In our simulation criteria, Total variable for all tasks must be less given the deadlines of all tasks during execution on heterogeneous nodes. We determined the local processing delay during mobile offloading with the proposed scheme SFTS. The y-axis in Fig. 11 shows that all the mobile offloading tasks with the collected data take 5 to 7 min from sensor collection to mobile processing and during offloading in SFTS. The security and failure delay is also controlled under the given deadlines. We determined the total delays as Total incurred within 10 min during mobile offloading with 20 tasks. The baseline IoT With a Federated scheme executed all mobile processing tasks, including failure and security, within Fig. 8. Secure and fault-tolerant total processing time of all tasks on different computing nodes. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 16 9 min with a random number of 20 tasks. Furthermore, the IoT Fog Cloud scheme incurred 9 min for mobile offloading, 10 min for communication, and 12 min during fog and cloud scheduling for all tasks. We analyzed the performance of different architectures, and schemes were evaluated based on various tasks during the experiment. We researched and monitored the performance of all strategies: SFTS, IoT Without Federated, IoT With Federated, and IoT Fog Cloud, and noted the Total total delays of all tasks in the environment. Fig. 11 shows the performance of different schemes, but SFTS outperformed all existing methods. Our simulation considers the trade-off constraints between the resource consumption of different computing nodes and objective function Total for all tasks. The trade-off is always conflicting because there is less delay in the aim function Total, which consumes a higher ratio of computing resources. Therefore, we schedule all tasks based on given deadlines to handle the resource constraint issues of mobile devices and less resource consumption of fog and cloud nodes. These constraints, such as security, failure, and deadline, consume the resources of all computing nodes. We determined the failure and security-enabled scheduling with the checkpointing mechanism, where all nodes can resume failure of tasks from the point of failure. We analyzed the performance of different architectures and schemes evaluated based on diverse tasks during the experiment. We examined and monitored the performance of all strategies: SFTS, IoT Without Federated, IoT With Federated, and IoT Fog Cloud. We noted the Total total delays of all tasks in the environment. Fig. 12 shows the performance of different schemes, but SFTS outperformed all existing methods. Fig. 12 Fig. 9. Recovery total delays of tasks during security and failure issues in different computing nodes. Fig. 10. Offloading and scheduling performance of healthcare tasks with different schemes on different computing nodes. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 17 shows the proposed scheme SFTS executed all tasks with the minimum resource consumption under deadlines with 10-min delays. These approaches, IoT Federated and IoT Fog Cloud, consume many resources and are incurred with a total of 12 to 14 min of delays. The baseline approaches also consume much more resources due to scheduling all tasks without deadlines on available nodes. Resource consumption is the key challenge in the IIoT healthcare environment. There are different kinds of resource consumption for the IIoT healthcare environment. The risk of security and resource availability failure is the key challenge for IIoT architectures. The offloading and scheduling are the schemes in which we maintained the resource consumption in the network. We analyzed the performance of different architectures and schemes based on different tasks during an experiment. We analyzed and monitored the performance of all schemes SFTS, IoT Without Federated, IoT With Federated, and IoT Fog Cloud and noted the Total total delays of all tasks in the environment. Fig. 13 shows the performance of different schemes, but SFTS outperformed all existing schemes. The different aspects are evaluated, such as failure ratio, security validation and resource leakage, and availability of fog and cloud nodes during offloading for processing. It has been observed that the baseline schemes with different IoT healthcare tasks have a failure ratio higher than SFTS. The security validation is more appropriate with the SFTS than baseline schemes. We validated the work in different aspects, such as local processing delay, offloading communication delay (DT), fog processing Fig. 11. Secure and failure enabled performances of schemes. Fig. 12. Failure and security recovery performances of tasks with different schemes. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 18 delay for training and validation, and cloud delay. We analyzed the failure and security aspects with the differences as shown in Table 7. The different scenarios such as Method, T;L e t ;C e t ;Cloud e t ;F e t ;Total, Failure, and Security are the constraints where performance evaluation can be compared and analyzed with the different methods. We can analyze the performance of the proposed scheme with different methods. For instance, SFTS obtained the results of tasks in different scenarios and different nodes, tasks t = 1–10, local processing = 6, offloading time = 8, fog delay = 6, cloud delay = 10, and total delay = 30, where only three tasks 3 are failed, 10 shows that, all tasks are successfully met the security between nodes without any failure of tasks. We analyzed the all results of all methods with different tasks from t = 1 to 30 with different methods as shown in Table 7. Security validation in different nodes is a crucial process in different healthcare environments. Table 8 shows the data’s encryption and decryption validation on different nodes. The parameters are considered in this phase, as shown in the following way. For instance, Task, Data, Encryption, Decryption, Validation, and Status are the encryption and decryption validations at the federated learning-enabled DT mobile fog cloud network. For instance, a task t = 1 has data 99, has encryption eO2aTgb6g2VL +83foW2jCw==, and again decrypts at 99. At the same time, these validations exist between m1dt1 with the status yes. Furthermore, this data is offloaded from the DT fog node to cloud computing. For instance, a task t = 1 with data 120, encryption KWuVYMKzEW0oPeb4ydQd7w==, and decryption 120, between dt1s1 with status yes. In this way, each piece of data from mobile devices to fog nodes and fog nodes to cloud computing is validated based on encryption and decryption with the shared keys federated by mobile fog cloud networks. We discussed the different metrics that were identified during the simulation. We discussed these metrics, such as resource consumption, Scalability, and memory% during the execution of tasks in the simulator as shown in Table 9. We analyzed these metrics with the different baseline approaches and proposed methods for the different number of tasks, e.g., 30. We evaluated these metrics on the mobile node, fog nodes, and cloud computing. In our simulation, we keep the scalability fixed, which means in our current problem, we are not considering the resource provisioning with the cost constraints. Therefore, we keep the scalability fixed without scaling up and scaling down during the execution of tasks in the simulator. We determine the resource consumption in megabytes (MB) as shown in Table 9 for all methods. We determined the memory usage ratio for the execution of all tasks on different nodes with the different methods, as shown in Table 9. We can Fig. 13. Resource consumption of IIoHT sensory tasks with different failure and security schemes. Table 7 Work validation in different aspects and scenarios with different. Method T L e t C e t Cloud e t F e t Total Failure Security SFTS t = 1–10 6 8 6 10 30 3 10 Without Federated t = 1–10 16 18 16 10 60 3 10 IoT With Federated t = 1–10 12 10 7 13 42 5 7 IoT Fog Cloud 30 t = 1–10 15 15 18 48 7 9 SFTS t = 11–20 7 6 8 10 31 2 10 Without Federated t = 11–20 17 17 17 10 61 3 8 IoT With Federated t = 11–20 10 10 10 16 46 3 9 IoT Fog Cloud 30 t = 11–20 20 20 20 60 6 9 SFTS t = 21–30 6 8 6 11 31 2 10 Without Federated t = 21–30 16 20 16 10 62 4 8 IoT With Federated t = 21–30 12 12 7 13 44 1 5 IoT Fog Cloud t = 21–30 30 15 15 20 60 1 6 A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 19 observe from Table 9 that SFTS consumes less resources and memory than existing methods on mobile fog and cloud nodes during the execution of tasks. The main reason is that we implemented the replica of the data processing based on digital twins. Therefore, the results and data recovery from the cloud are migrated or downloaded to the fog nodes for scheduling. It is a robust and efficient way to use the digital twin-enabled fog and cloud nodes for the distributed Iot applications and minimize the resource consumption and memory usage for similar tasks during security and failure situations in our architecture. 5.3. Findings and shortcomings of SFTS and baseline algorithms In this study, we presented the SFTS method, which consists of different schemes such as local processing, federated learningenabled fog and cloud nodes, and digital twin. The main finding of the SFTS is to execute all IoT content tasks with minimum delays. The total delays as we determined in Eq. (6) combinations of different delays. Therefore, we scheduled all IoT tasks to the different computing nodes with minimum delays. In the result discussion, we showed the findings and limitations of SFTS for all tasks on mobile, fog, and cloud nodes. We have implemented the four baseline strategies, IoT Without Federated learning, IoT With Federated learning, and IoT Fog Cloud schemes for IoT content tasks in the simulation environment. We considered the different constraints such as security, processing delay, deadline, resource consumption, and failure of tasks. We analyzed the performances of all algorithms as shown in the result analysis and discussion with the IoT random number of tasks in fog and cloud networks. We investigated IoT tasks’ security and failure delay constraints on mobile, fog, and cloud nodes with all algorithms designed during execution in the architecture. This baseline IoT Without a Federated learning strategy, scheduled all mobile, fog, and cloud network tasks. The strategy IoT Without Federated learning scheduled all tasks on different computing nodes in a secure and delayefficient form. However, as all simulation results show, this strategy has suffered higher delays. The main reason is that, in this strategy, the main node made all the decisions during the security recovery and failure of tasks and acknowledged all nodes. That means all nodes are clustered in the network, but decisions made by centralized nodes suffer higher delays for all tasks. In the previous higher delays, all the tasks missed their deadlines and degraded the performances of applications. This IoT Fog Cloud strategy divided the scheduling tasks decision among different computing nodes based on the scheduler and got less delay than IoT without the federated strategy. The main reason is that all the schedulers can communicate with each other and reschedule the failure of tasks from the point of failure. However, due to many constraints, such as local processing, communication, failure, security, and remote processing, this strategy suffered from delays analyzed one constraint at a time. The federated learning divided the computing analyzing of different at different fog and cloud and aggregated to the centralized nodes. However, one node’s failure in federated learning still suffers from higher delays in the network. SFTS is the optimal strategy that integrates the digital twin on fog nodes, where cloud nodes are replicated and executed on fog nodes. The digital twin is adaptively integrated with the cloud nodes, where, based on federated learning, we can exchange their updates to all connected nodes. Therefore, the SFTS strategy for IoT tasks in the network can easily manage all the constraints on different computing nodes. However, there are still limitations in the SFTS scheme for broad-level infrastructure. All the proposed and baseline strategies did not consider the wait time of tasks before scheduling in the mobile fog cloud networks. The baseline strategies and proposed work widely miss task power consumption, cost, and sustainability. These limitations still need to improve the total delays and time complexity to become efficient for all time-sensitive tasks with the given priority. Therefore, all baseline and proposed approaches must address these limitations in future works. In the current version of methods, we did not consider resource provisioning to avoid resource scalability. In this work, we only exploited the fixed type of resources. We keep the fixed scalability in the current architecture version and do not consider resource provisioning. However, the diversity features can increase the ratio of tasks and types. Therefore, power consumption on local devices and wireless networks could be increased. In future work, we consider the power consumption, cost, resource provisioning, scalability, and existing constraints with the more robust and adaptive schemes. 6. Conclusion Based on performance evaluation, the study analyzed and processed the different healthcare sensory data to monitor and predict Table 8 Encryption and decryption detection schemes. Task Data Encryption Decryption Validation Status t = 1 99 eO2aTgb6g2VL + 83foW2jCw== 99 m1dt1 yes t = 1 120 KWuVYMKzEW0oPeb4ydQd7w== 120 dt1s1 yes t = 2 155 K7 + 93/Wi0ecCKP14ySmoeg== 155 m1dt2 yes t = 2 1000 fQrhvbmiJto19Y9/JAyRiQ== 1000 dt2s2 yes Table 9 Encryption and decryption detection schemes. Method Task Node Resource Consumption Scalability Memory% SFTS 30 Mobile 380 MB Fixed 0.3 SFTS 30 Fog Nodes 1000 MB Fixed 0.7 SFTS 30 Cloud 1500 MB Fixed 0.9 IoT Without Federated 30 Mobile 500 MB Fixed 0.8 IoT Without Federated 30 Fog Nodes 1500 MB Fixed 0.9 IoT Without Federated 30 Cloud 2000 MB Fixed 0.12 IoT With Federated 30 Mobile 500 MB Fixed 0.7 IoT With Federated 30 Fog Nodes 1600 MB Fixed 0.14 IoT With Federated 30 Cloud 2200 MB Fixed 0.16 IoT Fog Cloud 30 Mobile 700 MB Fixed 0.9 IoT Fog Cloud 30 Fog Nodes 2000 MB Fixed 0.19 IoT Fog Cloud 30 Cloud 3000 MB Fixed 0.21 A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 20 the healthcare data in distributed mobile fog and cloud networks. This paper presented the secure, fault-tolerant, empowered wearable healthcare sensors aware Industrial Internet of Things (IIoT) Framework based on digital twin federated fog-cloud models. The study aims to reduce the time and resources needed to process healthcare sensor data for security, task execution, and fault tolerance. The study presents the Secure and Fault-Tolerant Scheme (SFTS) algorithm framework that optimizes the IoT sensor data and executes the healthcare data with the minimum offloading and processing delays. Simulation results show that the proposed work minimized the security risk by 40%, failure risk of tasks risk by 50%, and the training and testing time by 39% for all IIoT healthcare tasks in mobile fog cloud networks. The study will implement blockchain technology in future work and consider the different healthcare clinics for sensory data in heterogeneous computing nodes. The current work version has power consumption, electricity cost, and distributed resource sharing that have yet to be considered in the present work. In future work, we will add more constraints in the considered framework with the discrete and polynomial time for all tasks. There exist constraints in the SFTS that relate to the time complexity associated with diverse limitations. To illustrate, mobile device waiting time during offloading has yet to be established. As a result, tasks within the scope of IoT might encounter challenges with meeting deadlines and maintaining performance due to prolonged waiting intervals. The difficulty of achieving load balance in federated learning between fog and cloud nodes endures. Consequently, these considerations tied to the equilibrium of fog and cloud nodes lead to elongated waiting duration. This circumstance significantly impacts the time complexity of IoT fog cloud tasks within the framework of our architecture. Therefore, in future work, we will consider the delays for IoT fog cloud tasks in our extended architecture. Author Contributions All authors contributed equally to the final dissemination of the research investigation as a full article. All authors have read and agreed to the published version of the manuscript. Ethical Approval The manuscript does not report on or involve the use of any animal or tissue and is ‘‘Not applicable” to this manuscript. Funding This article was co-funded by the European Union under the REFRESH - Research Excellence For REgion Sustainability and High-tech Industries project number CZ.10.03.01/00/22_003/0000048 via the Operational Programme Just Transition. Also, this work was supported by the Ministry of Education, Youth and Sports of the Chezk Republic conducted by VSB - Technical University of Ostrava, Czechia under Grants SP2023/039 and SP2023/042. Data Availability Statements The study exploited the public healthcare sensors, and datasets are publically available on the following URL. https://github.com/ ABDULLAH-RAZA/IIoThealthcare-Sensors-Data. The datasets have different features such as ECG Lead-1, Lead-2, Ankle, BP (blood pressure), Temp (Temperature), HB (Heartbeats), CH (Cholesterol) speed, location, real-time, stayed Activity, and Users. Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. References Akash, S.S., Ferdous, M.S., 2022. A blockchain based system for healthcare digital twin. IEEE Access 10, 50523–50547. Alaasam, A.B., Radchenko, G., Tchernykh, A., González Compeán, J., 2020. Analytic study of containerizing stateful stream processing as microservice to support digital twins in fog computing. Programm. Comput. Softw. 46, 511–525. Alshathri, S., Hemdan, E.E.-D., El-Shafai, W., Sayed, A., 2023. Digital twin-based automated fault diagnosis in industrial iot applications. CMC-Comput. Mater. Continua 75 (1), 183–196. Azzaoui, A.E., Kim, T.W., Loia, V., Park, J.H., 2021. Blockchain-based secure digital twin framework for smart healthy city. Adv. Multimedia Ubiquit. Eng. 716, 107. Chi, H.R., Wu, C.K., Huang, N.-F., Tsang, K.F., Radwan, A., 2022. A survey of network automation for industrial internet-of-things towards industry 5.0. IEEE Trans. Industr. Inf. Daigneault, J., St-Hilaire, M., 2021. Profit maximization model for the task assignment problem in 2-tier fog/cloud network environments. IEEE Network. Lett. 3 (1), 19–22. Darvishi, H., Ciuonzo, D., Rossi, P.S., 2021. Real-time sensor fault detection, isolation and accommodation for industrial digital twins. In: 2021 IEEE International Conference on Networking, Sensing and Control (ICNSC), vol. 1. IEEE, pp. 1–6. Dharangan, B., Praveen, J., Rajagopal, S., Jegajothi, B. et al., 2022. Secure cloud-based e-health system using advanced encryption standard. In: 2022 3rd International Conference on Electronics and Sustainable Communication Systems (ICESC). IEEE, pp. 642–646. Elayan, H., Aloqaily, M., Guizani, M., 2021. Digital twin for intelligent context-aware iot healthcare systems. IEEE Internet Things J. 8 (23), 16 749–16 757. el Azzaoui, A., Kim, T.W., Loia, V., Park, J.H., 2020. Blockchain-based secure digital twin framework for smart healthy city. In: Advanced Multimedia and Ubiquitous Engineering: MUE-FutureTech 2020. Springer, pp. 107–113. Ghita, M., Siham, B., Hicham, M., Abdelhafid, A.E.M., Laurent, D., 2020. Geospatial business intelligence and cloud services for context aware digital twins development. In: 2020 IEEE International conference of Moroccan Geomatics (Morgeo). IEEE, pp. 1–6. Haleem, A., Javaid, M., Singh, R.P., Suman, R., 2023. Exploring the revolution in healthcare systems through the applications of digital twin technology. Biomed. Technol. 4, 28–38. Jean Effil, N., Rajeswari, R., 2022. Wavelet scattering transform and long short-term memory network-based noninvasive blood pressure estimation from photoplethysmograph signals. SIViP 16 (1), 1–9. Jimenez, J.I., Jahankhani, H., Kendzierskyj, S., 2020. Health care in the cyberspace: Medical cyber-physical system and digital twin challenges. Digital Twin Technol. Smart Cities, 79–92. Khan, S., Arslan, T., Ratnarajah, T., 2022. Digital twin perspective of fourth industrial and healthcare revolution. IEEE Access 10, 25732–25754. Khoso, F.H., Lakhan, A., Arain, A.A., Soomro, M.A., Nizamani, S.Z., Kanwar, K., 2021. A microservice-based system for industrial internet of things in fog-cloud assisted network. Eng. Technol. Appl. Sci. Res. 11 (2), 7029–7032. Kim, S., 2020. New application task offloading algorithms for edge, fog, and cloud computing paradigms. Wireless Commun. Mobile Comput. 2020, 1–14. Konigsburg, J.A., 2022. Modern warfare, spiritual health, and the role of artificial intelligence. Religions 13 (4), 343. Lakhan, A., Mohammed, M.A., Kadry, S., Abdulkareem, K.H., Al-Dhief, F.T., Hsu, C.-H., 2021. Federated learning enables intelligent reflecting surface in fog-cloud enabled cellular network. PeerJ Comput. Sci. 7, e758. Lakhan, A., Mohammed, M.A., Abdulkareem, K.H., Jaber, M.M., Nedoma, J., Martinek, R., Zmij, P., 2022. Delay optimal schemes for internet of things applications in heterogeneous edge cloud computing networks. Sensors 22 (16), 5937. Leng, J., Sha, W., Wang, B., Zheng, P., Zhuang, C., Liu, Q., Wuest, T., Mourtzis, D., Wang, L., 2022. Industry 5.0: Prospect and retrospect. J. Manuf. Syst. 65, 279– 295. Leong, Y.K., Tan, J.H., Chew, K.W., Show, P.L., 2021. Significance of industry 5.0. In: The Prospect of Industry 5.0 in Biomanufacturing. CRC Press, pp. 95–114. Lv, Z., 2023. Digital twins in industry 5.0. Research 6, 0071. Naha, R.K., Garg, S., Chan, A., Battula, S.K., 2020. Deadline-based dynamic resource allocation and provisioning algorithms in fog-cloud environment. Future Generat. Comput. Syst. 104, 131–141. Nguyen, T.N., Ponciroli, R., Bruck, P., Esselman, T.C., Rigatti, J.A., Vilim, R.B., 2022. A digital twin approach to system-level fault detection and diagnosis for improved equipment health monitoring. Ann. Nucl. Energy 170, 109002. Panda, S.K., Nanda, S.S., Bhoi, S.K., 2022. A pair-based task scheduling algorithm for cloud computing environment. J. King Saud Univ.-Comput. Infor. Sci. 34 (1), 1434–1445. Rashid, L., Rubab, S., Alhaisoni, M., Alqahtani, A., Alsubai, S., Binbusayyis, A., Bukhari, S.A.C., 2022. Analysis of dimensionality reduction techniques on internet of A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 21 things data using machine learning. Sustain. Energy Technol. Assessm. 52, 102304. Rieke, N., Hancox, J., Li, W., Milletari, F., Roth, H.R., Albarqouni, S., Bakas, S., Galtier, M.N., Landman, B.A., Maier-Hein, K., et al., 2020. The future of digital health with federated learning. NPJ Digital Med. 3 (1), 119. Salman, A.O., Geman, O., 2023. Evaluating three machine learning classification methods for effective covid-19 diagnosis. Int. J. Mathe. Stat. Comput. Sci. 1, 1– 14. https://doi.org/10.59543/ijmscs.v1i.7693. Unnisa, S., Vijayalakshmi, A., Jagun, Z.T., 2023. Deep neural network architecture and applications in healthcare. Deep Learn. Healthcare Decis. Mak., 25 Volkov, I., Radchenko, G., Tchernykh, A., 2021. Digital twins, internet of things and mobile medicine: a review of current platforms to support smart healthcare. Programm. Comput. Softw. 47, 578–590. Xu, J., Glicksberg, B.S., Su, C., Walker, P., Bian, J., Wang, F., 2021. Federated learning for healthcare informatics. J. Healthcare Informat. Res. 5, 1–19. Yang, Z., Yang, Y., Xu, C., 2022. Demonstration on unblocking checkpoint for faulttolerance in pregel-like systems. In: Web and Big Data: 6th International Joint Conference, APWeb-WAIM 2022, Nanjing, China, November 25–27, 2022, Proceedings, Part III. Springer, pp. 456–460. Younan, M., Houssein, E.H., Elhoseny, M., Ali, A.A., 2020. Challenges and recommended technologies for the industrial internet of things: A comprehensive review. Measurement 151, 107198. Zhang, J., Li, L., Lin, G., Fang, D., Tai, Y., Huang, J., 2020. Cyber resilience in healthcare digital twin on lung cancer. IEEE Access 8, 201900–201913. A. Lakhan, A.A. Abdul Lateef, M.K. Abd Ghani et al. Journal of King Saud University – Computer and Information Sciences 35 (2023) 101747 22