Data processing device and data processing method
First Claim
1. A data processing device, comprising:
- a control unit;
a memory coupled to the control unit;
a first non-volatile storage unit coupled to the control unit; and
a second non-volatile storage unit coupled to the first non-volatile storage unit and the control unit,wherein a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit,wherein the control unit is configured to write first data into the memory, write the first data into the first non-volatile storage unit in a log file form, and write, into the second non-volatile storage unit, a log file of the first data written into the first non-volatile storage unit,wherein the control unit is further configured to write a second data into the memory, and write the second data into the first non-volatile storage unit in the log file form, and when writing the second data into the first non-volatile storage unit in the log file form, suspend writing the log file of the first data in the first non-volatile storage unit into the second non-volatile storage unit.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a data processing device and a data processing method. In the data processing device and the data processing method provided by the embodiments of the present invention, first data in a memory is written into a first non-volatile storage unit in a log file form, and a log file of the first data written into the first non-volatile storage unit is written into a second non-volatile storage unit. Because a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit, fast backup of the data in the memory can be achieved, and when the data in the memory is lost in an abnormal situation, security of the data in the memory can be ensured.
-
Citations
18 Claims
-
1. A data processing device, comprising:
-
a control unit; a memory coupled to the control unit; a first non-volatile storage unit coupled to the control unit; and a second non-volatile storage unit coupled to the first non-volatile storage unit and the control unit, wherein a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit, wherein the control unit is configured to write first data into the memory, write the first data into the first non-volatile storage unit in a log file form, and write, into the second non-volatile storage unit, a log file of the first data written into the first non-volatile storage unit, wherein the control unit is further configured to write a second data into the memory, and write the second data into the first non-volatile storage unit in the log file form, and when writing the second data into the first non-volatile storage unit in the log file form, suspend writing the log file of the first data in the first non-volatile storage unit into the second non-volatile storage unit. - View Dependent Claims (2, 3, 4)
-
-
5. A data processing device, wherein the data processing device comprises a control unit, a memory, a first non-volatile storage unit, and a second non-volatile storage unit;
- a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit; and
the control unit is configured to write first data into the memory, and write the first data into the first non-volatile storage unit in a log file form; and the control unit is further configured to acquire the first data from the memory, and convert the acquired first data to a log file and write the converted log file into the second non-volatile storage unit, and acquire the first data from the memory and write the first data into the second non-volatile storage unit. - View Dependent Claims (6, 7, 8, 9)
- a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit; and
-
10. A data processing method, wherein the data processing method is applied in a data processing device and comprises:
-
receiving first data to be written into a memory of the data processing device; writing the first data into the memory, and writing the first data into a first non-volatile storage unit in a log file form; writing, into a second non-volatile storage unit, a log file of the first data written into the first non-volatile storage unit, wherein a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit; writing a second data into the memory, and writing the second data into the first non-volatile storage unit in the log file form; and when the second data is written into the first non-volatile storage unit in the log file form, suspending writing the log file of the first data in the first non-volatile storage unit into the second non-volatile storage unit. - View Dependent Claims (11, 12, 13)
-
-
14. A data processing method, wherein the data processing method is applied in a data processing device and comprises:
-
receiving first data to be written into a memory of the data processing device; writing the first data into the memory, and writing the first data into a first non-volatile storage unit in a log file form; and converting the first data in the memory to a log file and writing the converted log file into a second non-volatile storage unit, writing the first data in the memory into the second non-volatile storage unit, wherein a data write speed of the first non-volatile storage unit is higher than a data write speed of the second non-volatile storage unit. - View Dependent Claims (15, 16, 17, 18)
-
Specification