Minimum residual idle time channel selection algorithm based on Markov process in CRAHNs
By introducing the minimum remaining idle time channel selection algorithm based on the Markov process in 5G/B5G CRAHNs, combined with the limited cache mechanism and the continuous-time Markov chain model, the problems of low spectrum sharing efficiency and spectrum waste are solved, and efficient spectrum is achieved Utilization and throughput improvements.
Patent Information
- Application Number
- CN202410647225.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In 5G/B5G CRAHNs, existing technologies are difficult to effectively solve the problems of low spectrum sharing efficiency, spectrum waste, and network congestion. Especially in complex environments where spectrum space and time vary, existing channel selection algorithms cannot comprehensively consider spectrum fragmentation and Resource allocation.
This paper proposes a minimum remaining idle time channel selection algorithm based on the Markov process. By setting up a buffer area with a limited capacity, cognitive users select the channel with the minimum remaining idle time that meets their transmission needs, and analyzes it through the continuous time Markov chain model. System performance, optimized spectrum utilization and sharing.
It improves spectrum utilization and cognitive user throughput, avoids spectrum fragmentation, makes the system operation more stable, promotes spectrum sharing, reduces spectrum waste, and avoids 4-D model problems with computational complexity.
Smart Images

Figure CN118660294A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of wireless communication, and optimizes the problems of spectrum sharing and low spectrum utilization of CRAHNs. Background Art
[0002] Faced with the explosive growth in the number of users and devices accessing 5G / B5G networks, the allocation of radio spectrum has become more limited. Cognitive radio technology is still considered to be a key technology for the effective use of spectrum resources. It can intelligently perceive the spectrum environment and adaptively configure spectrum resources based on its perception results. In cognitive radio networks (CRNs), cognitive users (CUs) without spectrum licenses can select and occupy idle spectrum that has been pre-allocated to authorized users (Primary Users, PUs) to achieve full "reuse" of spectrum resources. Therefore, spectrum selection is a basic function of cognitive radio. However, since CRNs are dynamic, especially in the self-organizing communication paradigm without a central management node, its efficient and distributed cognitive radio operation makes spectrum selection a challenging task. In cognitive radio ad hoc networks (CRAHNs), it is necessary to consider the spatial and temporal changes of the spectrum while protecting PUs transmission. Each CU observes the availability of different channels based on the activities of PUs, trying to maximize its own interests. If there is only one CU in 5G / B5G CRAHNs, it is optimal to act in a selfish way. However, considering the entire real network environment, this method may cause spectrum waste and network congestion. Therefore, it is particularly important to find a channel selection algorithm that can improve spectrum sharing efficiency and each CU acts in a non-selfish way.
[0003] At present, the more typical distributed channel selection methods can be roughly divided into two categories: one is the graph coloring-based method, in which the CRN is regarded as a bidirectional graph with CUs as a vertex set and spectrum opportunities as a color list. The spectrum allocation problem is equivalent to giving each vertex a color and complying with the constraints of the main network. However, the optimal spectrum allocation problem is an NP-hard problem with high solution complexity. Especially when the vertex set increases, generally only a suboptimal solution can be obtained. In addition, the operation efficiency of this method is low and the allocation effect is unstable. The other is the game theory method, which is divided into non-cooperative game and cooperative game. In the former, CUs are selfish and only consider maximizing their own interests, such as the longest idle time channel selection algorithm proposed by Yang L, Cao L, Zheng H. in "Proactive channel access indynamic spectrum networks" [J]. Physical Communication. Each CU selects the channel with the longest idle value. This method can give CUs sufficient transmission advantages, but there are problems of insufficient spectrum resource utilization and low CUs transmission efficiency. The latter is non-selfish, and CUs are willing to cooperate to better identify PUs behavior and discover idle spectrum. As Bayhan S, F. In "Distributed channel selection in crahns: A non-selfish scheme for mitigating spectrum fragmentation" [J]. AdHoc Networks, a channel selection algorithm with a selfishness of p is proposed. The selfishness p is used to represent the selfishness of CUs when selecting channels without considering the selection of other CUs. Therefore, the value of p affects the transmission efficiency and spectrum utilization of the entire network. When p = 0, each CU selects a sufficiently long rather than the longest idle channel, and the spectrum utilization and spectrum sharing effects are most significant. However, this algorithm is relatively conservative. If CUs do not find spectrum opportunities, they will face the problem of being discarded, which affects the service quality of CUs. In addition, the inadequate utilization of CUs resources also potentially leads to a waste of spectrum resources and reduces the efficiency of spectrum sharing.
[0004] In summary, facing the spectrum scarcity problem caused by the access of a large number of users and devices, the existing methods cannot comprehensively consider the randomness of spectrum space and time changes in 5G / B5G CRAHNs, the impact of spectrum fragmentation, and how to reasonably allocate CUs resources. Therefore, in order to promote spectrum sharing and improve spectrum utilization efficiency and CUs service quality, it is necessary to design a channel selection algorithm that can solve the spectrum fragmentation problem in the time domain by providing effective resource allocation at the MAC layer. And because CRAHNs is a distributed network with very difficult time synchronization, the continuous time Markov chain (CTMC) method should be used to analyze the performance of the system under the proposed channel selection algorithm. Summary of the invention
[0005] The present invention proposes a minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs. The algorithm adapts CUs with transmission requests to unoccupied spectrum fragments. CUs select channels with minimum remaining idle time that meet their transmission requirements, and provide CUs with more spectrum sharing opportunities by setting a cache area with limited capacity, effectively suppressing the spectrum fragmentation of the MAC layer in the time dimension, thereby achieving efficient utilization of spectrum resources and efficient sharing of spectrum by CUs. Based on the algorithm, the user dynamic access channel process is analyzed and the state space is defined, and then a continuous-time Markov chain model is established based on the Markov process, and then the model is solved to obtain the system steady-state distribution, and then the performance indicators such as average cognitive user throughput and spectrum utilization efficiency under the channel selection algorithm are obtained. The present invention includes the following steps:
[0006] Step 1: According to the occupancy of the main channel and the buffer area, the unoccupied spectrum fragments are adapted to the CUs with buffering capacity and transmission requests, and a channel selection algorithm with minimum remaining idle time with limited buffering mechanism is designed.
[0007] Step 2: According to the channel occupation status of primary users and cognitive users, define a state space with the number of primary users, the number of cognitive users and the number of cognitive users accommodated in the buffer as parameters.
[0008] Step 3: Based on the state space, determine the trigger state transition H i,j,k (Time t) → H m,n,k' All possible events at (time t+1) are analyzed and their one-step transition probability is determined, and a K+1-layer 3-D CTMC model is established with the number of primary users i, the number of secondary users j and the number of cognitive users in the cache area k (0≤k≤K) as three-dimensional indicators.
[0009] Step 4: Based on the equilibrium equations and normalization conditions constituting the K+1 layer 3-D CTMC Solve the steady-state distribution. And obtain the evaluation system performance indicators, average cognitive user throughput and spectrum utilization based on the steady-state distribution.
[0010] The present invention has the following beneficial effects:
[0011] (1) The present invention analyzes the deficiencies of the prior art and proposes a minimum remaining idle time channel selection algorithm with a limited cache mechanism to address the spectrum fragmentation and spectrum sharing problems in 5G / B5G CRAHNs. This algorithm is different from the previous channel selection algorithms. The cognitive user takes the overall situation into consideration and selects the channel with the minimum remaining idle time as much as possible while meeting its transmission needs, thereby increasing the spectrum utilization and cognitive user throughput. In addition, the system operates in a non-conservative manner, and by setting a cache area to further increase the transmission opportunities of cognitive users, the system's spectrum utilization efficiency and cognitive user throughput are further optimized, and the spectrum sharing between cognitive users and primary users is promoted.
[0012] (2) In order to characterize the user behavior and channel status under the minimum remaining idle time channel selection algorithm with a limited cache mechanism, the present invention adopts the Markov process for analysis. A continuous-time Markov chain model that conforms to the characteristics of CRAHNs is established. This model avoids the computational complexity brought by the 4-D model and is easy to solve. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a simple schematic diagram of the basic network operation of cognitive wireless ad hoc networks.
[0014] Figure 2 It is the main channel model.
[0015] Figure 3 It is a system with N CUs and M main channels.
[0016] Figure 4 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0017] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings. The following examples or drawings are used to illustrate the present invention, but are not used to limit the scope of the present invention.
[0018] A minimum remaining idle time channel selection algorithm in CRAHNs, characterized in that: the algorithm is applicable to CRAHNs and is simulated and evaluated based on the Markov process. First, a minimum remaining idle time channel selection algorithm with a limited cache mechanism is designed and explained, and then based on the algorithm, the user dynamic access channel process is analyzed and the state space is defined, and then a continuous time Markov chain model is established based on the Markov process, and then the model is solved to obtain the system steady-state distribution, and then the performance indicators such as the average cognitive user throughput and spectrum utilization efficiency under the channel selection algorithm are obtained. Specifically, the following steps are included:
[0019] Step 1: Design a minimum remaining idle time channel selection algorithm with limited buffering mechanism
[0020] The system consists of M authorized channels and N CUs, and the buffer capacity is K. Cognitive users can accurately perceive the PUs service transmission mode and channel occupancy status. According to the occupancy of the main channel, the unoccupied spectrum fragments are adapted to the CUs with caching capabilities and transmission requests. CUs select channels that meet their transmission requirements and have the minimum remaining idle time. Once CUs finds a spectrum opportunity that is long enough, it will access the channel and complete the transmission; otherwise, CUs will enter the buffer and wait for the next transmission opportunity. If the buffer is full, CUs will be discarded. The minimum remaining idle time channel selection algorithm with a limited cache mechanism specifically includes the following steps:
[0021] Step 1.1: Each CU with self-awareness knows its required transmission time T on When it has a packet to send, it first performs channel sensing and search (CSS), that is, CU checks the occupancy status of each channel and estimates the available time T of each main channel based on its understanding of the main channel traffic pattern. idle .
[0022] Step 1.2: CUs are sorted in ascending order according to their transmission required time to wait for the opportunity to access the channel.
[0023] Step 1.3: Satisfy the condition T on ≤T idle The channel is added to the candidate channel sequence and the candidate channel sequence Sort by available transmission time in increasing order.
[0024] Step 1.4: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities.
[0025] Step 1.5: If in the candidate channel sequence If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.6 is executed; otherwise, If no channel that meets the CU service transmission request is found, execute step 1.7.
[0026] Step 1.6: Transmit the CU service.
[0027] Step 1.7: If the buffer is not full, keep the CU service in the buffer and wait for the next transmission opportunity. Otherwise, if the newly arrived CU fails to find a suitable transmission opportunity after the buffer is full, execute step 1.8.
[0028] The step 1.7 specifically includes:
[0029] Step 1.71: The CUs retained in the buffer will be transmitted at their transmission time T on Sort in ascending order. When no new CUs arrive, re-sensing the channel before sending, estimating the available time T' of each channel idle .
[0030] Step 1.72: Satisfy T on ≤T' idle Conditional channel added to the candidate channel sequence And they are sorted in increasing order of available transmission time.
[0031] Step 1.73: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities. If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.74 is executed; otherwise, If no channel is found that satisfies the CU service transmission request, it will continue to be retained in the cache.
[0032] Step 1.74: Transmit the CU service.
[0033] Step 1.8: Abandon the CU service.
[0034] Step 2: Define the state space
[0035] In a system consisting of M main channels and N CUs, let S(t), R(t), and L(t) be the random processes of the number of PUs and CUs transmitting in the system at time t and the number of CUs staying in the buffer. Let X(t) = H i,j,k={S(t)=i, R(t)=j, L(t)=k} represents the state of the system at time t, that is, at time t, the main channel is occupied by i PUs and j CUs, and there are k CUs in the buffer waiting for transmission opportunities. Since there are only M main channels in the system, a maximum of M users can be sent and M users include PUs and CUs, so the state space is defined as:
[0036] H={H i,j,k |0≤i≤M,0≤j≤N,0≤i+j≤M,0≤k≤K}
[0037] ={H 0,0,0 ,H 0,1,0 ,...,H 0,M,0 ,H 0,0,1 ,...,H 0,M,K ,...,H i,j,0 ,...,H i,j,K ,...,H M,0,0 ,...,H M,0,K} (1)
[0038] Step 3: Build a K+1 layer 3-D CTMC model
[0039] Step 3.1: Based on the state space H, determine all possible events that trigger state transitions: If the system is in state H at time t i,j,k , then at t+T c The possible state H at any moment m,n,k' Affected by the following events: PU arrives or leaves the main channel, CU arrives or leaves the main channel, CU arrives and enters the buffer area because there is no available channel that meets its transmission requirements or all channels are occupied, buffer area CU retransmission and CU cache failure due to buffer full and is discarded.
[0040] Step 3.2: Based on the one-step transition probability formula Classify the state transition event and determine the state H i,j,k →H m,n,k' One-step transition probability of transition.
[0041] Step 3.3: Establish a K+1 layer 3-D CTMC model with the number of primary users i, the number of secondary users j and the number of cognitive users in the cache area k (0≤k≤K) as three-dimensional indicators. The first K layers of the model are determined according to the number of cognitive users that can be cached in the cache area, and the K+1 layer is determined according to the situation where the cognitive users cannot successfully access the primary channel and are discarded.
[0042] Step 4: Solve the model
[0043] Step 4.1: Solve for the steady-state distribution
[0044] Let πi,j,k For state H i,j,k The steady-state probability is is the steady-state distribution of the system. Based on the equilibrium equations and normalization conditions that constitute 3-D CTMC Solve the system of equations:
[0045]
[0046] Where Π=[π 0,0,0 ,...,π 0,M,0 ;...;π 0,0,K ,...,π 0,M,K ; π 1,0,0 ,...,π 1,M-1,0 ;...;π 1,0,K ,...,π 1,M-1,K ;...;π M,0,0 ,...,π M,0,K ]=[π1,π2,...,π 总状态数 ], Q is from H i,j,k To H m,n,k' The transition rate matrix composed of the transition probabilities.
[0047] Step 4.2: Obtain the performance index of the evaluation system based on the steady-state distribution.
[0048] Average cognitive user throughput E[T]: the ratio of the average number of CUs transmitting to the total number of CUs,
[0049]
[0050] Where E[N CU ] is the average number of CUs being transmitted in the system.
[0051] Spectrum utilization Θ: the ratio of available idle channels used to transmit CUs to the total available idle channels through all M channels,
[0052]
[0053] where p idle is the probability that the channel is idle, and μ PU is the PU service rate, λ PU is the PU arrival rate.
[0054] The specific steps of the algorithm of the present invention are as follows:
[0056] The following further describes a minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs proposed by the present invention in conjunction with the accompanying drawings.
[0057] As attached Figure 1 In cognitive wireless ad hoc networks, there are authorized users PUs and cognitive users CUs. CUs can obtain the authorized frequency band occupancy information and PUs service transmission mode through spectrum sensing technology and cooperation between CUs, so as to select the available frequency band that meets their transmission needs to complete their transmission. It should be noted that due to the limited space of the picture, the attached Figure 1 This is just a simple example of a cognitive wireless ad hoc network communication scenario. In fact, the number of users in a cognitive wireless ad hoc network is not limited to the number shown in the figure, and the number of CUs N is usually greater than the number of PUs M, that is, N ≥ M.
[0058] Figure 2 It describes the relationship between the channel state and user activity based on the main channel occupancy. Since cognitive users may access the channel after sensing the available frequency band, the main channel model contains three states: 1) channel busy: PU activity; 2) channel idle: non-PU and CU activity; 3) channel occupied by CU. The activity and inactivity of PU correspond to the on state and off state of the main channel, respectively. Assuming that the channel is homogeneous, the duration of the on and off state of the channel is subject to the parameter μ PU,i =μ PU and λ PU,i =λ PU For CU, the on and off states of the main channel correspond to the inactive state and the transmission T state of the CU, and the residence time of the two states is subject to the parameter λ CU and μ CU The exponential distribution of . Both PUs and CUs use the CSMA / CA random access protocol.
[0059] Figure 3 From the perspective of the time domain, a system with N CUs and M main channels is shown. CUs select appropriate available channels based on their own transmission request time. Based on the minimum remaining idle time channel selection algorithm with a limited cache mechanism proposed in the present invention, cognitive users can accurately perceive the PUs service transmission mode and channel occupancy status. According to the occupancy of the main channel, the unoccupied spectrum fragments are adapted to the CUs with cache capabilities and transmission requests. CUs select channels that meet their transmission requirements and have the minimum remaining idle time. Once CUs finds a spectrum opportunity that is long enough, it will access the channel and complete the transmission; otherwise, the CUs will enter the buffer and wait for the next transmission opportunity. If the buffer capacity has reached the maximum value K, the CUs cannot be cached and will be discarded. The specific process of the minimum remaining idle time channel selection algorithm with limited cache mechanism is as follows:
[0060] Step 1.1: Each CU with self-awareness knows its required transmission time T on When it has a packet to send, it first performs CSS, i.e., CU checks the occupancy status of each channel and estimates the available time T of each main channel based on its understanding of the main channel service mode. idle .
[0061] Step 1.2: CUs are sorted in ascending order according to their transmission required time to wait for the opportunity to access the channel.
[0062] Step 1.3: Satisfy the condition T on ≤T idle The channel is added to the candidate channel sequence and the candidate channel sequence Sort by available transmission time in increasing order.
[0063] Step 1.4: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities.
[0064] Step 1.5: If in the candidate channel sequence If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.6 is executed; otherwise, If no channel that meets the CU service transmission request is found, execute step 1.7.
[0065] Step 1.6: Transmit the CU service.
[0066] Step 1.7: If the buffer is not full, keep the CU service in the buffer and wait for the next transmission opportunity. Otherwise, if the newly arrived CU fails to find a suitable transmission opportunity after the buffer is full, execute step 1.8.
[0067] The step 1.7 specifically includes:
[0068] Step 1.71: The CUs retained in the buffer will be transmitted at their transmission time T on Sort in ascending order. When no new CUs arrive, re-sensing the channel before sending, estimating the available time T of each channel. i ' dle .
[0069] Step 1.72: Satisfy T on ≤T i ' dle Conditional channel added to the candidate channel sequence And they are sorted in increasing order of available transmission time.
[0070] Step 1.73: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities. If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.74 is executed; otherwise, If no channel is found that satisfies the CU service transmission request, it will continue to be retained in the cache.
[0071] Step 1.74: Transmit the CU service.
[0072] Step 1.8: Abandon the CU service.
[0073] Accordingly, the pseudo code of the minimum remaining idle time channel selection algorithm with limited buffering mechanism is as follows:
[0074]
[0075]
[0076] Next, based on the minimum remaining idle time channel selection algorithm with a limited cache mechanism, a 3-D CTMC model is established using Markov process theory, and the model is solved to obtain the steady-state distribution, thereby obtaining the system performance indicators for evaluating the channel selection algorithm.
[0077] In a system consisting of M main channels and N CUs, let S(t), R(t), and L(t) be the random processes of the number of PUs and CUs transmitting in the system at time t and the number of CUs staying in the buffer. Let X(t) = H i,j,k ={S(t)=i, R(t)=j, L(t)=k} represents the state of the system at time t, that is, at time t, the main channel is occupied by i PUs and j CUs, and there are k CUs in the buffer waiting for transmission opportunities. Since there are only M main channels in the system, a maximum of M users can be sent, and M users include PUs and CUs, and the maximum capacity of the buffer is K, the state space is defined as,
[0078] H={H i,j,k |0≤i≤M,0≤j≤N,0≤i+j≤M,0≤k≤K}
[0079] ={H 0,0,0 ,H 0,1,0 ,...,H 0,M,0 ,H 0,0,1 ,...,H 0,M,K ,...,H i,j,0 ,...,H i,j,K ,...,H M,0,0 ,...,H M,0,K}
[0080] Based on the state space H, determine all possible events that trigger state transition: If the system is in state H at time t i,j,k , then at t+T c The possible state H at any moment m,n,k' Affected by the following events: PU arrives or leaves the main channel, CU arrives or leaves the main channel, CU arrives and enters the buffer area because there is no available channel that meets its transmission requirements or all channels are occupied, buffer area CU retransmission and CU cache failure due to buffer full and is discarded.
[0081] Based on the one-step transition probability formula Classify the state transition event and determine the state H i,j,k →H m,n,k' The one-step transfer probability of the transfer. So far, a K+1-layer 3-D CTMC model with the number of primary users i, the number of secondary users j and the number of cognitive users in the cache area k (0≤k≤K) as three-dimensional indicators can be established. The first K layers of the model are determined according to the number of cognitive users that can be cached in the cache area, and the K+1 layer is determined according to the situation where the cognitive users cannot successfully access the primary channel and are discarded.
[0082] Solve the steady-state distribution based on the 3-D CTMC model. Let π i,j,k For state H i,j,k The steady-state probability is is the steady-state distribution of the system. Based on the equilibrium equation and normalization condition of the three-dimensional Markov chain Solve the system of equations:
[0083]
[0084] Where Π=[π 0,0,0 ,...,π 0,M,0 ;...;π 0,0,K ,...,π 0,M,K ; π 1,0,0 ,...,π 1,M-1,0 ;...;π 1,0,K ,...,π 1,M-1,K ;...;π M,0,0 ,...,π M,0,K ]=[π1,π2,...,π 状态总数 ], Q is from H i,j,k To H m,n,k' The transition rate matrix composed of the transition probabilities.
[0085] Finally, the system performance evaluation index is obtained based on the steady-state distribution. That is, the average cognitive user throughput and spectrum utilization are used as the indicators to evaluate the system performance under the minimum remaining idle time channel selection algorithm with a limited cache mechanism, as follows:
[0086] Average cognitive user throughput E[T]: the ratio of the average number of CUs transmitting to the total number of CUs,
[0087]
[0088] Where E[N CU ] is the average number of CUs being transmitted in the system.
[0089] Spectrum utilization Θ: the ratio of available idle channels used to transmit CU to the total available idle channels through all M channels,
[0090]
[0091] where p idle is the probability that the channel is idle, and μ PU is the PU service rate, λ PU is the PU arrival rate.
[0092] The above embodiments are only for describing the scheme, calculation process and method of the present invention in detail, and are not intended to limit the implementation methods of the present invention. For those skilled in the art, other different forms of changes or modifications can be made on the basis of the above description, and it is impossible to list all the implementation methods here. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. A Markov process-based minimum residual idle time channel selection algorithm in CRAHNs, Features: The following steps are involved: Step 1: Design a minimum remaining idle time channel selection algorithm with a limited buffer mechanism; Step 2: Define the state space; Step 3: Establish a K+1 layer 3-D continuous-time Markov chain model; Step 4: Solve the model.
2. The minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs according to claim 1, Features: The step 1 comprises the following steps: Step 1.1: Each CU with self-awareness knows its required transmission time T on When it has a packet to send, it first performs channel sensing and search, that is, the CU checks the occupancy status of each channel and estimates the available time T of each main channel based on its understanding of the main channel service mode. idle ; Step 1.2: CUs are sorted in ascending order according to their transmission time and wait for the opportunity to access the channel; Step 1.3: Satisfy the condition T on ≤T idle The channel is added to the candidate channel sequence and the candidate channel sequence Sort by available transmission time in increasing order; Step 1.4: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities; Step 1.5: If in the candidate channel sequence If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.6 is executed; otherwise, If no channel that satisfies the CU service transmission request is found, execute step 1.7; Step 1.6: Transmit the CU service; Step 1.7: If the buffer is not full, keep the CU service in the buffer and wait for the next transmission opportunity; otherwise, if the newly arrived CU fails to find a suitable transmission opportunity after the buffer is full, execute step 1.8; Step 1.8: Abandon the CU service.
3. The minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs according to claim 2, Features: The step 1.7 specifically includes: Step 1.71: The CUs retained in the buffer will be transmitted at their transmission time T on Sort in ascending order. When no new CUs arrive, re-sensing the channel before sending, estimating the available time T of each channel. i ' dle ; Step 1.72: Satisfy T on ≤T i ' dle Conditional channel added to the candidate channel sequence and are sorted in ascending order of available transmission time; Step 1.73: CU selects the candidate channel sequence Sense the channel and look for transmission opportunities. If If a channel that meets the CU service transmission request is found in the candidate channel sequence, step 1.74 is executed; otherwise, If no channel is found that satisfies the CU service transmission request, it will continue to be retained in the buffer area; Step 1.74: Transmit the CU service.
4. The minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs according to claim 3, Features: The step 2 is specifically as follows: Let S(t), R(t), and L(t) be the random processes of the number of PUs and CUs transmitting in the system and the number of CUs staying in the buffer at time t, respectively; Let X(t) = H i,j,k ={S(t)=i, R(t)=j, L(t)=k} represents the state of the system at time t, that is, at time t, the main channel is occupied by i PUs and j CUs, and there are k CUs in the buffer waiting for transmission opportunities; Define the state space as: H={H i,j,k |0≤i≤M,0≤j≤N,0≤i+j≤M,0≤k≤K} ={H 0,0,0 ,H 0,1,0 ,...,H 0,M,0 ,H 0,0,1 ,...,H 0,M,K ,...,H i,j,0 ,...,H i,j,K ,...,H M,0,0 ,...,H M,0,K } (1)。 5. The minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs according to claim 4, Features: The step 3 comprises the following steps: Step 3.1: Based on the state space H, determine all possible events that trigger state transitions: If the system is in state H at time t i,j,k , then at t+T c The possible state H at any moment m,n,k' Affected by the following events: PUs arriving or leaving the primary channel, CUs arriving or leaving the primary channel, and CUs arriving or leaving the buffer; Step 3.2: Based on the one-step transition probability formula Classify the state transition event and determine the state transition H i,j,k →H m,n,k' The probability of Step 3.3: Establish a K+1-layer 3-D CTMC model with the number of primary users i, the number of secondary users j and the number of cache cognitive users k (0≤k≤K) as three-dimensional indicators; The first K layers of the model are determined based on the number of CUs that can be cached in the cache area, and the K+1 layer is determined based on the situation where CUs cannot successfully access the main channel and are discarded.
6. The minimum remaining idle time channel selection algorithm based on Markov process in CRAHNs according to claim 5, Features: The step 4 comprises the following steps: Step 4.1: Solve for the steady-state distribution Let π i,j,k For state H i,j,k The steady-state probability is is the steady-state distribution of the system; Based on the equilibrium equation and normalization condition constituting 3-D CTMC Solve the system of equations: in Q is the transfer rate matrix; Step 4.2: Obtain the performance index of the evaluation system based on the steady-state distribution Average cognitive user throughput E[T]: the ratio of the average number of CUs transmitting to the total number of CUs, Where E[N CU ] is the average number of CUs being transmitted in the system; Spectrum utilization Θ: the ratio of available idle channels used to transmit CUs to the total available idle channels through all M channels, where p idle is the probability that the channel is idle, and μ PU is the PU service rate, λ PU is the PU arrival rate.
