CN103763496A - Method and device for prerecording video - Google Patents

Method and device for prerecording video Download PDF

Info

Publication number
CN103763496A
CN103763496A CN201410036325.5A CN201410036325A CN103763496A CN 103763496 A CN103763496 A CN 103763496A CN 201410036325 A CN201410036325 A CN 201410036325A CN 103763496 A CN103763496 A CN 103763496A
Authority
CN
China
Prior art keywords
recording
file
passage
information
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410036325.5A
Other languages
Chinese (zh)
Inventor
庄少华
陈文明
曹淑钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN HUABAO ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN HUABAO ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN HUABAO ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHENZHEN HUABAO ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201410036325.5A priority Critical patent/CN103763496A/en
Publication of CN103763496A publication Critical patent/CN103763496A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention is suitable for the technical field of video processing, and provides a method and device for prerecording a video. The method includes the steps of respectively writing prerecorded data corresponding to channels into prerecorded files, corresponding to the channels, in an external storage device, storing prerecorded information related to the prerecorded files into an internal storage chain table, if an emergency is received, starting real-time video recording on the channels to generate real-time video files, adding emergency information corresponding to the channels and alarm real-time video information corresponding to the channels into the internal storage chain table, and after real-time video recording on the channels is finished, according to the prerecorded information, the emergency information and the alarm real-time video information, corresponding to the channels, in the internal storage chain table, converting the prerecorded files corresponding to the channels and the real-time video files corresponding to the channels into video files. According to the method and device, multi-channel long-time large-data-volume video prerecording is carried out through a common PC-file file system on the external storage device.

Description

