CN109788309B - Video file piracy detection method and system based on block chain technology - Google Patents

Video file piracy detection method and system based on block chain technology Download PDF

Info

Publication number
CN109788309B
CN109788309B CN201811586055.XA CN201811586055A CN109788309B CN 109788309 B CN109788309 B CN 109788309B CN 201811586055 A CN201811586055 A CN 201811586055A CN 109788309 B CN109788309 B CN 109788309B
Authority
CN
China
Prior art keywords
frame
video file
video
hash
verified
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
CN201811586055.XA
Other languages
Chinese (zh)
Other versions
CN109788309A (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.)
Shaanxi youmi Data Technology Co.,Ltd.
Original Assignee
Shaanxi Youmi Data 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 Shaanxi Youmi Data Technology Co ltd filed Critical Shaanxi Youmi Data Technology Co ltd
Priority to CN201811586055.XA priority Critical patent/CN109788309B/en
Publication of CN109788309A publication Critical patent/CN109788309A/en
Application granted granted Critical
Publication of CN109788309B publication Critical patent/CN109788309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method and a system for detecting piracy of a video file. A video file piracy detection method and a system based on a block chain technology comprise the following steps: collecting the legal version video file to a central authentication server; the central authentication server divides the positive version video file into sequence framing data, samples the sequence framing data, obtains component hash of the sampled sequence framing data, and links the component hash with the ownership information; and uploading the video file to be verified to an authentication center server. And splitting, sampling and storing the component hash of the video file to be verified, comparing the component hash with the component hash of the legal video file, and obtaining whether the video file is the legal video. The invention can confirm the integrity of the file; the result on the block chain is not easy to be falsified and can be traced, the video file to be detected is quickly sampled and compared, and the comparison with the legal version video file can detect whether the video file to be detected is legal version or not, so that the right of the video file is protected.

Description

