Abstract

The execution of emptying policy ensures the convergence of any solution to the system to a unique periodic orbit, which does not impose constraints on service-time and capacity of buffers. Motivated by these problems, in this paper, the service-time-limited policy is first proposed based on the information resulted from the periodic orbit under emptying policy, which imposes lower and upper bounds on emptying time for the queue in each buffer, by introducing lower-limit and upper-limit service-time factors. Furthermore, the execution of service-time-limited policy in the case of finite buffer capacity is considered. Moreover, the notion of feasibility of states under service-time-limited policy is introduced and then the checking condition for feasibility of states is given; that is, the solution does not exceed the buffer capacity within the first cycle of the server. At last, a sufficient condition for determining upper-limit service-time factors ensuring that the given state is feasible is given.

1. Introduction

Switched server system is a class of mathematical models for queuing systems with finite number of conflicting queues alternately served by a single server. Moreover, there exists a nonzero setup time of the server whenever the server switches from serving one queue to another one, and assume that the jobs arrive at and leave the buffer at constant rates in this paper. The evolution of the system involves continuous changes of queues in buffers and discrete switching of the server, and thus switched server system is a special class of hybrid systems [1, 2], with extensive applications in practical problems, such as manufacturing systems [3, 4] and traffic signal control systems [57], and more applications of this field can be referred to [8].

Fundamental synthesis problem for switched server systems is to design the scheduling policy of the server. The emptying policy (i.e., the server alternately empties queues in buffers with any fixed cyclic sequence) was proposed in [9], under which any solution to the system asymptotically converges to a unique periodic orbit analytically determined by system parameters [6]. However, the emptying policy does not impose constraints on queue-emptying time in converging process of the solution. In practical applications, the server with emptying policy must take longer time to empty buffers with larger queues, and thus other buffers have to wait longer time for service. Thus, in order to ensure fairness for all buffers, the upper bound for emptying time of each buffer based on emptying policy was considered in [10], and a conjecture about stability of the policy was given, which was further proved in [11]. Also, [12] considered distributed execution of emptying policy with upper bounds for queue-emptying time of buffers in the network with multiple servers. In most of literatures, a scheduling policy is first proposed, and then dynamic behaviors of the system are analyzed, as in [9]. In [1316], a different idea for controlling the network was presented; that is, the steady state (a periodic orbit) of the system is first given, and then corresponding scheduling policy is derived ensuring the convergence of any solution to the steady state. However, the policies in [1316] resulting from the given periodic orbit do not impose constraints on service time of buffers.

The problems about designs of the scheduling policies with constraints on queue serving process mainly result from practical applications. For example, in traffic intersection, the signal control for signalized intersections was modeled as switched server systems in [5, 6], and emptying policy was applied, where signal light in a signalized intersection is seen as the server; incoming links to the signalized intersection are seen as buffers, which can accommodate queues of vehicles; the lost time between phase switching is seen as the nonzero setup time of the server; and signal control law is seen as the scheduling policy of the server. However, in traffic control [17], the shortest and longest green-time constraints on each of traffic phases are necessarily imposed for feasible signal control plans, with the purpose of ensuring traffic safety for drivers and pedestrians, and controlling total delay of signalized intersections, respectively. Thus, inspired by traffic control, the emptying policy is further extended in this paper, based on which the service-time-limited policy is proposed, with lower and upper bounds on queue-emptying time of each buffer by introducing lower-limit and upper-limit service-time factors, respectively. Furthermore, the buffer capacity is finite for most of real-world problems. For example, in a signalized intersection, incoming links with finite length only accommodates finite number of vehicles. Thus, the execution of service-time-limited policy in the case of finite buffer capacities is considered, and moreover the notion of feasibility of states under service-time-limited policy is introduced, that is, the state originating in which the solution asymptotically converges to the steady state (the periodic orbit) and does not exceed buffer capacities in the converging process. Moreover, the checking condition for feasibility of states is given; that is, the solution does not exceed buffer capacities within the first cycle of the server, and a sufficient condition for determining upper-limit service-time factors ensuring that the given state is feasible is given.

