摘要 |
A data compression method, apparatus, and terminal. The method comprises: a terminal determines a to-be-compressed target data (S101); the terminal detects a target data type of the target data (S102); the terminal determines, according to the target data type, a target process for compressing the target data (S103), the target process being a process for performing data compression by using a preset compression mode corresponding to the target data type; and the terminal invokes the target process to compress the target data (S104). A data compression process can be flexibly selected according to the target data type, so as to compress the target data. |