CN107566768A - Video recording method and device - Google Patents
Video recording method and device Download PDFInfo
- Publication number
- CN107566768A CN107566768A CN201710614295.5A CN201710614295A CN107566768A CN 107566768 A CN107566768 A CN 107566768A CN 201710614295 A CN201710614295 A CN 201710614295A CN 107566768 A CN107566768 A CN 107566768A
- Authority
- CN
- China
- Prior art keywords
- video
- buffer unit
- memory cell
- recording
- fragment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Abstract
Present invention is disclosed a kind of video recording method and device, the described method comprises the following steps:Continue recorded video, and by the video cache of recording to buffer unit;Video segmentation in the buffer unit is preserved to memory cell.A kind of video recording method that the embodiment of the present invention is provided, the scheme of video segment is preserved using lasting recorded video, segmentation, avoid startup and pause repeatedly in recording process, therefore the problem of being not in the image in leakage record pause and the interval time section started, occurs the technical problem of leakage second when solving drive recorder recorded video, data are lost in the video frame losing for preventing from recording, it ensure that the integrality of the information of record, the loss that Lou second problem is brought to user is avoided, improves Consumer's Experience.
Description
Technical field
The present invention relates to technical field of image processing, especially relates to a kind of video recording method and device.
Background technology
Drive recorder is the electronic equipment of the relevent informations such as the image in a kind of registration of vehicle traveling way, its cardinal principle
Be the video of camera device intake vehicle periphery and acoustic information and recorded, its equivalent to automobile black box, in vehicle
When accident occurs, causes of incident can be objectively verified by the information of its record, carries out accident responsibility division.In addition, row
Car recorder can also carry out daily shooting and photograph to record.
Existing drive recorder, the method record information recorded using segmentation.As shown in figure 1, drive recorder is often recorded
System a period of time is then suspended once, after the video segment of this recording preserves, is again started up recording, so moves in circles, from
And obtain multiple video segments.However, this method for recording can leak record pause to the image in the interval time section started, that is, go out
Second phenomenon is now leaked, data are lost in the video frame losing for causing to record.Particularly then proceeded in memory space inadequate, it is necessary to clear up space
During video recording, this problem seems more serious.And the image of several seconds for leaking record is likely to be the key of verification accident, so as to give
User brings unnecessary loss.
The content of the invention
The main object of the present invention is a kind of video recording method of offer and device, it is intended to solves drive recorder recording and regards
Occurs the technical problem of leakage second during frequency.
To achieve these objectives, the embodiment of the present invention proposes a kind of video recording method, the described method comprises the following steps:
Continue recorded video, and by the video cache of recording to buffer unit;
Video segmentation in the buffer unit is preserved to memory cell.
Alternatively, the video segmentation by the buffer unit is preserved to the step of memory cell and included:
The fragment of the first duration before the video in the buffer unit is preserved to the storage list every preset time
Member;
Remove the fragment of preceding second duration of the video.
Alternatively, first duration is more than second duration.
Alternatively, first duration and the span of the difference of second duration are the 1-3 seconds.
Alternatively, first duration is equal with second duration.
Alternatively, the step of fragment of preceding second duration for removing the video includes:Crop the video
The fragment of preceding second duration and deletion.
Alternatively, the buffer unit has two, and the video cache by recording to the step of buffer unit includes:
The video that alternately caching is recorded between two buffer units, when a buffer unit is filled with, is substituted into another buffer unit;
The video segmentation by the buffer unit, which was preserved to the step of memory cell, to be included:When single to a caching
When the video of recording is cached in member, the video segment in another buffer unit is preserved to memory cell.
Alternatively, the video segment by another buffer unit is preserved to after the step of memory cell and also wrapped
Include:Another described buffer unit is emptied.
Alternatively, methods described is applied to drive recorder.
The embodiment of the present invention proposes a kind of video recording device simultaneously, and described device includes:
Video record module, for lasting recorded video, and by the video cache of recording to buffer unit;
Preserving module is segmented, for the video segmentation in the buffer unit to be preserved to memory cell.
Alternatively, the segmentation preserving module includes:
First storage unit, for every preset time by the fragment of the first duration before the video in the buffer unit
Preserve to the memory cell;
Clearing cell, for when first storage unit is by the piece of the first duration before the video in the buffer unit
Duan Baocun is to the fragment for after the memory cell, removing preceding second duration of the video.
Alternatively, the clearing cell is used for:Crop the fragment of preceding second duration of the video and deletion.
Alternatively, the buffer unit has two, and the video record module is used for:Between two buffer units alternately
The video recorded is cached, when a buffer unit is filled with, is substituted into another buffer unit;
The segmentation preserving module includes the second storage unit, and second storage unit is used for:When the video record
When module caches the video of recording into a buffer unit, the video segment in another buffer unit is preserved single to storage
Member.
Alternatively, the segmentation preserving module also includes emptying unit, and the unit that empties is used for:When the described second preservation
Unit preserves the video segment in a buffer unit to the memory cell, and the buffer unit is emptied.
The embodiment of the present invention also proposes a kind of drive recorder, and the drive recorder includes memory, processor and extremely
Few one is stored in the memory and is configured as by the application program of the computing device, the application program quilt
It is configured for performing aforementioned video method for recording.
A kind of video recording method that the embodiment of the present invention is provided, piece of video is preserved using lasting recorded video, segmentation
The scheme of section, avoids startup and pause repeatedly in recording process, therefore is not in when leaking record pause and the interval started
Between image in section the problem of, occur the technical problem of leakage second when solving drive recorder recorded video, prevent that records to regard
Data are lost in frequency frame losing, ensure that the integrality of the information of record, are avoided the loss that Lou second problem is brought to user, are improved use
Experience at family.
Brief description of the drawings
Fig. 1 is the principle schematic that drive recorder carries out video record in the prior art;
Fig. 2 is the flow chart of the embodiment of video recording method one of the present invention;
Fig. 3 is the principle schematic that middle rolling car of embodiment of the present invention recorder carries out video record;
Fig. 4 is the module diagram of the embodiment of video recording device one of the present invention;
Fig. 5 is the module diagram of the segmentation preserving module in Fig. 4;
Fig. 6 is the another module diagram of the segmentation preserving module in Fig. 4.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition
One or more other features, integer, step, operation, element, component and/or their groups.It should be understood that when we claim member
Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange
Taking leave "and/or" includes whole or any cell and all combinations of one or more associated list items.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art
The consistent meaning of meaning, and unless by specific definitions as here, idealization or the implication of overly formal otherwise will not be used
To explain.
The video recording method and device of the embodiment of the present invention, are mainly used in drive recorder, naturally it is also possible to apply
In other application scenarios for needing circulation recording, such as safety defense monitoring system, traffic surveillance and control system.
Reference picture 2, the embodiment of video recording method one of the present invention is proposed, the described method comprises the following steps:
S11, continue recorded video, and by the video cache of recording to buffer unit.
S12, the video segmentation in buffer unit preserved to memory cell.
In the embodiment of the present invention, video record includes two threads, respectively record a video thread and preservation thread, thread of recording a video
Continual video recording is until end position of recording a video, and preserving thread, then persistently segmentation preserves, and two threads are separate, same to luck
OK.Due to the continual progress of thread of recording a video, startup and pause that will not be repeatedly, therefore be not in that leakage record suspends with starting
The problem of image in interval time section.
Step S11 is video recording thread, and drive recorder is continual by camera device (camera, sound pick-up outfit etc.)
Recorded video, and by the video cache of recording to buffer unit.In process of caching, the video of preferred pair caching carries out timing mark
Know, Fast trim when being preserved in order to subsequent segment.
In certain embodiments, buffer unit only has one, drive recorder by the video of recording it is lasting be stored in one
In individual buffer unit.
In further embodiments, buffer unit has two, and drive recorder alternately caches between two buffer units
The video of recording, the memory space of two buffer units can be the same or different.
Alternatively, when a buffer unit is filled with (when the remaining space of such as buffer unit is less than threshold value), it is substituted into another
One buffer unit, so moves in circles, and is alternately cached between two buffer units.
Alternatively, after certain time is cached to a buffer unit, another buffer unit is substituted into, is so circulated past
It is multiple, alternately cached between two buffer units.
Step S12 is preserves thread, and in thread is preserved, drive recorder can be segmented preservation caching in the following manner
Video in unit:
Alternatively, when buffer unit only has one, drive recorder every preset time (i.e. timing) will caching it is single
The fragment of preceding first duration of video in member is preserved to memory cell, obtains a video segment, and to the video segment weight
New name, while remove the fragment of preceding second duration of video.Duration can be calculated by the timing markers in video, so as to
Find the termination time point for preserving and removing video segment.Before removing during the fragment of the second duration, video can be cropped
The fragment of preceding second duration is simultaneously deleted, can also bottom directly will in buffer unit it is corresponding before the second duration fragment
Data in address are deleted.Foregoing preset time, it can such as be set as 1-5 minutes according to setting is actually needed.
First duration be able to can not also be waited with the second duration with equal.First duration is the duration of each video segment, can
According to setting is actually needed, to be such as set as 1-5 minutes.When the first duration and the second duration not etc. when, the first duration is more than the
Two durations, and the span of the difference of the two is preferably the 1-3 seconds, the difference is two adjacent video fragment in memory cell
Overlapping time.By setting overlapping time for two adjacent video fragment, it can further reduce video frame losing and lose data
May.
As shown in figure 3, for three video segments obtained using the video recording method of the embodiment of the present invention, respectively regard
Frequency fragment 1, video segment 2 and video segment 3.Wherein, the weight of a length of t (such as 1 second) when video segment 1 has with video segment 2
Folded part, a length of t lap, video segment 1, video segment 2 and video when video segment 2 also has with video segment 3
The duration of fragment 3 is T.After starting video record, when preserving video segment 1, first by the preceding T durations of video in buffer unit
Fragment be saved in memory cell as video segment 1, then crop fragment and the deletion of the preceding T-t durations of video;Work as guarantor
When depositing video segment 2, the fragment of the preceding T durations of video in buffer unit is first saved in memory cell as video segment 2, so
The fragment of the preceding T-t durations of video and deletion are cropped afterwards;..., the like, until stopping video record.
Alternatively, when buffer unit has two, drive recorder is caching the video of recording into a buffer unit
When, while the video segment in another buffer unit is preserved to memory cell, that is to say, that drive recorder is while two
Video is alternately stored between individual buffer unit, while the video segment in two buffer units is alternately preserved to memory cell.Example
Such as, when caching the video of recording into buffer unit 1, while the video segment cached in buffer unit 2 is preserved to storage
Unit;Preserved when caching the video of recording into buffer unit 2, while by the video segment cached in buffer unit 1 to depositing
Storage unit ... ..., so move in circles.
When segmentation preserves video segment, video segment can be saved in multimedia file, the multimedia file can be with
It is the video file of various codings.For example, the video file of MP4 codings can be saved as, now can according to file size and
Coding information writes File header information, in order to which follow-up normal decoding plays.
When segmentation preserves and cuts video segment, preferably it is segmented according to key frame I frames, it is ensured that next section of video is opened
There are complete video data I frames beginning, and it is abnormal to avoid the occurrence of display.
During in view of preserving video segment, reading video data needs to spend the time from caching.Assuming that the video of setting
Clip durations are T0, and the time that reading video data needs to spend is t0, and the overlapping time of adjacent video is t, then actual to preserve
Video segment duration T=T0+t0, the duration of the video segment of cutting should be T-t=T0+t0-t.
Further, after the video segment in another buffer unit is preserved to memory cell, also by the caching list
Member empties, that is, deletes the video segment in the buffer unit.
In certain embodiments, the video segment in the buffer unit can not also be emptied, but it is slow to this again in next time
When the video of recording is cached in memory cell, with the data that new data cover is old.
Further, drive recorder also starts a timing detection thread before video recording starts, when by buffer unit
Video segmentation while preserve to memory cell, timing, which detects thread and also starts timer timing detection (or detection in real time), deposits
The remaining space of storage unit, when remaining space is less than threshold value (such as 500M, about 5 minutes high definition video lengths), then delete
The video segment of the predetermined number of oldest stored in memory cell, to discharge memory space, prevents data from overflowing, it is ensured that video
It is uninterrupted to record.The time interval of timing detection can such as be set as every 1 minute or shorter time according to setting is actually needed
Detection is once.
The video recording method of the embodiment of the present invention, the scheme of video segment is preserved using lasting recorded video, segmentation, is kept away
Startup and pause repeatedly in recording process are exempted from, therefore have been not in leakage record pause and the image in the interval time section of startup
The problem of, occurring the technical problem of leakage second when solving drive recorder recorded video, data are lost in the video frame losing for preventing from recording,
The integrality of the information of record is ensure that, the loss that Lou second problem is brought to user is avoided, improves Consumer's Experience.
Reference picture 4, proposes the embodiment of video recording device one of the present invention, and described device includes the He of video record module 10
Preserving module 20 is segmented, wherein:Video record module 10, extremely cached for lasting recorded video, and by the video cache of recording
Unit;Preserving module 20 is segmented, for the video segmentation in buffer unit to be preserved to memory cell.
In the embodiment of the present invention, video record includes two threads, respectively record a video thread and preservation thread, thread of recording a video
Continual video recording is until end position of recording a video, and preserving thread, then persistently segmentation preserves, and two threads are separate, same to luck
OK.Due to the continual progress of thread of recording a video, startup and pause that will not be repeatedly, therefore be not in that leakage record suspends with starting
The problem of image in interval time section.
Video record module 10 performs video recording thread, continual by camera device (camera, sound pick-up outfit etc.)
Recorded video, and by the video cache of recording to buffer unit.In process of caching, preferably by identifying video of the unit to caching
Carry out timing markers, Fast trim when being preserved in order to subsequent segment.
In certain embodiments, buffer unit only has one, and video record module 10 is by the lasting storage of the video of recording
In in a buffer unit.Now, preserving module 20 is segmented as shown in figure 5, including the first storage unit 21 and clearing cell 22,
Wherein:
First storage unit 21:For when preset time (i.e. timing) is by first before the video in buffer unit
Long fragment is preserved to memory cell, obtains a video segment, and the video segment is renamed.
When it is implemented, the first storage unit 21 can calculate duration by the timing markers in video, so as to find
Preserve and remove the termination time point of video segment.Foregoing preset time, it can such as be set as 1-5 according to setting is actually needed
Minute.
Clearing cell 22:For the fragment of first duration before the video in buffer unit to be protected when the first storage unit 21
Deposit to memory cell, remove the fragment of preceding second duration of video.When clearing cell 22 can crop preceding the second of video
Long fragment is simultaneously deleted, can also bottom directly will in buffer unit it is corresponding before the second duration fragment address in
Data are deleted.
First duration be able to can not also be waited with the second duration with equal.First duration is the duration of each video segment, can
According to setting is actually needed, to be such as set as 1-5 minutes.When the first duration and the second duration not etc. when, the first duration is more than the
Two durations, and the span of the difference of the two is preferably the 1-3 seconds, the difference is two adjacent video fragment in memory cell
Overlapping time.By setting overlapping time for two adjacent video fragment, it can further reduce video frame losing and lose data
May.
As shown in figure 3, for three video segments obtained using the video recording method of the embodiment of the present invention, respectively regard
Frequency fragment 1, video segment 2 and video segment 3.Wherein, the weight of a length of t (such as 1 second) when video segment 1 has with video segment 2
Folded part, a length of t lap, video segment 1, video segment 2 and video when video segment 2 also has with video segment 3
The duration of fragment 3 is T., first will caching list by the first storage unit 21 when preserving video segment 1 after video record starts
The fragment of the preceding T durations of video is saved in memory cell as video segment 1 in member, then crops video by clearing cell 22
Preceding T-t durations fragment and deletion;When preserving video segment 2, first by the first storage unit 21 by video in buffer unit
The fragments of preceding T durations be saved in memory cell as video segment 2, the preceding T-t of video is then cropped by clearing cell 22
The fragment of duration and deletion;..., the like, until stopping video record.
In further embodiments, buffer unit has two, and video record module is alternately slow between two buffer units
The video of recording is deposited, the memory space of two buffer units can be the same or different.Alternatively, when a buffer unit is deposited
When full (when the remaining space of such as buffer unit is less than threshold value), another buffer unit is substituted into, is so moved in circles, at two
Alternately cached between buffer unit.Alternatively, after certain time is cached to a buffer unit, it is single to be substituted into another caching
Member, so move in circles, alternately cached between two buffer units.
Now, preserving module 20 is segmented as shown in fig. 6, including the second storage unit 23, second storage unit 23 is used for:
When video record module 10 caches the video of recording into a buffer unit, by the video segment in another buffer unit
Preserve to memory cell.That is, while video is alternately stored between two buffer units by video record module 10, on one side
The video segment in two buffer units is alternately preserved to memory cell by segmentation preserving module 20.
For example, when video record module 10 caches the video of recording into buffer unit 1, while it is segmented preserving module 20
The video segment cached in buffer unit 2 is preserved to memory cell;When video record module 10 caches record into buffer unit 2
During the video of system, while it is segmented preserving module 20 and preserves the video segment cached in buffer unit 1 to memory cell ... ...,
So move in circles.
When segmentation preserves video segment, video segment can be saved in multimedia file by segmentation preserving module 20, should
Multimedia file can be the video file of various codings.For example, the video file of MP4 codings can be saved as, now can be with
According to file size and coding information write-in File header information, in order to which follow-up normal decoding plays.
When segmentation preserves and cuts video segment, segmentation preserving module 20 is preferably segmented according to key frame I frames, it is ensured that
Next section of video is initially to have complete video data I frames, and it is abnormal to avoid the occurrence of display.
During in view of preserving video segment, reading video data needs to spend the time from caching.Assuming that the video of setting
Clip durations are T0, and the time that reading video data needs to spend is t0, and the overlapping time of adjacent video is t, then actual to preserve
Video segment duration T=T0+t0, the duration of video segment that segmentation preserving module 20 is cut should be T-t=T0+t0-t.
Further, being segmented preserving module 20 also includes emptying unit 24, and this empties unit 24 and is used for:When the second preservation is single
Member 23 preserves the video segment in a buffer unit to memory cell, and the buffer unit is emptied, that is, deletes the caching
Video segment in unit.
Alternatively it is also possible to the video segment in the buffer unit is not emptied, but by video record module 10 in next time
When caching the video of recording into the buffer unit again, with the data that new data cover is old.
Further, the device also includes space release module, and it is used for:Timing detection (or detection in real time) memory cell
Remaining space, when remaining space is less than threshold value (such as 500M, about 5 minutes high definition video lengths), then it is single to delete storage
The video segment of the predetermined number of oldest stored in member, to discharge memory space, prevents data from overflowing, it is ensured that video it is uninterrupted
Record.The time interval of timing detection can such as be set as every 1 minute or shorter time detection one according to setting is actually needed
It is secondary.
The video recording device of the embodiment of the present invention, the scheme of video segment is preserved using lasting recorded video, segmentation, is kept away
Startup and pause repeatedly in recording process are exempted from, therefore have been not in leakage record pause and the image in the interval time section of startup
The problem of, occurring the technical problem of leakage second when solving drive recorder recorded video, data are lost in the video frame losing for preventing from recording,
The integrality of the information of record is ensure that, the loss that Lou second problem is brought to user is avoided, improves Consumer's Experience.
The present invention proposes a kind of drive recorder simultaneously, and the drive recorder includes memory, processor and at least one
It is stored in memory and is configured as the application program by computing device, before the application program is configurable for execution
State video recording method.The video recording method comprises the following steps:Continue recorded video, and by the video cache of recording to slow
Memory cell;Video segmentation in buffer unit is preserved to memory cell.Video recording method described in the present embodiment is
Video recording method in the present invention involved by above-described embodiment, will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing one in operation described herein
Or multinomial equipment.These equipment can specially be designed and manufactured for required purpose, or can also include general-purpose computations
Known device in machine.These equipment have the computer program being stored in it, and these computer programs optionally activate
Or reconstruct.Such computer program, which can be stored in equipment (for example, computer) computer-readable recording medium or be stored in, to be suitable to
Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium includes but is not limited to
Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-OnlyMemory, read-only storage
Device), RAM (RandomAccess Memory, random access memory), EPROM (Erasable Programmable Read-
OnlyMemory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-OnlyMemory, EEPROM), flash memory, magnetic card or light card.It is, readable Jie
Matter includes storing or transmitting any medium of information in the form of it can read by equipment (for example, computer).
Those skilled in the art of the present technique be appreciated that can with computer program instructions come realize these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, so as to pass through the processing of computer or other programmable data processing methods
Device performs the scheme specified in the frame of structure chart and/or block diagram and/or flow graph disclosed by the invention or multiple frames.
Those skilled in the art of the present technique are appreciated that in the various operations discussed in the present invention, method, flow
Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with having been discussed in the present invention
Kind operation, method, other steps in flow, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted.
Further, it is of the prior art to have and the step in the various operations disclosed in the present invention, method, flow, measure, scheme
It can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of video recording method, it is characterised in that comprise the following steps:
Continue recorded video, and by the video cache of recording to buffer unit;
Video segmentation in the buffer unit is preserved to memory cell.
2. video recording method according to claim 1, it is characterised in that the video by the buffer unit point
Duan Baocun included to the step of memory cell:
The fragment of the first duration before the video in the buffer unit is preserved to the memory cell every preset time;
Remove the fragment of preceding second duration of the video.
3. video recording method according to claim 2, it is characterised in that preceding second duration for removing the video
Fragment the step of include:Crop the fragment of preceding second duration of the video and deletion.
4. video recording method according to claim 1, it is characterised in that the buffer unit has two, it is described will record
The video cache of system to the step of buffer unit, includes:The video that alternately caching is recorded between two buffer units, when one
When buffer unit is filled with, another buffer unit is substituted into;
The video segmentation by the buffer unit, which was preserved to the step of memory cell, to be included:When into a buffer unit
When caching the video recorded, the video segment in another buffer unit is preserved to memory cell.
5. video recording method according to claim 4, it is characterised in that the video by another buffer unit
Fragment, which is preserved to after the step of memory cell, also to be included:Another described buffer unit is emptied.
A kind of 6. video recording device, it is characterised in that including:
Video record module, for lasting recorded video, and by the video cache of recording to buffer unit;
Preserving module is segmented, for the video segmentation in the buffer unit to be preserved to memory cell.
7. video recording device according to claim 6, it is characterised in that the segmentation preserving module includes:
First storage unit, for preserving the fragment of the first duration before the video in the buffer unit every preset time
To the memory cell;
Clearing cell, for protecting the fragment of the first duration before the video in the buffer unit when first storage unit
Deposit to the memory cell, remove the fragment of preceding second duration of the video.
8. video recording device according to claim 7, it is characterised in that the clearing cell is used for:Crop described
The fragment of preceding second duration of video and deletion.
9. video recording device according to claim 6, it is characterised in that the buffer unit has two, the video
Module is recorded to be used for:The video that alternately caching is recorded between two buffer units, when a buffer unit is filled with, is substituted into
Another buffer unit;
The segmentation preserving module includes the second storage unit, and second storage unit is used for:When the video record module
When caching the video of recording into a buffer unit, the video segment in another buffer unit is preserved to memory cell.
10. video recording device according to claim 9, it is characterised in that the segmentation preserving module also includes emptying
Unit, the unit that empties are used for:When second storage unit preserves the video segment in a buffer unit to described
After memory cell, the buffer unit is emptied.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710614295.5A CN107566768A (en) | 2017-07-25 | 2017-07-25 | Video recording method and device |
PCT/CN2017/109194 WO2019019469A1 (en) | 2017-07-25 | 2017-11-02 | Video recording method and device, and automobile data recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710614295.5A CN107566768A (en) | 2017-07-25 | 2017-07-25 | Video recording method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107566768A true CN107566768A (en) | 2018-01-09 |
Family
ID=60974666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710614295.5A Pending CN107566768A (en) | 2017-07-25 | 2017-07-25 | Video recording method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107566768A (en) |
WO (1) | WO2019019469A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108668096A (en) * | 2018-05-18 | 2018-10-16 | 京东方科技集团股份有限公司 | Management method, device and the video recording equipment of video data |
CN108718395A (en) * | 2018-06-08 | 2018-10-30 | 深圳市云智易联科技有限公司 | A kind of method and automobile data recorder of segmenting video recording |
CN108959419A (en) * | 2018-06-08 | 2018-12-07 | 日立楼宇技术(广州)有限公司 | Processing method, device, computer equipment and the storage medium of video file record |
CN109218644A (en) * | 2017-07-04 | 2019-01-15 | 北大方正集团有限公司 | Driving recording image pickup method and device |
CN110099238A (en) * | 2019-05-31 | 2019-08-06 | 杭州涂鸦信息技术有限公司 | A kind of packaging method of video requency frame data, intelligent terminal and storage device |
CN110324552A (en) * | 2018-03-29 | 2019-10-11 | 沈阳美行科技有限公司 | Grasping means, grasp shoot method, relevant apparatus equipment and the system of audio, video data |
CN110324549A (en) * | 2018-03-28 | 2019-10-11 | 沈阳美行科技有限公司 | Video recording method, device and equipment |
CN112087595A (en) * | 2019-06-14 | 2020-12-15 | 广州雷利诺车业有限公司 | Intelligent patrol motorcycle and patrol method thereof |
CN113766160A (en) * | 2020-04-24 | 2021-12-07 | 华为技术有限公司 | Video processing method and device |
CN114598895A (en) * | 2020-12-04 | 2022-06-07 | 腾讯云计算(长沙)有限责任公司 | Audio and video processing method, device and equipment and computer readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111970488B (en) * | 2020-07-31 | 2021-10-26 | 中标慧安信息技术股份有限公司 | Monitoring video multi-party application uploading method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020005895A1 (en) * | 1997-08-05 | 2002-01-17 | Mitsubishi Electric, Ita | Data storage with overwrite |
CN1761319A (en) * | 2004-10-12 | 2006-04-19 | 国际商业机器公司 | Video analysis, archiving and alerting methods and apparatus for a video surveillance system |
EP1732246A1 (en) * | 2004-03-31 | 2006-12-13 | Matsushita Electric Industrial Co., Ltd. | Content transmission device and content reproduction device |
CN102290872A (en) * | 2011-07-05 | 2011-12-21 | 张挥 | Wirelessly electrified vehicle-mounted driving monitor |
CN102496211A (en) * | 2011-12-15 | 2012-06-13 | 华立仪表集团股份有限公司 | Charge metering system and metering method for charging station |
CN105430341A (en) * | 2015-11-28 | 2016-03-23 | 绵阳少军信息科技有限公司 | Real-time wireless communication system for vehicle-mounted camera record |
-
2017
- 2017-07-25 CN CN201710614295.5A patent/CN107566768A/en active Pending
- 2017-11-02 WO PCT/CN2017/109194 patent/WO2019019469A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020005895A1 (en) * | 1997-08-05 | 2002-01-17 | Mitsubishi Electric, Ita | Data storage with overwrite |
EP1732246A1 (en) * | 2004-03-31 | 2006-12-13 | Matsushita Electric Industrial Co., Ltd. | Content transmission device and content reproduction device |
CN1761319A (en) * | 2004-10-12 | 2006-04-19 | 国际商业机器公司 | Video analysis, archiving and alerting methods and apparatus for a video surveillance system |
CN102290872A (en) * | 2011-07-05 | 2011-12-21 | 张挥 | Wirelessly electrified vehicle-mounted driving monitor |
CN102496211A (en) * | 2011-12-15 | 2012-06-13 | 华立仪表集团股份有限公司 | Charge metering system and metering method for charging station |
CN105430341A (en) * | 2015-11-28 | 2016-03-23 | 绵阳少军信息科技有限公司 | Real-time wireless communication system for vehicle-mounted camera record |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218644A (en) * | 2017-07-04 | 2019-01-15 | 北大方正集团有限公司 | Driving recording image pickup method and device |
CN110324549A (en) * | 2018-03-28 | 2019-10-11 | 沈阳美行科技有限公司 | Video recording method, device and equipment |
CN110324552A (en) * | 2018-03-29 | 2019-10-11 | 沈阳美行科技有限公司 | Grasping means, grasp shoot method, relevant apparatus equipment and the system of audio, video data |
CN108668096A (en) * | 2018-05-18 | 2018-10-16 | 京东方科技集团股份有限公司 | Management method, device and the video recording equipment of video data |
US11170821B2 (en) | 2018-05-18 | 2021-11-09 | Boe Technology Group Co., Ltd. | Video management method and apparatus, image capturing device, and storage medium |
CN108959419A (en) * | 2018-06-08 | 2018-12-07 | 日立楼宇技术(广州)有限公司 | Processing method, device, computer equipment and the storage medium of video file record |
CN108718395A (en) * | 2018-06-08 | 2018-10-30 | 深圳市云智易联科技有限公司 | A kind of method and automobile data recorder of segmenting video recording |
CN108959419B (en) * | 2018-06-08 | 2020-10-23 | 日立楼宇技术(广州)有限公司 | Video file recording processing method and device, computer equipment and storage medium |
CN108718395B (en) * | 2018-06-08 | 2021-05-11 | 深圳市云智易联科技有限公司 | Segmented video recording method and automobile data recorder |
CN110099238A (en) * | 2019-05-31 | 2019-08-06 | 杭州涂鸦信息技术有限公司 | A kind of packaging method of video requency frame data, intelligent terminal and storage device |
CN112087595A (en) * | 2019-06-14 | 2020-12-15 | 广州雷利诺车业有限公司 | Intelligent patrol motorcycle and patrol method thereof |
CN113766160A (en) * | 2020-04-24 | 2021-12-07 | 华为技术有限公司 | Video processing method and device |
CN114598895A (en) * | 2020-12-04 | 2022-06-07 | 腾讯云计算(长沙)有限责任公司 | Audio and video processing method, device and equipment and computer readable storage medium |
CN114598895B (en) * | 2020-12-04 | 2023-08-11 | 腾讯云计算(长沙)有限责任公司 | Audio and video processing method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019019469A1 (en) | 2019-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566768A (en) | Video recording method and device | |
CN108093299B (en) | Method for repairing damaged MP4 file and storage medium | |
CN106411927B (en) | A kind of video monitoring method and device | |
CA2632738C (en) | Memory management in event recording systems | |
CN108537916B (en) | Block chain-based driving record information processing method and device | |
CN108668096B (en) | Video data management method and device and video recording equipment | |
US9456190B2 (en) | Systems and methods of determining retention of video surveillance data | |
CN106600750B (en) | A kind of method of circulation recording, system and automobile data recorder | |
CN103226965B (en) | Based on the audio/video data access method of time bitmap | |
CN103826109A (en) | Video monitoring image data processing method and system | |
CN108806272A (en) | A kind of method and device for reminding more motor vehicle car owner's illegal parking behaviors | |
RU2626091C1 (en) | Method and device for data access | |
JP4583270B2 (en) | Recording device | |
CN107948605A (en) | Method, apparatus, equipment and the storage medium of vehicle-mounted monitoring video data storage | |
CN105721809B (en) | Storage method and video recording system | |
US20160037119A1 (en) | Video recording apparatus, and video recording method when temporary network failure occurs | |
CN105653385B (en) | A kind of vehicle-mounted kinescope method | |
CN106648988A (en) | Method for extracting data in monitoring equipment | |
CN104333725B (en) | The streaming storage device and its method of built-in hard disk video tape recorder | |
TWI555406B (en) | Storage method and processing device and video recording system thereof | |
CN110990239B (en) | System and method for collecting user data in user equipment based on soft sensor | |
CN111385511B (en) | Video data processing method and device and video recording equipment | |
KR101083054B1 (en) | Flash memory overwriting method and apparatus | |
JP7480502B2 (en) | Recording device, recording method, and program | |
CN109215690A (en) | The way of recording and device |
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: 20180109 |