Emergency video recording method and device for vehicle, electronic equipment and computer program product

By obtaining the vehicle's cyclic recording status and triggering time points and editing videos, the stability problem caused by the driving recording function relies on external hardware in the prior art is solved, and the timeliness and completeness of emergency accident records is achieved.

CN119107714AActive Publication Date: 2024-12-10GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411182256.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-10
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

In the prior art, driving video recording function requires external hardware support. When hardware is damaged or performance is degraded, the recording stability is reduced, which increases the risk of accident video loss. The video may be erased in a loop. Key videos that are not exported in time may lead to video. Lost.

Method used

By obtaining the vehicle's cyclic recording status and trigger time point, the video is retrieved from the corresponding storage space, and edited based on the trigger time point to generate emergency videos to avoid loss or overwrite of loop recordings and ensure the integrity of accident records.

Benefits of technology

It realizes timely recording and retaining emergency videos when an accident occurs, reduces the risk of critical video loss, and improves the stability and integrity of vehicle accident records.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119107714A_ABST
    Figure CN119107714A_ABST
Patent Text Reader

Abstract

The invention discloses an emergency video recording method and device for a vehicle, electronic equipment and a computer program product, and relates to the field of intelligent driving. The method comprises the following steps: in response to an emergency video recording function triggered by a vehicle, obtaining a first triggering time point for triggering the emergency video recording function and a cyclic video recording state of the vehicle, the cyclic video recording state being used for indicating whether the cyclic video recording function of the vehicle is in a working state; the cyclic video recording function is used for carrying out cyclic coverage recording on driving videos stored in the movable storage equipment in the driving process of the vehicle; the recorded video of the vehicle is called from a storage space corresponding to the cyclic recording state, and the recorded video is a driving video containing the first triggering time point or a driving video before the first triggering time point; and editing the video based on the first trigger time point to obtain an emergency video of the vehicle. The technical problem that the recording effect of vehicle emergency accidents is poor is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent driving, and in particular to a method, device, electronic equipment and computer program product for emergency video recording of a vehicle. Background Art

[0002] Dash video can record the accident for users in the event of an accident, thereby providing evidence for users to trace and maintain accident problems. However, in the prior art, dash cam recording must be performed with external hardware plugged in. If the external hardware is damaged, loose, or has degraded performance, the stability of the dash cam function will also decrease, increasing the risk of losing key videos recording the accident. In addition, dash cam videos will be erased cyclically. If users fail to export key videos recording the accident in a timely manner, the videos may be lost.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and computer program product for emergency video recording of a vehicle, so as to at least solve the technical problem of poor recording effect of vehicle emergency accidents.

[0005] According to one aspect of an embodiment of the present invention, a method for emergency recording of a vehicle is provided, comprising: in response to the vehicle triggering an emergency recording function, obtaining a first triggering time point of triggering the emergency recording function and a loop recording status of the vehicle, wherein the loop recording status is used to indicate whether the loop recording function of the vehicle is in a working state, and the loop recording function is used to loop overwrite and record a driving video stored in a removable storage device during the driving process of the vehicle; retrieving the recorded video of the vehicle from a storage space corresponding to the loop recording status, wherein the recorded video is a driving video including a first triggering time point or a driving video before the first triggering time point; and editing the recorded video based on the first triggering time point to obtain an emergency recorded video of the vehicle.

[0006] Optionally, the method also includes: in response to a removable storage device provided on the vehicle being in an on state, determining that the loop recording state is a loop recording function being in a working state; in response to the removable storage device being not in an on state, determining that the loop recording state is a loop recording function being not in a working state.

[0007] Optionally, the recorded video includes one of the following: a first recorded video, a second recorded video, and the storage space includes at least one of the following: a removable storage device, a virtual memory corresponding to the vehicle, and the recorded video of the vehicle is retrieved from the storage space corresponding to the loop recording state, including: in response to the loop recording state being that the loop recording function is in a working state, retrieving the first recorded video stored in the removable storage device, wherein the first recorded video is a recorded video stored by performing a loop erasing operation in the removable storage device, and the first recorded video is a recorded video stored in the removable storage device within at least one loop erasing cycle, and at least one loop erasing cycle is a cycle that at least includes the first trigger time point; in response to the loop recording state being that the loop recording function is not in a working state, retrieving the second recorded video stored in the virtual memory, wherein the second recorded video is a recorded video stored by performing a loop erasing operation in the virtual memory, and the second recorded video is a recorded video stored in the virtual memory within a preset time length before the first trigger time point.

[0008] Optionally, the recorded video is edited based on the first trigger time point to obtain an emergency recorded video of the vehicle, including: in response to the loop recording status being that the loop recording function is in a working state, intercepting the first recorded video to obtain an emergency recorded video; in response to the loop recording status being that the loop recording function is not in a working state, recording a driving video of a first preset length starting from the first trigger time point to obtain a first driving recorded video, and splicing the first recorded video and the first driving recorded video to obtain an emergency recorded video.

[0009] Optionally, the first recorded video is intercepted to obtain an emergency recorded video, including: determining the first time point and the second time point based on the first trigger time point and the second preset time length, wherein the first time point is a time point before the first trigger time point and spaced from the first trigger time point by the second preset time length, and the second time point is a time point after the first trigger time point and spaced from the first trigger time point by the second preset time length; intercepting the first recorded video based on the first trigger time point, the first time point and the second time point to obtain the emergency recorded video.

[0010] Optionally, the first recorded video is intercepted based on the first trigger time point, the first time point and the second time point to obtain an emergency recorded video, including: intercepting the video between the first trigger time point and the first time point in the first recorded video to obtain a first emergency recorded video; intercepting the video between the first trigger time point and the second time point in the first recorded video to obtain a second emergency recorded video; and splicing the first emergency recorded video and the second emergency recorded video to obtain an emergency recorded video.

[0011] Optionally, the first emergency recording video and the second emergency recording video are spliced ​​to obtain the emergency recording video, including: in response to the vehicle triggering the emergency recording function between the first trigger time point and the second time point, obtaining the second trigger time point of the emergency recording function; determining the third time point based on the second trigger time point and the second preset time length, wherein the interval between the third time point and the first time point is less than the third preset time length; intercepting the video between the second trigger time point and the third time point in the first recording video to obtain the third emergency recording video; splicing the first emergency recording video, the second emergency recording video and the third emergency recording video to obtain the emergency recording video.

[0012] Optionally, the first recorded video and the first driving recorded video are spliced ​​to obtain an emergency recorded video, including: in response to the vehicle triggering the emergency recording function between the first trigger time point and the fourth time point, obtaining a third trigger time point of the emergency recording function; starting from the third trigger time point to record a driving video of a first preset length to obtain a second driving recorded video; and splicing the first recorded video, the first driving recorded video and the second driving recorded video to obtain an emergency recorded video.

[0013] Optionally, the method also includes: storing the emergency video recording in a fixed storage device corresponding to the vehicle.

[0014] Optionally, the method also includes: in response to the vehicle receiving a preset signal, determining that the vehicle triggers an emergency recording function, wherein the preset signal includes at least one of the following: an emergency braking signal, a collision warning signal, an airbag detonation signal, and an emergency recording function interaction signal.

[0015] Optionally, in response to the vehicle triggering an emergency recording function, the method further includes: displaying prompt information in an interactive interface of the vehicle, wherein the prompt information is used to indicate the recording status of the driving video.

