Method and device for repairing vehicle-mounted video files
A vehicle video and repair method technology, which is applied in the field of vehicle video, can solve problems such as low usability and incomplete storage of vehicle video files, and achieve the effect of improving usability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is an implementation flowchart of the vehicle-mounted video file repair method provided by the embodiment of the present invention, and is described in detail as follows:
[0024] In step S101, obtain the cluster linked by the cluster number of the in-vehicle video file that cannot be copied;
[0025] Detect whether the event that cannot copy the vehicle video file has occurred, when an event that cannot be copied occurs, find the vehicle video file according to the event, and in the vehicle video file chain, obtain the cluster linked by the cluster number of the vehicle video file that cannot be copied.
[0026] In step S102, it is judged whether the cluster corresponds to a plurality of vehicle-mounted video files;
[0027] In the in-vehicle video file chain, the in-vehicle video files corresponding to the cluster are acquired, and when the number of corresponding in-vehicle video files is greater than one, it means that the cluster corresponds to multipl...
Embodiment 2
[0035] figure 2 It is an implementation process diagram of step S104 of the vehicle-mounted video file repair method provided by the embodiment of the present invention, and is described in detail as follows:
[0036] In step S201, according to the order of generation time, obtain the vehicle video file with the earliest generation time;
[0037] In step S202, the on-board video file with the earliest generation time is written into the cluster number.
[0038] Wherein, the cluster numbers of the plurality of vehicle video files are truncated, and the cluster numbers are written into the vehicle video files with the earliest generation time.
[0039] Release the cluster allocated to a plurality of vehicle video files, write the cluster number in the vehicle video file with the earliest generation time, and then redistribute the cluster number in the vehicle video file allocation table, for the earliest vehicle video files except the generation time Car video files are writt...
Embodiment 3
[0042] This embodiment mainly describes the implementation process of marking bad clusters, which is detailed as follows:
[0043] When the number of write failures of the cluster number exceeds a preset number of times, the cluster is marked as a bad cluster.
[0044] The user can pre-configure the preset number of times of storage, for example, 3 times, and when the number of failures to write the cluster number exceeds the preset number, the cluster will be deleted. After writing to this location again next time, skip it directly to prevent future write operations from being impossible after encountering a bad cluster in the file system.
[0045] In this embodiment, since bad clusters are marked, the situation that the in-vehicle video file cannot be written is avoided, and the validity and reliability of the in-vehicle video file are guaranteed.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


