An automatic driving video storage method and system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-14
- Publication Date
- 2026-08-11
AI Technical Summary
[0002]通常自动驾驶事故视频主要记录在硬盘录像机外部设备的存储器里,但是只能记录单一方向(通常是车前方)的影像,对于实车多路摄像头且摄像头无存储功能的情况,无法获得实车其他视角的影像
[0005] Compared to existing technologies, the technical effects achieved by this solution are as follows: It enables hierarchical processing of multi-channel video data in autonomous driving mode. Video data is first cached in system memory instead of being directly written to storage, reducing frequent read/write operations and minimizing hardware wear and tear while improving the efficiency of video data reception and caching. Simultaneously, video writing is triggered by external sensor signals, significantly saving storage space and preventing invalid video data from occupying storage resources. External sensors are used to detect whether a collision has occurred, and emergency storage is performed based on the vehicle's condition. This ensures that accident data is preserved intact even when the vehicle is in an abnormal situation, thus solving the problem of video storage interruption and loss of critical data due to abnormal vehicle conditions after a collision in traditional storage methods. This guarantees the effectiveness and integrity of multi-channel video data in collision scenarios.
Smart Images

Figure CN122551448A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of autonomous driving technology, and more specifically, to an autonomous driving video storage method and system. Background Technology
[0002] Typically, videos of autonomous driving accidents are recorded in the external storage of hard disk recorders. However, these recorders can only capture images from a single direction (usually the front of the vehicle). For vehicles with multiple cameras that lack storage capabilities, images from other perspectives are unavailable. Furthermore, the storage device has a fixed limit on the number of write / erase cycles. Current technology requires frequent read / write operations to store driving videos, resulting in a short lifespan for the storage device. Summary of the Invention
[0003] The problem solved by this invention is how to effectively store multiple video streams and extend the lifespan of the memory when a vehicle is involved in a collision.
[0004] To address the aforementioned problems, this invention provides an autonomous driving video storage method, implemented through an autonomous driving video storage system. The system includes multiple cameras and a control system, which is electrically connected to the multiple cameras. The control system receives video data from the multiple cameras and performs buffering and writing. The autonomous driving video storage method includes the following steps: the vehicle enters autonomous driving mode; the control system receives video data; the control system buffers the video data into system memory; the control system receives external sensor signals; the control system determines whether to perform video data writing based on the external sensor signals; if video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle's condition.
[0005] Compared to existing technologies, the technical effects achieved by this solution are as follows: It enables hierarchical processing of multi-channel video data in autonomous driving mode. Video data is first cached in system memory instead of being directly written to storage, reducing frequent read / write operations and minimizing hardware wear and tear while improving the efficiency of video data reception and caching. Simultaneously, video writing is triggered by external sensor signals, significantly saving storage space and preventing invalid video data from occupying storage resources. External sensors are used to detect whether a collision has occurred, and emergency storage is performed based on the vehicle's condition. This ensures that accident data is preserved intact even when the vehicle is in an abnormal situation, thus solving the problem of video storage interruption and loss of critical data due to abnormal vehicle conditions after a collision in traditional storage methods. This guarantees the effectiveness and integrity of multi-channel video data in collision scenarios.
[0006] Furthermore, if video data writing is to be performed, the control system determines whether to perform emergency storage based on the vehicle's condition. Specifically, this includes the following steps: determining the vehicle's main and auxiliary power consumption status; if the vehicle's power consumption is switched to the auxiliary power, the control system stores the existing video data in the memory; the control system creates a new file and writes the new real-time video data frame by frame into the memory until the power is exhausted.
[0007] Compared to existing technologies, the technical effects achieved by this solution are as follows: using the main and auxiliary power switching state as the trigger condition for emergency storage, it accurately captures the abnormal power supply nodes after a vehicle collision, ensuring that the video data is solidified and stored immediately at the critical moment when the main power fails and the auxiliary power is activated, avoiding the loss of historical video data in the cache due to power interruption. At the same time, a new file is created in the system to record real-time video data after the collision until the power is exhausted. The purpose is to record the situation around the vehicle as comprehensively as possible, preserving detailed evidence for subsequent accident handling.
[0008] Furthermore, the specific steps for the control system to cache video data into system memory include: the control system caches video data into system memory using a segmented, cyclical overwrite method.
[0009] Compared to existing technologies, the technical effects achieved by this solution are as follows: By adopting a segmented cyclic overlay caching method, the latest multi-channel video data can be continuously cached under the premise of limited system memory, avoiding interruption of video data reception due to insufficient system memory capacity. At the same time, it automatically overwrites earlier non-critical video data without the need for manual system memory cleanup, improving the automation level of cache management and ensuring that the latest video data before the collision is retained in the system memory when a vehicle collision occurs.
[0010] Furthermore, the control system determines whether to perform video data writing based on external sensor signals. The specific steps include: when the external sensor signal exceeds a set threshold, the control system determines that a vehicle collision has occurred and performs video data writing.
[0011] Compared with existing technologies, the technical effects achieved by this solution are as follows: by using the external sensor signal threshold as the trigger condition for video writing, it realizes accurate identification of collision events and automatic triggering of video writing, avoids response delay caused by manual operation, ensures that video data writing is started as soon as a collision occurs, prevents video data loss, and can also prevent the system from erroneously executing when there is no collision.
[0012] Furthermore, video data writing specifically includes writing video data from system memory to storage.
[0013] Compared with existing technologies, the technical effect achieved by this technical solution is to realize the transformation of video data from cached data to actual stored data.
[0014] Furthermore, if video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle's condition. Specifically, this includes the following steps: if the vehicle is powered by the main power source, the control system writes the video data cached before the collision into the memory; the control system caches the video data within a first set time after the collision into the system memory, and then merges the video data into the memory.
[0015] Compared to existing technologies, the technical effects achieved by this solution are: writing the cached data into the memory, shortening the transmission path of video data, improving data storage efficiency, saving real-time video data within the first set time after the accident, and recording key subsequent scenes of the accident without excessively consuming vehicle power.
[0016] Furthermore, the first set time range is 3 to 10 seconds.
[0017] Compared to existing technologies, the technical effects achieved by this solution are: the vehicle can still be powered by the main power supply, and the severity of the accident can be judged from the side. Footage shorter than 3 seconds is insufficient to provide useful information, while footage longer than 10 seconds is too long for minor accidents and easily consumes the vehicle's power.
[0018] Furthermore, the present invention also provides an autonomous driving video storage system capable of executing the above-described autonomous driving video storage method. The autonomous driving video storage system includes: multiple cameras positioned at different locations on the vehicle to obtain video data from different perspectives around the vehicle; a control system connected to the multiple cameras via circuitry, which receives, caches, and writes the video data provided by the multiple cameras; a memory for storing the video data; and an external sensor connected to the control system via circuitry, which detects the vehicle's status.
[0019] Compared to existing technologies, the technical effects achieved by this solution are as follows: the system uses a multi-camera, multi-directional layout to achieve video data collection around the vehicle without blind spots, ensuring that video evidence from all angles can be preserved when a collision occurs, thus meeting the multi-dimensional analysis needs for accident tracing.
[0020] Furthermore, the external sensor is specifically an acceleration sensor.
[0021] Compared with existing technologies, the technical effects achieved by this solution are as follows: by using an acceleration sensor as a vehicle state detection element, it can accurately capture the acceleration change signal at the moment of vehicle collision. By setting a threshold, it can quickly and accurately determine whether a collision event has occurred. Compared with other types of sensors, the acceleration sensor has a fast response speed, high detection accuracy, and strong anti-interference ability, which can effectively avoid false triggering caused by non-collision scenarios such as road bumps and sudden braking.
[0022] Furthermore, the memory is specifically an embedded multimedia card.
[0023] Compared with existing technologies, the technical effects achieved by this solution are: the embedded multimedia card has low power consumption, can work continuously for a longer time in secondary power supply mode, and the embedded multimedia card can be adapted to various system hardware. Attached Figure Description
[0024] Figure 1 A flowchart of the autonomous driving video storage method provided by the present invention; Figure 2 This is a schematic diagram of an autonomous driving video storage system.
[0025] Explanation of reference numerals in the attached figures: 100 - Autonomous driving video storage system; 110 - Control system; 120 - Multi-channel camera; 130 - Memory; 140 - External sensor. Detailed Implementation
[0026] The purpose of this invention is to provide a method and system for storing autonomous vehicle driving videos, which can effectively store multiple video streams when a vehicle collision occurs.
[0027] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0028] See Figure 1 This invention provides an autonomous driving video storage method, implemented through an autonomous driving video storage system. The autonomous driving video storage system includes multiple cameras and a control system, which is circuitically connected to the multiple cameras. The control system receives video data provided by the multiple cameras and performs buffering and writing. The autonomous driving video storage method includes the following steps: the vehicle enters autonomous driving mode; the control system receives video data; the control system buffers the video data into system memory; the control system receives external sensor signals; the control system determines whether to perform video data writing based on the external sensor signals; if video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle status.
[0029] This system enables hierarchical processing of multi-channel video data in autonomous driving mode. Video data is first cached in system memory instead of being directly written to storage, reducing frequent read / write operations and minimizing hardware wear and tear while improving video data reception and caching efficiency. Simultaneously, video writing is triggered by external sensor signals, significantly saving storage space and preventing invalid video data from occupying storage resources. External sensors detect whether a collision has occurred and determine whether emergency storage should be performed based on the vehicle's condition. This ensures that accident data is preserved intact even when the vehicle is in an abnormal situation, thus solving the problem of video storage interruption and critical data loss caused by abnormal vehicle conditions after a collision in traditional storage methods. It guarantees the effectiveness and integrity of multi-channel video data in collision scenarios.
[0030] If video data writing is to be performed, the control system determines whether to perform emergency storage based on the vehicle's condition. The specific steps include: determining the vehicle's main and auxiliary power consumption status; if the vehicle's power consumption is switched to the auxiliary power, the control system stores the existing video data in the memory; the control system creates a new file and writes the new real-time video data frame by frame into the memory until the power is exhausted.
[0031] Specifically, the existing video data that needs to be stored in the case of vehicle auxiliary power includes video data already cached in the system memory and video data that has been received but not yet processed.
[0032] Using the main and auxiliary power switching status as the trigger condition for emergency storage, the system accurately captures abnormal power supply nodes after a vehicle collision. This ensures that in the critical moment when the main power fails and the auxiliary power is activated, the video data is immediately stored in a fixed location. This prevents the loss of historical video data in the cache due to power outages. At the same time, a new file is created in the system to record real-time video data after the collision until the power is exhausted. The goal is to record the situation around the vehicle as comprehensively as possible and preserve detailed evidence for subsequent accident handling.
[0033] The specific steps for the control system to cache video data into system memory include: the control system caches video data into system memory using a segmented, cyclical overwrite method.
[0034] Preferably, the video duration is manually set to 15 seconds as a unit segment. For example, if the total video duration is 30 seconds, in the segmented overwrite caching method, the video content of the last 15 seconds will overwrite the cached video content of the first 15 seconds and be cached in the system memory.
[0035] By adopting a segmented, cyclical overwrite caching method, the latest multi-channel video data can be continuously cached even with limited system memory, avoiding video data reception interruption due to insufficient system memory. At the same time, it automatically overwrites earlier, non-critical video data without the need for manual system memory cleanup, improving the automation level of cache management and ensuring that the system memory retains the latest video data before the collision when a vehicle collision occurs.
[0036] The control system determines whether to write video data based on external sensor signals. The specific steps include: when the external sensor signal exceeds a set threshold, the control system determines that a vehicle collision has occurred and executes the video data writing.
[0037] Preferably, the external sensor is an acceleration sensor, which can monitor the peak and rate of change of acceleration, and the preferred threshold value is 2g.
[0038] By using the threshold of external sensor signals as the trigger condition for video writing, accurate identification of collision events and automatic triggering of video writing are achieved, avoiding response delays caused by manual operation, ensuring that video data writing starts immediately when a collision occurs, preventing video data loss, and also preventing the system from erroneously executing when there is no collision.
[0039] Video data writing specifically involves writing video data from system memory to storage.
[0040] This enables the conversion of video data from cached data to actually stored data.
[0041] If video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle's condition. Specifically, it includes the following steps: if the vehicle is powered by the main power source, the control system writes the video data cached before the collision into the memory; the control system caches the video data within the first set time after the collision into the system memory, and then merges the video data into the memory.
[0042] Writing cached data into storage shortens the transmission path of video data, improves data storage efficiency, and saves real-time video data within the first set time after an accident, recording key subsequent footage of the accident without excessively consuming vehicle battery power.
[0043] The first set time range is 3 to 10 seconds.
[0044] Preferably, the first set time is 5 seconds.
[0045] The vehicle can still be powered by the main power supply, which can indirectly indicate that the accident is relatively minor. Footage shorter than 3 seconds is not enough to provide useful information, while footage longer than 10 seconds is too long for a minor accident and will easily drain the vehicle's battery.
[0046] See Figure 2 The present invention also provides an autonomous driving video storage system 100, capable of executing the above-described autonomous driving video storage method. The autonomous driving video storage system 100 includes: multiple cameras 120, which are positioned at different locations around the vehicle to obtain video data from different perspectives around the vehicle; a control system 110, which is electrically connected to the multiple cameras 120 and is used to receive, cache, and write the video data provided by the multiple cameras 120; a memory 130, which is used to store the video data; and an external sensor 140, which is electrically connected to the control system 110 and is used to detect the vehicle status.
[0047] The system uses a multi-camera setup with 120 cameras to collect video data around the vehicle without blind spots, ensuring that video evidence from all angles can be preserved when a collision occurs, thus meeting the multi-dimensional analysis needs for accident tracing.
[0048] External sensor 140 is specifically an acceleration sensor.
[0049] Using an acceleration sensor as a vehicle state detection element can accurately capture the sudden acceleration signal at the moment of vehicle collision. By setting a threshold, it can quickly and accurately determine whether a collision event has occurred. Compared with other types of sensors, the acceleration sensor has a fast response speed, high detection accuracy, and strong anti-interference ability, which can effectively avoid false triggering caused by non-collision scenarios such as road bumps and sudden braking.
[0050] The memory 130 is specifically an embedded multimedia card.
[0051] Embedded multimedia cards have low power consumption, can work continuously for longer periods in secondary power supply mode, and can be adapted to various system hardware.
[0052] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. An automatic driving video storage method characterized by comprising: This is achieved through an autonomous driving video storage system, which includes multiple cameras and a control system connected to the multiple cameras. The control system receives video data provided by the multiple cameras and performs buffering and writing. The autonomous driving video storage method includes the following steps: The vehicle has entered autonomous driving mode; The control system receives the video data; The control system caches the video data in system memory; The control system receives signals from external sensors; The control system determines whether to perform video data writing based on the signals from the external sensors. If the video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle's condition.
2. The automatic driving video storage method of claim 1, wherein, If the video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle status, specifically including the following steps: Determine the main and auxiliary power consumption status of the vehicle; If the vehicle's power supply is switched to the auxiliary power supply, the control system will store the existing video data in the memory; The control system creates a new file and writes the new real-time video data frame by frame into the memory until the power is exhausted.
3. The automatic driving video storage method of claim 2, wherein, The specific steps by which the control system caches the video data into system memory include: The control system caches the video data into system memory using a segmented, cyclical overwrite method.
4. The automatic driving video storage method of claim 3, wherein, The control system determines whether to perform video data writing based on the external sensor signals. Specific steps include: When the external sensor signal exceeds the set threshold, the control system determines that a vehicle collision has occurred and executes the video data writing.
5. The automatic driving video storage method according to claim 4, characterized by, The video data writing specifically includes: Write the video data in the system memory to the storage device.
6. The automatic driving video storage method according to claim 5, wherein If the video data writing is performed, the control system determines whether to perform emergency storage based on the vehicle status, specifically including the following steps: If the vehicle is powered by the main electric motor, the control system will write the video data that was cached before the collision into the memory. The control system caches the video data within a first set time after the collision in the system memory, and then merges the video data into the memory.
7. The automatic driving video storage method according to claim 6, characterized by, The first set time range is 3 to 10 seconds.
8. An automated driving video storage system characterized by comprising: The autonomous driving video storage system, capable of performing the autonomous driving video storage method as described in any one of claims 1 to 7, comprises: Multiple cameras are positioned at different locations on the vehicle to obtain video data from different perspectives around the vehicle. A control system is connected to the circuit of the multi-channel camera, and the control system is used to receive video data provided by the multi-channel camera and perform buffering and writing. The memory is used to store the video data; An external sensor is connected to the control system circuit and is used to detect the vehicle status.
9. The automatic driving video storage method according to claim 8, wherein The external sensor is specifically an acceleration sensor.
10. The automatic driving video storage method of claim 9, wherein, The memory is specifically an embedded multimedia card.