[0016] Optionally, the method also includes: responding to a touch operation on the interactive interface, displaying a loop recording page and an emergency recording page on the interactive interface, wherein the loop recording page is used to display the recorded video, and the emergency recording page is used to display the emergency recording video and the marking information of the emergency recording video, and the marking information is used to record the triggering event of the emergency recording video.

[0017] Optionally, the method further includes: in response to a playback operation on the emergency video, displaying at least one accident information corresponding to a driving event in the emergency video on the emergency video page, wherein the accident information includes at least one of the following: cause of the accident, address of the accident.

[0018] Optionally, the method also includes: in response to a selection operation of a front perspective among multiple perspectives in an interactive interface, recording a driving video of the vehicle based on the front perspective to obtain a recorded video; in response to a selection operation of a front perspective and a surround perspective among multiple perspectives, recording a driving video of the vehicle based on the front perspective and the surround perspective to obtain a recorded video.

[0019] According to another aspect of an embodiment of the present invention, a vehicle emergency recording device is also provided, including: an acquisition module, used to respond to the vehicle triggering an emergency recording function, to acquire the first trigger time point of triggering the emergency recording function and the vehicle's loop recording status, wherein the loop recording status is used to indicate whether the vehicle's loop recording function is in a working state, and the loop recording function is used to loop overwrite and record the driving video stored in a removable storage device during the vehicle's driving process; a retrieval module, used to retrieve the vehicle's recorded video from the storage space corresponding to the loop recording status, wherein the recorded video is a driving video containing the first trigger time point or a driving video before the first trigger time point; a generation module, used to edit the recorded video based on the first trigger time point to obtain the vehicle's emergency recorded video.

[0020] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned method for emergency recording of a vehicle is executed when the program is running.

[0021] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned method for emergency video recording of a vehicle.

[0022] In an embodiment of the present invention, in response to a vehicle triggering an emergency recording function, the first triggering time point of the emergency recording function and the loop recording state of the vehicle are obtained; the recorded video of the vehicle is retrieved from the storage space corresponding to the loop recording state; the recorded video is edited based on the first triggering time point to obtain the emergency recorded video of the vehicle. It is easy to notice that when an accident occurs, according to the working state of the loop recording function, the recorded video of a period of time before the first triggering time point of the accident is retrieved from the corresponding storage space, and the recorded video is edited based on the first triggering time point to obtain the emergency recorded video recording the accident. By generating the emergency recorded video separately, the problem of loss of key recorded video recording the accident due to loss of loop recording or overwriting of loop recording is avoided, and the technical effect of timely recording emergency accidents is achieved, thereby solving the technical problem of poor recording effect of vehicle emergency accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0024] Figure 1 is a flow chart of an emergency video recording method for a vehicle according to an embodiment of the present invention;

[0025] Figure 2 is a schematic diagram of an optional video recording function option according to an embodiment of the present invention;

[0026] Figure 3 is a schematic diagram of an optional method for manually triggering an emergency recording function by a user according to an embodiment of the present invention;

[0027] Figure 4 is a schematic diagram of an optional user interaction schematic identifier according to an embodiment of the present invention;

[0028] Figure 5 It is a schematic diagram of an optional display of a loop recording page and an emergency recording page on an interactive interface according to an embodiment of the present invention;

[0029] Figure 6 is a schematic diagram of an optional emergency video playback according to an embodiment of the present invention;

[0030] Figure 7 is a schematic diagram of an optional recording angle of view of an emergency video according to an embodiment of the present invention;

[0031] Figure 8 2 is a schematic diagram of an emergency video recording device for a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "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.

[0034] Example 1

[0035] According to an embodiment of the present invention, an embodiment of an emergency video recording method for a vehicle is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0036] Figure 1 is a flow chart of an emergency video recording method for a vehicle according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0037] Step S102, in response to the vehicle triggering the emergency recording function, obtain the first triggering time point of the emergency recording function and the loop recording status of the vehicle, wherein the loop recording status is used to indicate whether the loop recording function of the vehicle is in a working state, and the loop recording function is used to loop overwrite and record the driving video stored in a removable storage device during the driving process of the vehicle.

[0038] The emergency recording function in the above steps is a function for recording vehicle accidents. The difference from the loop recording function is that the loop recording function continuously records the vehicle and will cyclically erase early recordings when storage space is insufficient; however, the emergency recording function is mainly for emergency recording of vehicle accidents, retaining the recording information of the time period of the vehicle accident, and can realize timely recording of vehicle accidents.

[0039] The first trigger time point in the above steps is the time point when the emergency recording function is triggered, which can be determined according to the signal triggered when an accident occurs. Specifically, the time point when the emergency recording function is triggered can be the time point when the vehicle detects an accident signal, or the time point when the vehicle detects a warning signal, or the time point when the vehicle detects an indication signal sent by the user. Among them, determining the first trigger time point by detecting the indication signal sent by the user is a method of determining the first trigger time point through user operation. The specific process can be: when an accident occurs, the vehicle can display an interactive interface that provides an emergency recording function to the user, and the user can click a button to confirm emergency recording of the accident to send an indication signal. The time point when the vehicle detects the indication signal is the first trigger time point. Alternatively, the user can operate to display the interface and click the trigger control to determine the above-mentioned first trigger time point.

[0040] The loop recording function in the above steps is to continuously record the vehicle to obtain loop recording videos. It should be noted that the loop recording function will cyclically erase the earlier loop recording videos when the storage space is insufficient.

[0041] In an optional embodiment, the time point when each function of the vehicle is triggered can be recorded in the database of the vehicle storage unit by the vehicle's internal system, and when the emergency recording function is triggered, the database of the vehicle storage unit can be accessed to obtain the triggering time of the emergency recording function as the first triggering time point.

[0042] In another optional embodiment, when the emergency recording function is triggered, a data recorder on the vehicle may be used to record the time point when the emergency recording function is triggered, and use the time point as the first triggering time point.

[0043] By obtaining the first trigger time point, the time point when the vehicle accident occurred can be determined, and thus the video period that the emergency video should record can be determined to ensure that the emergency video can record the process of the accident. Further, the on / off state of the loop recording function can be determined. Optionally, the parameter representing the on / off state of the loop recording function can be accessed, and the parameter can be parsed according to the meaning represented by the parameter value. If the parameter value indicates that the loop recording function is turned on, the loop recording state of the vehicle is determined to be the loop recording function turned on; if the parameter value indicates that the loop recording function is turned off, the loop recording state of the vehicle is determined to be the loop recording function turned off.

[0044] Step S104, retrieving the recorded video of the vehicle from the storage space corresponding to the loop recording state, wherein the recorded video is a driving video including the first trigger time point or a driving video before the first trigger time point.

[0045] The storage space in the above steps is the space for storing the vehicle video recording, which can be a removable storage device such as an external hard disk, or a built-in memory on the vehicle computer. The storage space has a corresponding relationship with the loop recording state, and different loop recording states correspond to different storage spaces. If the loop recording state is the loop recording function turned on, the storage space can be a removable storage device, and if the loop recording state is the loop recording function turned off, the storage space can be the virtual memory on the vehicle computer.

[0046] The driving video including the first trigger time point in the above step is a driving video that is recorded from a time point before the first trigger time point to a time point after the first trigger time point.

[0047] The recorded video in the above steps is a video obtained by recording the driving status of the vehicle. When the loop recording state is that the loop recording function is turned on, the recorded video is a driving video containing the first trigger time point, which can be used to intercept the vehicle accident video containing the first trigger time point to obtain an emergency recorded video recording the vehicle accident; when the loop recording state is that the loop recording function is turned off, the recorded video is a driving video containing the time before the first trigger time point. The recorded video at this time records the driving status before the accident occurs, and can be used to generate an emergency recorded video, so that the emergency recorded video records the complete accident process.