The paper is organized as follows. After descriptions for the model of switched server systems in Section 2, we introduce emptying and service-time-limited policies in Section 3. Feasibility of states and checking conditions under service-time-limited policy are considered in Section 4. Conclusions and future research topics are given in Section 5.

2. Descriptions of Switched Server Systems

A switched server system (see Figure 1 for illustration) consists of buffers and a single server, where the server alternately serves buffers in terms of the scheduling policy and only one buffer each time. Let denote the queue of jobs in the buffer at the moment . Because of nonnegative constraints on the queue of jobs in each buffer, the state space of the system is defined as . Assume that the jobs arrive at the buffer at a constant rate [lots/s]. Whenever the buffer , in which there are accumulative queues, that is, , is served by the server, the jobs leave the buffer at a constant rate [lots/s]; and whenever the buffer , in which there are no accumulative queues, that is, , is served by the server, the jobs leave the buffer at the constant rate . Both and are called arriving rate and service rate of jobs in the buffer , respectively, and is called the load of the buffer . Whenever the server switches from serving the buffer to the buffer , there exists a nonzero setup time , ,   , during which the server is in idle.

In terms of above descriptions for switched server systems, the dynamics of the queues of jobs in buffers can be described by the following.

Whenever the buffer with is served by the server,Whenever the buffer with is served by the server,Whenever the server switches from serving one buffer to another one,where , , and is -dimensional unit vector; that is, the th element of equals one and other elements of are zero.

In the subsequent parts, we assume that the total load of buffers satisfiesObviously, there is no equilibrium in the system described by (1), (2), and (3), and the periodic orbit depending on the scheduling policy is the steady-state of the system, which attracts other trajectories of the system. It was proved in [15] that the inequality (4) is the sufficient and necessary condition for the existence of stable scheduling policy for the system.

3. Stability of Scheduling Policy

In this section, stability analysis of two scheduling policies, that is, emptying and service-time-limited policies, is presented, where the service-time-limited policy admits service-time constraints on buffers based on emptying policy.

3.1. Emptying Policy

The emptying policy is described as follows:(1)The buffers are served by the server in terms of any cyclic sequence, for example, .(2)Whenever the server switches from serving the buffer to the buffer (), there exists a nonzero setup time ; and whenever the server switches from serving the buffer to the buffer 1, the setup time is .(3)When the buffer is being served, the service-time for the queue is given bywhere , , denotes the moment the server starts serving the buffer within the th cycle of the server, denotes the queue of jobs in the buffer at the moment , and then is the service-time for emptying the queue in the buffer .

From the statements in emptying policy, the server, with nonzero setup times, empties queues in buffers in terms of cyclic sequence. The following results hold.

Theorem 1 (see [6]). Consider the switched server system described by (1), (2), and (3) under emptying policy. Assume that the total load of buffers satisfies (4). Then, the following statements hold:(1)There exists a unique periodic orbit to the system, which is globally asymptotically stable with respect to the state space .(2)The period of the periodic orbit is given bywhere is the total idle time within one cycle of the server.(3)For the periodic orbit , the service-time for the queue in the buffer is given by

Remark 2. The periodic orbit in Theorem 1 is denoted by in the succeeding parts. It is derived from (6) and (7) in Theorem 1, that the periodic orbit can be uniquely determined by given system parameters, and satisfy . Importantly, from (7) in Theorem 1, the significance of the periodic orbit is that within the period and the total number of jobs arriving at the system is exactly equal to the total number of jobs leaving the system at service rates. Specifically, if the signalized intersection is modeled as a switched server system, inequality (4) is the undersaturated condition for signalized intersections, and the period is the minimum signal cycle (refer to detailed discussions in [6]). Moreover, the consensus problems (i.e., states of the system can converge to a common value by local protocol) have become fundamental investigations in coordinated control of multiagent systems, due to extensive applications in engineering fields (e.g., refer to [18, 19]). In the sense of traffic control, the saturation level of some direction is defined as the ratio of total number of vehicles arriving at and leaving the intersection. From the significance of the periodic orbit , saturation levels are equal in different directions. Then, the emptying policy can realize the consensus of saturation levels in traffic control, implying the balance of traffic loads in different directions. Thus, the periodic orbit has practical meanings in applications to traffic control.

