Data storage method and system for vehicle driving recorder

Through hierarchical storage and dynamic resource allocation of vehicle driving recorder data, combined with feature extraction and gray wolf optimization algorithm, the problem of insufficient data storage efficiency and security in the existing technology is solved, and efficient and safe data storage and security are achieved. manage.

CN118394283BActive Publication Date: 2024-09-27SHENZHEN JINYU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410857891.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing data storage methods for vehicle driving recorders cannot effectively handle the huge and continuously growing multi-dimensional data sets, especially in terms of high access frequency, real-time requirements and storage cost balance. At the same time, data security and privacy protection requirements are increasing. .

Method used

Through hierarchical storage of vehicle driving recorder data, including dynamic data collection, data classification, feature identification and segmentation, stacked dilation convolutional neural network and Siamese network are used to extract features, and storage allocation is performed through the gray wolf optimization algorithm, combined with dynamic Resource allocation and redundant storage strategies optimize storage costs and improve data access efficiency.

Benefits of technology

It achieves efficient data storage and improved security, ensures priority storage and security of key data, improves the flexibility and scalability of the entire storage system, and meets the needs of data security and storage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118394283B
    Figure CN118394283B
Patent Text Reader

Abstract

The present application relates to the technical field of vehicle driving recorders, and discloses a data storage method and system for vehicle driving recorders. The method comprises: performing dynamic data acquisition and preprocessing on a target vehicle through a vehicle driving recorder to obtain an initial vehicle driving data set; performing data classification and event recognition and annotation on the initial vehicle driving data set to obtain a sensor continuous data set and a video monitoring data set; performing feature recognition and data set segmentation to obtain multiple sensor sub-data sets and multiple video sub-data sets; performing hierarchical storage allocation on multiple sensor sub-data sets and multiple video sub-data sets to obtain hierarchical storage area information; performing dynamic resource allocation and hierarchical storage on multiple sensor sub-data sets and multiple video sub-data sets according to the hierarchical storage area information to generate a target vehicle driving data set. The present application improves data security by performing hierarchical storage on the data of a vehicle driving recorder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle driving recorders, and in particular to a data storage method and system for a vehicle driving recorder. Background Art

[0002] The functions of vehicle dashcams have expanded from simple video recording to include multi-dimensional sensor data collection, such as speed, acceleration, and steering wheel angle, which greatly increases the volume and complexity of the data. The multi-dimensional nature of this data provides rich information for a deep understanding of driving behavior and traffic environment, but also brings significant data management challenges.

[0003] A major problem facing current data storage methods is how to efficiently process and store these large and growing data sets. With the dramatic increase in data volume, traditional data storage solutions are no longer suitable because they cannot effectively handle the balance between high data access frequency, real-time requirements and storage costs. In addition, with the increasing requirements for data security and privacy protection, how to optimize storage efficiency and reduce costs while ensuring data security has become an urgent problem to be solved. Summary of the invention

[0004] The present application provides a data storage method and system for a vehicle driving recorder, and the present application improves data security by performing hierarchical storage on the data of the vehicle driving recorder.

[0005] In a first aspect, the present application provides a method for storing data of a vehicle driving recorder, the method for storing data of a vehicle driving recorder comprising:

[0006] The dynamic data of the target vehicle is collected and preprocessed through the vehicle driving recorder to obtain the initial vehicle driving data set;

[0007] Performing data classification and event recognition and annotation on the initial vehicle driving data set to obtain a sensor continuous data set and a video monitoring data set;

[0008] Performing feature recognition and data set segmentation on the sensor continuous data set and the video surveillance data set respectively to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets;

[0009] Performing hierarchical storage allocation on the multiple sensor sub-datasets and the multiple video sub-datasets to obtain hierarchical storage area information;

[0010] Dynamic resource allocation and hierarchical storage are performed on the multiple sensor sub-datasets and the multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

[0011] In a second aspect, the present application provides a data storage system for a vehicle driving recorder, the data storage system for the vehicle driving recorder comprising:

[0012] The acquisition module is used to collect and preprocess the dynamic data of the target vehicle through the vehicle driving recorder to obtain the initial vehicle driving data set;

[0013] A classification module is used to perform data classification and event recognition and annotation on the initial vehicle driving data set to obtain a sensor continuous data set and a video monitoring data set;

[0014] An identification module, used to perform feature identification and data set segmentation on the sensor continuous data set and the video surveillance data set respectively, to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets;

[0015] an allocation module, configured to perform hierarchical storage allocation on the plurality of sensor sub-datasets and the plurality of video sub-datasets to obtain hierarchical storage area information;

[0016] The storage module is used to dynamically allocate resources and perform hierarchical storage on the multiple sensor sub-datasets and the multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

[0017] The third aspect of the present application provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned data storage method of the vehicle driving recorder.

[0018] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned vehicle driving recorder data storage method.

[0019] In the technical solution provided by the present application, by integrating multiple monitoring sensors and defining the vehicle behavior trigger mechanism, efficient and dynamic data collection can be achieved. Data cleaning and standardization processing further ensure the quality and consistency of the data set, laying a solid foundation for subsequent analysis and application. By performing detailed data classification and time synchronization processing on the initial vehicle driving data set, as well as applying event recognition and feature fusion technology, key events can be accurately identified and annotated. Using the stacked expansion convolutional neural network and the Siamese network visual tracking algorithm of the second-order attention, the features of sensor data and video data can be deeply extracted, and efficient data set segmentation can be performed based on these features. The data set is hierarchically stored and allocated through the improved gray wolf optimization algorithm, achieving an effective balance between optimizing storage costs and improving data access efficiency. The dynamic resource allocation mechanism ensures the priority and secure storage of key data, while also improving the flexibility and scalability of the entire storage system. By implementing a redundant storage strategy for key data, as well as regular performance and security assessments, the security and reliability of the data are effectively improved. The present application improves data security by storing the data of the vehicle driving recorder in layers. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0021] Figure 1 A schematic diagram of an embodiment of a data storage method of a vehicle driving recorder in an embodiment of the present application;

