Next Article in Journal
Partitioning Entropy with Action Mechanics: Predicting Chemical Reaction Rates and Gaseous Equilibria of Reactions of Hydrogen from Molecular Properties
Previous Article in Journal
Hyperledger Fabric Access Control System for Internet of Things Layer in Blockchain-Based Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Internet of Things: The Optimal Generation Rates under Preemption Strategy in a Multi-Source Queuing System

1
School of Microelectronics and Communication Engineering, Chongqing University, Chongqing 400044, China
2
National Mobile Communications Research Laboratory, Southeast University, Nanjing 210000, China
*
Author to whom correspondence should be addressed.
Submission received: 24 June 2021 / Revised: 12 August 2021 / Accepted: 13 August 2021 / Published: 16 August 2021

Abstract

:
With the rapid development and wide application of the Internet of Things (IoT), how to provide timely and fresh information for strategic analysis and decision-making has become a key issue. Recent studies have shown that preemption strategies are of great importance to the improvement of information freshness. In view of this, we focus on the multi-source preemptive queuing model and investigate how to control the generation rate of each source to achieve the optimal overall information freshness. Specifically, we consider two typical preemption strategies: self-preemption strategy and global-preemption strategy. Noting that the urgency requirements of the systems on the data of each source are different, we propose the weighted average age of information (AoI) to characterize the overall information freshness of the system. For the self-preemption strategy, we prove that the optimal generation rate allocation is a convex problem and present an efficient algorithm to find the optimal solution. Additionally, we also derive a closed-form approximate optimal solution under light load cases to meet the demands for rapid deployment. For the global-preemption strategy, we directly derive the closed-form optimal solution of the corresponding problem. By comparing the optimized weighted average AoIs, the performance achieved by the global-preemption system was better than that achieved by the self-preemption system in terms of the overall timeliness. The numerical analysis verified the correctness of the theoretical analysis and that the proposed approximate solution had high accuracy not only under light load cases but also under other cases.

1. Introduction

The Internet of Things (IoT) is yet another revolutionary development in the information technology industry. Currently, the IoT is an important productivity contribution to the rapid development of the world, integrating various information sensing devices with the Internet to form a huge network that achieves sensing and real-time control of the real world in time and space [1]. By using the technology of the IoT, information sensing devices, such as radio frequency identification, infrared sensors, and laser scanners, can collect a wide variety of information used for analysis and decision-making of upper level data-driven applications.
IoT has been widely used in various fields, such as Intelligent Transport System (ITS), Smart Grid (SG), and Internet of Vehicles (IoV) [2,3,4]. It is worth noting that, for a considerable part of practical applications, the freshness of the data streams and status updates in the IoT are of great significance for strategies analysis and decision-making [5]. For the autonomous driving system, for example, if it receives obsolete information at the receiver, it will cause an obvious reduction in the accuracy and reliability of the system decision and may even cause serious accidents.
In actual application scenarios, status updates from different sources correspond to different information and the data processing equipments may have different urgency requirements for these status updates. For example, in the UAV networks, the control terminal hopes to receive the UAV’s flight speed, acceleration, and position updates with high real-time performance. However, the timeliness requirements for information, such as the engine temperature and remaining fuel, are relatively low.
Based on the above backgrounds, in this work, we focus on optimizing the overall timeliness of a multi-source state update system, in which the urgency requirements of the receiver for update packets from different sources are different. To characterize common problems in preemptive queuing systems, we model the system as a multi-source M/M/1/1 preemptive queuing model. Specifically, we consider two typical preemption strategies: the self-preemption strategy and global-preemption strategy. In addition, we introduce the weight factor of the age of information (AoI) to represent the difference of the urgency requirements between different sources. The optimization of the overall timeliness can be achieved by finding the optimal generation rate of each source, which minimizes the weighted average AoI.

1.1. Contributions

The main contributions of this paper are summarized as follows.
  • The multi-source status update system is modeled as a multi-source M/M/1/1 queuing model with preemption. To characterize the overall timeliness of the system, we introduce the weight factor and the weighted average AoI measure. A generation rate control scheme, which varies the generation rate of different sources according to their different urgencies, is proposed to improve the overall timeliness performance. Additionally, we formulate the optimal generation rate problem as a weighted average AoI minimization problem.
  • For the self-preemption strategy, we prove that the weighted average AoI minimization is a convex problem and propose a convex optimization algorithm to find the optimal generation rate. To meet the demands of rapid deployment in some scenarios, a set of approximate optimal generation rates for the system with light load is proposed. To facilitate the further analysis and comparison with the overall freshness of the self-preemptive strategy, we also derive a set of upper bound and lower bound for the minimal weighted average AoI. For the global-preemption strategy, we explicitly present a closed-form expression for the corresponding optimal generation rates. We surprisingly found that the proposed approximate optimal generation rates for the self-preemption strategy were the same as the optimal generation rates for the global-preemption strategy. In addition, the lower bound of the minimal weighted average AoI of the self-preemption strategy was the same as that of the global-preemption strategy, manifesting that the performance achieved by the global-preemption system was better than that achieved by the self-preemption system in terms of the overall timeliness.
  • Numerical analysis verified our theoretical results. In particular, we show that optimizing the generation rate significantly improved the overall timeliness performance of the system. According to the obtained relative error between the true optimum and approximation, the proposed approximate optimal generation rates for the self-preemption strategy approached the true optimum well in the light load case and even in other cases, which provides great application value for the proposal of the approximate optimal generation rate.

1.2. Organization

The rest of this paper is structured as follows: the related works are presented in Section 2. In Section 3, we present the system model and formulate the optimization problems. In Section 4, we investigate the optimal status update generation rate for both the self-preemption strategy and global-preemption strategy. Numerical simulations that match our propositions are presented in Section 5. Finally, our work is concluded in Section 6.

2. Related Works

