CN100589567C - The processing method of video data and memory device - Google Patents

The processing method of video data and memory device Download PDF

Info

Publication number
CN100589567C
CN100589567C CN 200710099018 CN200710099018A CN100589567C CN 100589567 C CN100589567 C CN 100589567C CN 200710099018 CN200710099018 CN 200710099018 CN 200710099018 A CN200710099018 A CN 200710099018A CN 100589567 C CN100589567 C CN 100589567C
Authority
CN
China
Prior art keywords
data
frame
video
image
video data
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
CN 200710099018
Other languages
Chinese (zh)
Other versions
CN101060624A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 200710099018 priority Critical patent/CN100589567C/en
Publication of CN101060624A publication Critical patent/CN101060624A/en
Application granted granted Critical
Publication of CN100589567C publication Critical patent/CN100589567C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a kind of processing method and memory device of video data, the video data that buffer memory receives, and judge whether the image of video data is identical.Only store a wherein frame for the identical video data of image.According to the processing method and the memory device of video data of the present invention, can save the required memory space of stored video data.

Description

The processing method of video data and memory device
Technical field
The present invention relates to the video data treatment technology, relate in particular to a kind of processing method and memory device of video data.
Background technology
Along with the development of video/audio encoding and decoding technology and Network storage technology, with the image encoding digitlization that collects of video camera, and transmission and storage on internet network, thereby formed the digital video monitoring technology.
The video monitoring technology is the key technology in the safety-protection system of city.Through development in recent years, the video monitoring technology has formed the integrated monitoring mode of " simulation monitoring+network monitoring storage+integrated management ".Figure 1 shows that the video monitoring system of prior art, as shown in Figure 1, this system comprises camera head, hardware coder, routing device, hardware decoder, video monitoring client terminal and memory device.Usually, the audio-video signal of camera head collection simulation, hardware coder are digital signal with above-mentioned analog audio-video conversion of signals and use the real-time audio and video compression algorithm to carry out compressed encoding and handle; By routing device, the video data behind the above-mentioned compressed encoding be sent to that memory device place in the network stores or the decoding of video monitoring client terminal place after be used for real-time monitoring.The user can also use playback apparatus, as video monitoring client terminal, reads video data stored in the memory device by network, to monitoring video browse, operation such as fast-forward play and slow-motion broadcast.
In current video monitoring system, all be directly to receive the video data stream of the Internet Small Computer Systems Interface based on TCP/IP (iSCSI, the internet Small ComputerSystem Interface) agreement that hardware coder sends and store by memory device.Because the flow of above-mentioned video data is very big, and needs memory device to carry out storage for a long time incessantly in actual environment usually, therefore require memory device to possess huge memory space, this has also increased the cost of video monitoring system accordingly.
Summary of the invention
Technical problem to be solved by this invention provides a kind of processing method and memory device of video data, is used to reduce the required memory space of video data storage.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of video data handling procedure may further comprise the steps:
Steps A, the video data behind reception and the buffer memory compressed encoding;
Step B decodes to the video data of institute's buffer memory, obtains the view data of video data;
Step C carries out image motion to the view data of adjacent video data and detects, and judges whether the image of adjacent video data is identical;
Step D, in video-data fragment the image of all adjacent video data all identical in, store any one video data in this video-data fragment;
Among the described step B, described video data to institute's buffer memory is decoded, and is that the I frame data in the video data are decoded, and obtains the view data of I frame data;
Among the described step C, described adjacent video data is adjacent I frame data;
Among the described step D, the whole story of described video-data fragment, point was different I frame data, and described any one video data is any one I frame data;
The still image I frame group of the storage address information of a view data that is used to preserve the I frame data and these I frame data wherein, further is set;
Among the described step D, before described any one the I frame data of storage, further the view data of each I frame data of preserving in the view data of described any one I frame data and the still image I frame group is carried out image motion respectively and detects, judge whether image is identical:
If it is all inequality, then store described any one I frame data, and the view data of described any one I frame data and the storage address information of described any one I frame data be kept in the still image I frame group, and the view data of the I frame data of preserving the earliest in the deletion still image I frame group and the storage address information of the I frame data that this is preserved the earliest;
If the image of one of them the I frame data in these any one I frame data and the still image I frame group is identical, then the time index with these any one I frame data points to described one of them I frame data.
Method of the present invention wherein, among the described step C, according to frame difference method, profile comparison method, estimation method, background subtraction method or time differencing method, is carried out image motion to the view data of adjacent I frame data and is detected.
Method of the present invention also comprises after the wherein said step C:
Step e when the image of two adjacent I frame data is inequality, is all stored all video datas between the last I frame data in these two I frame data and this two I frame data.
Method of the present invention, wherein,
In steps A, further comprise: the time of reception of writing down every frame video data;
In step D, further comprise: preserve the time index that is used to retrieve any one I frame data of being stored, comprise the time of reception of two I frame data of described video-data fragment point at the whole story in this time index, and the image that is used to identify the pairing video data of this time index is identical identification information;
In step e, further comprise: preserve the time index that is used to retrieve institute's video data stored, and comprise time of reception of described last I frame data in this time index, and the image that is used to identify the pairing video data of this time index is the identification information that changes.
Method of the present invention wherein also comprises:
Retrieve corresponding video data according to time index, and it is whether identical according to the image of the video data of the described correspondence of identification information judgment in this time index, if, then in this time index in indicated time period time of reception of two I frame data of whole story point, the video data of described correspondence is repeated to export to outside playback apparatus according to predetermined frame rate; Otherwise, directly export the video data of described correspondence to outside playback apparatus.
A kind of memory device of video data comprises: buffer unit, decoding unit, image motion detecting unit and video data memory cell, wherein,
Described buffer unit, be used to receive and the buffer memory compressed encoding after video data;
Described decoding unit is used for the video data of buffer unit is decoded, and obtains the view data of video data;
Described image motion detecting unit, the view data that is used for video data that decoding unit is obtained is carried out image motion and is detected, and judges whether the image of adjacent video data is identical, and judged result is sent to the video data memory cell;
Described video data memory cell, be used for judged result according to the image motion detecting unit, for the video-data fragment in the buffer unit,, then store any one video data in this video-data fragment if the image of all adjacent video data is all identical in this video-data fragment;
Wherein, described decoding unit is further used for the I frame data in the buffer unit are decoded, and obtains the view data of I frame data;
Described image motion detecting unit, the view data that is further used for I frame data that decoding unit is obtained is carried out image motion and is detected, and judges whether the image of adjacent I frame data is identical, and judged result is sent to the video data memory cell;
Described video data memory cell, be further used for judged result according to the image motion detecting unit, be the video-data fragment of different I frame data for putting the whole story in the buffer unit, if the image of all adjacent I frame data is all identical in this video-data fragment, then store any one I frame data in this video-data fragment;
Wherein, described memory device also comprises time index preservation unit,
Described buffer unit, the time of reception that is further used for writing down every frame video data;
Described time index is preserved the unit, according to the time of reception of the video data that writes down in the video data of video data cell stores and the buffer unit, preservation is used for the time index of the video data of retrieve video data storage cell, and in time index, preserve the whether identical identification information of image be used to identify video data, and in the time index of the identical video-data fragment of image, preserve the time of reception of two I frame data of this video-data fragment point at the whole story; In the time index of the video data of image change, the time of reception of preserving the I frame data in this video data;
Described buffer unit further comprises still image I frame group preservation unit;
Described still image I frame group is preserved the unit, be used to preserve the view data of I frame data and the storage address information of these I frame data, and according to the testing result of image motion detecting unit, when the image of the I frame data in described any one I frame data and still image I frame group preservation unit is all inequality, preserve the view data of described any one I frame data and the storage address information of described any one I frame data;
Described image motion detecting unit, be further used for before described any one the I frame data of described video data cell stores, the view data that the view data and the still image I frame group of described any one I frame data are preserved each I frame data of preserving in the unit is carried out the image motion detection respectively, and testing result is sent to time index unit and video data memory cell;
Described video data memory cell, before described any one the I frame data of storage, further, do not store described any one I frame data when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit is identical according to the testing result of image motion detecting unit;
Described time index is preserved the unit, further according to the testing result of image motion detecting unit, when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit is identical, with described one of them I frame data of time index sensing of these any one I frame data.
Memory device of the present invention, wherein, described video data memory cell is further used for the judged result according to the image motion detecting unit, in buffer unit the image of two adjacent I frame data inequality in, all video datas between the last I frame data in these two I frame data and this two I frame data are all stored.
Memory device of the present invention wherein also comprises the playback controls unit,
Described playback controls unit, be used for preserving the time index that the unit is preserved according to time index, in the video data memory cell, retrieve corresponding video data, and it is whether identical according to the image of the identification information judgment video data of time index, if it is identical, then in this time index in indicated time period time of reception of two I frame data of whole story point, the video data of described correspondence is repeated to export to playback apparatus according to predetermined frame rate; Otherwise, directly export the video data of described correspondence to playback apparatus.
From the above as can be seen, the processing method of video data provided by the invention and memory device, video data is carried out buffer memory, and the image of video data is judged by the image motion detection algorithm, only preserve wherein frame I frame data for the identical video-data fragment of image, thereby reduced the required memory space of video data storage; And the present invention further compares the image between the video-data fragment, for the identical video-data fragment of image, does not store any video data, thereby has further reduced the video data stored amount, has saved the cost of video monitoring system.
Description of drawings
Fig. 1 is the structural representation of the video monitoring system of prior art;
Fig. 2 is the flow chart of the processing method of the described video data of the embodiment of the invention;
Fig. 3 is the example schematic of the video data sequences of buffer memory in the embodiment of the invention;
Fig. 4 is the schematic diagram after according to the processing method of video data of the present invention video data among Fig. 3 being stored;
Fig. 5 is the structural representation of the described memory device of the embodiment of the invention.
Embodiment
Because in the practical application scene of video monitoring system, place such as bank, warehouse for example, in most of the time, the image that camera head collected all is identical, does not change.Therefore, memory device does not need all video datas of preserving.Whether thinking of the present invention is to be identical judging to the image between the video data, if identical, then only store wherein one-frame video data, and when image changes, just video data is all stored, thereby reached the purpose of saving memory space.
At present compression of video data encryption algorithm, no matter be (the MPEG of motion picture panel of expert, Moving Pictures Experts Group) the H.26x series of series or International Telecommunication Union-Telecommunication Standardization Sector (ITU-T), the video data behind the compressed encoding has all adopted the compound mode of I frame, B frame and P frame.Wherein, the I frame adopts intraframe coding method, has only utilized the spatial coherence in the single-frame images, and compression multiple is relatively low; P frame and B two field picture adopt inter-frame encoding, have utilized the correlation on the room and time simultaneously, thereby have improved compression ratio greatly.Because the I frame is periodically to appear in the sequence of image frames, and preserved the mass data of original image in the I frame, thereby can be by the I frame data in the video data that receives are decoded, obtain the view data of I frame data, view data to continuous I frame data compares, and judges whether image is identical.
Please refer to Fig. 2, the processing method of the described video data of the embodiment of the invention may further comprise the steps when video data is stored:
Step 21, the video data behind reception and the buffer memory compressed encoding, and the time of reception of writing down every frame video data simultaneously.
Here, the video data that is buffered is to handle I, B, the P frame sequence that obtains through compressed encoding, and Coding Compression Algorithm commonly used comprises MEPG series and H.264 waits.Memory device receives and the above-mentioned video data of buffer memory, and the time of reception when noting memory device simultaneously and receiving every frame video data.
Step 22 is decoded to the I frame data in the video data of institute's buffer memory, obtains the view data of I frame data.
Here, the Coding Compression Algorithm that is adopted during at video data compression as MEPG or H.264 wait, adopts corresponding decoding algorithm that the I frame data are decoded, and obtains the view data of I frame data.Because the present invention only compares the view data of I frame data, therefore can only decode accordingly, to reduce expending of required operation time of decoding and processor resource to the I frame data.
Step 23 is carried out image motion to the view data of adjacent I frame data and is detected, and judges whether the image of adjacent I frame data is identical.
Here, the view data of adjacent I frame data is carried out image motion detect, can adopt motion detection algorithms such as frame difference method, profile comparison method, estimation method, background subtraction method or time differencing method.The thought of above-mentioned motion detection algorithm all is that the view data of two I frame data is sampled, and data from the sample survey is compared, and judges according to the comparative result of data from the sample survey whether the image between above-mentioned two I frame data changes.Consider that from the control logic complexity of realization and to the required angle of memory device the present invention preferably adopts frame difference method.
Step 24, according to the judged result of step 23 video data of institute's buffer memory is stored:
If the image of two adjacent I frame data is inequality, then all video datas between the last I frame data in these two I frame data and this two I frame data are all stored, be institute's video data stored holding time index simultaneously, and comprise time of reception of described last I frame data in this time index, and the image that is used to identify the pairing video data of this time index is the identification information that changes;
If in the video-data fragment of point at the whole story for different I frame data, the image of all adjacent I frame data is all identical, then only store any one I frame data in this video-data fragment, and other video datas are abandoned, preserve the time index that is used to retrieve I frame data of being stored simultaneously, comprise the initial I frame data of this video-data fragment in this time index and finish time of reception of I frame data, and the image that is used to identify the pairing video data of this time index is identical identification information.
For the above-mentioned processing method of clearer explanation, below describe by way of example, please refer to Fig. 3, the video data frame sequence of supposing buffer memory is I 1B 1P 1... I mB mP m... I nB nP n, correspond respectively to the T time of reception 1... T m... T n, wherein, above-mentioned B 1, P 1, B m, P mHave a plurality of Deng frame.Suppose I 1To I mImage all be identical, and I mAnd I nBetween image all change, the present invention stores above-mentioned video data in such a way:
At first, the I frame data of buffer memory are decoded, obtain the view data of I frame data; Then, the view data of I frame data is carried out image motion one by one detect, for example, to I 1And I 2View data carry out image motion and detect, judge I 1And I 2Image be identical; To I 2And I 3View data carry out image motion and detect, judge I 2And I 3Image also be identical, when detecting I mDuring the place, judge I mAnd I M+1Between image change, this moment can obtain one from I 1To I mVideo-data fragment, the image of arbitrarily adjacent I frame data all is identical in this video-data fragment, therefore only need store one of them I frame data for this video-data fragment, as storage I 1Or I m, then all abandon for other video datas; Be this I frame data holding time index of being stored simultaneously, and in this time index, comprise the T time of reception of the initial I frame of above-mentioned video-data fragment 1With the T time of reception that finishes the I frame m, and the image that is used to identify the video data that this time index retrieves is identical identification information.
Because I mTo I nBetween image between arbitrarily adjacent two I frame data all changes, so with T mTo T nBetween all video datas all store, and be institute's video data stored holding time index simultaneously, for example, to I mAnd I M+1View data carry out image motion when detecting because the image between these two I frame data changes, so with I m, B mAnd P mAll storages, while holding time index, and in time index, comprise I mThe T time of reception m, and the image that is used to identify the video data that this time index retrieves is the identification information that changes.
Figure 4 shows that the result who the video data among Fig. 3 is stored according to above-mentioned processing method, wherein, first row are time indexs of institute's video data stored in the memory device among the figure, and secondary series is the video data of each time index correspondence.As can be seen from Figure 4, the processing method of video data of the present invention is only preserved wherein a kind of I frame data for the identical video data of image, abandoned the video data of a large amount of repetitions, thereby the effective memory space of conserve memory equipment, thereby the system equipment cost reduced.
The storing process of the processing method of video data of the present invention to video data more than has been described.It is to be noted, the image of the end I frame data of the video-data fragment in above-mentioned the giving an example and next the I frame data adjacent with this end I frame data changes, but the present invention does not limit to this situation, and the image of all adjacent I frame data is that this identical condition gets final product only to need this video-data fragment to satisfy wherein.Obviously, image at the initial I frame data of video-data fragment and the last I frame adjacent with these initial I frame data is inequality, and when the image of the end I frame of this video-data fragment and next I frame data adjacent with this end I frame data also was inequality, the present invention can save memory space largely.
Because in the practical application scene of video monitoring system, the image that camera head collects is static image mostly.Even the image of appearance activity in the application scenarios, after this movable image, application scenarios returns to previous static image usually again, for example, ATM place in bank, the image when nobody withdraws the money is normally identical with the image that the user withdraws the money after leaving.Therefore, the present invention can also compare present image with the image of previously stored video data, if identical, then the time index of the video data of present image can be pointed to previously stored video data, and need not store any video data, thereby can further save memory space.
For this reason, the present invention is provided with a still image I frame group in buffer memory, be used to preserve the view data of I frame data and the storage address information of these I frame data.Here, the size of still image I frame group can be provided with according to concrete application scenarios and cache size.
Like this, in step 24, store before any one I frame data of described video-data fragment, the present invention further carries out image motion respectively with the view data of each I frame data of preserving in the view data of described any one I frame data and the still image I frame group and detects, and judges whether image is identical:
If all inequality, then store described any one I frame data, and be this any one I frame data holding time index; Simultaneously, the view data of described any one I frame data and the storage address information of described any one I frame data are kept in the still image I frame group, and the view data of the I frame data of preserving the earliest in the deletion still image I frame group and the storage address information of the I frame data that this is preserved the earliest.Make still image I frame group can not take too much spatial cache like this;
If described any one I frame data are identical with the image of certain I frame data in the still image I frame group, then according to the storage address information of described certain I frame data, the time index of these any one I frame data is pointed to described certain I frame data, and do not store described any one I frame data
Obviously, when initial condition, described still image I frame group is empty, when according to the method described above the data in described any one I frame data and this still image I frame group being compared, result all inequality must be obtained, thereby the view data of described any one I frame data and the storage address information of these any one I frame data will be in still image I frame group, preserved.
Above-mentioned comparison procedure below is described by way of example:
For example, preserved the view data of 3 I frame data and the storage address information of corresponding I frame data in the current still image I frame group, according to the time order and function order, the Ib frame that these 3 I frame data are respectively time period Ta-Tb, the Ik frame of Tj-Tk time period, the Iw frame of Tu-Tw time period; In step 24, obtain the image of Tp-Tq all adjacent I frame data in the time period when all identical, will be to any one I frame data of Tp-Tq time period, Iq for example, store, at this moment, the present invention is before storage Iq, further each view data of preserving in the view data of Iq and the still image I frame group being carried out moving image respectively detects, for example can according to Tp-Tq time period order from the close-by examples to those far off (as Iw, Ik, Ib) compare respectively: if Iq and certain I frame data wherein, Iw for example, image identical, then directly according to the storage address information of Iw, the time index of Tp-Tq time period is pointed to Iw, and no longer store any I frame data; If the image of each view data of Iq and still image I frame group is all inequality, at this moment, couple Iq stores according to step 24, and further the view data of Iq and the storage address information of Iq are kept in the still image I frame group, delete the view data of the Ib that preserves the earliest in the still image I frame group and the storage address information of Ib simultaneously.
The processing method of video data of the present invention is further comprising the steps of when video data stored is retrieved playback:
Whether step 31 retrieves corresponding video data according to time index, and identical according to the image of the video data of the described correspondence of identification information judgment in this time index, if identical, then enters step 32; Otherwise enter step 33.
Step 32, obtain this identical time period that image continued with the time of reception that finishes the I frame data time of reception according to initial I frame data in this time index, in this identical time period that image continued, the video data of described correspondence is repeated output according to predetermined frame rate.
Step 33 directly exports the video data of described correspondence to the playback of outside.
For example, when detecting playback, retrieve corresponding video data, when identification information when to indicate the image of this video data be identical image, as when being played back to T by time index for video data shown in Figure 4 1-T mDuring the place, by with T mDeduct T 1Can obtain this identical time period that image continued, thus in this time period with I mRepeat to export to outside playback apparatus according to predetermined frame rate; And when being played back to T mOr T M+1,, therefore the video data of this time index correspondence is directly exported to the playback apparatus of outside because the identification information indicating image changes in when place.Because in the practical video data transmission procedure, in order to guarantee the quality of image, the video data of per second transmission must guarantee certain speed, for (the NTSC of U.S. international television standard committee, National Television System Committee) this speed of standard was 30 frame/seconds, then was 25 frame/seconds for line-by-line inversion (PAL, Phase Alternating Line) standard, therefore, above-mentioned predetermined frame rate normally 30 frame/seconds or 25 frame/seconds.
Based on the processing method of above-mentioned video data, the present invention also provides a kind of memory device.As shown in Figure 5, this memory device 500 comprises: buffer unit 51, decoding unit 52, image motion detecting unit 53, video data memory cell 54, time index are preserved unit 55 and playback controls unit 56, wherein, buffer unit also comprises still image I frame group preservation unit 57
Described buffer unit 51, be used to receive and the buffer memory compressed encoding after video data, the time of reception of writing down every frame video data simultaneously.Here, the video data that buffer unit 51 is received is that described Coding Compression Algorithm comprises MEPG or H.264 waits through the video data behind the Coding Compression Algorithm compressed encoding.
Described decoding unit 52 is used for the I frame data of buffer unit 51 are decoded, and obtains the view data of I frame data.
Described image motion detecting unit 53, the view data that is used for I frame data that decoding unit is obtained is carried out image motion and is detected, whether the image of judging adjacent I frame data is identical, and judged result is sent to video data memory cell 54 and time index preservation unit 55.Here, can pass through frame difference method, profile comparison method, estimation method, background subtraction method or time differencing method etc. and judge whether the image of adjacent I frame data is identical.
Described video data memory cell 54, be used for judged result according to image motion detecting unit 53, for the video-data fragment of putting the whole story in the buffer unit 51 to different I frame data, if the image of all adjacent I frame data is all identical in this video-data fragment, then store any one I frame data in this video-data fragment.This video data memory cell 54, can also be further used for judged result according to image motion detecting unit 53, when the image in buffer unit 51 between adjacent two I frame data is inequality, all video datas between the last I frame data in these two I frame data and this two I frame data are all stored.
Described time index is preserved unit 55, be used for the time of reception according to the video data of video data memory cell 54 video data stored and buffer unit 51 records, preservation is used for the time index of the video data of retrieve video data storage cell 54, and in time index, preserve the whether identical identification information of image be used to identify video data, and in the time index of the identical video-data fragment of image, preserve the time of reception of two I frame data of this video-data fragment point at the whole story; In the time index of the video data of image change, the time of reception of preserving the I frame data in this video data.
Described playback controls unit 56, be used for preserving the time index that unit 55 is preserved according to time index, in video data memory cell 54, retrieve corresponding video data, and it is whether identical according to the image of the identification information judgment video data of time index, if it is identical, then in this time index in indicated time period time of reception of two I frame data of whole story point, the video data of described correspondence is repeated to export to playback apparatus according to predetermined frame rate; Otherwise, directly export the video data of described correspondence to playback apparatus.Here, described predetermined frame rate per second 25 frames that are pal mode or per second 30 frames of TSC-system formula.
Here, further comprise still image I frame group preservation unit 57 in the buffer unit 51.This still image I frame group is preserved unit 57 and is used to preserve the view data of I frame data and the storage address information of these I frame data, and according to the testing result of image motion detecting unit 53, when the image of the I frame data in described any one I frame data and still image I frame group preservation unit 56 is all inequality, preserve the view data of described any one I frame data and the storage address information of described any one I frame data.
Described image motion detecting unit 53, be further used for before described any one the I frame data of described video data memory cell 54 storages, the view data that the view data and the still image I frame group of described any one I frame data are preserved each I frame data of preserving in the unit 57 is carried out the image motion detection respectively, and testing result is sent to time index unit 55 and video data memory cell 54.
Described video data memory cell 54, before described any one the I frame data of storage, further, do not store described any one I frame data when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit is identical according to the testing result of image motion detecting unit 53;
Described time index is preserved unit 55, further according to the testing result of image motion detecting unit 53, when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit 57 is identical, the time index of these any one I frame data is pointed to described one of them I frame data
In sum, the processing method of the described video data of the embodiment of the invention and memory device carry out buffer memory to the video data that receives, and the video data of the repetition in the buffer memory is only stored a wherein frame, thereby saved a large amount of memory spaces, reduced the system equipment cost.
The processing method of video data of the present invention and memory device, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (8)