[0022] Figure 2 Schematic diagram of an embodiment of a data storage system of a vehicle driving recorder in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The embodiment of the present application provides a data storage method and system for a vehicle driving recorder. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the data storage method of the vehicle driving recorder in the embodiment of the present application includes:

[0025] Step 101: collect and preprocess dynamic data of a target vehicle through a vehicle driving recorder to obtain an initial vehicle driving data set;

[0026] It is understandable that the execution subject of the present application may be a data storage system of a vehicle driving recorder, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0027] Specifically, multiple monitoring sensors are integrated into the vehicle driving recorder to capture the driving status of the vehicle, including multi-dimensional information such as speed, acceleration, direction, and position. Multiple vehicle behavior trigger mechanisms are defined, including acceleration, deceleration, and turning behaviors, and the trigger mechanism is dynamically set based on the data monitored by the sensor. When the vehicle has a specific behavior, the driving recorder performs dynamic data collection according to the preset trigger mechanism, and the captured data contains a multi-dimensional dynamic monitoring data set of the vehicle under different driving conditions. The multi-dimensional dynamic monitoring data set is cleaned and standardized to remove noise, outliers, and redundant information in the data, and the data is converted into a format that is more suitable for storage and analysis to form a standard dynamic monitoring data set. The standard dynamic monitoring data set is encoded and the data format is optimized to make it more compact and convenient for subsequent storage and transmission. The encoded dynamic monitoring data set is transmitted to a preset cloud database to ensure the security of data transmission and provide conditions for long-term storage and large-scale processing of data. In the cloud database, the encoded dynamic monitoring data set is decoded and restored to its original format that is easy to understand and analyze, so as to obtain the initial vehicle driving data set.

[0028] Step 102: classify the initial vehicle driving data set and perform event recognition and annotation to obtain a sensor continuous data set and a video monitoring data set;

[0029] Specifically, the initial vehicle driving data set is classified into multiple sensor data and video data. The sensor data mainly includes information from the internal sensors of the vehicle, such as speed, acceleration, steering angle, etc., while the video data comes from the camera of the vehicle driving recorder, which records the visual information of the vehicle during driving. The multiple sensor data and video data are synchronized in time to ensure that all data are based on a unified timeline. The time-synchronized data is easier to be associated and analyzed, thereby improving the accuracy and efficiency of event recognition. On this basis, event recognition is performed on the synchronized sensor data and video data, and various events occurring during vehicle driving, such as sudden acceleration, sudden deceleration, emergency braking, turning, etc., are identified by analyzing the data features, and multiple first initial event features of each sensor data and multiple second initial event features of the video data are obtained. The first and second initial event features are fused by event features, and a comprehensive and integrated target event feature set is formed by integrating event features from different data sources to capture complex events during vehicle driving. The fused target event features are mapped and encoded, and a unique event feature encoding value is assigned to each target event feature. The encoding process helps the efficient storage of data, as well as subsequent data retrieval and analysis. All assigned event feature coding values ​​are arranged in sequence to generate an event feature coding sequence. This sequence serves as an index to guide subsequent data processing and storage operations. According to the event feature coding sequence, multiple sensor data and video data are annotated with event information, and the corresponding event feature coding values ​​are associated with the data to obtain annotated sensor continuous data set and video surveillance data set.

[0030] Step 103: performing feature recognition and data set segmentation on the sensor continuous data set and the video surveillance data set respectively to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets;

[0031] Specifically, the continuous sensor data set is divided into time windows. The continuous sensor data is divided into multiple independent data windows according to the set time interval. Each data window captures the driving state of the vehicle within a specific time range. Next, the sensor window data is processed by increasing the data dimension. More relevant dimensions or features, such as acceleration change rate, angular velocity, etc., are introduced on the basis of the original data to generate multi-dimensional sensor data. Deep feature extraction is performed on multi-dimensional sensor data based on the stacked dilated convolutional neural network. The stacked dilated convolutional neural network can effectively capture and learn long-term dependencies in the data through its deep structure and dilated convolution design to obtain the deep features of the sensor data. Multiple data segmentation points of the sensor continuous data set are determined based on the extracted sensor deep features. The segmentation points are determined based on the changes in data features and the recognition of specific events, aiming to segment the continuous data set into multiple sensor sub-datasets containing specific information or representing specific events. The segmentation process ensures that each sub-dataset can reflect independent events or state changes during the vehicle's driving process, thereby making the data storage and subsequent processing more efficient and targeted. The Siamese network visual tracking algorithm based on second-order attention is used to perform video feature recognition and video data set segmentation on the video surveillance data set. The algorithm enhances the network's perception of target features in the video through the second-order attention mechanism, making the visual tracking process more accurate and robust. The algorithm is used to perform video feature recognition and video dataset segmentation on video surveillance datasets, which can effectively identify key events and state changes in the video, and segment the video dataset accordingly to generate multiple video sub-datasets.

[0032] The video surveillance dataset is decomposed to decompose the entire video stream into multiple initial continuous video frames. Next, in order to eliminate the possible size and ratio differences between different video frames, the initial continuous video frames are normalized to ensure that each frame meets the unified standard and format, and the target continuous video frame is obtained. The initial frame among multiple target continuous video frames is selected as the tracking template, and the corresponding search area is determined. The search area defines the specific area range that the visual tracking algorithm focuses on, which is used to capture and track the target object in the video. Using the two branches in the Siamese network visual tracking algorithm, deep feature extraction is performed on the tracking template and the search area respectively. Branch one processes the tracking template, while branch two focuses on the search area, and the initial template features and initial search features are obtained respectively. Next, the extracted initial template features and initial search features are enhanced by the second-order attention mechanism. The second-order attention mechanism optimizes the expression of features by analyzing and emphasizing the relationship between key features, and generates target template features and target search features. These features more accurately reflect the essential attributes of the target object in the video. The algorithm calculates the feature similarity between the target template feature and the target search feature, locates the target object in the search area based on the similarity score, and ensures that the target object can be accurately tracked and identified in continuous video frames. After the target object is determined, its state is identified, its behavior and changes in the video sequence are analyzed, and the video segmentation points are determined. The determination of the video segmentation points is based on the significant nodes of the target object's state change, such as the moment when the behavior starts and ends, or the moment when the state undergoes a major change. Finally, based on the video segmentation points, the original video surveillance data set is segmented into multiple video sub-data sets. Each sub-data set represents an independent event or a series of related events in the video.