In this Section, we present the related works to give broader perspective and further understandings about our work.
In 2011, AoI was proposed to effectively characterize information freshness [6]. AoI at any time in the system is defined as the time elapsed since the generation of the latest accepted state update. Thus, AoI perfectly presents the freshness of the latest information received by the receiver. However, traditional timeliness metrics, such as packet delay, only focus on the time elapsed by each packet in the system, and cannot evaluate the information freshness of the receiver as AoI can [7].
Based on single-source M/M/1 (We follow the Kendall notations for identifying the statistics of different queues.), M/D/1, D/M/1, and M/G/1 First-Come-First-Served (FCFS) queuing models, the average AoI has been derived in [6,8]. The work in [8] obtained several formulas for the stationary distributions of the AoI and the peak AoI in the FCFS G/G/1 queue. Furthermore, the authors of [9] derived a general expression for the stationary distribution of the AoI in the single-source queuing model. The research of [10] was the first work to investigate the average AoI in a multi-source setup, which derived the average AoI for a multi-source FCFS M/M/1 queueing model. The authors of [11] derived a closed-form expression for the average AoI of each source in the multi-source M/G/1 FCFS queuing model.
Package management policies are often considered as an effective tool to improve the freshness of state updates, e.g., related works were carried out in [9]. According to the definition of AoI, shortening the buffer size of the queue is considered as an intuitive policy, in which the packets that arrive while the server is busy are discarded to avoid receiving outdated packets. In [12,13], it was shown that a large buffer size does not always improve the information freshness.
On the other hand, researchers have also focused on preemption systems. Essentially, the preemption strategies prevent the accumulation and the sojourn of the status update packets in buffer such that the newly arrived status update packets can be directly served. Therefore, generally, the preemption strategies can ensure that the information received is as fresh as possible except for some special cases, e.g., [14], where the service time follows Gamma distribution. The work [15] derived the average AoI of the single-source M/G/1/1 preemptive queuing model in a closed form.
For the queuing model with single source Poisson arrival, the authors of [14] calculated the average AoI and the average peak AoI under two different schemes: Last-Come-First-Served (LSCF) with preemption and LCFS without preemption, respectively, where the service time follows a Gamma distribution. For the multi-source M/G/1/1 preemptive queuing model, the commonly used preemption strategies are divided into two types: self-preemption strategies and global preemption strategies. (Global-preemption means that any stream can preempt itself and any other stream. However, in the self-preemption strategy, any stream can only preempt itself).
Based on the multi-source M/G/1/1 queuing model with global-preemption, the authors of [16] derived a closed-form expression for the average AoI and the average peak AoI of each stream. After that, in the work [17], a closed-form expression for the average AoI of each source in the multi-source M/M/1/1 queuing model with self-preemption was derived. The authors of [17] also compared the self-preemption strategy to the global-preemption and found that the former performed better in the multi-source M/M/1/1 queue.
There have been some optimization works based on AoI. In [18], the authors investigated the minimization of the AoI of the date collected by the ground sensor nodes in the UAV-assisted wireless powered IoT system. The work [19] introduced a deep reinforcement learning-based approach to minimize the AoI in the networks whose topology was without prior assumptions. A recent work [20] designed an optimal offline solution and an effective online solution to minimize the average AoI in energy harvesting-based networked embedded systems with energy constraints.
The authors of [21] investigated the distribution of AoI in a wireless networked control system with two hops—based on which, the authors minimized the tail of the AoI distribution respect to the frequency of generating information updates, i.e., the generation rate of a source. The authors utilized a probabilistic scheduling method to minimize the AoI in transmissions with truncated channel inversion while satisfying an average power constraint in [22].
Furthermore, in a multi-source system, optimizing the generation rate of the state updates of each source is an important scheme to improve the overall timeliness of the system. For instance, the study in [16] showed that setting equal generation rates for all sources achieved the lowest total average AoI and total average peak AoI of all sources for the multi-source M/G/1/1 queuing model with global-preemption.
In [13], the peak average AoI was used to characterize the information freshness of multi-source M/G/1 and multi-source M/G/1/1 queueing systems. The seeking of the optimal generation rate of each source was formulated by using quasi-convex optimization, and the structural characteristics of the optimal solution were obtained. Additionally, the investigation of [23] showed that the optimal update rate significantly reduced the AoI violation probability for a wide range of AoI constraints.

3. System Model and Problem Formulations

In this section, we model the multi-source preemptive queuing system in IoT as a common multi-source M/M/1/1 preemptive queuing system and introduce the weighted average AoI to characterize the overall timeliness of the system. Additionally, we consider two common preemption strategies—the self-preemption strategy and global-preemption strategy—and then formulate optimization problems w. r. t. the generation rate of each source under these two strategies.

3.1. System Model

In this paper, we consider a multi-source queuing system with preemption, as shown in Figure 1.
A sensor collects status updates from N sources and sends them to a receiver node, e.g., a data fusion center, for analyses and decision-making. For example, for an automatic driving system, it needs to send information, such as the vehicle speed and engine temperature to the remote receiving end to obtain real-time analysis and instruction generation. The sensors always send newly arrived data to improve the timeliness of the data at the receiving end, thereby, ensuring the safety of the passengers.
The status update sources are indexed by i I : = 1 , 2 , , N . We assume that each source i generates status updates independently according to a Poisson process with rate λ i . We denote the sum of the generation rates of all sources as the total generation rate λ , i.e., λ = i = 1 N λ i . Moreover, we assume that the arrived status updates would subsequently enter a length-1 queue with preemption, which means there is no buffer to store the incoming updates.
Taking into account the length variance of status updates, the reliability of the wireless channel, and the signal quality of the receiver, we also assume that the time used for successfully transmitting a status update to the receiver follows a negative exponential distribution with parameter μ . Therefore, we shall describe this system as a multi-source M/M/1/1 system with preemption. The server utilization of source i and the whole system are denoted as ρ i = λ i / μ and ρ = λ / μ = i = 1 N ρ i , respectively.
Preemption Strategies: Two typical preemption strategies are considered for the multi-source system, i.e., self-preemption and global-preemption [17]. Specifically, taking into account that different data streams represent different attributes and connotations, and that the packet scheduling and management of the queue in each single stream can guarantee the independent statistical characteristics of each stream, we consider the self-preemption strategy, in which the packets can only preempt that of the same source but not any others.
On the other hand, since the management of packets in each data stream will increase the complexity of scheduling, we also consider a preemption strategy that does not distinguish between data streams, i.e., a global-preemption strategy, in which the packets can preempt not only that of the same source but also that of any other source.

