The invention provides a dynamic space disinfection method for realizing human-machine coexistence and a device thereof. Through power of a ultraviolet lamp, the wavelength of the ultraviolet lamp, asurface area of a chlorine dioxide gel storage tank irradiated by the ultraviolet lamp and a distance between the ultraviolet light and the gel surface in the chlorine dioxide gel storage tank, the chlorine dioxide gas generation rate is adjusted; and the device specifically includes: a box frame, a UV lamp illumination component, a fan assembly, a chlorine dioxide gel storage component, a HEPA high-efficiency filter, a control unit, a status display unit, and the like. According to the space environment volume as well as the decomposition and attenuation law of chlorine dioxide gas, by controlling the opening time of the ultraviolet lamp and the opening time interval of the ultraviolet lamp, combined with the operation of a fan, the air in the space environment is kept circulating, and the concentration of chlorine dioxide gas in the air is always kept within the national safety limits to achieve dynamic space disinfection in human environments.