CN103024437B - Video data integrity detection method - Google Patents
Video data integrity detection method Download PDFInfo
- Publication number
- CN103024437B CN103024437B CN201210578870.8A CN201210578870A CN103024437B CN 103024437 B CN103024437 B CN 103024437B CN 201210578870 A CN201210578870 A CN 201210578870A CN 103024437 B CN103024437 B CN 103024437B
- Authority
- CN
- China
- Prior art keywords
- video data
- information
- integrity detection
- video
- timestamp information
- 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
Links
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
The invention provides a video data integrity detection method. The video data integrity detection method includes the steps: 1, extracting timestamp information of key frames of video data when a storage device receives the video data; 2, forming an index according to the timestamp information obtained in the step 1; 3, judging whether the index is continuous or not in terms of time; if yes, confirming integrity of the video data; and if not, confirming non-integrity of the video data; and 4, processing the integral video data, finally forming integrity detection information, and caching the information into a memory of the PC machine. The index of video files is based on the key frames, integrity detection is based on the index of the key frames, and accordingly high-precision integrity detection is achieved. Graphic displaying allows users to see the integrity condition of the video data and provides the users with fine user experience.
Description
Technical field
The present invention relates to the technical field of data processing in network service, specifically, relate to a kind of video data integrity detection method.
Background technology
Video Supervision Technique has the advantages such as authenticity, reliability and popularity, is widely used in all trades and professions such as security protection, traffic, finance, education.The analog video data that the equipment such as usual video camera collect, after the digital coding compression process of video encoder, is transferred to for displaying live view on network on the one hand, is then stored in by this video data on the other hand in memory device for follow-up extraction and playback.
The significantly reduction of cost of video storage, although greatly facilitate the development of video monitoring system, the video camera rolled up but becomes the very large burden of of real-time video monitoring, and this makes looking into of history video become extremely important.The prerequisite that history video is looked into be history video data by complete documentation, and actual conditions are: because disk is read and write by long term frequent, the damage probability of storage medium improves greatly, and whether video data is intactly stored often can not ensure.Therefore, how adopting technological means to ensure the integrality of video data, is the current problem demanding prompt solution faced of each system integration producer.
Summary of the invention
The object of the invention is for the deficiencies in the prior art, thus provide a kind of video data integrity detection method, the method can realize the integrity detection of video data exactly.
To achieve these goals, the technical solution adopted in the present invention is: a kind of video data integrity detection method, and the method comprises the following steps: step 1: during memory device receiving video data, extracts the timestamp information of video data key frame;
Step 2: form index information with the timestamp information obtained in step 1;
Step 3: judge whether index information is continuous in time, if continuously, then video data is complete, if discontinuous, then video data is imperfect;
Step 4: integrality video data is processed, namely perform in described step 3 described judge index information in time whether continuously after,
If a video data is complete, then extracts the timestamp information of the video received according to index information, and the timestamp information obtained is merged;
If b video data is imperfect, then regenerate a new timestamp information;
Final formation integrity detection information, and by this information cache in the internal memory of PC;
Wherein, described step 1 is performed by described memory device, and described timestamp information is sent to the PC be connected with described memory device by described memory device, and described step 2 is performed by described PC, and described PC is according to the described index information obtained, and performs described step 3.
Based on above-mentioned, after execution step 4, stop video record if exist, then truncation is done to timestamp information, when again recording a video, then regenerating a new timestamp information; If history video file is deleted, according to deleted file and index information, timestamp information is at first deducted the time of this deletion video file; Then re-execute described step 4.
Based on above-mentioned, integrity detection information shows in patterned mode on described PC as video data integrity detection result, wherein, is expressed as different colors continuously with discontinuous.
Hinge structure of the present invention has substantive distinguishing features and progress, and specifically, in the present invention, the index of video file is based on key frame, and the detection of integrality, based on the index of key frame, achieves high-precision integrity detection in the mode of key frame index; Employing patterned way shows, and can allow the open-and-shut integrality situation seeing video data of user, and Consumer's Experience is good.
Accompanying drawing explanation
Fig. 1 is the use FB(flow block) of the inventive method.
Embodiment
Below by embodiment, technical scheme of the present invention is described in further detail.
A kind of video data integrity detection method, comprises the following steps:
Step 1: during memory device receiving video data, extracts the timestamp information of video data key frame;
Step 2: form index information with the timestamp information obtained in step 1;
Step 3: judge whether index information is continuous in time, if continuously, then video data is complete, if discontinuous, then video data is imperfect.
Based on above-mentioned, described step 1 is performed by described memory device, and described timestamp information is sent to the PC be connected with described memory device by described memory device, and described step 2 is performed by described PC, and described PC is according to the described index information obtained, and performs described step 3.
Based on above-mentioned, integrity detection information can show in patterned mode as video data integrity detection result on described PC, wherein, continuously and be discontinuously expressed as different colors, the open-and-shut integrality situation seeing video data of user can be allowed.
When concrete use the method carries out actual video data integrity detection, as shown in Figure 1.The startup of server of described memory device, start to start integrity detection algorithm, perform described step 1-3, then step 4 is performed: integrality video data is processed, perform in described step 3 described judge index information in time whether continuously after, if video data is complete, then extract the timestamp information of the video received according to index information; The timestamp information obtained is merged; If video data is imperfect, then regenerate a new timestamp information, then form integrity detection information, and by this information cache in the internal memory of described PC.Then wait for the request of user, if any request, then the integrity detection information be cached in described PC internal memory be sent to requesting party and carry out graphic software platform, otherwise continue to wait for.In the process, if having break of video to record a video or the operation of deleting history video file, then again integrality video data is processed, shown, otherwise enter the cycle to be detected such as next; Wherein, if there is history video file deleted, then according to deleted file and index information, timestamp information is at first deducted the time of this deletion video file; If there is break of video video recording, then truncation being done to timestamp information, when again recording a video, regenerating a new timestamp information; Wherein, an integrity detection cycle will start integrity detection algorithm once, for an integrity detection, the integrity detection information of all videos data will be extracted, increasing amount adjustment will be done based on this at the integrity detection information-change of all video datas thereafter, take this measure mainly in order to avoid non-machine factor, as manually deleted by mistake, the video data caused lacks the situation causing video data integrity detection result and actual result not to be inconsistent.
By the setting cycle of operation, the server of described memory device periodically runs integrity detection algorithm, rebuild by the index of the server background of described memory device, and do increasing amount adjustment on this basis, form video data integrity detection result, by result cache in the internal memory of described PC, when there being user to ask, namely video data integrity detection result can be obtained rapidly.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the field are to be understood that: still can modify to the specific embodiment of the present invention or carry out equivalent replacement to portion of techniques feature; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request of the present invention protection.
Claims (3)
1. a video data integrity detection method, is characterized in that, the method comprises the following steps:
Step 1: during memory device receiving video data, extracts the timestamp information of video data key frame;
Step 2: form index information with the timestamp information obtained in step 1;
Step 3: judge whether index information is continuous in time, if continuously, then video data is complete, if discontinuous, then video data is imperfect;
Step 4: integrality video data is processed, namely perform in described step 3 described judge index information in time whether continuously after,
If a video data is complete, then extracts the timestamp information of the video received according to index information, and the timestamp information obtained is merged;
If b video data is imperfect, then regenerate a new timestamp information;
Final formation integrity detection information, and by this information cache in the internal memory of PC;
Wherein, described step 1 is performed by described memory device, and described timestamp information is sent to the PC be connected with described memory device by described memory device, and described step 2 is performed by described PC, and described PC is according to the described index information obtained, and performs described step 3.
2. video data integrity detection method according to claim 1, is characterized in that: after execution step 4, stop video record, then do truncation to timestamp information if exist, and when again recording a video, then regenerates a new timestamp information; If history video file is deleted, according to deleted file and index information, timestamp information is at first deducted the time of this deletion video file; Then re-execute described step 4.
3. video data integrity detection method according to claim 1, it is characterized in that: integrity detection information shows in patterned mode on described PC as video data integrity detection result, wherein, different colors is expressed as with discontinuous continuously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210578870.8A CN103024437B (en) | 2012-12-28 | 2012-12-28 | Video data integrity detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210578870.8A CN103024437B (en) | 2012-12-28 | 2012-12-28 | Video data integrity detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103024437A CN103024437A (en) | 2013-04-03 |
CN103024437B true CN103024437B (en) | 2015-02-25 |
Family
ID=47972499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210578870.8A Active CN103024437B (en) | 2012-12-28 | 2012-12-28 | Video data integrity detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103024437B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399945A (en) * | 2013-08-15 | 2013-11-20 | 成都博云科技有限公司 | Data structure based on cloud computing database system |
CN103761489A (en) * | 2014-02-18 | 2014-04-30 | 北京网秦天下科技有限公司 | System and method for detecting completeness of file |
CN105681712A (en) * | 2014-11-20 | 2016-06-15 | 广东中星电子有限公司 | Video data processing method and device |
CN104615948A (en) * | 2015-02-12 | 2015-05-13 | 浪潮电子信息产业股份有限公司 | Method for automatically recognizing file completeness and restoring |
CN104767994B (en) * | 2015-04-13 | 2017-10-17 | 郑州天迈科技股份有限公司 | A kind of vehicle-mounted DVR video datas store the detection method of integrality |
CN105049915B (en) * | 2015-06-30 | 2019-01-22 | 株洲南车时代电气股份有限公司 | A kind of engine video frequency data integrity automatic testing method |
CN105187818B (en) * | 2015-07-30 | 2017-11-21 | 成都亿盟恒信科技有限公司 | Video continuity intellectual analysis device and method based on car wireless terminal |
JP7010758B2 (en) * | 2018-04-20 | 2022-01-26 | Tvs Regza株式会社 | Electronic devices and program list generation method |
CN110798678B (en) * | 2018-08-01 | 2021-03-23 | 广州弘度信息科技有限公司 | Video integrity detection method and device, computer equipment and readable storage medium |
CN109309721A (en) * | 2018-10-11 | 2019-02-05 | 郑州云海信息技术有限公司 | A kind of audio-video storage system intelligence amended record method and device |
EP3871079A4 (en) * | 2019-04-15 | 2022-06-22 | Hewlett-Packard Development Company, L.P. | Image transfer |
CN111159521B (en) * | 2019-12-12 | 2024-04-30 | 中国平安财产保险股份有限公司 | Data query method, system, computer device and storage medium |
CN114003874A (en) * | 2020-02-26 | 2022-02-01 | 支付宝(杭州)信息技术有限公司 | Authenticity verification method, device and equipment for image data |
CN112351290A (en) * | 2020-09-08 | 2021-02-09 | 深圳Tcl新技术有限公司 | Video recording method, device and equipment of intelligent equipment and readable storage medium |
CN112437346A (en) * | 2020-11-04 | 2021-03-02 | 央视国际网络无锡有限公司 | Method for judging whether video file is complete or not |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1841255B (en) * | 2005-03-30 | 2011-09-07 | 侯方勇 | Method and apparatus for protecting confidentiality and integrity of data storage |
CN101321265B (en) * | 2007-06-07 | 2011-03-16 | 中兴通讯股份有限公司 | Method and system for implementing peer-to-peer network media order frame-across broadcast mode |
CN102985911B (en) * | 2010-03-16 | 2016-07-06 | 科派恩股份有限公司 | Telescopic in height and distributed data de-duplication |
-
2012
- 2012-12-28 CN CN201210578870.8A patent/CN103024437B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103024437A (en) | 2013-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024437B (en) | Video data integrity detection method | |
CN102819528B (en) | The method and apparatus generating video frequency abstract | |
WO2017005149A1 (en) | Game acceleration method and device | |
CN101778265B (en) | Exception event detection and double-stream coding-based video monitoring method | |
CN103984579B (en) | More equipment rooms share the method for current application program real-time running state | |
CN105431838A (en) | Streaming content and placeholders | |
CN112714359B (en) | Video recommendation method and device, computer equipment and storage medium | |
CN101909189B (en) | File recovery method, system and DVR (Digital Video Recorder) | |
CN106488336A (en) | A kind of engine video frequency transmission method based on event corner and system | |
CN109275045B (en) | DFI-based mobile terminal encrypted video advertisement traffic identification method | |
CN104298748A (en) | Device and method for face search in videos | |
CN104301681A (en) | Monitoring video restoration method and device | |
WO2023179161A1 (en) | Video frame rate control method and apparatus, and electronic device and storage medium | |
CN112446362B (en) | Face picture file processing method and equipment | |
WO2024131461A1 (en) | Root cause analysis method, apparatus and device for frame-skipping video file | |
CN112187774B (en) | Encrypted data length reduction method based on HTTP/2 transmission characteristics | |
CN111757037B (en) | Video file reading and writing method and device | |
CN102938829A (en) | Method for realizing prerecording of real-time audio/video stream | |
Singla et al. | HEVC based tampered video database development for forensic investigation | |
CN111010534A (en) | Real-time asynchronous video analysis method and system | |
CN114241401B (en) | Abnormality determination method, abnormality determination device, abnormality determination apparatus, abnormality determination medium, and abnormality determination product | |
CN104637496A (en) | Computer system and audio comparison method | |
CN109471756A (en) | Data reconstruction method, device and computer readable storage medium | |
CN103139227B (en) | A kind of application data transmission system and method being applied to mobile terminal | |
CN113657284A (en) | Safety production management method, equipment, system and medium based on video acquisition |
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 | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20161026 Address after: 450001 Zhengzhou science and Technology Industrial Development Zone, Henan, No. 74 Patentee after: Henan Splendor Science & Technology Co., Ltd. Patentee after: Henan brilliant software Co., Ltd. Address before: 450001 Zhengzhou science and Technology Industrial Development Zone, Henan, No. 74 Patentee before: Henan Splendor Science & Technology Co., Ltd. |