Abstract
Based on two types of priority queues, this paper proposes a polling scheduling strategy with reserved channel (Ps-rc strategy) for predefined priority services in cognitive radio networks (CRNs). Channel assembling (CA) technology and spectrum adaptation (SA) technology are adopted to dynamically adjust the assembled channels of secondary users (SUs) to improve the performance of the secondary network. Specifically, the SUs in CRNs are divided into two queues with different priorities; based on polling scheduling, a part of the idle channel is reserved for high-priority queue during the polling stage of the low-priority queue. The purpose is to increase the service quality (QoS) of high priority on the basis of providing fair scheduling. Furthermore, the CA-based channel access process of the proposed strategy is presented and modeled by continuous time Markov chain (CTMC). Then, the process of resource flow between users is mapped on CTMC, and the transition conditions and parameter sets of channel assembling covering all user activities of the system are derived. Finally, the system performance of the proposed CA-based Ps-rc scheduling strategy is simulated and evaluated, including network capacity, spectrum utilization, blocking probability, and forced termination probability. Numerical results show that the proposed strategy can improve the QoS of the predefined high-priority service without causing excessive starvation problem of low-priority service.
1. Introduction
At present, the number of the communication users is growing exponentially [1], but the operation of the traditional wireless communication system has the problem of low utilization due to the static allocation of the radio spectrum. With the cognitive radio (CR) technology, secondary users (SUs) are able to transmit information over the unused spectrum of primary users (PUs) to enhance spectrum utilization [2]. Relying on the ability of spectrum sensing, CRNs can realize dynamic spectrum allocation (DSA) and resource sharing [3], which provide flexible resource allocation for SUs.
Among the existing DSA technologies, the application of channel assembling (CA) and spectrum adaptation (SA) can effectively improve the QoS of the secondary system. By adopting the CA technology, the service rate of SUs can be increased through assembling one channel to multiple channels. Meanwhile, because the absolute priority of PUs, the service of SUs may be interrupted. Through combining the technology of SA, the interrupted SUs can flexibly adjust the assembled channels according to the activities of PUs and other SUs. Therefore, the resource scheduling strategy adapted to application requirements is the key to improve the service quality (QoS) of the secondary system.
This paper considers the scheduling requirements of the predefined priority services in special scenarios, such as battlefield and medical rescue, and proposes a polling scheduling strategy with reserved channel (Ps-rc) for multitype of data services in CRNs. Based on the technologies of CA and SA, a CTMC is developed to model the resource flow process, then the system performance of the CA-based Ps-rc strategy is evaluated. The main contributions are as follows: (1)A novelty scheduling strategy: combining polling scheduling and channel reservation, part of idle channel in the system is reserved for high-priority SUs in the polling process of low-priority SUs. Thus, a Ps-rc strategy with two types of priority queues is proposed to increase the possibility of high-priority SUs accessing the channel. This strategy provides a new scheduling idea for the predefined priority services in CRNs(2)Dynamic channel access process with channel assembling: by adopting the technologies of channel assembling and spectrum adaptation, we present the dynamic channel access process by analyzing the activities of PU arrivals, PU departures, SU arrivals, and SU departures in the system(3)A continuous time Markov chain: based on the dynamic channel access process, a CTMC model is developed and all possible destination states, user activities, transition rates, and transition conditions starting from a general state are obtained. Therefore, the resource flow of the secondary network is mapped on the Markov chain; the performance analysis of SUs is transformed into a mathematical problem(4)The conditions and implementation methods of channel assembling are given: the change dynamics of the users in the secondary system are divided and presented by the graphical method visually. Then, the dimension reduction is achieved by the marking method, and the analytic expressions of system performance metrics are given. MATLAB is used to evaluate and analyze the performance of the system
2. Related Work
CR can make full use of the idle spectrum and satisfy the requirements of data services especially in scenarios such as natural disasters and emergency treatment [4–7]. Previous studies [8–10] have proven that adopting a resource scheduling strategy that is suitable for application scenarios can help improve spectrum utilization. Jiao et al. pointed out that using the channel assembling (CA) technology and spectrum adaptive (SA) technology in secondary system can help for enhancing the QoS [10].
For CRNs containing multiple types of data services, a scheduling strategy based on service classification can achieve more efficient data transmission. References [11–15] investigated the resource scheduling schemes based on service classification. A channel assembling strategy based on priority queues was proposed by using channel aggregation and spectrum adaptive technologies [11]. However, strict priority scheduling maintains the queues with decreasing priorities. Low-priority queue can only start their services when the services of high-priority queue are all completed, which may cause the starvation problem of low-priority services due to long-term lack of service. Thus, [12] used the channel bonding technology with starvation mitigation and adopted a priority-based nonpreemptive M/G/1 queuing model to set up the spectrum handoff of SUs. Reference [15] divided the SUs into five priorities and arranged into two queues, then a round robin priority (RRP) scheduling was proposed to minimize the starvation problem of low-priority users by executing short suspension of the high-priority queue. But the RRP scheduling uses a combination of dynamic and static spectrum allocation, which has the disadvantages of high system overhead and inconvenient hardware implementation.
Since the arrival of the users is not constrained by time slot in CRNs, continuous time Markov chain (CTMC) is used to model the resource flow process to avoid the problem of time synchronization. CTMC modeling provides a theoretical basis for resource allocation-based performance analysis of secondary networks. References [10, 11] adopted CA and SA and established the CTMC model to analyze the performance of heterogeneous SUs in CRNs. Reference [11] proved that the establishment of priority queues could effectively reduce the blocking probability and the forced termination probability of the high-priority queue. Reference [16] indicated that when less than one channel was allowed to transmit for some SU traffics, combining with channel fragmentation technology, the noninteger channel can be used to satisfy the QoS of SUs, so as to enhance system utilization. Reference [17] proposed a flow-adaptive leased channel adjustment algorithm, and the CTMC was developed to conduct theoretical analyses.
Polling scheduling is widely used in communication networks by serving each queue in turn [18, 19]. However, when a certain queue has high traffic, the system performance will be reduced because other queues are not served for a long time. Reference [20] proposed a special priority reservation method, in which a part of the transmission rate was allowed to reserve for high-priority services to improve the QoS. The above studies have inspired our research. This paper proposes a polling scheduling strategy with reserved channel (Ps-rc) with two types of priority queues. Based on the technologies of CA and SA, a CTMC model is developed to depict the resource flow process. We present the differences between our studies and other studies as shown in Table 1. Besides, the results of the above-mentioned research develop the study ideas of this paper. Thus, we summarize the research results of the related references in Table 2.
3. Channel Assembling Based on Ps-rc Strategy
Priority-based scheduling is necessary to improve the reliability of important information during transmission. This paper proposes a polling scheduling strategy with reserved channel (Ps-rc) for the predefined priority services in special scenarios, which combines channel assembling technology and spectrum adaptive technology. Also, this section presents the dynamic channel access process based on the proposed Ps-rc strategy.
3.1. System Model and Assumptions
Centralized cognitive radio network consists of two types of radios, primary users (PUs) and secondary users (SUs), which are controlled by the base station. Suppose there are PUs in the system sharing the spectrum bandwidth; each PU can access only one channel. PUs have absolute channel access priority over SUs. SUs can obtain the behavior of PUs through spectrum sensing and access the channels that are not occupied by PUs. Suppose that SUs have perfect sensing ability and the sensing time is short enough that PUs will not arrive at the channel within this period. Once a PU arrival is detected, the ongoing SU will release the channel and perform spectrum adaptation. The adaptive time is also short, so that the transmission of SU is not affected.
This paper considers the scheduling of the SU base station in the uplink direction of data transmission. The buffer is set for SUs at each terminal. The departure of the SUs in the buffer is treated as the beginning of the channel service. Through the packet classifier, users in the secondary system are divided into high priority and low priority and enter into the high-priority queue and low-priority queue , respectively. Suppose the two queues are isomorphic. The scheduling of SUs in the queues obeys the first come first service (FCFS).
3.2. Ps-rc Strategy
As shown in Figure 1, the Ps-rc strategy consists of three units: priority assignment unit, information scheduling unit, and data transmission unit.

