The invention discloses a device and a method for cooperatively detecting a moving target by using all-optical-waveband (including ultraviolet, visible, near-infrared, medium-wave infrared and long-wave infrared) maps. The device comprises a large field-of-view two-dimensional scanning sighting telescope, a common aperture primary optical system module, an infrared imaging and spectrum forming optical subsystem module, an ultraviolet/visible/near-infrared spectrum forming and visible near-infrared imaging optical subsystem module, a short/medium/long-wave infrared spectrum measuring module, a medium-wave wide/narrow band imaging module, a visible near-infrared spectrum measuring module, a visible near-infrared imaging module, an ultraviolet measuring module, a map fusion signal processing module, a control module and a servo system. The device and the method utilizes medium-wave infrared imaging and visible near-infrared imaging for recognizing a suspected moving target and guides spectrum measurement, completes the final recognition of the suspected target with cooperation of spectrum measurement data, and solves the difficulties of the existing detection device such as incomplete detection bands, limited optical path layout, large equipment size, few types of detected moving targets and dynamic changing objects, and poor detection capability.