The invention is suitable for the technical field of
data processing, and provides a data storage method, a
solid state disk and a program product, and the method comprises the steps: obtaining environment data of an area where a vehicle is located in a
vehicle driving process; the environment data comprises obstacle data in a
shooting range of the vehicle; inputting the environment data into a trained collision prediction model for
processing to obtain collision prediction information between the vehicle and the obstacle; the collision prediction information comprises collision time; if the collision time is smaller than or equal to the first preset time, target data corresponding to the vehicle in the preset collision time period is solidified to the nonvolatile storage device. According to the method, the risk is pre-judged in advance through the collision prediction model, the data solidification process is actively triggered before the actual collision, the process does not depend on hardware
signal feedback after the collision occurs, and the problems that the
system fails and data cannot be written in when the collision occurs are solved.