[0033] Define the state variables and measurement variables of the target object, where the state variables may include the speed, position, acceleration, etc. of the vehicle, while the measurement variables are the data actually measured by the sensor or video monitoring system, such as the position information obtained by GPS or the acceleration information obtained by the accelerometer. Based on these variables, establish the state transition model of the target object, which describes the change law of the vehicle state over time and predicts the state of the vehicle at the next moment. At the same time, establish the observation model of the target object based on the state variables and measurement variables. The observation model is used to describe the relationship between the actual measurement data and the vehicle state, and provide an estimate of the current state of the vehicle through the analysis of the actual measurement data. The vehicle state of the target object is estimated through the state transition model to obtain the first vehicle state estimation data. The state transition model is applied to the currently known vehicle state and control input to predict the vehicle state at the next moment. The vehicle state of the target object is estimated according to the observation model, and the second vehicle state estimation data is obtained based on the actual measurement data. The observation model is used to correct or verify the prediction obtained by the state transition model to ensure the accuracy of the state estimation. The first vehicle state estimation data and the second vehicle state estimation data are compared and the state is updated. Algorithms such as Kalman filtering are used to comprehensively consider the prediction and observation results, optimize the state estimation, and improve its accuracy. Through the comparison and update process, the actual state of the vehicle can be continuously tracked, and the moments with significant differences from the prediction can be timely identified. These moments often correspond to key changes in the vehicle state, such as sudden acceleration, sudden braking and other events, and can therefore be used as the basis for video segmentation. Multiple video segmentation points in the video surveillance dataset are determined based on the target surveillance video frame obtained through the state update. The video is divided into multiple sub-segments containing a single or coherent event, so that each video sub-dataset can represent a complete event or vehicle state change process.

[0034] Step 104: hierarchical storage allocation is performed on the multiple sensor sub-datasets and the multiple video sub-datasets to obtain hierarchical storage area information;

[0035] Specifically, a hierarchical storage initialization allocation is performed on multiple sensor sub-datasets and multiple video sub-datasets to obtain a first initial hierarchical storage area for each sensor sub-dataset and a second initial hierarchical storage area for each video sub-dataset. The initial allocation is based on factors such as data type, size, and access frequency. The first storage optimization goal and the first storage constraint of multiple sensor sub-datasets, as well as the second storage optimization goal and the second storage constraint of multiple video sub-datasets are defined. These optimization goals and constraints reflect the core requirements of storage management. For example, the optimization goal may include minimizing data access time, maximizing storage efficiency, or balancing storage load, while the storage constraint may cover storage space limitations, data security requirements, or data redundancy strategies. In order to achieve the optimization goal, before performing storage allocation, the preset gray wolf optimization algorithm is used to initialize the storage allocation population for the first initial hierarchical storage area of ​​each sensor sub-dataset and the second initial hierarchical storage area of ​​each video sub-dataset. The gray wolf optimization algorithm simulates the social hierarchy and hunting strategy of gray wolves to find the global optimal solution, which is used to initialize the initial population of storage allocation, aiming to explore the best storage allocation solution. According to the first storage optimization objective and the first storage constraint defined previously, the first storage allocation initial population is solved to determine the first α wolf, the first β wolf and the first δ wolf. These three “wolves” represent the optimal solution, the suboptimal solution and the third optimal solution in the solution space of the gray wolf optimization algorithm. The same process is applied to the second storage allocation initial population. According to the second storage optimization objective and the second storage constraint, the second α wolf, the second β wolf and the second δ wolf are determined. The first storage allocation initial population and the second storage allocation initial population are respectively iterated, and the global optimal solution is approached by continuously updating the solution space. The formation of the first storage allocation target population and the second storage allocation target population indicates that the optimal storage allocation scheme that meets the optimization objective and constraint conditions has been found. By solving the optimal solutions of the first storage allocation target population and the second storage allocation target population, the first target hierarchical storage area of ​​each sensor sub-dataset and the second target hierarchical storage area of ​​each video sub-dataset are obtained. Ensure the optimized implementation of the storage scheme so that each data set is allocated to the storage area that best suits its characteristics and needs.

[0036] Step 105 : Dynamically allocate resources and hierarchically store multiple sensor sub-datasets and multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

[0037] Specifically, dynamic resource allocation is performed for multiple sensor sub-datasets and multiple video sub-datasets based on the information of hierarchical storage areas, including key indicators such as storage space utilization, data access frequency, and data processing speed. Through continuous monitoring, the usage dynamics of storage resources are obtained, and adjustments are made accordingly to optimize the allocation of storage resources. For example, if a storage area is overloaded due to frequent access, the system can dynamically adjust to migrate part of the data to a storage area with a lower load, or reduce the access pressure by adding redundancy and caching strategies. Dynamic adjustment ensures that the storage system can flexibly respond to various storage and access requirements while maintaining efficient and stable performance. In the process of dynamic resource allocation, hierarchical storage is performed. Hierarchical storage means that data is allocated to different levels of storage media based on its importance, access frequency, and processing requirements. For example, sensor data with high access frequency and low latency requirements can be stored on faster storage media such as solid-state drives (SSDs), while video surveillance data with low access frequency can be stored on mechanical hard drives with larger capacity but slower speeds. The implementation process of dynamic resource allocation and hierarchical storage also involves the optimization of data management strategies, including data compression, deduplication, and backup operations. Through intelligent data management, the system can not only effectively save storage space, but also improve data security and reliability. For example, for important sensor data, regular backup and fault recovery strategies are implemented to ensure data persistence and integrity. Finally, through the comprehensive implementation of dynamic resource allocation and hierarchical storage strategies, the target vehicle driving data set is generated.

