Investigation of the interference phenomenon between ultrashort pulses based on an all-fiber laser