A kind of video preprocessor recording method and device
Technical field
The invention belongs to technical field of video processing, relate in particular to a kind of video preprocessor recording method and device.
Background technology
In digital video monitor system application, the function that has a kind of pre-recorded videos, for recording accident, there is function front and the rear a period of time video information of generation, when not having accident to occur, do not need to preserve the video data of pre-recording, only when accident occurs, just need to preserve the video data of pre-recording, the accident here comprises that mobile detection alert and IO report to the police, mobile detection alert refers to the anomalous event that video monitoring regional occurs suddenly, if any other object, swarm into suddenly etc., IO reports to the police and refers to that the Monitoring Data of digital video monitor system itself surpasses the abnormal alarm that early warning range produces, as too fast in there being the speed of a motor vehicle in vehicle carrying video system, low on fuel, during the situation such as fatigue driving or reversing, all can produce IO reports to the police.Pre-recorded videos function makes video monitoring system not need the video content in All Time to carry out record, can save a large amount of memory spaces, reduces costs.
Existing video preprocessor recording method is to distribute the pre-record buffering area of data, a region at memory headroom, when having accident to occur, immediately the data of pre-recording in buffering area are copied in video file, the subsequent video triggering with accident is integrated together, generation is with the video content of pre-recorded videos content, and is stored in External memory equipment.Yet, this video preprocessor recording method, due to the size restriction of memory headroom, can only be realized several seconds pre-recorded videos data to a few minutes, in multi-channel video, pre-recorded videos amount is large, need to consume more physical memory, particularly, in embedded system, various hardware resources are limited, especially memory headroom is not enough, and be subject to cost control, impossible unconfined increase physical memory, therefore can not realize multi-channel video long-time pre-recording video again.
Summary of the invention
The embodiment of the present invention provides a kind of video preprocessor recording method and device, is intended to solve the size restriction that existing video preprocessor recording method is limited to memory headroom, cannot realize the problem that multi-channel video is pre-recorded for a long time.
On the one hand, provide a kind of video preprocessor recording method, described method comprises:
The data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list;
Whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
If a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generates real-time recording file, and emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
The real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
On the other hand, provide a kind of video preprocessor recording device, described device comprises:
The unit of pre-recording, for the data of pre-recording corresponding to each passage are write respectively to the file of pre-recording corresponding to the above each passage of External memory equipment, and is stored in the described relevant information of pre-recording of file of pre-recording in internal memory chained list;
Event judging unit, for judging whether described each passage receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
Faithful record unit, if receive described accident for a passage, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
Video conversion unit, real-time recording for described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
In the embodiment of the present invention, the data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list; Whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording; If a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generates real-time recording file, and emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list; The real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment, the present invention, has realized externally common PC file file system on memory device and has carried out pre-recording of the long-time big data quantity video of multichannel.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the video preprocessor recording method that provides of the embodiment of the present invention one;
Fig. 2 is the realization flow figure of the video preprocessor recording method that provides of the embodiment of the present invention two;
Fig. 3 is the concrete structure figure of the video preprocessor recording device that provides of the embodiment of the present invention three;
Fig. 4 is the concrete structure figure of the video preprocessor recording device that provides of the embodiment of the present invention four.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, the data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list; Whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording; If a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generates real-time recording file, and emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list; The real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment mono-
Fig. 1 shows the realization flow of the video preprocessor recording method that the embodiment of the present invention one provides, and details are as follows:
In step S101, the data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list.
In the present embodiment, the data of pre-recording described in comprise video data and voice data.The described file of pre-recording is the pre-record video file of data of the preservation that is pre-created according to default duration, comprise RMVB, AVI, the common formats such as WMV, it is stored on External memory equipment, its relevant information of pre-recording is stored in internal memory chained list, described internal memory chained list is set up in internal memory discontinuous, the storage organization of non-order, by a series of nodes, formed, node can dynamically generate when operation, the information of pre-recording comprises file identification, passage name, video recording type, standard, described file identification can be file name, according to the known some files of pre-recording of the information of pre-recording, it is the acquisition of pre-recording of which passage, and video recording type and standard.Wherein, in the data of pre-recording, write and pre-record in file process, also comprise that judgement writes duration and whether surpasses default duration, if, the file of pre-recording described in preservation, and create the file of newly pre-recording, the data of pre-recording corresponding to each passage are write respectively to described corresponding newly the pre-recording in file of each passage, and the described relevant information of pre-recording of file of newly pre-recording is stored in internal memory chained list, owing to pre-recording, file creates according to default duration, when writing duration over default duration, need to re-create a new file of pre-recording pre-records, before preserving, write the file of pre-recording of the data of completely pre-recording, if write duration, do not surpass default duration continuation execution step S101.
As a preferred version, before this step S101, also comprise and receive the instruction of pre-recording, in described internal memory, set up an internal memory chained list, and according to default duration on described External memory equipment, create each passage corresponding described in the file of pre-recording.
In the present embodiment, the instruction of pre-recording is instruction that open to carry out pre-recording function.At one, pre-record in process, internal memory chained list only need to create once, and internal memory chained list increases memory node dynamic change according to the increase of storage information thereafter, can also delete arbitrarily.No matter be that single channel is pre-recorded or multichannel is pre-recorded, internal memory chained list all can be used to preserve information, emergency information and the warning real-time recording information of pre-recording.
In step S102, whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording.
In the present embodiment, described setting-up time is that the accident of pre-recording of setting needs the duration of recording a video before.Preferably, setting-up time is 40S.After the file of pre-recording is preserved enough setting-up times, the next one file of pre-recording has been recorded the video recording of setting-up time before current time, therefore, can delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording.
In step S103, if a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list.
In the present embodiment, accident comprises that mobile detection alert and IO report to the police, mobile detection alert refers to the anomalous event that video monitoring regional occurs suddenly, if any other object, swarm into suddenly etc., IO reports to the police and refers to that the Monitoring Data of digital video monitor system itself surpasses the abnormal alarm that early warning range produces, as too fast in there being the speed of a motor vehicle in vehicle carrying video system, low on fuel, all can produce IO and report to the police during the situations such as fatigue driving or reversing.Described emergency information comprises event type and channel number.Described real-time recording file is stored on External memory equipment or other servers.Described warning real-time recording information comprises real-time recording file address, real-time recording file identification and channel number, and described real-time recording file identification is as file name.If a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list, and other do not receive the passage of described accident, execution step S101.
In step S104, the real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
In the present embodiment, described video file is the final video file that pre-recorded videos obtains.When the real-time recording time reaches default video time or accident finishes, real-time recording finishes, particularly, according to the information of pre-recording in described internal memory chained list, emergency information and warning real-time recording information, the real-time recording Piece file mergence after pre-record file and accident before same passage accident is video file and is stored on described External memory equipment.After real-time recording finishes, if do not receive pre-record END instruction or shutdown command, the file of pre-recording described in again creating on described External memory equipment according to default duration, continues execution step S101.
The present embodiment, can reach externally common PC file file system on memory device and carry out pre-recording of the long-time big data quantity video of multichannel, be applicable to existing Windows, the common operation systems such as Linux, and the video file generating also can realize video file and check in the seamless extraction of the platforms such as various PC, user-friendly.
Embodiment bis-
Fig. 2 shows the realization flow of the video preprocessor recording method that the embodiment of the present invention two provides, and details are as follows:
In step S201, the data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list.
In step S202, whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording.
In step S203, if a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list.
In step S204, the real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
In the present embodiment, the implementation of the step S101-S104 in the execution of step S201-S204 and above-described embodiment one is similar, and details are referring to the description of above-described embodiment one.
In step S205, described in the file of pre-recording described in deletion is relevant to described video file with in described internal memory chained list, pre-record information, described emergency information and described warning real-time recording information.
In the present embodiment, will described in pre-record after file and real-time recording file be converted into video file, the information, described emergency information, described warning real-time recording information of pre-recording described in relevant to described video file in described internal memory chained list and described in the file of pre-recording just there is no the value of preservation, deletion in time can be accelerated recovery and the utilization of described External memory equipment and memory headroom, if do not receive pre-record END instruction or shutdown command, continue execution step S201.
As a preferred version, also comprise and receive pre-record END instruction or shutdown command, discharge described internal memory chained list, and the file of pre-recording described in deleting all.
The present embodiment, can reach externally common PC file file system on memory device and carry out pre-recording of the long-time big data quantity video of multichannel, be applicable to existing Windows, the common operation systems such as Linux, and the video file generating also can be realized video file and checks in the seamless extraction of the platforms such as various PC, user-friendly, and accelerated recovery and the utilization of memory space.
Embodiment tri-
Fig. 3 shows the concrete structure block diagram of the video preprocessor recording device that the embodiment of the present invention three provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.In the present embodiment, this video preprocessor recording device comprises: the unit 31 of pre-recording, event judging unit 32, faithful record unit 33, video conversion unit 34, pre-record start unit 35 and time judging unit 36.
Wherein, the unit 31 of pre-recording, for the data of pre-recording corresponding to each passage are write respectively to the file of pre-recording corresponding to the above each passage of External memory equipment, and is stored in the described relevant information of pre-recording of file of pre-recording in internal memory chained list;
Event judging unit 32, for judging whether described each passage receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
Faithful record unit 33, if receive described accident for a passage, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
Video conversion unit 34, real-time recording for described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
Further, described device also comprises:
The start unit 35 of pre-recording for receiving the instruction of pre-recording, is set up an internal memory chained list in described internal memory, and according to default duration on described External memory equipment, create each passage corresponding described in the file of pre-recording.
Further, described device also comprises:
Time judging unit 36, for judgement, write duration and whether surpass default duration, if, the file of pre-recording described in preservation, and create the file of newly pre-recording, the data of pre-recording corresponding to each passage are write respectively to described corresponding newly the pre-recording in file of each passage, and the described relevant information of pre-recording of file of newly pre-recording is stored in internal memory chained list.
The video preprocessor recording device that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, referring to the description of above-described embodiment one, do not repeat them here.
Embodiment tetra-
Fig. 4 shows the concrete structure block diagram of the video preprocessor recording device that the embodiment of the present invention four provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.In the present embodiment, this video preprocessor recording device comprises: the unit 41 of pre-recording, event judging unit 42, faithful record unit 43, video conversion unit 44, the start unit 45 of pre-recording, time judging unit 46, the first delete cells 47 and pre-record and exit unit 48.
Wherein, the unit 41 of pre-recording, for the data of pre-recording corresponding to each passage are write respectively to the file of pre-recording corresponding to the above each passage of External memory equipment, and is stored in the described relevant information of pre-recording of file of pre-recording in internal memory chained list;
Event judging unit 42, for judging whether described each passage receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
Faithful record unit 43, if receive described accident for a passage, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
Video conversion unit 44, real-time recording for described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
Further, described device also comprises:
The start unit 45 of pre-recording for receiving the instruction of pre-recording, is set up an internal memory chained list in described internal memory, and according to default duration on described External memory equipment, create each passage corresponding described in the file of pre-recording.
Further, described device also comprises:
Time judging unit 46, for judgement, write duration and whether surpass default duration, if, the file of pre-recording described in preservation, and create the file of newly pre-recording, the data of pre-recording corresponding to each passage are write respectively to described corresponding newly the pre-recording in file of each passage, and the described relevant information of pre-recording of file of newly pre-recording is stored in internal memory chained list.
Further, described device also comprises:
The first delete cells 47, for the file of pre-recording described in deleting relevant to described video file with described internal memory chained list described in pre-record information, described emergency information and described warning real-time recording information.
Further, described device also comprises:
Pre-record and exit unit 48, for receiving pre-record END instruction or shutdown command, discharge described internal memory chained list, and the file of pre-recording described in deleting all.
The video preprocessor recording device that the embodiment of the present invention provides can be applied in the embodiment of the method two of aforementioned correspondence, and details, referring to the description of above-described embodiment two, do not repeat them here.
It should be noted that in said system embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method is to come the hardware that instruction is relevant to complete by program, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a video preprocessor recording method, is characterized in that, described method comprises:
The data of pre-recording corresponding to each passage are write respectively to corresponding the pre-recording in file of the above each passage of External memory equipment, and the described relevant information of pre-recording of file of pre-recording is stored in internal memory chained list;
Whether described each passage of judgement receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
If a passage receives described accident, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generates real-time recording file, and emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
The real-time recording of described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
2. the method for claim 1, is characterized in that, in the described data of pre-recording that each passage is corresponding write respectively the file of pre-recording that the above each passage of External memory equipment is corresponding before, described method also comprises:
An internal memory chained list is set up in the reception instruction of pre-recording in described internal memory, and according to default duration on described External memory equipment, create each passage corresponding described in the file of pre-recording.
3. method as claimed in claim 2, is characterized in that, in the described data of pre-recording that each passage is corresponding write respectively the file of pre-recording that the above each passage of External memory equipment is corresponding before, described method also comprises:
Judgement writes duration and whether surpasses default duration, if, the file of pre-recording described in preservation, and create the file of newly pre-recording, the data of pre-recording corresponding to each passage are write respectively to described corresponding newly the pre-recording in file of each passage, and the described relevant information of pre-recording of file of newly pre-recording is stored in internal memory chained list.
4. method as claimed in claim 2 or claim 3, is characterized in that, described, after by described passage, corresponding pre-record file and real-time recording file corresponding to described passage are converted into video file and are stored on described External memory equipment, described method also comprises:
Described in the file of pre-recording described in deletion is relevant to described video file with in described internal memory chained list, pre-record information, described emergency information and described warning real-time recording information.
5. method as claimed in claim 2 or claim 3, is characterized in that, described, after by described passage, corresponding pre-record file and real-time recording file corresponding to described passage are converted into video file and are stored on described External memory equipment, described method also comprises:
Reception pre-record END instruction or shutdown command, discharge described internal memory chained list, and the file of pre-recording described in deleting all.
6. a video preprocessor recording device, is characterized in that, described device comprises:
The unit of pre-recording, for the data of pre-recording corresponding to each passage are write respectively to the file of pre-recording corresponding to the above each passage of External memory equipment, and is stored in the described relevant information of pre-recording of file of pre-recording in internal memory chained list;
Event judging unit, for judging whether described each passage receives accident, if not, delete described each passage corresponding preserve setting-up time described in pre-record file and described in the information of pre-recording corresponding to file of pre-recording;
Faithful record unit, if receive described accident for a passage, finish described passage corresponding described in pre-record the writing of data, the real-time recording of unlatching to described passage, generate real-time recording file, emergency information and warning real-time recording information that described passage is corresponding are added in described internal memory chained list;
Video conversion unit, real-time recording for described passage finishes, according to the information of pre-recording corresponding to passage described in described internal memory chained list, emergency information and warning real-time recording information, pre-record file and real-time recording file corresponding to described passage that described passage is corresponding are converted into video file and are stored on described External memory equipment.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
The start unit of pre-recording for receiving the instruction of pre-recording, is set up an internal memory chained list in described internal memory, and according to default duration on described External memory equipment, create each passage corresponding described in the file of pre-recording.
8. device as claimed in claim 7, is characterized in that, described device also comprises:
Time judging unit, for judgement, write duration and whether surpass default duration, if, the file of pre-recording described in preservation, and create the file of newly pre-recording, the data of pre-recording corresponding to each passage are write respectively to described corresponding newly the pre-recording in file of each passage, and the described relevant information of pre-recording of file of newly pre-recording is stored in internal memory chained list.
9. install as claimed in claim 7 or 8, it is characterized in that, described device also comprises:
The first delete cells, for the file of pre-recording described in deleting relevant to described video file with described internal memory chained list described in pre-record information, described emergency information and described warning real-time recording information.
10. install as claimed in claim 7 or 8, it is characterized in that, described device also comprises:
Pre-record and exit unit, for receiving pre-record END instruction or shutdown command, discharge described internal memory chained list, and the file of pre-recording described in deleting all.
CN201410036325.5A 2014-01-24 2014-01-24 Method and device for prerecording video Pending CN103763496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410036325.5A CN103763496A (en) 2014-01-24 2014-01-24 Method and device for prerecording video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410036325.5A CN103763496A (en) 2014-01-24 2014-01-24 Method and device for prerecording video