[0038] In the embodiment of the present application, by integrating multiple monitoring sensors and defining a vehicle behavior trigger mechanism, efficient and dynamic data collection can be achieved. Data cleaning and standardization processing further ensure the quality and consistency of the data set, laying a solid foundation for subsequent analysis and application. By performing detailed data classification and time synchronization processing on the initial vehicle driving data set, and by applying event recognition and feature fusion technology, key events can be accurately identified and annotated. Using the stacked expansion convolutional neural network and the Siamese network visual tracking algorithm of the second-order attention, the features of sensor data and video data can be deeply extracted, and efficient data set segmentation can be performed based on these features. The data set is hierarchically stored and allocated through the improved gray wolf optimization algorithm, achieving an effective balance between optimizing storage costs and improving data access efficiency. The dynamic resource allocation mechanism ensures the priority and secure storage of key data, while also improving the flexibility and scalability of the entire storage system. By implementing a redundant storage strategy for key data, as well as regular performance and security assessments, the security and reliability of the data are effectively improved. The present application improves the security of data by storing the data of the vehicle driving recorder in layers.

[0039] In a specific embodiment, the process of executing step 101 may specifically include the following steps:

[0040] (1) Integrate multiple monitoring sensors into the vehicle driving recorder and define multiple vehicle behavior trigger mechanisms, including acceleration, deceleration, and turning;

[0041] (2) Dynamic data collection of target vehicles is performed based on multiple vehicle behavior trigger mechanisms and vehicle driving recorders to obtain a multi-dimensional dynamic monitoring data set;

[0042] (3) Perform data cleaning and standardization on the multidimensional dynamic monitoring data set to obtain a standard dynamic monitoring data set;

[0043] (4) Encoding the standard dynamic monitoring data set to obtain a coded dynamic monitoring data set;

[0044] (5) The coded dynamic monitoring data set is transmitted to a preset cloud database, and the coded dynamic monitoring data set is decoded through the cloud database to obtain an initial vehicle driving data set.

[0045] Specifically, multiple monitoring sensors are integrated into the vehicle driving recorder system. These sensors can capture the real-time dynamic information of the vehicle, including speed, acceleration, direction, position, etc. In order to comprehensively monitor the vehicle status, speed sensors, acceleration sensors, GPS sensors, gyroscopes, etc. may be used. Define multiple vehicle behavior trigger mechanisms. For example, when the acceleration of the vehicle exceeds a specific threshold, or when the GPS data shows that the vehicle has made a turning action, these situations will trigger the data collection mechanism, thereby starting or strengthening the recording of the vehicle status. According to multiple vehicle behavior trigger mechanisms and vehicle driving recorders, dynamic data collection is performed on the target vehicle. The collected data constitutes a multi-dimensional dynamic monitoring data set, which contains the driving status information of the vehicle at different times and under different conditions. The multi-dimensional dynamic monitoring data set is cleaned and standardized. Data cleaning includes identifying and correcting errors and inconsistencies in the data set, such as removing outliers caused by sensor failures, or filling in missing data. Standardization ensures that all data follows a unified format and standard, such as converting all timestamps to a unified time zone, or unifying speed units. Data encoding is performed on the standardized data set to convert the data into a form that is more suitable for storage and transmission. Data encoding can not only reduce the required storage space, but also improve the efficiency of data transmission. The encoded dynamic monitoring data set is uploaded to the preset cloud database. The encoded data is decoded in the cloud database, and the data is restored to the original format, and finally the initial vehicle driving data set is generated.

[0046] In a specific embodiment, the process of executing step 102 may specifically include the following steps:

[0047] (1) Classify the initial vehicle driving data set to obtain multiple sensor data and video data;

[0048] (2) performing time synchronization on the plurality of sensor data and the video data, and performing event recognition on the plurality of sensor data and the video data, to obtain a plurality of first initial event features of each sensor data and a plurality of second initial event features of the video data;

[0049] (3) performing event feature fusion on the plurality of first initial event features and the plurality of second initial event features to obtain a plurality of target event features;

[0050] (4) Mapping and encoding multiple target event features to obtain the event feature encoding value corresponding to each target event feature;

[0051] (5) Arrange the event feature coding values ​​corresponding to each target event feature in sequence to obtain an event feature coding sequence;

[0052] (6) Annotate multiple sensor data and video data with event information according to the event feature coding sequence to obtain the corresponding sensor continuous data set and video surveillance data set.

[0053] Specifically, the initial vehicle driving data set is classified to obtain multiple sensor data and video data. For example, data such as speed and acceleration come from the vehicle's built-in sensors, while visual information about road conditions and driving environment comes from the vehicle's camera system. Next, multiple sensor data and video data are time synchronized, and event recognition is performed on multiple sensor data and video data so that the data from the sensor corresponds to the video screen. The time synchronization operation usually involves marking an accurate timestamp for each data item in the data set to ensure the temporal consistency between the data. Event recognition is performed on multiple sensor data and video data to identify and mark specific events that occurred, such as sudden acceleration, sudden braking, or turning. At this stage, the preliminary analysis of each sensor data may reveal specific patterns related to vehicle dynamics. For example, the acceleration sensor may show a sudden increase in acceleration within a specific time period, while the video data analysis may identify changes in the environment around the vehicle within the same time period, such as merging or obstacle avoidance actions. The identified preliminary event features are fused to construct a more comprehensive and detailed event feature set. Consider the complementarity between different data sources. For example, by combining the sudden braking shown by the sensor data and the information of the sudden obstacle in front captured by the video data, the cause of the braking event can be more accurately described and understood. Encode the fused event features and convert the event features into a set of specific coding values ​​to simplify the data structure. After the event feature coding is completed, all event feature coding values ​​are arranged in chronological order to form an event feature coding sequence. The sequence reflects the order in which the events occurred and assigns a unique identifier to each event. The original sensor data and video data are accurately labeled according to the event feature coding sequence. Each data item is now associated with one or more specific event codes, forming a complete sensor continuous data set and video surveillance data set.

[0054] In a specific embodiment, the process of executing step 103 may specifically include the following steps:

[0055] (1) Divide the sensor continuous data set into time windows to obtain multiple sensor window data;

[0056] (2) Increasing the data dimension of multiple sensor window data to obtain multi-dimensional sensor data;

[0057] (3) Based on the stacked dilated convolutional neural network, deep features of multi-dimensional sensor data are extracted to obtain multiple sensor deep features;

[0058] (4) determining multiple sensor data segmentation points of the sensor continuous data set according to the multiple sensor depth features;

[0059] (5) Segmenting the sensor continuous data set based on multiple sensor data segmentation points to obtain multiple sensor sub-data sets;

[0060] (6) Based on the second-order attention Siamese network visual tracking algorithm, video feature recognition and video dataset segmentation are performed on the video surveillance dataset to obtain multiple video sub-datasets.

[0061] Specifically, the continuous sensor data set is divided into time windows, and the continuous sensor data is divided into multiple smaller time window segments according to the time series. The data contained in each time window reflects the driving state of the vehicle in that time period. For example, if the sensor data is recorded once per second, a 10-second time window will contain 10 data points, each of which records the speed, acceleration and other information of the vehicle at that moment. The data dimension of the divided sensor window data is increased, and more derivative data, such as the rate of change of acceleration, are obtained by calculation. Through mathematical and statistical methods, the original data is converted and expanded into multi-dimensional data to increase the expressiveness of the data. The technology based on stacked dilated convolutional neural network is used to extract deep features from multi-dimensional sensor data. The stacked dilated convolutional neural network can increase the receptive field without losing resolution through its unique dilated convolution layer, and capture a wider range of information. The network can extract deep features that reflect the complex patterns of the vehicle's driving state from the original multi-dimensional sensor data, such as specific driving behavior patterns. After deep feature extraction, the sensor data segmentation points are determined based on these features. The determination of the segmentation points is based on identifying key changes in the data, which may correspond to specific driving events of the vehicle, such as sudden braking or sudden acceleration. By analyzing the extracted deep features, the occurrence time of these events can be accurately identified, and the continuous sensor data set can be divided into multiple sub-datasets according to these specific events. Each sub-dataset contains all the relevant data of a complete driving event. At the same time, the processing of the video surveillance data set adopts the Siamese network visual tracking algorithm based on second-order attention. The second-order attention mechanism improves the accuracy and robustness of tracking by strengthening the network's attention to key visual features in the video frame. The Siamese network identifies and tracks the vehicle and objects in its surrounding environment by comparing video frames at different time points, thereby achieving accurate recognition of video features. In this way, the video surveillance data set can be segmented according to the identified specific driving events or state changes to form multiple video sub-datasets, each of which accurately corresponds to one or a series of vehicle driving events. Finally, through the above steps, effective analysis and segmentation of sensor data and video data are achieved, forming a structured and rich data resource.

[0062] In a specific embodiment, the execution step is based on the Siamese network visual tracking algorithm of the second-order attention, and the video feature recognition and video data set segmentation of the video surveillance data set are performed to obtain multiple video sub-data sets. The process may specifically include the following steps:

[0063] (1) Perform video decomposition on the video surveillance dataset to obtain multiple initial continuous video frames;

[0064] (2) performing frame normalization on multiple initial continuous video frames to obtain multiple target continuous video frames;

[0065] (3) Selecting the initial frame from multiple target continuous video frames as the tracking template and determining the corresponding search area;

[0066] (4) Through the two branches of the Siamese network visual tracking algorithm, feature extraction is performed on the tracking template and the search area to obtain the initial template feature and the initial search feature;

[0067] (5) Based on the second-order attention mechanism, the initial template features and the initial search features are enhanced to obtain the target template features and the target search features;

[0068] (6) Calculate the feature similarity between the target template feature and the target search feature, and locate the target object in the search area based on the feature similarity;

[0069] (7) Identify the state of the target object and determine the video segmentation points to obtain multiple video segmentation points;

[0070] (8) Segment the video surveillance dataset according to multiple video segmentation points to obtain multiple video sub-datasets.

[0071] Specifically, the video surveillance dataset is decomposed to convert the continuous video stream into a series of separate video frames. These video frames represent the original data form of the video. Next, the initial video frames are normalized to ensure that all video frames are consistent in size and pixel density. Normalization may include adjusting the resolution, contrast and brightness of each frame, and converting color frames to grayscale frames to reduce the complexity of data processing. A representative frame is selected from the normalized video frames as a tracking template, and the search area corresponding to the frame is determined. For example, a specific vehicle appearing in a frame can be selected as a tracking template, and a search area is defined with the vehicle as the center, which may include video frames within a certain range around the vehicle. The Siamese network visual tracking algorithm is used for in-depth processing. The Siamese network consists of two branches, each branch processes an input, one branch processes the tracking template, and the other processes the search area. The network identifies and tracks the target object in the video by comparing the features of the template and the video frame in the search area. For example, through the trained Siamese network, the initial template features can be extracted from the tracking template, and the initial search features can be extracted from the search area. Next, the extracted features are enhanced based on the second-order attention mechanism to improve the expressiveness of the features. The second-order attention mechanism strengthens the network's attention to the target features by analyzing the relationship between the features, and obtains more accurate and robust target template features and target search features. This feature enhancement process helps to improve the recognition accuracy of the model in complex scenarios. The similarity between the target template features and the target search features is calculated, and the target object in the search area is located based on the feature similarity score. For example, by comparing the feature similarity of the template and the frames in the search area, the moving vehicles or pedestrians in the video are identified and tracked. For the successfully tracked target objects, state recognition and video segmentation points are determined. State recognition involves analyzing the behavior patterns of the target objects in the video, such as changes in the direction of travel or speed of the vehicle. Based on these identified state changes, segmentation points in the video are determined, which mark the beginning and end of important events in the video. The video surveillance dataset is segmented according to the determined multiple video segmentation points, each segmentation point represents the boundary of a specific event, and multiple video sub-datasets are obtained. Each sub-dataset corresponds to an independent event or behavior pattern, and the original continuous video surveillance dataset is effectively organized and divided into multiple subsets that are easy to manage and analyze.

