CN107948605B - Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium - Google Patents

Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium Download PDF

Info

Publication number
CN107948605B
CN107948605B CN201711309663.1A CN201711309663A CN107948605B CN 107948605 B CN107948605 B CN 107948605B CN 201711309663 A CN201711309663 A CN 201711309663A CN 107948605 B CN107948605 B CN 107948605B
Authority
CN
China
Prior art keywords
video data
video
storage
response level
video segment
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.)
Active
Application number
CN201711309663.1A
Other languages
Chinese (zh)
Other versions
CN107948605A (en
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.)
Hitachi Building Technology Guangzhou Co Ltd
Original Assignee
Hitachi Building Technology Guangzhou 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 Hitachi Building Technology Guangzhou Co Ltd filed Critical Hitachi Building Technology Guangzhou Co Ltd
Priority to CN201711309663.1A priority Critical patent/CN107948605B/en
Publication of CN107948605A publication Critical patent/CN107948605A/en
Application granted granted Critical
Publication of CN107948605B publication Critical patent/CN107948605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for storing vehicle-mounted monitoring video data. The method comprises the following steps: when video data obtained by a camera is stored, marking the video data as at least one video segment according to the response level of a scene in the video data; confirming a remote uploading and storing strategy of video data corresponding to each video segment based on the response level; uploading video data corresponding to the video segments according to the remote uploading storage strategy; and when the video segment triggers a preset storage state, deleting the video segment from the local storage. By the method, the important video clips can be automatically screened out and uploaded through different uploading strategies, so that the purposes of effectively controlling the uploading data volume and saving the flow rate charge are achieved.