Priority assignment unit: through the packet classifier, enters into and waits for scheduling.
Information scheduling unit: to ensure fairness between the two queues ( and ), polling scheduling is adopted. Meanwhile, to improve the QoS of , a part of the idle channels is reserved for the high-priority queue during the polling period of . The reserved channel is allocated to who enters the system in the polling period of . Therefore, the secondary system state is divided into the polling stage when both and are scheduled and the priority support stage when only is scheduled. Assuming that each stage has a fixed length of time, time length sets for the priority support stage will not cause excessive delay in the transmission of .
Data transmission unit: once a PU arrives at a channel occupied by a SU, the transmission of the SU will be interrupted. The interrupted SU will exit the channel at once and adjust the number of the aggregated channels based on spectrum adaptive. The feedback loop is adopted, then the interrupted SUs will go back to the end of the original queue to improve the possibility of being served. If the corresponding queue is full, the service of the SU will be forced to terminate. Besides, if there is no space left when a SU first arrives at the queue, the service of the SU will be blocked.
Channel assembling is adopted for SUs to enhance service efficiency. The service rate of SUs can be increased through assembling one channel to multiple channels. Accordingly, can start the service by aggregating channels and enhance the service rate by increasing the number of the aggregated channels to the upper bound, . can start the service by aggregating channels, and the service rate can be improved by increasing the aggregated channels to the upper bound, . Set to ensure that the high-priority services are started first. The implementation of the proposed Ps-rc strategy is shown in Algorithm 1.
|
As shown above, the total number of the currently available idle channels, , will be determined at the beginning of each phase. In the priority support stage, the in will be served first. If is empty, the idle channels will be assembled for SUs according to the following Rule 1.
Rule 1: the ongoing with minimum aggregated channels (denoted as ) will assemble the idle channels until all of the ongoing were assembled to the upper bound, . If there are still idle channels, the remaining channels will be assembled to the ongoing with minimum aggregated channels (denoted as ) until all of the ongoing reached the upper bound, .
In the polling stage, the data packets in are marked, and a service request list (SRL) for is generated. Suppose that this process is short enough and none is reached within this period. If SRL is empty, this polling stage will be terminated. If SRL is not empty, a part of the channel will be reserved for in according to the allocation factor, , then the remaining channels will serve the in SRL. Here, is determined by the service classification requirements of different scenarios. We assume that the setting of will not cause the in to be out of service for a long time. This process is done on lines 10~15 of Algorithm 1, where is the number of on SRL.
Please note that the channel allocation of in within the polling stage is only for the marked on SRL at the beginning of this stage. Therefore, the newly arrived in this polling stage needs to wait for at least one service cycle. After this polling, the marked on SRL will be cleared and remarked in the next polling stage. But the service will not be interrupted immediately when the polling time ends. If PU does not occupy the aggregated channels, the channels will be released when the ongoing service is complete. Therefore, there are still running in the priority support stage.
The Ps-rc strategy can be applied by the predefined high-priority and low-priority services in special environments to achieve traffic classification scheduling of different transmission requirements. For example, in emergency rescue scenarios, high-priority services can be defined as elastic or real-time services related to medical information according to message correlation, so as to improve the security and reliability of vital signal transmission.
3.3. Dynamic Channel Access Process
Dynamic channel access process is based on the Ps-rc strategy. In this section, the arrival and departure process of uses in CRNs is introduced, which contains four events including PU arrivals, PU departures, SU arrivals, and SU departures.
3.3.1. Event A: PU Arrivals
When PU arrives at the system, if , it will access to the idle channel. If , the PU will interrupt the service of a or a , and the interrupted SU will exit the channel and perform spectrum adaptation.
If the interrupted SU performs spectrum adaptation successfully, then the SU will continue its service, which includes two cases: (1) The remaining number of the interrupted SU can continue its service. (2) An ongoing SU with maximum number of channel aggregation donates a channel to the interrupted SU, and the remaining channels of the donor can also support the service. Furthermore, if and have the same number of channels, will donate the channel first.
If the adaptation is not successful, it means that all of the ongoing SU cannot donate the channel for the interrupted SU. The interrupted SU will release the remaining channels and return to the queue according to the feedback loop. In the worst case, if the queue is full, the service of the interrupted SU will be forced to terminate. All assembled channels of the terminated SU will be released. Then, if there are enough released channels, the services of SU in the queue will be started. The channel assembly follows Algorithm 1. Since , this can usually occur when is forced to terminate and is waiting in . If there is no SU using the idle channels in the queue, these channels will be allocated to the ongoing SUs obeying Rule 1.
3.3.2. Event B: PU Departures
The departure of the PU releases a channel. If the departure occurs in the priority support stage, according to FCFS rules, only when is not empty and there are idle channels in the system, the in can use the idle channel. If there is no in , use the idle channel; it will be assembled to the ongoing SU obeying Rule 1.
It needs to determine whether SRL of this polling stage is empty if the departure occurs in the polling stage. There are two cases: (1) SRL is empty. In this case, there is no waiting packet in or (in Algorithm 1); the assembling of the idle channel is the same as that in the priority support stage. (2) SRL is not empty, then . The idle channel is preferentially assembled to on SRL who can start the service when there are idle channels in the system. If the current number of the channels is not enough to start the service of but can start , the in will be started. If there are no SUs in the queue, we use the idle channel; the channel will be allocated to the ongoing SU obeying Rule 1.
3.3.3. Event C: SU Arrivals
Whether in the polling stage or not, the service of can be started when there exists idle channels upon it arrivals. If there are less than idle channels, the ongoing SU with maximum number of aggregated channels will donate to the newly arrived . After donation, the ongoing SU should be able to satisfy its own service. If the service of the new still cannot be started, the ongoing SU with the second maximum number will donate the channel, etc. In particular, for the ongoing SUs with the same number of aggregated channels, the low-priority SUs () will donate the channel first. If the total number of the channels provided by all of the ongoing SUs cannot start the service, the new will go back to . However, if is full, the newly arrived will be blocked.
If a new arrives during the priority support stage, it will wait in . When the system starts a new polling stage, the newly arrived will appear on the new SRL. But it will be blocked if is full. If it arrives during the polling stage, the new needs to wait at least one polling cycle (i.e., the that reaches the system during the polling stage cannot appear on the latest SRL). Accordingly, the new will be blocked if is full.
3.3.4. Event D: SU Departures
With SU departures, all aggregated channels are released. Consequently, we suppose the SU with aggregated channels releases channels due to the departure, and the SU with channels releases channels.
If the SU leaves in the priority support stage, the released channels will first schedule to the in according to Algorithm 1. Otherwise, these channels will be scheduled to the ongoing SU obeying Rule 1.
When the departure occurs in the polling stage, if SRL is empty, channel access is the same as that of the priority support stage. If SRL is not empty, idle channels will assign to the marked on SRL until this polling stage ends or the services on this SRL are completed. Due to the setting that , it is easier to start the service ofthan. If the number of the idle channels is not enough to start but can start , the in will be started. If no SU in the queue uses the idle channels, the channels will schedule to the ongoing SUs obeying Rule 1.
4. CTMC Analysis and QoS Measures
In this section, the continuous time Markov chain (CTMC) is used to avoid the problem of time synchronization between primary and secondary users. Based on the dynamic channel access process, a CTMC is developed to model the resource flows in secondary networks. Let a general state in the system be where is the number of with aggregated channels, is the number of with channels, is the number of PU in the system, and and are the current queue lengths of and , respectively. is an indicator function, in which means the secondary system is in the polling stage; means it is in the priority support stage. The set of feasible states for the system can be noted as follows:
Here, and are the total capacity of and . means that if is not empty, the summation of maximum number of channels that all ongoing can donate will always be less than the lower bound of . Similarly, shows that if is not empty, the summation of the maximum number of channels that all ongoing can donate will always be less than the lower bound of . is the total number of the utilized channels at state , which can be described by
Furthermore, is the number of the idle channels, which equals to that is defined in Algorithm 1.
To analyze the transition rate from a general state to other states, we assume that the arrivals of PU and SU services in the system obey Poisson distribution with arrival rates for PU, for , and for , while the departures of PU and SU services are exponential distribution with departure rates for PU, for , and for . However, the scheduling with feedback will cause the external arrivals of SUs services no longer obey the Poisson distribution. To simplify the study, it is assumed that the setting of feedback mechanism has little effect on SUs services, i.e., exogenous arrivals of SUs services are all obey Poisson distribution. Accordingly, the CTMC model can be established based on four events including PU arrivals, PU departures, SU arrivals, and SU departures. State transition from a general state can be developed.
4.1. Event A: PU Arrivals
State transition from a general state upon a PU arrival is derived. Indexes such as destination state, user activity, transition rate are obtained in Figure 2 while transition conditions are listed in Figure 3.