Publications (1)

Publication Number Publication Date
CN103763496A true CN103763496A (en) 2014-04-30

Family

ID=50530648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410036325.5A Pending CN103763496A (en) 2014-01-24 2014-01-24 Method and device for prerecording video

Country Status (1)

Country Link
CN (1) CN103763496A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394453A (en) * 2014-11-21 2015-03-04 深圳市华宝电子科技有限公司 Video prerecording method and device
CN105791437A (en) * 2016-04-29 2016-07-20 板牙信息科技(上海)有限公司 Method for storing video information and equipment thereof
WO2017124800A1 (en) * 2016-01-21 2017-07-27 杭州海康威视数字技术股份有限公司 Pre-event video recording method and device
CN107093436A (en) * 2017-03-10 2017-08-25 青岛海信移动通信技术股份有限公司 The storage method and device of the audio, video data pre-recorded, mobile terminal
CN109963101A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 Video recording system control method and device
CN111405220A (en) * 2019-09-30 2020-07-10 杭州海康威视***技术有限公司 Video prerecording method and cloud storage system
CN115361517A (en) * 2022-08-26 2022-11-18 重庆紫光华山智安科技有限公司 Pre-alarm video recording method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007011207A1 (en) * 2005-07-18 2007-01-25 Internova Holding Bvba Detection camera
CN101266711A (en) * 2007-03-15 2008-09-17 中兴通讯股份有限公司 A video monitoring system and alarm recording network storage method
CN101968967A (en) * 2010-08-04 2011-02-09 深圳英飞拓科技股份有限公司 Prerecording method used for monitoring equipment
CN103369284A (en) * 2012-03-31 2013-10-23 浙江大华技术股份有限公司 Audio video data prerecording method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007011207A1 (en) * 2005-07-18 2007-01-25 Internova Holding Bvba Detection camera
CN101266711A (en) * 2007-03-15 2008-09-17 中兴通讯股份有限公司 A video monitoring system and alarm recording network storage method
CN101968967A (en) * 2010-08-04 2011-02-09 深圳英飞拓科技股份有限公司 Prerecording method used for monitoring equipment
CN103369284A (en) * 2012-03-31 2013-10-23 浙江大华技术股份有限公司 Audio video data prerecording method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张燕翔: "《DV影像创作宝典-从技术到艺术》", 31 January 2013 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394453A (en) * 2014-11-21 2015-03-04 深圳市华宝电子科技有限公司 Video prerecording method and device
WO2017124800A1 (en) * 2016-01-21 2017-07-27 杭州海康威视数字技术股份有限公司 Pre-event video recording method and device
CN106993153A (en) * 2016-01-21 2017-07-28 杭州海康威视数字技术股份有限公司 A kind of video amended record method and apparatus
CN105791437A (en) * 2016-04-29 2016-07-20 板牙信息科技(上海)有限公司 Method for storing video information and equipment thereof
CN107093436A (en) * 2017-03-10 2017-08-25 青岛海信移动通信技术股份有限公司 The storage method and device of the audio, video data pre-recorded, mobile terminal
CN107093436B (en) * 2017-03-10 2020-02-04 青岛海信移动通信技术股份有限公司 Prerecorded audio and video data storage method and device and mobile terminal
CN109963101A (en) * 2017-12-26 2019-07-02 北京君正集成电路股份有限公司 Video recording system control method and device
CN111405220A (en) * 2019-09-30 2020-07-10 杭州海康威视***技术有限公司 Video prerecording method and cloud storage system
CN115361517A (en) * 2022-08-26 2022-11-18 重庆紫光华山智安科技有限公司 Pre-alarm video recording method and device, electronic equipment and readable storage medium
CN115361517B (en) * 2022-08-26 2024-03-22 重庆紫光华山智安科技有限公司 Video recording method and device before police, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN103763496A (en) Method and device for prerecording video
CN108076317B (en) Video data storage method and system, video access method and node
US8635656B2 (en) Real-time video transmission system and method
CN108848406B (en) Method and device for recording multimedia file
US20140280387A1 (en) System and method for expanding storage space of network device
CN102136290A (en) Method for storing embedded real-time video files
US9323593B2 (en) Method and device for saving running log of an operating system during a soft reset
CN104408109A (en) Alarm video recording method and device
CN106326082B (en) Method and device for recording log in network system
CN104333724A (en) Alarm video prerecording method for embedded hard disk video recorder
US8572307B2 (en) Memory controller, memory card, and nonvolatile memory system
CN105975401A (en) Sequential writing and quick recovery system and method of vehicle-mounted disk
CN104023176A (en) Method and device of processing audio frequency and image information as well as terminal equipment
CN105575409A (en) Method for writing MP4 file into optical disc under embedded host computer
US9805432B2 (en) Data logging system and method
US20160132095A1 (en) Method and apparatus for controlling hard drive power consumption and controlling a management service of hard drive power consumption
US20080209032A1 (en) Alarm method for insufficient storage space of network storage system
CN103544975B (en) A kind of guard method of vehicle-mounted hard disks
CN111240579B (en) Method and device for data storage
CN104394453B (en) video prerecording method and device
CN101365088A (en) Hard disc video recording method
US9967223B2 (en) System for push service notification based on user history
CN105791437A (en) Method for storing video information and equipment thereof
CN106998436B (en) Video backup method and device
CN102360337B (en) Method for using hard disk according to quota on digital video recorder and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20140430