Description

Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data storage, in particular to a method, a device, equipment and a storage medium for storing vehicle-mounted monitoring video data.
Background
In recent years, with the strengthening of the national traffic safety supervision, more and more video monitoring systems are used for monitoring the running conditions of vehicles in real time so as to effectively supervise the running conditions of the vehicles and the safety of personnel and property.
In an actual situation, when the video monitoring device stores the acquired video data, the video data are sequentially stored in real time according to time, and the storage thread sequentially stores the video data in the cache device into the storage device, that is, how much video data is acquired by the video monitoring device and how much video data is stored into the storage device.
In order to increase the time length for storing video data, there are two main methods in the prior art. Firstly, the capacity of a storage device is continuously increased, for example, a hardware storage owner is increased, but in certain specific environments, due to vehicle-mounted environmental factors, a traditional mechanical hard disk is easy to damage due to bumping, and SSD (Solid State Drives) is adopted for storage, so that the price is high, and the product cost is increased; secondly, the duration is increased by reducing the amount of data stored in the video data, and the resolution is reduced or the video data is compressed in a common method. Although the methods can improve the utilization rate of storage resources to a certain extent and increase the storage time of the video data, due to the limited capacity of the storage device, when the video data exceeds the capacity value, the data is deleted, and some important key data may be lost. In order to ensure that part of the locally stored critical data is not lost, the following two methods are generally adopted. Firstly, increase backup storage and backup, this needs to increase the cost input, and can't avoid receiving the destruction under the artificial destruction condition moreover, causes reliable evidence to lose. And secondly, uploading the video data in real time through a 3G (3rd-generation, third-generation mobile communication technology) wireless network and a 4G (4rd-generation, fourth-generation mobile communication technology) wireless network. However, the video data volume is large, so that the method not only causes the waste of network resources, but also causes the waste of funds.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for storing vehicle-mounted monitoring video data, which are used for automatically screening important video clips and uploading the important video clips through different uploading strategies, so that the aims of effectively controlling the uploading data volume and saving the flow rate charge are fulfilled.
In a first aspect, an embodiment of the present invention provides a method for storing vehicle-mounted monitoring video data, including:
when video data obtained by a camera is stored, marking the video data as at least one video segment according to the response level of a scene in the video data;
confirming a remote uploading and storing strategy of video data corresponding to each video segment based on the response level;
uploading video data corresponding to the video segments according to the remote uploading storage strategy;
and when the video segment triggers a preset storage state, deleting the video segment from the local storage.
In a second aspect, an apparatus for on-board surveillance video data storage, comprises:
the response grade marking module is used for marking the video data into at least one video segment according to the response grade of a scene in the video data when the video data obtained by the camera is stored;
the uploading storage strategy confirming module is used for confirming the remote uploading storage strategy of the video data corresponding to each video segment based on the response level;
the video data uploading module is used for uploading the video data corresponding to the video segment according to the remote uploading storage strategy;
and the local storage deleting module is used for deleting the video segment from the local storage when the video segment triggers the preset storage state.
In a third aspect, an embodiment of the present invention provides an apparatus, including:
one or more processors;
a memory for storing one or more programs;
the camera is used for collecting images;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for storing the vehicle-mounted monitoring video data according to the embodiment of the invention.
When video data obtained by a camera is saved, the video data is marked as at least one video segment according to the response level of a scene in the video data; confirming a remote uploading and storing strategy of video data corresponding to each video segment based on the response level; uploading video data corresponding to the video segments according to the remote uploading storage strategy; when the video segment triggers the preset storage state, the scheme of deleting the video segment from the local memory can automatically screen out the important video segment, and the important video segment is uploaded through different uploading strategies, so that the purposes of effectively controlling the uploading data volume and saving the flow rate charge are achieved.
Drawings
Fig. 1 is a flowchart of a method for storing vehicle-mounted monitoring video data according to an embodiment of the present invention;
fig. 2A is a flowchart of a method for storing vehicle-mounted monitoring video data according to a second embodiment of the present invention;
fig. 2B is a schematic diagram of an acknowledgement time for determining a response level according to a second embodiment of the present invention;
fig. 2C is a schematic diagram illustrating that new video data is written when the local storage does not reach the preset threshold according to the second embodiment of the present invention;
fig. 2D is a schematic diagram illustrating that new video data is written into the local storage when the local storage reaches a predetermined threshold according to the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for storing vehicle-mounted monitoring video data according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for storing vehicle-mounted monitoring video data according to an embodiment of the present invention. The embodiment can be suitable for the condition that video information is acquired through the camera and video data are uploaded to the cloud end through 3G and 4G wireless networks, the method can be executed by a vehicle-mounted device for monitoring video data storage, and the device can be realized in a software and/or hardware mode and is integrated in equipment.
The camera generally has basic functions of video shooting, transmission, static image capturing and the like, and is a device which acquires images through a lens, processes the images through a photosensitive component circuit and a control component in the camera and converts the images into digital signals which can be recognized by a computer. . The vehicle-mounted camera can shoot various angles, so that the internal information of the vehicle can be recorded, and the blind area condition of a reflector of a driver outside the vehicle can be shot; the automobile data recorder mainly shoots the front condition of the vehicle within the visual angle range of a driver, and can also be matched with a backing rearview system to record the backing process.
The method provided by the embodiment specifically comprises the following steps:
s110, when video data obtained by a camera is stored, marking the video data as at least one video segment according to the response level of a scene in the video data.
The video data refers to a continuous image sequence captured by a camera, the video data has high requirements on storage space and transmission channels, and even a small segment of video clip requires much more storage space than general character data. Video data is usually compression-encoded when it is managed, and here, the video data is preliminarily compressed video data. A scene in video data refers to a video segment composed of a series of shots with similar properties, the shots are a set of frames of the same batch of objects in the same environment, and a frame is a minimum visual unit constituting a video and is a static image. Temporally successive sequences of frames are composited together to form a motion video. The description of the frame can adopt the description method of the image, so the retrieval of the frame can adopt the retrieval method of the similar image. The response levels are different levels which are divided in advance, the different response levels are determined by different scenes, and the different response levels correspond to different uploading strategies.
Specifically, when the continuous video is stored in the local memory, whether scenes in the video data accord with scenes with preset response levels is detected, and if yes, video segments corresponding to the scenes in the video data are marked; if there is no matching response level, the video segment is marked as no response level.
And S120, confirming a remote uploading storage strategy of the video data corresponding to each video segment based on the response level.
The remote uploading refers to a process of transmitting video data through a cloud storage service. The provider of the cloud storage service can be a monitoring platform published by an official part and related to automobile data recorder video storage and extraction; or may be an online storage service, typically introduced by internet companies. The uploading storage strategy comprises a video data uploading time strategy and a video data uploading content strategy. The time strategy can be real-time uploading or uploading when a preset storage state is triggered. The upload content policy is a local processing mode preset before remote transmission, and the upload content policy can be as follows: first, a complete upload. The video data acquired by the camera is uploaded completely, i.e. 120 frames or 40 frames 24 frames per second (depending on the camera and settings on the camera). Second, secondary compression upload. Such as the h.264 video compression standard. I-frames, P-frames, B-frames are used to represent transmitted video pictures in the h.264 compression standard. The I frame, also called intra-frame coded frame, is an independent frame with all information, and can be independently decoded without referring to other images, and can be simply understood as a static picture. The first frame in a video sequence is always an I-frame because it is a key frame. P-frames, also called inter-frame predictive coded frames, require reference to a previous I-frame for encoding. The difference between the current frame picture and the previous frame (which may be an I frame or a P frame) is shown. When decoding, the difference defined by the frame is superimposed on the picture buffered before, and the final picture is generated. P-frames generally occupy fewer data bits than I-frames, but are less sensitive to transmission errors due to their complex dependencies on previous P-and I-reference frames. The B frame is also called bidirectional predictive coding frame, that is, the B frame records the difference between the current frame and the previous and next frames. That is, to decode a B frame, not only the previous buffer picture but also the decoded picture are acquired, and the final picture is acquired by superimposing the previous and subsequent pictures on the data of the current frame. The B frame compression rate is high, but the decoding performance is required to be high.
Specifically, the remote upload storage policy corresponding to each video segment is confirmed based on the setting of the response level in advance.
And S130, uploading the video data corresponding to the video segment according to the remote uploading storage strategy.
The video segment refers to marked video data, and is the first processing of the video data acquired by the camera. The video data corresponding to the video segment refers to the video segments detected to have certain scenes, the video segments are determined to have different response levels according to the scenes, and the duration and uploading strategy of the video segments are determined according to the different response levels.
Specifically, the video data corresponding to the video segment is uploaded according to the remote uploading storage strategy. The uploading may be in real time or at the time of triggering a preset storage state, and the uploading may be direct uploading of video information or secondary compression uploading.
And S140, deleting the video segment from the local memory when the video segment triggers a preset storage state.
The video segment refers to marked video data, and may be a video segment corresponding to different response levels or a video segment corresponding to no response level, but the video segment must be the video segment with the earliest storage time. The preset storage state refers to that the residual storage space of the local storage reaches a preset threshold value.
Specifically, when the remaining storage space of the local storage reaches a preset threshold, the video segment with the earliest storage time is deleted, and the minimum unit of deletion is the video segment.
According to the method for storing the vehicle-mounted monitoring video data, the important video segments are automatically screened out and uploaded through different uploading strategies, so that the purposes of effectively controlling the uploading data volume and saving the flow rate charge are achieved.
Example two
Fig. 2A is a flowchart of a method for storing vehicle-mounted monitoring video data according to a second embodiment of the present invention. The present embodiment is embodied on the basis of the above-described embodiments. In the first embodiment, the marking the video data as at least one video segment according to the response level of the scene in the video data when the video data obtained by the camera is saved includes: identifying scenes in video data through images when the video data obtained by a camera is stored; confirming the response grade of the scene according to a preset judgment model and recording the response grade and the confirmation time of the response grade; and marking a video segment in the video data based on the marking duration corresponding to the response level by taking the confirmation time as reference.
Further, when video data obtained by a camera is saved, a preset judgment model, a response level and an uploading and storing strategy are included before the video data is marked as at least one video segment according to the response level of a scene in the video data.
Further, when the video segment in the local storage and the video segment uploaded and stored are changed, the databases recording the data information of the video data are respectively updated.
Specifically, referring to fig. 2A, the method provided in this embodiment specifically includes:
s210, presetting a judgment model, responding to the grade and uploading a storage strategy.
The judgment model is the basis for judging the response level and uploading the storage strategy. The judgment model may include a state judgment model and an action judgment model. The state judgment model is used for judging whether the vehicle or the driver is in a certain state, such as whether the driver is in a fatigue driving state, whether the vehicle is in a reversing state, whether the vehicle is in a sudden braking state and the like. The action judgment model is used for judging whether certain actions occur in the video, such as whether pedestrians occur in the running process of the vehicle, whether the vehicle is collided, whether the vehicle is laterally turned and the like. The response levels are a first response level, a second response level and a third response level with the levels from high to low, each response level is triggered by different judgment models, and the same response level can correspond to a plurality of judgment models. Upload storage policy the upload storage policy includes an upload time policy and also includes an upload content policy. If the response level is the first response level, the uploading storage strategy is real-time uploading storage, and the uploading is complete and primarily compressed video data; if the response level is the second response level, the uploading storage strategy is uploading storage when the video segment triggers a preset storage state, and the uploaded video segment is also complete and primarily compressed video data; if the response level is the third response level, intercepting and uploading the video data with a set frame number for uploading and storing (secondary compression uploading mode) when the uploading and storing strategy is that the preset storage state is triggered by the video segment; and if the response level is no, the uploading storage strategy is not uploaded.
Specifically, the user associates the judgment model with the response level customization, so that the judgment model is associated with the response level. If the user does not customize, the association is carried out according to a default mode: if the collision and the rollover are defined as a first response level; defining the pedestrian appearing in the driving process as a second response level; define the hard braking state as a third response level, etc. If the response level is the first response level, the video data corresponding to the video segment is directly uploaded in real time; if the response level is the second response level, directly uploading the video data corresponding to the video segment when the preset storage state is triggered; if the response level is the third response level, the video data corresponding to the video segment is uploaded after secondary compression when the preset storage state is triggered; if the response level is no response level, the data is not uploaded.
S220, identifying scenes in the video data through images when the video data obtained by the camera is stored.
The image is a certain frame of video data obtained by a camera, the video data is a continuous image sequence which is composed of a group of continuous images, and the image itself has no structural information except the appearance sequence. Here, it is sufficient that the purpose of recognizing an image is achieved without any restriction on what kind of software or hardware is used for image recognition.
Specifically, when video data obtained by a camera is stored in a local memory, scenes in the video data are identified through image identification software or hardware.
And S230, confirming the response grade of the scene according to a preset judgment model and recording the response grade and the confirmation time of the response grade.
The confirmation time of the response level refers to that different response levels correspond to video segments with different lengths, and the time length is set by a user. If the user does not set the first response level by himself, the first response level is defaulted to confirm that the time is 10 minutes before the scene and 10 minutes after the scene; the second response level confirmation time is 5 minutes before the scene and 5 minutes after the scene; the third response level confirmation time is 3 minutes before the scene and 5 minutes after the scene.
Specifically, whether a certain scene trigger triggers a certain response grade is determined according to a preset judgment model; if a certain response level is not triggered, marking as a non-response level; if a certain response level is triggered, it is marked as corresponding. And confirming the confirmation time of the corresponding response grade after confirming the response grade.
And S240, marking a video segment in the video data based on the marking duration corresponding to the response level by taking the confirmation time as a reference.
Wherein, the video segment is composed of three parts: scene time, pre-scene time, post-scene time. The scene time is determined by the actual situation: if the motion is instant motion, the scene time is short, if rollover occurs, the scene time is rollover occurrence time, and the scene time of the instant motion is defaulted to be 1 minute under the condition that a user does not set the scene time; if the action is continuous, the scene time is long, and if the user backs the car, the whole car backing time is the scene time.
Specifically, different response levels correspond to different scene time, time before the scene and time after the scene, and according to preset settings, after the response level is confirmed through the scene, a video segment is marked in the video data based on the marking duration corresponding to the response level.
And S250, confirming the remote uploading and storing strategy of the video data corresponding to each video segment based on the response level.
And S260, uploading the video data corresponding to the video segment according to the remote uploading storage strategy.
And S270, deleting the video segment from the local memory when the video segment triggers a preset storage state.
And S280, when the video segment in the local memory and the video segment uploaded and stored are changed, respectively updating the database recording the data information of the video data.
The local storage is a memory device located at the user end, and is generally a memory card or a mobile digital hard disk, and the size of the memory can be selected by the user. The database may contain the following information: the number of uploaded first response level video segments, the number of uploaded second response level video segments, the number of uploaded third response level video segments, the number of locally-located first response level video segments, the number of locally-located second response level video segments, the number of locally-located third response level video segments, the number of locally-located non-response level video segments, a preset threshold value of a local memory, and the like.
Specifically, when the video segment in the local storage and the video segment uploaded and stored are changed, the databases recording the data information of the video data are respectively updated. If the residual storage space of the local storage reaches the preset threshold, locally deleting a video segment without a response level, and uploading a video segment with a first response level, subtracting 1 from the number of video segments without response levels in the database, adding 1 to the number of local video segments with the first response level, and adding 1 to the uploaded video segments with the first response level.
The method provided by the present embodiment is described in the following exemplary:
example one, a user vehicle encounters a collision, which is defined as a first response level. Specifically, referring to fig. 2B, the horizontal line in fig. 2B represents video data recorded successively in time from left to right. The device detects a collision scenario at time a, and by default: the collision scene is an instant scene, and the scene time (a1-a2 time period) is 1 minute, namely 1 minute from the time a 130 seconds before the time a to the time a 230 seconds after the time a; the first response level confirmation time is 10 minutes before the scene (a0-a1 period), and 10 minutes after the scene (a2-A3 period); the confirmation time of the response level of the collision event is 21 minutes, and the video segment of the 21 minutes is marked in the video data as the video segment corresponding to the time segment from a0 to A3.
Example two, the present example describes in detail an upload policy and deletion of video data from a local storage by distinguishing whether the local storage reaches a preset threshold. In order to distinguish locally stored data (which are video data subjected to primary compression) from uploaded data (which correspond to different uploading strategies and may be subjected to secondary compression), a video segment refers to marked video data, and is the first processing of the video data acquired by a camera, and corresponds to duration and response level; the video data refers to specific image information content contained in a video segment, is an object for uploading a policy action, and is data directly obtained by a camera.
When the local storage does not reach the preset threshold, referring to fig. 2C, point B0 in the figure represents the local storage preset threshold, segments B0-B1 represent the space in which the video data can be stored within the local storage preset threshold, the video data is written from point B1, the written new video data pushes the old video data to point B0, the hatched portion B2 in the figure is the old video data, and the dotted portion B3 is the newly written video data. If the video data corresponding to the B3 is the first response level, the video data corresponding to the B3 is directly uploaded in real time when the video is stored; and if the video data corresponding to the B3 is the second response level, the third response level or the no response level, directly storing the video data corresponding to the B3 into a local memory without uploading.
When the local storage reaches the preset threshold, referring to fig. 2D, point C0 in the drawing indicates the preset threshold of the local storage, segments C0-C1 indicate a space in the preset threshold of the local storage where video data can be stored, video data is written from point C1, written new video data pushes old video data to point C0, hatched portions C4 and C2 in the drawing indicate old video data (which may include a plurality of video segments), C3 indicates newly written video data, during the writing process of C3, the local storage reaches the preset threshold specifically, and at this time, video data corresponding to the video segment C4 is video data with the earliest writing time. If the video data corresponding to the C4 is the first response level or no response level, directly deleting the video data corresponding to the C4 without uploading; if the video data corresponding to the C4 is at the second response level, directly uploading the video data corresponding to the C4, and deleting the video data corresponding to the C4 after uploading; and if the video data corresponding to the C4 is the third response level, performing secondary compression on the video data corresponding to the C4, uploading the video data, selecting an I-frame uploading mode and the like, and deleting the video data corresponding to the C4 after uploading.
Whether the local memory reaches the preset threshold value or not, if the video segments stored into the local memory for 36 hours are in the non-response level, the video segments in the earliest stored non-response level for one hour are deleted each time the video segments in the non-response level for one hour are stored again. The specific time at which the video segment with no response level is continuously stored to trigger the operation can be freely set by the user, and the exemplified 36 hours are default values.
According to the method for storing the vehicle-mounted monitoring video data, the response level corresponding to the video information is judged through the preset judgment model, the response level and the uploading storage strategy, the video information corresponding to the video segment is processed according to the uploading strategy corresponding to the response level, meanwhile, the database for recording the data information of the video data is updated respectively, the important video segment is automatically screened out, and the important video segment is uploaded through different uploading strategies, so that the purposes of effectively controlling the uploading data volume and saving the flow rate charge are achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus for storing vehicle-mounted monitoring video data according to a third embodiment of the present invention. The device specifically includes: a response level marking module 31, an upload storage policy confirmation module 32, a video data upload module 33, and a local storage deletion module 34.
The response level marking module 31 is configured to mark, when video data obtained by a camera is stored, the video data as at least one video segment according to a response level of a scene in the video data; an upload storage policy confirmation module 32, configured to confirm a remote upload storage policy of the video data corresponding to each video segment based on the response level; the video data uploading module 33 is configured to upload video data corresponding to the video segment according to the remote uploading storage policy; a local storage deletion module 34 for deleting from local storage when the video segment triggers a predetermined storage state.
Wherein, the response level marked by the response level marking module 31 comprises a first response level, a second response level and a third response level with the levels from high to low; the remote uploading and storing strategy for confirming the video data corresponding to each video segment based on the response level comprises the following steps: if the response level is the first response level, the corresponding remote uploading storage strategy of the video segment is real-time uploading storage; if the response level is the second response level, uploading and storing the corresponding remote uploading storage strategy of the video segment when the preset storage state is triggered by the video segment; and if the response level is a third response level, intercepting video data with a set frame number for uploading and storing when the remote uploading storage policy of the video segment triggers a preset storage state for the video segment. The preset storage state is that the residual storage space of the local storage reaches a preset threshold value, and the video segment is the video segment with the earliest storage time.
According to the device for storing the vehicle-mounted monitoring video data, the important video segments are automatically screened out and uploaded through different uploading strategies, so that the purposes of effectively controlling the uploading data volume and saving the flow rate charge are achieved.
On the basis of the above embodiment, the response level marking module includes: the scene storage unit is used for identifying scenes in the video data through images when the video data obtained by the camera is stored; the response grade processing unit is used for confirming the response grade of the scene according to a preset judgment model and recording the response grade and the confirmation time of the response grade; and a video segment duration marking unit, configured to mark a video segment in the video data based on a marked duration corresponding to the response level with reference to the confirmation time.
On the basis of the above embodiment, the video processing device further includes a data updating module, configured to update the databases recording the data information of the video data when the video segment in the local storage and the video segment uploaded and stored are changed, respectively.
The device for area calibration provided by the embodiment can be used for executing the method for area calibration provided by any embodiment, and has corresponding functions and beneficial effects.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the apparatus includes a processor 40, a memory 41, an input device 42, a camera 43, and an output device 44; the number of processors 40 in the device may be one or more, and one processor 40 is taken as an example in fig. 4; the number of the cameras 43 in the device may be one or more, and one camera 43 is taken as an example in fig. 4; the processor 40, the memory 41, the input device 42, the camera 43 and the output device 44 in the apparatus may be connected by a bus or other means, which is exemplified in fig. 4.
The memory 41 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as the modules corresponding to a method of storing in-vehicle monitoring video data in the present embodiment (for example, the response level marking module 31, the upload storage policy confirmation module 32, the video data upload module 33, and the local storage deletion module 34 in an in-vehicle monitoring video data storage apparatus). The processor 40 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 41, namely, implements the above-mentioned method for storing vehicle monitoring video data.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
A camera 43 for acquiring images, embodied in the present embodiment as an onboard camera and/or a vehicle data recorder. The input device 42 is operable to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen, and may also include other devices that may be used for output.
The device provided by this embodiment of the present invention can execute the method for storing vehicle-mounted monitoring video data provided by any embodiment of the present invention, and has corresponding functions and advantages.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for storing vehicle-mounted surveillance video data, where the method includes:
when video data obtained by a camera is stored, marking the video data as at least one video segment according to the response level of a scene in the video data;
confirming a remote uploading and storing strategy of video data corresponding to each video segment based on the response level;
uploading video data corresponding to the video segments according to the remote uploading storage strategy;
and when the video segment triggers a preset storage state, deleting the video segment from the local storage.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the method for storing vehicle-mounted monitoring video data provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the device for storing vehicle-mounted monitoring video data, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (6)

1. A method for storing vehicle-mounted monitoring video data is characterized by comprising the following steps:
when video data obtained by a camera is stored, marking the video data as at least one video segment according to the response level of scenes in the video data, detecting whether the scenes in the video data accord with the scenes with preset response level, if so, marking the video segment corresponding to the scenes in the video data, and if not, marking the video segment without response level, comprising the following steps: identifying scenes in video data through images when the video data obtained by a camera is stored;
confirming the response grade of the scene according to a preset judgment model and recording the response grade and the confirmation time of the response grade;
marking a video segment in the video data based on the marking duration corresponding to the response level by taking the confirmation time as reference;
confirming a remote uploading and storing strategy of video data corresponding to each video segment based on the response level;
uploading video data corresponding to the video segments according to the remote uploading storage strategy;
deleting the video segment from a local memory when the video segment triggers a preset storage state;
wherein the response levels comprise a first response level, a second response level and a third response level with the levels from high to low;
the remote uploading and storing strategy for confirming the video data corresponding to each video segment based on the response level comprises the following steps:
if the response level is the first response level, the corresponding remote uploading storage strategy of the video segment is real-time uploading storage;
if the response level is the second response level, uploading and storing the corresponding remote uploading storage strategy of the video segment when the preset storage state is triggered by the video segment;
if the response level is a third response level, intercepting video data of a set frame number to be uploaded and stored when the remote uploading storage policy of the video segment triggers a preset storage state for the video segment;
the preset storage state is that the residual storage space of the local storage reaches a preset threshold value, and the video segment is the video segment with the earliest storage time.
2. The method of claim 1, further comprising:
and when the video segments in the local memory and the video segments uploaded and stored are changed, respectively updating the databases recording the data information of the video data.
3. An apparatus for on-board surveillance video data storage, comprising:
the response level marking module is used for marking the video data into at least one video segment according to the response level of the scene in the video data when the video data obtained by the camera is stored, detecting whether the scene in the video data accords with the scene with a preset response level, marking the video segment corresponding to the scene in the video data if the scene in the video data accords with the preset response level, and marking the video segment with no response level if the scene in the video data does not accord with the preset response level, and the response level marking module comprises:
the scene storage unit is used for identifying scenes in the video data through images when the video data obtained by the camera is stored;
the response grade processing unit is used for confirming the response grade of the scene according to a preset judgment model and recording the response grade and the confirmation time of the response grade;
a video segment duration marking unit, configured to mark a video segment in the video data based on a marked duration corresponding to the response level with reference to the confirmation time;
the uploading storage strategy confirming module is used for confirming the remote uploading storage strategy of the video data corresponding to each video segment based on the response level;
the video data uploading module is used for uploading the video data corresponding to the video segment according to the remote uploading storage strategy;
the local storage deleting module is used for deleting the video segment from the local storage when the video segment triggers a preset storage state;
the response grade marking module marks the response grade comprising a first response grade, a second response grade and a third response grade with the grade from high to low;
the remote uploading and storing strategy for confirming the video data corresponding to each video segment based on the response level comprises the following steps: if the response level is the first response level, the corresponding remote uploading storage strategy of the video segment is real-time uploading storage;
if the response level is the second response level, uploading and storing the corresponding remote uploading storage strategy of the video segment when the preset storage state is triggered by the video segment;
if the response level is a third response level, intercepting video data of a set frame number to be uploaded and stored when the remote uploading storage policy of the video segment triggers a preset storage state for the video segment;
the preset storage state is that the residual storage space of the local storage reaches a preset threshold value, and the video segment is the video segment with the earliest storage time.
4. The apparatus of claim 3, further comprising:
and the data updating module is used for respectively updating the database for recording the data information of the video data when the video segment in the local memory and the video segment uploaded and stored are changed.
5. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
the camera is used for collecting images;
when executed by the one or more processors, cause the one or more processors to implement the method for in-vehicle surveillance video data storage according to any of claims 1-2.
6. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method of on-board monitoring video data storage according to any one of claims 1-2.
CN201711309663.1A 2017-12-11 2017-12-11 Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium Active CN107948605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711309663.1A CN107948605B (en) 2017-12-11 2017-12-11 Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711309663.1A CN107948605B (en) 2017-12-11 2017-12-11 Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium

Publications (2)

Publication Number Publication Date
CN107948605A CN107948605A (en) 2018-04-20
CN107948605B true CN107948605B (en) 2020-09-08

Family

ID=61946521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711309663.1A Active CN107948605B (en) 2017-12-11 2017-12-11 Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium

Country Status (1)

Country Link
CN (1) CN107948605B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905595B (en) * 2018-06-20 2021-07-06 成都市喜爱科技有限公司 Shooting and playing method, device, equipment and medium
CN111400264A (en) * 2019-12-06 2020-07-10 杭州海康威视系统技术有限公司 Data management method and data storage system
CN111757037B (en) * 2020-06-19 2022-09-02 杭州海康威视数字技术股份有限公司 Video file reading and writing method and device
CN112073806A (en) * 2020-08-27 2020-12-11 厦门市美亚柏科信息股份有限公司 Image caching method and device, computer readable storage medium and electronic equipment
CN113395487A (en) * 2021-06-01 2021-09-14 平安科技(深圳)有限公司 Video data storage management method and device, computer equipment and storage medium
CN113656626B (en) * 2021-08-05 2023-10-10 广州市创乐信息技术有限公司 Image data storage method, device, computer equipment and storage medium
CN114500948A (en) * 2022-01-25 2022-05-13 重庆卡佐科技有限公司 Vehicle monitoring method, monitoring system and vehicle-mounted terminal
CN115604437A (en) * 2022-12-15 2023-01-13 合肥岭雁科技有限公司(Cn) Gateway data processing method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277517A (en) * 1999-06-12 2000-12-20 三星电子株式会社 Radio communication system using for video group transmission
CN102595205A (en) * 2011-01-03 2012-07-18 香港星巴香港有限公司 Interactive service system, interactive system and interactive method thereof
CN102800343A (en) * 2012-08-29 2012-11-28 青岛海信网络科技股份有限公司 Method and device for storing vehicle-mounted video
CN202957916U (en) * 2012-11-22 2013-05-29 周伟 Cloud security protection system of vehicle-mounted video
CN105530475A (en) * 2015-12-18 2016-04-27 深圳楼兰辉煌科技有限公司 Remote video monitoring data transmitting method and system
CN107067328A (en) * 2017-04-11 2017-08-18 武汉华创欣网科技有限公司 A kind of mobile phone shoots and uploads evidence-obtaining photograph or the vehicle insurance of video Claims Resolution integrated system
CN107197201A (en) * 2017-05-22 2017-09-22 成都亿盟恒信科技有限公司 A kind of Vehicular video based on video content analysis uploads control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9201842B2 (en) * 2006-03-16 2015-12-01 Smartdrive Systems, Inc. Vehicle event recorder systems and networks having integrated cellular wireless communications systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277517A (en) * 1999-06-12 2000-12-20 三星电子株式会社 Radio communication system using for video group transmission
CN102595205A (en) * 2011-01-03 2012-07-18 香港星巴香港有限公司 Interactive service system, interactive system and interactive method thereof
CN102800343A (en) * 2012-08-29 2012-11-28 青岛海信网络科技股份有限公司 Method and device for storing vehicle-mounted video
CN202957916U (en) * 2012-11-22 2013-05-29 周伟 Cloud security protection system of vehicle-mounted video
CN105530475A (en) * 2015-12-18 2016-04-27 深圳楼兰辉煌科技有限公司 Remote video monitoring data transmitting method and system
CN107067328A (en) * 2017-04-11 2017-08-18 武汉华创欣网科技有限公司 A kind of mobile phone shoots and uploads evidence-obtaining photograph or the vehicle insurance of video Claims Resolution integrated system
CN107197201A (en) * 2017-05-22 2017-09-22 成都亿盟恒信科技有限公司 A kind of Vehicular video based on video content analysis uploads control method

Also Published As

Publication number Publication date
CN107948605A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107948605B (en) Method, device and equipment for storing vehicle-mounted monitoring video data and storage medium
CN110312057B (en) Intelligent video processing device
WO2016150700A1 (en) Apparatus and method for recording data associated with a vehicle
TWI521473B (en) Device, method for image analysis and computer-readable medium
CN110610610A (en) Vehicle access management method and device and storage medium
EP3975133A1 (en) Processing of images captured by vehicle mounted cameras
CN116248836A (en) Video transmission method, device and medium for remote driving
JP2006202000A (en) Method for monitoring vehicle, apparatus for recognizing particular character pattern, and vehicle monitoring system
CN114666591A (en) Method and system for generating a stream of image frames
KR102015084B1 (en) syntax-based method of detecting fence-climbing objects in compressed video
CN110647658A (en) Vehicle-mounted image feature automatic identification method and system based on cloud computing
CN114550342B (en) Unmanned vehicle accident responsibility judgment method and device based on black box and electronic equipment
CN115022650A (en) Video processing method of automobile data recorder and automobile data recorder
CN113628447B (en) High beam light starting detection method, device, equipment and system
KR20190074900A (en) syntax-based method of providing object tracking in compressed video
CN112291538A (en) Video monitoring data storage method and device
CN114915774A (en) Production process detection system and detection method
US20230230386A1 (en) Automobile video capture and processing
CN116506664B (en) Video code stream generation method and device, electronic equipment and medium
CN112382101B (en) Parking space management method and device, computer equipment and storage medium
CN116668832A (en) Camera fusion method, device, equipment and storage medium
CN115861624B (en) Method, device, equipment and storage medium for detecting occlusion of camera
CN114708542B (en) Image processing method, image processing apparatus, and computer-readable storage medium
EP3958566A1 (en) Wearable camera and a method for encoding video captured by the wearable camera
EP3989587A1 (en) Image processing device and method of pre-processing images of a video stream before encoding

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
GR01 Patent grant
GR01 Patent grant