In Figure 3, the arrival behavior of PU is not constrained by the stage of the secondary system, so the transition condition is . The interrupted SU (, for example) will return to the queue if the queue is not full, such as the condition in state ~state . Otherwise, the SU service is forced to terminate, such as in state ~state .
The arrival of PU may interrupt the service of any SU, such as that in state ~state and state ~state (Figure 2), there may exist ongoing in the system when is interrupted. In Figure 3, the condition that the idle channels are released by the interrupted or the forcibly terminated can be assembled by the ongoing is , which means there is no with more than aggregated channels in the system. The condition , in state and state means that there is no SU in the system that can perform adaptation, while , means the SUs in the system cannot perform spectrum adaptation. The conditions in state and state have similar meanings. Due to the assumption that in state and state , if exists in , i.e., , the idle channels released by the interrupted or the forcibly terminated can be used by in .
4.2. Event B: PU Departures
State transition from a general state upon a PU departure is derived. The destination state, user activity, and transition rate are shown in Figure 4, and the conditions are listed in Figure 5.


When the departure of PU occurs during priority support stage, the ongoing can use the idle channel released by PU in state which is based on that the idle channel is not occupied by in . There are two possible cases: (1) No packet exists in , i.e., if , then . (2) There are packets in , but the total number of the remaining channels is not enough to start the service of in , i.e., if , then and . Furthermore, in state , the ongoing can use the idle channel released by PU which is based on the in , and the ongoingdo not use the idle channel, which also has two cases: (1) Ongoing cannot assemble more channels, i.e., if , then . (2) There is no ongoing , i.e., if , then .
When the departure occurs during the polling stage, if SRL is empty, the transition conditions are the same as those in the priority support stage. Otherwise, if SRL is not empty, in can use the idle channel in state , which is based on that the sum of the idle channel released by PU and the remaining idle channels in the system is not enough to start the service of on SRL but can start the service of , i.e., . The ongoing can use the idle channel in state only if no SU in the queue uses the channel. The ongoing can use the idle channel in state only if no SU in the queue uses the idle channel and the ongoingdo not use the channel.
4.3. Event C: SU Arrivals
State transition from a general state upon a SU arrival is derived; the results are shown in Figures 6 and 7.