[0048] In an optional embodiment, in order to better record the causes and consequences of a vehicle accident, the video footage for a period of time before a first trigger time point should also be recorded. However, under different loop recording states, the storage location of the video footage for a period of time before the first trigger time point will be different. Therefore, it is necessary to determine the corresponding storage space according to the loop recording state and retrieve the vehicle's video footage from the storage space.

[0049] When determining the corresponding storage space according to the loop recording status, generally speaking, if the loop recording status is on, the vehicle has been continuously recording loop recording videos before the emergency recording function is triggered. Therefore, the recorded video at this time is a part of the loop recording video, and the storage space is the space for storing the loop recording video. If the loop recording status is off, the vehicle is not recording loop recording videos before the emergency recording function is triggered. In order to retain the recordings for a period of time before the first trigger time point, a special storage area can be opened to store the driving video before the first trigger time point. Since the emergency recording function only requires the driving video for a period of time before the first trigger time point, in order to avoid wasting storage space, this special storage area can use a loop overwrite method to save the driving video. Therefore, it can be determined whether the storage space is the space for storing loop recording videos or a special storage area according to whether the loop recording status is on or off.

[0050] When retrieving the vehicle's recorded video from the storage space, you can directly retrieve the video in the storage space as the recorded video; you can also determine the duration, starting point and ending point of the recorded video based on industry experience, user needs or actual application conditions, and capture a segment of video from the video stored in the storage space as the recorded video based on the starting point, ending point and duration of the recorded video. However, if the video in the storage space itself contains the first trigger time point, the captured recorded video still needs to include the first trigger time point.

[0051] Step S106, editing the recorded video based on the first trigger time point to obtain an emergency recorded video of the vehicle.

[0052] The emergency video in the above steps is a video recording a vehicle accident, which can be obtained by editing the video.

[0053] In an optional embodiment, if the recorded video is a driving video before the first trigger time point, the video recording can be started from the first trigger time point, and the video duration can be determined according to user needs. Specifically, the video duration can be preset in advance according to user needs, and when recording the video, the video is recorded according to the preset video duration; or the video recording can be started from the first trigger time point, and the user decides when to issue a stop recording instruction according to his own needs, thereby determining the video duration. After the video recording is completed, this video is spliced ​​with the recorded video to obtain an emergency recorded video.

[0054] In another optional embodiment, if the recorded video is a driving video that includes a first trigger time point, starting from a time point before the first trigger time point and ending at a time point after the first trigger time point, the recorded video can be intercepted. Specifically, a segment of the recorded video that includes the first trigger time point can be intercepted as an emergency recorded video.

[0055] The emergency video obtained by editing the video based on the first trigger time point can be separated from the loop video and can be displayed separately to improve the convenience of users to find the emergency video when handling accidents. At the same time, compared with the loop video, the smaller emergency video is also easier to store in a reliable storage medium, thereby reducing the risk of loss.

[0056] In an embodiment of the present invention, in response to a vehicle triggering an emergency recording function, the first triggering time point of the emergency recording function and the loop recording state of the vehicle are obtained; the recorded video of the vehicle is retrieved from the storage space corresponding to the loop recording state; the recorded video is edited based on the first triggering time point to obtain the emergency recorded video of the vehicle. It is easy to notice that when an accident occurs, according to the working state of the loop recording function, the recorded video of a period of time before the first triggering time point of the accident is retrieved from the corresponding storage space, and the recorded video is edited based on the first triggering time point to obtain an emergency recorded video recording the accident. By generating an emergency recorded video separately, the problem of loss of key recorded video recording the accident due to loss of loop recorded video or overwriting of loop recorded video is avoided, thereby achieving the technical effect of reducing the risk of loss of key recorded video, and further solving the technical problem of poor recording effect of vehicle emergency accidents.

[0057] Optionally, the method also includes: in response to a removable storage device provided on the vehicle being in an on state, determining that the loop recording state is a loop recording function being in a working state; in response to the removable storage device being not in an on state, determining that the loop recording state is a loop recording function being not in a working state.

[0058] The removable storage device in the above steps is a portable storage device, which may include but is not limited to a Universal Serial Bus (USB) flash drive, an external hard disk, a Secure Digital Card (SD) card, etc., wherein a USB flash drive may also be referred to as a U disk, which can be used to store looped video. The looped video saved in a removable storage device within a loop erase and write cycle is the first video.

[0059] In an optional embodiment, if the removable storage device on the vehicle is in an on state, the loop video shot using the loop recording function can be stored in the removable storage device. At this time, the loop recording state means that the loop recording function is in a working state, and the loop video can be retrieved from the removable storage device when generating an emergency video. If the removable storage device is not in an on state, the loop recording function is in an off state, the vehicle does not record the loop video, and when generating an emergency video, the vehicle's video is retrieved from the virtual memory.

[0060] Optionally, the recorded video includes one of the following: a first recorded video, a second recorded video, and the storage space includes at least one of the following: a removable storage device, a virtual memory corresponding to the vehicle, and the recorded video of the vehicle is retrieved from the storage space corresponding to the loop recording state, including: in response to the loop recording state being that the loop recording function is in a working state, retrieving the first recorded video stored in the removable storage device, wherein the first recorded video is a recorded video stored by performing a loop erasing operation in the removable storage device, and the first recorded video is a recorded video stored in the removable storage device within at least one loop erasing cycle, and at least one loop erasing cycle is a cycle that at least includes the first trigger time point; in response to the loop recording state being that the loop recording function is not in a working state, retrieving the second recorded video stored in the virtual memory, wherein the second recorded video is a recorded video stored by performing a loop erasing operation in the virtual memory, and the second recorded video is a recorded video stored in the virtual memory within a preset time length before the first trigger time point.

[0061] The first video in the above steps is a video recorded in a loop when the loop recording function is in operation, and can be a video recorded in a loop stored in a removable storage device during a loop erasing cycle, and the video recorded in a loop can be obtained by continuous recording by the loop recording function. Since the loop erasing cycle includes the first trigger time point, the video recorded in the loop stored in the removable storage device, that is, the first video, can be a driving video starting from a time point before the first trigger time point and ending at a time point after the first trigger time point, including the first trigger time point.

[0062] The second video in the above step is the video stored in the virtual memory when the loop recording function is turned off. The second video can be a driving video corresponding to a period of time before the first trigger time point.

[0063] The virtual memory in the above steps is a temporary memory divided from part of the hard disk space, which is used to expand the actual physical memory and to store the second recorded video. The virtual memory may be Universal Flash Storage (UFS for short).

[0064] The cyclic erasing cycle in the above steps is a cycle for executing the cyclic erasing operation, which includes a first trigger time point. The cyclic erasing operation is used to erase the early video content when the removable storage device or virtual memory is full to free up storage space for storing new videos.

[0065] The preset duration in the above steps is a pre-set duration, which can be set according to user needs or actual application conditions. The specific value of the preset duration is not limited here.

[0066] In an optional embodiment, the user can automatically set the loop recording function and the emergency recording function to be turned on and off. Figure 2 is a schematic diagram of an optional recording function option according to an embodiment of the present invention, such as Figure 2 As shown in the figure, the user options for recording mode include: Off, Emergency Recording, Emergency and Loop Recording. When "Off" is selected, the driving recording function is turned off, and the loop recording function and emergency recording function are both turned off; when "Emergency Recording" is selected, the loop recording function is turned off and the emergency recording function is turned on; when "Emergency and Loop Recording" is selected, the loop recording function and emergency recording function are both turned on.

