Intelligent OFDMA resource scheduling method, system and terminal for delay-sensitive WiFi
Through deep reinforcement learning method modeling and PPO algorithm optimization, the resource scheduling problem of delay-sensitive services in WiFi networks is solved, efficient and flexible resource allocation is achieved, meeting delay-sensitive requirements and reducing computational complexity.
Patent Information
- Application Number
- CN202311026333.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-08-15
AI Technical Summary
OFDMA resource scheduling algorithms in existing WiFi networks mainly focus on throughput optimization and lack end-to-end delay guarantee for delay-sensitive services. Moreover, traditional mathematical methods take a long time to calculate in complex scenarios and are difficult to adapt to real-time control and edge computing. need.
The deep reinforcement learning method is used to model OFDMA resource scheduling as a Markov decision-making process, and the PPO algorithm is used to solve the optimal strategy and dynamically adjust resource allocation to meet the needs of delay-sensitive services.
It achieves efficient resource scheduling in delay-sensitive business scenarios, ensuring more than 95% reliability and deterministic delay. It is suitable for a variety of network scenarios and reduces computational complexity and implementation difficulty.
Smart Images

Figure CN117135655B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network operation services, and in particular relates to an intelligent OFDMA resource scheduling method, system and terminal for delay-sensitive WiFi. Background Art
[0002] With the rapid development of new generation communication technologies such as the Internet of Things, 5G, and Industrial Internet, the transformation and upgrading of traditional industries is imminent, and the communication demand for the Internet of Everything is growing rapidly. In the fields of intelligent manufacturing, smart medical care, etc., emerging application scenarios such as edge computing, real-time control, and digital twins have extremely strict requirements for low latency, low jitter, and high reliability. At present, the wireless traffic transmitted by the WiFi protocol has accounted for 90% of the total wireless traffic, and its deployment cost is low and more suitable for indoor scenarios. Therefore, IEEE 802.11 wireless LANs urgently need to improve the capacity and quality of service (QoS) of wireless LANs by introducing new physical layer and MAC layer technologies. OFDMA technology is an effective solution. It can divide channel resources into multiple resource units in the frequency domain, so that each user can only occupy a part of the channel, thereby reducing the delay of QoS node access to a certain extent. By designing a reasonable OFDMA resource scheduling method, the end-to-end delay of delay-sensitive services can be guaranteed. Traditional mathematical methods take a long time to calculate in complex scenarios and are difficult to migrate to other scenarios. In contrast, the scheduling of OFDMA resources is a decision-making problem, so deep reinforcement learning methods are naturally compatible with it. This method can spontaneously learn from the feedback given by the environment and adjust its own strategy in time according to different business needs. However, most of the OFDMA resource scheduling algorithms in current WiFi networks are dedicated to optimizing the throughput of the entire network system, and there are few studies on ensuring end-to-end latency in latency-sensitive network scenarios. Therefore, a new intelligent OFDMA resource scheduling method in WiFi is urgently needed to make up for the deficiencies and defects in existing technologies.
[0003] Through the above analysis, the existing technology has the following problems and defects:
[0004] 1. Introducing deep reinforcement learning methods: OFDMA resource scheduling is a decision-making problem, and deep reinforcement learning methods are an applicable solution. It can efficiently schedule in complex scenarios and has the ability to flexibly adjust strategies according to different business needs. The use of deep reinforcement learning methods is expected to improve the generalization ability of the algorithm and adapt to different network scenarios.
[0005] 2. Optimize the end-to-end delay of delay-sensitive services: The existing OFDMA resource scheduling algorithm mainly focuses on the throughput optimization of the entire network system, but is relatively weak in ensuring the end-to-end delay of delay-sensitive services. The new resource scheduling method should fully consider the end-to-end delay requirements of delay-sensitive services while ensuring network throughput, and provide better service quality for such services.
[0006] 3. Dynamically adjust resource allocation strategies: Business requirements and network environments will change in different scenarios. Therefore, the new resource scheduling method should be able to dynamically adjust resource allocation strategies according to real-time network conditions and business requirements to achieve more efficient resource utilization and better service quality.
[0007] 4. Reduce computational complexity and implementation difficulty: Traditional mathematical methods take a long time to calculate and are difficult to implement in complex scenarios. In order to meet the needs of emerging application scenarios such as real-time control and edge computing, new resource scheduling methods should be committed to reducing computational complexity and improving implementation efficiency. Summary of the invention
[0008] In view of the problems existing in the prior art, the present invention provides an intelligent OFDMA resource scheduling method, system and terminal for delay-sensitive WiFi.
[0009] The present invention is implemented as follows: an intelligent OFDMA resource scheduling method for delay-sensitive WiFi, comprising:
[0010] Step 1: The AP obtains relevant information of the cache queue corresponding to each STA;
[0011] Step 2: Model the OFDMA resource scheduling problem as a Markov decision process and define the state, action, and reward function.
[0012] Step 3: Use the PPO deep reinforcement learning algorithm to solve the optimal strategy;
[0013] Step 4: Use the optimal strategy to control the scheduling of OFDMA resource units.
[0014] Furthermore, the intelligent OFDMA resource scheduling method for delay-sensitive WiFi can adaptively and dynamically adjust the scheduling strategy of OFDMA resources according to the real-time cache queue information, thereby maximizing the information transmission capacity of the channel.
[0015] Furthermore, a network consists of 1 AP and 5 STAs, and the services of these 5 STAs are all delay-sensitive types, that is, each STA requires that the end-to-end delay of the data packets it sends or receives is within a certain threshold.
[0016] Furthermore, the cache queue information includes the length of the cache queue and the queuing delay of the head packet in each cache queue.
[0017] Furthermore, the congestion and smoothness state model of the intersection is established as follows:
[0018] The OFDMA resource scheduling agent uses deep reinforcement learning to build a neural network π θ As the policy network, a neural network with the same structure is constructed As the old policy network, the constructed neural network includes an input layer, two fully connected layers and an output layer. The input layer is the relevant information of the cache queue, and the output layer is the probability distribution of all actions taken under the current state s. In addition, the neural network V is constructed ω It is a value function network. The difference between its structure and the policy network is that the output layer is the expected return of state s. The experience replay pool is used to record all samples.<s,a,r,s′> , where s represents the current cache queue state, a represents the action executed in the current cache queue state, s′ represents the next state to be migrated to after executing action a in state s, and r represents the immediate reward obtained by executing action a in the current cache queue state s.
[0019] Furthermore, the OFDMA resource scheduling problem is modeled as a Markov decision process, and the state, action, and immediate reward function are defined as follows:
[0020] State, represented by s. The current cache queue state s is represented by the length of the cache queue and the queuing delay of the head packet in each cache queue;
[0021] Action, represented by a, means the number of STAs that will participate in this transmission, where 1≤a≤n, and n is the maximum number of STAs. In order to meet the needs of delay-sensitive services to the greatest extent, the action gives priority to sending to the STA whose queuing delay of the cache queue head packet is closest to the delay threshold. Specifically, before taking an action each time, first sort the packets in ascending order according to the difference between the head packet delay and the delay threshold, and then select the first a STAs in the sorting result to participate in the transmission;
[0022] The immediate reward function, denoted by r, is defined as:
[0023]
[0024] Among them, n success Indicates the number of packets whose end-to-end delay meets the delay requirement, n fail Indicates the number of packets whose end-to-end delay does not meet the delay requirement, n sum =n success +n fail, that is, the number of data packets sent successfully this time;
[0025] Furthermore, the PPO deep reinforcement learning algorithm is used to solve the optimal strategy, specifically:
[0026] Initialize the policy network parameters π θ ,
[0027] Initialize the value function parameter V ω ;
[0028] Initialize experience replay pool D;
[0029] The state information of the cache queue is passed through the current policy network π θ , we get the strategy π under any state s θ (a|s), and select actions according to the strategy. Each state transition, that is, taking an action according to the state, obtaining an immediate reward and transferring to the next state is recorded as a time step t. The data obtained at each time step<s,a,r,s′> Deposit into experience replay pool D;
[0030] Define the loss function of the policy network:
[0031]
[0032] Where r(θ) is the ratio of the probability of the new and old strategies:
[0033]
[0034] Define the loss function of the value function network:
[0035]
[0036] Randomly draw one from the experience replay pool D<s,a,r,s′> , respectively input into the current policy network and value function network, and update the above two loss functions with respect to θ and ω using the gradient descent method;
[0037] After a certain training time, the optimal strategy is used to schedule the OFDMA resource units in the WiFi network.
[0038] Another object of the present invention is to provide an intelligent OFDMA resource scheduling system for delay-sensitive WiFi using the intelligent OFDMA resource scheduling method for delay-sensitive WiFi, the intelligent OFDMA resource scheduling system for delay-sensitive WiFi comprising:
[0039] An information acquisition module is used to use the AP to acquire relevant information of the cache queue corresponding to each STA;
[0040] A modeling module is used to model the OFDMA resource scheduling problem as a Markov decision process and define the states, actions, and reward functions;
[0041] The solution module is used to solve the optimal strategy using the PPO deep reinforcement learning algorithm;
[0042] The scheduling module is used to control the scheduling of OFDMA resource units using an optimal strategy.
[0043] Another object of the present invention is to provide a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and when the computer program is executed by the processor, the processor executes the steps of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi.
[0044] Another object of the present invention is to provide a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi.
[0045] Another object of the present invention is to provide an information data processing terminal, which is used to implement the intelligent OFDMA resource scheduling system for delay-sensitive WiFi.
[0046] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0047] First, the present invention can meet the QoS requirements of delay-sensitive services for WiFi networks. Under 20MHz bandwidth, when the total network data input rate does not exceed 20Mbps, all delay-sensitive nodes can guarantee a reliability of more than 95%, thereby ensuring the deterministic delay of delay-sensitive services to a certain extent.
[0048] Second, the method of the present invention is applicable to both uplink and downlink scenarios and can work in scenarios with different network data input rates, which means that it can work in a variety of different practical application scenarios and has a wide range of applicability.
[0049] Third, the intelligent OFDMA resource scheduling algorithm adopted by the present invention is simple and efficient, and does not require complex algorithms. The scheduling solution can be obtained by simply inputting the status information of the cache queue into the trained intelligent agent, thereby realizing the simple operation of intelligent resource scheduling.
[0050] Fourth, compared with the OFDMA scheduling algorithm deployed based on the polling mechanism in most of the current devices supporting WiFi 6, the algorithm of the present invention has higher flexibility and dynamics, and can better adapt to real-time data transmission needs and improve bandwidth utilization. The polling mechanism refers to periodically accessing each device so that each device has the same opportunity to access the AP for data transmission. Although this method is simple, it cannot be flexibly adjusted according to real-time data transmission needs, lacks dynamics, and has low bandwidth utilization. Some existing resource scheduling algorithms can improve bandwidth utilization to a certain extent by obtaining data transmission requests and related cache information from different devices and establishing mathematical models for solution. However, with the complexity of communication scenarios, the computing resources and time required for these algorithms have increased dramatically, making it difficult to apply them in actual WiFi devices. Compared with other complex resource scheduling algorithms, the present invention aims to meet the delay-sensitive business needs of WiFi networks. The deep reinforcement learning algorithm adopted can solve the optimal scheduling strategy for intelligent OFDMA resource scheduling in diversified network scenarios in a faster time, thereby improving the efficiency and quality of scheduling.
[0051] Fifth, the intelligent OFDMA resource scheduling algorithm of the present invention focuses on end-to-end delay guarantee in delay-sensitive network scenarios. Compared with the current OFDMA resource scheduling algorithm of WiFi networks, which is mainly dedicated to optimizing network throughput, it pays more attention to meeting the delay requirements of delay-sensitive services, filling the research gap in this field.
[0052] Sixth, the steps in the present invention have significant technical progress in intelligent OFDMA resource scheduling for delay-sensitive WiFi, as follows:
[0053] Step 1: The AP obtains the relevant information of the cache queue corresponding to each STA. This step enables the AP to obtain real-time network status information, which can make resource scheduling more accurate and real-time, and directly help optimize network performance and improve user experience.
[0054] Step 2: Model the OFDMA resource scheduling problem as a Markov decision process and define the state, action, and reward function. This step transforms the complex resource scheduling problem into a solvable mathematical problem by introducing the Markov decision process, thus providing theoretical support for intelligent scheduling.
[0055] Step 3: Use the PPO deep reinforcement learning algorithm to solve the optimal strategy. This step is an important innovation of the present invention. The PPO algorithm is an efficient deep reinforcement learning algorithm that can quickly solve the optimal resource scheduling strategy, significantly improving the efficiency and quality of scheduling.
[0056] Step 4: Use the optimal strategy to control the scheduling of OFDMA resource units. This step directly applies the solved optimal strategy to schedule resources, maximizing the transmission capacity of the network and providing strong support for achieving higher network throughput and reducing network latency.
[0057] In addition, the invention can adaptively adjust the scheduling strategy of OFDMA resources according to the real-time cache queue information, which not only makes the scheduling strategy more accurate, but also improves the adaptability of the network, allowing the network to maintain an efficient working state in various environments and states, which is also a significant technological advancement. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. It should be noted that the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 It is an algorithm illustration diagram of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi provided by an embodiment of the present invention;
[0060] Figure 2 is a schematic diagram of a network scenario provided by an embodiment of the present invention;
[0061] Figure 3 It is a schematic diagram of the composition of the end-to-end delay of a data packet provided by an embodiment of the present invention;
[0062] Figure 4 is the simulation result of the intelligent agent provided by the embodiment of the present invention in the test scenario Figure 1 ;
[0063] Figure 5 is the simulation result of the intelligent agent provided by the embodiment of the present invention in the test scenario Figure 2 ;
[0064] Figure 6 This is the simulation result under the differentiated delay constraint scenario provided by the embodiment of the present invention. Figure 1 ;
[0065] Figure 7 This is the simulation result under the differentiated delay constraint scenario provided by the embodiment of the present invention. Figure 2 . DETAILED DESCRIPTION
[0066] In order to more clearly illustrate the purpose, technical solutions and advantages of the present invention, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0067] like Figure 1 As shown, the intelligent OFDMA resource scheduling method for delay-sensitive WiFi provided by the embodiment of the present invention includes:
[0068] 1. The AP obtains the relevant information of the cache queue corresponding to each STA;
[0069] 2. Model the OFDMA resource scheduling problem as a Markov decision process and define the states, actions, and reward functions;
[0070] 3. Use the PPO deep reinforcement learning algorithm to solve the optimal strategy;
[0071] 4. Use the optimal strategy to control the scheduling of OFDMA resource units.
[0072] The intelligent OFDMA resource scheduling method for delay-sensitive WiFi can adaptively and dynamically adjust the OFDMA resource scheduling strategy according to the real-time cache queue information to maximize the information transmission capacity of the channel.
[0073] The present invention provides a network consisting of one AP and five STAs, and the services of the five STAs are all delay-sensitive types, that is, each STA requires that the end-to-end delay of a data packet sent or received by itself is within a certain threshold.
[0074] The cache queue information includes the length of the cache queue and the queuing delay of the head packet in each cache queue.
[0075] The specific model of traffic congestion and smooth flow at intersections is established as follows:
[0076] The OFDMA resource scheduling agent uses deep reinforcement learning to build a neural network π θ As the policy network, a neural network with the same structure is constructed As the old policy network, the constructed neural network includes an input layer, two fully connected layers and an output layer. The input layer is the relevant information of the cache queue, and the output layer is the probability distribution of all actions taken under the current state s. In addition, the neural network V is constructed ωIt is a value function network. The difference between its structure and the policy network is that the output layer is the expected return of state s. The experience replay pool is used to record all samples.<s,a,r,s′> , where s represents the current cache queue state, a represents the action executed in the current cache queue state, s′ represents the next state to be migrated to after executing action a in state s, and r represents the immediate reward obtained by executing action a in the current cache queue state s.
[0077] The OFDMA resource scheduling problem is modeled as a Markov decision process, and the state, action and immediate reward functions are defined as follows:
[0078] State, denoted by s. In this problem, the current cache queue state s is represented by the length of the cache queue and the queuing delay of the head packet in each cache queue;
[0079] Action, represented by a, means the number of STAs that will participate in this transmission, where 1≤a≤n, and n is the maximum number of STAs. In order to meet the needs of delay-sensitive services to the greatest extent, the action gives priority to sending to the STA whose queuing delay of the cache queue head packet is closest to the delay threshold. Specifically, before taking an action each time, first sort the packets in ascending order according to the difference between the head packet delay and the delay threshold, and then select the first a STAs in the sorting result to participate in the transmission;
[0080] The immediate reward function (reward), denoted by r, is defined as:
[0081]
[0082] Among them, n success Indicates the number of packets whose end-to-end delay meets the delay requirement, n fail Indicates the number of packets whose end-to-end delay does not meet the delay requirement, n sum =n success +n fail , that is, the number of data packets sent successfully this time;
[0083] The PPO deep reinforcement learning algorithm is used to solve the optimal strategy, specifically:
[0084] Initialize the policy network parameters π θ ,
[0085] Initialize the value function parameter V ω ;
[0086] Initialize experience replay pool D;
[0087] The state information of the cache queue is passed through the current policy network πθ , we get the strategy π under any state s θ (a|s), and select actions according to the strategy. Each state transition, that is, taking an action according to the state, obtaining an immediate reward and transferring to the next state is recorded as a time step t. The data obtained at each time step<s,a,r,s′> Deposit into experience replay pool D;
[0088] Define the loss function of the policy network:
[0089]
[0090] Where r(θ) is the ratio of the probability of the new and old strategies:
[0091]
[0092] Define the loss function of the value function network:
[0093]
[0094] Randomly draw one from the experience replay pool D<s,a,r,s′> , respectively input into the current policy network and value function network, and update the above two loss functions with respect to θ and ω using the gradient descent method;
[0095] After a certain training time, the optimal strategy is used to schedule the OFDMA resource units in the WiFi network.
[0096] Preferably, the intelligent OFDMA resource scheduling system for delay-sensitive WiFi provided in an embodiment of the present invention includes:
[0097] An information acquisition module is used to use the AP to acquire relevant information of the cache queue corresponding to each STA;
[0098] A modeling module is used to model the OFDMA resource scheduling problem as a Markov decision process and define the states, actions, and reward functions;
[0099] The solution module is used to solve the optimal strategy using the PPO deep reinforcement learning algorithm;
[0100] The scheduling module is used to control the scheduling of OFDMA resource units using an optimal strategy.
[0101] The network scenario of the present invention is as follows Figure 2 As shown in Figure 1, multiple delay-sensitive users transmit data in the same channel, and each user requires that the end-to-end delay of the data packet sent or received by itself is within a certain threshold. The end-to-end delay of the data packet is composed of Figure 3As shown in the figure, the time interval from the generation of a data packet to its successful transmission is called the end-to-end delay of the data packet, which is the complete delay experienced by users when using the network. The end-to-end delay of a data packet consists of two parts: queuing delay and transmission delay. The queuing delay is the time interval from the generation of a data packet to its preparation for transmission, and its size is related to factors such as the generation rate of the data packet and network congestion. The transmission delay is the time interval from the preparation of the data packet to the successful transmission of the data packet, which is related to the frame length and is positively correlated with the number of users involved in this transmission. That is, when multiple users participate in the transmission at the same time, the transmission delay will increase accordingly.
[0102] The application embodiment of the present invention provides a computer device, the computer device includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi.
[0103] The application embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the steps of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi.
[0104] An application embodiment of the present invention provides an information data processing terminal, which is used to implement an intelligent OFDMA resource scheduling system for delay-sensitive WiFi.
[0105] Figure 4 and Figure 5 The simulation results of the intelligent agents trained in different network traffic scenarios in the test scenario are shown when all users have the same requirements for deterministic latency, where the number of APs is 1, the number of STAs is 5, and all data is sent by the AP and received by the STA. For convenience, the intelligent agents trained in these four data traffic scenarios are named "PPO-Low", "PPO-Un1", "PPO-Un2" and "PPO-Ba". The present invention defines 6 data traffic modes, covering scenarios with different total data rates and different node data rate ratios, and uses PPO-Low, PPO-Un1, PPO-Un2 and PPO-Ba to control OFDMA resource scheduling, and compares them with polling to measure their optimization effects. Figure 4The average end-to-end delay of packets under the control of each PPO agent under different data traffic modes is shown. In the three traffic modes with low total data rates, the scheduling effects of each agent and the polling algorithm are close, and even in scenarios 1 and 3, the average end-to-end delay under PPO-Low control is more than the polling algorithm. In the two low-traffic scenarios, scenarios 2 and 3, PPO-Un1, PPO-Un2 and PPO-Ba still have certain advantages over the polling algorithm. They reduce the average end-to-end delay by 17.55%, 18.40% and 15.91% in scenario 2, and by 10.43%, 4.68% and 9.51% in scenario 3. However, in the three traffic scenarios with higher total data rates, PPO-Un1, PPO-Un2 and PPO-Ba all show excellent scheduling performance, and their performance is similar, while PPO-Low also shows certain optimization effects in scenarios 4 and 5. In scenario 4, the four agents can reduce the average end-to-end delay of data packets by 41.87%, 78.54%, 77.95% and 77.63% respectively; in scenario 5, they can reduce the average end-to-end delay by 12.81%, 43.88%, 52.80% and 47.97% respectively; however, in scenario 6, PPO-Low's optimization ability "collapsed" and increased the average end-to-end delay by 89.52%, while the other three agents reduced the average end-to-end delay by 17.66%, 23.29% and 27.52% respectively. In addition, Figure 5 As shown in the figure, in the three scenarios with lower total data rates, PPO-Un1, PPO-Un2 and PPO-Ba can reduce the end-to-end delay of 95% of the data packets to about 1ms, which is slightly better than polling and PPO-Low; in scenarios 4 and 6 with higher total data rates, PPO-Un1, PPO-Un2 and PPO-Ba can reduce the end-to-end delay of more than 95% of the data packets to less than 2ms, while in scenario 5, only PPO-Un2 can reduce the delay of 95% of the data packets to 2.770ms, while PPO-Un1 and PPO-Ba perform slightly worse, and can optimize the index to 3.723ms and 3.417ms respectively. Overall, PPO-Un2 trained in the unbalanced scenario has the best scheduling effect in each scenario. In all six scenarios, it can reduce the average end-to-end delay and the end-to-end delay of 95% of the data packets by 29.35% and 37.53% respectively compared with the polling algorithm.
[0106] Figure 6 and Figure 7The simulation results are shown in the scenario of differentiated delay constraints. Different types of STAs in this scenario have different requirements for delay. In real network scenarios, the service requirements for accessing the same WiFi network are often diverse, and the requirements for delay are also different. Here we consider a home WiFi scenario where multiple delay-sensitive services coexist on the same WiFi network. Figure 6 To enable the coexistence of augmented reality and real-time high-quality video streaming, Figure 7 This is a scenario where augmented reality, real-time high-quality video streaming, and real-time professional games coexist. The latency thresholds for augmented reality devices, real-time high-quality video streaming, and real-time professional games are 1ms, 3ms, and 5ms, respectively. Since the latency thresholds for different types of nodes are different in the differentiated latency constraint scenario, it is necessary to analyze the end-to-end latency of the data packets of each node separately. In the three training scenarios, the test results of each intelligent agent are as follows: Figure 6 and Figure 7 As shown in the figure, it can be seen that the end-to-end delays of different types of nodes are significantly different, among which the end-to-end delay of the data packet sent to the node with a delay threshold of 1ms is significantly shorter than that of other nodes. In addition, all nodes can guarantee a reliability of more than 97%, which shows that the PPO-based resource scheduling algorithm proposed in the present invention has a good performance in the scenario of differentiated delay constraints.
[0107] At the same time, the present invention does not require complex algorithms, and only needs to input the state of the cache queue into the trained intelligent agent to obtain the scheduling plan, which is simple to implement.
[0108] The following is an implementation scheme of each step in the embodiment of the present invention:
[0109] Step 1: The AP obtains the relevant information of the cache queue corresponding to each STA. In the specific implementation, control signaling can be transmitted through the wireless channel so that each STA sends the relevant information of its cache queue to the AP. This information includes the number, size, priority, etc. of data packets to be transmitted in the queue. The AP can obtain this information by parsing these control signaling.
[0110] Step 2: Model the OFDMA resource scheduling problem as a Markov decision process, and define the states, actions, and reward functions. In the specific implementation, the network state at each moment can be defined as the state in the Markov decision process, including the cache queue information and channel state information of each STA; the resource scheduling strategy can be defined as the action in the Markov decision process; and the network performance indicators (such as throughput, latency, etc.) can be defined as the reward function.
[0111] Step 3: Use the PPO deep reinforcement learning algorithm to solve the optimal strategy. In the specific implementation, you can use the PPO algorithm code library (such as OpenAI's Python-based gym environment) to train a neural network to find the optimal resource scheduling strategy based on the above-defined state, action, and reward function.
[0112] Step 4: Use the optimal strategy to control the scheduling of OFDMA resource units. In the specific implementation, the optimal strategy solved in step 3 can be converted into a specific resource scheduling operation, such as the subcarriers and power allocated to each STA, and then the control signaling is transmitted through the wireless channel to guide each STA to perform data transmission.
[0113] The following are six specific embodiments of the present invention, which explain in detail how to implement the intelligent OFDMA resource scheduling method for delay-sensitive WiFi in different scenarios:
[0114] Embodiment 1:
[0115] In a smart manufacturing scenario, 5 STAs are connected to different machines and are responsible for real-time control and data transmission. The business requirements of these STAs are delay-sensitive. By adopting the intelligent OFDMA resource scheduling method for delay-sensitive WiFi, the resource allocation strategy is dynamically adjusted according to the real-time business requirements of the STA and the network status to ensure the end-to-end delay of delay-sensitive services. This will improve the real-time control and data transmission efficiency of production equipment, thereby significantly improving production efficiency.
[0116] Embodiment 2:
[0117] In a smart medical scenario, 5 STAs are connected to different medical devices, responsible for real-time monitoring and remote diagnosis. The business requirements of these STAs are delay-sensitive. The intelligent OFDMA resource scheduling method for delay-sensitive WiFi is adopted to ensure low latency and high reliability of data transmission through an intelligent scheduling mechanism, effectively realizing real-time monitoring and remote diagnosis. This will significantly improve the quality of medical services and provide patients with a better medical experience.
[0118] Embodiment 3:
[0119] In a smart home scenario, 5 STAs are connected to different home devices, such as security monitoring, smart home appliances, etc. The service requirements of these STAs are delay-sensitive. The intelligent OFDMA resource scheduling method for delay-sensitive WiFi is adopted to achieve low-latency and highly reliable data transmission through intelligent scheduling, thereby improving the user experience of home devices. This will enable security monitoring, smart home appliances and other devices to respond to user instructions more stably and quickly, thereby improving the performance of the smart home system.
[0120] Embodiment 4:
[0121] In an intelligent traffic scenario, 5 STAs are connected to different traffic equipment, such as road monitoring, signal light control, etc. The service requirements of these STAs are delay-sensitive. The intelligent OFDMA resource scheduling method of delay-sensitive WiFi is adopted to ensure real-time data transmission between traffic equipment such as road monitoring and signal light control based on intelligent scheduling, improve traffic management efficiency, and optimize traffic flow and safety.
[0122] Embodiment 5:
[0123] In an intelligent logistics scenario, 5 STAs are connected to different warehouse management devices, such as RFID readers, AGVs, etc. The business requirements of these STAs are delay-sensitive. The intelligent OFDMA resource scheduling method of delay-sensitive WiFi is adopted to achieve low-latency and highly reliable data transmission based on intelligent resource scheduling, thereby improving logistics management efficiency. The collaborative work between RFID readers, AGVs and other devices will be smoother, thereby optimizing logistics operation efficiency.
[0124] Embodiment 6:
[0125] In a smart education scenario, 5 STAs are connected to different educational devices, such as remote teaching, virtual laboratories, etc. The business requirements of these STAs are delay-sensitive. The intelligent OFDMA resource scheduling method for delay-sensitive WiFi is adopted to achieve low-latency and highly reliable data transmission based on intelligent scheduling, thereby improving the quality of educational services such as remote teaching and virtual laboratories. Students and teachers will be able to better conduct online learning and teaching, and enhance the educational and teaching experience.
[0126] Through the above embodiments, it can be seen that the intelligent OFDMA resource scheduling method for delay-sensitive WiFi has wide application value in different scenarios and can effectively solve the end-to-end delay problem of delay-sensitive services.
[0127] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0128] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. An intelligent OFDMA resource scheduling method for delay-sensitive WiFi, It is characterized in that include: Step 1: The AP obtains relevant information of the cache queue corresponding to each STA; Step 2: Model the OFDMA resource scheduling problem as a Markov decision process and define the state, action, and reward function. Step 3: Use the PPO deep reinforcement learning algorithm to solve the optimal strategy; Step 4: Use the optimal strategy to control the scheduling of OFDMA resource units; The intelligent OFDMA resource scheduling method for delay-sensitive WiFi can adaptively and dynamically adjust the OFDMA resource scheduling strategy based on real-time cache queue information, thereby maximizing the information transmission capacity of the channel; A network consists of one AP and five STAs. All services of the five STAs are delay-sensitive. Each STA requires that the end-to-end delay of the data packets it sends or receives is within a certain threshold. The specific model of traffic congestion and smooth flow at intersections is established as follows: The OFDMA resource scheduling agent uses deep reinforcement learning to build a neural network π θ As the policy network, a neural network with the same structure is constructed As the old policy network, the constructed neural network includes an input layer, two fully connected layers and an output layer. The input layer is the relevant information of the cache queue, and the output layer is the probability distribution of all actions taken under the current state s. In addition, the neural network V is constructed ω It is a value function network. The difference between its structure and that of the policy network is that the output layer is the expected return of state s; the experience replay pool is used to record all samples<s,a,r,s'> , where s represents the current cache queue state, a represents the action executed in the current cache queue state, s' represents the next state to be migrated to after executing action a in state s, and r represents the immediate reward obtained by executing action a in the current cache queue state s; The OFDMA resource scheduling problem is modeled as a Markov decision process, and the state, action, and immediate reward function are defined as follows: State, represented by s. The current cache queue state s is represented by the length of the cache queue and the queuing delay of the head packet in each cache queue; Action, represented by a, means the number of STAs that will participate in this transmission, where 1≤a≤n, and n is the maximum number of STAs. In order to meet the needs of delay-sensitive services to the greatest extent, the action gives priority to sending to the STA whose queuing delay of the cache queue head packet is closest to the delay threshold. Specifically, before taking an action each time, first sort the packets in ascending order according to the difference between the head packet delay and the delay threshold, and then select the first a STAs in the sorting result to participate in the transmission. The immediate reward function, denoted by r, is defined as: Among them, n success Indicates the number of packets whose end-to-end delay meets the delay requirement, n fail Indicates the number of packets whose end-to-end delay does not meet the delay requirement, n sum =n success +n fail , the number of data packets sent successfully this time.
2. The intelligent OFDMA resource scheduling method for delay-sensitive WiFi as claimed in claim 1, It is characterized in that The cache queue information includes the length of the cache queue and the queuing delay of the head packet in each cache queue.
3. The intelligent OFDMA resource scheduling method for delay-sensitive WiFi as claimed in claim 1, It is characterized in that The PPO deep reinforcement learning algorithm is used to solve the optimal strategy, specifically: Initialize the policy network parameters π θ , Initialize the value function parameter V ω ; Initialize experience replay pool D; The state information of the cache queue is passed through the current policy network π θ , we get the strategy π under any state s θ (a|s), and select actions according to the strategy. Each time the state changes, the action is taken according to the state, the immediate reward is obtained, and the state is transferred to the next state, which is recorded as a time step t. The data obtained at each time step<s,a,r,s'> Deposit into experience replay pool D; Define the loss function of the policy network: Where r(θ) is the ratio of the probability of the new and old strategies: Define the loss function of the value function network: Randomly draw one from the experience replay pool D<s,a,r,s'> , respectively input into the current policy network and value function network, and update the above two loss functions with respect to θ and ω using the gradient descent method; After a certain training time, the optimal strategy is used to schedule the OFDMA resource units in the WiFi network.
4. An intelligent OFDMA resource scheduling system for delay-sensitive WiFi using the intelligent OFDMA resource scheduling method for delay-sensitive WiFi as described in any one of claims 1 to 3, It is characterized in that The intelligent OFDMA resource scheduling system for delay-sensitive WiFi includes: An information acquisition module is used to use the AP to acquire relevant information of the cache queue corresponding to each STA; A modeling module is used to model the OFDMA resource scheduling problem as a Markov decision process and define the states, actions, and reward functions; The solution module is used to solve the optimal strategy using the PPO deep reinforcement learning algorithm; The scheduling module is used to control the scheduling of OFDMA resource units using an optimal strategy.
5. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the intelligent OFDMA resource scheduling method for delay-sensitive WiFi as described in any one of claims 1 to 3.
6. An information data processing terminal, the information data processing terminal is used to implement the intelligent OFDMA resource scheduling system for delay-sensitive WiFi as claimed in claim 4.