3.2. Problem Formulations

In most cases, IoT-based system requires the received information to be as timely and fresh as possible. Hence, AoI, which is defined as the time elapsed since the generation of the latest successfully received information, would be a proper metric for characterizing the overall timeliness of status updates at the receiver. Generally, status updates from different sources contain different information, and the receiver has different urgency requirements for these updates. That is, different sources have different urgency.
Recall that, in the mentioned automatic driving system, a higher urgency requirement is required for vehicle speed and a lower urgency requirement is required for engine temperature. Therefore, we introduce weight factors to the average AoI of each status update source and use the weighted average AoI to quantify the overall timeliness of the system. Specifically, the weighted average AoI is defined as
Δ ¯ : = i = 1 N ω i Δ i ,
where Δ i represents the average AoI of source i and ω i [ 0 , 1 ] is the weight factor that characterizes the urgency requirement on source i. The sum of the weight factors is set to be 1, i.e., i = 1 N ω i = 1 . It is clear that the larger ω i is, the more urgent the requirement for source i is.
To improve the overall timeliness performance of the system significantly, we chose the generation rate control scheme, which reasonably adjusts the generation rate of different sources under the fixed total generation rate λ . In practice, e.g., in the exemplary automatic driving system, both the bandwidth allocated for status update transmission and energy allocated for sensing at wireless connected sensors can be modeled as factors adjusting the generate rate.
With the given weight factor ω i , service rate μ , total generation rate λ , and adjustable { λ i } i I under the constraint λ = i = 1 N λ i , our goal was to minimize the weighted average AoI of the system by optimizing the generation rate of sources. Accordingly, for a multi-source system with self-preemption, the above problem can be formulated as Problem P 1 , as shown in the following.
P 1 : min λ i : i I Δ ¯ self
s . t . i = 1 N λ i λ = 0 ,
λ i > 0 , i I ,
in which Δ ¯ self is the weighted average AoI of the self-preemptive system.
Similarly, we have Problem P 2 for a multi-source system with global-preemption.
P 2 : min λ i : i I Δ ¯ glob
s . t . i = 1 N λ i λ = 0 ,
λ i > 0 , i I ,
in which Δ ¯ glob is the weighted average AoI of the global-preemptive system.
For the multi-source M/M/1/1 systems with the above two different preemption strategies, we shall separately find the optimal allocation of the generation rate of sources to achieve the best overall timeliness performance.
It is expected that by optimizing the generation rate of each source, the overall timeliness of the system, e.g., the automatic driving system can be improved, and some significant insights can be obtained for system design.

4. Optimal Status Update Generation Rate under Self-Preemption Strategy and Global-Preemption Strategy

In this section, we first prove that the generation rate optimization problem is convex as shown in Proposition 1 and give the corresponding KKT conditions for the self-preemption system. To obtain the optimal generation rate under the self-preemption strategy, we present a basic convex optimization algorithm—Algorithm 1 as an example. Furthermore, we propose a set of closed-form approximate optimal generation rates with high accuracy as shown in Proposition 2. Additionally, to facilitate the further analysis and comparison with the overall freshness of the self-preemptive strategy, we also derive a set of upper bound and lower bound for the minimal weighted average AoI in Proposition 3. For the global-preemption strategy, we directly derived the corresponding optimal generation rate as shown in Proposition 4.

4.1. Optimal Generation Rate Allocation under Self-Preemption Strategy