Video file piracy detection method and system based on block chain technology
Technical Field
The invention relates to a method and a system for detecting piracy of a video file.
Background
The video piracy problem has been known for a long time, which not only brings confusion to the market industry, but also seriously damages the benefits of video copyright owners, and the supervision in the aspect is roughly divided into the traditional manual inspection and the method of machine automatic identification characteristic for a long time, wherein the manual method carries out observation by watching the video quality, and adopts the method of comparing static frames, so that the efficiency is lower; the machine identification method generally adopts the integral file to carry out hash processing, so that video data is large, the hash processing efficiency is low, the speed is low, the characteristic data quantity acquired by the sampling algorithm is greatly reduced, and meanwhile, the accuracy is ensured efficiently by using the comparison algorithm.
Disclosure of Invention
The invention is improved based on the traditional automatic machine identification, the data hash and the ownership information of the original legal video file after sampling are stored in a block chain, the result on the block chain is not easy to be distorted and traceable, the video file to be detected is subjected to characteristic quick sampling and quick comparison, and the video file to be detected is detected to be legal or pirate through the comparison result, thereby protecting the ownership right of the video file.
The technical scheme of the invention is as follows:
a video file piracy detection method based on a block chain technology comprises the following steps:
and (3) uploading the legal version information:
collecting the legal version video file, storing the legal version video file in a central authentication server, and signing and endorsement on the legal version video file;
the central authentication server splits the signed endorsed original video file according to video characteristics, splits the signed endorsed original video file into sequence framing data, respectively samples each group of sequence framing data split into the sequence framing data, respectively performs hash processing on the sampled sequence framing data, and reserves component hash of each group of sequence framing data;
performing chain storage transaction on the component Hash of the legal version video file and the legal version video file right information in a block chain, wherein each transaction Hash corresponds to one legal version file information record;
detecting a video to be verified:
the video to be verified is sent to a central authentication server;
the central authentication server splits a video to be verified according to video characteristics, splits the video into sequence framing data, respectively samples each group of the split sequence framing data, respectively performs hash processing on the sampled sequence framing data, and keeps component hash of each group of the sequence framing data;
and the central authentication server searches and compares the component Hash of the video to be verified with the corresponding component Hash in the transaction Hash stored on the block chain, if the component Hash is found, the video to be verified is regarded as a legal video, and otherwise, the video to be verified is a pirated video.
Preferably, the video file piracy detection method based on the block chain technology includes the following steps:
and (3) uploading the legal version information:
collecting the legal version video file, storing the legal version video file in a central authentication server, and signing and endorsement on the legal version video file;
the central authentication server splits the signed endorsed original video file into I-frame and P-frame serial group frame data, respectively samples all the collected I-frame and P-frame serial group frame data, respectively performs hash processing on the sampled I-frame and P-frame serial group frame data, and reserves component hashes Ihash and Phash;
performing uplink storage transaction on the component hashes Ihash and Phash of the original video file and the right information of the original video file in a block chain, wherein each transaction Hash corresponds to one original file information record;
detecting a video to be verified:
the video to be verified is sent to a central authentication server;
the central authentication server splits a video to be verified into I frames and P frame serial group frame data; sampling all collected frame data of an I frame and P frame series group of a video to be verified respectively, performing hash processing on the sampled frame data of the I frame and the sampled frame data of the P frame series group respectively, and reserving three component hashes I 'hash and P' hash;
and the central authentication server searches and compares the I 'Hash and the P' Hash with corresponding component hashes in the transaction hashes stored on the block chain, if the I 'Hash and the P' Hash are found, the video to be verified is regarded as an original video, and if the I 'Hash and the P' Hash are not found, the video to be verified is regarded as a pirate video.
Preferably, the video file piracy detection method based on the block chain technology includes the following steps:
and (3) uploading the legal version information:
collecting the legal version video file, storing the legal version video file in a central authentication server, and signing and endorsement on the legal version video file;
the central authentication server splits the signed endorsed original video file into I-frame, B-frame and P-frame serial group frame data, samples all the collected I-frame, B-frame and P-frame serial group frame data respectively, hashes the sampled I-frame, B-frame and P-frame serial group frame data respectively, and reserves three component hashes Ihash, Bhash and Phash;
performing uplink storage transaction on the component hashes Ihash, Bhash and Phash of the original video file and the right information of the original video file in a block chain, wherein each transaction Hash corresponds to one original file information record;
detecting a video to be verified:
the video to be verified is sent to a central authentication server;
the central authentication server splits a video to be verified into frame data of a sequence group of I frames, B frames and P frames; sampling all collected frame data of a series of I frames, B frames and P frames of a video to be verified respectively, performing hash processing on the sampled frame data of the series of I frames, B frames and P frames respectively, and reserving three component hashes I ' hash, B ' hash and P ' hash;
and the central authentication server searches and compares the I 'Hash, the B' Hash and the P 'Hash with corresponding component hashes in the transaction hashes stored on the block chain, if the I' Hash, the B 'Hash and the P' Hash are found, the video to be verified is regarded as a legal video, and otherwise, the video is a pirate video.
More preferably, the sampling mode is linear sampling.
A video file piracy detection system based on block chain technology comprises
The verification unit is used for receiving the legal version video file and the video to be detected and carrying out splitting, linear sampling and Hash processing on the legal version video file and the video to be detected;
the storage unit is used for storing the component hash of the legal video file and the block chain of the ownership information;
and the comparison unit is used for comparing the split component hash of the video to be detected with the component hash of the legal video file.
The invention has the technical effects that:
the invention can confirm the integrity of the file, for example, when the data of the acquisition point frame is not complete or not covered on the comparison sequence, the file can be quickly found; the result on the block chain is not easy to be falsified and can be traced, the video file to be detected is subjected to characteristic rapid sampling and rapid comparison, and whether the video file to be detected is legal or pirated is detected through the comparison result, so that the right of the video file is protected.
Detailed Description
Example 1.
S101: collecting the legal version video file and storing the file to a central authentication server:
the right person of the original video file applies for submitting the original video file to a central authentication server, and requests the central authentication server to carry out signature endorsement.
S102: the central authentication server splits the signed endorsed original video file into 2 groups of sequence framing data of I frames (I1, I2, I3, I4, I5... In) and P frames (P1, P2, P3, P4, P5... Pn).
S103: respectively carrying out linear sampling on all collected I frame and P frame sequence group frame data, and carrying out sampling on I frame,Frame (I),1、I,2、I,3、I,4、I,5...I,m)、P,Frame (P),1、P,2、P,3、P,4、P,5...P,m) carrying out hash processing on the sequence framing data respectively, and keeping the component hashes Ihash and Phash.
S104: block chaining on the original video data: performing uplink storage on the component hash Ihash and Phash of the original video file, the right information, the timestamp and other information of the original video file in a block chain to store a transaction Tx number, such as Ihash + Phash + the right information + the timestamp + other information; each transaction Hash corresponds to a legal version file information record.
S105: piracy detection: and the user A to which the video file to be verified belongs sends the video file to be verified to the authentication center server.
S106: splitting a video to be verified: the central authentication server splits a video to be verified into I 'frames and P' frame sequence group frame data; and respectively carrying out linear sampling on all collected frame data of the I ' frame and P ' frame sequence group of the video to be verified, and respectively carrying out hash processing on the sampled frame data of the I ' frame and the sampled frame data of the P frame sequence group to obtain component hash I ' hash and P ' hash.
S107: comparing the original video file: searching corresponding recorded data files 'Ihash + Phash + owner information + timestamp + other' through the transaction Tx number of the block chain, comparing the Ihash and the Phash with the I 'hash and the P' hash of the video file to be detected to judge the piracy, and finally obtaining a conclusion.
Example 2.
S101: collecting the legal version video file and storing the file to a central authentication server:
the right person of the original video file applies for submitting the original video file to a central authentication server, and requests the central authentication server to carry out signature endorsement.
S102: the central authentication server splits the signed endorsed original video file into three groups of sequence framing data of I frames (I1, I2, I3, I4, I5... In), B frames (B1, B2, B3, B4, B5... Bn) and P frames (P1, P2, P3, P4, P5... Pn);
the principle of splitting the original video file into I frame, B frame and P frame sequence group frame data is as follows: (1) the integrity of the file can be confirmed, for example, the file can be quickly found when the data of the collected point frame is not complete or is not covered on the alignment sequence; (2) because the I frame data quantity in the video file is less than the B frame, and the B frame data quantity is less than the P frame, the frame groups are respectively collected, so that the comparison efficiency is favorably improved, if the Hash obtained by I frame grouping can be compared firstly in algorithm, if the Hash is not matched, the piracy is directly judged, otherwise, the B frame and the P frame sequence are compared, and the efficiency is improved.
S103: respectively carrying out linear sampling on all collected I frame, B frame and P frame sequence group frame data, and carrying out sampling on the I frame, B frame and P frame sequence group frame data,Frame (I),1、I,2、I,3、I,4、I,5...I,m)、B,Frame (B),1、B,2、B,3、B,4、B,5...B,m)、P,Frame (P),1、P,2、P,3、P,4、P,5...P,m) performing hash processing on the sequence framing data respectively, and reserving three component hashes Ihash, Bhash and Phash;
linear sampling is beneficial to improving the distinguishing efficiency of pirated video files, (1) firstly, frame data are grouped according to a video file sequence, linear sampling frame data are adopted, and the contrast efficiency can be improved through flexible control of sequence sampling input parameters, for example, the first N frames (N =1, 2 and 3.) are taken from linear sampling parameters, so that if pirated video files are copied, only a small amount of data is taken for identification, and the efficiency is improved. (2) Linear data sampling is more flexible and easier to implement than other sampling access methods.
S104: block chaining on the original video data: performing uplink storage on the component hashes Ihash, Bhash and Phash of the positive video file, the right information, the timestamp and other information of the positive video file in a block chain to store a transaction Tx number, such as Ihash + Bhash + Phash + right person information + timestamp + other information; each transaction Hash corresponds to a legal version file information record.
S105: piracy detection: and the user A to which the video file to be verified belongs sends the video file to be verified to the authentication center server.
S106: splitting a video to be verified: the central authentication server splits a video to be verified into I ' frames, B ' frames and P ' frame sequence group frame data; and respectively carrying out linear sampling on all collected frame data of the I 'frame, B' frame and P 'frame sequence group of the video to be verified, and respectively carrying out hash processing on the sampled frame data of the I' frame, B 'frame and P frame sequence group to obtain three component hashes I' hash, B 'hash and P' hash.
S107: comparing the original video file: searching corresponding recorded data files ' Ihash + Bhash + Phash + owner information + timestamp + other ' through a transaction Tx number of a block chain, comparing the Ihash, the Bhash and the Phash with I ' hash, B ' hash and P ' hash of a video file to be detected to judge whether the video file is pirated, and finally obtaining a conclusion.

