A New Intra-Cluster Scheduling Scheme for Real-Time Flows in Wireless Sensor Networks

: Real-time ﬂows using time division multiple access (TDMA) scheduling in cluster-based wireless sensor networks try to schedule more ﬂows per time frame to minimize the schedule length to meet the deadline. The problem with the previously used cluster-based scheduling algorithm is that intra-cluster scheduling does not consider that the clusters may have internal or outgoing ﬂows. Thus, intra-cluster scheduling algorithms do not utilize their empty time-slots and thus increase schedule length. In this paper, we propose a new intra-cluster scheduling algorithm by considering that clusters may have having internal or outgoing ﬂows. Thus, intra-cluster scheduling algorithms do not di ﬀ erentiate the intra-cluster time slots and utilize their empty time slots. The objective is to schedule more ﬂows per time frame, to reduce schedule length and improve the acceptance rate of ﬂows. Simulation results show that the acceptance rate of the proposed scheme has a higher performance than the previous scheme.


Introduction
WirelessHART standards for sensor-actuator networks have attracted interest for real-time communication [1]. These protocols use a centralized approach for the transmission schedule and avoid concurrent transmissions with the same channel. The approach uses a different priority scheme and achieves the real-time communication through time division multiple access (TDMA) scheduling. This standard increases the amount of delay and limits scalability. In the quality of service-aware cluster-based data sending schemes [2], each node transmits the sensing data to its cluster head, which in turn, aggregates that data and sends the results to the base station. The whole scheme consists of intra-cluster data reporting and inter-cluster control methods. For intra-cluster data, only a few member nodes were selected as reporting nodes to meet the required throughput and save energy for other rounds. At the same time, for inter-cluster controls, delay-bound data were routed using a minimum number of hops consisting of a combination of cluster heads and member nodes. The real-time query scheduling algorithm [3] assumes a pre-given routing tree for different scheduling strategies by considering the trade-offs between prioritization and throughput. The problem with TDMA scheduling for flat wireless sensor networks (WSNs) is that they are not scalable to the large networks, and have less slot reuse due to global view of the network [4] or large message exchanges. Hence, they lack in performance metrics like delay which is not efficient for real-time communication. Therefore, TDMA scheduling under cluster architecture is proposed in WSNs [5][6][7][8][9]. Adaptive distributed randomized [10] is a cluster-based TDMA scheme for wireless sensor networks. 3 of 15 flows is provided with consideration of interference in the network. Furthermore, cluster-based real-time communication scheme characterized interference by using graph theory, while graph coloring is used to avoid the collision. Similarly, in [26], three cluster-based TDMA scheduling algorithms are proposed for real-time flows. The representative approach has been described to schedule real-time data; however, some schemes have centralized approach and therefore are not scalable. Cluster-based coloring schemes for real-time flow increase the schedule length and hence are not suitable for a real-time system. The cluster-based real-time flows are scheduled in three different time slots, namely IntraSend, InterComm and IntraRecv slot to avoid interference [27]. However, this scheme uses static scheduling and does not consider the incoming and outgoing flows in the intra-cluster scheduling therefore some flows cannot utilize the available empty time slots. Several TDMA scheduling algorithms have been proposed to transmit data from source to destination using multi-hop [25,28,29]. Two centralized, node-based and level-based TDMA scheduling algorithms are proposed in [25]. In both algorithms, base station assigns slots to nodes by considering interference relation. These algorithms attempt to find TDMA schedule that minimize the number of time slots. In [28,29], conflict-free TDMA scheduling algorithms for multihop intra-and inter-cluster are provided. The algorithm schedules every node across 3-hop neighbor for the purpose to avoid the interference, hence to improve the delay, throughput and energy efficiency. Similarly, in some TDMA scheduling the knowledge of 2-hop neighborhoods is assumed to avoid the interference.
In this paper, we propose a new intra-cluster scheduling scheme to schedule the flows from source to destination node in the TDMA time slots using three scheduling algorithms, namely the IntraSend, InterComm and IntraRecv algorithms. The IntraSend scheduling algorithm schedules the data in the IntraSend time slots from the source node to the source cluster head. The InterComm scheduling algorithm schedules the data in the InterComm time slots from the source cluster head to the destination cluster head. The IntraRecv scheduling algorithm schedules the data in the IntraRecv time slots from the destination cluster head to the destination node. Similarly, for the outgoing cluster flows in IntraSend scheduling, the proposed scheme utilizes both the IntraSend and IntraRecv time slots in the IntraSend scheduling. Furthermore, if the cluster has incoming flows the proposed IntraRecv scheduling can utilize both the IntraSend and IntraRecv time slots. Thus, the proposed scheme is scheduling more flows per time frame and reduces the schedule length and as a result increases the acceptance rate of flows.