In this subsection, we consider a multi-source M/M/1/1 system with self-preemption in which only updates from the same source can preempt each other. We optimize the generation rate of sources to achieve the optimal overall timeliness of the system under the generation rate control scheme.
As shown in [17], the average AoI of source i in the self-preemptive system is given by
Δ i , self = ρ i 3 + ρ i 2 2 ρ i + 3 + ρ i ρ i 2 + 5 ρ i + 3 + ρ i + 1 2 μ ρ i ρ i + 1 ρ + 1 ,
where ρ i : = j I i ρ j and ρ i + ρ i = ρ .
By substituting (4) into (1), the weighted average AoI of the self-preemptive system is given by
Δ ¯ self = i = 1 N ω i ρ i 3 + ρ i 2 2 ρ i + 3 + ρ i ρ i 2 + 5 ρ i + 3 + ρ i + 1 2 μ ρ i ρ i + 1 ρ + 1 .
To optimize the generation rate of sources, we first analyze the convexity of P 1 .
Proposition 1.
P 1 is a convex problem.
Proof. 
By using expression ρ i = ρ ρ i and performing some simplifications, (5) can be rewritten as
Δ ¯ self = i = 1 N ω i μ 1 + ρ 1 + ρ 1 + ρ i + 1 + ρ 2 ρ i 1 = 1 μ 1 + ρ + i = 1 N ω i μ 1 1 + ρ i + 1 + ρ ρ i = 1 μ + λ + i = 1 N ω i 1 λ i + μ + 1 + ρ λ i
Therefore, the first and second partial derivatives of Δ ¯ self w. r. t. λ i are
Δ ¯ self λ i = ω i 1 λ i + μ 2 1 + ρ λ i 2
and
2 Δ ¯ self λ i 2 = 2 ω i 1 λ i + μ 3 + 1 + ρ λ i 3 > 0 ,
2 Δ ¯ self λ i λ j = 0 , i I , j I i .
By checking the positive definitiness of the Hessian matrix, one can prove the convexity of Δ ¯ self w. r. t. λ 1 , λ 2 , , λ N . To be specific, the Hessian matrix of Δ ¯ s e l f is given by
H Δ ¯ self = 2 Δ ¯ self λ 1 2 2 Δ ¯ self λ 1 λ 2 2 Δ ¯ self λ 1 λ N 2 Δ ¯ self λ 2 λ 1 2 Δ ¯ self λ 2 2 2 Δ ¯ self λ 2 λ N 2 Δ ¯ self λ N λ 1 2 Δ ¯ self λ N λ 2 2 Δ ¯ self λ N 2 .
From (8) and (9), one can notice that the Hessian matrix is a diagonal matrix, in which elements on diagonal are positive. Hence, the eigenvalues of the Hessian matrix are positive, which implies that the Hessian matrix of Δ ¯ self is positive definite. Taking into account the fact that the feasible set of P 1 is convex, it is concluded that Δ ¯ self is a convex function w. r. t. λ 1 , λ 2 , , λ N under the condition of 0 < λ i < λ , which contains the feasible set. □
Then, we write the corresponding Lagrangian function as follows:
L = Δ ¯ self + θ i = 1 N λ i λ j = 1 N γ i λ i ,
in which θ is a real number and γ i 0 for i I . Since P 1 is a convex problem, the KKT conditions are sufficient and necessary conditions for the optimal solution, which are
L λ i = ω i 1 λ i + μ 2 + 1 + ρ λ i 2 + θ γ i = 0 ,
i = 1 N λ i λ = 0 ,
λ i > 0 ,
γ i 0 ,
γ i λ i = 0 ,
for i I . Moreover, from the conditions (14)–(16), the KKT conditions can be simplified as
θ ω i 1 λ i + μ 2 + 1 + ρ λ i 2 = 0 ,
i = 1 N λ i λ = 0 ,
λ i > 0 ,
for i I .
Due to the complexity of (17)–(19), we cannot obtain the optimal solution by solving them directly. As an alternative, we can use convex optimization algorithms to obtain the optimal solution since we have already established the convexity of P 1 . To be specific, let us give a basic convex optimization algorithm as an example.
We consider using Newton’s method combined with the penalty function method by adding a barrier function. Before presenting the algorithm, we first denote the following notations: Λ = λ 1 , λ 2 , λ N T , A = 1 , 1 , , 1 N × 1 and
G Λ = Δ ¯ self Λ i = 1 N k i ln λ i ,
where k i ( 0 < k i < 1 ) is reduction coefficient of the penalty factor. Based on Newton’s method, we can obtain the increment δ Λ of Λ in each iteration by solving the matrix equation
2 G Λ A T A 0 δ Λ W = G Λ 0 .
By considering the fact that H Δ ¯ self is positive definite, one can check that 2 G Λ is also positive definite, which implies that the KKT matrix is a non-singular matrix. Therefore, it can be deduced that Equation (21) in the algorithm always has a solution. This provides the possibility to compute the Newton decrement d via
d = δ Λ T 2 G Λ δ Λ 1 / 2 .
With these preparations, let us present the algorithm as shown in Algorithm 1. Particularly, the contribution and the reason for proposing Algorithm 1 are stated as follows.
  • Contribution of Algorithm 1: A basic and typical tool for solving the optimal generation rates under the self-preemption strategy.
  • Reason of proposing Algorithm 1: According to the complexity of the obtained KKT conditions, we find that it is difficult to solve the optimal solution directly, and, for a convex problem, there are a large number of mature convex optimization algorithms that can be used to solve the optimal solution. It is for these reasons that we proposed a typical and basic algorithm, Algorithm 1, as an easy-to-use tool and example.
Algorithm 1: Newton- Δ ¯ self Minimizer.
  Input: ω i > 0 , μ i > 0 , λ > 0 , reduction coefficient of the penalty factor 0 < k i < 1 , i I , convergence range ε and number of iterations M.
  Output: Optimal generation rate Λ 🟉
1 
  Initialize the iterations counter to j = 1 , Newton decrement d ε andgeneration rate Λ = 1 / N , , 1 / N T .
