The invention discloses a character-type communication message
compression method adopting inter-frame coding, and the method comprises following steps of reading one frame of message, judging whether the frame of message is a frame I of message or not, if the frame is the frame I of message, directly conducting
Huffman coding, otherwise solving a residual error and conducting
Huffman coding for the residual error, and then judging whether a next frame of message exists or not. The intra-frame and the inter-frame coding concept in the video compression coding is introduced into the character-type message compression, and the
compression ratio of the message is greatly improved by removing two adjacent message or similar message redundancy information; and the dynamic
Huffman coding is specifically applied to the nondestructive compression of the frame I of message and frame P of residual part, so that the dynamic Huffman coding advantages can be adequately played, the advantages such as
delay reduction, reduction of storage capacity,
low transmission requirement and the like can be realized while the message data quantity is remarkably reduced and the
message length is also reduced, so that the message can be rapidly, efficiently and inerrably transmitted, shared and allocated, and the storage resource and the communication resource can be greatly saved.