[0072] In a specific embodiment, the execution step performs state recognition on the target object and determines the video segmentation points, and the process of obtaining multiple video segmentation points may specifically include the following steps:

[0073] (1) Define the state variables and measurement variables of the target object and establish the state transition model of the target object;

[0074] (2) Establish an observation model of the target object based on state variables and measurement variables;

[0075] (3) estimating the vehicle state of the target object through the state transition model to obtain first vehicle state estimation data;

[0076] (4) estimating the vehicle state of the target object according to the observation model to obtain second vehicle state estimation data;

[0077] (5) comparing and updating the first vehicle state estimation data and the second vehicle state estimation data to obtain a plurality of target monitoring video frames in the video monitoring data set;

[0078] (6) Determine multiple video segmentation points of the video surveillance dataset based on multiple target surveillance video frames.

[0079] Specifically, the state variables and measurement variables of the target object are defined, and a state transition model and an observation model are established accordingly. The state variables may include the position, speed, acceleration, etc. of the vehicle, which describe the current state of the vehicle. The measurement variables are the data actually measured by the sensor, such as the position information provided by the GPS, the speed reading of the speedometer, etc. The vehicle state of the target object is estimated by the state transition model, which depends on the current state and some known or assumed driving modes. For example, assuming that a vehicle is driving at a constant acceleration, the position and speed at the next moment can be predicted by the state transition model. The observation model is used to describe the relationship between the state variables and the measurement variables, reflecting how to infer the state of the vehicle from the actual measurement data. These two models constitute the theoretical basis for vehicle state estimation. Next, the vehicle state of the target object is estimated by the state transition model to obtain the first vehicle state estimation data. For example, algorithms such as the Kalman filter are used to predict the future state of the vehicle based on the current state and driving mode of the vehicle. At the same time, the vehicle state of the target object is estimated on the other hand according to the observation model to obtain the second vehicle state estimation data, which reflects the vehicle state inferred from the actual measurement data. The two parts of the vehicle state estimation data are compared and the state is updated. Improve the accuracy of state estimation by combining predicted data with actual measured data. For example, adjust the state estimate to be closer to the actual measured value, or update the model parameters to reflect the new driving mode. Through vehicle state estimation, multiple target surveillance video frames are identified in the video surveillance dataset, which mark the moments when the vehicle state changes significantly. For example, when the vehicle accelerates or decelerates, the change in state estimate may result in the selection of video frames corresponding to these events as target surveillance frames. Multiple video segmentation points of the video surveillance dataset are determined based on the target surveillance video frames. These segmentation points divide the video data into several sections based on the changes in the vehicle state, and each section corresponds to a series of continuous driving states. For example, the process from normal driving to sudden braking and then re-acceleration can be segmented into three independent video segments, each with its corresponding vehicle state characteristics.

[0080] In a specific embodiment, the process of executing step 106 may specifically include the following steps:

[0081] (1) performing hierarchical storage initialization allocation on the multiple sensor sub-datasets and the multiple video sub-datasets to obtain a first initial hierarchical storage area for each sensor sub-dataset and a second initial hierarchical storage area for each video sub-dataset;

[0082] (2) defining a first storage optimization target and a first storage constraint condition for a plurality of sensor sub-datasets, and defining a second storage optimization target and a second storage constraint condition for a plurality of video sub-datasets;

[0083] (3) Initializing the storage allocation population of the first initial hierarchical storage area of ​​each sensor sub-dataset by using a preset gray wolf optimization algorithm to obtain a first storage allocation initial population, and initializing the storage allocation population of the second initial hierarchical storage area of ​​each video sub-dataset to obtain a second storage allocation initial population;

[0084] (4) According to the first storage optimization objective and the first storage constraint condition, the first storage allocation initial population is solved to obtain the first α wolf, the first β wolf and the first δ wolf, and according to the second storage optimization objective and the second storage constraint condition, the second storage allocation initial population is solved to obtain the second α wolf, the second β wolf and the second δ wolf;

[0085] (5) performing population iteration on the first storage allocation initial population according to the first α wolf, the first β wolf and the first δ wolf to obtain the first storage allocation target population, and performing population iteration on the second storage allocation initial population according to the second α wolf, the second β wolf and the second δ wolf to obtain the second storage allocation target population;

[0086] (6) solving the optimal solution for the first storage allocation target population to obtain the first target hierarchical storage area for each sensor sub-dataset, and solving the optimal solution for the second storage allocation target population to obtain the second target hierarchical storage area for each video sub-dataset;

[0087] (7) Generate corresponding hierarchical storage area information according to the first target hierarchical storage area of ​​each sensor sub-data set and the second target hierarchical storage area of ​​each video sub-data set.

[0088] Specifically, all collected sensor data and video data are preliminarily classified and analyzed, and the data are divided into multiple sub-datasets. For example, sensor data can be divided according to its type (such as speed, acceleration, GPS location, etc.), while video data can be divided according to event type (such as driving, parking, turning, etc.). Each sub-dataset is assigned to an initial hierarchical storage area, and this assignment takes into account the access frequency, importance and security requirements of the data. Sensor data and video data are assigned to different types of storage areas due to their different properties. For example, frequently accessed data may be stored on faster storage media, while less important data may be stored on lower-cost media. The storage optimization goals and storage constraints of each sub-dataset are defined. The optimization goals may include maximizing data security, ensuring fast data access, or minimizing storage costs, while the storage constraints may include storage space limitations, data redundancy requirements, and data retention periods. These goals and constraints provide clear guidelines for subsequent storage allocation. Next, the gray wolf optimization algorithm is used to initialize the storage allocation population for the initial hierarchical storage area of ​​each sub-dataset. The gray wolf optimization algorithm is a swarm intelligence algorithm that simulates the predation behavior of gray wolves. It finds the optimal solution by simulating the social hierarchy and hunting strategy of gray wolves. The storage allocation problem of each sub-dataset is converted into an optimization problem, and the initial population represents various possible storage allocation schemes. According to the defined storage optimization objectives and constraints, the algorithm solves the initial population and identifies the optimal storage allocation scheme. This includes determining α wolf (optimal solution), β wolf (second-best solution) and δ wolf (third-best solution). These "wolves" represent different levels of storage allocation schemes, among which α wolf represents the most suitable storage allocation scheme at present. By iterating the population of the initial population, the storage allocation scheme is continuously updated and optimized until the optimal solution that meets all optimization objectives and constraints is found. This process imitates the dynamic process of gray wolf predation and social behavior, and improves the quality of the solution through group cooperation and information sharing. Finally, the final storage area is determined for each sensor sub-dataset and video sub-dataset, which meets all previously defined optimization objectives and constraints. The final storage area information of each data set is used to guide the actual storage operation of the data, ensuring the efficiency, security and cost-effectiveness of data storage.

