CN105611319A - Video content anti-tampering method - Google Patents

Video content anti-tampering method Download PDF

Info

Publication number
CN105611319A
CN105611319A CN201510976192.4A CN201510976192A CN105611319A CN 105611319 A CN105611319 A CN 105611319A CN 201510976192 A CN201510976192 A CN 201510976192A CN 105611319 A CN105611319 A CN 105611319A
Authority
CN
China
Prior art keywords
file
self
video content
tampering
video
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.)
Granted
Application number
CN201510976192.4A
Other languages
Chinese (zh)
Other versions
CN105611319B (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.)
Hangzhou Dang Hong Polytron Technologies Inc
Original Assignee
Hangzhou Arcvideo 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 Hangzhou Arcvideo Technology Co ltd filed Critical Hangzhou Arcvideo Technology Co ltd
Priority to CN201510976192.4A priority Critical patent/CN105611319B/en
Publication of CN105611319A publication Critical patent/CN105611319A/en
Application granted granted Critical
Publication of CN105611319B publication Critical patent/CN105611319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2389Multiplex stream processing, e.g. multiplex stream encrypting
    • H04N21/23895Multiplex stream processing, e.g. multiplex stream encrypting involving multiplex stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23614Multiplexing of additional data and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video content anti-tampering method. A structure is customized and is inserted in a TS (Transport Stream) or MP4 file; the customized structure comprises the version number of a hash algorithm, a mode, a file length and a hash value; in adoption of the video content anti-tampering method, massive stock contents can be upgraded conveniently and rapidly; anti-tampering information is inserted; after adding the anti-tampering information, once the video data is tampered by a hacker, a play end can verify so as to discover timely and prevent the tampered video from being played; with respect to the newly generated video contents, the anti-tampering data can be added easily through the method in the production process; with respect to online services, especially wired or OTT services based on TS streams, the anti-tampering information can be added in real time; whether the anti-tampering information is built can be detected in real time in a set top box player; and therefore, the hacker is prevented from destroying andtampering the video data.

Description

