CN101976323B - Quickly generating method of user copy based on video GOP (Group of Picture) - Google Patents

Quickly generating method of user copy based on video GOP (Group of Picture) Download PDF

Info

Publication number
CN101976323B
CN101976323B CN 201010543679 CN201010543679A CN101976323B CN 101976323 B CN101976323 B CN 101976323B CN 201010543679 CN201010543679 CN 201010543679 CN 201010543679 A CN201010543679 A CN 201010543679A CN 101976323 B CN101976323 B CN 101976323B
Authority
CN
China
Prior art keywords
copy
user
video
gop
female
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.)
Expired - Fee Related
Application number
CN 201010543679
Other languages
Chinese (zh)
Other versions
CN101976323A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN 201010543679 priority Critical patent/CN101976323B/en
Publication of CN101976323A publication Critical patent/CN101976323A/en
Application granted granted Critical
Publication of CN101976323B publication Critical patent/CN101976323B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of digital content safety protection, in particular to a quickly generating method of a user copy based on a video GOP (Group of Picture), which is based on a cascade fingerprint code technology. The user-copy generating process comprises the following steps of: generating female copy video source files according to an internal code sequence of a fingerprint code; according to an external code of a user, sequentially extracting corresponding image block groups from the corresponding female copy video source files; and generating an only user copy by combining and splitting the GOP image block groups. The invention reduces time for generating a user video copy to time for copying a video resource from time for coding a video resource, can quickly generate large numbers of video copies in short time and is suitable for a real-time on-line publication system of audio-video works which face to large-scale users. The provided algorithm of the invention has good universality and good practicability and can be suitable for common video coding standards, such as H.264, MPEG(Motion Picture Experts Group)-2, MPEG-4, AVS (Advanced Visual System), and the like.

Description

