In order to efficiently transmit spatial data with diversified service types, based on the virtual channel multiplexing technology of Advanced Orbiting Systems ( AOS ), this paper proposes an Intelligent Frame Algorithm in Advanced Orbiting Systems( AIFG ) for differentiated QoS requirements. To expedite the transmission of delay-sensitive services, the optimal time threshold for framing such services is modeled as a Markov Decision Process. The algorithm utilizes Proximal Policy Optimization (PPO), achieving an optimal solution based on performance metrics such as frame multiplexing efficiency, average framing time, and average packet delay. To improve the multiplexing efficiency for non-delay-sensitive services, this paper requires that these services are framed only after the frame is fully filled. Simulation results show that, compared to traditional frame generation algorithms, the AIFG algorithm reduces the average queuing delay of services by at least 33%, increases throughput by at least 37%, and improves multiplexing efficiency by at least 52%. AIFG algorithm takes into account the different transmission requirements of real-time services and non-real-time services, and enhances the network quality of service (QoS) in the AOS system.