A kind of anti-method of distorting of video content
Technical field
The present invention relates to a kind of method for processing video frequency, particularly a kind of anti-tamper method of video content.
Background technology
TS (TransportStream:ISO/IEC13818-1) and MP4 (ISO/IEC14496-12) file format are two kinds of maximum video file formats of most widely used, storage at present. When content supplier suffers assault, file content (comprises off-line storage file, live distribution of document) while being maliciously tampered, relating to Huang and relate to cruelly or with reaction speech if distort content, find not in time and process and will cause serious severe social influence.
For preventing the generation of this type of accident, common way is to be each document creation MD5 check code at present, but in actual applications, all needs to create and checking MD5 value at every turn, and efficiency is too low, and this method cannot be implemented in real-time live broadcast.
Summary of the invention
Based on this, be necessary to provide one Modify rapidly in large quantity, and can fast detecting content whether be tampered, can not affect the video content tamper resistant method of normal play.
According to an aspect of the present invention, provide a kind of video content anti-tamper method, self-defined a kind of structure, is inserted in TS or MP4 file, and self-defining structure comprises version number, pattern, file size and the hash value of hash algorithm.
Therein in an embodiment, self-defining structure is inserted in the pmt table of TS file, as follows for the customizing method of the structure of TS file:
A1, in TS file, search for two continuous pmt tables, the data between two pmt tables are obtained to a hash value with hash algorithm;
B1, a self-defined descriptor, content comprises descriptortag, version number, pattern, file size, and the hash value of step a1 gained;
C1, search for first pmt table in insert self-defining descriptor.
In an embodiment, start to search for two continuous pmt tables from the head of TS file therein.
Therein in an embodiment, search for first descriptor () of first pmt table in insert self-defining descriptor.
Therein in an embodiment, self-defining structure is inserted in MP4 file, and self-defining structure is a box, as follows for the customizing method of the structure of MP4 file:
A2, all key frames of MP4 file are obtained to a hash value with hash algorithm;
B2, a self-defined box, content comprises descriptortag, version number, pattern, file size, and the hash value of step a2 gained.
The method that this video content is anti-tamper, can upgrade to magnanimity storage content quickly and easily, insert the anti-information of distorting, adding these anti-distorting after information, once after by hacker's video data of distorting, can make verification at broadcasting end, can find in time, and stop the video of being distorted played, and for the video content of new production, easily in the process of producing, implement the method and add the data of distorting, on the other hand at line service, the particularly wired or OTT business based on TS stream, can add in real time the anti-information of distorting, whether can detect in real time the anti-information of distorting at Set Top Box player sets up, thereby stop illegal hackers to be destroyed, the video data of distorting.
Detailed description of the invention
For the ease of understanding the present invention, will be described more fully the present invention with specific embodiment below. But the present invention can realize in many different forms, be not limited to embodiment described herein. On the contrary, providing the object of this embodiment is to make to the understanding of disclosure of the present invention more thoroughly comprehensively.
The anti-tamper method of video content of one embodiment of the invention, by self-defined a kind of structure, is inserted in TS or MP4 file, and self-defining structure comprises version number, pattern, file size and the hash value of hash algorithm.
For TS formatted file, self-defining structure is inserted in the pmt table of TS file, as follows for the customizing method of the structure of TS file:
A1, start to search for two continuous pmt tables from the head of TS file, the data between two pmt tables are obtained to a hash value with hash algorithm, and record the length of this hash value;
B1, a self-defined descriptor, content comprises descriptortag, version number, pattern, file size, and all information of the hash value of step a1 gained;
C1, search for first descriptor () of first pmt table in insert this self-defining descriptor.
In TS file, PMT is mainly used to describe the information of audio/video flow in this program stream, and the frequency occurring can not be less than 500ms (ETSITR101290), is to resolve TS file requisite table. In addition,, in the TS of Bao Changwei 188 bytes bag, a pmt table often has a large amount of padding datas. Therefore can in this padding data, insert self-defining descriptor, and not change the total length of file.
For playing end, as long as resolving in the process of pmt table, find this self-defining descriptor, explanation need to start anti-tamper mechanism. Play end and need to find continuous two PMT, and calculate the hash value of data between these two PMT with identical hash algorithm, and mate with the hash value in self-defining descriptor. If cannot mate, or there is no corresponding descriptor, illustrate that this section of content was tampered.
For MP4 formatted file, self-defining structure is inserted in MP4 file, and self-defining structure is a box, as follows for the customizing method of the structure of MP4 file:
A2, all key frames of MP4 file are obtained to a hash value with hash algorithm;
B2, a self-defined box, content comprises descriptortag, version number, pattern, file size, and the hash value of step a2 gained. This box need to deposit in videotrakbox, and stssbox peer (SyncSampleBox), is therefore conventionally placed on after stssbox.
For playing end, in resolving MP4 file, first calculate the hash value of key frame, and with MP4 file in box in the hash value of record contrast, if hash value do not mate, or this box not, supporting paper was tampered.
The anti-tamper method of this video content of the present embodiment, can upgrade to magnanimity storage content quickly and easily, insert the anti-information of distorting, adding these anti-distorting after information, once after by hacker's video data of distorting, can make verification at broadcasting end, can find in time, and stop the video of being distorted played, and for the video content of new production, easily in the process of producing, implement the method and add the data of distorting, on the other hand at line service, the particularly wired or OTT business based on TS stream, can add in real time the anti-information of distorting, whether can detect in real time the anti-information of distorting at Set Top Box player sets up, thereby stop illegal hackers to be destroyed, the video data of distorting.
The above embodiment has only expressed indivedual embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (5)