User based on video GOP copies quick generation method
Technical field
The present invention relates to digital content security resist technology field, relate in particular to a kind of user and copy quick generation method based on video GOP.
Background technology
In recent years, the fast development of infotech and with the widespread use of its ecommerce that is the basis makes works such as all kinds of literal, picture, video display unprecedentedly enlarge through the spread scope of network, for creator and publisher have brought new opportunity.People also are easy to the product that exists with digital form is carried out illegal copies and distribution but simultaneously.At present; Digital Fingerprinting Technology has obtained the broad research of Chinese scholars; This technology all embeds unique finger print information through each part copy at protected works, makes every part of copy all with other copies fine distinction arranged, and guarantees that every part of user's copy obtains unique copy.After the publisher finds illegal copies, just can track the source of illegal piracy works through extracting wherein fingerprint sequence, the bootlegger is prosecuted, thereby prevent the generation of copy right piracy.
At present, very universal through the Internet network towards the online transaction that thousands of users up to a million carry out audio-video works.In the face of large-scale user, how to generate unique copy of user fast, realize audio-visual product in online quick distribution, be the key issue that the number fingerprint technique can drop into actual use in the extensive audio-visual product distribution.For common cinematographic work, adopt traditional digital watermark technology, for generating a time that embeds user's copy of unique finger print information, each user often is equal to the video scramble time one time, can't obtain actual application because the rise time is long.How generating user's copy fast is the key issue that Digital Fingerprinting Technology can drop into practical application.
Because the fingerprint code of cascade structure can increase substantially the code efficiency and the anti-conspiracy attack ability of fingerprint code; At present a lot of scholars are under the basic framework of concatenated code; Adopt the outer sign indicating number of different anti-conspiracy ISNs or error correcting code to make up; Proposed various concatenated fingerprint code plans, broad research has all been carried out in the aspects such as optimization of fingerprint code structure Design, decoding algorithm.
The concatenated fingerprint coding thinking is: ISN adopts the anti-fingerprint code of conspiring, and outer sign indicating number adopts error correcting code, and the code word of ISN is carried out cascade as outer yard code book, constructs concatenated fingerprint codes.The scrambler principle of concatenated fingerprint codes is as shown in Figure 1, the application with (l, N) qExpression length is that l, number of users are that N, system are the fingerprint code of q.The ISN of concatenated fingerprint codes is (l 1, N 1) qThe anti-fingerprint code of conspiring, outer sign indicating number does
Figure BDA0000032292940000011
Error correcting code.Scrambler is each user u iGenerate unique outer sign indicating number code word c i, then with the N of ISN 1Individual codeword sequence is replaced corresponding outer sign indicating number code word as code book, is encoded into (l 1* l 2, N) qFingerprint code.
Summary of the invention
To the technical matters of above-mentioned existence, the purpose of this invention is to provide a kind of user and copy quick generation method based on video GOP, the user who is used for the tracking of copyright piracy sources copies quick generation.
For achieving the above object, the present invention adopts following technical scheme:
Female copy generates step, and this step comprises following substep:
1. according to the system N of the outer sign indicating number of concatenated fingerprint codes 1, generate N 1Individual female copy source file
Figure BDA0000032292940000021
2. the generation of i female copy source file: original video is adopted video compressing and encoding methods such as MPEG2, MPEG4, H264 or AVS carry out video compress; When selected I frame is encoded; Adopt the digital watermarking embedded technology, embed i ISN sequence of concatenated fingerprint codes;
3. 2. generate N according to step successively 1Individual female copy source file
Figure BDA0000032292940000022
Embedded one group of ISN sequence in each source file;
4. be that each female copy generates female copy GOP address file, start address and the end address of each GOP during this mother of record copies in this document;
The user copies the generation step, and this step further comprises following substep:
Suppose user u jOuter sign indicating number be W j={ w Ij, 0≤i≤l wherein 2, w Ij∈ 0, N 1-1}, then:
1. according to user u jFirst outer sign indicating number code word w 1j, select w 1jThe 1st GOP piece group of individual female copy sequence copies it to user u jUser copy in;
2. successively according to user u jOuter sign indicating number, the GOP that extracts in corresponding female copy divides into groups, as for i outer sign indicating number w Ij,, select w according to its value IjI GOP piece group of individual female copy sequence.This GOP piece spelling is received in user's copy;
3. accomplish the splicing that whole user copies video file, generate the user video copy.
Female copy generate step the 4. step comprise:
In the female copy of each video, seek the beginning flag (as being 0x000x000x010xB8) of I frame in MPEG2, write down the start address of each I frame, be the start address of each GOP;
Write down the previous byte address of each I frame start position, be the end address of a GOP.
Female copy generates the 2. digital watermarking embedded technology in the step of step, is employed in the embedding that spatial domain or transform domain carry out watermark information.
The generation of user's copy is directly to realize through female GOP piece combination that copies.
The present invention has the following advantages and good effect:
1) the present invention's time that will generate user video copy from the time of the video source of encoding is reduced to the time of duplicating a video source; Can generate the multitude of video copy at short notice fast, be applicable to towards the real-time online delivery system of the audio-video works of large-scale consumer;
2) the present invention possesses good versatility and practicality, applicable to video encoding standard commonly used, and as H.264, MPEG-2, MPEG-4, AVS etc.
Description of drawings
Fig. 1 is a concatenated fingerprint code coder synoptic diagram.
Fig. 2 is that the GOP of video compress stream forms structural drawing.
Fig. 3 is that female copy generates synoptic diagram.
Fig. 4 is that the user copies the generation synoptic diagram.
Embodiment
At first theoretical foundation of the present invention is described below:
One, coding structure
Original video stream is combined by a frame two field picture.Existing technology of video compressing encoding is a plurality of group of picture with Video Segmentation.Comprise an I frame in each group of picture; A plurality of P frames and B frame, as line up the IBBPIBBPIBBPI... pattern, this continuous group of picture is GOP (GROUP OF PICTURE); Be that compressing video frequency flow is used for the most basic unit of access, putting in order of it will repeat to image always and finish.I is an intra-coded frame, and P is a forward predicted frame, and B is two-way interpolation frame.Say that simply the I frame is a complete picture, and P frame and B frame recording is the variation with respect to the I frame.Do not have the I frame, P frame and B frame just can't be decoded.It is as shown in Figure 2 that the GOP of compressed video stream forms structure.
Two, concatenated fingerprint codes coding
Carrying out before the user copies generation, system at first adopts the digital finger-print coding techniques based on concatenated code, is each user generated word fingerprint sequence.In order to embody the versatility of algorithm, the fingerprint code during this method is described is (l 1* l 2, N) qFingerprint code, ISN are (l 1, N 1) qThe anti-fingerprint code of conspiring, outer sign indicating number does
Figure BDA0000032292940000031
Error correcting code.The code length of fingerprint code is l 1* l 2, number of users is N, the system of fingerprint code is q.
The construction process of concatenated fingerprint codes is following:
1, at first generates (l 1, N 1) qThe ISN arrangement set, promptly code word number is that ISN is N 1, code word size is l 1, the anti-conspiracy fingerprint code sequence of q system, concrete fingerprint code make user can oneself define.Table 1 is the synoptic diagram of the ISN code word of q=2.I row binary sequence is the codeword sequence of i ISN.
Table 1: ISN codeword structure signal table
Figure BDA0000032292940000032
2, system's outer sign indicating number sequence
Figure BDA0000032292940000042
unique for each user generates.Usually this sequence adopts error correction code approach to generate.Subscriber Number codeword sequence length is l 2, number of users is N, system is N 1Table 2 is N 1The synoptic diagram of=4 ISN code word.The N that i is capable 1The system sequence is i user's an outer sign indicating number codeword sequence.
Table 2: outer sign indicating number codeword structure signal table
Figure BDA0000032292940000043
3, according to user's outer sign indicating number code word,, each outer sign indicating number is replaced with its ISN code book sequence, make up (l in conjunction with the set of ISN code book 1* l 2, N) qFingerprint code, code length are l 1* l 2, the code word system is q.Table 3 is the fingerprint code organigram of user i.
Table 3: user's code word structure signal table
Figure BDA0000032292940000044
Combine accompanying drawing that the present invention is described further with specific embodiment below:
In compressing video frequency flow, be separate between each GOP.Based on these characteristics, we combine the concatenated fingerprint code structure with coding structure, propose to copy quick generation method based on the user of video GOP.This method mainly comprises two parts: female copy generation method and user copy the generation method.Female copy generation method is the basis that the user copies the generation method, and purpose is to generate the video source that is used for Rapid Combination user copy; It is when needs generate the user and copy that the user copies the generation method, based on the outer sign indicating number code word of user fingerprints, directly copies from mother and extracts the corresponding GOP of outer sign indicating number code word the video flowing, and splicing generates the user and copies from the GOP of each female copy video source.
Method provided by the invention specifically may further comprise the steps:
1, female copy generates step
Female copy generation technique is in order to realize that quick user copies generation, to be ready to comprise the source video copy that all embed information in advance.Method ultimate principle: generate N 1Individual video source file, the generation of each source video file are that original yuv video file is carried out video compression coding, when the I frame is encoded, adopt digital watermark technology to embed the corresponding ISN sequence of this source file, generate the female copied files of the video that contains ISN; And to each female copy, the start address and the end address of having write down each GOP in female copy generate corresponding GOP address file.Fig. 3 is the principle schematic of female copy generation method.
Each row is represented a female copy among Fig. 3, and female copy sequence number is from M 1, M 2, M 3M iUp to M N1, each female copy all is made up of with several GOP file header jointly.Include an I frame among each GOP, several B frames and P frame.Wherein, we have embedded identical fingerprint sequence w in the I frame of each GOP of mother's copy of sequence number 1 1(i.e. the ISN fingerprint sequence of corresponding outer sign indicating number 1) is expressed as I+w 1By that analogy, we have embedded identical fingerprint sequence w in sequence number is the I frame of each GOP of mother copy of i i(the ISN fingerprint sequence of promptly corresponding outer sign indicating number i) is expressed as I+w i, copy M up to mother N1
This step further may further comprise the steps:
1. according to the system N of the outer sign indicating number of concatenated fingerprint codes 1, generate N 1Individual female copy source file
2. the generation method of i female copy source file: as shown in table 3; Original video is adopted video compressing and encoding methods such as MPEG2, MPEG4, H264 or AVS carry out video compress; When selected I frame is encoded; Adopt the digital watermark technology embedded technology, embed i ISN sequence of concatenated fingerprint codes.(concrete watermark embedding method can be required autonomous selected by the user based on watermark, as is employed in spatial domain or dct transform domain carries out the embedding of watermark information.)
3. 2. generate N according to step successively 1Individual female copy source file
Figure BDA0000032292940000052
Embedded one group of ISN sequence in each source file;
4. be that each female copy generates female copy GOP address file; Start address and the end address of each GOP during this mother of record copies in this document; Concrete grammar: in the female copy of each video; Seek the beginning flag (as being 0x000x000x010xB8) of I frame in MPEG2, write down the start address of each I frame, be the start address of each GOP; Write down the previous byte address of each I frame start position, be the end address of a GOP.
2, the user copies the generation step
The user copies and generates is to generate the video copy that embeds the unique fingerprint code of this user for each user.Method basic principle: based on user's outer sign indicating number sequence, extract corresponding image block group GOP mother's copy that sign indicating number is corresponding outside each successively, each GOP is spliced and combined, generate user's copy.The method signal is as shown in Figure 4.
Among Fig. 4, female copy set figure is Fig. 3.Generate the outer sign indicating number of user fingerprints W jAfter, according to the outer sign indicating number of user fingerprints, find the corresponding GOP of corresponding female copy to duplicate.For example, when sign indicating number outside the user fingerprints is 2, find female copy M 2The GOP of correspondence position copies to the user and copies in the corresponding position, when sign indicating number outside the user fingerprints is i, finds female copy M iThe GOP of correspondence position copies to the user and copies in the corresponding position.Final amalgamation generates the user and copies Y j
Suppose user u jOuter sign indicating number be W j={ w Ij, 0≤i≤l wherein 2, w Ij∈ 0, N 1-1}.It is following that the user copies the generation method step:
1. according to user u jFirst outer sign indicating number code word w 1j, select w 1jThe 1st GOP piece group of individual female copy sequence.Copy it to user u jUser copy in.
2. successively according to user u jOuter sign indicating number, the GOP that extracts in corresponding female copy divides into groups, as for i outer sign indicating number w Ij,, select w according to its value IjI GOP piece group of individual female copy sequence.This GOP piece spelling is received in user's copy.
3. accomplish the splicing that whole user copies video file, generate the user video copy.
Technology of the present invention is reduced to the time of duplicating a video from video of every generation with regard to the coding time once with the time that generates the user video copy through preparing female copies data in advance.Thereby can realize generating fast at short notice multitude of video copy, applicable to real-time distribution towards the online audio-video works of large-scale consumer.
Above embodiment only supplies to explain the present invention's usefulness, but not limitation of the present invention, the technician in relevant technologies field; Under the situation that does not break away from the spirit and scope of the present invention; Can also make various conversion or modification, so all technical schemes that are equal to, all fall into protection scope of the present invention.