The condition that the service of can be started upon its arrival in state ~state is that the sum of the idle channels in the system and the channels that can be donated by all of the ongoing SUs is not less than the lower bound of , i.e., . Otherwise, it will be placed in such as state , provided that .
4.4. Event D: SU Departures
State transition from a general state upon a SU departure is derived and shown in Figures 8 and 9.


The total number of the idle channels used by the ongoing SUs should not be greater than the number of the channels released by the leaving SUs, such as the condition in state . Besides, in state , state , state , and state , the departure of SU occurs in the polling stage, and the condition that in can use the idle channel is . In state ~state , since , if leaves during the polling stage, there must be .
Above all, by integrating all the possible destination states, activities, transition rates, and transition conditions from Event A to Event D, the steady-state probability of the system, , can be calculated from global balance equations and normalization condition: where is a steady-state probability vector and is the transition rate matrix generated by and Here, is the transition rate from any reachable state to another reachable state , which is the sum of the possible transition probabilities considering all events A~D. is the system feasible state set (Equation (2)). The diagonal elements in transition rate matrix can be found as Then, the performance evaluation of the secondary system can be measured as follows: (1)Network capacity (packet/unit time) is the service completion rate, which means the average number of services completed per time unit. The capacity of service is denoted as and that of service is denoted as which are given as (2)Spectrum utilization is determined by the ratio of the average number of available channels to the total number of channels: where is the number of available channels in state and is the total number of channels.(3)Blocking probability is the probability that the newly arrived SU cannot be served due to all of the available channels in the system are busy (i)Blocking probability of: a newly arrived will be blocked if the following conditions are met: (1) The sum of the total number of idle channels available in the system and the number of channels that can be donated by other ongoing SUs does not satisfy the lower bound of channel assembly of ; (2) has no space left to hold . Thus, the blocking probability of , can be obtained: where the set is the trigger condition for which is blocked: (ii)Blocking probability of: a new will directly put into no matter if it arrives during the polling stage or the priority support stage. The service of is blocked if there is no space left in The blocking probability of , can be obtained: where the set is the trigger condition for to be blocked: .(4)Forced termination probability refers to the probability that the SU service is forced to terminate because of the absolute channel access priority of PU. Forced termination of SU only occurs upon PU arrivals in Event A, which needs to meet the following conditions: (1) what the PU preempts is a with channels or a with channels, (2) there are no remaining channels in the system, and (3) other ongoing SUs cannot perform spectrum adaptation to share the channel with the interrupted SU. Forced termination probability can be determined by the ratio of the average forced termination probability to the arrival rate of SUs who are not blocked (iii)Forced termination probability of: the forced termination of occurs in state ~state of Event A, the probability, can be expressed as where is the arrival rate of the unblocked is the set of states of who are forced to terminate: (iv)Forced termination probability of: the forced termination of occurs in state ~state of Event A, the probability, can be expressed as where is the arrival rate of the unblocked is the set of states of who are forced to terminate:
5. Numerical Simulation and Analysis
In this section, four study cases are conducted to evaluate the secondary system performance based on the proposed Ps-rc strategy and the channel access process. Performance analysis is carried out in a CRN with 6 channels sharing the spectrum bandwidth, i.e., there are 6 PUs in the secondary network. The arrival rate and departure rate of PUs are set as , respectively. Only one secondary user is allowed to arrive at once in the secondary system; the arrival rate and departure rate of and are set as , respectively. Dynamic parameters in the spectrum access process are set as The allocation factor Based on the above setting, the general state of Equation (1) can be specified: where is with aggregated channels; is with channels; the superscript of each position indicates the upper limit of the number of users at the corresponding position, such as means that there are at most 3 in the system simultaneously who assemble 2 channels; and represents that there are at most 2 waiting in .
Therefore, the transfer events can be specific. Due to high dimension, the transition rate matrix generated by needs to be downgraded. A random general state is taken as an example to show the degradation process. Obviously, the current secondary system is in priority support stage in state And there are 7 flows, among which 3 are ongoing with one aggregated channel, 2 PUs are in the system, and each PU occupies one channel. Also, there are 2 waiting in .
Marking method to achieve the dimension reduction: the possible transition of state is triggered by all user activities related to this state in Event A~Event D. Denote the state as where the first position, 7, is the total number of flows in this state and the second position, , is the counting in order (the maximum value is the total number of states with 7 flows in the system). When there arrives a new flow in this state, it may be the arrival of PU or any SU (Event A or Event C may be triggered), then there will be 8 flows in the next state. When there is a flow leaving from this state, it may be the departure of PU or any (Event B or Event D may be triggered), then there will be 6 flows in the next state. According to one-step transition, state can only transfer to state or state Thus, the high-dimensional state is downgraded.
The transition rate matrix is a block matrix, whose number of layers is theoretically generated by the product of the superscript (Equation (14)); the size is However, due to the system settings, it is not always reachable between any two states. In our numerical simulation process, the size of matrix was simplified to But the specific form of is still hard to show here. Therefore, we take a random state to show the way of obtaining the elements in matrix ( is the secondary system stage). Figure 10 shows the transition from state to all of the reachable states .

