Timely Data Collection for UAV-Based IoT Networks: A Deep Reinforcement Learning Approach