The invention discloses a computer operating environment automatic adjustment system based on data collection, including a sensor, a ventilation unit, an air conditioner, a central controller, an alarm, a lighting module, an access control unit, a server, a wireless module, a camera collector, and a UPS Power supply, sensors include wind pressure sensor, flame sensor, water immersion sensor, human body infrared sensor, temperature and humidity sensor, smoke sensor; the beneficial effect of the present invention is: do corresponding processing according to different operating environment problems, and will generate corresponding prompt instructions Send it to the server, classify the shooting video according to different start signals, so that the video can be retrieved conveniently, and when the wind pressure intensity value, fire source information value, ground water information value, human body monitoring sensor value, temperature and humidity value, smoke When the density values are not equal to the corresponding preset values, all the lighting modules will be turned on to improve the quality of the video, and the details of the video will be more.