[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115471925A - Driving video recording method and device - Google Patents

Driving video recording method and device Download PDF

Info

Publication number
CN115471925A
CN115471925A CN202210283777.8A CN202210283777A CN115471925A CN 115471925 A CN115471925 A CN 115471925A CN 202210283777 A CN202210283777 A CN 202210283777A CN 115471925 A CN115471925 A CN 115471925A
Authority
CN
China
Prior art keywords
vehicle
target
video
image acquisition
mounted image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210283777.8A
Other languages
Chinese (zh)
Inventor
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Co Wheels Technology Co Ltd
Original Assignee
Beijing Co Wheels Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Co Wheels Technology Co Ltd filed Critical Beijing Co Wheels Technology Co Ltd
Priority to CN202210283777.8A priority Critical patent/CN115471925A/en
Publication of CN115471925A publication Critical patent/CN115471925A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The utility model provides a driving video recording method, a driving video recording device and an electronic device, which relate to the technical field of vehicle driving safety, and the method comprises the following steps: synchronously starting the vehicle-mounted image acquisition device when the vehicle is started; acquiring the running information of the vehicle, and judging whether the vehicle is in an abnormal state or not based on the running information; responding to the running information to indicate that the vehicle has an abnormal state, and acquiring the occurrence time of the abnormal state; and acquiring a target video clip including the occurrence time from the candidate video set, and storing the target video clip according to a target storage mode. Therefore, the driving state of the vehicle is monitored in real time, the target video clip at the abnormal moment is acquired and stored in a target storage mode, the effectiveness and the accuracy of video acquisition of the vehicle-mounted image acquisition device when the vehicle is abnormal can be increased, the storage safety of the target video clip can be guaranteed, the generation cost of accident videos is reduced, and the loss of the vehicle owner caused by the fact that the target video clip is covered or damaged is avoided.

Description

行车录像方法及其装置Driving video recording method and device thereof

技术领域technical field

本公开涉及车辆行车安全技术领域,尤其涉及一种行车录像方法、装置、电子设备。The present disclosure relates to the technical field of vehicle driving safety, in particular to a driving video recording method, device, and electronic equipment.

背景技术Background technique

随着车辆的普及,车辆上路安全越来越得到社会的重视。车辆上通常会配置有车载视频装置,对行车中的车内及车外情况进行视频记录,以达到对出现事故、纠纷、违法违规等非正常事件之后的取证目的。With the popularization of vehicles, the safety of vehicles on the road has been paid more and more attention by the society. Vehicles are usually equipped with on-board video devices to record video of the inside and outside of the vehicle while driving, so as to achieve the purpose of obtaining evidence after abnormal events such as accidents, disputes, and violations of laws and regulations.

当前技术中,私家车的车载录像机的录像一般为设置在车辆前端的录像设备来录制的,用以记录车辆前方的景象,在发生事故时,摄像头会将录像存储在设备的存储单元中,与正常录像放在一起。这种情况会存在由于事故造成录像装置损坏,从而无法从存储单元提取录像的情况,对人员造成损失。并且,在获取事故录像后,还需要对事故录像进行逐帧的查找,浪费大量的时间和人员成本。因此我们需要一套存储安全且能记录准确提供事故发生前后录像的方法和装置。In the current technology, the video of the vehicle-mounted video recorder of a private car is generally recorded by a video device installed at the front of the vehicle to record the scene in front of the vehicle. When an accident occurs, the camera will store the video in the storage unit of the device. Normal recordings are put together. In this case, the video recording device may be damaged due to an accident, so that the video recording cannot be extracted from the storage unit, causing losses to personnel. Moreover, after the accident video is obtained, it is necessary to search the accident video frame by frame, which wastes a lot of time and personnel costs. Therefore, we need a set of methods and devices that store safely and can accurately record and provide videos before and after the accident.

公开内容public content

本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.

为此,本公开的一个目的在于提出一种行车录像方法。Therefore, an object of the present disclosure is to provide a driving video recording method.

本公开的第二个目的在于提出一种行车录像装置。The second objective of the present disclosure is to provide a driving video recording device.

本公开的第三个目的在于提出一种电子设备。The third object of the present disclosure is to provide an electronic device.

为达上述目的,本公开第一方面实施方式提出了一种行车录像方法,包括:在车辆启动时同步启动车载图像采集装置,通过车载图像采集装置对车辆的行驶过程进行视频录制;获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态;响应于行驶信息指示车辆出现异常状态,获取异常状态的发生时间;从车载图像采集装置录制的候选视频集中,获取包括发生时间在内的目标视频片段,并按照目标存储方式对目标视频片段进行存储。In order to achieve the above purpose, the embodiment of the first aspect of the present disclosure proposes a driving video recording method, including: synchronously starting the vehicle-mounted image acquisition device when the vehicle is started, and recording the driving process of the vehicle through the vehicle-mounted image acquisition device; Driving information, and based on the driving information, determine whether the vehicle has an abnormal state; respond to the driving information indicating that the vehicle has an abnormal state, and obtain the occurrence time of the abnormal state; from the candidate video set recorded by the on-board image acquisition device, obtain the time including the occurrence time The target video segment is stored according to the target storage method.

根据本公开的一个实施方式,从车载图像采集装置录制的候选视频集中,获取包括发送时间在内的目标视频片段,包括:获取发生时间前后预设时间间隔的截取时间点;根据截取时间点对候选视频集进行截取,生成目标视频片段。According to an embodiment of the present disclosure, acquiring the target video clip including the sending time from the candidate video set recorded by the vehicle-mounted image acquisition device includes: acquiring the interception time point of a preset time interval before and after the occurrence time; The candidate video set is intercepted to generate the target video segment.

根据本公开的一个实施方式,车辆包括多个车载图像采集装置,其中,从车载图像采集装置录制的候选视频集中,获取包括发送时间在内的目标视频片段之后,还包括:针对于每个车载图像采集装置,确定车载图像采集装置在车辆上的目标安装位置,基于目标安装位置确定车载图像采集装置的目标视频片段在全景视频中的画面展示位置;对多个车载图像采集装置的目标视频片段,按照各自的画面展示位置进行拼接,以生成全景视频。According to an embodiment of the present disclosure, the vehicle includes a plurality of vehicle-mounted image acquisition devices, wherein, after obtaining the target video segment including the sending time from the candidate video set recorded by the vehicle-mounted image acquisition device, further includes: for each vehicle-mounted image acquisition device The image acquisition device determines the target installation position of the vehicle-mounted image acquisition device on the vehicle, and determines the screen display position of the target video segment of the vehicle-mounted image acquisition device in the panoramic video based on the target installation position; for multiple target video segments of the vehicle-mounted image acquisition device , and splicing according to their respective screen display positions to generate a panoramic video.

根据本公开的一个实施方式,确定车载图像采集装置在车辆上的目标安装位置,包括:从目标视频片段中提取车载图像采集装置的目标设备标识;基于目标设备标识,查询本地存储的设备标识与安装位置间的映射关系,确定车载图像采集装置对应的目标安装位置。According to an embodiment of the present disclosure, determining the target installation position of the vehicle-mounted image acquisition device on the vehicle includes: extracting the target device identification of the vehicle-mounted image acquisition device from the target video clip; based on the target device identification, querying the locally stored device identification and The mapping relationship between the installation positions determines the target installation position corresponding to the vehicle-mounted image acquisition device.

根据本公开的一个实施方式,按照目标存储方式对目标视频片段进行存储,包括:将生成的目标视频片段和/或全景视频从当前缓存单元,存入另一存储单元,其中,另一存储单元处于数据禁止删除状态。According to an embodiment of the present disclosure, storing the target video segment according to the target storage method includes: storing the generated target video segment and/or panoramic video from the current cache unit into another storage unit, wherein the other storage unit Data deletion is prohibited.

根据本公开的一个实施方式,按照目标存储方式对目标视频片段进行存储,包括:将生成的目标视频片段和/或全景视频继续存储在当前存储单元中,并设置禁止删除标记信息。According to an embodiment of the present disclosure, storing the target video segment according to the target storage method includes: continuing to store the generated target video segment and/or panoramic video in the current storage unit, and setting a deletion prohibition flag information.

根据本公开的一个实施方式,按照目标存储方式对目标视频片段进行存储,包括:将生成的目标视频片段和/或全景视频与车辆的车辆标识关联,并上传至云端服务器进行云端存储。According to an embodiment of the present disclosure, storing the target video segment according to the target storage method includes: associating the generated target video segment and/or panoramic video with the vehicle identification of the vehicle, and uploading to a cloud server for cloud storage.

根据本公开的一个实施方式,获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态,包括:实时获取车辆的加速度值和方向盘扭矩值;将加速度值的绝对值与加速度阈值进行比较,以及将方向盘扭矩值与扭矩阈值进行比较;响应于加速度值的绝对值大于加速度阈值和/或响应于方向盘扭矩值大于扭矩阈值,确定车辆的行驶状态为异常状态。According to an embodiment of the present disclosure, acquiring the driving information of the vehicle and judging whether the vehicle is in an abnormal state based on the driving information includes: acquiring the acceleration value and steering wheel torque value of the vehicle in real time; comparing the absolute value of the acceleration value with the acceleration threshold , and comparing the steering wheel torque value with the torque threshold value; in response to the absolute value of the acceleration value being greater than the acceleration threshold value and/or in response to the steering wheel torque value being greater than the torque threshold value, it is determined that the driving state of the vehicle is an abnormal state.

为达上述目的,本公开第二方面实施例提出了一种行车录像装置,包括:启动模块,用于在车辆启动时同步启动车载图像采集装置,通过车载图像采集装置对车辆的行驶过程进行视频录制;获取模块,用于获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态;判断模块,用于响应于行驶信息指示车辆出现异常状态,获取异常状态的发生时间;存储模块,用于从车载图像采集装置录制的候选视频集中,获取包括发生时间在内的目标视频片段,并按照目标存储方式对目标视频片段进行存储。In order to achieve the above purpose, the embodiment of the second aspect of the present disclosure proposes a driving video recording device, including: a starting module, which is used to start the vehicle-mounted image acquisition device synchronously when the vehicle is started, and video the driving process of the vehicle through the vehicle-mounted image acquisition device. Recording; the acquisition module is used to obtain the driving information of the vehicle, and based on the driving information, judges whether the vehicle has an abnormal state; the judgment module is used to respond to the driving information to indicate that the vehicle has an abnormal state, and obtain the occurrence time of the abnormal state; the storage module, The method is used to obtain target video clips including occurrence time from the candidate video set recorded by the vehicle-mounted image acquisition device, and store the target video clips according to the target storage method.

为达上述目的,本公开第三方面实施例提出了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以实现如本公开第一方面实施例所述的行车录像方法。To achieve the above purpose, the embodiment of the third aspect of the present disclosure provides an electronic device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the Instructions executed by at least one processor, the instructions are executed by the at least one processor to implement the driving video recording method according to the embodiment of the first aspect of the present disclosure.

通过实时监控车辆的驾驶状态,获取发生异常时刻的目标视频片段,并以目标存储方式存储起来,可以增加车辆发生异常时车载图像采集装置采集录像的有效性和准确性,并可以保障目标视频片段储存的安全性,避免由于目标视频片段被覆盖或损毁对车主造成损失。By monitoring the driving state of the vehicle in real time, obtaining the target video clip at the time of the abnormality, and storing it in the target storage mode, it can increase the effectiveness and accuracy of the video captured by the on-board image acquisition device when the vehicle is abnormal, and can guarantee the target video clip The safety of storage can avoid losses to the car owner due to the target video clip being covered or damaged.

附图说明Description of drawings

图1是本公开一个实施方式的一种行车录像方法的流程图;FIG. 1 is a flowchart of a driving video recording method according to an embodiment of the present disclosure;

图2是本公开一个实施方式的另一种行车录像方法的流程图;FIG. 2 is a flow chart of another driving video recording method according to an embodiment of the present disclosure;

图3是本公开一个实施方式的一种行车录像方法的图像采集装置的分布图;3 is a distribution diagram of an image acquisition device of a driving video recording method according to an embodiment of the present disclosure;

图4是本公开一个实施方式的另一种行车录像方法的流程图;FIG. 4 is a flow chart of another driving video recording method according to an embodiment of the present disclosure;

图5是本公开一个实施方式的一种行车录像方法的展示规则示意图;Fig. 5 is a schematic diagram of display rules of a driving video recording method according to an embodiment of the present disclosure;

图6是本公开一个实施方式的另一种行车录像方法的流程图;FIG. 6 is a flow chart of another driving video recording method according to an embodiment of the present disclosure;

图7为本公开提出的一种行车录像装置的框图;FIG. 7 is a block diagram of a driving video recording device proposed in the present disclosure;

图8为本公开提出的一种电子设备框图。FIG. 8 is a block diagram of an electronic device proposed in the present disclosure.

具体实施方式detailed description

下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

当前技术中,私家车的车载录像机的录像一般为设置在车辆前端的摄像头来录制的,只能记录车辆前方的景象。由于交通事故的复杂性,在发生事故时,会出现车辆的两侧、后方等的视野盲区,对事故的取证和判别造成影响。因此,需要在车辆的其他位置设置摄像头,以实现对车辆不同角度的监控,在获取到不同角度的监控视频后,还可以通过对不同角度的录像进行处理,生成更加容易分辩和分析的录像。In the current technology, the video recording of the vehicle-mounted video recorder of a private car is generally recorded by a camera arranged at the front of the vehicle, and can only record the scene in front of the vehicle. Due to the complexity of traffic accidents, when an accident occurs, there will be blind spots on the sides and rear of the vehicle, which will affect the evidence collection and judgment of the accident. Therefore, it is necessary to install cameras at other positions of the vehicle to monitor the vehicle from different angles. After obtaining the surveillance videos from different angles, the videos from different angles can be processed to generate videos that are easier to distinguish and analyze.

图1为本公开提出的一种行车录像方法的一种示例性实施方式的示意图,如图1所示,该行车录像方法包括以下步骤:FIG. 1 is a schematic diagram of an exemplary embodiment of a driving video recording method proposed in the present disclosure. As shown in FIG. 1 , the driving video recording method includes the following steps:

S101,在车辆启动时同步启动车载图像采集装置,通过车载图像采集装置对车辆的行驶过程进行视频录制。S101, synchronously start the on-vehicle image acquisition device when the vehicle is started, and perform video recording on the driving process of the vehicle through the on-vehicle image acquisition device.

在本公开实施例中,车载图像采集装置可为车载相机、车载录像机等。在车辆启动后,可通过车辆的处理器控制车载图像采集装置同步启动,并进入工作状态。In the embodiment of the present disclosure, the vehicle-mounted image acquisition device may be a vehicle-mounted camera, a vehicle-mounted video recorder, and the like. After the vehicle is started, the vehicle's processor can control the vehicle-mounted image acquisition device to start synchronously and enter the working state.

需要说明的是,车载图像采集装置为多个,根据车辆不同的录像需要,可安装在车辆的不同位置,举例来说可安装在车身两侧、两边的后视镜、车尾门等处。It should be noted that there are multiple vehicle-mounted image acquisition devices, which can be installed in different positions of the vehicle according to different recording needs of the vehicle.

为了获取更好的进行录像,需要根据安装位置调整车载图像采集装置的安装角度,以达到最优的录像获取效果。举例来说,可将前置摄像头安装在车辆前挡风处,前置摄像头的第一水平视场角120°,第一垂直视场角65.6°,这种角度可以使前置摄像头的拍摄效果达到最好。In order to obtain better video recording, it is necessary to adjust the installation angle of the vehicle-mounted image acquisition device according to the installation position, so as to achieve the optimal video recording effect. For example, the front camera can be installed at the front windshield of the vehicle. The first horizontal field of view of the front camera is 120°, and the first vertical field of view is 65.6°. This angle can improve the shooting effect of the front camera. achieve the best.

在本公开实施例中,车载图像采集装置采集的录像会循环覆盖,既在完成一个循环周期后,新生成的录像片段会覆盖最早的录像片段。由此,无需用户手动删除视频来保证车载图像采集装置的可用容量,还能防止由于容量占满而无法存储新的录像片段。需要说明的是,循环覆盖的周期可为提前设定好的,并可根据实际需要进行变化,此处不作任何限定。In the embodiment of the present disclosure, the videos collected by the vehicle-mounted image acquisition device will be cyclically covered, that is, after a cycle is completed, the newly generated video clips will cover the earliest video clips. Therefore, it is not necessary for the user to manually delete the video to ensure the available capacity of the vehicle-mounted image acquisition device, and it is also possible to prevent the inability to store new video clips due to the full capacity. It should be noted that the period covered by the cycle may be set in advance and may be changed according to actual needs, which is not limited herein.

需要说明的是,录像片段可为设定时间段内录制的录像片段。该设定时间段可根据实际需要进行设定,此处不作任何限定。It should be noted that the video clips may be video clips recorded within a set time period. The set time period may be set according to actual needs, and is not limited herein.

S102,获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态。S102, acquiring driving information of the vehicle, and based on the driving information, judging whether the vehicle is in an abnormal state.

需要说明的是,行驶信息可为多种,举例来说,可包括车辆的速度、加速度、发动机数据等。此处不作任何限定。It should be noted that the driving information may be of various kinds, for example, may include vehicle speed, acceleration, engine data, and the like. There is no limitation here.

在获取到驾驶信息后,可对驾驶信息进行分析,以判断车辆是否出现异常情况。举例来说,可通过获取车辆的加速度,并将车辆的加速度与加速度阈值进行比较,当当前加速度大于加速度阈值时,则可认为车辆在进行急加速或者急刹车的情况,在这种情况下可认为车辆出现异常情况。After the driving information is obtained, the driving information can be analyzed to determine whether there is any abnormality in the vehicle. For example, by obtaining the acceleration of the vehicle and comparing the acceleration of the vehicle with the acceleration threshold, when the current acceleration is greater than the acceleration threshold, it can be considered that the vehicle is undergoing sudden acceleration or sudden braking. In this case, the The vehicle is considered abnormal.

S103,响应于行驶信息指示车辆出现异常状态,获取异常状态的发生时间。S103. Obtain the occurrence time of the abnormal state in response to the driving information indicating that the vehicle has an abnormal state.

需要说明的是,车辆出现异常状态的原因可为不同,举例来说,车辆出现异常状态的原因可能为剐蹭、碰撞或者车辆自身的制动系统出现故障等。It should be noted that the reasons for the abnormal state of the vehicle may be different. For example, the reason for the abnormal state of the vehicle may be scratches, collisions, or failure of the braking system of the vehicle itself.

需要说明的是,由于车辆出现异常状态的原因不同,需要说明的是,该异常状态的发生时间可为一个异常时刻,也可为一段异常的时间段。需要说明的是,当异常状态的发生时间为一段异常的时间段时,需要对开始时刻和结束时刻进行记录,以方便根据开始时刻和结束时刻对候选视频基进行剪辑。It should be noted that because the reasons for the abnormal state of the vehicle are different, it should be noted that the occurrence time of the abnormal state can be an abnormal moment or an abnormal time period. It should be noted that when the occurrence time of the abnormal state is an abnormal time period, the start time and end time need to be recorded, so as to facilitate editing of the candidate video bases according to the start time and end time.

S104,从车载图像采集装置录制的候选视频集中,获取包括发生时间在内的目标视频片段,并按照目标存储方式对目标视频片段进行存储。S104. Obtain the target video segment including the occurrence time from the candidate video set recorded by the vehicle-mounted image acquisition device, and store the target video segment according to the target storage method.

由于车载图像采集装置采集的录像会循环覆盖,为了保障目标视频片段得以保存,不被破坏或覆盖,需要按照目标存储方式对目标视频片段进行存储。该目标存储方式可为多种,举例来说,可将目标视频片段存储在车载图像采集装置的前存储单元、上传到服务器的存储单元中等。此处不作任何限定,具体根据实际需要进行设定。Since the videos collected by the vehicle-mounted image acquisition device will be cyclically covered, in order to ensure that the target video clips are preserved and not damaged or overwritten, it is necessary to store the target video clips according to the target storage method. There are many ways to store the target. For example, the target video segment can be stored in the front storage unit of the vehicle-mounted image acquisition device, uploaded to the storage unit of the server, and so on. No limitation is made here, and it is specifically set according to actual needs.

在本公开实施例中,首先在车辆启动时同步启动车载图像采集装置,通过车载图像采集装置对车辆的行驶过程进行视频录制,然后获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态,而后响应于行驶信息指示车辆出现异常状态,获取异常状态的发生时间,最后从车载图像采集装置录制的候选视频集中,获取包括发送时间在内的目标视频片段,并按照目标存储方式对目标视频片段进行存储。由此,通过实时监控车辆的驾驶状态,获取发生异常时刻的目标视频片段,并以目标存储方式存储起来,可以增加车辆发生异常时车载图像采集装置采集录像的有效性和准确性,并可以保障目标视频片段储存的安全性,降低事故视频生成的成本,避免由于目标视频片段被覆盖或损毁对车主造成损失。In the embodiment of the present disclosure, firstly, when the vehicle is started, the on-board image acquisition device is started synchronously, and the vehicle's driving process is recorded through the on-board image acquisition device, and then the driving information of the vehicle is obtained, and based on the driving information, it is judged whether the vehicle is abnormal state, and then in response to the driving information indicating that the vehicle has an abnormal state, obtain the occurrence time of the abnormal state, and finally obtain the target video segment including the sending time from the candidate video set recorded by the vehicle-mounted image acquisition device, and store the target according to the target storage method. Video clips are stored. Thus, by monitoring the driving state of the vehicle in real time, obtaining the target video segment at the moment when the abnormality occurs, and storing it in a target storage mode, the effectiveness and accuracy of the video capture by the vehicle-mounted image acquisition device when the vehicle is abnormal can be increased, and it can be guaranteed. The security of the target video clip storage reduces the cost of accident video generation and avoids losses to the car owner due to the target video clip being covered or damaged.

可选地,按照目标存储方式对目标视频片段进行存储,可将生成的目标视频设置片段和/或全景视频从当前缓存单元,存入另一存储单元。需要说明的是,车载图像采集装置的缓存单元中存储的录像会循环覆盖,既在完成一个循环周期后,新生成的录像片段会覆盖最早的录像片段,而另一存储单元处于数据禁止删除状态,不会自动删除获取覆盖目标视频片段,从而可以更好的保存目标视频片段。由此,通过将目标视频片段和/或全景视频存入专门存储目标视频片段和/或全景视频的存储单元中,可以防止目标视频片段和/或全景视频被覆盖或损坏,并可在需要时调取使用,增加了目标视频片段和/或全景视频存储的安全性。Optionally, the target video segment is stored according to the target storage method, and the generated target video setting segment and/or panoramic video can be stored in another storage unit from the current cache unit. It should be noted that the videos stored in the cache unit of the vehicle-mounted image acquisition device will be cyclically overwritten, that is, after a cycle is completed, the newly generated video clips will cover the earliest video clips, and the other storage unit is in a state where the data is prohibited from being deleted. , will not automatically delete the overwritten target video segment, so that the target video segment can be better preserved. Thus, by storing the target video segment and/or the panoramic video in a storage unit dedicated to storing the target video segment and/or the panoramic video, it is possible to prevent the target video segment and/or the panoramic video from being covered or damaged, and to save the target video segment and/or the panoramic video when needed. Calling and using increases the security of target video clips and/or panoramic video storage.

可选地,按照目标存储方式对目标视频片段和/或全景视频进行存储,可将生成的目标视频片段和/或全景视频继续存储在当前存储单元中,并设置禁止删除标记信息。由此,通过对目标视频片段和/或全景视频设置禁止删除标记信息,可防止目标视频片段和/或全景视频被覆盖或删除,增加了目标视频片段和/或全景视频存储的安全性。Optionally, the target video segment and/or panoramic video is stored according to the target storage method, the generated target video segment and/or panoramic video can be continuously stored in the current storage unit, and the deletion prohibition flag information is set. Thus, by setting the deletion-prohibited flag information on the target video segment and/or the panoramic video, the target video segment and/or the panoramic video can be prevented from being overwritten or deleted, which increases the storage security of the target video segment and/or the panoramic video.

可选地,按照目标存储方式对目标视频片段和/或全景视频进行存储,可将生成的目标视频片段和/或全景视频与车辆的车辆标识关联,并上传至云端服务器进行云端存储。在需要调取目标视频片段和/或全景视频进行存储时,可通过向云端服务器发送调取请求,云端服务器在接收到调取请求后,将目标视频片段和/或全景视频下发给车辆进行处理。需要说明的是,调取请求需要包含异常状态发生时间以及车辆的标识,由此,服务器根据发生时间以及车辆的标识来确认车辆需要的目标视频片段和/或全景视频,从而完成下发的操作。Optionally, the target video segment and/or panoramic video is stored according to the target storage method, and the generated target video segment and/or panoramic video can be associated with the vehicle identification of the vehicle, and uploaded to the cloud server for cloud storage. When the target video segment and/or panoramic video needs to be retrieved for storage, the retrieval request can be sent to the cloud server, and the cloud server will send the target video segment and/or panoramic video to the vehicle after receiving the retrieval request. deal with. It should be noted that the call request needs to include the occurrence time of the abnormal state and the identification of the vehicle, so that the server can confirm the target video segment and/or panoramic video required by the vehicle according to the occurrence time and the identification of the vehicle, so as to complete the delivery operation .

上述实施例中,从车载图像采集装置录制的候选视频集中,获取包括发送时间在内的目标视频片段,还可通过图2进一步解释,该方法包括:In the above-mentioned embodiment, from the candidate video set recorded by the vehicle-mounted image acquisition device, the target video segment including the sending time is obtained, which can also be further explained by FIG. 2. The method includes:

S201,获取发生时间前后预设时间间隔的截取时间点。S201. Acquire interception time points at preset time intervals before and after the occurrence time.

可以理解的是,由于车辆出现异常状态的原因不同,异常状态的发生时间的数量和长度可为不同,因此,生成的目标视频片段的规则可为不同。举例来说,当发生时间为一个瞬间时间点或者几个间断的时间点时,需要选取瞬间时间点前后的设定时间间隔内的候选视频,并进行剪辑编辑,以生成目标视频片段;当发生时间为一个连续的时间段或者几个间断的时间段,需要将选取该视频片段的开始时刻和结束时刻分别向前和前后推迟设定时间,然后根据推迟后的开始时刻和结束时刻对候选视频进行剪辑编辑,从而生成目标视频片段。需要说明的是,上述设定时间间隔和设定时间可为提前设置好的,并可根据实际情况进行变更,此处不作任何限定。It can be understood that, due to different causes of the abnormal state of the vehicle, the number and length of occurrence time of the abnormal state may be different, therefore, the rules for generating the target video segment may be different. For example, when the occurrence time is an instant time point or several discontinuous time points, it is necessary to select candidate videos within the set time interval before and after the instant time point, and edit them to generate target video clips; The time is a continuous time period or several intermittent time periods. It is necessary to delay the start time and end time of the selected video segment forward and back to set the time respectively, and then select the candidate video according to the delayed start time and end time. Clip editing is performed to generate the target video segment. It should be noted that the above-mentioned set time interval and set time may be set in advance, and may be changed according to actual conditions, which are not limited herein.

S202,根据截取时间点对候选视频集进行截取,生成目标视频片段。S202. Intercept the candidate video set according to the interception time point to generate a target video segment.

可以理解的是,根据截取时间点对候选视频进行截取,可以更好的分析车辆发生异常状态前后的车辆行驶情况,可以为对异常状态的发生原因的分析和事故认责提供更完整的素材。It is understandable that the interception of candidate videos according to the interception time point can better analyze the driving conditions of the vehicle before and after the abnormal state occurs, and can provide more complete materials for the analysis of the cause of the abnormal state and the responsibility for the accident.

在本公开实施例中,首先获取发生时间前后预设时间间隔的截取时间点,然后根据截取时间点对候选视频集进行截取,生成目标视频片段。由此,通过对发生时间进行处理,截取发生时间前后时刻的候选视频集,生成目标视频片段,可以更好的为后续分析车辆异常状态和事故原因提供更完整的素材。In the embodiment of the present disclosure, the interception time points of the preset time interval before and after the occurrence time are first obtained, and then the candidate video sets are intercepted according to the interception time points to generate target video segments. Therefore, by processing the occurrence time, intercepting candidate video sets before and after the occurrence time, and generating target video clips, more complete materials can be better provided for subsequent analysis of vehicle abnormal states and accident causes.

在本公开实施例中,如图3所示,经过实验证明,可在车辆上设置四个摄像头,可达到最佳的录像效果。其中,前视摄像头,前置摄像头安装在车辆前挡风处,前置摄像头的第一水平视场角120°,第一垂直视场角65.6°;左视摄像头,左视摄像头安装在车辆的左后视镜上,前置摄像头的第二水平视场角200°,第二垂直视场角145°;右视摄像头,右视摄像头安装在车辆的右后视镜上,前置摄像头的第三水平视场角200°,第三垂直视场角145°;后视摄像头,后置摄像头安装在车辆的车辆尾门,后置摄像头的第四水平视场角120°,第四垂直视场角65.6°。由此,通过设置四个摄像头以及将其设置在最佳的角度,可以达到最佳的录像效果,从而可以提升获取目标视频片段的质量,以便于更好的对目标视频片段进行分析。In the embodiment of the present disclosure, as shown in FIG. 3 , experiments have proved that four cameras can be installed on the vehicle to achieve the best video recording effect. Among them, the front-view camera, the front-view camera is installed at the front windshield of the vehicle, the first horizontal field of view of the front-view camera is 120°, and the first vertical field of view is 65.6°; the left-view camera, the left-view camera is installed on the vehicle On the left rearview mirror, the second horizontal field of view of the front camera is 200°, and the second vertical field of view is 145°; the right-view camera, the right-view camera is installed on the right rearview mirror of the vehicle, and the first The third horizontal field of view is 200°, the third vertical field of view is 145°; the rear view camera, the rear camera is installed on the tailgate of the vehicle, the fourth horizontal field of view of the rear camera is 120°, the fourth vertical field of view Angle 65.6°. Therefore, by setting four cameras and setting them at optimal angles, the best video recording effect can be achieved, thereby improving the quality of acquired target video clips, so as to better analyze the target video clips.

上述实施例中,从车载图像采集装置录制的候选视频集中,获取包括发送时间在内的目标视频片段之后,还可通过图4进一步解释,该方法包括:In the above-mentioned embodiment, after obtaining the target video segment including the sending time from the candidate video set recorded by the vehicle-mounted image acquisition device, it can be further explained through Fig. 4, the method includes:

S401,针对于每个车载图像采集装置,确定车载图像采集装置在车辆上的目标安装位置,基于目标安装位置确定车载图像采集装置的目标视频片段在全景视频中的画面展示位置。S401, for each vehicle-mounted image acquisition device, determine the target installation position of the vehicle-mounted image acquisition device on the vehicle, and determine the screen display position of the target video segment of the vehicle-mounted image acquisition device in the panoramic video based on the target installation position.

在本公开实施例中,每个车载图像采集装置都可设有各自独特的目标设备标识,车辆的处理器可根据目标设备标识来确定车载图像采集装置。举例来说,车载图像采集装置A的设备目标标识为001,车载图像采集装置B的设备目标标识为002,车辆的处理器获取到的设备目标标识为002发送来的数据,则该数据为车载图像采集装置B发送来的。In the embodiment of the present disclosure, each vehicle-mounted image acquisition device may be provided with its own unique target device identification, and the processor of the vehicle may determine the vehicle-mounted image acquisition device according to the target device identification. For example, the device object identifier of vehicle-mounted image acquisition device A is 001, the device object identifier of vehicle-mounted image acquisition device B is 002, and the device object identifier obtained by the vehicle processor is the data sent by 002, then the data is vehicle-mounted Sent by image acquisition device B.

每个车载图像采集装置的位置都是与设备目标标识为映射关系,在确定设备目标标识后,同时可确定该车载图像采集装置及其位置。The position of each vehicle-mounted image acquisition device is in a mapping relationship with the equipment target identification. After the equipment target identification is determined, the vehicle-mounted image acquisition device and its position can be determined at the same time.

S402,对多个车载图像采集装置的目标视频片段,按照各自的画面展示位置进行拼接,以生成全景视频。S402. Splicing the target video clips of multiple vehicle-mounted image acquisition devices according to their respective screen display positions, so as to generate a panoramic video.

在本公开实施例中,在获取到多个车载图像采集装置的目标视频片段后,还可按照展示规则,将对应的车载图像采集装置获取的目标视频片段放置到对应的位置,以生成全景视频。举例来说,前视摄像头、左视摄像头、后视摄像头和右视摄像头采集的目标视频片段可按照如图5所示的展示规则来进行展示。In the embodiment of the present disclosure, after acquiring the target video segments of multiple vehicle-mounted image acquisition devices, the target video segments acquired by the corresponding vehicle-mounted image acquisition devices can also be placed in corresponding positions according to the display rules to generate a panoramic video . For example, the target video clips captured by the front-view camera, left-view camera, rear-view camera and right-view camera can be displayed according to the display rules shown in FIG. 5 .

需要说明的是,展示规则并不固定,多个车载图像采集装置的目标视频片段的展示位置可根据实际情况进行设定,此处不作任何限制。It should be noted that the display rules are not fixed, and the display positions of the target video clips of multiple vehicle-mounted image acquisition devices can be set according to the actual situation, and there is no limitation here.

进一步地,在获取到全景视频后,还需要根据多个车载图像采集装置的目标视频片段的时间进行校准,以保证全景视频在播放时,所有视频都为同步的,防止由于视频不同步,对观看人员造成误导。Further, after obtaining the panoramic video, it is also necessary to calibrate according to the time of the target video clips of multiple vehicle-mounted image acquisition devices, so as to ensure that when the panoramic video is played, all videos are synchronized, preventing the video from being out of sync. Viewers are misleading.

在本公开实施例中,首先针对于每个车载图像采集装置,确定车载图像采集装置在车辆上的目标安装位置,基于目标安装位置确定车载图像采集装置的目标视频片段在全景视频中的画面展示位置,然后对多个车载图像采集装置的目标视频片段,按照各自的画面展示位置进行拼接,以生成全景视频。由此,通过区分各个车载图像采集装置的目标视频片段,将目标视频片段拼接到对应的位置处,以生成全景视频,可以更加清晰的对车辆异常状态或事故原因进行分析,提高分析效率。In the embodiment of the present disclosure, firstly, for each vehicle-mounted image capture device, the target installation position of the vehicle-mounted image capture device on the vehicle is determined, and based on the target installation position, the screen display of the target video segment of the vehicle-mounted image capture device in the panoramic video is determined position, and then splicing the target video clips of multiple vehicle-mounted image acquisition devices according to their respective screen display positions to generate a panoramic video. Therefore, by distinguishing the target video clips of each vehicle-mounted image acquisition device and splicing the target video clips to the corresponding positions to generate a panoramic video, the abnormal state of the vehicle or the cause of the accident can be analyzed more clearly, and the analysis efficiency can be improved.

上述实施例中,获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态,还可通过图6进一步解释,该方法包括:In the above embodiment, the driving information of the vehicle is obtained, and based on the driving information, it is judged whether the vehicle is in an abnormal state, which can be further explained by referring to FIG. 6. The method includes:

S601,实时获取车辆的加速度值和方向盘扭矩值。S601, acquiring the acceleration value and steering wheel torque value of the vehicle in real time.

在本公开实施例中,可通过传感器获取车辆的加速度值和方向盘扭矩值。In the embodiment of the present disclosure, the acceleration value and the steering wheel torque value of the vehicle may be acquired through sensors.

S602,将加速度值的绝对值与加速度阈值进行比较,以及将方向盘扭矩值与扭矩阈值进行比较。S602. Compare the absolute value of the acceleration value with the acceleration threshold, and compare the steering wheel torque value with the torque threshold.

当车辆遇到交通状况时,驾驶员通常的反应为急加速、急减速或者急速变向等。当驾驶员的反应为急加速或急减速时,车辆的加速度值或减速度值会大大增加或减少,因此,可通过将加速度值的绝对值与加速度阈值进行比较来判断此时驾驶员是否在急加速或急减速。When the vehicle encounters a traffic situation, the driver's usual response is rapid acceleration, rapid deceleration, or rapid change of direction. When the driver's reaction is rapid acceleration or deceleration, the acceleration or deceleration value of the vehicle will increase or decrease greatly. Therefore, it can be judged whether the driver is in the Rapid acceleration or rapid deceleration.

进一步地,还可通过将方向盘扭矩值与扭矩阈值进行比较,来判断驾驶员是否在急速变向。Further, it can also be judged whether the driver is changing direction rapidly by comparing the steering wheel torque value with the torque threshold.

S603,响应于加速度值的绝对值大于加速度阈值和/或响应于方向盘扭矩值大于扭矩阈值,确定车辆的行驶状态为异常状态。S603, in response to the absolute value of the acceleration being greater than the acceleration threshold and/or in response to the steering wheel torque being greater than the torque threshold, determine that the driving state of the vehicle is an abnormal state.

在本公开实施例中,首先实时获取车辆的加速度值和方向盘扭矩值,然后将加速度值的绝对值与加速度阈值进行比较,以及将方向盘扭矩值与扭矩阈值进行比较,响应于加速度值的绝对值大于加速度阈值和/或响应于方向盘扭矩值大于扭矩阈值,确定车辆的行驶状态为异常状态。由此,通过获取车辆的驾驶参数,判断车辆是否出现异常状态,并记录发生时间,为后续图像采集装置生成目标视频片段提供基础。In the embodiment of the present disclosure, the acceleration value and the steering wheel torque value of the vehicle are first obtained in real time, and then the absolute value of the acceleration value is compared with the acceleration threshold value, and the steering wheel torque value is compared with the torque threshold value, and the response to the absolute value of the acceleration value is Greater than the acceleration threshold and/or in response to the steering wheel torque being greater than the torque threshold, it is determined that the driving state of the vehicle is an abnormal state. Thus, by acquiring the driving parameters of the vehicle, it is judged whether the vehicle has an abnormal state, and the occurrence time is recorded, which provides a basis for the subsequent image acquisition device to generate the target video clip.

与上述几种实施例提供的行车录像方法相对应,本公开的一个实施例还提供了一种行车录像装置,由于本公开实施例提供的行车录像装置与上述几种实施例提供的行车录像方法相对应,因此上述行车录像方法的实施方式也适用于本公开实施例提供的行车录像装置,在下述实施例中不再详细描述。Corresponding to the driving video recording method provided by the above several embodiments, an embodiment of the present disclosure also provides a driving video recording device, because the driving video recording device provided by the embodiment of the present disclosure is different from the driving video recording method provided by the above several embodiments Correspondingly, therefore, the above implementation of the driving video recording method is also applicable to the driving video recording device provided in the embodiments of the present disclosure, and will not be described in detail in the following embodiments.

图7为本公开提出的一种行车录像装置的示意图,如图7所示,该行车录像装置700,包括:启动模块710、获取模块720、判断模块730、存储模块740。FIG. 7 is a schematic diagram of a driving video recording device proposed in the present disclosure. As shown in FIG. 7 , the driving video recording device 700 includes: a startup module 710 , an acquisition module 720 , a judging module 730 , and a storage module 740 .

其中,启动模块710,用于在车辆启动时同步启动车载图像采集装置,通过车载图像采集装置对车辆的行驶过程进行视频录制;Wherein, the starting module 710 is used to synchronously start the vehicle-mounted image acquisition device when the vehicle is started, and perform video recording on the driving process of the vehicle through the vehicle-mounted image acquisition device;

获取模块720,用于获取车辆的行驶信息,并基于行驶信息,判断车辆是否出现异常状态;The obtaining module 720 is used to obtain the driving information of the vehicle, and based on the driving information, determine whether the vehicle is in an abnormal state;

判断模块730,判断模块,用于响应于行驶信息指示车辆出现异常状态,获取异常状态的发生时间;Judging module 730, a judging module, used to respond to the driving information indicating that the vehicle has an abnormal state, and obtain the occurrence time of the abnormal state;

存储模块740,存储模块,从车载图像采集装置录制的候选视频集中,获取包括发生时间在内的目标视频片段,并按照目标存储方式对目标视频片段进行存储。The storage module 740, the storage module, acquires the target video segment including the occurrence time from the candidate video set recorded by the vehicle-mounted image acquisition device, and stores the target video segment according to the target storage method.

在本公开的一个实施例中,存储模块740,还用于:获取发生时间前后预设时间间隔的截取时间点;根据截取时间点对候选视频集进行截取,生成目标视频片段。In an embodiment of the present disclosure, the storage module 740 is further configured to: acquire interception time points at preset time intervals before and after the occurrence time; intercept candidate video sets according to the interception time points to generate target video clips.

在本公开的一个实施例中,存储模块740,还用于:针对于每个车载图像采集装置,确定车载图像采集装置在车辆上的目标安装位置,基于目标安装位置确定车载图像采集装置的目标视频片段在全景视频中的画面展示位置;对多个车载图像采集装置的目标视频片段,按照各自的画面展示位置进行拼接,以生成全景视频。In one embodiment of the present disclosure, the storage module 740 is further configured to: for each vehicle-mounted image capture device, determine the target installation position of the vehicle-mounted image capture device on the vehicle, and determine the target of the vehicle-mounted image capture device based on the target installation position The picture display position of the video segment in the panoramic video; the target video segments of multiple vehicle-mounted image acquisition devices are spliced according to their respective picture display positions to generate a panoramic video.

在本公开的一个实施例中,存储模块740,还用于:从目标视频片段中提取车载图像采集装置的目标设备标识;基于目标设备标识,查询本地存储的设备标识与安装位置间的映射关系,确定车载图像采集装置对应的目标安装位置。In an embodiment of the present disclosure, the storage module 740 is further configured to: extract the target device identifier of the vehicle-mounted image acquisition device from the target video clip; based on the target device identifier, query the mapping relationship between the locally stored device identifier and the installation location , to determine the target installation location corresponding to the vehicle-mounted image acquisition device.

在本公开的一个实施例中,存储模块740,还用于:将生成的目标视频片段和/或全景视频从当前缓存单元,存入另一存储单元,其中,另一存储单元处于数据禁止删除状态。In one embodiment of the present disclosure, the storage module 740 is further configured to: store the generated target video segment and/or panoramic video from the current cache unit into another storage unit, wherein the other storage unit is in a data deletion prohibition state.

在本公开的一个实施例中,存储模块740,还用于:将生成的目标视频片段和/或全景视频继续存储在当前存储单元中,并设置禁止删除标记信息。In an embodiment of the present disclosure, the storage module 740 is further configured to: continue to store the generated target video segment and/or panoramic video in the current storage unit, and set the deletion prohibition flag information.

在本公开的一个实施例中,存储模块740,还用于:将生成的目标视频片段和/或全景视频与车辆的车辆标识关联,并上传至云端服务器进行云端存储。In an embodiment of the present disclosure, the storage module 740 is further configured to: associate the generated target video segment and/or panoramic video with the vehicle identification of the vehicle, and upload to the cloud server for cloud storage.

在本公开的一个实施例中,判断模块730,还用于:实时获取车辆的加速度值和方向盘扭矩值;将加速度值的绝对值与加速度阈值进行比较,以及将方向盘扭矩值与扭矩阈值进行比较;响应于加速度值的绝对值大于加速度阈值和/或响应于方向盘扭矩值大于扭矩阈值,确定车辆的行驶状态为异常状态。In an embodiment of the present disclosure, the judging module 730 is also used to: acquire the acceleration value and the steering wheel torque value of the vehicle in real time; compare the absolute value of the acceleration value with the acceleration threshold value, and compare the steering wheel torque value with the torque threshold value ; In response to the absolute value of the acceleration value being greater than the acceleration threshold and/or in response to the steering wheel torque being greater than the torque threshold, it is determined that the driving state of the vehicle is an abnormal state.

为了实现上述实施例,本公开实施例还提出一种电子设备800,如图8所示,该电子设备800包括:处理器801和处理器通信连接的存储器802,存储器802存储有可被至少一个处理器执行的指令,指令被至少一个处理器801执行,以实现如本公开第一方面实施例的行车录像方法。In order to realize the above-mentioned embodiments, an embodiment of the present disclosure also proposes an electronic device 800. As shown in FIG. Instructions executed by the processor, the instructions are executed by at least one processor 801 to implement the driving video recording method according to the embodiment of the first aspect of the present disclosure.

为了实现上述实施例,本公开实施例还提出一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机实现如本公开第一方面实施例的行车录像方法。In order to realize the above-mentioned embodiments, the embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the driving video recording method according to the embodiment of the first aspect of the present disclosure.

为了实现上述实施例,本公开实施例还提出一种计算机程序产品,包括计算机程序,计算机程序在被处理器执行时实现如本公开第一方面实施例的行车录像方法。In order to realize the above-mentioned embodiments, the embodiments of the present disclosure further propose a computer program product, including a computer program. When the computer program is executed by a processor, the driving video recording method according to the embodiment of the first aspect of the present disclosure is implemented.

在本公开的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。In describing the present disclosure, it is to be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Clockwise", "Counterclockwise", "Axial", The orientations or positional relationships indicated by "radial", "circumferential", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying the referred devices or elements Must be in a particular orientation, constructed, and operate in a particular orientation, and thus should not be construed as limiting on the present disclosure.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present disclosure, "plurality" means two or more, unless otherwise specifically defined.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present disclosure, and those skilled in the art can understand the above-mentioned embodiments within the scope of the present disclosure. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (10)

1. A driving video recording method is characterized by comprising the following steps:
synchronously starting a vehicle-mounted image acquisition device when a vehicle is started, and carrying out video recording on the running process of the vehicle through the vehicle-mounted image acquisition device;
acquiring the running information of the vehicle, and judging whether the vehicle is in an abnormal state or not based on the running information;
responding to the running information to indicate that the vehicle has an abnormal state, and acquiring the occurrence time of the abnormal state;
and acquiring a target video clip including the occurrence time from the candidate video set recorded by the vehicle-mounted image acquisition device, and storing the target video clip according to a target storage mode.
2. The method according to claim 1, wherein the obtaining a target video segment including the sending time from the candidate video set recorded by the vehicle-mounted image capturing device comprises:
acquiring interception time points of a preset time interval before and after the occurrence time;
and intercepting the candidate video set according to the interception time point to generate the target video segment.
3. The method according to claim 1, wherein the vehicle comprises a plurality of the vehicle-mounted image capturing devices, and wherein after acquiring the target video segment including the sending time from the candidate video set recorded by the vehicle-mounted image capturing devices, the method further comprises:
for each vehicle-mounted image acquisition device, determining a target installation position of the vehicle-mounted image acquisition device on the vehicle, and determining a picture display position of a target video clip of the vehicle-mounted image acquisition device in a panoramic video based on the target installation position;
and splicing the target video clips of the plurality of vehicle-mounted image acquisition devices according to the respective picture display positions to generate the panoramic video.
4. The method of claim 3, wherein the determining the target installation location of the onboard image capture device on the vehicle comprises:
extracting a target equipment identification of the vehicle-mounted image acquisition device from the target video clip;
and inquiring the mapping relation between the locally stored equipment identification and the installation position based on the target equipment identification, and determining the target installation position corresponding to the vehicle-mounted image acquisition device.
5. The method of claim 1, wherein storing the target video segment in a target storage manner comprises:
and storing the generated target video clip and/or the panoramic video from the current cache unit into another storage unit, wherein the other storage unit is in a data deletion forbidding state.
6. The method of claim 1, wherein storing the target video segment in a target storage manner comprises:
and continuously storing the generated target video clip and/or the panoramic video in a current storage unit, and setting the information of the deletion forbidding mark.
7. The method of claim 1, wherein storing the target video segment in a target storage manner comprises:
and associating the generated target video clip and/or the panoramic video with the vehicle identification of the vehicle, and uploading the target video clip and/or the panoramic video to a cloud server for cloud storage.
8. The method of claim 1, wherein the obtaining of the driving information of the vehicle and the determining whether the vehicle has an abnormal state based on the driving information comprises:
acquiring an acceleration value and a steering wheel torque value of the vehicle in real time;
comparing the absolute value of the acceleration value to an acceleration threshold value, and comparing the steering wheel torque value to a torque threshold value;
determining that the driving state of the vehicle is an abnormal state in response to the absolute value of the acceleration value being greater than the acceleration threshold value and/or in response to the steering wheel torque value being greater than the torque threshold value.
9. A driving video recording device is characterized in that the device comprises:
the starting module is used for synchronously starting the vehicle-mounted image acquisition device when the vehicle is started, and recording videos of the running process of the vehicle through the vehicle-mounted image acquisition device;
the acquisition module is used for acquiring the running information of the vehicle and judging whether the vehicle is in an abnormal state or not based on the running information;
the judging module is used for responding to the running information to indicate that the vehicle has an abnormal state and acquiring the occurrence time of the abnormal state;
and the storage module is used for acquiring target video clips including the occurrence time from the candidate video set recorded by the vehicle-mounted image acquisition device and storing the target video clips according to a target storage mode.
10. An electronic device comprising a memory, a processor;
wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the method according to any one of claims 1 to 8.
CN202210283777.8A 2022-03-21 2022-03-21 Driving video recording method and device Pending CN115471925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210283777.8A CN115471925A (en) 2022-03-21 2022-03-21 Driving video recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210283777.8A CN115471925A (en) 2022-03-21 2022-03-21 Driving video recording method and device

Publications (1)

Publication Number Publication Date
CN115471925A true CN115471925A (en) 2022-12-13

Family

ID=84363974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210283777.8A Pending CN115471925A (en) 2022-03-21 2022-03-21 Driving video recording method and device

Country Status (1)

Country Link
CN (1) CN115471925A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118651236A (en) * 2024-08-19 2024-09-17 赛格威科技有限公司 Event detection method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136812A (en) * 2011-11-25 2013-06-05 财团法人交大思源基金会 Intelligent driving recording and inspecting system
CN103813102A (en) * 2014-03-08 2014-05-21 哈尔滨工业大学 Vehicle-mounted variable-focus panorama monitoring system for detail imaging
CN110356344A (en) * 2019-07-24 2019-10-22 重庆长安汽车股份有限公司 A kind of vehicle-mounted event recording method, system and automobile applied to panorama system
CN111447431A (en) * 2020-04-02 2020-07-24 深圳普捷利科技有限公司 Naked eye 3D display method and system applied to vehicle-mounted all-around camera shooting
CN112550430A (en) * 2019-09-10 2021-03-26 耐世特汽车系统(苏州)有限公司 Vehicle stability control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136812A (en) * 2011-11-25 2013-06-05 财团法人交大思源基金会 Intelligent driving recording and inspecting system
CN103813102A (en) * 2014-03-08 2014-05-21 哈尔滨工业大学 Vehicle-mounted variable-focus panorama monitoring system for detail imaging
CN110356344A (en) * 2019-07-24 2019-10-22 重庆长安汽车股份有限公司 A kind of vehicle-mounted event recording method, system and automobile applied to panorama system
CN112550430A (en) * 2019-09-10 2021-03-26 耐世特汽车系统(苏州)有限公司 Vehicle stability control method and system
CN111447431A (en) * 2020-04-02 2020-07-24 深圳普捷利科技有限公司 Naked eye 3D display method and system applied to vehicle-mounted all-around camera shooting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118651236A (en) * 2024-08-19 2024-09-17 赛格威科技有限公司 Event detection method, device, equipment and medium
CN118651236B (en) * 2024-08-19 2024-11-01 赛格威科技有限公司 Event detection method, device, equipment and medium

Similar Documents

Publication Publication Date Title
KR101783982B1 (en) Integration Control System and Method Using Surveillance Camera for Vehicle
JP7218535B2 (en) Traffic violation vehicle identification system and server
CN106781666B (en) Control method and system for target parking space
US11425673B2 (en) Time synchronization for sensor data recording devices
WO2019146488A1 (en) Driving state monitoring device, driving state monitoring method, and driving state monitoring system
CN105046951A (en) Vehicle monitoring method based on car recorder and monitoring module
CN111243287A (en) A kind of avoidance method, device and automobile for special vehicle
CN104616525A (en) Method and device for obtaining vehicle parking position information
JP6988516B2 (en) Operating status monitoring device, operating status monitoring system, operating status monitoring method, program, operating status sensing device
JP2013001351A (en) On-vehicle electronic control device and related information acquisition device
CN115471925A (en) Driving video recording method and device
JP6992726B2 (en) Driving support device, driving support method, program
US20210027078A1 (en) Looking away determination device, looking away determination system, looking away determination method, and storage medium
WO2019203107A1 (en) Drive recorder, display control method, and program
WO2024260271A1 (en) On-board monitoring video splicing method and apparatus, and electronic device and storage medium
KR101580567B1 (en) Apparatus of recording event based image data
JP2023051997A (en) On-vehicle video recording device and control method thereof
CN206797383U (en) Track line skew warning test system
KR101546701B1 (en) Smart intergrated terminal device for vehicle drive,vehicle driving information collection system using smart intergrated terminal device and Method therefor
WO2017059593A1 (en) Method and system for realizing vehicle driving data recording based on vehicle driving recorder
CN110910532A (en) Driving state shooting method and device, vehicle and system
CN117841908A (en) Method and device for monitoring parking environment, vehicle and storage medium
CN114783180A (en) Vehicle collision accident recording method and system and vehicle
CN213182845U (en) Vehicle condition recording system
CN212305387U (en) Vehicle-mounted machine equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20221213

RJ01 Rejection of invention patent application after publication