Proposed Scheme
The symbol r i represents the time at which all the flows Fi are released for scheduling. The flow Fi that arrives at the source cluster head is denoted by a SH i . The notation a DH i denotes the flow Fi arriving at the destination cluster-head. The notation for the node that arrives at the destination node is represented by a i . We divide the time slots to avoid interference. Therefore, the proposed scheme is represented by assuming IntraSend, InterComm, IntraRecv as 1, 2, 1 respectively shown in Figure 1. The minor frame in Figure 1 shows the number of time slots per frame. IntraSend means the scheduling algorithm which will schedule the flows from the source node to the source cluster head. InterComm represent the scheduling algorithm that will schedule the flows from the source cluster heads to the destination cluster heads. IntraRecv represents the scheduling that will schedule the flows from the destination cluster head to the destination node. H1, H2, H3, H4, H5 represent cluster head 1, 2, 3, 4 and 5 respectively as shown in Figure 2. Transmission u→v means that node u can send the data to node v.
Electronics 2020, 9, x FOR PEER REVIEW 3 of 15 real-time communication scheme characterized interference by using graph theory, while graph coloring is used to avoid the collision. Similarly, in [26], three cluster-based TDMA scheduling algorithms are proposed for real-time flows. The representative approach has been described to schedule real-time data; however, some schemes have centralized approach and therefore are not scalable. Cluster-based coloring schemes for real-time flow increase the schedule length and hence are not suitable for a real-time system. The cluster-based real-time flows are scheduled in three different time slots, namely IntraSend, InterComm and IntraRecv slot to avoid interference [27]. However, this scheme uses static scheduling and does not consider the incoming and outgoing flows in the intra-cluster scheduling therefore some flows cannot utilize the available empty time slots. Several TDMA scheduling algorithms have been proposed to transmit data from source to destination using multi-hop [25,28,29]. Two centralized, node-based and level-based TDMA scheduling algorithms are proposed in [25]. In both algorithms, base station assigns slots to nodes by considering interference relation. These algorithms attempt to find TDMA schedule that minimize the number of time slots. In [28,29], conflict-free TDMA scheduling algorithms for multihop intraand inter-cluster are provided. The algorithm schedules every node across 3-hop neighbor for the purpose to avoid the interference, hence to improve the delay, throughput and energy efficiency. Similarly, in some TDMA scheduling the knowledge of 2-hop neighborhoods is assumed to avoid the interference.
In this paper, we propose a new intra-cluster scheduling scheme to schedule the flows from source to destination node in the TDMA time slots using three scheduling algorithms, namely the IntraSend, InterComm and IntraRecv algorithms. The IntraSend scheduling algorithm schedules the data in the IntraSend time slots from the source node to the source cluster head. The InterComm scheduling algorithm schedules the data in the InterComm time slots from the source cluster head to the destination cluster head. The IntraRecv scheduling algorithm schedules the data in the IntraRecv time slots from the destination cluster head to the destination node. Similarly, for the outgoing cluster flows in IntraSend scheduling, the proposed scheme utilizes both the IntraSend and IntraRecv time slots in the IntraSend scheduling. Furthermore, if the cluster has incoming flows the proposed IntraRecv scheduling can utilize both the IntraSend and IntraRecv time slots. Thus, the proposed scheme is scheduling more flows per time frame and reduces the schedule length and as a result increases the acceptance rate of flows.

Proposed Scheme
The symbol ri represents the time at which all the flows Fi are released for scheduling. The flow Fi that arrives at the source cluster head is denoted by . The notation denotes the flow Fi arriving at the destination cluster-head. The notation for the node that arrives at the destination node is represented by . We divide the time slots to avoid interference. Therefore, the proposed scheme is represented by assuming IntraSend, InterComm, IntraRecv as 1, 2, 1 respectively shown in Figure  1. The minor frame in Figure 1 shows the number of time slots per frame. IntraSend means the scheduling algorithm which will schedule the flows from the source node to the source cluster head. InterComm represent the scheduling algorithm that will schedule the flows from the source cluster heads to the destination cluster heads. IntraRecv represents the scheduling that will schedule the flows from the destination cluster head to the destination node. H1, H2, H3, H4, H5 represent cluster head 1, 2, 3, 4 and 5 respectively as shown in Figure 2. Transmission u→v means that node u can send the data to node v.

