Automobile data recorder control method and device

文档序号:736808 发布日期:2021-04-20 浏览:6次 中文

阅读说明:本技术 一种行车记录仪控制方法及装置 (Automobile data recorder control method and device ) 是由 不公告发明人 于 2020-12-28 设计创作,主要内容包括:本公开涉及行车记录仪技术领域,特别地涉及一种行车记录仪控制方法和系统,方法包括:预设检测条件表,所述检测条件表由本车的车速、本车与外车的距离、以及持续时长构成;当本车的实际车速、本车与外车的实际距离、以及实际持续时长与所述检测条件表中的条件匹配时,检测外车的状态;当外车处于正常状态时,所述行车记录仪对第二级视频进行处理而获取第一级视频;当外车处于异常状态时,所述行车记录仪直接获取第二级视频;其中,第一级视频所占的空间小于第二级视频所占的空间;通过根据本车的车速来确定是否检测外车状态,当检测到外车处于异常状态时,使行车记录仪记录高质量的第二级视频;进而达到了在保证视频质量的同时,减小视频大小。(The disclosure relates to the technical field of automobile data recorders, in particular to an automobile data recorder control method and system, wherein the method comprises the following steps: presetting a detection condition table, wherein the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration; detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table; when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video; when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video; wherein, the space occupied by the first level video is smaller than the space occupied by the second level video; determining whether an outside vehicle state is detected or not according to the vehicle speed of the vehicle, and enabling the automobile data recorder to record a high-quality second-level video when the outside vehicle is detected to be in an abnormal state; therefore, the video size is reduced while the video quality is ensured.)

1. A vehicle event data recorder control method is characterized by comprising the following steps:

presetting a detection condition table, wherein the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video;

when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

2. The method of claim 1, further comprising:

when the speed of the vehicle is greater than or equal to the detection speed threshold value, the vehicle-mounted ultrasonic radar is not started; wherein the detection speed threshold is a maximum vehicle speed in the detection condition table;

when the speed of the vehicle is smaller than the detection speed threshold value, starting the vehicle-mounted ultrasonic radar to acquire the distance between the vehicle and an external vehicle;

the vehicle-mounted ultrasonic radar comprises a front parking radar and a rear backing radar.

3. The method of claim 1, further comprising:

timing the normal state of the outer vehicle;

and when the normal state exceeds a first time length, the automobile data recorder extracts the second-level video to obtain a first-level video.

4. The method of claim 3, wherein the step of decimating the second level video comprises:

timing the duration of the normal state of the outer vehicle;

when the normal state exceeds a first time length, performing half extraction on the parameters of the second-level video to obtain a first-level video;

when the normal state exceeds a second time length, performing quarter extraction on the parameters of the second-level video to obtain a first-level video;

wherein the parameter comprises a frame rate and/or a pixel.

5. The method of claim 4, wherein the step of decimating the second level video further comprises:

detecting a timestamp of the second level video;

when the time stamp is at a segment time, the second video is not decimated.

6. The method of claim 1, wherein the step of detecting the status of the outside vehicle includes;

identifying an out-car in a last frame image in the second level video;

analyzing the second-level video frame by frame in a reverse order to obtain the pixel number and the central pixel coordinate of the outer vehicle in each frame of image;

and if the difference of the pixel quantity of the same outer vehicle between two frame images is larger than a threshold value and the distance of the central pixel coordinate is larger than the threshold value, judging that the outer vehicle is in an abnormal state.

7. The method of claim 1, wherein the step of the tachograph acquiring the second video comprises:

judging the relative direction of the abnormal outer vehicle and the vehicle;

enabling a camera in the direction of the abnormal outer vehicle to acquire a second video;

and enabling the cameras in other directions to acquire the first video.

8. The method of claim 2, further comprising:

when an external vehicle is in an abnormal state, acquiring a danger avoiding direction of the vehicle based on the vehicle-mounted ultrasonic radar, wherein the danger avoiding direction is the most spacious direction around the vehicle;

and when the distance is monitored to be smaller and the speed of the outer vehicle is not reduced, controlling the vehicle to move towards the danger avoiding direction.

9. A tachograph control apparatus, comprising:

the storage module is used for storing a preset detection condition table, and the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

the control module is used for detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

the control module is also used for processing the second-level video by the automobile data recorder to obtain a first-level video when the outer automobile is in a normal state;