1. the anti-tamper method of video content, is characterized in that, self-defined a kind of structure, is inserted into TSOr in MP4 file, self-defining described structure comprise hash algorithm version number, pattern, file size andHash value.
2. the anti-tamper method of a kind of video content according to claim 1, is characterized in that, makes by oneselfThe described structure of justice is inserted in the pmt table of TS file, for the customizing method of the described structure of TS fileAs follows:
A1, in TS file, search for two continuous described pmt tables, by between two described pmt tablesData obtain a hash value with hash algorithm;
B1, a self-defined descriptor, content comprises descriptortag, version number, pattern, file size,And the described hash value of step a1 gained;
C1, search for first described in insert self-defining described descriptor in pmt table.
3. the anti-tamper method of a kind of video content according to claim 2, is characterized in that, from TSThe head of file starts to search for two continuous described pmt tables.
4. the anti-tamper method of a kind of video content according to claim 2, is characterized in that, is searchingRope obtain first described in insert self-defining described descriptor in first descriptor () of pmt table.
5. the anti-tamper method of a kind of video content according to claim 1, is characterized in that, makes by oneselfThe described structure of justice is inserted in MP4 file, and self-defining described structure is a box, for MP4 fileThe customizing method of described structure as follows:
A2, all key frames of MP4 file are obtained to a hash value with hash algorithm;
B2, a self-defined box, content comprises descriptortag, version number, pattern, file size,And the described hash value of step a2 gained.
CN201510976192.4A 2015-12-24 2015-12-24 A kind of method that video content is anti-tamper Active CN105611319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510976192.4A CN105611319B (en) 2015-12-24 2015-12-24 A kind of method that video content is anti-tamper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510976192.4A CN105611319B (en) 2015-12-24 2015-12-24 A kind of method that video content is anti-tamper

Publications (2)

Publication Number Publication Date
CN105611319A true CN105611319A (en) 2016-05-25
CN105611319B CN105611319B (en) 2018-08-17

Family

ID=55990812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510976192.4A Active CN105611319B (en) 2015-12-24 2015-12-24 A kind of method that video content is anti-tamper

Country Status (1)

Country Link
CN (1) CN105611319B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769742A (en) * 2018-07-10 2018-11-06 江苏省公用信息有限公司 A kind of IPTV multicast contents tamper resistant method
CN109413444A (en) * 2018-10-30 2019-03-01 苏州科达科技股份有限公司 Completeness check data creation method, integrity checking method and the device of video
CN110366049A (en) * 2019-08-05 2019-10-22 杭州当虹科技股份有限公司 A kind of stream-type video completeness protection method
CN112468872A (en) * 2020-10-14 2021-03-09 上海艾策通讯科技股份有限公司 IP video consistency detection method and device, computer equipment and storage medium
CN113559506A (en) * 2021-09-24 2021-10-29 深圳易帆互动科技有限公司 Automatic testing method and device for frame synchronization and readable storage medium
CN114173149A (en) * 2021-12-21 2022-03-11 杭州当虹科技股份有限公司 Method for preventing inter cut

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980375A (en) * 2005-12-07 2007-06-13 中国科学院研究生院 Method for real-time inserting signature and identifying signature indigit TV transmission flow
US20080037783A1 (en) * 2006-06-29 2008-02-14 Samsung Electronics Co., Ltd. Device and method for providing video stream having integrity
CN102158768A (en) * 2011-05-11 2011-08-17 上海交通大学 MP4 file encapsulation format-based video authentication watermark embedding and extraction method
CN103747241A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for detecting integrity of video
CN104077590A (en) * 2014-06-30 2014-10-01 安科智慧城市技术(中国)有限公司 Video fingerprint extraction method and system
CN104469407A (en) * 2014-12-25 2015-03-25 山东泰信电子股份有限公司 Method and system for ensuring digital television program content safety and scrambling device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980375A (en) * 2005-12-07 2007-06-13 中国科学院研究生院 Method for real-time inserting signature and identifying signature indigit TV transmission flow
US20080037783A1 (en) * 2006-06-29 2008-02-14 Samsung Electronics Co., Ltd. Device and method for providing video stream having integrity
CN102158768A (en) * 2011-05-11 2011-08-17 上海交通大学 MP4 file encapsulation format-based video authentication watermark embedding and extraction method
CN103747241A (en) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 Method and apparatus for detecting integrity of video
CN104077590A (en) * 2014-06-30 2014-10-01 安科智慧城市技术(中国)有限公司 Video fingerprint extraction method and system
CN104469407A (en) * 2014-12-25 2015-03-25 山东泰信电子股份有限公司 Method and system for ensuring digital television program content safety and scrambling device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769742A (en) * 2018-07-10 2018-11-06 江苏省公用信息有限公司 A kind of IPTV multicast contents tamper resistant method
CN108769742B (en) * 2018-07-10 2021-06-01 天翼智慧家庭科技有限公司 IPTV multicast content tamper-proofing method
CN109413444A (en) * 2018-10-30 2019-03-01 苏州科达科技股份有限公司 Completeness check data creation method, integrity checking method and the device of video
CN110366049A (en) * 2019-08-05 2019-10-22 杭州当虹科技股份有限公司 A kind of stream-type video completeness protection method
CN112468872A (en) * 2020-10-14 2021-03-09 上海艾策通讯科技股份有限公司 IP video consistency detection method and device, computer equipment and storage medium
CN113559506A (en) * 2021-09-24 2021-10-29 深圳易帆互动科技有限公司 Automatic testing method and device for frame synchronization and readable storage medium
CN114173149A (en) * 2021-12-21 2022-03-11 杭州当虹科技股份有限公司 Method for preventing inter cut

