The application provides a method and device for heterogeneous security reinforcement of a
pulse code modulation voice data stream, which comprises: dividing each frame E1
relay code
stream data into four functional areas in units of channels; pre-arranging data in a first
voice data channel area to be reinforced to form a 16-
byte row matrix, and then performing a 128-bit mode grouping
algorithm to reinforce the data; pre-arranging data in a second
voice data channel area to be reinforced to form a 14-
byte row matrix, and then performing an S-box different from the previous step to complete nonlinear permutation; performing XOR calculation on the data in the second voice
data channel area to be reinforced by using a dynamic round key of the first voice
data channel area to be reinforced, and then performing mixed operation on the data in the two channel areas; pushing the data after reinforcement into an E1
relay code
stream sending buffer, and then sequentially sending the data through a
relay interface LIU
chip when the next 125-
microsecond frame synchronization arrives; and performing desolidification
processing on the data received by a switch of a receiving end.