the control module is also used for directly acquiring a second-level video by the automobile data recorder when the outer automobile is in an abnormal state;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

Technical Field

The disclosure relates to the technical field of automobile data recorders, and in particular relates to a method and a device for controlling an automobile data recorder.

Background

The existing drive recorder captures an image of an environment around a vehicle through a camera installed in the vehicle, and records the image of the environment and a speed of the vehicle when the vehicle is impacted due to a collision or sudden braking. When the vehicle has a drive recorder, it is possible to check the cause of an accident by analyzing the recorded information. The tachograph may also improve the driver's awareness of safe driving and provide recorded images of daily driving to help improve driving safety. Existing tachographs cyclically record images captured by a vehicle-mounted camera by means of a circular recording.

In some technical schemes, when the distance between the vehicle and the surrounding object is judged to be larger than the safe distance threshold value, the corresponding image data captured by the image capturing device is discarded without being written into the memory, so that the data stored in the memory is reduced, the system overhead is saved, the erasing times of the memory are correspondingly reduced for the card type memory, and the service life of the memory is prolonged. In the embodiment of the invention, when the distance between the vehicle and the surrounding object is judged to be less than or equal to the safe distance threshold value at the current moment, the image capture device is controlled to execute continuous shooting or video recording operation, and the obtained image data is stored.

However, when vehicles are queued to pass through the intersection and press the vehicle, the distance between the vehicles is often neglected, so that the problem of video discontinuity of videos recorded by the automobile data recorder is caused. In addition, the technical problem that the driving images with low frame number can cause difficulty in highly restoring the details of the fact is not solved, and even the technical problem that the driving images with low frame number can cause difficulty in highly restoring the details of the fact is not found at all.

Therefore, there is a need in the art for a tachograph control scheme to solve the above technical problems.

Disclosure of Invention

The utility model provides a vehicle event data recorder control scheme has reduced the size of the space that the video was occupied when guaranteeing the video quality of key video.

In a first aspect, the present disclosure provides a method for controlling a vehicle event data recorder, including:

presetting a detection condition table, wherein the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video;

when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

In some embodiments, further comprising:

when the speed of the vehicle is greater than or equal to a detection speed threshold value, not starting the vehicle-mounted ultrasonic radar, wherein the detection speed threshold value is the maximum vehicle speed in the detection condition table;

when the speed of the vehicle is smaller than the detection speed threshold value, starting the vehicle-mounted ultrasonic radar to acquire the distance between the vehicle and an external vehicle;

the vehicle-mounted ultrasonic radar comprises a front parking radar and a rear backing radar.

In some embodiments, further comprising:

timing the normal state of the outer vehicle;

and when the normal state exceeds a first time length, the automobile data recorder extracts the second-level video to obtain a first-level video.

In some embodiments, the step of decimating the second level video comprises:

timing the duration of the normal state of the outer vehicle;

when the normal state exceeds a first time length, performing half extraction on the parameters of the second-level video to obtain a first-level video;

when the normal state exceeds a second time length, performing quarter extraction on the parameters of the second-level video to obtain a first-level video;

wherein the parameter comprises a frame rate and/or a pixel.

In some embodiments, the step of decimating the second level video further comprises:

detecting a timestamp of the second level video;

when the time stamp is at a segment time, the second video is not decimated.

In some embodiments, the step of detecting a state of the outside vehicle includes;

identifying an out-car in a last frame image in the second level video;

analyzing the second-level video frame by frame in a reverse order to obtain the pixel number and the central pixel coordinate of the outer vehicle in each frame of image;

and if the difference of the pixel quantity of the same outer vehicle between two frame images is larger than a threshold value and the distance of the central pixel coordinate is larger than the threshold value, judging that the outer vehicle is in an abnormal state.

In some embodiments, the step of acquiring the second video by the automobile data recorder comprises:

judging the relative direction of the abnormal outer vehicle and the vehicle;

enabling a camera in the direction of the abnormal outer vehicle to acquire a second video;

and enabling the cameras in other directions to acquire the first video.

In some embodiments, the method further comprises:

when an external vehicle is in an abnormal state, acquiring a danger avoiding direction of the vehicle based on the vehicle-mounted ultrasonic radar, wherein the danger avoiding direction is the most spacious direction around the vehicle;

and when the distance is monitored to be smaller and the speed of the outer vehicle is not reduced, controlling the vehicle to move towards the danger avoiding direction.

In a second aspect, the present disclosure provides a tachograph control apparatus comprising:

the storage module is used for storing a preset detection condition table, and the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

the control module is used for detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

the control module is also used for processing the second-level video by the automobile data recorder to obtain a first-level video when the outer automobile is in a normal state;

the control module is also used for directly acquiring a second-level video by the automobile data recorder when the outer automobile is in an abnormal state;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

According to the automobile data recorder control scheme, a detection condition table is preset, and the detection condition table is composed of the speed of a vehicle, the distance between the vehicle and an external vehicle and duration; detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table; when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video; when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video; wherein, the space occupied by the first level video is smaller than the space occupied by the second level video; therefore, whether an outside vehicle state is detected or not is determined according to the vehicle speed of the vehicle, and when the outside vehicle is detected to be in an abnormal state, the automobile data recorder is enabled to record a high-quality second-level video; and further, the technical effect of reducing the size of the video while ensuring the quality of the video is achieved.

Drawings

The present disclosure will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings:

fig. 1 is a schematic flow chart of a method for controlling a vehicle event data recorder according to an embodiment of the present disclosure;

fig. 2 is a schematic structural diagram of a tachograph control apparatus provided in an embodiment of the present disclosure.

In the drawings, like parts are designated with like reference numerals, and the drawings are not drawn to scale.

Detailed Description

In order to make those skilled in the art better understand the disclosure and how to implement the disclosure by applying technical means to solve the technical problems and achieve the corresponding technical effects, the technical solutions in the embodiments of the disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the disclosure, and it is obvious that the described embodiments are only partial embodiments of the disclosure, but not all embodiments. The embodiments and the features of the embodiments of the present disclosure can be combined with each other without conflict, and the formed technical solutions are all within the protection scope of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.

It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.

Example one

Fig. 1 is a schematic flow chart of a method for controlling a vehicle event data recorder according to an embodiment of the present disclosure. As shown in fig. 1, a method for controlling a driving recorder includes:

presetting a detection condition table, wherein the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video;

when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

The detection conditions are as follows:

speed of the vehicle (km/h) Distance (m) between the vehicle and the outside vehicle Duration(s)
Greater than 30 Do not judge Do not judge
Greater than 20 and equal to or less than 30 20 5
Greater than 10 and less than or equal to 20 15 4
Less than or equal to 10 10 3

In the embodiment, a detection condition table is preset, and the detection condition table is composed of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration; detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table; when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video; when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video; wherein, the space occupied by the first level video is smaller than the space occupied by the second level video; therefore, whether an outside vehicle state is detected or not is determined according to the vehicle speed of the vehicle, and when the outside vehicle is detected to be in an abnormal state, the automobile data recorder is enabled to record a high-quality second-level video; and further, the technical effect of reducing the size of the video while ensuring the quality of the video is achieved.

Example two

On the basis of the embodiment, when the speed of the vehicle is greater than or equal to the detection speed threshold value, the vehicle-mounted ultrasonic radar is not started, and the automobile data recorder processes the second-level video to obtain the first-level video; wherein the detection speed threshold is a maximum vehicle speed in the detection condition table;

when the speed of the vehicle is smaller than the detection speed threshold value, starting the vehicle-mounted ultrasonic radar to acquire the distance between the vehicle and an external vehicle;

the vehicle-mounted ultrasonic radar comprises a front parking radar and a rear backing radar.

According to the embodiment, the starting condition of the vehicle-mounted ultrasonic radar is limited through the speed, so that the distance between the vehicle and an external vehicle can be acquired by using a general front parking radar and a general rear backing radar, and the technical effect that an expensive microwave radar or laser radar is not needed is achieved.

EXAMPLE III

On the basis of the embodiment, the normal state of the outer vehicle is timed;

and when the normal state exceeds a first time length, the automobile data recorder extracts the second-level video to obtain a first-level video.

Wherein the step of extracting the second level video comprises:

timing the duration of the normal state of the outer vehicle;

when the normal state exceeds a first time length, performing half extraction on the parameters of the second-level video to obtain a first-level video;

when the normal state exceeds a second time length, performing quarter extraction on the parameters of the second-level video to obtain a first-level video;

wherein the parameter comprises a frame rate and/or a pixel.

Wherein the step of extracting the second level video further comprises:

detecting a timestamp of the second level video;

when the time stamp is at a segment time, the second video is not decimated.

