Research on Key Algorithms for Reconfigurable Intelligent Surface and Unmanned Aerial Vehicle Assisted Communications