2 
  while  j M  do (
3 
      Compute increment δ Λ and W via matrix equation (21);
4 
      Update Newton decrement d via Equation (22);
5 
      if  d 2 2 > ε  then (
6 
        Choose step size l by backtracking line search;
7 
        Update candidate optimal generation rate Λ = Λ + l δ Λ ;
8 
        Update iteration counter j = j + 1 ;
9 
      else (
10 
        break;
11 
    end
12 
   ( end (
13 
  Return Optimal generation rate Λ 🟉 = Λ
In some scenarios, the computing resources for the system are limited to completing the convex optimization algorithms. Hence, a closed-form approximate generation rate would instead be used by the system to save the computing resources and efficiently allocate the total generation rate. In systems with high data collection costs, if the status update is too frequent, the overall system overhead would be very high. For instance, the update frequency in the ecological environment monitoring system should be controlled for prolonging the equipment battery life, especially in remote areas. In this case, smaller generation rates are required, and the system works under a light load. Based on these observations, we investigate the approximate generation rate of the self-preemptive system with light load where the total load ρ 0 , as shown in Proposition 2. Let us first prove the following lemma.
Lemma 1.
Suppose x i > 0 , y i > 0 , i I . Inequality i = 1 N x i y i i = 1 N x i 2 / i = 1 N y i holds, and the only condition that the equal sign holds is y i x j = y j x i , i , j I .
Proof. 
See Appendix A. □
Based on Lemma 1, the approximate optimal generation rates to P 1 can be readily derived in the following proposition.
Proposition 2.
The optimal generation rates of the self-preemption system in the light load case can be approximated as
λ i = ω i i = 1 N ω i λ , i I .
Proof. 
Since ρ 0 implies that ρ i 0 , (6) can, therefore, be approximated as
Δ ¯ self 1 μ 1 + ρ + i = 1 N ω i μ 1 + 1 + ρ ρ i = ρ μ 1 + ρ + 1 + ρ μ i = 1 N ω i ρ i a ρ μ 1 + ρ + 1 + ρ μ i = 1 N ω i 2 / i = 1 N ρ i = ρ μ 1 + ρ + 1 + ρ λ i = 1 N ω i 2 ,
in which a follows from Lemma 1, and the only condition that the equal sign holds is λ i ω j = λ j ω i , i , j I . Thus, one can set that
λ i ω i = t , i I .
After processing the equation, we obtain
λ = i = 1 N λ i = t i = 1 N ω i ,
which implies that t = λ / i = 1 N ω i . By combining (25), we find that the equal sign of (a) holds if and only if λ i = ω i λ / i = 1 N ω i , i I .
According to obtained results, the error brought by the approximation is minimal and can be ignored. Therefore, (23) can be applied to approximate the optimal generation rate in the light load case, which minimizes the weighted average AoI of the self-preemptive system. □
Note that the results in Proposition 2 for the light load case can also be applicable to other load cases, which will be verified later in Section 5. Particularly, it can also be seen that the optimal generation rate of each source is equal when the timeliness requirements of each source are the same, i.e., λ i = λ λ n N , i I , which means the approximate optimal generation rate proposed in Proposition 2 is the same as the optimal generation rate in this case.
Additionally, to facilitate further analysis and comparison with the overall freshness of the self-preemptive strategy, we also found a set of upper bounds Δ ¯ min , self ub and lower bounds Δ ¯ min , self lb of the minimal weighted average AoI Δ ¯ min , self , as shown in the following proposition.
Proposition 3.
A set of lower bound and upper bound of the minimal weighted average AoI is derived as
Δ ¯ min , self lb = 1 + ρ λ i = 1 N ω i 2 ,
and
Δ ¯ min , self ub = 1 μ + λ + 1 + ρ i = 1 N ω i 2 1 + ρ i = 1 N ω i 2 λ λ + i = 1 N ω i ω i μ + λ ω i λ ω i i = 1 N ω i i = 1 N ω i μ + λ ω i λ ω i i = 1 N ω i i = 1 N ω i .
Proof. 
Based on (6) and the condition ρ ρ i 0 ,
Δ ¯ self 1 + ρ i = 1 N ω i λ i .
Note that (29) holds for λ 1 , λ 2 , , λ N . Therefore, we have
Δ ¯ min , self min 1 + ρ i = 1 N ω i λ i = b 1 + ρ λ i = 1 N ω i 2 ,
where b follows from Lemma 1. We, therefore, obtain a lower bound of Δ ¯ min , self .
By substituting the results on Proposition 2 into (6), an approximate minimal weighted average AoI can be derived, which can also be an upper bound of Δ ¯ min , self . Therefore, (28) is obtained. This ends the proof. □

4.2. Optimal Generation Rate of Different Sources under Global-Preemption Strategy

In this subsection, we study a multi-source M/M/1/1 system with global-preemption. We optimize the generation rate of sources to achieve the optimal overall timeliness of the system under the generation rate control scheme.
The multi-source M/M/1/1 system with global-preemption was comprehensively studied in [16]. Accordingly, the average AoI of source i is
Δ i , glob = 1 λ i E e λ S ,
where E represents the expectation operator and S is the service time that follows negative exponential distribution with parameter μ . Thus,
E e λ S = 0 + μ e λ + μ s d s = μ λ + μ .
Therefore, the weighted average AoI of the global-preemptive system is given by
Δ ¯ glob = μ + λ μ i = 1 n ω i λ i .
Recalling (3), it is obvious that P 2 is a convex problem. However, unlike the analysis for the self-preemptive system, the true optimal generation rates for P 2 can be derived directly by using Lemma 1, as shown in the following proposition.
Proposition 4.
The optimal generation rates of the global-preemption system can be derived as
λ i = ω i i = 1 N ω i λ , i I .
Proof. 
By using Lemma 1,
Δ ¯ glob = μ + λ μ i = 1 n ω i λ i c μ + λ μ i = 1 N ω i 2 / i = 1 N λ i = i = 1 N ω i 2 1 μ + 1 λ .
in which c follows from Lemma 1, and the only condition that the equal sign holds is λ i ω j = λ j ω i , i , j I . With the same manipulations in (25) and (26), we find that λ i = ω i λ / i = 1 N ω i , i I . This ends the proof. □
From (23) and (34), we surprisingly find that the optimal generation rates under the global-preemption strategy are the same as the approximate optimal generation rates under the self-preemption strategy.
Additionally, from (30) and (35), we find that the lower bound of minimal weighted average AoI of the self-preemption strategy is the same as that of the global-preemption strategy, which indicates that the performance of the global-preemption system is better than that of the self-preemption system in terms of the overall timeliness.

5. Numerical Analysis of the Weighed Average AoIs of Preemptive Systems

In this section, we first provide numerical analysis for the weighed average AoIs of the self-preemptive system and the global-preemptive system, i.e, Δ ¯ self and Δ ¯ glob , to show the optimization brought by generation rate control. Then, for the system with self-preemption, the given numerical examples illustrate the accuracy of the approximate optimal generation rate. Finally, we compare the performance of the self-preemptive system and the global-preemptive system. In all of the numerical results, we assume N = 2 and μ = 1 .
Figure 2 shows the weighted average AoI under the self-preemptive strategy, i.e., Δ ¯ self , for different values of λ 1 . By substituting the settings μ = 1 and λ = 0.4 into (5), we obtain three curves of Δ ¯ self , which respectively corresponds to ω 1 = 0.5 , ω 1 = 0.3 and ω 1 = 0.1 . First, we observed that Δ ¯ self decreases first and then increases as the generation rate of source 1 λ 1 increases for all the three curves. Moreover, it can be seen from the above curves that Δ ¯ self is a convex function with respect to λ 1 , which verifies Proposition 2.
Secondly, the points H 🟉 , I 🟉 , and J 🟉 , which, respectively, represent the minimum of Δ ¯ self (obtained by using Algorithm 1 for different ω 1 ) when ω 1 is set to 0.5, 0.3, and 0.1 respectively, and points H * , I * , and J * , which are the approximate minimums of Δ ¯ self (obtained by combining (5) and (23)), show that the overall timeliness of the system can be optimized by generation rate control. Furthermore, it can be seen that the optimal generation rate of source 1 λ 1 increases as the weight factor ω 1 increases according to the points H 🟉 , I 🟉 and J 🟉 because the more urgent source needs a higher generation rate. In fact, this can be also deduced from (23).
It is also important to note that the positions of H 🟉 and H * , I 🟉 and I * , and J 🟉 and J * are all very close, which implies that the proposed approximations on optimal generation rate has a high accuracy, and this will be analyzed further in Figure 4. Additionally, recalling the automatic driving system using the self-preemption strategy mentioned earlier, we set λ 1 to be the corresponding generation rate of engine temperature and λ 2 to be that of vehicle speed. One can find that by optimizing the generation rate, the overall timeliness of the system is improved.
Figure 3 shows the weighted average AoI under global-preemptive strategy, i.e., Δ ¯ glob , for different values of λ 1 .Here, we similarly set μ = 1 and λ = 0.4 and depicts three curves of Δ ¯ self based on (33), which, respectively, correspond to ω 1 = 0.8 , ω 1 = 0.6 , and ω 1 = 0.3 .Then, we obtain the minimums of Δ ¯ glob for all the three curves according to (35). Points K 🟉 , L 🟉 and M 🟉 are the minimums of Δ ¯ glob correspond to the cases when ω 1 = 0.8 , ω 1 = 0.6 and ω 1 = 0.3 , respectively. Similar to the analysis for Figure 2, one can verify that P 2 is a convex problem and check that the information freshness of the system can be improved by controlling the generation rate.
Additionally, it can also be deduced that a lower generation rate must be allocated to a less urgent source because the optimal generation rate of source 1 λ 1 decreases as the weight factor ω 1 decreases. Recalling the automatic driving system using the global-preemption strategy mentioned earlier, for the black and red curves, we set λ 1 to be the corresponding generation rate of vehicle speed and λ 2 to be that of the engine temperature. It can be seen that, by optimizing the generation rate, the overall timeliness of this system is improved.
To evaluate the accuracy of the approximate optimal generation rates proposed for the self-preemption strategy, we first introduce the metric η , which measures the relative error between approximation and true optimum.
η : = Δ ¯ self * Δ ¯ self 🟉 Δ ¯ self * ,
in which Δ ¯ self 🟉 is the weighted average AoI when the generation rate of sources is set following the true optimum and Δ ¯ self * is that achieved by using the approximate optimal generation rate, i.e., Δ ¯ self * = Δ ¯ self ω 1 ω 1 + ω 2 λ , ω 2 ω 1 + ω 2 λ . The smaller η is, the higher accuracy the approximate optimal generation rate can achieve.
In Figure 4, we investigate how the relative error η varies with the total generation rate λ . The weight factor ω 1 is set to 0.5, 0.3 and 0.1. We first use Algorithm 1 to obtain the minimums of Δ ¯ self under different ω 1 , i.e., ω 1 =0.5, 0.3, 0.1 and λ . According to (5), (23) and the obtained minimums of Δ ¯ self , we calculate the relative error η based on (36) and depict three curves of η , which correspond to ω 1 = 0.5 , ω 1 = 0.3 , and ω 1 = 0.1 . One can see that relative error η is extremely small when λ < 0.2 ( ρ < 0.2 ) for every ω 1 , which verifies that the approximate optimal generation rate under a light load (Proposition 2) is highly accurate.
It can also be seen in Figure 4 that, when ω 1 takes general values( ω 1 0.5 ), the relative error η increases as λ , i.e., ρ increases. This is because the approximate optimal generation rates were originally proposed for light load cases. However, η is still relatively small ( η < 2.5 × 10 4 ) in Figure 4 for all λ ( 0 , 1 ) , which means that the approximate optimal generation rate can achieve a high accuracy under any system load and can be applied to any load. Particularly, η always equals to 0 when ω 1 = 0.5 , i.e., η = 0 , this is because the approximate optimal generation rate is equivalent to the optimal generation rate when the urgency requirements for each source are the same.
For instance, for the automatic driving system that adopts a self-preemption strategy, we use the same settings as the analysis in Figure 2. The accuracy of the proposed approximate optimal generation rate is excellent, which means that this set of approximate optimal generation rates has extremely high application value in the case of limited terminal computing resources or rapid deployment.
In Figure 5, we compare the weighted average AoIs of the self-preemptive system and the global-preemptive system. λ = 0.4 , and the weight factor ω 1 is set to 0.5 and 0.3, respectively. By using (5), we first obtain the black curve when ω 1 = 0.5 and the red curve ω 1 = 0.3 , which show how the weighted average AoI varies with the generation rate λ 1 under self-preemption. Likewise, for the global-preemption, the green curve when ω 1 = 0.5 and the blue curve when ω 1 = 0.3 can also be obtained by using (33). According to (5) and (23), we find the approximate minimums of Δ ¯ self when ω 1 takes 0.5 and 0.3. Correspondingly, the minimums of Δ ¯ glob for different ω 1 can be found according to (35).
Point T 🟉 is the minimum of Δ ¯ glob in the case when ω 1 = 0.5 , and the points H 🟉 , I 🟉 , and M 🟉 were defined earlier. It can be seen that, under the same weight setting, Δ ¯ glob is always smaller than Δ ¯ self , which is consistent with the conclusion in [17]. Moreover, we notice that the abscissas of points I 🟉 and M 🟉 and points H 🟉 and T 🟉 are the same, which is because the optimal generation rates under the global-preemption strategy are the same as the approximate optimal generation rates under the self-preemption strategy.
Additionally, from the curves and expressions (23) and (34), the overall timeliness of the global-preemptive system is very similar to that of the self-preemptive system. For the aforementioned automatic driving system, we set λ 1 to be the corresponding generation rate of engine temperature and λ 2 to be that of vehicle speed. According to Figure 5 and the previous analysis, one can find that, in terms of overall timeliness, the global-preemption strategy was more suitable for this system.

6. Conclusions

In this paper, we studied the overall timeliness of a multi-source sensing system with preemption. To optimize the overall timeliness performance of the preemptive system, we controlled the generation rate of sources according to the different urgency requirements for different sources. Specifically, we considered two preemption strategies, a self-preemption strategy and global-preemption strategy.
For the self-preemption strategy, the optimization problem was proven to be a convex problem by proving the positive semi-definiteness of the Hessian matrix of the objective function, and the optimal generation rate was obtained directly by using the convex optimization algorithm. We provided Algorithm 1 as a basic exemplary algorithm for reference. To meet the possible rapid deployment requirements in practice, a closed-form expression for an approximate optimal generation rate under the self-preemption strategy and light load was derived by using Lemma 1, which was based on Cauchy’s inequality.
After that, in order to gain more insights, we used Lemma 1 to derive a set of upper and lower bounds of the minimal weighted average AoI. For the global-preemption strategy, we also used Lemma 1 to derive a closed-form expression for the optimal generation rate. Through comparison, we found that the minimal weighted average AoI under the global-preemption strategy was exactly the same as the proposed lower bound of the minimal weighted average AoI under the self-preemption strategy, which indicates that the global-preemption strategy is better than the self-preemption strategy in terms of overall timeliness.
Numerical analysis validated our theoretical analyses and illustrated that: (1) The overall timeliness performance of the preemptive system was significantly improved by controlling generation rate. (2) The proposed approximate optimal generation rates for the self-preemption strategy were surprisingly accurate in the light load case and even in other cases. It could be seen in Figure 4 that the relative error η was no more than 2.5 × 10 4 for all total arrival rates λ ( 0 , 1 ) .

Author Contributions

Conceptualization, all authors; methodology, T.Z. and Z.C.; software, S.C.; validation, all authors; formal analysis, T.Z.; investigation, T.Z.; resources, all authors; data curation, T.Z. and S.C.; writing—original draft preparation, T.Z. and S.C.; writing—review and editing, Z.C.; visualization, T.Z. and S.C.; supervision, Z.C.; project administration, Z.C.; funding acquisition, Z.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant 61901066, by the Chongqing Science and Technology Commission under Grant cstc2019jcyj-msxmX0575. It was also supported by the open research fund of National Mobile Communications Research Laboratory, Southeast University (No. 2021D13).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Proof of Lemma 1

Since x i > 0 and y i > 0 hold, i I , one can find
i = 1 N x i y i i = 1 N y i d i = 1 N x i y i · y i 2 = i = 1 N x i 2 ,
in which (d) follows from Cauchy’s inequality. Thus, one can find
i = 1 N x i y i i = 1 N x i 2 / i = 1 N y i ,
in which the equal sign holds if and only if y i x j = y j x i , i , j I .

References

  1. Garg, S.; Kaur, K.; Kaddoum, G.; Choo, K.R. Toward Secure and Provable Authentication for Internet of Things: Realizing Industry 4.0. IEEE Internet Things J. 2020, 7, 4598–4606. [Google Scholar] [CrossRef]
  2. Pattar, S.; Sandhya, C.R.; Vala, D.; Buyya, R.; Venugopal, K.R.; Iyengar, S.S.; Patnaik, L.M. Ontology based Service Discovery for Intelligent Transport Systems using Internet of Things. In Proceedings of the 2018 Fourteenth International Conference on Information Processing (ICINPRO), Bangalore, India, 21–23 December 2018; pp. 1–3. [Google Scholar] [CrossRef]
  3. Barman, B.K.; Yadav, S.N.; Kumar, S.; Gope, S. IOT Based Smart Energy Meter for Efficient Energy Utilization in Smart Grid. In Proceedings of the 2018 2nd International Conference on Power, Energy and Environment: Towards Smart Technology (ICEPE), Shillong, India, 1–2 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
  4. Zualkernan, I.A.; Aloul, F.; Qasimi, S.A.; AlShamsi, A.; Marashda, M.A.; Ahli, A. DigiMesh-based Social Internet of Vehicles (SIoV) for Driver Safety. In Proceedings of the 2018 International Symposium in Sensing and Instrumentation in IoT Era (ISSI), Shanghai, China, 6–7 September 2018; pp. 1–5. [Google Scholar] [CrossRef]
  5. Palattella, M.R.; Dohler, M.; Grieco, A.; Rizzo, G.; Torsner, J.; Engel, T.; Ladid, L. Internet of Things in the 5G Era: Enablers, Architecture, and Business Models. IEEE J. Sel. Areas Commun. 2016, 34, 510–527. [Google Scholar] [CrossRef] [Green Version]
  6. Kaul, S.; Yates, R.; Gruteser, M. Real-time status: How often should one update? In Proceedings of the 2012 Proceedings INFOCOM, Orlando, FL, USA, 25–30 March 2012; pp. 2731–2735. [Google Scholar] [CrossRef] [Green Version]
  7. Sun, Y.; Kadota, I.; Talak, R.; Modiano, E. Age of Information: A New Metric for Information Freshness. IEEE J. Sel. Areas Commun. 2019, 5, 1365–1379. [Google Scholar] [CrossRef]
  8. Inoue, Y.; Masuyama, H.; Takine, T.; Tanaka, T. The stationary distribution of the age of information in FCFS single-server queues. In Proceedings of the 2017 IEEE International Symposium on Information Theory (ISIT), Aachen, Germany, 25–30 June 2017; pp. 571–575. [Google Scholar] [CrossRef]
  9. Inoue, Y.; Masuyama, H.; Takine, T.; Tanaka, T. A General Formula for the Stationary Distribution of the Age of Information and Its Application to Single-Server Queues. IEEE Trans. Inf. Theory 2019, 65, 8305–8324. [Google Scholar] [CrossRef] [Green Version]
  10. Yates, R.D.; Kaul, S. Real-time status updating: Multiple sources. In Proceedings of the 2012 IEEE International Symposium on Information Theory Proceedings, Cambridge, MA, USA, 1–6 July 2012; pp. 2666–2670. [Google Scholar] [CrossRef]
  11. Moltafet, M.; Leinonen, M.; Codreanu, M. Closed-Form Expression for the Average Age of Information in a Multi-Source M/G/1 Queueing Model. In Proceedings of the 2019 IEEE Information Theory Workshop (ITW), Visby, Sweden, 25–28 August 2019; pp. 1–5. [Google Scholar] [CrossRef] [Green Version]
  12. Costa, M.; Codreanu, M.; Ephremides, A. On the Age of Information in Status Update Systems With Packet Management. IEEE Trans. Inf. Theory 2016, 62, 1897–1910. [Google Scholar] [CrossRef]
  13. Huang, L.; Modiano, E. Optimizing age-of-information in a multi-class queueing system. In Proceedings of the 2015 IEEE International Symposium on Information Theory (ISIT), Hong Kong, China, 14–19 June 2015; pp. 1681–1685. [Google Scholar] [CrossRef] [Green Version]
  14. Najm, E.; Nasser, R. Age of information: The gamma awakening. In Proceedings of the 2016 IEEE International Symposium on Information Theory (ISIT), Barcelona, Spain, 10–15 July 2016; pp. 2574–2578. [Google Scholar] [CrossRef] [Green Version]
  15. Najm, E.; Yates, R.; Soljanin, E. Status updates through M/G/1/1 queues with HARQ. In Proceedings of the 2017 IEEE International Symposium on Information Theory (ISIT), Aachen, Germany, 25–30 June 2017; pp. 131–135. [Google Scholar] [CrossRef] [Green Version]
  16. Najm, E.; Telatar, E. Status updates in a multi-stream M/G/1/1 preemptive queue. In Proceedings of the IEEE INFOCOM 2018—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Honolulu, HI, USA, 5–19 April 2018; pp. 124–129. [Google Scholar] [CrossRef] [Green Version]
  17. Farazi, S.; Klein, A.G.; Richard Brown, D. Average Age of Information in Multi-Source Self-Preemptive Status Update Systems with Packet Delivery Errors. In Proceedings of the 2019 53rd Asilomar Conference on Signals, Systems, and Computers, Pacific Grove, CA, USA, 3–6 November 2019; pp. 396–400. [Google Scholar] [CrossRef]
  18. Hu, H.; Xiong, K.; Qu, G.; Ni, Q.; Fan, P.; Letaief, K.B. AoI-Minimal Trajectory Planning and Data Collection in UAV-Assisted Wireless Powered IoT Networks. IEEE Internet Things J. 2021, 8, 1211–1223. [Google Scholar] [CrossRef]
  19. Sert, E.; Sonmez, C.; Baghaee, S.; Uysal-Biyikoglu, E. Optimizing age of information on real-life TCP/IP connections through reinforcement learning. In Proceedings of the 2018 26th Signal Processing and Communications Applications Conference (SIU), 2–5 May 2018; pp. 1–4. [Google Scholar] [CrossRef]
  20. Zhou, Z.; Fu, C.; Xue, C.J.; Han, S. Energy-Constrained Data Freshness Optimization in Self-Powered Networked Embedded Systems. IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 2020, 39, 2293–2306. [Google Scholar] [CrossRef]
  21. Champati, J.P.; Al-Zubaidy, H.; Gross, J. Statistical Guarantee Optimization for AoI in Single-Hop and Two-Hop FCFS Systems with Periodic Arrivals. IEEE Trans. Commun. 2021, 69, 365–381. [Google Scholar] [CrossRef]
  22. Wang, Y.; Chen, W. An AoI-Optimal Scheduling Method for Wireless Transmissions with Truncated Channel Inversion. In Proceedings of the ICC 2020—2020 IEEE International Conference on Communications (ICC), Virtual, 7–10 June 2020; pp. 1–6. [Google Scholar] [CrossRef]
  23. Hu, L.; Chen, Z.; Dong, Y.; Jia, Y.; Liang, L.; Wang, M. Status Update in IoT Networks: Age-of-Information Violation Probability and Optimal Update Rate. IEEE Internet Things J. 2021, 8, 11329–11344. [Google Scholar] [CrossRef]
Figure 1. A multi-source M/M/1/1 queuing system with preemption. Source i generates packets with rate λ i based on the Poisson process, whose urgency requirement is characterized by ω i . After that, the sensor sends the packets according to the preemption strategies—the global-preemption strategy and self-preemption strategy. Successfully sent packets depart the sensor with rate μ . The date fusion center only receives the packets that are successfully sent.
Figure 1. A multi-source M/M/1/1 queuing system with preemption. Source i generates packets with rate λ i based on the Poisson process, whose urgency requirement is characterized by ω i . After that, the sensor sends the packets according to the preemption strategies—the global-preemption strategy and self-preemption strategy. Successfully sent packets depart the sensor with rate μ . The date fusion center only receives the packets that are successfully sent.
Entropy 23 01055 g001
Figure 2. Δ ¯ self as a function of λ 1 under self-preemption strategy. μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) , ( 0.3 , 0.7 ) , and ( 0.1 , 0.9 ) .
Figure 2. Δ ¯ self as a function of λ 1 under self-preemption strategy. μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) , ( 0.3 , 0.7 ) , and ( 0.1 , 0.9 ) .
Entropy 23 01055 g002
Figure 3. Δ ¯ glob as a function of λ 1 under global-preemption strategy. μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.8 , 0.2 ) , ( 0.6 , 0.4 ) , and ( 0.3 , 0.7 ) respectively.
Figure 3. Δ ¯ glob as a function of λ 1 under global-preemption strategy. μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.8 , 0.2 ) , ( 0.6 , 0.4 ) , and ( 0.3 , 0.7 ) respectively.
Entropy 23 01055 g003
Figure 4. η as a function of λ . μ = 1 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) , ( 0.3 , 0.7 ) , and ( 0.1 , 0.9 ) .
Figure 4. η as a function of λ . μ = 1 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) , ( 0.3 , 0.7 ) , and ( 0.1 , 0.9 ) .
Entropy 23 01055 g004
Figure 5. Δ ¯ self and Δ ¯ glob as functions of λ . μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) and ( 0.3 , 0.7 ) .
Figure 5. Δ ¯ self and Δ ¯ glob as functions of λ . μ = 1 , λ = 0.4 . ( ω 1 , ω 2 ) takes values ( 0.5 , 0.5 ) and ( 0.3 , 0.7 ) .
Entropy 23 01055 g005
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, T.; Chen, S.; Chen, Z. Internet of Things: The Optimal Generation Rates under Preemption Strategy in a Multi-Source Queuing System. Entropy 2021, 23, 1055. https://0-doi-org.brum.beds.ac.uk/10.3390/e23081055

AMA Style

Zhang T, Chen S, Chen Z. Internet of Things: The Optimal Generation Rates under Preemption Strategy in a Multi-Source Queuing System. Entropy. 2021; 23(8):1055. https://0-doi-org.brum.beds.ac.uk/10.3390/e23081055

Chicago/Turabian Style

Zhang, Tianci, Shutong Chen, and Zhengchuan Chen. 2021. "Internet of Things: The Optimal Generation Rates under Preemption Strategy in a Multi-Source Queuing System" Entropy 23, no. 8: 1055. https://0-doi-org.brum.beds.ac.uk/10.3390/e23081055

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop