CN111311785A - Vehicle-mounted video storage method and device, control equipment and storage medium - Google Patents

Vehicle-mounted video storage method and device, control equipment and storage medium Download PDF

Info

Publication number
CN111311785A
CN111311785A CN202010150721.6A CN202010150721A CN111311785A CN 111311785 A CN111311785 A CN 111311785A CN 202010150721 A CN202010150721 A CN 202010150721A CN 111311785 A CN111311785 A CN 111311785A
Authority
CN
China
Prior art keywords
vehicle
video
stationary
information
driving state
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
CN202010150721.6A
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010150721.6A priority Critical patent/CN111311785A/en
Publication of CN111311785A publication Critical patent/CN111311785A/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

Abstract

The application discloses a storage method, a storage device, control equipment and a storage medium of a vehicle-mounted video, which are used for saving the storage space of monitoring equipment and improving the utilization rate of the storage space of the monitoring equipment, and the method comprises the following steps: starting monitoring equipment of a vehicle for video acquisition, and caching video data acquired by the monitoring equipment; obtaining driving state information of the vehicle, and determining whether the vehicle is in a stable state or not according to the driving state information, wherein the driving state information comprises vehicle body plane inclination angle information of the vehicle; if the vehicle is in a steady state, extracting video frames from the video data according to a preset extraction frame rate, and storing a steady scene video record generated according to the extracted video frames; and if the vehicle is in a first non-stationary state, storing a first non-stationary scene video record generated according to the video data.

Description

Vehicle-mounted video storage method and device, control equipment and storage medium
Technical Field
The present application relates to the field of video storage technologies, and in particular, to a method and an apparatus for storing a vehicle-mounted video, a control device, and a storage medium.
Background
In order to facilitate travel, more and more people have purchased vehicles. At present, most vehicles are provided with monitoring equipment, and information in the driving process of the vehicles is recorded through the monitoring equipment to generate vehicle-mounted video files. When a traffic accident or a traffic dispute occurs, the responsible party can be judged by checking the vehicle-mounted video file, so that the vehicle-mounted video file is an effective evidence for solving the traffic accident or the traffic dispute.
However, in the driving process of the vehicle, the video information in the whole driving process is not useful, and if all the video information generated in the driving process is simply stored, a large amount of storage space may be wasted, so that a situation that a large enough memory is not available for storing the useful video information to be recorded occurs.
Therefore, the problem that storage space of monitoring equipment is wasted due to the fact that too much useless video information is recorded exists in the conventional vehicle-mounted video monitoring.
Disclosure of Invention
The embodiment of the application provides a storage method and device of a vehicle-mounted video, a control device and a storage medium, which are used for saving the storage space of a monitoring device and improving the utilization rate of the storage space of the monitoring device.
In one aspect, a method for storing a vehicle-mounted video is provided, which includes:
starting monitoring equipment of a vehicle for video acquisition, and caching video data acquired by the monitoring equipment;
obtaining driving state information of the vehicle, and determining whether the vehicle is in a stable state or not according to the driving state information, wherein the driving state information comprises vehicle body plane inclination angle information of the vehicle;
if the vehicle is in a steady state, extracting video frames from the video data according to a preset extraction frame rate, and storing a steady scene video record generated according to the extracted video frames;
and if the vehicle is in a first non-stationary state, storing a first non-stationary scene video record generated according to the video data.
In a possible design, if a gyroscope sensor is disposed in the vehicle, obtaining driving state information of the vehicle includes:
acquiring gyroscope data generated by the gyroscope sensor for detecting the driving state of the vehicle;
analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions;
and obtaining the driving state information of the vehicle according to the inclination information.
In one possible design, after determining that the vehicle is in a steady state, the method further includes:
acquiring the current running speed of the vehicle;
if the running speed is greater than the maximum speed limit value of the current running road, determining that the vehicle enters a second non-steady state from the steady state after the time length of the vehicle running at the constant speed of the running speed exceeds a preset time length;
and generating a second non-stationary scene video record according to the collected video data after the vehicle enters the second non-stationary state, and storing the second non-stationary scene video record.
In one possible design, the type of the first non-stationary state includes rapid acceleration, rapid deceleration, rapid turning, starting, and stopping, and after storing a first non-stationary scene video footage generated from the video data, the method further includes:
determining the type of the first non-steady state according to the driving state information;
classifying and marking the generated first non-stationary scene video recording according to the type;
and according to the classification mark, classifying and storing the first non-stationary scene video record.
In one possible design, extracting video frames from the video data at a preset extraction rate includes:
determining environment brightness information corresponding to the vehicle driving time period;
presetting a frame extracting rate according to the environment brightness information;
and extracting the video frames from the video data according to a preset extraction frame rate.
In one possible design, the preset frame rate corresponding to the time period when the ambient brightness is high is lower than the preset frame rate corresponding to the time period when the ambient brightness is low.
In a second aspect, a storage device for in-vehicle videos is provided, which includes:
the buffer module is used for starting monitoring equipment of the vehicle to collect video and buffer the video data collected by the monitoring equipment;
the obtaining module is used for obtaining driving state information of the vehicle and determining whether the vehicle is in a stable state or not according to the driving state information, wherein the driving state information comprises inclination angle information of a vehicle body plane of the vehicle;
the frame extracting module is used for extracting video frames from the video data according to a preset frame extracting rate when the vehicle is in a stable state, and storing a stable scene video record generated according to the extracted video frames;
and the storage module is used for storing a first non-stationary scene video record generated according to the video data when the vehicle is in a first non-stationary state.
In one possible design, the obtaining module is specifically configured to:
acquiring gyroscope data generated by the gyroscope sensor for detecting the driving state of the vehicle;
analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions;
and obtaining the driving state information of the vehicle according to the inclination information.
In one possible design, the apparatus further includes a comparison module configured to:
acquiring the current running speed of the vehicle;
if the running speed is greater than the maximum speed limit value of the current running road, determining that the vehicle enters a second non-steady state from the steady state after the time length of the vehicle running at the constant speed of the running speed exceeds a preset time length;
and generating a second non-stationary scene video record according to the collected video data after the vehicle enters the second non-stationary state, and storing the second non-stationary scene video record.
In one possible design, the apparatus further includes a determination module to:
determining the type of the first non-stationary state according to the driving state information, wherein the type of the first non-stationary state comprises rapid acceleration, rapid deceleration, rapid turning, starting and stopping;
classifying and marking the generated first non-stationary scene video recording according to the type;
and according to the classification mark, classifying and storing the first non-stationary scene video record.
In one possible design, the frame extraction module is specifically configured to:
determining environment brightness information corresponding to the vehicle driving time period;
presetting a frame extracting rate according to the environment brightness information;
and extracting the video frames from the video data according to a preset extraction frame rate.
In one possible design, the preset frame rate corresponding to the time period when the ambient brightness is high is lower than the preset frame rate corresponding to the time period when the ambient brightness is low.
In a third aspect, a control device is provided, the control device includes a memory, a processor and a computer program stored in the memory and operable on the processor, and the processor executes the computer program to realize the steps included in the storage method of the in-vehicle video in the aspects.
In a fourth aspect, a computer-readable storage medium is provided, which stores computer-executable instructions for causing a computer to perform the steps included in the method for storing an in-vehicle video in the above aspects.
In the embodiment of the application, the monitoring equipment of the vehicle can be started to carry out video acquisition, and the video data acquired by the monitoring equipment is cached; the driving state information of the vehicle can be further obtained, and whether the vehicle is in a stable state or not is determined according to the driving state information, wherein the driving state information comprises the inclination angle information of the vehicle body plane of the vehicle; if the vehicle is in a steady state, extracting video frames from the video data according to a preset extraction frame rate, and storing a steady scene video record generated according to the extracted video frames; and if the vehicle is in a first non-stationary state, storing a first non-stationary scene video record generated according to the video data.
That is to say, the steady state of the vehicle can be determined according to the detected steady state information in the driving process of the vehicle, and then the steady state scene videos produced when the vehicle is in the steady state and the non-steady state scene videos produced when the vehicle is in the non-steady state are stored by adopting different video storage modes according to different steady states of the vehicle. Therefore, the storage space of the monitoring equipment can be saved, the situation that no space is stored when the vehicle driving video scene really needs to be stored is avoided, the utilization rate of the storage space of the monitoring equipment is improved, and the flexibility of vehicle-mounted video storage is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application.
Fig. 1 is a flowchart of a storage method of a vehicle-mounted video provided in an embodiment of the present application;
fig. 2a is a schematic structural diagram of a storage device for a vehicle-mounted video according to an embodiment of the present application;
FIG. 2b is a schematic structural diagram of another storage device for vehicle-mounted video according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a control device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
As described above, not all the video information generated during the driving process of the vehicle is useful, for example, the video information generated during the driving process of the vehicle is unobstructed, and at this time, if the video information generated during the entire unobstructed driving process is recorded, the storage space of the monitoring device may be wasted.
In view of this, in the embodiment of the present application, a storage scheme for a vehicle-mounted video is provided, in which an obtained stationary state information of a vehicle in a driving process may be detected to determine a stationary state of the vehicle, and further, when the vehicle is in the stationary state, a part of video frames in the collected video data may be extracted, and a video record generated by the part of video frames may be stored, and when the vehicle is in a non-stationary state, all the collected video data may be generated into the video record for storage. Therefore, the storage space of the monitoring equipment can be saved, the situation that no space is stored when the vehicle driving video scene really needs to be stored is avoided, the utilization rate of the storage space of the monitoring equipment is improved, and the flexibility of vehicle-mounted video storage is improved.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. The method can be executed in sequence or in parallel according to the method shown in the embodiment or the figure when the method is executed in an actual processing procedure or a device.
Referring to fig. 1, a flowchart of a method for storing a vehicle-mounted video provided in an embodiment of the present application is shown, and a technical solution in the embodiment of the present application is described below with reference to the flowchart shown in fig. 1.
Step 101: and starting the monitoring equipment of the vehicle to acquire the video, and caching the video data acquired by the monitoring equipment.
In the embodiment of the present application, a vehicle is provided with a monitoring apparatus for comprehensively monitoring the situation around the vehicle and the running condition of the vehicle. For example, the monitoring device may be a plurality of cameras disposed around the vehicle body. After the vehicle is started, the monitoring equipment of the vehicle can be started, and then video data around the vehicle in the driving process can be collected through the camera of the monitoring equipment, and the collected video data is cached.
Step 102: and obtaining the steady state information of the vehicle, and determining whether the vehicle is in a steady state or not according to the steady state information, wherein the steady state information comprises the inclination angle information of the vehicle body plane of the vehicle.
In the embodiment of the application, the driving state information of the vehicle can be obtained, and whether the vehicle is in a stable state or not is determined according to the driving state information. Specifically, a gyroscope sensor can be arranged in the vehicle, and if the vehicle inclines or the current road condition jolts and other conditions occur in the driving process of the vehicle, the gyroscope sensor can detect the change of the driving state of the vehicle, generate gyroscope data, and then analyze the generated gyroscope data to obtain the driving state information of the vehicle.
The principle of the gyro sensor is that the direction of the rotation axis of a rotating object is not changed when the rotation axis is not influenced by an external force, so that the rotation axis of the gyro sensor is changed once the external force is generated. Therefore, the driving state of the vehicle can be sensitively detected through the gyroscope sensor, and the current driving state of the vehicle can be accurately determined according to the gyroscope data. Meanwhile, more accurate indication information can be provided for the running of the vehicle, and a user is helped to control the vehicle better.
Specifically, gyroscope data generated by a gyroscope sensor detecting the driving state of the vehicle can be acquired; further analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions; therefore, the running state information of the vehicle can be obtained according to the inclination information.
For example, the gyroscope in the present application is a six-axis gyroscope. The six-axis gyroscope can measure accelerations Xac, Yac and Zac in the directions of an X axis, a Y axis and a Z axis and angular velocities Xw, Yw and Zw. The X axis is assumed to be consistent with the direction of the vehicle head, and the Z axis is assumed to be consistent with the direction of gravity G. The acceleration Xac in the X-axis direction of the six-axis gyroscope can be obtained 1 time every 50ms, the average acceleration value Xacv of the obtained 20 Xac times is counted, and then the acceleration direction can be determined according to the positive and negative values of the Xacv value. If the absolute value of the Xacv is larger than the acceleration threshold value during acceleration, judging that the vehicle is subjected to rapid acceleration; and if the absolute value of the Xacv during deceleration is larger than the deceleration threshold value, judging that the vehicle is decelerated suddenly. Correspondingly, the angular speed Zw of the six-axis gyroscope in the Z-axis direction can be measured once every 50ms, the Zw within 2s is counted, and if the Zw within 2s continuously exceeds the preset turning angular speed upper and lower limit values, the vehicle is judged to turn sharply.
Further, since the gyro sensor is sensitive to detect, slight driving changes of the vehicle can be detected. In order to more accurately obtain the running state of the vehicle, when the running state of the vehicle is analyzed according to the gyroscope data generated by the gyroscope sensor, a gyroscope data change threshold value can be set, namely the running state of the vehicle corresponding to the gyroscope data in the change threshold value can be regarded as a stable state; when the change value of the gyroscope data exceeds the change threshold value, the driving state of the vehicle at the moment can be determined as a non-steady state.
In this application embodiment, one or more gyro sensors can be installed on the automobile body, for example, can be in any position on the automobile body such as locomotive, rear of a vehicle, tire, and then can carry out the integrated analysis to the gyro data that a plurality of gyro sensors produced that acquire, obtain more accurate vehicle driving state.
Step 103: and if the vehicle is in a stable state, extracting the video frames from the video data according to a preset extraction frame rate, and storing the stable scene video generated according to the extracted video frames.
In the embodiment of the present application, the decimation rate refers to a decimation ratio relative to the original video frame rate. For example, for an original video 24FPS, i.e., a video played at a rate of 24 frames per second, and a decimated video 12FPS, the frame rate is 50%. FPS refers to the number of frames transmitted per second of a picture, and colloquially refers to the number of pictures in a motion picture or video. Where F is the english word Frame, P is Per, and S is Second.
In a specific practical process, the frame extracting rate can be preset when the video data are collected, the frame extracting rate can be set after the vehicle is determined to be in a stable state, and different frame extracting rates can be set according to different stable states of the vehicle. For example, when the vehicle is in a steady state when the vehicle is running at a constant speed, the video frames in the video data collected by the monitoring device may be extracted at a 50% frame extraction rate. If the vehicle stops at the position where the vehicle is permitted to stop for more than a certain time, the vehicle does not shut down, and people on the vehicle can determine that the vehicle is in a stable state, under the condition, the video frames in the video data collected by the monitoring equipment can be extracted according to the frame extraction rate of 30%.
Further, after the video frames are extracted from the video data according to the preset extraction frame rate, the extracted video frames can be generated into the stable scene video. And storing the stable scene video in a storage space corresponding to the monitoring equipment so as to be called out for viewing when the monitoring video needs to be viewed subsequently. And when the vehicle is in a stable state, part of video frames can be extracted from the collected video data to generate a stable scene video, so that the memory occupied by the video data collected when the vehicle is in the stable state can be reduced, and the storage space of the monitoring equipment is saved.
Optionally, in this embodiment of the application, a preset frame rate may be determined according to environment brightness information corresponding to a time period in which the vehicle is running, and the frame rate is preset according to the environment brightness information, for example, when the environment brightness is high, the visibility is high, and when the environment brightness is low, the visibility is low, and in the time period with high visibility, because the probability of an accident occurring due to clear line of sight is lower than the probability of a story occurring in the time period with low visibility, when the frame rate is set, the frame rate set when the environment brightness is high may be lower than the frame rate with low environment brightness. For example, when the ambient brightness is high, the preset frame rate is 30%, and when the ambient brightness is low, the preset frame rate is 50%. Therefore, excessive useless videos are prevented from being stored, and the storage space of the monitoring equipment is saved.
Step 104: and if the vehicle is in a first non-stationary state, storing a first non-stationary scene video generated according to the video data.
In the embodiment of the application, when it is determined that the vehicle is in the first non-stationary state, the collected video data may not be subjected to frame extraction, the collected video data is generated into the first non-stationary scene video, and the generated non-stationary scene video is stored in the storage space of the monitoring device. That is to say, all video data generated in an unstable state can be generated into a first non-stable scene video, so that when a traffic accident occurs to a vehicle, a complete vehicle running video can be acquired from a storage space of the monitoring device, and the responsibility of the traffic accident can be identified according to the vehicle running video.
Optionally, in this embodiment of the application, the type of the first non-stationary state includes states of rapid acceleration, rapid deceleration, rapid turning, starting, stopping, and the like, and when the generated first non-stationary scene video is stored, the type of the first non-stationary state may be determined according to the driving state information of the vehicle obtained as described above. For example, as described in the foregoing example, assuming that the gyroscope is a six-axis gyroscope, the angular velocity Zw of the six-axis gyroscope in the Z-axis direction may be measured once every 50ms, the Zw within 2s is counted, and if the Zw within 2s continuously exceeds the preset turning angular velocity upper and lower limit values, it is determined that the vehicle makes a sharp turn, that is, the type of the first non-stationary state of the vehicle at this time is a sharp turn type. And then the generated first non-stationary scene video can be classified and marked according to the type of the first non-stationary state. Further, when the first non-stationary scene video is stored, the same type of first non-stationary scene video can be stored to the same position according to the classification mark carried in the first non-stationary scene video, so that the stored non-stationary scene video can be searched subsequently, and the searching efficiency is improved.
Further, the type of the first non-stationary state can be judged by combining the obtained vehicle driving state information and the first non-stationary scene video record produced in the first non-stationary state. For example, the video recording time length of the generated video recording vehicle from the turning start to the turning end can be analyzed, the speed of the vehicle during turning can be calculated according to the time length, and the data detected by the gyroscope sensor can be combined to determine whether the vehicle is in a sharp turning state. Therefore, the type of the first non-stationary state of the vehicle is judged through the video and the gyroscope data, the determined result can be more accurate, and the reliability of the judgment result is increased.
Optionally, in this embodiment of the application, when the vehicle is running at a constant speed exceeding the speed limit, unexpected dangers may be generated due to an excessively fast vehicle speed, in this case, the vehicle is still simply regarded as a steady state, and a part of video frames are extracted to generate a steady scene video for storage.
Therefore, in order to judge the forming state of the vehicle more accurately, after the vehicle is in a steady state, the current running speed of the vehicle can be obtained, the running speed of the vehicle is compared with the maximum speed limit of the current running road, and if the running speed of the vehicle is greater than the maximum speed limit and the vehicle runs at the constant speed for more than a preset time length, the vehicle can be determined to enter a second non-steady state from the steady state. And then, generating a second non-stationary scene video from video data acquired after the vehicle enters a second non-stationary state, and storing the non-stationary scene video in a storage space of the monitoring device.
Optionally, in this embodiment of the application, in order to facilitate searching and managing the videos, the first non-stationary scene video, the second non-stationary scene video, and the stationary scene video may be stored in different storage spaces of the monitoring device, respectively.
Therefore, by the method, the stable state and the non-stable state can be distinguished according to the driving state of the vehicle, and further, when in the stable state, part of video frames in the collected video data are extracted according to the preset frame extraction rate, the stable scene videos are generated and stored, when in the non-stable state, all the video data collected in the state are generated into the non-stable state videos to be stored, so that the storage space of the monitoring equipment can be saved, the situation that when the driving video scene of the vehicle which needs to be stored really occurs, no space is stored is avoided, and the flexibility of vehicle-mounted video storage is improved.
Based on the same inventive concept, the embodiment of the application provides a storage device for vehicle-mounted videos. The storage device of the vehicle-mounted video can be a hardware structure, a software module or a hardware structure and a software module. The storage device of the vehicle-mounted video can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 2a, the storage device for vehicle-mounted video in the embodiment of the present application includes a caching module 201, an obtaining module 202, a frame extracting module 203, and a storage module 204. Wherein:
the buffer module 201 is configured to start a monitoring device of a vehicle to perform video acquisition, and buffer video data acquired by the monitoring device;
the obtaining module 202 is configured to obtain driving state information of a vehicle, and determine whether the vehicle is in a stable state according to the driving state information, where the driving state information includes vehicle body plane inclination angle information of the vehicle;
the frame extracting module 203 is configured to extract video frames from the video data according to a preset frame extracting rate when the vehicle is in a steady state, and store a steady scene video record generated according to the extracted video frames;
the storage module 204 is configured to store a first non-stationary scene video record generated according to the video data when the vehicle is in a first non-stationary state.
In an optional implementation manner, the obtaining module 202 is specifically configured to:
acquiring gyroscope data generated by a gyroscope sensor detecting the driving state of a vehicle;
analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions;
and obtaining the driving state information of the vehicle according to the inclination information.
In an alternative embodiment, the storage device for vehicle-mounted video shown in fig. 2b further comprises a comparison module 205, wherein the comparison module 205 is configured to:
acquiring the current running speed of the vehicle;
if the running speed is greater than the maximum speed limit value of the current running road, determining that the vehicle enters a second non-stationary state from the stationary state after the time length of the vehicle running at the constant speed of the running speed exceeds the preset time length;
and generating a second non-stationary scene video record according to the collected video data of the vehicle in the second non-stationary state, and storing the second non-stationary scene video record.
In an alternative embodiment, the storage device for the in-vehicle video shown in fig. 2b further includes a determining module 206, and the determining module 206 is configured to:
determining the type of a first non-stationary state according to the driving state information, wherein the type of the first non-stationary state comprises rapid acceleration, rapid deceleration, rapid turning, starting and stopping;
classifying and marking the generated first non-stationary scene video recording according to the type;
and classifying and storing the first non-stationary scene video record according to the classification mark.
In an optional implementation manner, the frame extracting module 203 is specifically configured to:
determining environment brightness information corresponding to a vehicle driving time period;
presetting a frame extraction rate according to the ambient brightness information;
and extracting the video frames from the video data according to a preset extraction frame rate.
In an optional implementation manner, the preset frame rate corresponding to the time period with high ambient brightness is lower than the preset frame rate corresponding to the time period with low ambient brightness.
All relevant contents of each step related to the foregoing embodiment of the method for storing a vehicle-mounted video may be cited to the functional description of the functional module corresponding to the storage device for a vehicle-mounted video in the embodiment of the present application, and are not described herein again.
The division of the modules in the embodiments of the present application is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the same inventive concept, the embodiment of the present application provides a control device, which may be a hardware structure, a software module, or a hardware structure plus a software module. The control device may be implemented by a system-on-chip, which may be constituted by a chip, or may comprise a chip and other discrete components. Referring to fig. 3, the control device in the embodiment of the present application includes at least one processor 301 and a memory 302 connected to the at least one processor, a specific connection medium between the processor 301 and the memory 302 is not limited in the embodiment of the present application, in fig. 3, the processor 301 and the memory 302 are connected through a bus 300 as an example, the bus 300 is represented by a thick line in fig. 3, and a connection manner between other components is only schematically illustrated and is not limited. The bus 300 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 3 for ease of illustration, but does not represent only one bus or type of bus.
In the embodiment of the present application, the memory 302 stores instructions executable by the at least one processor 301, and the at least one processor 301 may execute the steps included in the foregoing storage method of the in-vehicle video by executing the instructions stored in the memory 302.
The hardware structure of the processor 301 may be a CPU, a DSP, an ASIC, etc., and the hardware structure of the memory 302 may be a flash memory, a hard disk, a multimedia card, a card memory, a RAM, an SRAM, etc., which will not be described again.
The processor 301 is a control center of the control device, and may be connected to various parts of the entire control device through various interfaces and lines, and perform various functions and process data of the control device by executing or executing instructions stored in the memory 302 and calling data stored in the memory 302, thereby performing overall monitoring on the control device. Optionally, the processor 301 may include one or more processing units, and the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles an operating system, a user interface, application programs, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 301. In some embodiments, the processor 301 and the memory 302 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
Based on the same inventive concept, embodiments of the present application further provide a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the steps of the storage method of the in-vehicle video.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A storage method of vehicle-mounted videos is characterized by comprising the following steps:
starting monitoring equipment of a vehicle for video acquisition, and caching video data acquired by the monitoring equipment;
obtaining driving state information of the vehicle, and determining whether the vehicle is in a stable state or not according to the driving state information, wherein the driving state information comprises vehicle body plane inclination angle information of the vehicle;
if the vehicle is in a steady state, extracting video frames from the video data according to a preset extraction frame rate, and storing a steady scene video record generated according to the extracted video frames;
and if the vehicle is in a first non-stationary state, storing a first non-stationary scene video record generated according to the video data.
2. The method of claim 1, wherein the vehicle is provided with a gyroscope sensor, and obtaining driving state information of the vehicle comprises:
acquiring gyroscope data generated by the gyroscope sensor for detecting the driving state of the vehicle;
analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions;
and obtaining the driving state information of the vehicle according to the inclination information.
3. The method of claim 1 or 2, wherein after determining that the vehicle is in a steady state, the method further comprises:
acquiring the current running speed of the vehicle;
if the running speed is greater than the maximum speed limit value of the current running road, determining that the vehicle enters a second non-steady state from the steady state after the time length of the vehicle running at the constant speed of the running speed exceeds a preset time length;
and generating a second non-stationary scene video record according to the collected video data after the vehicle enters the second non-stationary state, and storing the second non-stationary scene video record.
4. The method of claim 1 or 2, wherein the type of the first non-stationary state comprises a sharp acceleration, a sharp deceleration, a sharp turn, a take-off, a stop, and after storing a first non-stationary scene video footage generated from the video data, the method further comprises:
determining the type of the first non-steady state according to the driving state information;
classifying and marking the generated first non-stationary scene video recording according to the type;
and according to the classification mark, classifying and storing the first non-stationary scene video record.
5. The method of claim 1 or 2, wherein extracting video frames from the video data at a predetermined extraction rate comprises:
determining environment brightness information corresponding to the vehicle driving time period;
presetting a frame extracting rate according to the environment brightness information;
and extracting the video frames from the video data according to a preset extraction frame rate.
6. The method as claimed in claim 5, wherein the period of high ambient brightness corresponds to a preset frame rate that is lower than the preset frame rate of the period of low ambient brightness.
7. A storage device for in-vehicle video, comprising:
the buffer module is used for starting monitoring equipment of the vehicle to collect video and buffer the video data collected by the monitoring equipment;
the obtaining module is used for obtaining driving state information of the vehicle and determining whether the vehicle is in a stable state or not according to the driving state information, wherein the driving state information comprises inclination angle information of a vehicle body plane of the vehicle;
the frame extracting module is used for extracting video frames from the video data according to a preset frame extracting rate when the vehicle is in a stable state, and storing a stable scene video record generated according to the extracted video frames;
and the storage module is used for storing a first non-stationary scene video record generated according to the video data when the vehicle is in a first non-stationary state.
8. The apparatus of claim 7, wherein the obtaining module is specifically configured to:
acquiring gyroscope data generated by the gyroscope sensor for detecting the driving state of the vehicle;
analyzing the gyroscope data, and determining the inclination information of at least one rotating shaft of the gyroscope sensor in the horizontal, vertical and front-back directions;
and obtaining the driving state information of the vehicle according to the inclination information.
9. A control device, comprising at least one processor and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1-6.
10. A storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the steps of the method according to any one of claims 1 to 6.
CN202010150721.6A 2020-03-06 2020-03-06 Vehicle-mounted video storage method and device, control equipment and storage medium Pending CN111311785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010150721.6A CN111311785A (en) 2020-03-06 2020-03-06 Vehicle-mounted video storage method and device, control equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010150721.6A CN111311785A (en) 2020-03-06 2020-03-06 Vehicle-mounted video storage method and device, control equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111311785A true CN111311785A (en) 2020-06-19

Family

ID=71145518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010150721.6A Pending CN111311785A (en) 2020-03-06 2020-03-06 Vehicle-mounted video storage method and device, control equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111311785A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150665A (en) * 2020-08-20 2020-12-29 深圳市麦谷科技有限公司 Time-lapse video recording method and device of automobile data recorder
CN114245167A (en) * 2021-11-08 2022-03-25 浙江大华技术股份有限公司 Video storage method and device and computer readable storage medium
CN115359587A (en) * 2022-10-21 2022-11-18 常州海图信息科技股份有限公司 Micro CVBS image acquisition system and method

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419728A (en) * 2007-10-24 2009-04-29 吴波 Complete video intelligent recording instrument for vehicle driving
CN101867793A (en) * 2010-05-14 2010-10-20 蔡晓东 Distribution type intelligent video searching system and using method
CN201682559U (en) * 2010-05-14 2010-12-22 蔡晓东 Intelligent video analyzing and monitoring pick-up camera
CN102572357A (en) * 2011-12-31 2012-07-11 中兴通讯股份有限公司 Video monitoring system front end memory method and video monitoring system
CN104410838A (en) * 2014-12-15 2015-03-11 成都鼎智汇科技有限公司 Distributed video monitoring system
CN104980640A (en) * 2014-04-02 2015-10-14 中兴通讯股份有限公司 Method and device for image photographing in driving
CN105282437A (en) * 2015-09-07 2016-01-27 深圳市灵动飞扬科技有限公司 Vehicle-mounted shooting method and system
WO2016150700A1 (en) * 2015-03-23 2016-09-29 Continental Automotive Gmbh Apparatus and method for recording data associated with a vehicle
CN106023346A (en) * 2016-07-06 2016-10-12 福州瑞芯微电子股份有限公司 Dynamic frame rate driving record system and vehicle speed judgment device
CN106412581A (en) * 2016-06-21 2017-02-15 浙江大华技术股份有限公司 Frame-rate control method and device
CN106469477A (en) * 2016-08-31 2017-03-01 北京汇通天下物联科技有限公司 A kind of driving event recording method and system
CN107360365A (en) * 2017-06-30 2017-11-17 盯盯拍(深圳)技术股份有限公司 Image pickup method, filming apparatus, terminal and computer-readable recording medium
CN108154686A (en) * 2018-02-12 2018-06-12 苏州清研微视电子科技有限公司 A kind of vehicle-mounted act of violating regulations capturing system
CN209441278U (en) * 2019-02-14 2019-09-27 宁夏聚安星信息服务有限公司 Anti- fatigue and anti-hypervelocity vehicle-mounted monitoring apparatus based on voice intervention
CN110493519A (en) * 2019-08-19 2019-11-22 惠州Tcl移动通信有限公司 Image-pickup method, computer-readable medium and the computer equipment of mobile terminal
CN110823181A (en) * 2018-07-23 2020-02-21 郑州宇通重工有限公司 Sanitation vehicle, vehicle body posture detection method thereof, vehicle body stabilization method and corresponding system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419728A (en) * 2007-10-24 2009-04-29 吴波 Complete video intelligent recording instrument for vehicle driving
CN101867793A (en) * 2010-05-14 2010-10-20 蔡晓东 Distribution type intelligent video searching system and using method
CN201682559U (en) * 2010-05-14 2010-12-22 蔡晓东 Intelligent video analyzing and monitoring pick-up camera
CN102572357A (en) * 2011-12-31 2012-07-11 中兴通讯股份有限公司 Video monitoring system front end memory method and video monitoring system
CN104980640A (en) * 2014-04-02 2015-10-14 中兴通讯股份有限公司 Method and device for image photographing in driving
CN104410838A (en) * 2014-12-15 2015-03-11 成都鼎智汇科技有限公司 Distributed video monitoring system
WO2016150700A1 (en) * 2015-03-23 2016-09-29 Continental Automotive Gmbh Apparatus and method for recording data associated with a vehicle
CN105282437A (en) * 2015-09-07 2016-01-27 深圳市灵动飞扬科技有限公司 Vehicle-mounted shooting method and system
CN106412581A (en) * 2016-06-21 2017-02-15 浙江大华技术股份有限公司 Frame-rate control method and device
CN106023346A (en) * 2016-07-06 2016-10-12 福州瑞芯微电子股份有限公司 Dynamic frame rate driving record system and vehicle speed judgment device
CN106469477A (en) * 2016-08-31 2017-03-01 北京汇通天下物联科技有限公司 A kind of driving event recording method and system
CN107360365A (en) * 2017-06-30 2017-11-17 盯盯拍(深圳)技术股份有限公司 Image pickup method, filming apparatus, terminal and computer-readable recording medium
CN108154686A (en) * 2018-02-12 2018-06-12 苏州清研微视电子科技有限公司 A kind of vehicle-mounted act of violating regulations capturing system
CN110823181A (en) * 2018-07-23 2020-02-21 郑州宇通重工有限公司 Sanitation vehicle, vehicle body posture detection method thereof, vehicle body stabilization method and corresponding system
CN209441278U (en) * 2019-02-14 2019-09-27 宁夏聚安星信息服务有限公司 Anti- fatigue and anti-hypervelocity vehicle-mounted monitoring apparatus based on voice intervention
CN110493519A (en) * 2019-08-19 2019-11-22 惠州Tcl移动通信有限公司 Image-pickup method, computer-readable medium and the computer equipment of mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150665A (en) * 2020-08-20 2020-12-29 深圳市麦谷科技有限公司 Time-lapse video recording method and device of automobile data recorder
CN114245167A (en) * 2021-11-08 2022-03-25 浙江大华技术股份有限公司 Video storage method and device and computer readable storage medium
CN115359587A (en) * 2022-10-21 2022-11-18 常州海图信息科技股份有限公司 Micro CVBS image acquisition system and method

Similar Documents

Publication Publication Date Title
EP3816004B1 (en) Vehicle collision detection method and vehicle control system
CN111311785A (en) Vehicle-mounted video storage method and device, control equipment and storage medium
JP5530484B2 (en) Operation status storage device
CN108466616B (en) Method for automatically identifying collision event, storage medium and vehicle-mounted terminal
CN104021601A (en) Car collision detection method and device based on three-shaft acceleration sensor
Orhan et al. Road hazard detection and sharing with multimodal sensor analysis on smartphones
JP7247790B2 (en) Driving environment monitoring device, driving environment monitoring system, and driving environment monitoring program
CN103886763B (en) One utilizes video tracking technology to realize hypervelocity illegal activities photographic method and system
JP5255182B2 (en) Operation status storage device
CN108062856B (en) Vehicle collision detection system and method based on vehicle-mounted OBD interface
CN108806019B (en) Driving record data processing method and device based on acceleration sensor
JP5743580B2 (en) Drive recorder device
KR102053268B1 (en) Vehicle black box and method for criteria of impact event using the same
KR100875302B1 (en) Vehicle black box device for storing accident data and its processing method
CN110407052B (en) Method and system for detecting violent movement behaviors in elevator
JP4675859B2 (en) Operation management device, operation management program, and operation management method
KR20180004196A (en) Image storage method and image storage device using the same
JP5765220B2 (en) Data analysis apparatus and method for drive recorder
WO2020085223A1 (en) Information processing method, information processing device, information processing program, and information processing system
CN111832352A (en) Non-motor vehicle monitoring method, device and equipment and storage medium
CN112637420B (en) Driving behavior recognition method and device and computer system
US11554789B2 (en) Driving assistant method, vehicle, and storage medium
CN111142720B (en) Vehicle-mounted machine screen rotation display method and device
JP5904323B2 (en) Vehicle safe driving management system
CN111071258A (en) Driving behavior detection method and device, electronic equipment and readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200619