[0067] When the loop recording state is that the loop recording function is in working state, the vehicle will continuously record the driving process through the loop recording function, and store the obtained loop recording video in a USB flash drive, that is, a removable storage device. Since the loop recording video obtained by continuous recording is large, a loop erase operation is adopted to erase part of the early video in the USB flash drive when receiving each loop erase cycle. Copy the loop recording video from the USB flash drive and use it as the first recording video.

[0068] When the loop recording state means that the loop recording function is off, the driving video is continuously recorded and stored in the UFS, which is smaller than the removable storage device, that is, the virtual memory. Since the virtual memory is small, it is necessary to perform a cyclic erasing operation on the virtual memory to erase the older videos and only retain the videos within the preset time length before the first trigger time point. It should be noted that the cyclic erasing cycle of the virtual memory and the removable storage device may be different, and the duration of the video erased by the virtual memory and the removable storage device within the cycle may also be different. Get the recorded video from the UFS and use it as the second recorded video.

[0069] Optionally, the recorded video is edited based on the first trigger time point to obtain an emergency recorded video of the vehicle, including: in response to the loop recording status being that the loop recording function is in a working state, intercepting the first recorded video to obtain an emergency recorded video; in response to the loop recording status being that the loop recording function is not in a working state, recording a driving video of a first preset length starting from the first trigger time point to obtain a first driving recorded video, and splicing the first recorded video and the first driving recorded video to obtain an emergency recorded video.

[0070] The first preset duration in the above steps is a preset duration of the video recorded from the first trigger time point, which can be set according to actual application conditions or user needs. The specific value of the first preset duration is not limited here.

[0071] In an optional embodiment, when the loop recording state is that the loop recording function is in working state, the loop recording function continuously records video during driving and stores it in a removable storage device. Therefore, the first recording video obtained from the removable storage device can be intercepted to obtain a continuous video including a period of time before the first trigger time point and a period of time after the first trigger time point, that is, an emergency recording video that records the entire vehicle accident process.

[0072] When the loop recording state is that the loop recording function is in the off state, the second recording video in the virtual memory records the recording content of a period of time before the first trigger time point. Therefore, in order to ensure the integrity of the emergency video recording of the vehicle accident, the driving video of the first preset length should be recorded from the first trigger time point to obtain the first driving video, and the first recording video and the first driving video are spliced ​​to obtain a continuous video including a period of time before the first trigger time point and a period of time after the first trigger time point, that is, the emergency video recording the entire vehicle accident process.

[0073] The emergency video is obtained by intercepting the first video or splicing the first video and the first driving video. The emergency video may include driving records for a period of time before and after the first trigger time point, thereby better recording the causes and consequences of the vehicle accident and ensuring the integrity of the recorded accident.

[0074] Optionally, the first recorded video is intercepted to obtain an emergency recorded video, including: determining the first time point and the second time point based on the first trigger time point and the second preset time length, wherein the first time point is a time point before the first trigger time point and spaced from the first trigger time point by the second preset time length, and the second time point is a time point after the first trigger time point and spaced from the first trigger time point by the second preset time length; intercepting the first recorded video based on the first trigger time point, the first time point and the second time point to obtain the emergency recorded video.

[0075] The second preset time length in the above steps is a pre-set time length, and the second preset time length can be set according to actual application conditions or user needs, and no restriction is imposed on the specific value of the first preset time length.

[0076] The first time point in the above steps is the starting point of capturing the first recorded video, which is before the first trigger time point; the second time point is the end point of capturing the first recorded video, which is after the first trigger time point.

[0077] In an optional embodiment, when the loop recording state is that the loop recording function is in working state, two time points separated from the first trigger time point by a second preset time length are determined, and the time point before the first trigger time point is taken as the first time point, and the time point after the first trigger time point is taken as the second time point.

[0078] The first time point is used as the starting point for capturing the first recorded video, the second time point is used as the end point of the first recorded video, and a segment of video including the first trigger time point is captured from the first recorded video, thereby obtaining the emergency recorded video.

[0079] For example, when the loop recording state is that the loop recording function is in working state, the first recorded video is stored in segments in the removable storage device, each segment is 1 minute, that is, 1:01 to 1:02 is 1 segmented video, 1:02 to 1:03 is 1 segmented video, and so on.

[0080] If the second preset duration is 30 seconds, and the emergency recording function is triggered at 1:02:03, then the first trigger time point can be determined to be 1:02:03, the first time point is 1:01:33, and the second time point is 1:02:33. After the segmented video from 1:02 to 1:03 is saved, the segmented video from 1:01 to 1:02 and the segmented video from 1:02 to 1:03 are spliced ​​to obtain the video from 1:01 to 1:03, which is the first recorded video. Then, the first recorded video is intercepted according to the first time point and the second time point, with 1:01:33 as the starting point for intercepting the first recorded video and 1:02:33 as the end point for intercepting the first recorded video. The video from 1:01 to 1:03 is intercepted from the video from 1:01 to 1:03, which is the emergency recorded video.

[0081] It should be noted that all the times and values ​​in this embodiment are only examples, and the times and values ​​used in actual applications are not limited thereto.

[0082] In another optional embodiment, when the loop recording state is that the loop recording function is in working state, the first time point can be used as the starting point of intercepting the first video, and the first trigger time point can be used as the end point of intercepting the first video to intercept a video segment. Then, the first trigger time point is used as the starting point of intercepting the first video, and the second time point is used as the end point of intercepting the first video to intercept another video segment, and the two videos are spliced ​​to obtain the emergency video.

[0083] Optionally, the first recorded video is intercepted based on the first trigger time point, the first time point and the second time point to obtain an emergency recorded video, including: intercepting the video between the first trigger time point and the first time point in the first recorded video to obtain a first emergency recorded video; intercepting the video between the first trigger time point and the second time point in the first recorded video to obtain a second emergency recorded video; and splicing the first emergency recorded video and the second emergency recorded video to obtain an emergency recorded video.

[0084] The first emergency recorded video in the above steps is a video that takes the first time point as the starting point and the first trigger time point as the ending point, and can be used as a part of the emergency recorded video.

[0085] The second emergency recorded video in the above steps is a video that takes the first trigger time point as the starting point and the second time point as the ending point, and can be used as a part of the emergency recorded video.

[0086] In an optional embodiment, when the loop recording state is that the loop recording function is in working state, the first recording video can be obtained through the loop recording function. At the first trigger time point when the emergency recording function is triggered, the first recording video also needs to be recorded for the first preset time length to cover the second time point. Therefore, at the first time point, the first recording video can be intercepted according to the first trigger time point and the first time point to obtain the first emergency recording video containing the recording information before the accident occurs.

[0087] After the first video covers the second time point, the first video is intercepted according to the first trigger time point and the second time point to obtain a second emergency video containing video information after the accident. The first emergency video and the second emergency video are spliced ​​to obtain an emergency video that records the complete accident.

[0088] After the emergency recording function is triggered, before the first recording video covers the second time point, the first recording video is first intercepted according to the first trigger time point and the first time point to obtain the recording information before the accident occurs, which can avoid waiting in vain and improve the efficiency of obtaining emergency recording videos.