Claims (3)

1. A video file piracy detection method based on a block chain technology is characterized in that: the method comprises the following steps:
and (3) uploading the legal version information:
collecting the legal version video file, storing the legal version video file in a central authentication server, and signing and endorsement on the legal version video file;
the central authentication server splits the signed endorsed original video file into I-frame and P-frame serial group frame data, respectively samples all the collected I-frame and P-frame serial group frame data, respectively performs hash processing on the sampled I-frame and P-frame serial group frame data, and reserves component hashes Ihash and Phash;
performing uplink storage transaction on the component hashes Ihash and Phash of the original video file and the right information of the original video file in a block chain, wherein each transaction Hash corresponds to one original file information record;
detecting a video to be verified:
the video to be verified is sent to a central authentication server;
the central authentication server splits a video to be verified into I frames and P frame serial group frame data; respectively sampling all collected frame data of an I frame and P frame series group of a video to be verified, respectively performing hash processing on the sampled frame data of the I frame and the sampled frame data of the P frame series group, and reserving two component hashes I 'hash and P' hash;
and the central authentication server searches and compares the I 'Hash and the P' Hash with the component hashes Ihash and Phash corresponding to the transaction Hash stored on the block chain, if the component hashes Ihash and Phash are found, the video to be verified is regarded as an original video, and otherwise, the video is a pirate video.
2. The block chain technology-based video file piracy detection method of claim 1, wherein: the method comprises the following steps:
and (3) uploading the legal version information:
collecting the legal version video file, storing the legal version video file in a central authentication server, and signing and endorsement on the legal version video file;
the central authentication server splits the signed endorsed original video file into I-frame, B-frame and P-frame serial group frame data, samples all the collected I-frame, B-frame and P-frame serial group frame data respectively, hashes the sampled I-frame, B-frame and P-frame serial group frame data respectively, and reserves three component hashes Ihash, Bhash and Phash;
performing uplink storage transaction on the component hashes Ihash, Bhash and Phash of the original video file and the right information of the original video file in a block chain, wherein each transaction Hash corresponds to one original file information record;
detecting a video to be verified:
the video to be verified is sent to a central authentication server;
the central authentication server splits a video to be verified into frame data of a sequence group of I frames, B frames and P frames; sampling all collected frame data of a series of I frames, B frames and P frames of a video to be verified respectively, performing hash processing on the sampled frame data of the series of I frames, B frames and P frames respectively, and reserving three component hashes I ' hash, B ' hash and P ' hash;
and the central authentication server searches and compares the I ' Hash, the B ' Hash and the P ' Hash with the component hashes Ihash and Phash corresponding to the transaction hashes stored on the block chain, if the component hashes Ihash and Phash are found, the video to be verified is regarded as a genuine video, and if the component hashes Ihash and Phash are not found, the video to be verified is a pirate video.
3. The method according to claim 2, wherein the video file piracy detection method based on the block chain technique comprises: the sampling mode is linear sampling.
CN201811586055.XA 2018-12-25 2018-12-25 Video file piracy detection method and system based on block chain technology Active CN109788309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811586055.XA CN109788309B (en) 2018-12-25 2018-12-25 Video file piracy detection method and system based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811586055.XA CN109788309B (en) 2018-12-25 2018-12-25 Video file piracy detection method and system based on block chain technology