Procedure of the Proposed Scheme
The proposed scheme schedules the flows from the source to destination node by using three scheduling algorithms, namely IntraSend, InterComm and IntraRecv. In the first scheduling algorithm, the flows are scheduled from a source node to the source cluster head. Cluster heads are scheduled from source to destination in the second scheduling algorithm. Finally, in the third scheduling algorithms, the flows are scheduled from destination cluster head to destination node. As shown in Figure 2, the proposed scheme first initializes the number of flows to each cluster head. Each cluster head knows about the number of incoming and outgoing flows in their cluster. After the initialization of IntraSend scheduling, if the cluster has only incoming flows then the IntraSend scheduling can schedule the flows both in IntraSend and IntraRecv time slots. The cluster can utilize IntraSend time slots and cannot utilize IntraRecv time slots in-case if the IntraSend scheduling have both incoming and outgoing flows. For the InterComm scheduling the flows will be schedule from the source cluster head to destination cluster head. As the cluster head has high transmission power, therefore, it can utilize the InterComm time slots and cannot utilize the IntraSend and IntraRecv time slots. Finally, after the initialization of IntraRecv scheduling if the cluster has outgoing flows then IntraRecv scheduling can utilize both the IntraSend and IntraRecv time slots. Similarly, if the cluster have both incoming and outgoing flows then the IntraRecv scheduling can utilize the IntraRecv time slots and cannot utilize the IntraSend time slots.
We first schedule the flows from the source node to the destination node where each intra-cluster will have utilized only their respective time slots and cannot utilize each other empty time slots.
The cluster H1 will schedule the transmission a→b and b→H1 of F1 in the slot#1 and slot #5 respectively as shown in IntraSend Scheduling in Table 1. Transmission j→c of F5 cannot be scheduled in the slot #1 due to the interference with the transmission a→b of high priority F1. Therefore, the transmission j→c will schedule in the next time slots of IntraSend time slot #5. For transmission c→H1 of F5 as there is no interference with higher priority flow so it will be scheduled by H1 in the slot #9. Next cluster H2 will scheduled transmission i→h of F2, p→H2 of F3 and e→g of F4 in the slot #1 due to no conflict with transmissions of high priority flows. Transmission h→H2 of F2 will be scheduled in the slot #5 while transmission g → H2 will be cannot be schedule in the time slot#5 due to interference with transmission h→H2 of F2. Therefore, the transmission g→H2 of F4 will be scheduled in the time slot #9. Next in the InterComm scheduling, the flows from F1 to F5 are scheduled from the source node to the destination node as shown in the following Table 2.