[0089] Optionally, the first emergency recording video and the second emergency recording video are spliced ​​to obtain the emergency recording video, including: in response to the vehicle triggering the emergency recording function between the first trigger time point and the second time point, obtaining the second trigger time point of the emergency recording function; determining the third time point based on the second trigger time point and the second preset time length, wherein the interval between the third time point and the first time point is less than the third preset time length; intercepting the video between the second trigger time point and the third time point in the first recording video to obtain the third emergency recording video; splicing the first emergency recording video, the second emergency recording video and the third emergency recording video to obtain the emergency recording video.

[0090] The second trigger time point in the above steps is the time point when the emergency recording function is triggered again after the emergency recording function has been triggered and before the emergency recording video is obtained. The third preset duration in the above steps is a preset duration. The third preset duration can be set according to the actual application situation or user needs. The specific value of the third preset duration is not limited here. The third preset duration is used to limit the total duration of the emergency recording video. The total duration of the emergency recording video should not be longer than the third preset duration, that is, the interval between the first time point and the third time point is less than or equal to the third preset duration. Exemplarily, the third preset duration can be 3 minutes, but the duration given is only an example. The third preset duration set in actual applications may not be limited to this.

[0091] The third time point in the above steps is a time point separated from the second trigger time point by a second preset time length. Before the emergency video is obtained, when the emergency video function is triggered again, the video recording needs to be extended, and the third time point is the end point of the extended video recording.

[0092] The third emergency recording in the above steps is a video that is recorded for an extended period of time after the emergency recording function is triggered and before the emergency recording video is obtained, when the emergency recording function is triggered again. The second trigger time point is used as the starting point, and the third time point is used as the ending point.

[0093] In an optional embodiment, when the loop recording state is that the loop recording function is in working state, after the emergency recording function has been triggered and before the emergency recording video is obtained, if the emergency recording function is triggered again, it is necessary to extend the recorded video, that is, to expand the capture range of the first recording video.

[0094] Exemplarily, if the second preset duration is 30 seconds, and the emergency is triggered at 1:02:03, then the first trigger time point is 1:02:03, the first time point is 1:01:33, and the second time point is 1:02:33. If the emergency recording function is triggered again at 1:02:32 before 1:02:33, it is necessary to expand the capture range of the first recorded video. At this time, the second trigger time point is 1:02:32, and the third time point can be determined to be 1:03:02 based on the second preset duration of 30 seconds. With the second trigger time point as the starting point and the third time point as the ending point, the video from 1:02:32 to 1:03:02 is captured from the first recorded video as the third emergency recorded video. It should be noted that all the above times and values ​​are only examples, and the times and values ​​used in actual applications may not be limited to these.

[0095] The first emergency video, the second emergency video and the third emergency video are spliced ​​together. During the splicing process, if there are overlapping parts among the first emergency video, the second emergency video and the third emergency video, they should be deduplicated first and then spliced ​​together. If there are no overlapping parts, they can be spliced ​​together directly. After splicing, the emergency video is obtained.

[0096] It should be noted that the third preset duration is used to limit the length of the entire emergency video recording, and this limitation will affect the determination of the third time point. Continuing with the above example, in the above example, the starting point of the emergency video recording, that is, the first time point is 1:01:33, and the ending point of the emergency video recording, that is, the third time point is 1:03:02. The duration of the emergency video recording is 89 seconds. If the third preset duration is 100 seconds, the duration of the emergency video recording meets the limitation, and the third time point is determined to be 1:03:02; if the third preset duration is 80 seconds, the duration of the emergency video recording does not meet the limitation, and the third time point should be modified to 1:02:53. It should be noted that all the above times and values ​​are only examples, and the times and values ​​used in actual applications are not limited to these.

[0097] Optionally, the first recorded video and the first driving recorded video are spliced ​​to obtain an emergency recorded video, including: in response to the vehicle triggering the emergency recording function between the first trigger time point and the fourth time point, obtaining a third trigger time point of the emergency recording function; starting from the third trigger time point to record a driving video of a first preset length to obtain a second driving recorded video; and splicing the first recorded video, the first driving recorded video and the second driving recorded video to obtain an emergency recorded video.

[0098] The fourth time point in the above steps is a time point after the first trigger time point and separated from the first trigger time point by a first preset time length, that is, when the loop recording function is not in the working state, after the emergency recording function is triggered, the end point of the video recording starting from the first trigger time point.

[0099] The third triggering time point in the above steps is a time point when the emergency recording function is triggered again after the emergency recording function has been triggered and before the emergency recording video is recorded.

[0100] The second driving recording video in the above steps is a video with the third trigger time point as the recording starting point and the recording duration as the first preset duration. It is also a video that is extendedly recorded when the emergency recording function is triggered again after the emergency recording function has been triggered and before the emergency recording video is completed.

[0101] In an optional embodiment, when the loop recording state is that the loop recording function is not in working state, if the vehicle triggers the emergency recording function again between the first trigger time point and the fourth time point, the trigger time point is recorded as the third trigger time point. The third trigger time point is used as the recording starting point, and the driving video with a recording duration of the first preset duration is recorded to obtain a second driving video.

[0102] The first recorded video, the first driving video, and the second driving video are spliced ​​together. During the splicing process, if the first driving video and the second driving video have repeated parts, they should be deduplicated first and then spliced ​​together to obtain the emergency video.

[0103] Optionally, the method further includes: storing the emergency video recording in a fixed storage device corresponding to the vehicle.

[0104] The fixed storage device in the above steps is a fixed storage device on the vehicle computer, which may be UFS, but is not limited thereto.

[0105] In an optional embodiment, the emergency video is stored in UFS, i.e., a fixed storage device. The emergency video corresponding to the vehicle accident is stored separately on a fixed storage device on the vehicle computer, rather than being stored together with the loop video in a removable storage device, so as to avoid the loss of the emergency video due to damage or looseness of the removable storage device, thereby improving the safety of the emergency video.

[0106] Optionally, the method also includes: in response to the vehicle receiving a preset signal, determining that the vehicle triggers an emergency recording function, wherein the preset signal includes at least one of the following: an emergency braking signal, a collision warning signal, an airbag detonation signal, and an emergency recording function interaction signal.

[0107] The preset signal in the above steps is a pre-set signal used to trigger the emergency recording function, which may be a signal generated by a collision, a signal generated by an early warning, or a signal generated by user interaction, but is not limited thereto.

[0108] The emergency braking signal in the above steps is a signal sent by the vehicle's Automatic Emergency Braking System (AEB), which is used to indicate that the vehicle is at risk of colliding with an obstacle in front and automatically brakes. The generation of an emergency braking signal by the vehicle can indicate that the vehicle has generated a collision warning and is at risk of sending a collision.

[0109] The collision warning signals in the above steps include forward collision warning signals and rear collision warning signals. When the forward collision warning system (FCW) detects that the distance between the vehicle and the vehicle in front is too close or the speed difference is too large, and there is a risk of collision, a forward collision warning signal is generated; when the rear collision warning system (RCW) detects that a vehicle is approaching from behind and the speed is high, and the vehicle is at risk of being rear-ended by the vehicle behind, a rear collision warning signal is generated. The forward collision warning signal and the rear collision warning signal can indicate that the vehicle has generated a collision warning and there is a risk of sending a collision.

[0110] The airbag detonation signal in the above steps is a signal generated when the vehicle collides, which is used to trigger the rapid inflation and expansion of the airbag, thereby protecting the occupants from collision injuries. When the vehicle collides, the sensor inside the vehicle detects the force and direction of the collision, generates an airbag detonation signal and sends the signal to the airbag control unit on the vehicle. The airbag detonation signal can indicate that the vehicle has sent a collision and needs to record an emergency video.