According to Figure 10, the transition rate of the -th row (i.e., starting from the state ) in matrix to all reachable states (i.e., -th column) can be obtained. The other specific states can be done in the same manner. Then, the transition rate matrix can be developed. Accordingly, the steady-state probability can be obtained and the performance indicators of the secondary system can be further simulated.
5.1. Case 1: Network Capacity of Secondary System
Figures 11 and 12 show the changes of network capacity with arrival rate of and under different buffer capacities. In general, the network capacity of SUs increases with the arrival rate, but the trend is slowing down. This is because as the arrival rate of SUs increase, the channels in the system are fully utilized for saturation. For , the network capacity increased by 8.48% at the maximum difference position as the buffer capacity of increased from to For , the network capacity increased by 9.3% at the maximum difference position as the buffer capacity of increased from to It shows that expanding the buffer capacity can increase network capacity. By allowing more flows to wait in the queue, the number of the flows stored in the system also increases, which makes it possible for more SUs to access the channel. Therefore, increasing the buffer capacity of SUs can effectively increase the network capacity.


Comparing Figures 11 and 12, we can see that the network capacity of is always higher than that of which is due to the proposed Ps-rc strategy paying more attention to high-priority services. In order to alleviate the starvation problem of low-priority SUs, we set a larger buffer capacity for Therefore, it can be seen that as the arrival rate increases, the increase of network capacity of becomes greater. It is reflected in the slope change of which is greater than that of .
5.2. Case 2: Spectrum Utilization
Figure 13 shows the change of the arrival rate of SUs with spectrum utilization. Let the -axis be the arrival rate of (it is the same for ). Similar to network capacity, the change of spectrum utilization increases first and then becomes stable. As the arrival rate increases, more channels are utilized. The available channels in the system gradually reach saturation. The increase of buffer capacity increases the possibility of SUs being served, thus effectively increasing the spectrum utilization.