In the embodiment, the first-level video is obtained by extracting the second-level video at the non-segmentation moment, so that the video size can be reduced while the continuity of the segmented video is ensured; the extraction ratio is controlled by the duration of the normal state, so that the video size can be further reduced.

Example four

On the basis of the above embodiment, the step of detecting the state of the outside vehicle includes;

identifying an out-car in a last frame image in the second level video;

analyzing the second-level video frame by frame in a reverse order to obtain the pixel number and the central pixel coordinate of the outer vehicle in each frame of image;

and if the difference of the pixel quantity of the same outer vehicle between two frame images is larger than a threshold value and the distance of the central pixel coordinate is larger than the threshold value, judging that the outer vehicle is in an abnormal state.

In this embodiment, the second-level video is analyzed frame by frame in the reverse order, so that the difference between the number of pixels of the same outside vehicle between adjacent frames and the distance between the central pixel coordinates can be compared, if both the difference between the number of pixels and the distance between the central pixel coordinates are greater than the threshold value, the outside vehicle is considered to be in an abnormal state, and at this time, the second-level video is not extracted, so that a high-quality video can be obtained, and a high-quality evidence is retained for a possible accident.

EXAMPLE five

On the basis of the above embodiment, the step of acquiring the second video by the automobile data recorder includes:

judging the relative direction of the abnormal outer vehicle and the vehicle;

enabling a camera in the direction of the abnormal outer vehicle to acquire a second video;

and enabling the cameras in other directions to acquire the first video.

Wherein the method further comprises:

when an external vehicle is in an abnormal state, acquiring a danger avoiding direction of the vehicle based on the vehicle-mounted ultrasonic radar, wherein the danger avoiding direction is the most spacious direction around the vehicle;

and when the distance is monitored to be smaller and the speed of the outer vehicle is not reduced, controlling the vehicle to move towards the danger avoiding direction.

In this embodiment, by causing the camera in the direction of the outside vehicle in the abnormal state to acquire the second video and causing the camera in the other direction to acquire the first video, the size of the video can be reduced while ensuring the video quality in the direction in which an accident is likely to occur.

In addition, when the external vehicle is judged to be in an abnormal state, the danger avoiding direction of the vehicle is obtained based on the vehicle-mounted ultrasonic radar, and when the distance is monitored to be smaller and the speed of the external vehicle is not reduced, the vehicle is controlled to move towards the danger avoiding direction, so that accidents between the vehicle and the external vehicle are avoided.

EXAMPLE six

Fig. 2 is a schematic structural diagram of a tachograph control apparatus provided in an embodiment of the present disclosure. As shown in fig. 2, a drive recorder control apparatus includes:

the storage module is used for storing a preset detection condition table, and the detection condition table consists of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration;

the control module is used for detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table;

the control module is also used for processing the second-level video by the automobile data recorder to obtain a first-level video when the outer automobile is in a normal state;

the control module is also used for directly acquiring a second-level video by the automobile data recorder when the outer automobile is in an abnormal state;

the space occupied by the first-level video is smaller than that occupied by the second-level video.

The detection conditions are as follows:

speed of the vehicle (km/h) Distance (m) between the vehicle and the outside vehicle Duration(s)
Greater than 30 Do not judge Do not judge
Greater than 20 and equal to or less than 30 20 5
Greater than 10 and less than or equal to 20 15 4
Less than or equal to 10 10 3

In the embodiment, a detection condition table is preset, and the detection condition table is composed of the speed of the vehicle, the distance between the vehicle and an external vehicle and the duration; detecting the state of the external vehicle when the actual speed of the vehicle, the actual distance between the vehicle and the external vehicle and the actual duration are matched with the conditions in the detection condition table; when the outer vehicle is in a normal state, the automobile data recorder processes the second-level video to obtain a first-level video; when the outer vehicle is in an abnormal state, the automobile data recorder directly acquires a second-level video; wherein, the space occupied by the first level video is smaller than the space occupied by the second level video; therefore, whether an outside vehicle state is detected or not is determined according to the vehicle speed of the vehicle, and when the outside vehicle is detected to be in an abnormal state, the automobile data recorder is enabled to record a high-quality second-level video; and further, the technical effect of reducing the size of the video while ensuring the quality of the video is achieved.

In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

It should be noted that, in the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element.

Although the embodiments disclosed in the present disclosure are described above, the above description is only for the convenience of understanding the present disclosure, and is not intended to limit the present disclosure. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:车况信息处理方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!