[0111] The emergency recording function interaction signal in the above steps is a signal manually sent by the user through the vehicle's interactive system, which is used to instruct the vehicle to start using the emergency recording function to record an emergency video.

[0112] In an optional embodiment, when it is clear that the vehicle has been involved in a collision accident, the emergency recording function needs to be triggered to record the collision accident. Since an airbag detonation signal is generated when a collision accident occurs, the emergency recording function is triggered when the vehicle receives the airbag detonation signal.

[0113] In addition, when the vehicle has a collision warning, although a collision accident has not been confirmed, there is a greater risk of a collision accident. In order to better cover the scene of the accident, the emergency recording function will also be used to record emergency video when the vehicle has a collision warning. Since emergency braking signals and collision warning signals are generated when a collision warning is performed, the emergency recording function is triggered when the vehicle receives an emergency braking signal and a collision warning signal.

[0114] The above is the case of automatically triggering the emergency recording function. In order to better prevent missed accidents, the user can also send an emergency recording function interaction signal to the vehicle to manually trigger the emergency recording function. Specifically, the user can press the button to enter the emergency call system (Emergency Call, referred to as Ecall) state, and then the vehicle generates an emergency recording function interaction signal, triggering the emergency recording function and starting to record emergency video. In addition, Figure 3 FIG. 1 is a schematic diagram of an optional method for manually triggering an emergency recording function by a user according to an embodiment of the present invention. Figure 3 As shown, the user can also select a vehicle from the four options of vehicle, door and window, light, and seat in the status bar of the vehicle interaction system. The vehicle then prompts that the current driving video status is "loop recording, loop recording the impact outside the vehicle and saving it in a USB flash drive", and provides "Emergency Recording" and "View Video" buttons. After the user clicks the "Emergency Recording" button, an emergency recording function interaction signal is generated, triggering the emergency recording function to start recording the emergency video.

[0115] Optionally, in response to the vehicle triggering an emergency recording function, the method further includes: displaying prompt information in an interactive interface of the vehicle, wherein the prompt information is used to indicate the recording status of the driving video.

[0116] The interactive interface in the above steps is an interface for realizing interaction between a user and a vehicle, and may be a display screen of a vehicle interactive system or a voice interactive system of a vehicle interactive system, but is not limited thereto.

[0117] The prompt information in the above steps is used to prompt the recording status of the driving video, and may include a user interface (UI) schematic logo and a status bar pop-up window.

[0118] In an optional embodiment, the prompt information displayed in the vehicle's interactive interface includes a user interaction indicator, that is, a UI indicator and a status bar pop-up window. Figure 4 is a schematic diagram of an optional user interaction schematic identifier according to an embodiment of the present invention, such as Figure 4As shown in the figure, the status is divided into three types: loop recording on, emergency recording on, and driving video function unavailable or off. The user interaction symbols corresponding to the three statuses are as follows Figure 4 as shown in .

[0119] The loop recording is in working state, which means the loop recording function is turned on and can be used normally. The emergency recording function can be in working state or in off state. When the loop recording is in working state, the information given in the status bar pop-up window is: loop recording, loop recording the image outside the car and saving it in the USB flash drive.

[0120] Emergency recording is in working state, which means that only the emergency recording function is turned on, and the loop recording function is not turned on; or both the emergency recording function and the loop recording function are turned on, but the loop recording function cannot be used due to a USB flash drive problem. In the emergency recording is in working state, the information given in the status bar pop-up window is: Emergency recording is enabled, and when a risk event occurs, the video will be automatically recorded and permanently saved in the car computer.

[0121] The unavailable or closed state of the driving video function can mean that the cross-product unit (XPU) is not enabled and the function is unavailable; it can also mean that the loop recording is closed or the USB disk problem causes the loop recording function to be unavailable, and when only emergency recording is available, the emergency recording function cannot be recorded and saved due to insufficient storage space. At this time, the information given in the status bar pop-up window is: Unavailable, the function is not used normally due to a USB disk or auxiliary image failure.

[0122] The unavailable or closed state of the driving video function can also mean that the emergency recording function and the loop recording function are not turned on. At this time, the message given in the status bar pop-up window is: Closed, please go to "Smart Image" in "Car Control" to turn it on.

[0123] Optionally, the method also includes: responding to a touch operation on the interactive interface, displaying a loop recording page and an emergency recording page on the interactive interface, wherein the loop recording page is used to display the recorded video, and the emergency recording page is used to display the emergency recording video and the marking information of the emergency recording video, and the marking information is used to record the triggering event of the emergency recording video.

[0124] The marking information in the above steps is used to record the triggering event of the emergency video recording. The triggering event may include the triggering time, triggering reason and triggering location. The triggering time includes the month and day when the emergency video was recorded, as well as the specific hours, minutes and seconds when the emergency video recording function was triggered.

[0125] In an optional embodiment, Figure 5 is a schematic diagram of an optional display of a loop recording page and an emergency recording page on an interactive interface according to an embodiment of the present invention, such as Figure 5As shown, select the Driving Video application from the Driving Video, Sentry Video, and Storage Management applications in the interactive interface. In the Driving Video application, under the Driving Video tab on the left, there is a secondary tab that supports the selection of "Emergency Video" and "Loop Video". The "Emergency Video" tab is in front, and the "Loop Video" tab is in the back. Click the "Emergency Video" tab to enter the emergency video page, and click the "Loop Video" tab to enter the loop video page. The "Emergency Video" tab is selected by default.

[0126] On the emergency recording page, the emergency recording videos of "a certain year and a certain month" are grouped in natural months. Each video displays the tag information, that is, the trigger time of the emergency recording video. The tag information includes date and time. The date is the month and day when the emergency recording video was recorded, and the time is the time when the first emergency event in the emergency recording video was triggered, that is, the first trigger time point. Click the triangle icon in the upper right corner to display the trigger reason, which can include collision reason, warning reason, user operation reason, etc.

[0127] On the loop recording page, all loop recording videos are displayed, that is, the contents of all online driving videos are displayed on the loop recording page. At the same time, the loop recording page also displays the prompt of no USB disk or USB disk failure.

[0128] By displaying loop recordings and emergency recordings on different pages and marking emergency recordings with time and tag information, users can easily find emergency recordings when tracing accidents and performing maintenance, avoiding the need to filter target videos from a large amount of video data, thereby improving user-friendly usability.

[0129] Optionally, the method further includes: in response to a playback operation on the emergency video, displaying at least one accident information corresponding to a driving event in the emergency video on the emergency video page, wherein the accident information includes at least one of the following: cause of the accident, address of the accident.

[0130] The accident information in the above steps is the information corresponding to the driving event in the emergency recording video. The accident information may include the cause of the accident and the address of the accident. The cause of the accident is the reason for triggering the emergency recording function, and the accident address is the address when the emergency recording function is triggered. It should be noted that in an emergency recording video, the emergency recording function may be triggered more than once, so the cause of the accident displayed in an emergency recording video may be one or more; the accident address displayed in an emergency recording video may be one or more.

[0131] The cause of the accident in the above steps can be an automatic triggering event such as forward collision warning, rear collision warning, emergency braking, airbag deployment, etc., or a manual triggering event such as user operation. The cause of the accident has a corresponding relationship with the emergency braking signal, collision warning signal, airbag detonation signal, and emergency video function interaction signal that can trigger the emergency video function: emergency braking corresponds to the emergency braking signal, forward collision warning and rear collision warning correspond to the collision warning signal, airbag deployment corresponds to the airbag detonation signal, and user operation corresponds to the emergency video function interaction signal.