5.3. Case 3: Blocking Probability
Figures 14 and 15 show the relationship between the blocking probability of SU and the arrival rate of PUs. Figure 14 shows the change of blocking probability of and under different buffer capacities. When the arrival rate of PUs increases gradually, more channels are occupied by PUs because of the absolute channel access priority, resulting in a linear increase in the blocking probability of SUs. Since we set the polling loop for the low-priority queue, the newly arrived cannot be served directly. Therefore, the blocking probability of is higher than that of By comparing the blocking probability of SUs with different buffer capacities, it can be seen that the larger the buffer capacity, the more services of flows that can be stored, then the lower the blocking probability.


Figure 15 shows the comparison of the blocking probability of with the proposed Ps-rc strategy and without using the proposed strategy when the buffer capacity is and After using the proposed Ps-rc strategy, the blocking probability of is reduced by 33.3% at the maximum difference position, The reason is that the polling mechanism is adopted in and then, a part of the channels are reserved for in the polling stage. In fact, the service of is delayed in exchange for the service of It is obvious that the adoption of the Ps-rc strategy can significantly reduce the blocking probability. Therefore, the Ps-rc strategy proposed in this paper can meet the demands of improving the priority of important information in CRNs. However, when the arrival rate of PUs increases, the blocking probability of still increases significantly, because SUs have a lower priority than PUs in CRNs.
5.4. Case 4: Forced Termination Probability
Figures 16 and 17 show the relationship between the forced termination probability of SUs and the arrival rate of PUs. Figure 16 shows the changes of the forced termination probability of and under different buffer capacities. Figure 17 shows the comparison of the forced termination probability of with the Ps-rc strategy and without using the strategy when the buffer capacity is fixed .


