The invention relates to a data storage device and method, a black box, a vehicle, a controller and a medium. The device comprises a first storage area for storing vehicle data collected by a vehicledevice in real time, a detection module for detecting whether a preset event occurs, and a second storage area for storing vehicle data in a preset time period acquired from the first storage area andthe vehicle device when the preset event occurs. Through adoption of the method, vehicle data is stored safely and reliably, and desired data is convenient to acquire.