[0132] In an optional embodiment, a certain emergency video can be selected in the emergency video page, and the emergency video can be played using a player. Figure 6 is a schematic diagram of an optional emergency video playback according to an embodiment of the present invention, such as Figure 6 As shown, Figure 6 The right part is the emergency video being played. There is a progress bar for the emergency video being played. In the emergency video, you can click the "View Surround" button to view the surround view. The left part has a map and a vehicle logo. While the emergency video is playing, the vehicle logo moves on the map according to the vehicle route in the emergency video. During the movement, the point that triggers the emergency video function, that is, the accident address, will be specially marked.

[0133] In addition to the accident address, when using the player to play the emergency video, the cause of the accident will also be displayed, that is, the reason for triggering the emergency video function. The accident causes include forward collision warning, rear collision warning, emergency braking, airbag deployment, and user operation. Among them, forward collision warning, rear collision warning, emergency braking, and airbag deployment are all automatically triggered emergency video recording, and user clicks are manually triggered emergency video recording. Among the reasons for automatically triggering emergency video recording, forward collision warning, rear collision warning, and emergency braking are warning reasons, that is, the emergency video recording starts due to vehicle warnings, and airbag deployment is a collision reason, that is, the emergency video recording starts due to vehicle collisions. Among the reasons for manually triggering emergency video recording, user operations include users clicking the start emergency video recording button in the status bar and users operating the steering wheel controller.

[0134] Optionally, the method also includes: in response to a selection operation of a front perspective among multiple perspectives in an interactive interface, recording a driving video of the vehicle based on the front perspective to obtain a recorded video; in response to a selection operation of a front perspective and a surround perspective among multiple perspectives, recording a driving video of the vehicle based on the front perspective and the surround perspective to obtain a recorded video.

[0135] The front viewing angle in the above steps refers to the view from the front of the vehicle captured by the camera or camcorder during the process of recording the driving video of the vehicle, and the road in front of the vehicle and the surrounding environment can be seen.

[0136] The surround view in the above steps refers to the process of recording the vehicle's driving video. The picture captured by the camera or camcorder is a panoramic view around the vehicle. The road and surrounding environment in front, behind, on the left and on the right of the vehicle can be seen at the same time, so as to capture the situation around the vehicle more comprehensively.

[0137] In an optional embodiment, when using the emergency recording function to record an emergency video, the user can select the recording angle in the interactive interface. The user can choose to record from the front angle, or can choose to record based on the front angle and the surround angle. Figure 7 is a schematic diagram of an optional recording angle of view of an emergency video according to an embodiment of the present invention, such as Figure 7 As shown in the figure, if the user selects the front view as the recording angle, the emergency video will record the main view. The recording range of the main view is as follows: Figure 7 As shown in ; If the user selects the front view and surround view as the recording angle, the emergency video recording is the main view plus the surround view. The recording range of the main view plus the surround view is as follows Figure 7 As shown in . Selecting the front view angle to record can obtain a video containing the main view, which has a relatively single view angle, but occupies less storage space; selecting the front view angle and the surround view angle to record can obtain a video containing the main view and the surround view, which can record the front and surrounding images of the vehicle at the same time, providing a more comprehensive view angle, but occupies less storage space.

[0138] Example 2

[0139] According to an embodiment of the present invention, an embodiment of an emergency video recording device for a vehicle is provided. The device can execute the emergency video recording method for a vehicle provided in the above embodiment 1. The specific implementation method and preferred application scenario are the same as those of the above embodiment 1 and will not be described in detail here.

[0140] Figure 8 is a schematic diagram of an emergency video recording device for a vehicle according to an embodiment of the present invention. Figure 8 As shown:

[0141] The acquisition module 80 is used to obtain the first triggering time point of the emergency recording function and the loop recording status of the vehicle in response to the vehicle triggering the emergency recording function, wherein the loop recording status is used to indicate whether the loop recording function of the vehicle is in a working state, and the loop recording function is used to loop overwrite and record the driving video stored in a removable storage device during the driving process of the vehicle.

[0142] The retrieval module 82 is used to retrieve the recorded video of the vehicle from the storage space corresponding to the loop recording state, wherein the recorded video is the driving video including the first trigger time point or the driving video before the first trigger time point.

[0143] The generating module 84 is used to edit the recorded video based on the first trigger time point to obtain the emergency recorded video of the vehicle.

[0144] Optionally, the acquisition module includes: a first determination unit, used to determine that the loop recording state is that the loop recording function is in a working state in response to a removable storage device installed on the vehicle being in an on state; a second determination unit, used to determine that the loop recording state is that the loop recording function is not in a working state in response to the removable storage device not being in an on state.

[0145] Optionally, the retrieval module includes: a first retrieval unit, used to retrieve a first video stored in a removable storage device in response to the loop recording state being that the loop recording function is in a working state, wherein the first video is a video stored in the removable storage device by performing a loop erasing operation, and the first video is a video stored in the removable storage device within at least one loop erasing cycle, and at least one loop erasing cycle is a cycle that at least includes a first trigger time point; a second retrieval unit, used to retrieve a second video stored in a virtual memory in response to the loop recording state being that the loop recording function is not in a working state, wherein the second video is a video stored in the virtual memory by performing a loop erasing operation, and the second video is a video stored in the virtual memory within a preset time length before the first trigger time point.

[0146] Optionally, the generation module includes: an interception unit, used to intercept the first recording video in response to the loop recording state being that the loop recording function is in a working state, to obtain an emergency recording video; a splicing unit, used to record a driving video of a first preset length starting from a first trigger time point in response to the loop recording state being that the loop recording function is not in a working state, to obtain a first driving recording video, and to splice the first recording video and the first driving recording video to obtain an emergency recording video.

[0147] Optionally, the interception unit is also used to determine the first time point and the second time point based on the first trigger time point and the second preset time length, wherein the first time point is a time point before the first trigger time point and is separated from the first trigger time point by the second preset time length, and the second time point is a time point after the first trigger time point and is separated from the first trigger time point by the second preset time length; the first recorded video is intercepted based on the first trigger time point, the first time point and the second time point to obtain an emergency recorded video.

[0148] Optionally, the interception unit is also used to intercept the video between the first trigger time point and the first time point in the first recorded video to obtain a first emergency recorded video; intercept the video between the first trigger time point and the second time point in the first recorded video to obtain a second emergency recorded video; and splice the first emergency recorded video and the second emergency recorded video to obtain an emergency recorded video.

[0149] Optionally, the interception unit is also used to obtain a second trigger time point of the emergency recording function in response to the vehicle triggering the emergency recording function between a first trigger time point and a second time point, wherein the duration between the first trigger time point and the second time point is less than a third preset duration; determine a third time point based on the second trigger time point and the second preset duration, wherein the third time point is a time point after the second trigger time point and separated from the second trigger time point by a second preset duration; intercept the video between the second trigger time point and the third time point in the first recording video to obtain a third emergency recording video; and splice the first emergency recording video, the second emergency recording video and the third emergency recording video to obtain an emergency recording video.

[0150] Optionally, the splicing unit is also used to obtain a third trigger time point of the emergency recording function in response to the vehicle triggering the emergency recording function between a first trigger time point and a fourth time point, wherein the duration between the first trigger time point and the fourth time point is less than a first preset duration; record a driving video of the first preset duration starting from the third trigger time point to obtain a second driving video; and splice the first recording video, the first driving video and the second driving video to obtain an emergency video.

