摘要 |
Embodiments of the present invention provide an address compression method, an address decompression method, a compressor, and a decompressor, which can improve an address compression ratio. The address compression method includes: after a compressor receives multiple operation request messages that are sent by a first processor, determining, according to an address feature formed by address information carried in all operation request messages that have a same stream number, a compression algorithm corresponding to the operation request messages that have a same stream number; and then compressing, according to the determined compression algorithm, addresses carried in the operation request messages that have a same stream number. The present invention is applicable to the computer field. |