The invention belongs to the technical field of unmanned aerial vehicle image instant return methods, and particularly relates to a network and task dual-driven unmanned aerial vehicle image instant return method in a complex environment, which comprises the following steps of: acquiring four network index data of bandwidth,
delay,
jitter and
packet loss rate, performing exponential weighted
moving average filtering and denoising, and performing weighted calculation to obtain a network comprehensive
quality score; five discrete network state levels are mapped, and a lagging threshold value is set for level switching; dividing an original
image layer, a standard
image layer and a
thumbnail layer, setting a
compression ratio according to a task type, determining the number of slices of each layer according to a corresponding rule to ensure that tile data volumes are consistent, and establishing association of tiles of different image
layers by adopting a
numbering rule; the comprehensive priority of image tiles is calculated based on four factors of a current
viewport, user interaction, points of interest and a flight
route, a
priority queue jumping strategy is adopted, a network state level and a task type are combined, a to-be-transmitted
image layer, the number of concurrent threads and a preloading strategy are dynamically adjusted, and instant image returning is achieved.