A method for earphone sound effect compensation, wherein a monitoring microphone is provided within a coupled cavity for coupling an earphone to a human ear; the method comprising: obtaining monitored signal data in a current wearing state of an earphone user according to a signal collected by the monitoring microphone and an audio signal played by a loudspeaker of the earphone; computing error data of the monitored signal data in the current wearing state relative to standard signal data in a standard wearing state of the earphone; and performing sound effect compensation to the earphone according to the error data; wherein the computing error data of the monitored signal data in the current wearing state relative to standard signal data in a standard wearing state of the earphone comprises: computing a current filter frequency-domain function of a current filter function corresponding to an acoustic path of the coupled cavity in the current wearing state, and computing a standard filter frequency-domain function of a standard filter function corresponding to the acoustic path of the coupled cavity in the standard wearing state; selecting a predetermined number of frequency bands according to the sound effect; on each of the frequency bands, computing a mean value of amplitude differences of the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function, or computing an area value enclosed by the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function; and using the mean value of the amplitude differences or the area value enclosed by the frequency-response curves as the error data for the earphone sound effect compensation. obtaining monitored signal data in a current wearing state of an earphone user according to a signal collected by the monitoring microphone and an audio signal played by a loudspeaker of the earphone; computing error data of the monitored signal data in the current wearing state relative to standard signal data in a standard wearing state of the earphone; and performing sound effect compensation to the earphone according to the error data; wherein the computing error data of the monitored signal data in the current wearing state relative to standard signal data in a standard wearing state of the earphone comprises: computing a current filter frequency-domain function of a current filter function corresponding to an acoustic path of the coupled cavity in the current wearing state, and computing a standard filter frequency-domain function of a standard filter function corresponding to the acoustic path of the coupled cavity in the standard wearing state; selecting a predetermined number of frequency bands according to the sound effect; on each of the frequency bands, computing a mean value of amplitude differences of the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function, or computing an area value enclosed by the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function; and using the mean value of the amplitude differences or the area value enclosed by the frequency-response curves as the error data for the earphone sound effect compensation. computing a current filter frequency-domain function of a current filter function corresponding to an acoustic path of the coupled cavity in the current wearing state, and computing a standard filter frequency-domain function of a standard filter function corresponding to the acoustic path of the coupled cavity in the standard wearing state; selecting a predetermined number of frequency bands according to the sound effect; on each of the frequency bands, computing a mean value of amplitude differences of the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function, or computing an area value enclosed by the frequency-response curves of the current filter frequency-domain function and the standard filter frequency-domain function; and using the mean value of the amplitude differences or the area value enclosed by the frequency-response curves as the error data for the earphone sound effect compensation.