1. video data handling procedure is characterized in that may further comprise the steps:
Steps A, the video data behind reception and the buffer memory compressed encoding;
Step B decodes to the video data of institute's buffer memory, obtains the view data of video data;
Step C carries out image motion to the view data of adjacent video data and detects, and judges whether the image of adjacent video data is identical;
Step D, in video-data fragment the image of all adjacent video data all identical in, store any one video data in this video-data fragment;
Among the described step B, described video data to institute's buffer memory is decoded, and is that the I frame data in the video data are decoded, and obtains the view data of I frame data; Among the described step C, described adjacent video data is adjacent I frame data; Among the described step D, the whole story of described video-data fragment, point was different I frame data, and described any one video data is any one I frame data;
The still image I frame group of the storage address information of a view data that is used to preserve the I frame data and these I frame data wherein, further is set;
Among the described step D, before described any one the I frame data of storage, further the view data of each I frame data of preserving in the view data of described any one I frame data and the still image I frame group is carried out image motion respectively and detects, judge whether image is identical:
If it is all inequality, then store described any one I frame data, and the view data of described any one I frame data and the storage address information of described any one I frame data be kept in the still image I frame group, and the view data of the I frame data of preserving the earliest in the deletion still image I frame group and the storage address information of the I frame data that this is preserved the earliest;
If the image of one of them the I frame data in these any one I frame data and the still image I frame group is identical, then the time index with these any one I frame data points to described one of them I frame data.
2. the method for claim 1 is characterized in that, among the described step C, according to frame difference method, profile comparison method, estimation method, background subtraction method or time differencing method, the view data of adjacent I frame data is carried out image motion detect.
3. method as claimed in claim 2 is characterized in that also comprising after the described step C:
Step e when the image of two adjacent I frame data is inequality, is all stored all video datas between the last I frame data in these two I frame data and this two I frame data.
4. method as claimed in claim 3 is characterized in that,
In steps A, further comprise: the time of reception of writing down every frame video data;
In step D, further comprise: preserve the time index that is used to retrieve any one I frame data of being stored, comprise the time of reception of two I frame data of described video-data fragment point at the whole story in this time index, and the image that is used to identify the pairing video data of this time index is identical identification information;
In step e, further comprise: preserve the time index that is used to retrieve institute's video data stored, and comprise time of reception of described last I frame data in this time index, and the image that is used to identify the pairing video data of this time index is the identification information that changes.
5. method as claimed in claim 4 is characterized in that also comprising:
Retrieve corresponding video data according to time index, and it is whether identical according to the image of the video data of the described correspondence of identification information judgment in this time index, if, then in this time index in indicated time period time of reception of two I frame data of whole story point, the video data of described correspondence is repeated to export to outside playback apparatus according to predetermined frame rate; Otherwise, directly export the video data of described correspondence to outside playback apparatus.
6. the memory device of a video data is characterized in that comprising: buffer unit, decoding unit, image motion detecting unit and video data memory cell, wherein,
Described buffer unit, be used to receive and the buffer memory compressed encoding after video data;
Described decoding unit is used for the video data of buffer unit is decoded, and obtains the view data of video data;
Described image motion detecting unit, the view data that is used for video data that decoding unit is obtained is carried out image motion and is detected, and judges whether the image of adjacent video data is identical, and judged result is sent to the video data memory cell;
Described video data memory cell, be used for judged result according to the image motion detecting unit, for the video-data fragment in the buffer unit,, then store any one video data in this video-data fragment if the image of all adjacent video data is all identical in this video-data fragment;
Wherein, described decoding unit is further used for the I frame data in the buffer unit are decoded, and obtains the view data of I frame data;
Described image motion detecting unit, the view data that is further used for I frame data that decoding unit is obtained is carried out image motion and is detected, and judges whether the image of adjacent I frame data is identical, and judged result is sent to the video data memory cell;
Described video data memory cell, be further used for judged result according to the image motion detecting unit, be the video-data fragment of different I frame data for putting the whole story in the buffer unit, if the image of all adjacent I frame data is all identical in this video-data fragment, then store any one I frame data in this video-data fragment;
Wherein, described memory device also comprises time index preservation unit,
Described buffer unit, the time of reception that is further used for writing down every frame video data;
Described time index is preserved the unit, according to the time of reception of the video data that writes down in the video data of video data cell stores and the buffer unit, preservation is used for the time index of the video data of retrieve video data storage cell, and in time index, preserve the whether identical identification information of image be used to identify video data, and in the time index of the identical video-data fragment of image, preserve the time of reception of two I frame data of this video-data fragment point at the whole story; In the time index of the video data of image change, the time of reception of preserving the I frame data in this video data;
Described buffer unit further comprises still image I frame group preservation unit;
Described still image I frame group is preserved the unit, be used to preserve the view data of I frame data and the storage address information of these I frame data, and according to the testing result of image motion detecting unit, when the image of the I frame data in described any one I frame data and still image I frame group preservation unit is all inequality, preserve the view data of described any one I frame data and the storage address information of described any one I frame data;
Described image motion detecting unit, be further used for before described any one the I frame data of described video data cell stores, the view data that the view data and the still image I frame group of described any one I frame data are preserved each I frame data of preserving in the unit is carried out the image motion detection respectively, and testing result is sent to time index unit and video data memory cell;
Described video data memory cell, before described any one the I frame data of storage, further, do not store described any one I frame data when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit is identical according to the testing result of image motion detecting unit;
Described time index is preserved the unit, further according to the testing result of image motion detecting unit, when the image of one of them the I frame data in described any one I frame data and still image I frame group preservation unit is identical, with described one of them I frame data of time index sensing of these any one I frame data.
7. memory device as claimed in claim 6, it is characterized in that, described video data memory cell is further used for the judged result according to the image motion detecting unit, in buffer unit the image of two adjacent I frame data inequality in, all video datas between the last I frame data in these two I frame data and this two I frame data are all stored.
8. memory device as claimed in claim 7 is characterized in that also comprising the playback controls unit,
Described playback controls unit, be used for preserving the time index that the unit is preserved according to time index, in the video data memory cell, retrieve corresponding video data, and it is whether identical according to the image of the identification information judgment video data of time index, if it is identical, then in this time index in indicated time period time of reception of two I frame data of whole story point, the video data of described correspondence is repeated to export to playback apparatus according to predetermined frame rate; Otherwise, directly export the video data of described correspondence to playback apparatus.
CN 200710099018 2007-05-08 2007-05-08 The processing method of video data and memory device Active CN100589567C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710099018 CN100589567C (en) 2007-05-08 2007-05-08 The processing method of video data and memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710099018 CN100589567C (en) 2007-05-08 2007-05-08 The processing method of video data and memory device