3.2. Service-Time-Limited Policy

The emptying policy does not restrict service-time for buffers. However, the problem of constraints on service-time of buffers is of importance in practical applications, as stated in Introduction. In this subsection, the service-time-limited policy is presented based on emptying policy, which can be described by the following.

The first two terms and are the same as those in descriptions of emptying policy; and in emptying policy is replaced by the following:(3′)When the buffer is being served, the service-time for the queue is given bywhere and are, respectively, the shortest and longest service-time assigned to the buffer , where is given by (7), and both and are, respectively, called service-time lower-limit and upper-limit factors, satisfying and .

The information resulted from and of the periodic orbit determined in Theorem 1 is utilized for the design of service-time-limited policy. From (8), the service-time of the buffer within the th cycle is, respectively, restricted by the shortest service-time and longest service-time . If the queue-emptying time is less than assigned to the buffer , then . In this case, the serving process of the buffer is as follows: the queue in the buffer is first served at the service-rate until the queue is emptied (refer to dynamics in (1)) and then the buffer is served at the arriving-rate until the shortest service-time ends (refer to dynamics in (2)). If the queue-emptying time is more than assigned to the buffer , then . Otherwise, the queue in the buffer is emptied, and the server switches to the next buffer.

Consider the following inequality:If and satisfy and , then (9) is the same as (4).

The following results hold for switched server systems under service-time-limited policy.

Theorem 3. Consider the switched server system described by (1), (2), and (3) under service-time-limited policy. Assume that the total load of buffers satisfies (9). Then, any solution to the system asymptotically converges to the periodic orbit .

The proof of Theorem 3 can be referred to the appendix. Furthermore, consider the following two special cases for service-time-limited policy:(C1), ; that is, , .(C2), ; that is, , .

Consider the following inequality:If is satisfied, then (10) is the same as (4).

Theorem 4. Consider the switched server system described by (1), (2), and (3) under service-time-limited policy with factors satisfying (C1) or (C2). Assume that the total load of buffers satisfies (10). Then, any solution to the system asymptotically converges to the periodic orbit .

Proof. When applying service-time-limited policy with factors satisfying (C1), the statements in Theorem 4 can be derived by setting , , in the proof of Theorem 3; and when applying service-time-limited policy with factors satisfying (C2), the statements in Theorem 4 can be derived by Cases 1 and 3 in the proof of Theorem 3. In above two cases, (9) in the proof of Theorem 3 is changed to (10).

4. Feasibility of Service-Time-Limited Policy

Based on emptying policy, service-time-limited policy admits service-time constraints on buffers by introducing service-time lower-limit and upper-limit factors and , but does not bring constraints on the buffer capacity. However, the buffer capacity is finite for most of practical problems. Thus, we furthermore consider the execution of service-time-limited policy in case of finite buffer capacity.

Let , be the capacity of the buffer , defined as the maximum queue of jobs that the buffer can accommodate. Then, the admissible region of the system is denoted as .

It is derived, from the significance of the periodic orbit , that the maximum queue of jobs in the buffer is given by within the period . Assume that the periodic orbit lies inside the admissible region ; that is,

Definition 5. Consider the switched server system described by (1), (2), and (3) under service-time-limited policy. The state is called feasible if for the given service-time lower-limit factors , there exist service-time upper-limit factors , such that the solution originating in asymptotically converges to the periodic orbit and moreover satisfies .
Furthermore, it is deduced from (11) that there must exist service-time upper-limit factors , , satisfying the following inequalities:Inequalities (12) indicate that when the queue of jobs in the buffer is emptied, the queue of jobs in the buffer does not exceed the buffer capacity after one cycle of the server. The factors , satisfying (12) are noted as , in the following parts.