From Figure 16, we can see that the forced termination probability of under the Ps-rc strategy is always lower than that of . As the arrival rate of PUs increases, the number of channels available to SUs decrease, then the number of SUs being served is decreased. When the queue of SUs in the buffer is full, the services of the interrupted SUs are forced to terminate. Therefore, the forced termination probability of SUs increases significantly. It can be seen from Figure 16 that setting a larger buffer capacity for can effectively reduce the forced termination probability of .
It can be seen from Figure 17 that the proposed Ps-rc strategy can reduce the forced termination probability of . After using the proposed Ps-rc strategy, the forced termination probability of is reduced by 40% at the maximum difference position, In particular, when the arrival rate of PUs is low, the proposed strategy has more channel access opportunities for . Therefore, the proposed Ps-rc strategy can guarantee the QoS of the predefined high-priority SUs in CRNs.
6. Conclusions
A Ps-rc strategy with two types of priority queues was proposed in this paper to satisfy the classification demands of the predefined priority services in CRNs. The realization process was presented by algorithm. Combining with the technologies of channel assembling and spectrum adaptation, the dynamic channel access process based on the proposed strategy was depicted. The process was triggered by four events including PU arrivals, PU departures, SU arrivals, and SU departures. Furthermore, a continuous time Markov chain (CTMC) was developed, and the resource flow processes triggered by user activities were mapped on the state of CTMC. Then, all possible destination states starting from a general system state were obtained; the corresponding user activities, transition rates, and conditions were also derived. By dimension reduction, the steady state of the secondary system was further obtained, thereby obtaining the performance metrics including network capacity, spectrum utilization, blocking probability, and forced termination probability. Finally, four study cases were carried out to evaluate the performance of secondary system. Numerical experiments show that the proposed Ps-rc strategy can effectively reduce the blocking probability and forced termination probability of high-priority SUs. Results prove that the proposed Ps-rc strategy can improve the service quality of high-priority services without causing the problem of excessive starvation of low-priority services.
Data Availability
The data used to support the findings of this study are included within the article.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
This work was supported in part by the National Natural Science Foundation of China under Grant 61663024, in part by the Erasmus+ Programme of European Commission under Grant 573879-EPP-1-2016-1-FR-EPPKA2-CBHE-JP, and in part by the Hongliu First Class Discipline Development Project of Lanzhou University of Technology, China.