Procedure of the Proposed Scheme
The proposed scheme schedules the flows from the source to destination node by using three scheduling algorithms, namely IntraSend, InterComm and IntraRecv. In the first scheduling algorithm, the flows are scheduled from a source node to the source cluster head. Cluster heads are scheduled from source to destination in the second scheduling algorithm. Finally, in the third scheduling algorithms, the flows are scheduled from destination cluster head to destination node. As shown in Figure  For the InterComm scheduling the flows will be schedule from the source cluster head to destination cluster head. As the cluster head has high transmission power, therefore, it can utilize the InterComm time slots and cannot utilize the IntraSend and IntraRecv time slots. Finally, after the initialization of IntraRecv scheduling if the cluster has outgoing flows then IntraRecv scheduling can utilize both the IntraSend and IntraRecv time slots. Similarly, if the cluster have both incoming and outgoing flows then the IntraRecv scheduling can utilize the IntraRecv time slots and cannot utilize the IntraSend time slots.
We first schedule the flows from the source node to the destination node where each intra-cluster will have utilized only their respective time slots and cannot utilize each other empty time slots.
The cluster H1 will schedule the transmission a→b and b→H1 of F1 in the slot#1 and slot #5 respectively as shown in IntraSend Scheduling in Table 1. Transmission j→c of F5 cannot be scheduled in the slot #1 due to the interference with the transmission a→b of high priority F1. Therefore, the transmission j→c will schedule in the next time slots of IntraSend time slot #5. For transmission c→H1 of F5 as there is no interference with higher priority flow so it will be scheduled by H1 in the slot #9. Next cluster H2 will scheduled transmission i→h of F2, p→H2 of F3 and e→g of F4 in the slot #1 due to no conflict with transmissions of high priority flows. Transmission h→H2 of F2 will be scheduled in the slot #5 while transmission g→H2 will be cannot be schedule in the time slot#5 due to interference with transmission h→H2 of F2. Therefore, the transmission g→H2 of F4 will be scheduled in the time slot #9. Next in the InterComm scheduling, the flows from F1 to F5 are scheduled from the source node to the destination node as shown in the following Table 2. In the IntraRecv scheduling, each cluster will schedule the transmissions from the source cluster head to the destination node. For example, cluster H5 will schedule the transmissions of F1 and F5 while transmission of F2 and F4 will be schedule by cluster H3. H4 will schedule the transmissions of F3 from the source cluster head to their respective destination node as shown the Table 3 below. The proposed IntraSend scheduling system for cluster H1 is shown in Table 4. In Figure 2, cluster H1 has only outgoing flows, therefore, the cluster could use both NIS and NIR time slots for the IntraSend Scheduling. F1 is scheduled first from node a to H1; thus F5 is scheduled in H1 cluster at time slot #1. Since the transmission a→b of F1 and transmission j→c of F5 are conflicting with each other, the transmission a→b of F1 is therefore scheduled in slot#1 due to high priority. This is interesting, as there are only one incoming flow in cluster H1. Thus, cluster H1 can utilize the IntraRecv time slots for IntraSend scheduling and schedule the transmission j→c of F1 and h→H2 of F5 in the same slot #4 due to non-interference. Similarly, cluster H2 schedule transmission i→h of F2 in slot #1. Transmission p→H2 of F3 and e→g of F4 are also scheduled in slot #1 due to non-interference with high priority flows. Cluster H2 has also outgoing flows. In this, it can utilize the IntraRecv time slots. Therefore, transmission h→H2 is scheduled in time slot #4. Transmission of F3 is already reached to cluster head so it cannot be schedule in slot #4. Finally, the transmission g→H2 of F4 is conflicting with transmission h→H2 of F2, therefore, the transmission h→H2 is delayed by one slot and schedule in the next time slot #5 as shown in Table 4. In InterComm scheduling, the global cluster header schedule the flows from F1 to F5 from source cluster head to destination head as shown in Table 5. IntraSend and IntraRecv scheduling can utilize each other slots but cannot utilize the InterComm time slots due to the high transmission power of the cluster heads. As shown in Table 5, the global cluster head could schedule the flow F1 from source cluster-head H1 to neighbor the cluster head H3. Furthermore, the neighbor cluster-head H3 could schedule the data to destination cluster H5. Similarly, for the F2 flow, the global cluster-head cannot schedule the flow H2→H1 in the time slot #6 due to the interference of high priority flow F1. In the same way in slot #7, the flow F2 transmission H2→H1 is interference with transmission H3→H5 of F1 and hence delayed. Flow F2 transmission H2→H1 is scheduled in the time slot #10 while transmission H1→H3 is scheduled in the time slot #11. For flow F3, the IntraSend transmission arrives at the source cluster-head in time slot #1. Hence, the transmission H2→H4 and H4→H5 are scheduled by the global cluster-head in the InterComm time-slots #2 and 3 respectively. For flow F4, the transmission H2→H4 will be scheduled by the global head in the InterComm time-slot #6, due to no interference with high priority flow. Hence, the transmission H4→H3 of F4 has interference with transmission H3→H5 of high priority flow F1 in the InterComm time slot #7, therefore, the transmission H4→H3 will be delayed by one time-slot. Transmission H4→H3 of F4 will scheduled in the InterComm time slot #10 due to no interference with transmission H2→H1 of high priority flow F2. For the flow F5, InterComm scheduling the transmission H1→H2 is conflict with both transmission H1→H3 of F1 and H2→H4 of F4, therefore, transmission H1→H2 will be scheduled in the InterComm time slot #7 as it has no interference with transmission H3→H5 of higher Flow 1. Similarly, transmission H2→H4 of F5 cannot be schedule in the InterComm time slot #10 due to interference with high priority flows transmission H2→H1 of flow F2 and transmission H4→H3 of F4. Finally, the transmission H2→H4 of F2 will be scheduled in the InterComm time slot #11, due to non-conflict with high flow.
Finally, consider the IntraRecv scheduling of clusters as shown in Table 6. As shown in Figure 2 Table 6. To compare the previous and proposed system, we consider the flows arrived at their destination node. In the previous systems, F1 arrived at destination node at time slot #12 while in the proposed system F1 arrived at destination node at time slot #9. The reason is F1 in the proposed system utilized the empty time slots #4 of IntraRecv time slots while F1 in the previous systems did not utilize the empty time slots of IntraRecv scheduling. F2 arrived at time slot #16 to the destination node in the previous scheme while in the proposed scheme due to utilization of IntraRecv time slot #4, F2 reached to the destination node at slot #13. In the previous scheme, F3 arrived at the destination node in slot #8 whereas flow F3 in the proposed scheme arrived at the destination node at time slot #5. Because scheduling, an empty time slot of IntraSend is utilized by IntraRecv scheduling. Similarly, F4 in the proposed scheme arrived at the destination node at time slot#12 while in the previous scheme F4 arrived at time slot #16 due to the non-utilization of the IntraRecv time slot. Finally, F5 in the previous scheme arrived at the destination node at time slot #24 while in the proposed scheme F5 arrived at the destination node at time slot #13 because the IntraSend scheduling utilized the empty time slots of IntraRecv. Similarly, the empty time slots of IntraSend is utilized by the IntraRecv scheduling. The flow diagram describing different states of the proposed scheme is shown in Figure 3.

Performance Evaluation
We use GENSEN [30] tool to perform the simulation of proposed scheme. The nodes are placed randomly in the area of 100 m × 100 m area.
The proposed scheme compared the acceptance rate of flows with the previous scheme in [30]. In the previous scheme the IntraSend scheduling schedule the flows in the IntraSend time slots and not utilized the empty time slots of IntraRecv time slots. Similarly, the IntraRecv scheduling not utilizing the empty time slots of IntraSend Scheduling. While in the proposed scheme the clusters that have only outgoing flows then the IntraSend scheduling can utilize the empty IntraRecv time slots. Similarly, if the cluster has only incoming flows then the IntraRecv scheduling can utilize the empty IntraSend time slots. We analyzed the performance of compared schemes based on six metrics, i.e., the impact of a deadline, the impact of flows, the impact of clusters, the impact of intra-cluster slots, the utilization of IntraSend time slots and utilization of IntraRecv time slots.

Impact of Deadline
To analyze the performance of the proposed and previous scheme with respect to the deadline. We take a short deadline from 1 to 3 while the numbers of flows and clusters are fixed to 6 and 6 respectively. In Figure 4a, the acceptance rate of the proposed and previous schemes are compared with respect to the deadline = 1. In the proposed scheme, the clusters that have either IntraSend or IntraRecv flows can make use of both IntraRecv and IntraSend time-slots. In contrast to the proposed scheme, the previous schemes provide a lower acceptance rate. Because in the previous scheme, although clusters have only outgoing or incoming flows the IntraSend and IntraRecv scheduling are not utilizing the empty IntraRecv and IntraSend time slots respectively. In Figure 4b,c, the deadline increases to 2 and 3 respectively. As the deadline increases the acceptance rate also increases in both schemes. However, the acceptance of the proposed scheme is higher than the previous scheme. As the proposed IntraRecv flows can make use of both IntraRecv and IntraSend time-slots. In contrast to the proposed scheme, the previous schemes provide a lower acceptance rate. Because in the previous scheme, although clusters have only outgoing or incoming flows the IntraSend and IntraRecv scheduling are not utilizing the empty IntraRecv and IntraSend time slots respectively. In Figure 4b,c, the deadline increases to 2 and 3 respectively. As the deadline increases the acceptance rate also increases in both schemes. However, the acceptance of the proposed scheme is higher than the previous scheme. As the proposed scheme are utilizing both the IntraSend and IntraRecv time slots. While the previous schemes utilize the IntraSend time slots and did not utilize the IntraRecv empty time slots.

Impact of Flows
For the impact of flow analysis, the number of clusters is fixed to 6, while the number of flows ranges from 4 to 8. As shown in Figure 5a-e in contrast to the previous schemes-the proposed scheme shows a high acceptance rate. The acceptance rate is high in the proposed scheme because the clusters utilized slots of both IntraSend and IntraRecv flows. For instance, if there are no incoming flows in the cluster then IntraSend flows can utilize the IntraRecv slots. Similarly, if there are no outgoing flows in the cluster then the IntraRecv scheduling can utilized the IntraSend time slots. While in the previous scheme for clusters that have incoming or outgoing flows then the IntraSend and IntraRecv flow cannot use one another empty time slots.
As shown in Figure 5a-e, as the number flows increases the acceptance rate decreases. Since the number of flows is increasing then the interference is also increasing. An increase in the interference means the acceptance rate will be decreasing. However, the acceptance rate of the proposed scheme is higher than the previous scheme.
Because in the proposed scheme when the flows have interfered in the IntraSend time slots then the interference flows can be scheduled in the IntraRecv time slots. Whereas in the previous scheme if the flows are interfering in the IntraSend time slots then the flows cannot be scheduled in the IntraRecv time slots, hence increasing the scheduling. Therefore, fewer flows are scheduled in the given deadline and hence the acceptance rate is decreasing. and IntraRecv flow cannot use one another empty time slots.
As shown in Figure 5a-e, as the number flows increases the acceptance rate decreases. Since the number of flows is increasing then the interference is also increasing. An increase in the interference means the acceptance rate will be decreasing. However, the acceptance rate of the proposed scheme is higher than the previous scheme. Because in the proposed scheme when the flows have interfered in the IntraSend time slots then the interference flows can be scheduled in the IntraRecv time slots. Whereas in the previous scheme if the flows are interfering in the IntraSend time slots then the flows cannot be scheduled in the IntraRecv time slots, hence increasing the scheduling. Therefore, fewer flows are scheduled in the given deadline and hence the acceptance rate is decreasing.

Impact of Clusters
In this section, we analyze the performance of the proposed and previous scheme with respect to a number of clusters. We fix the number of flows to 6 while the numbers of clusters are ranges from 4 to 8. As shown in Figure 6a-e, the proposed scheme shows high acceptance compare to the previous scheme in terms of a number of clusters. Because for clusters that have only outgoing or incoming flows, in that case, the intra-cluster schedule cannot use intra-cluster slots of each other.
Whereas in the proposed scheme for clusters that have either incoming or outgoing flows, then intra-cluster schedule can still utilize the intra-cluster slots if one another at that time.

Impact of Clusters
In this section, we analyze the performance of the proposed and previous scheme with respect to a number of clusters. We fix the number of flows to 6 while the numbers of clusters are ranges from 4 to 8. As shown in Figure 6a-e, the proposed scheme shows high acceptance compare to the previous scheme in terms of a number of clusters. Because for clusters that have only outgoing or incoming flows, in that case, the intra-cluster schedule cannot use intra-cluster slots of each other.
Whereas in the proposed scheme for clusters that have either incoming or outgoing flows, then intra-cluster schedule can still utilize the intra-cluster slots if one another at that time.
to a number of clusters. We fix the number of flows to 6 while the numbers of clusters are ranges from 4 to 8. As shown in Figure 6a-e, the proposed scheme shows high acceptance compare to the previous scheme in terms of a number of clusters. Because for clusters that have only outgoing or incoming flows, in that case, the intra-cluster schedule cannot use intra-cluster slots of each other.
Whereas in the proposed scheme for clusters that have either incoming or outgoing flows, then intra-cluster schedule can still utilize the intra-cluster slots if one another at that time.

Impact of Intra-Cluster Time Slots
In this section to analyze the performance of the intra-cluster time slots. The numbers of IntraSend and IntraRecv time slots were varied from 1 to 3. The numbers of clusters and flows are fixed to 6. As shown in Figure 7a-c the proposed scheme has a high acceptance rate than flows in the previous scheme. The reason is, for IntraRecv scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme if the clusters have only incoming flows then that clusters can utilize the IntraSend time slots.

Impact of Intra-Cluster Time Slots
In this section to analyze the performance of the intra-cluster time slots. The numbers of IntraSend and IntraRecv time slots were varied from 1 to 3. The numbers of clusters and flows are fixed to 6. As shown in Figure 7a-c the proposed scheme has a high acceptance rate than flows in the previous scheme. The reason is, for IntraRecv scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme if the clusters have only incoming flows then that clusters can utilize the IntraSend time slots.
In this section to analyze the performance of the intra-cluster time slots. The numbers of IntraSend and IntraRecv time slots were varied from 1 to 3. The numbers of clusters and flows are fixed to 6. As shown in Figure 7a-c the proposed scheme has a high acceptance rate than flows in the previous scheme. The reason is, for IntraRecv scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme if the clusters have only incoming flows then that clusters can utilize the IntraSend time slots.  In Figure 8a,b the proposed scheme has also a high acceptance rate than flows in a previous scheme. The reason is, for IntraSend scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme the clusters that have only incoming flows then that clusters can utilized the IntraSend times time slots. In contrast to the proposed scheme, the previous scheme for the clusters that have outgoing flows then the IntraSend scheduling cannot utilize the IntraRecv time and vice versa.

IntraSend Time Slots Utilization
To further analyzed the intra-cluster time slots. We compare the previous scheme and proposed scheme based on the number of IntraSend slots which did not utilized by the IntraRecv scheduling in the previous scheme whereas the proposed scheme IntraRecv scheduling utilized these empty IntraSend time slots.
As shown in Figure 9 the proposed scheme shows higher utilization of IntraSend time slots as compared to previous scheme. The reason is that in the IntraRecv scheduling the clusters that have only incoming flows and there are no outgoing flows then the IntraRecv scheduling in the previous In Figure 8a,b the proposed scheme has also a high acceptance rate than flows in a previous scheme. The reason is, for IntraSend scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme the clusters that have only incoming flows then that clusters can utilized the IntraSend times time slots. In contrast to the proposed scheme, the previous scheme for the clusters that have outgoing flows then the IntraSend scheduling cannot utilize the IntraRecv time and vice versa. In Figure 8a,b the proposed scheme has also a high acceptance rate than flows in a previous scheme. The reason is, for IntraSend scheduling has allocated 1 slot to schedule flows which is insufficient. Therefore, in the proposed scheme the clusters that have only incoming flows then that clusters can utilized the IntraSend times time slots. In contrast to the proposed scheme, the previous scheme for the clusters that have outgoing flows then the IntraSend scheduling cannot utilize the IntraRecv time and vice versa.

IntraSend Time Slots Utilization
To further analyzed the intra-cluster time slots. We compare the previous scheme and proposed scheme based on the number of IntraSend slots which did not utilized by the IntraRecv scheduling in the previous scheme whereas the proposed scheme IntraRecv scheduling utilized these empty IntraSend time slots.
As shown in Figure 9 the proposed scheme shows higher utilization of IntraSend time slots as compared to previous scheme. The reason is that in the IntraRecv scheduling the clusters that have only incoming flows and there are no outgoing flows then the IntraRecv scheduling in the previous scheduling will only utilized the IntraRecv time slots and will not utilized the empty time slots of IntraSend time slots. While in the proposed scheme for the clusters that have only outgoing flows

IntraSend Time Slots Utilization
To further analyzed the intra-cluster time slots. We compare the previous scheme and proposed scheme based on the number of IntraSend slots which did not utilized by the IntraRecv scheduling in the previous scheme whereas the proposed scheme IntraRecv scheduling utilized these empty IntraSend time slots.
As shown in Figure 9 the proposed scheme shows higher utilization of IntraSend time slots as compared to previous scheme. The reason is that in the IntraRecv scheduling the clusters that have only incoming flows and there are no outgoing flows then the IntraRecv scheduling in the previous scheduling will only utilized the IntraRecv time slots and will not utilized the empty time slots of IntraSend time slots. While in the proposed scheme for the clusters that have only outgoing flows then that cluster head can utilize the time slots of IntraRecv scheduling as well as the empty time slots of IntraSend time slots. Hence the proposed scheme efficiently utilized the IntraSend and IntraRecv time slots.

IntraRecv Time Slots Utilization
As shown in Figure 10, compared to previous scheme IntraSend Scheduling the proposed scheme IntraSend scheduling efficiently utilized the IntraRecv time slots. Because in the proposed scheme the clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots and not utilizing the empty time slots of IntraRecv. Whereas in the proposed scheme that clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots as well as the empty time slots of IntraRecv and hence efficiently utilized both the IntraSend and IntraRecv time slots.

