A new en-/de-code scheme of OCDMA(Optical Code Division Multiple Access) using optical scanning is proposed in this paper.The principle of optical scanning en-/de-coder is given.The structure of optical scanning en-/de-coder is devised.It can also be seen that all-optical spread spectrum OCDMA en-/de-code can be realized by the proposed scheme of optical scanning en-/de-coder.At the same time
it can provide a scheme to remove the "bottleneck" when optical and electrical exchanges with each other occur.It can also make the OCDMA en-/de-coder integrated easily as well as the access is changed.The speed of the proposed spread spectrum OCDMA scheme is much higher than the speed of the time-spread OCDMA scheme.