[0089] The above describes the data storage method of the vehicle driving recorder in the embodiment of the present application. The following describes the data storage system of the vehicle driving recorder in the embodiment of the present application. Figure 2 , an embodiment of the data storage system of the vehicle driving recorder in the embodiment of the present application includes:

[0090] The acquisition module 201 is used to collect and pre-process the dynamic data of the target vehicle through the vehicle driving recorder to obtain an initial vehicle driving data set;

[0091] A classification module 202 is used to perform data classification and event recognition and annotation on the initial vehicle driving data set to obtain a sensor continuous data set and a video monitoring data set;

[0092] The recognition module 203 is used to perform feature recognition and data set segmentation on the sensor continuous data set and the video monitoring data set respectively to obtain multiple sensor sub-data sets and multiple video sub-data sets;

[0093] An allocation module 204, configured to allocate hierarchical storage to the plurality of sensor sub-datasets and the plurality of video sub-datasets to obtain hierarchical storage area information;

[0094] The storage module 205 is used to dynamically allocate resources and perform hierarchical storage on multiple sensor sub-datasets and multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

[0095] Through the synergy of the above components, by integrating multiple monitoring sensors and defining vehicle behavior trigger mechanisms, efficient and dynamic data collection can be achieved. Data cleaning and standardization processing further ensure the quality and consistency of the data set, laying a solid foundation for subsequent analysis and application. Through detailed data classification and time synchronization processing of the initial vehicle driving data set, as well as the application of event recognition and feature fusion technology, key events can be accurately identified and annotated. Using the stacked expansion convolutional neural network and the Siamese network visual tracking algorithm of the second-order attention, the features of sensor data and video data can be deeply extracted, and efficient data set segmentation can be performed based on these features. The hierarchical storage allocation of the data set by the improved gray wolf optimization algorithm achieves an effective balance between optimizing storage costs and improving data access efficiency. The dynamic resource allocation mechanism ensures the priority and secure storage of key data, while also improving the flexibility and scalability of the entire storage system. By implementing a redundant storage strategy for key data and regular performance and security assessments, the security and reliability of the data are effectively improved. This application improves the security of data by storing the data of the vehicle driving recorder in layers.

[0096] The present application also provides a computer device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the data storage method of the vehicle driving recorder in the above-mentioned embodiments.

[0097] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the data storage method of the vehicle driving recorder.

[0098] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0100] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data storage method for a vehicle driving recorder, characterized in that: The data storage method of the vehicle driving recorder includes: The dynamic data of the target vehicle is collected and preprocessed through the vehicle driving recorder to obtain the initial vehicle driving data set; The initial vehicle travel data set is subjected to data classification and event recognition and annotation to obtain a sensor continuous data set and a video surveillance data set; specifically comprising: performing data classification on the initial vehicle travel data set to obtain a plurality of sensor data and video data; performing time synchronization on the plurality of sensor data and the video data, and performing event recognition on the plurality of sensor data and the video data to obtain a plurality of first initial event features of each sensor data and a plurality of second initial event features of the video data; performing event feature fusion on the plurality of first initial event features and the plurality of second initial event features to obtain a plurality of target event features; performing mapping and encoding on the plurality of target event features to obtain an event feature coding value corresponding to each target event feature; sequentially arranging the event feature coding values ​​corresponding to each target event feature to obtain an event feature coding sequence; performing event information annotation on the plurality of sensor data and the video data according to the event feature coding sequence to obtain a corresponding sensor continuous data set and video surveillance data set; Performing feature recognition and data set segmentation on the sensor continuous data set and the video surveillance data set respectively to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets; Performing hierarchical storage allocation on the multiple sensor sub-datasets and the multiple video sub-datasets to obtain hierarchical storage area information; Dynamic resource allocation and hierarchical storage are performed on the multiple sensor sub-datasets and the multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

2. The data storage method of the vehicle driving recorder according to claim 1, characterized in that: The dynamic data collection and preprocessing of the target vehicle by the vehicle driving recorder to obtain the initial vehicle driving data set includes: Integrate multiple monitoring sensors in a vehicle driving recorder and define multiple vehicle behavior trigger mechanisms, wherein the multiple vehicle behavior trigger mechanisms include acceleration, deceleration, and turning; Performing dynamic data collection on the target vehicle according to the multiple vehicle behavior triggering mechanisms and the vehicle driving recorder to obtain a multi-dimensional dynamic monitoring data set; Performing data cleaning and standardization processing on the multi-dimensional dynamic monitoring data set to obtain a standard dynamic monitoring data set; Performing data encoding on the standard dynamic monitoring data set to obtain an encoded dynamic monitoring data set; The encoded dynamic monitoring data set is transmitted to a preset cloud database, and the encoded dynamic monitoring data set is decoded by the cloud database to obtain an initial vehicle driving data set.

