The bipolar phase-shift-keying (BPSK) optical orthogonal codes (OOCs) are inserted into the optical packet format of bit-serial label. The ultra-fast separation of the label and payload is performed through the auto-correlation pulses indicating the time position at which the optical switch changes