Publications (2)

Publication Number Publication Date
CN101060624A CN101060624A (en) 2007-10-24
CN100589567C true CN100589567C (en) 2010-02-10

Family

ID=38866478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710099018 Active CN100589567C (en) 2007-05-08 2007-05-08 The processing method of video data and memory device

Country Status (1)

Country Link
CN (1) CN100589567C (en)

Families Citing this family (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719979B (en) * 2009-11-27 2011-08-03 北京航空航天大学 Video object segmentation method based on time domain fixed-interval memory compensation
CN101867796B (en) * 2010-07-09 2013-08-14 浙江宇视科技有限公司 Method and device for monitoring video
CN102761733A (en) * 2011-04-29 2012-10-31 富泰华工业(深圳)有限公司 Monitoring system and video data storage method
CN102780875A (en) * 2012-07-13 2012-11-14 北京天地玛珂电液控制系统有限公司 Mine network type video monitor
CN102932277B (en) * 2012-10-12 2015-05-13 深信服网络科技(深圳)有限公司 Data cache method and system
CN103945230A (en) * 2013-01-18 2014-07-23 鸿富锦精密工业(深圳)有限公司 Film transmitting system and method
JP5906227B2 (en) 2013-10-21 2016-04-20 キヤノン株式会社 Image forming apparatus, control method therefor, and computer program
CN103647686B (en) * 2013-12-19 2017-02-08 北京伊神华虹系统工程技术有限公司 Data monitoring and management system and method
CN103747218A (en) * 2014-01-27 2014-04-23 上海朗尚科贸有限公司 Automatic video monitoring storing device
CN103974041B (en) * 2014-05-14 2018-09-14 浙江宇视科技有限公司 A kind of video cycle management method and device
CN104010151A (en) * 2014-06-13 2014-08-27 深圳市景阳科技股份有限公司 Method for compressing monitoring video file
CN104320609A (en) * 2014-09-22 2015-01-28 南开大学 Low storage monitoring method based on optical correlation
CN104363403B (en) * 2014-11-14 2017-12-15 浙江宇视科技有限公司 The storage method and storage device of video data in a kind of video monitoring system
CN107483860B (en) * 2014-12-10 2020-12-22 四川蜀天信息技术有限公司 Security monitoring video storage and playback method suitable for improving case solving efficiency
CN104954718A (en) * 2015-06-03 2015-09-30 惠州Tcl移动通信有限公司 Mobile intelligent terminal and image recording method thereof
CN105306942B (en) * 2015-10-19 2019-02-01 上海增容数据科技有限公司 A kind of coding method of video encoder, apparatus and system
CN105376580B (en) * 2015-12-28 2018-08-28 上海集成电路研发中心有限公司 A kind of method for compressing image
CN105898358B (en) * 2016-04-08 2019-03-12 浙江宇视科技有限公司 The sending method and device of video data
CN107360386A (en) * 2016-05-09 2017-11-17 杭州登虹科技有限公司 Reduce the method for multi-medium file size
CN105933633A (en) * 2016-05-20 2016-09-07 深圳市大拿科技有限公司 Cloud storage method for content optimization of cloud video
CN105959633A (en) * 2016-05-26 2016-09-21 北京志光伯元科技有限公司 Video transmission method and device
CN107547817B (en) * 2016-09-12 2021-05-14 郑州蓝视科技有限公司 Video storage and backup method thereof
CN106469027A (en) * 2016-09-13 2017-03-01 深圳市鼎阳科技有限公司 A kind of method and device of limited storage space memory storage historical trend data
CN108062507B (en) * 2016-11-08 2024-02-27 中兴通讯股份有限公司 Video processing method and device
WO2018152670A1 (en) * 2017-02-21 2018-08-30 深圳实现创新科技有限公司 Big data management method and device for security monitoring
CN107493458A (en) * 2017-09-13 2017-12-19 郑州云海信息技术有限公司 A kind of method and system for accessing monitor video
CN108063914B (en) * 2017-11-22 2020-10-16 国政通科技股份有限公司 Method and device for generating and playing monitoring video file and terminal equipment
CN110312095B (en) * 2018-03-20 2021-10-08 瑞昱半导体股份有限公司 Image processing apparatus and image processing method
CN108540743B (en) * 2018-03-23 2020-11-06 佛山市台风网络科技有限公司 Image data storage method and system based on video monitoring
CN109064582A (en) * 2018-07-04 2018-12-21 北京车和家信息技术有限公司 CAN date storage method, device, server and vehicle
CN109246378A (en) * 2018-08-27 2019-01-18 延安大学 A kind of video monitoring redundancy filters out instrument and its application method
CN109618227B (en) * 2018-10-26 2021-04-20 深圳市野生动物园有限公司 Video data storage method and system
CN111510724A (en) * 2019-01-31 2020-08-07 北京小犀智能科技中心(有限合伙) Equivalent video compression storage method and system based on image feature extraction
CN110119730A (en) * 2019-06-03 2019-08-13 齐鲁工业大学 A kind of monitor video processing method, system, terminal and storage medium
CN110505534B (en) * 2019-08-26 2022-03-08 腾讯科技(深圳)有限公司 Monitoring video processing method, device and storage medium
CN110636257B (en) * 2019-08-28 2021-01-08 视联动力信息技术股份有限公司 Monitoring video processing method and device, electronic equipment and storage medium
CN111866457B (en) * 2020-07-14 2022-07-12 广州市宏视电子技术有限公司 Monitoring image processing method, electronic device, storage medium and system
CN113507636A (en) * 2021-06-30 2021-10-15 中标慧安信息技术股份有限公司 Data transmission control method and device between video end and storage end in Internet of things
CN113572983B (en) * 2021-08-30 2022-12-20 深圳市万佳安物联科技股份有限公司 Cloud video processing method and system
CN113946701B (en) * 2021-09-14 2024-03-19 广州市城市规划设计有限公司 Dynamic updating method and device for urban and rural planning data based on image processing
CN114710674B (en) * 2022-06-06 2022-08-30 青岛亨通建设有限公司 Building construction monitoring data storage method
CN115514985A (en) * 2022-09-20 2022-12-23 广东省宏视智能科技有限公司 Video processing method and device, electronic equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
动态侦测技术及其在自控领域中的应用. 路林吉,彭强.自动化仪表 ,第22卷第10期. 2001
动态侦测技术及其在自控领域中的应用. 路林吉,彭强.自动化仪表,第22卷第10期. 2001 *
运动检测技术在数字化监控中的实现和应用. 何峻峰.中国安防产品信息,第2004年第4期. 2004
运动检测技术在数字化监控中的实现和应用. 何峻峰.中国安防产品信息,第2004年第4期. 2004 *

Also Published As

Publication number Publication date
CN101060624A (en) 2007-10-24

Similar Documents

Publication Publication Date Title
CN100589567C (en) The processing method of video data and memory device
US11423942B2 (en) Reference and non-reference video quality evaluation
US6510554B1 (en) Method for generating information sub-streams for FF/REW applications
US9426477B2 (en) Method and apparatus for encoding surveillance video
US6658199B1 (en) Method for temporally smooth, minimal memory MPEG-2 trick play transport stream construction
TW245871B (en) Method and apparatus for efficient addressing of dram in a video decompression processor
CN105991976B (en) Method and system for generating a video sequence of events and camera comprising such a system
JP3302939B2 (en) Video signal decompressor for independently compressed even and odd field data
US10109316B2 (en) Method and apparatus for playing back recorded video
EP1107613A2 (en) Picture recording apparatus and methods
WO2003052951A1 (en) Method and apparatus for motion detection from compressed video sequence
US20080279280A1 (en) Moving picture decoding integrated circuit
JPH06236439A (en) Animation image scene detecting device
US20060210175A1 (en) Method and apparatus for detecting motion in MPEG video streams
JP6686541B2 (en) Information processing system
JPH03216089A (en) Inter-frame prediction coding device and decoding device
CN107800989B (en) Video display method and system based on dynamic frame rate detection and network video recorder
JPH06205395A (en) Memory device for dynamic image signal processor using movement compensation
US7403566B2 (en) System, computer program product, and method for transmitting compressed screen images from one computer to another or many computers
CN112449182A (en) Video encoding method, device, equipment and storage medium
CN100346644C (en) Method for realizing digital video frequency cut-off screen
US6275535B1 (en) Method and device for decoding an image compressed in particular according to the MPEG standards, especially a bidirectional image
CN101523913A (en) Digital display device for having DVR system and of the same method
JPH06350995A (en) Moving picture processing method
JP2007180970A (en) Video processor and monitoring camera system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: ZHEJIANG UNIVIEW TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUASAN COMMUNICATION TECHNOLOGY CO., LTD.

Effective date: 20120326

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20120326

Address after: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 building two or three layer A C

Patentee after: Zhejiang Uniview Technology Co., Ltd.

Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310

Patentee before: Huasan Communication Technology Co., Ltd.