3. The data storage method of the vehicle driving recorder according to claim 1, characterized in that: The performing feature recognition and data set segmentation on the sensor continuous data set and the video surveillance data set respectively to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets comprises: Dividing the sensor continuous data set into time windows to obtain a plurality of sensor window data; Increasing the data dimension of the plurality of sensor window data to obtain multi-dimensional sensor data; Performing deep feature extraction on the multi-dimensional sensor data based on a stacked dilated convolutional neural network to obtain a plurality of sensor deep features; determining a plurality of sensor data segmentation points of the sensor continuous data set according to the plurality of sensor depth features; Performing data set segmentation on the sensor continuous data set based on the multiple sensor data segmentation points to obtain multiple sensor sub-data sets; Based on the Siamese network visual tracking algorithm of second-order attention, video feature recognition and video data set segmentation are performed on the video surveillance data set to obtain multiple video sub-data sets.

4. The data storage method of the vehicle driving recorder according to claim 3, characterized in that: The Siamese network visual tracking algorithm based on second-order attention performs video feature recognition and video data set segmentation on the video surveillance data set to obtain multiple video sub-data sets, including: Performing video decomposition on the video surveillance data set to obtain a plurality of initial continuous video frames; Performing frame normalization on the multiple initial continuous video frames to obtain multiple target continuous video frames; Selecting an initial frame from the plurality of target continuous video frames as a tracking template, and determining a corresponding search area; Through two branches in the Siamese network visual tracking algorithm, feature extraction is performed on the tracking template and the search area respectively to obtain initial template features and initial search features; Performing feature enhancement on the initial template feature and the initial search feature based on a second-order attention mechanism to obtain a target template feature and a target search feature; Calculating the feature similarity between the target template feature and the target search feature, and locating the target object in the search area according to the feature similarity; Performing state recognition and video segmentation point determination on the target object to obtain multiple video segmentation points; The video surveillance data set is segmented according to the multiple video segmentation points to obtain multiple video sub-data sets.

5. The data storage method of the vehicle driving recorder according to claim 4, characterized in that: The state recognition and video segmentation point determination of the target object to obtain a plurality of video segmentation points includes: Defining state variables and measurement variables of the target object, and establishing a state transition model of the target object; Establishing an observation model of the target object according to the state variables and the measurement variables; Estimating the vehicle state of the target object by using the state transition model to obtain first vehicle state estimation data; Performing vehicle state estimation on the target object according to the observation model to obtain second vehicle state estimation data; Comparing and updating the first vehicle state estimation data and the second vehicle state estimation data to obtain a plurality of target monitoring video frames in the video monitoring data set; A plurality of video segmentation points of the video surveillance data set are determined according to the plurality of target surveillance video frames.

6. The data storage method of the vehicle driving recorder according to claim 1, characterized in that: The step of performing hierarchical storage allocation on the plurality of sensor sub-datasets and the plurality of video sub-datasets to obtain hierarchical storage area information includes: Performing hierarchical storage initialization allocation on the multiple sensor sub-datasets and the multiple video sub-datasets to obtain a first initial hierarchical storage area for each sensor sub-dataset and a second initial hierarchical storage area for each video sub-dataset; defining a first storage optimization target and a first storage constraint condition for the plurality of sensor sub-datasets, and defining a second storage optimization target and a second storage constraint condition for the plurality of video sub-datasets; Initializing the storage allocation population of the first initial hierarchical storage area of ​​each sensor sub-data set by a preset gray wolf optimization algorithm to obtain a first storage allocation initial population, and initializing the storage allocation population of the second initial hierarchical storage area of ​​each video sub-data set to obtain a second storage allocation initial population; According to the first storage optimization objective and the first storage constraint condition, the first storage allocation initial population is solved to obtain a first α wolf, a first β wolf and a first δ wolf, and according to the second storage optimization objective and the second storage constraint condition, the second storage allocation initial population is solved to obtain a second α wolf, a second β wolf and a second δ wolf; Performing population iteration on the first storage allocation initial population according to the first α wolf, the first β wolf, and the first δ wolf to obtain a first storage allocation target population, and performing population iteration on the second storage allocation initial population according to the second α wolf, the second β wolf, and the second δ wolf to obtain a second storage allocation target population; Solving the first storage allocation target population for an optimal solution to obtain a first target hierarchical storage area for each sensor sub-dataset, and solving the second storage allocation target population for an optimal solution to obtain a second target hierarchical storage area for each video sub-dataset; Corresponding hierarchical storage area information is generated according to the first target hierarchical storage area of ​​each sensor sub-data set and the second target hierarchical storage area of ​​each video sub-data set.

7. A data storage system for a vehicle driving recorder, characterized in that: The data storage system of the vehicle driving recorder includes: The acquisition module is used to collect and preprocess the dynamic data of the target vehicle through the vehicle driving recorder to obtain the initial vehicle driving data set; A classification module is used to perform data classification and event recognition and annotation on the initial vehicle travel data set to obtain a sensor continuous data set and a video surveillance data set; specifically comprising: performing data classification on the initial vehicle travel data set to obtain multiple sensor data and video data; performing time synchronization on the multiple sensor data and the video data, and performing event recognition on the multiple sensor data and the video data to obtain multiple first initial event features of each sensor data and multiple second initial event features of the video data; performing event feature fusion on the multiple first initial event features and the multiple second initial event features to obtain multiple target event features; performing mapping and encoding on the multiple target event features to obtain an event feature coding value corresponding to each target event feature; sequentially arranging the event feature coding values ​​corresponding to each target event feature to obtain an event feature coding sequence; performing event information annotation on the multiple sensor data and the video data according to the event feature coding sequence to obtain the corresponding sensor continuous data set and video surveillance data set; An identification module, used to perform feature identification and data set segmentation on the sensor continuous data set and the video surveillance data set respectively, to obtain a plurality of sensor sub-data sets and a plurality of video sub-data sets; an allocation module, configured to perform hierarchical storage allocation on the plurality of sensor sub-datasets and the plurality of video sub-datasets to obtain hierarchical storage area information; The storage module is used to dynamically allocate resources and perform hierarchical storage on the multiple sensor sub-datasets and the multiple video sub-datasets according to the hierarchical storage area information to generate a target vehicle driving data set.

8. A computer device, characterized in that: The computer device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the data storage method of the vehicle driving recorder according to any one of claims 1 to 6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the data storage method of the vehicle driving recorder according to any one of claims 1 to 6 is implemented.