Claims (4)

1. the user based on video GOP copies quick generation method, it is characterized in that, may further comprise the steps:
Female copy generates step, and this step comprises following substep:
1. according to the system N of the outer sign indicating number of concatenated fingerprint codes 1, generate N 1Individual female copy source file
Figure FDA00001644347400011
2. the generation of i female copy source file: adopt MPEG2, MPEG4, H264 or AVS video compressing and encoding method to carry out video compress to original video; When selected I frame is encoded; Adopt the digital watermarking embedded technology, embed i ISN sequence of concatenated fingerprint codes;
3. 2. generate N according to step successively 1Individual female copy source file
Figure FDA00001644347400012
Embedded one group of ISN sequence in each source file;
4. be that each female copy generates female copy GOP address file, start address and the end address of each GOP during this mother of record copies in this document;
The user copies the generation step, and this step further comprises following substep:
Suppose user u jOuter sign indicating number be W j={ w Ij, 0≤i≤l wherein 2, w Ij∈ 0, N 1-1}, then:
1. according to user u jFirst outer sign indicating number code word w 1j, select w 1jThe 1st GOP piece group of individual female copy sequence copies it to user u jUser copy in;
2. successively according to user u jOuter sign indicating number, the GOP that extracts in corresponding female copy divides into groups, as for i outer sign indicating number w Ij,, select w according to its value IjI GOP piece group of individual female copy sequence received this GOP piece spelling in user's copy 0≤i≤l 2In l 2Be Subscriber Number codeword sequence length;
3. accomplish the splicing that whole user copies video file, generate the user video copy.
2. the user based on video GOP according to claim 1 copies quick generation method, it is characterized in that:
Female copy generate step the 4. step comprise:
In the female copy of each video, seek the beginning flag of I frame, write down the start address of each I frame, be the start address of each GOP;
Write down the previous byte address of each I frame start position, be the end address of a GOP.
3. the user based on video GOP according to claim 1 and 2 copies quick generation method, it is characterized in that:
Female copy generates the 2. digital watermarking embedded technology in the step of step, is employed in the embedding that spatial domain or transform domain carry out watermark information.
4. the user based on video GOP according to claim 1 and 2 copies quick generation method, it is characterized in that:
The generation of user's copy is directly to realize through female GOP piece combination that copies.
CN 201010543679 2010-11-15 2010-11-15 Quickly generating method of user copy based on video GOP (Group of Picture) Expired - Fee Related CN101976323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010543679 CN101976323B (en) 2010-11-15 2010-11-15 Quickly generating method of user copy based on video GOP (Group of Picture)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010543679 CN101976323B (en) 2010-11-15 2010-11-15 Quickly generating method of user copy based on video GOP (Group of Picture)