[0151] Optionally, the generating module is also used to store the emergency video recording in a fixed storage device corresponding to the vehicle.

[0152] Optionally, the acquisition module is also used to determine that the vehicle triggers an emergency recording function in response to the vehicle receiving a preset signal, wherein the preset signal includes at least one of the following: an emergency braking signal, a collision warning signal, an airbag detonation signal, and an emergency recording function interaction signal.

[0153] Optionally, the acquisition module is also used to display prompt information in the vehicle's interactive interface, wherein the prompt information is used to indicate the recording status of the driving video.

[0154] Optionally, the generation module is also used to respond to touch operations on the interactive interface, and to display a loop recording page and an emergency recording page on the interactive interface, wherein the loop recording page is used to display the recorded video, and the emergency recording page is used to display the emergency recording video and the marking information of the emergency recording video, and the marking information is used to record the triggering event of the emergency recording video.

[0155] Optionally, the generation module is also used to respond to the playback operation on the emergency video, and display at least one accident information corresponding to the driving event in the emergency video on the emergency video page, wherein the accident information includes at least one of the following: cause of the accident, accident address.

[0156] Optionally, the calling module is also used to respond to the selection operation of the front perspective among the multiple perspectives in the interactive interface, record the vehicle's driving video based on the front perspective, and obtain a recorded video; respond to the selection operation of the front perspective and the surround perspective among the multiple perspectives, record the vehicle's driving video based on the front perspective and the surround perspective, and obtain a recorded video.

[0157] Example 3

[0158] According to an embodiment of the present invention, an electronic device is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the emergency vehicle recording method in embodiment 1 is executed when the program is running.

[0159] Example 4

[0160] The embodiments of the present application further provide a computer program product, including a computer program, which, when executed by a processor, implements the vehicle emergency recording method in each embodiment of the present invention.

[0161] Example 5

[0162] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the emergency recording method of the vehicle in each embodiment of the present invention is implemented.

[0163] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0164] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0165] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0167] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0168] 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 invention, in essence, 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0169] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for emergency video recording of a vehicle, characterized in that: include: In response to the vehicle triggering an emergency recording function, obtaining a first triggering time point of the emergency recording function and a loop recording state of the vehicle, wherein the loop recording state is used to indicate whether the loop recording function of the vehicle is in a working state, and the loop recording function is used to loop overwrite and record driving videos stored in a removable storage device during driving of the vehicle; Retrieving the recorded video of the vehicle from the storage space corresponding to the loop recording state, wherein the recorded video is a driving video including the first trigger time point or a driving video before the first trigger time point; The recorded video is edited based on the first trigger time point to obtain an emergency recorded video of the vehicle.

2. The method for emergency video recording of a vehicle according to claim 1, characterized in that: The method further comprises: In response to a removable storage device disposed on the vehicle being in an on state, determining the loop recording state as the loop recording function being in the working state; In response to the removable storage device not being in the turned-on state, the loop recording state is determined to be that the loop recording function is not in the working state.

3. The method for emergency video recording of a vehicle according to claim 2, characterized in that: The recorded video includes one of the following: a first recorded video and a second recorded video; the storage space includes at least one of the following: the removable storage device and a virtual memory corresponding to the vehicle; and the recorded video of the vehicle is retrieved from the storage space corresponding to the loop recording state, including: In response to the loop recording state being that the loop recording function is in the working state, the first recorded video stored in the removable storage device is retrieved, wherein the first recorded video is a recorded video stored by performing a loop erasing operation in the removable storage device, and the first recorded video is a recorded video stored in the removable storage device within at least one loop erasing cycle, and the at least one loop erasing cycle is a cycle that at least includes the first trigger time point; In response to the loop recording state being that the loop recording function is not in the working state, the second recording video stored in the virtual memory is retrieved, wherein the second recording video is the recording video stored by performing the loop erasing operation in the virtual memory, and the second recording video is the recording video stored in the virtual memory within a preset time length before the first trigger time point.

4. The method for emergency video recording of a vehicle according to claim 3, characterized in that: The recorded video is edited based on the first trigger time point to obtain an emergency recorded video of the vehicle, including: In response to the loop recording state being that the loop recording function is in the working state, intercepting the first recording video to obtain the emergency recording video; In response to the loop recording state being that the loop recording function is not in the working state, a driving video of a first preset length is recorded from the first trigger time point to obtain a first driving recording video, and the first recording video and the first driving recording video are spliced ​​to obtain the emergency recording video.

5. The method for emergency video recording of a vehicle according to claim 4, characterized in that: The first recorded video is intercepted to obtain the emergency recorded video, including: Determine a first time point and a second time point based on the first trigger time point and the second preset time length, wherein the first time point is a time point before the first trigger time point and is separated from the first trigger time point by the second preset time length, and the second time point is a time point after the first trigger time point and is separated from the first trigger time point by the second preset time length; The first recorded video is intercepted based on the first trigger time point, the first time point and the second time point to obtain the emergency recorded video.

6. The method for emergency video recording of a vehicle according to claim 5, characterized in that: The first recorded video is intercepted based on the first trigger time point, the first time point, and the second time point to obtain the emergency recorded video, including: Intercepting the video between the first trigger time point and the first time point in the first recorded video to obtain a first emergency recorded video; Intercepting the video between the first trigger time point and the second time point in the first recorded video to obtain a second emergency recorded video; The first emergency recorded video and the second emergency recorded video are spliced ​​together to obtain the emergency recorded video.

7. The method for emergency video recording of a vehicle according to claim 6, characterized in that: The first emergency video and the second emergency video are spliced ​​to obtain the emergency video, including: In response to the vehicle triggering the emergency recording function between the first triggering time point and the second triggering time point, acquiring a second triggering time point of the emergency recording function; Determine a third time point based on the second trigger time point and the second preset duration, wherein the interval duration between the third time point and the first time point is less than the third preset duration; Intercepting the video between the second trigger time point and the third time point in the first recorded video to obtain a third emergency recorded video; The first emergency recorded video, the second emergency recorded video and the third emergency recorded video are spliced ​​together to obtain the emergency recorded video.

8. The method for emergency video recording of a vehicle according to claim 1, characterized in that: The method further comprises: In response to the vehicle receiving a preset signal, it is determined that the vehicle triggers the emergency recording function, wherein the preset signal includes at least one of the following: an emergency braking signal, a collision warning signal, an airbag detonation signal, and an emergency recording function interaction signal.

9. The method for emergency video recording of a vehicle according to claim 1, characterized in that: In response to the vehicle triggering the emergency recording function, the method further includes: Prompt information is displayed in the interactive interface of the vehicle, wherein the prompt information is used to prompt the recording status of the driving video.

10. The method for emergency video recording of a vehicle according to claim 9, characterized in that: The method further comprises: In response to a touch operation on the interactive interface, a loop recording page and an emergency recording page are displayed on the interactive interface, wherein the loop recording page is used to display the recorded video, and the emergency recording page is used to display the emergency recording video and the marking information of the emergency recording video, and the marking information is used to record the triggering event of the emergency recording video.

Citation Information

Patent Citations

  • Drive recorder

    CN101739739A

  • Emergency photographing method and system for car driving recorder

    CN108495071A

  • System, method and apparatus to collect sensor data generated in autonomous vehicle

    CN111506258A

  • Video processing method and device, vehicle and storage medium

    CN115720253A

  • Method for vehicle-mounted video driving recording, vehicle-mounted system and intelligent equipment

    CN117975594A