Publications (2)

Publication Number Publication Date
CN109788309A CN109788309A (en) 2019-05-21
CN109788309B true CN109788309B (en) 2021-05-04

Family

ID=66497630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811586055.XA Active CN109788309B (en) 2018-12-25 2018-12-25 Video file piracy detection method and system based on block chain technology

Country Status (1)

Country Link
CN (1) CN109788309B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149533A (en) * 2019-06-24 2019-08-20 咪咕文化科技有限公司 Automatic video frequency evidence-obtaining system and method about IPTV
CN110366049B (en) * 2019-08-05 2021-03-23 杭州当虹科技股份有限公司 Integrity protection method for streaming video
CN112528717B (en) * 2019-10-12 2021-12-17 无锡利水管业有限公司 Intelligent computer video content identification platform, method and storage medium
CN112417501A (en) * 2020-11-18 2021-02-26 中国电子科技集团公司第三十研究所 Block chain-based extranet confidential file detection method
CN113141351B (en) * 2021-03-23 2022-09-20 重庆扬成大数据科技有限公司 Multi-department combined auditing and authenticating working method for government affair big data
CN113434909B (en) * 2021-06-25 2023-12-29 湖北央中巨石信息技术有限公司 Data on-demand evidence-storing method based on blockchain
CN113873328B (en) * 2021-09-27 2023-06-27 四川效率源信息安全技术股份有限公司 Method for splitting multi-camera fusion video file into multiple single-camera video files
CN115499138B (en) * 2022-11-16 2023-03-24 成都同步新创科技股份有限公司 High-performance storage tamper-proof verification method and storage system combined with block chain

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715146B (en) * 2008-10-08 2011-09-07 中国移动通信集团公司 Method and system for evaluating quality of compressed video
CN105227964B (en) * 2014-06-03 2018-11-06 深圳先进技术研究院 Video-frequency identifying method and system
CN109792553B (en) * 2016-08-07 2021-06-15 委瑞法传播有限公司 Distributed data storage for managing media
CN106231356B (en) * 2016-08-17 2019-01-08 腾讯科技(深圳)有限公司 The treating method and apparatus of video
CN107086920A (en) * 2017-06-20 2017-08-22 无锡井通网络科技有限公司 Copyright based on block chain really weighs method
CN107659610B (en) * 2017-08-02 2020-08-21 北京瑞卓喜投科技发展有限公司 Copyright protection method, device and system based on block chain technology
CN107832384A (en) * 2017-10-28 2018-03-23 北京安妮全版权科技发展有限公司 Infringement detection method, device, storage medium and electronic equipment
CN108550041A (en) * 2018-03-20 2018-09-18 深圳市元征科技股份有限公司 Protect the method, apparatus and terminal of original works
CN109033789B (en) * 2018-06-15 2021-01-01 北京文创园投资管理有限公司 Method, device and system for generating right-confirming certificate
CN108833973B (en) * 2018-06-28 2021-01-19 腾讯科技(深圳)有限公司 Video feature extraction method and device and computer equipment

