A passively Q-switched random fiber laser with cascaded doped fiber segments and random phase-shift Bragg grating