Theorem 6. Consider the switched server system described by (1), (2), and (3) under service-time-limited policy with given and . Assume that the total load of buffers satisfies (9) (or (10) if all satisfy (C1) or (C2)), and the state has the property that the solution originating in the state satisfies the condition , where is the moment the server starts serving the buffer within the first cycle of the server. Then, the state is feasible with respect to .

The proof of Theorem 6 can be referred to the appendix. It is derived from Theorem 6 that the checking condition for feasibility of the state is that the corresponding solution does not exceed the buffer capacity within the first cycle of the server with given and . Accordingly, the feasible region , that is, all of feasible states with respect to and , can be obtained from the checking condition for feasibility of the state. Specifically, analytic expression of feasible region for switched server systems with two buffers can be easily determined as follows:(1)If , , then , where , are, respectively, given by(2)If , , then , where , are respectively given by

From Theorem 6, feasibility of the state depends on choices of factors and . However, infeasibility of the state with respect to some given factors and , does not imply inexistence of factors ensuring the state is feasible. Furthermore, we consider the problem of how to solve factors , such that the given state is feasible with given .

If service-time-limited policy is applied with given or , in terms of the checking condition for feasibility of states in Theorem 6, the given state is infeasible if at least one of the following inequalities holds:The significance of (15) is that the queue in the buffer exceeds the buffer capacity even if all of buffers are served with the shortest service-time within the first cycle of the server. Furthermore, a sufficient condition is given for determining , ensuring the given state is feasible.

Proposition 7. Consider the switched server system described by (1), (2), and (3) under service-time-limited policy with given . For the given state , if the set of factors given by (16) is nonempty and there exists , such that the total load of buffers satisfies (9) (or (10) if all , satisfy (C1) or (C2)), then the given state is feasible with respect to :

Proof. Inequalities (a) in (16) imply that (12) holds; and we can derive from (b) in (16) thatwhich indicates that the solution does not exceed the buffer capacity within the first cycle of the server. Furthermore, , in (c) are the maximum allowable service-time upper-limit factors. Thus, from Theorem 6, the given state is feasible.

5. Conclusions

For most of real-world problems about queuing systems, service-times and queues of buffers must be constrained. In this paper, inspired by practical problems in traffic control, the service-time-limited policy is proposed, which is the extension to emptying policy. Moreover, the execution of service-time-limited policy in the case of finite buffer capacities is considered, and the notion of feasibility of states under service-time-limited policy is presented. Furthermore, based on the checking condition for feasibility of states (i.e., the solution does not exceed buffer capacities within the first cycle of the server), a sufficient condition for determining feasibility of states is given.

The scheduling policy proposed in this paper admits taking into consideration service-time and queue constraints on buffers by the introduction of the notion of feasibility of states, and service-time upper-limit factors for the feasible state can be solved by testing the nonempty set . Thus, our results can be applied to traffic control as stated in the Introduction, especially in critical saturation case; for example, the length of queues of vehicles on incoming links may be larger, with lower traffic loads satisfying (4). Signal control of T-shape intersection is typical application of our results, which can be referred to [6] for details.

From views of traffic control, the server may serve multiple nonconflicting flows, which is our further research extension of results in the paper.

Appendix