Conclusions
In this paper, a new intra-cluster scheduling scheme for real-time flow was proposed. In the proposed scheduling algorithm, the IntraSend scheduling utilizes both the IntraSend and IntraRecv time slots if the cluster has outgoing flows. Similarly, if a cluster has only incoming flows, the IntraRecv scheduling algorithm utilizes both the IntraRecv and IntraRecv time slots. In simulation results, we first analyzed the impact of various parameters on our proposed scheme. Then, we compared our scheme to the existing algorithm, and showed that our scheme has more flows delivered within the deadline than the existing solutions. The simulation results showed that the performance of the proposed scheme had a higher acceptance rate than the previous scheme. Further enhancements for our technique may certainly be to enhance our scheduling scheme by delivering

IntraRecv Time Slots Utilization
As shown in Figure 10, compared to previous scheme IntraSend Scheduling the proposed scheme IntraSend scheduling efficiently utilized the IntraRecv time slots. Because in the proposed scheme the clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots and not utilizing the empty time slots of IntraRecv. Whereas in the proposed scheme that clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots as well as the empty time slots of IntraRecv and hence efficiently utilized both the IntraSend and IntraRecv time slots.

IntraRecv Time Slots Utilization
As shown in Figure 10, compared to previous scheme IntraSend Scheduling the proposed scheme IntraSend scheduling efficiently utilized the IntraRecv time slots. Because in the proposed scheme the clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots and not utilizing the empty time slots of IntraRecv. Whereas in the proposed scheme that clusters that have only outgoing flows the IntraSend scheduling will utilized the IntraSend time slots as well as the empty time slots of IntraRecv and hence efficiently utilized both the IntraSend and IntraRecv time slots.

Conclusions
In this paper, a new intra-cluster scheduling scheme for real-time flow was proposed. In the proposed scheduling algorithm, the IntraSend scheduling utilizes both the IntraSend and IntraRecv time slots if the cluster has outgoing flows. Similarly, if a cluster has only incoming flows, the IntraRecv scheduling algorithm utilizes both the IntraRecv and IntraRecv time slots. In simulation results, we first analyzed the impact of various parameters on our proposed scheme. Then, we compared our scheme to the existing algorithm, and showed that our scheme has more flows delivered within the deadline than the existing solutions. The simulation results showed that the performance of the proposed scheme had a higher acceptance rate than the previous scheme. Further enhancements for our technique may certainly be to enhance our scheduling scheme by delivering more real-time flows within the deadline. In this work, we focused our attention only on an intracluster scheduling scheme to schedule the real-time flow within the deadline, by considering

Conclusions
In this paper, a new intra-cluster scheduling scheme for real-time flow was proposed. In the proposed scheduling algorithm, the IntraSend scheduling utilizes both the IntraSend and IntraRecv time slots if the cluster has outgoing flows. Similarly, if a cluster has only incoming flows, the IntraRecv scheduling algorithm utilizes both the IntraRecv and IntraRecv time slots. In simulation results, we first analyzed the impact of various parameters on our proposed scheme. Then, we compared our scheme to the existing algorithm, and showed that our scheme has more flows delivered within the deadline than the existing solutions. The simulation results showed that the performance of the proposed scheme had a higher acceptance rate than the previous scheme. Further enhancements for our technique may certainly be to enhance our scheduling scheme by delivering more real-time flows within the deadline. In this work, we focused our attention only on an intra-cluster scheduling scheme to schedule the real-time flow within the deadline, by considering interference within the cluster and among the clusters. The proposed scheme can be further enhanced by reducing the number of slots of inter-cluster real-time flow between the cluster head. Importantly, the cluster head signal is too strong to interfere with other cluster headers. Therefore, more time slots are required for the headers nodes to schedule their data between cluster-headers. Thus, to reduce the inter-cluster time slots, it would be efficient for flows in the same cluster that send their message to nodes in other similar clusters to apply some aggregation function and send them in one slot, instead of sending in multiple slots. A second improvement to the scheme could be to apply a compositional real-time scheduling into the proposed frame works. The last improvement to the scheme would be to extend the proposed model to a more realistic model; a routing protocol and distributed approach will be considered for the proposed scheme.