At present, the research on flow scheduling optimization around SDN has become the focus of international attention. Based on the current traffic control algorithm, especially the shortcomings of traffic scheduling optimization, Path-Server Traffic Scheduling (PSTS) algorithm is proposed in this paper to solve problems. Based on the real-time monitoring of network on Ryu controller, network topology, network load and server load information were obtained to choose the optimal routing scheme, thus achieving the goal of improving the overall network performance. Through the interaction between the components, the work flow of the Ryu controller is designed, and the channel quality information among users is maintained by the link state management module. When the small base station receives the data packet sent by the SDN exchange price, it will temporarily store it in the data cache module. Then, according to the amount of cached data and the channel quality of each user, the optimal time slot of the wireless network resource allocation scheme is comprehensively determined, and the data packet is sent to the corresponding client. In the view of proposed design, the Mininet simulation platform is used to simulate the SDN network in this paper. Based on the simulation platform, the performance of the algorithm is analyzed and compared. Besides, bandwidth utilization, average transmission delay, system utility and terminal usage change, interrupt rate and terminal usage change of different algorithms in SDN wireless network are analyzed and compared through data. All experiments have proved that the research content proposed in this paper has an obvious effect on network load control, which shows network performance.