Data recording method, micro-control unit, data recording device and vehicle

The invention relates to a data recording method, a micro-control unit, a data recording device and a vehicle. The data recording method comprises the following steps: acquiring a write-in request from a random access memory (RAM) mirror image; determining a first sector serving as a current effecti...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: XU GUANGZHEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a data recording method, a micro-control unit, a data recording device and a vehicle. The data recording method comprises the following steps: acquiring a write-in request from a random access memory (RAM) mirror image; determining a first sector serving as a current effective sector in at least two sectors contained in a data segment corresponding to the RAM mirror image in a data flash memory, the data flash memory being configured to contain one or more data segments; judging whether the residual space of the first sector is enough for writing the to-be-recorded data indicated by the writing request or not; if yes, writing the to-be-recorded data into the first sector; and if not, changing the current effective sector into a second sector different from the first sector in the at least two sectors so as to write the to-be-recorded data into the second sector. 本公开涉及一种数据记录方法、微控制单元、数据记录装置和车辆。其中,数据记录方法包括:获取来自随机存取存储器RAM镜像的写入请求;确定数据闪存中的与RAM镜像相应的数据段所包含的至少两个扇区中的、作为当前的有效扇区的第一扇区,其中,数据闪存被配置为包