Publications (2)

Publication Number Publication Date
CN101976323A CN101976323A (en) 2011-02-16
CN101976323B true CN101976323B (en) 2012-09-05

Family

ID=43576207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010543679 Expired - Fee Related CN101976323B (en) 2010-11-15 2010-11-15 Quickly generating method of user copy based on video GOP (Group of Picture)

Country Status (1)

Country Link
CN (1) CN101976323B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534971B (en) * 2016-12-05 2019-04-02 腾讯科技(深圳)有限公司 A kind of audio-video clipping method and device
CN112449190A (en) * 2019-09-05 2021-03-05 曙光网络科技有限公司 Decoding method of concurrent video session IPB frame image group

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374234A (en) * 2008-09-25 2009-02-25 清华大学 Method and apparatus for monitoring video copy base on content
CN101473345A (en) * 2006-06-29 2009-07-01 汤姆森许可贸易公司 System and method for adding fingerprint into digital video facing object

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101473345A (en) * 2006-06-29 2009-07-01 汤姆森许可贸易公司 System and method for adding fingerprint into digital video facing object
CN101374234A (en) * 2008-09-25 2009-02-25 清华大学 Method and apparatus for monitoring video copy base on content

Also Published As

Publication number Publication date
CN101976323A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
Liao et al. Efficient information hiding in H. 264/AVC video coding
Wang et al. Real-time compressed-domain video watermarking resistance to geometric distortions
CN101668170A (en) Digital television program copyright protecting method for resisting time synchronization attacks
CN102014239A (en) High-capacity steganographic method based on JPEG (Joint Photographic Experts Group) digital image
Qiu et al. Lossless data hiding in JPEG bitstream using alternative embedding
Prabakaran et al. A robust QR-Code video watermarking scheme based on SVD and DWT composite domain
CN104065976B (en) A kind of compression of images and security transmission method based on video
Lacy et al. On combining watermarking with perceptual coding
CN101404750B (en) Video fingerprint generation method and device
Elrowayati et al. HEVC watermarking techniques for authentication and copyright applications: Challenges and opportunities
Sun et al. An anti-recompression video watermarking algorithm in bitstream domain
CN101976323B (en) Quickly generating method of user copy based on video GOP (Group of Picture)
WO2009047833A1 (en) Electronic watermark embedding method, electronic watermark embedding apparatus, program, and computer-readable recording medium
CN101252683A (en) Multifunctional watermark video camera
Guo et al. Motion matters: A novel framework for compressing surveillance videos
Jianfeng et al. A mpeg2 video watermarking algorithm based on dct domain
Lee et al. Information hiding based on block match coding for vector quantization-compressed images
CN101399961B (en) Digital fingerprint embedding method, digital video distributing system and method
CN100387062C (en) Method for protecting MPEG-2 video frequency data with compensation
CN101854546B (en) Video watermark embedding extraction method based on H.264 motion vector
CN102244826A (en) Method and system for watermarking video based on video content
CN103379325A (en) Video geographical data digital watermarking method with copyright protection service orientation
Ali et al. Multi-layer watermarking of H. 264/AVC video using Differential Expansion on IPCM blocks
JP2014175757A (en) Digital watermark processing system for generating digital watermark by coupling divided elements, server, program and method
CN103391483A (en) Intelligent broadcasting monitoring system for blind watermarks of audios and videos

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120905

Termination date: 20131115