The invention relates to an acousto-optic integrated independent wireless gas detector system and an integrated control switch for controlling a solenoid valve linked with the gas detector, which mainly includes a first light emitting diode D1, a second light emitting diode D2, The third light-emitting diode D3, the first switch SW1, the second switch SW2, the third switch SW3, the zero-crossing detection circuit ZC, the first rectification and filtering circuit DC1, the second finishing and filtering circuit DC2, the first driving part DM1, the second driving Part DM2, first shield SH1, second shield SH2, first permanent magnet PM1, second permanent magnet PM2, first mesh plate MS1, second mesh plate MS2, third mesh plate MS3, fourth mesh plate Mesh plate MS4, notch, slider, square block, groove, support.