Also Published As

Publication number Publication date
CN105611319B (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN105611319A (en) Video content anti-tampering method
EP1652383B1 (en) Content identification for broadcast media
US11902601B2 (en) System and techniques for digital data lineage verification
WO2009131861A3 (en) Media asset management
JP2018098809A (en) Detection of unauthorized content in live multiuser composite streams
CN101615411B (en) Encryption method of playlist and media task of networking information release system
CN101540907B (en) Method for auditing safety of internet video
CN106548092A (en) File processing method and device
RU2010153326A (en) SEGMENTED MEDIA CONTENT RIGHTS MANAGEMENT
US20110179288A1 (en) Technique for Content Management using Group Rights
CN102187366B (en) Content item identifier
WO2005117443A3 (en) Authentication of applications
US11089385B2 (en) Accelerated television advertisement identification
CN102842053B (en) A kind of false proof figure code label and manufacture method thereof
CN102567657A (en) Digital work ownership authentication system and digital work ownership authentication method
US11588889B1 (en) Validating media content retrieved from untrusted networks
CN113781268A (en) Encryption and tamper-proof method for evidence file circulation
CN101980238B (en) Method for encrypting RM/RMVB file
US20230328300A1 (en) Protecting media content integrity across untrusted networks
US20110261997A1 (en) Forensic mark insertion apparatus and method
CN113268690B (en) Method and system for safely filtering website short video playing information
CN109274995B (en) Method for guaranteeing IPTV content to be safely broadcast
JP2016096411A (en) Feature amount generation device, feature amount generation method, feature amount generation program, and interpolation detection system
CN102333242A (en) Device and method for matching streaming media language information
WO2019198098A1 (en) A system and method for tracking digital assets in a digital ecosystem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310000 A Block, 16th Floor, E Building, Paradise Software Park, No. 3 Xidoumen Road, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Dang Hong Polytron Technologies Inc

Address before: 310000 B2010, two floor, North (two), six and 368 Road, Binjiang District, Hangzhou, Zhejiang.

Patentee before: HANGZHOU DANGHONG TECHNOLOGY CO., LTD.