Data transmission method, apparatus, and system

    公开(公告)号:US11375047B2

    公开(公告)日:2022-06-28

    申请号:US16130692

    申请日:2018-09-13

    摘要: A method of data transmission includes: receiving a first packet, where the first packet includes first compressed data and a first check value, the first compressed data is obtained by compressing first data based on a first compression mode, the first check value is obtained by processing a second check value based on a first check algorithm, the second check value is obtained by processing the first compressed data based on a second check algorithm; obtaining a first check code by processing the first packet based on a third check algorithm; determining, according to a correspondence between the first check code and the first compression mode, that the first compression mode is a compression mode used when the first data is compressed; and obtaining the first data by decompressing, based on a first decompression mode corresponding to the first compression mode, the first compressed data included in the first packet.

    DATA TRANSMISSION METHOD, APPARATUS, AND SYSTEM

    公开(公告)号:US20190014194A1

    公开(公告)日:2019-01-10

    申请号:US16130692

    申请日:2018-09-13

    摘要: A method of data transmission includes: receiving a first packet, where the first packet includes first compressed data and a first check value, the first compressed data is obtained by compressing first data based on a first compression mode, the first check value is obtained by processing a second check value based on a first check algorithm, the second check value is obtained by processing the first compressed data based on a second check algorithm; obtaining a first check code by processing the first packet based on a third check algorithm; determining, according to a correspondence between the first check code and the first compression mode, that the first compression mode is a compression mode used when the first data is compressed; and obtaining the first data by decompressing, based on a first decompression mode corresponding to the first compression mode, the first compressed data included in the first packet.