A method for implementing frame header alignment and multi-frame zeroing, comprising: generating an indication signal period of which is 256 times of that of a single frame; and according to the indication signal, performing frame header alignment for a plurality of paths of input frame data and then outputting the frame data, and performing multi-frame zeroing for the plurality of paths of input frame data and then outputting the frame data; wherein a process of performing the frame header alignment comprises: performing frame header alignment once each time 256 frames of data are input; wherein a process of performing frame header alignment once comprises: performing frame header positioning for the plurality of paths of input frame data; from positioned frame header position of each path of frame data, respectively writing data of each frame into a cache, after detecting an arrival of a high level of the indication signal, simultaneously reading each path of frame data from an initial position of the cache, if there are deviations between the plurality of paths of input frame data and the indication signal in terms of frame header, delaying the indication signal according to the deviations; according to the delayed indication signal, performing frame header alignment for the plurality of paths of input frame data; wherein a process of performing the multi-frame zeroing comprises: performing multi-frame zeroing once each time 256 frames of data are input; wherein a process of performing multi-frame zeroing once comprises: when a high level of the indication signal arrives, zeroing a multi-frame of one or more paths of frame data input at this moment, obtaining a multi-frame of frame data successively by accumulating 1 to a multi-frame of an immediately previous frame data and outputting the frame data; until the high level of the indication signal arrives again, zeroing the multi-frame of one or more paths of frame data input at this moment. generating an indication signal period of which is 256 times of that of a single frame; and according to the indication signal, performing frame header alignment for a plurality of paths of input frame data and then outputting the frame data, and performing multi-frame zeroing for the plurality of paths of input frame data and then outputting the frame data; wherein a process of performing the frame header alignment comprises: performing frame header alignment once each time 256 frames of data are input; wherein a process of performing frame header alignment once comprises: performing frame header positioning for the plurality of paths of input frame data; from positioned frame header position of each path of frame data, respectively writing data of each frame into a cache, after detecting an arrival of a high level of the indication signal, simultaneously reading each path of frame data from an initial position of the cache, if there are deviations between the plurality of paths of input frame data and the indication signal in terms of frame header, delaying the indication signal according to the deviations; according to the delayed indication signal, performing frame header alignment for the plurality of paths of input frame data; wherein a process of performing the multi-frame zeroing comprises: performing multi-frame zeroing once each time 256 frames of data are input; wherein a process of performing multi-frame zeroing once comprises: when a high level of the indication signal arrives, zeroing a multi-frame of one or more paths of frame data input at this moment, obtaining a multi-frame of frame data successively by accumulating 1 to a multi-frame of an immediately previous frame data and outputting the frame data; until the high level of the indication signal arrives again, zeroing the multi-frame of one or more paths of frame data input at this moment. performing frame header positioning for the plurality of paths of input frame data; from positioned frame header position of each path of frame data, respectively writing data of each frame into a cache, after detecting an arrival of a high level of the indication signal, simultaneously reading each path of frame data from an initial position of the cache, if there are deviations between the plurality of paths of input frame data and the indication signal in terms of frame header, delaying the indication signal according to the deviations; according to the delayed indication signal, performing frame header alignment for the plurality of paths of input frame data; wherein a process of performing the multi-frame zeroing comprises: performing multi-frame zeroing once each time 256 frames of data are input; wherein a process of performing multi-frame zeroing once comprises: when a high level of the indication signal arrives, zeroing a multi-frame of one or more paths of frame data input at this moment, obtaining a multi-frame of frame data successively by accumulating 1 to a multi-frame of an immediately previous frame data and outputting the frame data; until the high level of the indication signal arrives again, zeroing the multi-frame of one or more paths of frame data input at this moment.