DATA PROCESSING METHOD AND RELATED APPARATUS
摘要:
This application discloses a data processing method, applied to a terminal. The method includes: obtaining a first instruction, where the first instruction instructs to write first data into a first target area, the first target area is a storage area in a first memory, and the first memory has no error checking and correcting ECC function; determining a second target area in a second memory according to the first instruction, where the second target area is a storage area in the second memory, and the second memory has an ECC function; and writing the first data into the second target area. In this solution, target data that is indicated to be written into a specific memory area is changed to be written into a memory with an ECC function, and the memory with the ECC function protects the target data. This avoids execution of a large-scale program, and effectively reduces time overheads during program running.
信息查询
0/0