Driving record file management method and system
By dividing the storage space of storage media into multiple purpose blocks and adopting priority storage strategies, the problem of SD card data fragmentation is solved, and the reading and writing efficiency and data retention time of driving record file management is improved.
Patent Information
- Application Number
- CN202310527741.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-12
AI Technical Summary
In existing vehicle driving recorders, the file data of the SD card is prone to fragmentation after long-term use, resulting in reduced read and write efficiency and inconvenient frequent formatting and maintenance.
Using a driving record archive management method, by dividing the storage space of the storage media into large blocks of normal use, event use and parking use, and dividing multiple archive blocks with the same storage capacity in each block. Use the priority principle to store and access data to ensure that history is extended and retained and avoid data fragmentation.
It effectively avoids data fragmentation, ensures the reading and writing efficiency of storage media, and extends the retention time of historical records.
Smart Images

Figure CN118942172A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the storage of driving record files, and in particular to a driving record file management method and system. Background Art
[0002] At present, the recorded files (including video files and driving track files) obtained by vehicle driving recorders are usually stored in storage media such as SD (Secure Digital) cards according to the data format of the file system such as FAT (File Allocation Table) 32. However, FAT has a serious disadvantage, that is, when the old files (stored) in the SD card are to be deleted to write new data, FAT will not organize the new files to be written into complete segments before writing them to the SD card. Therefore, after long-term use, the file data stored in the SD card will gradually become scattered, which is the so-called fragmentation, thereby reducing the reading and writing efficiency of the SD card.
[0003] In order to solve the problem of SD card fragmentation, the SD card must be formatted frequently to maintain the original reading and writing efficiency. Since the SD card formatting process is relatively time-consuming (about 20 seconds / file), it causes inconvenience in use.
[0004] Therefore, how to invent a driving record file management method that can avoid the file fragmentation problem of the storage medium and ensure the read and write efficiency of the storage medium has become one of the issues that the relevant technical field wants to solve. Summary of the invention
[0005] Therefore, an object of the present invention is to provide a driving record file management method and system, which can overcome at least one disadvantage of the prior art.
[0006] Therefore, a driving record file management method provided by the present invention is used to manage a storage medium installed in a vehicle with multiple different recording modules, is executed by a processor, and includes the following steps: a storage space of the storage medium is divided into at least a normal large block, an event large block and a parking large block corresponding to normal use, event use and parking use respectively, and each of the normal large block, the event large block and the parking large block is divided into a plurality of areas corresponding to the recording modules respectively, each of which is further divided into a plurality of file blocks with the same storage capacity; using the priority principle, all file blocks in each area of the storage space of the storage medium are assigned a corresponding block access sequence; when obtaining multiple driving record data acquired by the recording modules at each first unit time during the driving of the vehicle, each driving record is accessed according to the respective block access sequence of the areas assigned to the normal large block. The driving record data is stored as a corresponding current normal file in a file block retrieved from one of the corresponding areas of the areas of the normal large block; when a plurality of driving record data acquired by the recording modules in a period from a first time point earlier than an event time point when an event occurs to a second time point later than the event time point is obtained, each driving record data is stored as a corresponding current event file in a file block retrieved from one of the corresponding areas of the areas of the event large block according to the respective block access sequence of the areas assigned to the event large block; and when a plurality of parking record data acquired by the recording modules in each second unit time during the parking of the vehicle is obtained, each parking record data is stored as a corresponding current parking file in a file block retrieved from one of the corresponding areas of the areas of the parking large block according to the respective block access sequence of the areas assigned to the parking large block.
[0007] In some embodiments, the priority principle includes (i) the file block that has not written any file in the area has a first priority, (ii) the file block that stores incomplete or damaged historical records in the area has a second priority, and (iii) the file block that stores the earliest historical records in the area has a third priority. The processor determines the file block to be used in the corresponding area of the normal large block according to the corresponding block access sequence, so that the period of retention of the historical normal files stored in the corresponding area of the normal large block can be extended to the longest. The processor determines the file block to be used in the corresponding area of the event large block according to the corresponding block access sequence, so that the period of retention of the historical event files stored in the corresponding area of the event large block can be extended to the longest. The processor determines the file block to be used in the corresponding area of the parking large block according to the corresponding block access sequence, so that the period of retention of the historical parking files stored in the corresponding area of the parking large block can be extended to the longest.
[0008] In some embodiments, the recording modules include multiple image capture modules and a geolocation module. The driving record data corresponding to the first unit time include multiple driving video data of the vehicle acquired by the image capture modules in the first unit time and the driving track data of the vehicle acquired by the geolocation module in the first unit time. The driving record data corresponding to the time period include multiple driving video data of the vehicle acquired by the image capture modules in the time period and the driving track data of the vehicle acquired by the geolocation module in the time period. The driving record data corresponding to the second unit time include multiple parking video data of the vehicle acquired by the image capture modules in the second unit time.
[0009] In some embodiments, the regions in the normal large block include a plurality of video file regions corresponding to the image capturing modules, and a trajectory file region corresponding to the geolocation module, wherein the storage capacity of each file block in each video file region is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image, and the first unit time, and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the first unit time, and the storage capacity of each file block in the trajectory file region is larger than the size of the driving trajectory data acquired in the first unit time. The regions in the event large block include a plurality of video file regions corresponding to the image capturing modules, and a trajectory file region corresponding to the geolocation module, wherein the storage capacity of each file block in each video file region is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image, and the time period, and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the time period, and the storage capacity of each file block in the trajectory file region is larger than the size of the driving trajectory data acquired in the time period. The areas in the large parking block include multiple video file areas corresponding to the image capturing modules, and the storage capacity of each file block in each of them is associated with the frame rate, pixels of each frame image and the second unit time of a corresponding one of the image capturing modules and is slightly larger than the size of the parking video data acquired by the corresponding image capturing module within the second unit time.
[0010] In some embodiments, the driving record file management method further includes the following steps: periodically confirming whether each file stored in the storage medium is damaged, and when a damaged file is confirmed, updating the block access sequence corresponding to the area to which the damaged file belongs.
[0011] Therefore, the driving record file management system provided by the present invention is suitable for being installed in a vehicle equipped with a plurality of different recording modules, and includes a storage medium and a processor.
[0012] The storage medium has a storage space. The storage space is divided into at least a normal large block, an event large block, and a parking large block corresponding to normal use, event use, and parking use, respectively. Each of the normal large block, the event large block, and the parking large block is further divided into a plurality of areas corresponding to the recording modules, each of which is further divided into a plurality of file blocks having the same storage capacity.
[0013] The processor is adapted to be electrically connected to the recording modules and the storage medium and the storage module, and to assign corresponding block access sequences to all file blocks in each area of the storage space of the storage medium using a priority principle.
[0014] When the processor receives multiple record data acquired by the recording modules at each first unit time during the driving of the vehicle, the processor stores each driving record data as a corresponding current normal file in a retrieved file block in one of the corresponding areas of the areas of the normal large block according to the block retrieval order of the areas assigned to the normal large block.
[0015] When the processor obtains multiple driving record data acquired by the recording modules during a period from a first time point earlier than an event time point when an event occurs to the vehicle to a second time point later than the event time point, the processor stores each driving record data as a corresponding current event file in a retrieved file block in one of the corresponding areas of the area of the event large block according to the block retrieval order of the areas assigned to the event large block.
[0016] When the processor receives multiple parking record data acquired by the recording modules during each second unit time during the parking of the vehicle, the processor stores each parking record data as a corresponding current parking file in a retrieved file block in one of the corresponding areas of the areas of the large parking block according to the block retrieval order of the areas assigned to the large parking block.
[0017] In some embodiments, the priority principle includes (i) the file block that has not written any file in the area has a first priority, (ii) the file block that stores incomplete or damaged historical records in the area has a second priority, and (iii) the file block that stores the earliest historical records in the area has a third priority. The processor determines the file block to be used in the corresponding area of the normal large block according to the corresponding block access sequence, so that the period of retention of the historical normal files stored in the corresponding area of the normal large block can be extended to the longest. The processor determines the file block to be used in the corresponding area of the event large block according to the corresponding block access sequence, so that the period of retention of the historical event files stored in the corresponding area of the event large block can be extended to the longest. The processor determines the file block to be used in the corresponding area of the parking large block according to the corresponding block access sequence, so that the period of retention of the historical parking files stored in the corresponding area of the parking large block can be extended to the longest.
[0018] In some embodiments, the recording modules include multiple image capture modules and a geolocation module. The driving record data corresponding to the first unit time include multiple driving video data of the vehicle acquired by the image capture modules within the predetermined first unit time and the driving track data of the vehicle acquired by the geolocation module within the predetermined first unit time. The driving record data corresponding to the predetermined time period include multiple driving video data of the vehicle acquired by the image capture modules within the predetermined time period and the driving track data of the vehicle acquired by the geolocation module within the predetermined time period. The driving record data corresponding to the predetermined second unit time include multiple parking video data of the vehicle acquired by the image capture modules within the predetermined second unit time.
[0019] In some embodiments, the regions in the normal large block include a plurality of video file regions corresponding to the image capturing modules, and a trajectory file region corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file region is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image, and the predetermined first unit time, and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the predetermined first unit time, and the storage capacity of each file block in the trajectory file region is larger than the size of the driving trajectory data acquired in the predetermined first unit time. The regions in the event large block include a plurality of video file regions corresponding to the image capturing modules, and a trajectory file region corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file region is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image, and the predetermined time period, and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the predetermined time period, and the storage capacity of each file block in the trajectory file region is larger than the size of the driving trajectory data acquired in the predetermined time period. The areas in the large parking block include multiple video file areas corresponding to the image capturing modules, and the storage capacity of each file block in each of them is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image and the predetermined second unit time, and is slightly larger than the size of the parking video data acquired by the corresponding image capturing module within the predetermined second unit time.
[0020] In some embodiments, the processor further periodically confirms whether each file stored in the storage medium is damaged, and when a damaged file is confirmed, updates the block access sequence corresponding to the area to which the damaged file belongs.
[0021] Compared with the prior art, the driving record file management method and system of the present invention has a storage space of the storage medium that has been planned into a plurality of large blocks corresponding to a plurality of different purposes, and each large block is also planned with a plurality of areas corresponding to the recording modules, and each area is further divided into a plurality of file blocks with the same storage capacity according to the recording specifications and recording time period of the corresponding recording module. Therefore, in the same area, the processor can store record files with substantially similar file sizes in the accessed file blocks according to the corresponding block access sequence. This not only ensures that the historical record files stored in each area can be retained for the longest period of time, but also effectively avoids the file fragmentation problem encountered in the prior art, and at the same time ensures the read and write efficiency of the storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which:
[0023] Figure 1 is a block diagram, which exemplarily illustrates a driving record file management system according to an embodiment of the present invention, and a plurality of image capturing modules and a geographic positioning module disposed in a vehicle;
[0024] Figure 2 is a schematic diagram, exemplarily illustrating the division of storage space of a storage medium of the embodiment;
[0025] Figure 3 is a schematic diagram, exemplarily illustrating a situation in which each of the normal large block, the event large block and the parking large block of the embodiment is divided into a plurality of different areas; and
[0026] Figure 4 2 is a schematic diagram, exemplarily illustrating a situation in which each area of the normal large block, the event large block and the parking large block of the embodiment is divided into a plurality of file blocks. DETAILED DESCRIPTION
[0027] Before the present invention is described in detail, it should be noted that similar elements are denoted by the same reference numerals in the following description.
[0028] See also Figure 1, exemplarily depicting a driving record file management system 100 according to an embodiment of the present invention, and a plurality of recording modules disposed in a vehicle (not shown), such as first to third image shooting modules 201-203 and a geolocation module 204, but not limited thereto. The first to third image shooting modules 201-203 can be a front lens module for capturing images in front of the vehicle (such as but not limited to a CMOS lens module), an interior lens module for capturing images in the vehicle (such as but not limited to a CMOS lens module), and a rear lens module for capturing images in the rear of the vehicle (such as but not limited to a CMOS lens module). The driving record file management system 100 is suitable for being disposed in the vehicle, and comprises a storage medium 2, and a processor 1.
[0029] In this embodiment, the storage medium 2 is, for example but not limited to, an SD card, and is electrically connected to the processor 1. The storage medium 2 has a storage space for storing data or recording files.
[0030] Before the driving record file management system 100 is used, the processor 1 divides the storage space of the storage medium 2 into a normal large block, an event large block, a parking large block and a reserved large block corresponding to normal use, event use, parking use and reserved use, respectively. Figure 2 As shown, the storage space has a storage capacity of, for example, 119 GB, wherein the normal large block has a storage capacity of, for example, 60 GB and is used to store image data (i.e., driving video data) acquired by the first to third image capturing modules 201-203 during the driving of the vehicle and geographic location data (i.e., driving trajectory data) acquired by the geographic positioning module 204; the event large block has a storage capacity of, for example, 40 GB and is used to store the location data (i.e., driving trajectory data) acquired by the geographic positioning module 204 each time an event occurs to the vehicle, from a first time point earlier than the event time point when the event occurs (e.g., 15 seconds before the event time point) to a second time point later than the event time point. The large parking block includes the image data (i.e., driving video data) acquired by the first to third image capturing modules 201 to 203 within a time period (e.g., 30 seconds) from an event time point (e.g., 15 seconds after an event time point) and the geographic location data (i.e., driving trajectory data) acquired by the geographic positioning module 204; the large parking block includes, for example, a storage capacity of 10 GB and is used to store image data (i.e., parking video data) acquired by the first to third image capturing modules 201 to 203 during the period when the vehicle is parked (i.e., completely stationary); and the reserved large block includes, for example, a storage capacity of 9 GB and is used to store files or data that need to be retained.
[0031] In addition, the processor 1 further divides each of the normal large block, the event large block, and the parking large block into, for example, a first video file area, a second video file area, a third video file area, and a track file area corresponding to the first to third image capturing modules 201-203 and the geographic positioning module 204, respectively. Figure 3 As shown. Furthermore, for the normal large block, the processor 1 further divides each of the first to third video file areas into a plurality of file blocks having the same storage capacity (e.g., 330MB), and further divides the track file area into a plurality of file blocks having the same storage capacity (e.g., 512KB). Thus, if the normal large block has 60GB, each of the first to third video file areas can be divided into, for example, 60 file blocks having 330MB, and the track file area can be divided into, for example, 60 file blocks having 512KB (see Figure 4 ). For the event large block, the processor 1 further divides each of the first to third video file areas into a plurality of file blocks having the same storage capacity (e.g., 55MB), and further divides the track file area into a plurality of file blocks having the same storage capacity (e.g., 512KB). Thus, if the event large block has 40GB, each of the first to third video file areas can be divided into, for example, 240 file blocks having 330MB, and the track file area can be divided into 240 file blocks having 512KB (see Figure 4 ). For the parking large block, the processor 1 further divides each of the first to third video file areas into a plurality of file blocks having the same storage capacity (e.g., 270MB). Thus, if the parking large block has 10GB, each of the first to third video file areas can be divided into, for example, 12 file blocks having 270MB (see Figure 4 ).
[0032] It is worth noting that the storage capacity of each file block in each video file area in the normal large block is associated with the frame rate, the pixels per frame image and a first unit time of a corresponding one of the first to third image capturing modules 201-203 and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module 201 / 202 / 203 within a first unit time; the storage capacity of each file block in each video file area in the event large block is associated with the frame rate, the pixels per frame image and a first unit time of a corresponding one of the first to third image capturing modules 201-203. The frame rate, pixels of each frame image and the time period are associated with each other and are slightly larger than the size of the driving video data acquired by the corresponding image shooting module 201 / 202 / 203 within the time period; the storage capacity of each file block in each video file area in the large parking block is associated with the frame rate, pixels of each frame image and a second unit time of a corresponding one of the first to third image shooting modules 201~203 and is slightly larger than the size of the parking video data acquired by the corresponding image shooting module 201 / 202 / 203 within the second unit time. In this embodiment, during the driving of the vehicle, the frame rate and the pixels of each frame image of each of the first to third image capturing modules 201~203 are, for example, 30 frames / second and 1080 pixels, respectively, and the first unit time is, for example, 3 minutes and the time period is, for example, 30 seconds; and during the parking of the vehicle, compared to the driving of the vehicle, each of the first to third image capturing modules 201~203 can obtain each parking video data within the second unit time such as 3 minutes at a smaller frame rate and lower resolution.
[0033] Finally, the processor 1 obtains a file system based on all the file blocks of the normal large block, the event large block and the parking large block, as well as the corresponding relationship data between the memory address and the usage status, and stores the file system. Later, when in use, the processor 1 will obtain the memory address of the file block to be accessed in the storage space of the storage medium 2 for recording files based on the file system.
[0034] Please note that when the driving record file management system 100 is initially used, the processor 1 will write the file to be recorded into the accessed file block according to the arrangement order of the file blocks in each area (i.e., the first video file area, the second video file area, the third video file area or the trajectory file area) of each large block (i.e., the normal large block, the event large block or the parking large block). Therefore, when initially used, the file blocks in each area will be accessed in sequence to store the files to be recorded. In addition, after the driving record file management system 100 begins to be used, the processor 1 will periodically confirm whether each file stored in the storage medium 2 is damaged, and when a damaged file is confirmed, the file system will mark the use status of the file block where the damaged file is located and update the block access order corresponding to the area to which the damaged file belongs.
[0035] Afterwards, the processor 1 assigns corresponding block access sequences to all file blocks in each area of the storage space of the storage medium 2 according to the file system and using a priority principle. In this embodiment, the priority principle includes, for example, (i) file blocks that have never been written to any file in the area have a first priority, (ii) file blocks that store incomplete or damaged historical records in the area have a second priority, and (iii) file blocks that store the earliest historical records in the area have a third priority, so as to maximize the retention time of the historical records stored in the area.
[0036] More specifically, in the present embodiment, during the driving of the vehicle, when the processor 1 obtains three driving video data (as driving record data) of the vehicle respectively obtained by the first to third image capturing modules 201 to 203 in the first unit time and the driving trajectory data (as driving record data) of the vehicle obtained by the geolocation module 204 in the first unit time in each first unit time (for example, 3 minutes) during the driving period, the processor 1 determines a retrieved file block corresponding to the first unit time for each of the first to third video file areas and the trajectory file area assigned to the normal large block according to the respective block retrieval order of the first to third video file areas and the trajectory file area, and stores the three driving video data as current normal files in the retrieved file blocks determined in the first to third video file areas of the normal large block, so that the period for which the historical normal files stored in each of the first to third video file areas and the trajectory file area of the normal large block are retained can be extended to the longest.
[0037] On the other hand, during the driving of the vehicle, if the vehicle-mounted system (not shown), such as the event detection system, detects an event (e.g., a collision event) at a time point (hereinafter referred to as the event time point) during the driving period, the event detection system notifies the processor 1 of the event time point. Therefore, the processor 1 can extract the three driving video data and driving trajectory data of a period of 30 seconds from a first time point earlier than the event time point, such as 15 seconds, to a second time point later than the event time point, such as 15 seconds, from the three driving video data and driving trajectory data acquired by the first to third image capturing modules 201-203 and the geolocation module 204 within the unit time including the event time point (as a plurality of event record data corresponding to the period) obtained by the recording modules at an event time point earlier than when an event occurs in the vehicle. Afterwards, the processor 1 stores the three captured driving video data as current event files in the file blocks respectively used in the first to third video file areas of the event large block in accordance with the respective block access order of the first to third video file areas and the trajectory file area assigned to the event large block, and stores the captured driving trajectory data as current event file in the file block used in the trajectory file area of the event large block, so that the retention period of the historical event files stored in each of the first to third video file areas and the trajectory file area of the event large block can be extended to the longest.
[0038] Furthermore, during the parking period of the vehicle, when the processor 1 obtains three parking video data (as parking record data) of the vehicle acquired by the first to third image capturing modules 201 to 203 in each second unit time (for example, 3 minutes) during the parking period and the driving trajectory data (as parking record data) of the vehicle acquired by the geolocation module 204 in the second unit time, the processor 1 determines a retrieved file block corresponding to the second unit time of each of the first to third video file areas and the trajectory file area according to the respective block retrieval order assigned to the first to third video file areas and the trajectory file area of the parking large block, and stores the three parking video data as current parking files in the retrieved file blocks determined in the first to third video file areas of the parking large block, so that the period of retention of the historical normal files stored in each of the first to third video file areas and the trajectory file area of the parking large block can be extended to the longest.
[0039] In summary, since the storage space of the storage medium 2 has been planned into a plurality of large blocks corresponding to a plurality of different purposes, and each large block is also planned with a plurality of areas (such as the first to third video file areas, and the track file area) corresponding to the recording modules (such as the first to third image shooting modules 201-203, and the geographic positioning module 204), and each area is further divided into a plurality of file blocks with the same storage capacity according to the recording specifications and recording time periods of the corresponding recording modules, the processor 1 can store the record files with substantially similar file sizes in the accessed file blocks in the same area according to the corresponding block access sequence, so that it can not only ensure that the retention period of each historical record file stored in each area can be extended to the longest, but also effectively avoid the file fragmentation problem encountered in the prior art, and at the same time ensure the read and write efficiency of the storage medium. Therefore, the driving record file management system 100 of the present invention can indeed achieve the purpose of the present invention.
[0040] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A driving record file management method for managing a storage medium installed in a vehicle with a plurality of different recording modules, executed by a processor, characterized in that: And includes the following steps: A storage space of the storage medium is divided into at least a normal large block, an event large block and a parking large block corresponding to normal use, event use and parking use respectively, and each of the normal large block, the event large block and the parking large block is further divided into a plurality of areas corresponding to the recording modules respectively, each of which is further divided into a plurality of file blocks having the same storage capacity; Using a priority principle, assigning a corresponding block access order to all file blocks in each area of the storage space of the storage medium; When a plurality of driving record data acquired by the recording modules during each first unit time during the driving of the vehicle is obtained, each driving record data is stored as a corresponding current normal file in a retrieved file block in one of the corresponding areas of the areas of the normal large block according to the respective block retrieval order of the areas assigned to the normal large block; When a plurality of driving record data acquired by the recording modules in a period from a first time point earlier than an event time point when an event occurs to a second time point later than the event time point is acquired, storing each driving record data as a corresponding current event file in an acquired file block of one of the corresponding areas of the areas of the event large block according to the respective block acquisition order of the areas assigned to the event large block; and When a plurality of parking record data acquired by the recording modules during each second unit time during the parking of the vehicle is obtained, each parking record data is stored as a corresponding current parking file in a retrieved file block in a corresponding one of the areas of the large parking block according to a plurality of block retrieval orders of the areas assigned to the large parking block.
2. The driving record file management method according to claim 1, characterized in that: The priority principle includes: (i) the file blocks that have not been written to any file in the area have a first priority, (ii) the file blocks that store incomplete or damaged historical records in the area have a second priority, and (iii) the file blocks that store the earliest historical records in the area have a third priority; The processor determines the accessed file block in the corresponding area of the normal large block according to the corresponding block access sequence, so that the retention period of the historical normal file stored in the corresponding area of the normal large block can be extended to the longest; The processor determines the retrieved file block in the corresponding area of the event large block according to the corresponding block retrieval order, so that the retention period of the historical event file stored in the corresponding area of the event large block can be extended to the longest; and The processor determines the retrieved file block in the corresponding area of the parking large block according to the corresponding block retrieval order, so that the retention period of the historical parking file stored in the corresponding area of the parking large block can be extended to the longest.
3. The driving record file management method according to claim 1, characterized in that: The recording modules include a plurality of image capturing modules and a geographic positioning module; The driving record data corresponding to the first unit time include a plurality of driving video data of the vehicle acquired by the image capturing modules within the first unit time and driving track data of the vehicle acquired by the geographic positioning module within the first unit time; The driving record data corresponding to the time period include a plurality of driving video data of the vehicle acquired by the image capturing modules within the time period and the driving track data of the vehicle acquired by the geographic positioning module within the time period; and The driving record data corresponding to the second unit time include a plurality of parking video data of the vehicle acquired by the image capturing modules within the second unit time.
4. The driving record file management method according to claim 3, characterized in that: The areas in the normal large block include a plurality of video file areas corresponding to the image capturing modules and a track file area corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file area is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image and the first unit time and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the first unit time, and the storage capacity of each file block in the track file area is larger than the size of the driving track data acquired in the first unit time; The areas in the event large block include a plurality of video file areas corresponding to the image capturing modules and a track file area corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file area is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image and the time period and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the time period, and the storage capacity of each file block in the track file area is larger than the size of the driving track data acquired in the time period; The areas in the large parking block include multiple video file areas corresponding to the image capturing modules, and the storage capacity of each file block in each of them is associated with the frame rate, pixels of each frame image and the second unit time of a corresponding one of the image capturing modules and is slightly larger than the size of the parking video data acquired by the corresponding image capturing module within the second unit time.
5. The driving record file management method according to claim 1, characterized in that: It also includes the following steps: Periodically confirm whether each file stored in the storage medium is damaged, and when a damaged file is confirmed, update the block access sequence corresponding to the area to which the damaged file belongs.
6. A driving record file management system, suitable for being installed in a vehicle equipped with a plurality of different recording modules, characterized in that: And contains: A storage medium having a storage space, wherein the storage space is divided into at least a normal large block, an event large block, and a parking large block corresponding to normal use, event use, and parking use, respectively, wherein each of the normal large block, the event large block, and the parking large block is further divided into a plurality of areas corresponding to the recording modules, respectively, and each of the areas is further divided into a plurality of file blocks having the same storage capacity; and a processor, adapted to be electrically connected to the recording modules and the storage medium and the storage module, and to assign corresponding block access sequences to all file blocks in each area of the storage space of the storage medium using a priority principle; When the processor receives a plurality of record data acquired by the recording modules during each first unit time during the driving of the vehicle, the processor stores each driving record data as a corresponding current normal file in a retrieved file block in one of the corresponding areas of the areas of the normal large block according to the respective block retrieval order of the areas assigned to the normal large block; When the processor obtains a plurality of driving record data acquired by the recording modules during a period from a first time point earlier than an event time point when an event occurs at the vehicle to a second time point later than the event time point, the processor stores each driving record data as a corresponding current event file in a retrieved file block in one of the corresponding areas of the areas of the event large block according to the respective block retrieval order of the areas assigned to the event large block; and When the processor receives multiple parking record data acquired by the recording modules during each second unit time during the parking of the vehicle, the processor stores each parking record data as a corresponding current parking file in a retrieved file block in one of the corresponding areas of the areas of the large parking block according to the block retrieval order of the areas assigned to the large parking block.
7. The driving record file management system according to claim 6, characterized in that: The priority principle includes: (i) the file blocks that have not been written to any file in the area have a first priority, (ii) the file blocks that store incomplete or damaged historical records in the area have a second priority, and (iii) the file blocks that store the earliest historical records in the area have a third priority; The processor determines the accessed file block in the corresponding area of the normal large block according to the corresponding block access sequence, so that the retention period of the historical normal file stored in the corresponding area of the normal large block can be extended to the longest; The processor determines the retrieved file block in the corresponding area of the event large block according to the corresponding block retrieval order, so that the retention period of the historical event file stored in the corresponding area of the event large block can be extended to the longest; and The processor determines the retrieved file block in the corresponding area of the parking large block according to the corresponding block retrieval order, so that the retention period of the historical parking file stored in the corresponding area of the parking large block can be extended to the longest.
8. The driving record file management system according to claim 6, characterized in that: The recording modules include a plurality of image capturing modules and a geographic positioning module; The driving record data corresponding to the first unit time include a plurality of driving video data of the vehicle acquired by the image capturing modules within the first unit time and driving track data of the vehicle acquired by the geographic positioning module within the first unit time; The driving record data corresponding to the time period include a plurality of driving video data of the vehicle acquired by the image capturing modules within the time period and the driving track data of the vehicle acquired by the geographic positioning module within the time period; and The driving record data corresponding to the second unit time include a plurality of parking video data of the vehicle acquired by the image capturing modules within the second unit time.
9. The driving record file management system according to claim 8, characterized in that: The areas in the normal large block include a plurality of video file areas corresponding to the image capturing modules and a track file area corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file area is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image and the first unit time and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the first unit time, and the storage capacity of each file block in the track file area is larger than the size of the driving track data acquired in the first unit time; The areas in the event large block include a plurality of video file areas corresponding to the image capturing modules and a track file area corresponding to the geographic positioning module, wherein the storage capacity of each file block in each video file area is associated with the frame rate of a corresponding one of the image capturing modules, the pixels of each frame image and the time period and is slightly larger than the size of the driving video data acquired by the corresponding image capturing module in the time period, and the storage capacity of each file block in the track file area is larger than the size of the driving track data acquired in the time period; The areas in the large parking block include multiple video file areas corresponding to the image capturing modules, and the storage capacity of each file block in each of them is associated with the frame rate, pixels of each frame image and the second unit time of a corresponding one of the image capturing modules and is slightly larger than the size of the parking video data acquired by the corresponding image capturing module within the second unit time.
10. The driving record file management system according to claim 6, characterized in that: The processor also periodically confirms whether each file stored in the storage medium is damaged, and when a damaged file is confirmed, updates the block access sequence corresponding to the area to which the damaged file belongs.
Citation Information
Patent Citations
Storage management method, system and storage apparatus
CN101419573A
Video storage method, device and system
CN106060442A
Humanized emergency document recording system
CN107682652A
Call audio volume adjusting method for mobile terminal, storage medium and mobile terminal
CN109451180A
A hard disk detection method of electronic equipment and the electronic equipment
CN109697144A