Proof of Theorem 3. Assume that and , respectively, represent moments that the server starts and finishes serving the queue in the buffer in terms of service-time-limited policy, within the th cycle of the server, , . Then, is the moment that the server starts serving the buffer within the first cycle of the server. Consider the following three possible cases for any solution to the system originating in the initial state :
Case 1. .
Case 2. .
Case3. .
We prove that the solution asymptotically converges to the periodic orbit in any case above.
Case 1. If the queue-emptying time of the buffer satisfiesthen, the queue-emptying time of the buffer within any cycle satisfiesProof of Case 1. We prove Case 1 by using mathematical induction. From (A.1), Case 1 holds with . Furthermore, assume that Case 1 holds with some , then, in terms of service-time-limited policy, we have that andThe emptying time for the queue satisfiesFrom (9), we have thatThen,Substitute (A.6) into (A.4); we have thatThe emptying time for the queue satisfiesFrom (9), we have thatThen,Substitute (A.10) into (A.8); we have thatThus, from (A.7) and (A.11), Case 1 holds with . Then, Case 1 holds by induction. Here the proof of Case 1 ends.
Case 2. If the queue-emptying time of the buffer satisfiesthen, there must exist such thatProof of Case 2. After one cycle of the server from time , we have thatwhere and are total amounts of jobs arriving at and leaving the buffer within one cycle, respectively.
From (A.12), and in (A.14), respectively, satisfyThen, the increment in the buffer satisfiesThus, from (9) and (A.14), we have that and . From analogous procedures above, we can derive the following conclusions that ifthen, is a strictly monotonic increasing sequence, which indicates that there must exist , such thatIn terms of service-time-limited policy, (A.18) and (A.8), we have thatThen, Case 2 can be obtained from (A.19), (A.20), and results in Case 1. Here the end of proof of Case 2.
Case 3. If the queue-emptying time of the buffer satisfiesThen, there must exist such thatProof of Case 3. After one cycle of the server from time , in terms of (A.21) and service-time-limited policy, and in (A.14), respectively, satisfyThen, the increment in the buffer satisfiesThus, from (9) and (A.14), we have that and . From analogous procedures above, we can derive the following conclusions that ifthen, is a strictly monotonic decreasing sequence, which indicates that there must exist , such thatAfter one cycle of the server from time , we have thatwhere from (A.26), and , respectively, satisfyThen, the increment in the buffer satisfiesThen,Substitute (A.6) into (A.31), we have thatFrom (A.28), (A.26), and (A.32),Then, Case 3 can be obtained from (A.27), (A.33), and results in Case 1. Here ends the proof of Case 3.
In conclusion, for any one of three possible cases, the service-time-limited policy converges to emptying policy. Thus, from results in Theorem 1, the solution asymptotically converges to the periodic orbit .

Proof of Theorem 6. Consider switched server systems under service-time-limited policy with , . We first prove the following statement.
Statement 1. If the state has the property stated in Theorem 6, then, the condition , , holds.
Proof of Statement 1. We prove the results in Statement 1 by using mathematical induction. In the case of , Statement 1 holds because of the property of the state . Furthermore, assume that Statement 1 holds for some , ; that is, . Consider three possible cases for any buffer .
Case 1. If the queue-emptying time satisfies , then, in terms of service-time-limited policy, we have thatIt is derived, from (12) and (A.34), that .
Case 2. If the queue-emptying time satisfiesthen, in terms of service-time-limited policy, (A.34) still holds. Thus, we have that .
Case 3. If the queue-emptying time satisfies , then, from proof of Case 3 in proof of Theorem 3, we have that .
In conclusion, we have that , which indicates that Statement 1 holds for . By mathematical induction, Statement 1 holds for . Here ends the proof of Statement 1.
Statement 1 immediately implies , . Moreover, from Theorem 3, the solution asymptotically converges to the periodic orbit . Then, from Definition 5, the state is feasible.
Furthermore, Statement 1 still holds for , satisfying (C1) or (C2), which implies , . Moreover, from Theorem 4, the solution asymptotically converges to the periodic orbit . Then, from Definition 5, the state is feasible.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors would like to thank the referees for their constructive comments. This work is partially supported by National Natural Science Foundation of China (51308005 and 61374191) and Scientific Research Project of Beijing Education Committee (PXM2015_014212_000023, PXM2015_014212_000018, PXM2015_014212_000019, and PXM2015_014212_000021).