Also Published As

Publication number Publication date
CN109788309A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109788309B (en) Video file piracy detection method and system based on block chain technology
KR101517750B1 (en) Methods and apparatus for comparing videos
US7930546B2 (en) Methods, systems, and sub-combinations useful in media identification
Oostveen et al. Feature extraction and a database strategy for video fingerprinting
US9292514B2 (en) Media identification system with fingerprint database balanced according to search loads
US8433108B2 (en) Video fingerprinting
JP5711387B2 (en) Method and apparatus for comparing pictures
KR20140130213A (en) Method and apparatus for authenticating video content
US7720250B2 (en) Method and apparatus for watermarking stream data
WO2012177845A3 (en) Systems and methods for tracking and authenticating goods
WO2009150425A3 (en) Automatic detection of repeating video sequences
GB2452663A (en) Method and apparatus for comparing document features using texture analysis
CA2716266A1 (en) Content based audio copy detection
CN103605666B (en) Video copying detection method for advertisement detection
CN102087800A (en) Digital online paper-marking system
CN106709853A (en) Image retrieval method and system
CN102737135A (en) Video copy detection method and system based on soft cascade model sensitive to deformation
Singh et al. Detection of frame duplication type of forgery in digital video using sub-block based features
CN102903072A (en) Blind digital watermark detection method and system
Mandelli et al. Blind detection and localization of video temporal splicing exploiting sensor-based footprints
CN106685640A (en) Generating method of electronic evidence fixed information and electronic evidence fixed server
JP2018506119A (en) Model collusion prevention watermark
CN114036467A (en) Block chain-based short video copyright protection method
CN102446211A (en) Method and system for filing and verifying image
CN105930839B (en) A kind of pillar of electrification rail contacting net bar intelligent identification Method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 710000 room 2108, 21 / F, Zhejiang innovation force creative center, Qujiang Chuangke street, 1688 Cuihua Road, Qujiang New Area, Yanta District, Xi'an City, Shaanxi Province

Patentee after: Shaanxi youmi Data Technology Co.,Ltd.

Address before: 710000 room 2108, 21 / F, Zhejiang innovation force creative center, Qujiang Chuangke street, 1688 Cuihua Road, Qujiang New Area, Yanta District, Xi'an City, Shaanxi Province

Patentee before: SHAANXI YOUMI DATA TECHNOLOGY Co.,Ltd.