CN107979765A - A kind of video data handling procedure, apparatus and system - Google Patents

A kind of video data handling procedure, apparatus and system Download PDF

Info

Publication number
CN107979765A
CN107979765A CN201610939838.6A CN201610939838A CN107979765A CN 107979765 A CN107979765 A CN 107979765A CN 201610939838 A CN201610939838 A CN 201610939838A CN 107979765 A CN107979765 A CN 107979765A
Authority
CN
China
Prior art keywords
video data
check code
sequence number
verification
data packet
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.)
Withdrawn
Application number
CN201610939838.6A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610939838.6A priority Critical patent/CN107979765A/en
Publication of CN107979765A publication Critical patent/CN107979765A/en
Withdrawn legal-status Critical Current

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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26613Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing keys in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the present invention provides a kind of video data handling procedure, apparatus and system, wherein, this method includes:Receive video data;The sequence number of the corresponding check code of video data and the corresponding video data packet of the check code is obtained, wherein, which is generated by the video data packet in the video data;The video data is verified according to the check code and the sequence number;In the case where verification passes through, the video data is played.By the above method, receiving terminal can verify data stream by check code, and only in the case of verification successfully, receiving terminal can just play corresponding video, so as to effectively prevent data flow to be tampered.

Description

A kind of video data handling procedure, apparatus and system
Technical field
The present invention relates to the communications field, the more particularly to processing method of video data, apparatus and system.
Background technology
Existing IPTV networks are all much to transmit video data stream using plaintext, with network attack means increasingly More, plaintext transmission data are easy to distort by data flow, so that cause user's viewing is not original data stream, and are possible to It is some illegal videos.
At present, it is main to prevent data flow from distorting using being encrypted to data stream.But existing traffic encryption mode There are following defect:First, existing encryption method is primarily used to copyright protection, and terminal will not be right after receiving data flow Data flow is verified, therefore hacker still can distort data stream without being found by terminal;Second, existing encryption System expensive, so as to cause the increase of operator's cost.
The content of the invention
To solve the above problems, the embodiment of the present invention proposes a kind of processing method of video data, apparatus and system.With Solve existing encryption method expensive and terminal does not verify data stream, so as to can not prevent what data flow from distorting to ask Topic.
Specific implementation of embodiment of the present invention step is as follows:
A kind of video data handling procedure, including:
Receive video data;
The sequence number of the corresponding check code of video data and the corresponding video data packet of the check code is obtained, wherein, institute Check code is stated to be generated by the video data packet in the video data;
The video data is verified according to the check code and the sequence number;
In the case where verification passes through, the video data is played.
Further, it is described verification is carried out to the video data according to the check code and the sequence number to include:
The corresponding video data packet of the sequence number is obtained from the video data;Using the video data packet as key, It is encrypted according to algorithm set in advance, to generate corresponding verification data, wherein, the algorithm set in advance and described The generating algorithm of check code is consistent;It is whether consistent with the verification data to compare the check code.
Further, the algorithm set in advance is non-reversible algorithm, wherein, the non-reversible algorithm is calculated including MD5 Method.
Further, the corresponding check code of video data and the corresponding video data packet of the check code of obtaining Sequence number includes:
Parsing obtains the check code and the sequence number in the video data sent from transmitting terminal;Or
The check code and the sequence number that third-party server is sent are received, wherein, the third-party server is used In obtaining the video data packet from the transmitting terminal, to generate the check code.
Further, the method further includes:In verification not in the case of, the video data is abandoned.
The embodiment of the present invention additionally provides a kind of video data processing apparatus, including:
Receiving module, for receiving video data;
Acquisition module, for obtaining the corresponding check code of video data and the corresponding video data packet of the check code Sequence number, wherein, the check code is generated by the video data packet in the video data;
Correction verification module, for being verified according to the check code and the sequence number to the video data;
Playing module, in the case of passing through in verification, plays the video data.
Further, the correction verification module includes:
Acquisition submodule, for obtaining the corresponding video data packet of the sequence number from the video data;Generate submodule Block, for using the video data packet as key, being encrypted according to algorithm set in advance, to generate corresponding check number According to, wherein, the algorithm set in advance is consistent with the generating algorithm of the check code;Comparison sub-module, for described in comparison Whether check code is consistent with the verification data.
Further, the acquisition module includes:
Analyzing sub-module, the check code and the sequence are obtained for being parsed from the video data that transmitting terminal is sent Number;Alternatively,
Receiving submodule, for the check code for receiving third-party server transmission and the sequence number, wherein, it is described Third-party server is used to obtain the video data packet from the transmitting terminal to generate the check code.
Further, described device further includes:Discard module, for not in the case of, being regarded in verification described in discarding Frequency evidence.
The embodiment of the present invention additionally provides a kind of video data processing system, including transmitting terminal and receiving terminal, wherein, institute Transmitting terminal is stated, for sending video data;
The receiving terminal, for receiving the video data;Obtain the corresponding check code of the video data and described The sequence number of the corresponding video data packet of check code, wherein, the check code is by the video data packet in the video data Generation;The video data is verified according to the check code and the sequence number;In the case where verification passes through, play The video data.
By the above method, receiving terminal can verify data stream by check code, only verify successful feelings Under condition, receiving terminal can just play corresponding video, so as to effectively prevent data flow to be tampered.
Brief description of the drawings
Fig. 1 is a kind of video data handling procedure flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of video data processing apparatus block diagram one provided in an embodiment of the present invention;
Fig. 3 is a kind of video data processing apparatus block diagram two provided in an embodiment of the present invention;
Fig. 4 is a kind of video data processing apparatus block diagram three provided in an embodiment of the present invention;
Fig. 5 is a kind of video data processing apparatus block diagram four provided in an embodiment of the present invention;
Fig. 6 is a kind of video data processing system block diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of video data handling procedure flow chart that the embodiment of the present invention one provides;
Fig. 8 is a kind of video data processing system block diagram that the embodiment of the present invention one provides;
Fig. 9 is a kind of video data handling procedure flow chart provided by Embodiment 2 of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
An embodiment of the present invention provides a kind of video data handling procedure, Fig. 1 is that one kind provided in an embodiment of the present invention regards Frequency is according to process flow figure, as shown in Figure 1, this method comprises the following steps:
Step S102:Receive video data;
Step S104:Obtain the sequence of the corresponding check code of the video data and the corresponding video data packet of the check code Number, wherein, which is generated by the video data packet in the video data;
Step S106:The video data is verified according to the check code and the sequence number;
Step S108:In the case where verification passes through, the video data is played.
Critical data frame I frames in video data packet preferred video data flow in above-mentioned steps.By above-mentioned steps, connect Receiving end will not directly play out video when receiving video data, but video data is verified first, to judge Whether video data is tampered.
Further, this carries out verification according to the check code and the sequence number to the video data includes:From the video counts According to the corresponding video data packet of middle acquisition sequence number;Using the video data packet as key, added according to algorithm set in advance It is close, to generate corresponding verification data, wherein, the algorithm set in advance is consistent with the generating algorithm of the check code;Compare this Whether check code is consistent with the verification data.
Wherein, which is non-reversible algorithm, for example, MD5 algorithms.
It is consistent in check code generating algorithm and for non-reversible algorithm in the case of, it is ensured that in the case that verification passes through, Video data stream is reliable.
Further, the sequence number of the corresponding check code of acquisition video data and the corresponding video data packet of the check code Including:Parsing obtains the check code and the sequence number in the video data sent from transmitting terminal;Or receive third-party server The check code sent and the sequence number, wherein, which is used to obtain the video data packet from the transmitting terminal, To generate the check code.
Above two method is the two ways of check code generation and transmission.Under first way, check code is by transmitting terminal Equipment generates, and as video data transmits together, implementation is relatively easy with transmission mode;Under the second way, verification Code is generated by third party device, and transmission channel needs third-party ginseng also different from the passage of transmission of video, reliability higher With.
Further, this method further includes:In verification not in the case of, the video data is abandoned.
The embodiment of the present invention additionally provides a kind of video data processing apparatus, and Fig. 2 is one kind provided in an embodiment of the present invention Video data processing apparatus block diagram one, as shown in Fig. 2, the device is included with lower module:
Receiving module 22, for receiving video data;
Acquisition module 24, for obtaining the corresponding check code of the video data and the corresponding video data packet of the check code Sequence number, wherein, the check code by the video data the video data packet generate;
Correction verification module 26, for being verified according to the check code and the sequence number to the video data;
Playing module 28, in the case of passing through in verification, plays the video data.
Further, Fig. 3 is a kind of video data processing apparatus block diagram two provided in an embodiment of the present invention, as shown in figure 3, The calibration equipment 26 is included with lower module:
Acquisition submodule 32, for obtaining the corresponding video data packet of the sequence number from the video data;
Submodule 34 is generated, for using the video data packet as key, being encrypted according to algorithm set in advance, with life Into corresponding verification data, wherein, the algorithm set in advance is consistent with the generating algorithm of the check code;
Comparison sub-module 36, it is whether consistent with the verification data for comparing the check code.
Further, Fig. 4 is a kind of video data processing apparatus block diagram three provided in an embodiment of the present invention, as shown in figure 4, The acquisition module 24 is included with lower module:
Analyzing sub-module 42, the check code and the sequence number are obtained for being parsed from the video data that transmitting terminal is sent; Alternatively,
Receiving submodule 44, for receiving the check code and the sequence number of third-party server transmission, wherein, the 3rd Square server is used to obtain the video data packet from the transmitting terminal to generate the check code.
Further, Fig. 5 is a kind of video data processing apparatus block diagram four provided in an embodiment of the present invention, as shown in figure 5, The device is further included with lower module:
Discard module 52, for not in the case of, abandoning the video data in verification.
The embodiment of the present invention additionally provides a kind of video data processing system, and Fig. 6 is one kind provided in an embodiment of the present invention Video data processing system block diagram, as shown in fig. 6, the system includes transmitting terminal 62 and receiving terminal 64, wherein,
The transmitting terminal 62, for sending video data;
The receiving terminal 64, for receiving the video data;Obtain the corresponding check code of the video data and the check code The sequence number of corresponding video data packet, wherein, which is generated by the video data packet in the video data;According to the school Test code and the sequence number verifies the video data;In the case where verification passes through, the video data is played.
Embodiment one
The embodiment of the present invention one additionally provides a kind of video data processing system.
Fig. 7 is a kind of video data handling procedure flow chart that the embodiment of the present invention one provides, as shown in fig. 7, this method Comprise the following steps:
Step S702:A third-party server is affixed one's name in transmitting terminal content distribution network CDN service device sidepiece.The third party Server is used to extracting the key frame I frame data of code stream, and generates check code according to checking algorithm, and by check code with it is corresponding Data packet sequence number issues receiving terminal Interactive Internet TV IPTV terminal together;
Step S704:It is by third party's service that IPTV terminal, which receives video flowing, check code and data packet sequence number, check code, The link that device is different from media code stream using another is sent;
Step S706:IPTV terminal receives video flowing with after check code, being looked for according to the corresponding network bag sequence number of check code Media bag into video flowing, then obtains check code by checking algorithm, uses the check code and the check code of receiving of generation It is compared.
Step S708:If can match, illustrating not distort, then this video data is sent to decoder plays, if It cannot match, then abandon the data.
Fig. 8 is a kind of video data processing system block diagram that the embodiment of the present invention one provides, as shown in figure 8, the system bag Include:
CDN server 82, for sending video data;
Third-party server 84, check code is generated for extracting the key frame I frame data of code stream, and according to checking algorithm, And check code is issued into receiving terminal Interactive Internet TV IPTV terminal together with corresponding data packet sequence number;
IPTV terminal 86, for receiving video flowing, check code according to data packet sequence number, according to the corresponding network bag of check code Sequence number finds the media bag in video flowing, then obtains check code by checking algorithm, uses check code and the receiving of generation Check code is compared.
Embodiment two
The embodiment of the present invention two additionally provides a kind of video data handling procedure.Fig. 9 is provided by Embodiment 2 of the present invention A kind of video data handling procedure flow chart, as shown in figure 9, this method comprises the following steps:
Step S902:Transmitting terminal content distributing network CDN identifies I frame data bags, and generates check code using checking algorithm, Then check code is inserted into original code stream and is sent to IPTV terminal;
Step S904:IPTV terminal receives video flowing, check code and data packet sequence number;
Check code is inserted into original code stream and sends, for example is placed in rtp extension header, or is inserted into an empty matchmaker In body bag, parsed according to the specification being inserted into server.
Step S906:After IPTV terminal parses check code from code stream, looked for according to the corresponding network bag sequence number of check code Media bag into video flowing, then obtains check code by checking algorithm, uses the check code and the check code of receiving of generation It is compared;
Step S908:If can match, illustrating not distort, then this video data is sent to decoder plays, if It cannot match, then abandon the data.
If IPTV terminal detects I frame data, but MD5 check codes corresponding with this I frame data, terminal are not received This media bag data is also considered as to be tampered.

Claims (10)

  1. A kind of 1. video data handling procedure, it is characterised in that including:
    Receive video data;
    The sequence number of the corresponding check code of the video data and the corresponding video data packet of the check code is obtained, wherein, institute Check code is stated to be generated by the video data packet in the video data;
    The video data is verified according to the check code and the sequence number;
    In the case where verification passes through, the video data is played.
  2. 2. the method as described in claim 1, it is characterised in that described to be regarded according to the check code and the sequence number to described Frequency includes according to verification is carried out:
    The corresponding video data packet of the sequence number is obtained from the video data;
    Using the video data packet as key, it is encrypted according to algorithm set in advance, to generate corresponding verification data, its In, the algorithm set in advance is consistent with the generating algorithm of the check code;
    It is whether consistent with the verification data to compare the check code.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that described to obtain the corresponding check code of video data and institute Stating the sequence number of the corresponding video data packet of check code includes:
    Parsing obtains the check code and the sequence number in the video data sent from transmitting terminal;Or
    Receive third-party server send the check code and the sequence number, wherein, the third-party server be used for from The video data packet is obtained in the transmitting terminal, to generate the check code.
  4. 4. method as claimed in claim 3, it is characterised in that the method further includes:In verification not in the case of, lose Abandon the video data.
  5. 5. method as claimed in claim 2, the algorithm set in advance is non-reversible algorithm, wherein, it is described can not inverse operator Method includes MD5 algorithms.
  6. A kind of 6. video data processing apparatus, it is characterised in that including:
    Receiving module, for receiving video data;
    Acquisition module, for obtaining the corresponding check code of the video data and the corresponding video data packet of the check code Sequence number, wherein, the check code is generated by the video data packet in the video data;
    Correction verification module, for being verified according to the check code and the sequence number to the video data;
    Playing module, in the case of passing through in verification, plays the video data.
  7. 7. device as claimed in claim 6, it is characterised in that the correction verification module includes:
    Acquisition submodule, for obtaining the corresponding video data packet of the sequence number from the video data;
    Submodule is generated, for using the video data packet as key, being encrypted according to algorithm set in advance, with generation pair The verification data answered, wherein, the algorithm set in advance is consistent with the generating algorithm of the check code;
    Comparison sub-module, it is whether consistent with the verification data for the check code.
  8. 8. device as claimed in claims 6 or 7, it is characterised in that the acquisition module includes:
    Analyzing sub-module, the check code and the sequence number are obtained for being parsed from the video data that transmitting terminal is sent;Or Person,
    Receiving submodule, for the check code for receiving third-party server transmission and the sequence number, wherein, the described 3rd Square server is used to obtain the video data packet from the transmitting terminal to generate the check code.
  9. 9. device as claimed in claim 8, it is characterised in that described device further includes:
    Discard module, for not in the case of, abandoning the video data in verification.
  10. A kind of 10. video data processing system, it is characterised in that including transmitting terminal and receiving terminal, wherein,
    The transmitting terminal, for sending video data;
    The receiving terminal, for receiving the video data;Obtain the corresponding check code of the video data and the verification The sequence number of the corresponding video data packet of code, wherein, the check code is generated by the video data packet in the video data; The video data is verified according to the check code and the sequence number;In the case where verification passes through, described in broadcasting Video data.
CN201610939838.6A 2016-10-25 2016-10-25 A kind of video data handling procedure, apparatus and system Withdrawn CN107979765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610939838.6A CN107979765A (en) 2016-10-25 2016-10-25 A kind of video data handling procedure, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610939838.6A CN107979765A (en) 2016-10-25 2016-10-25 A kind of video data handling procedure, apparatus and system

Publications (1)

Publication Number Publication Date
CN107979765A true CN107979765A (en) 2018-05-01

Family

ID=62004112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610939838.6A Withdrawn CN107979765A (en) 2016-10-25 2016-10-25 A kind of video data handling procedure, apparatus and system

Country Status (1)

Country Link
CN (1) CN107979765A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572721A (en) * 2018-06-05 2019-12-13 北京松果电子有限公司 Video transmission method and device
CN110719499A (en) * 2019-09-19 2020-01-21 北京字节跳动网络技术有限公司 Video downloading method, system, medium and electronic device
CN111246387A (en) * 2019-01-22 2020-06-05 中国信息通信研究院 Method and system for acquiring position information by broadband network gateway
CN111711863A (en) * 2020-06-29 2020-09-25 北京数码视讯科技股份有限公司 Method and device for preventing program insertion, electronic equipment and storage medium
CN113784168A (en) * 2020-06-10 2021-12-10 西安诺瓦星云科技股份有限公司 Program checking method, device and system
CN114826669A (en) * 2022-03-23 2022-07-29 惠州华阳通用电子有限公司 Communication data sending and receiving method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102884744A (en) * 2010-05-03 2013-01-16 罗伯特·博世有限公司 Method and device for securing data packets to be transmitted via an interface

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102884744A (en) * 2010-05-03 2013-01-16 罗伯特·博世有限公司 Method and device for securing data packets to be transmitted via an interface

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572721A (en) * 2018-06-05 2019-12-13 北京松果电子有限公司 Video transmission method and device
CN110572721B (en) * 2018-06-05 2022-02-22 北京小米松果电子有限公司 Video transmission method and device
CN111246387A (en) * 2019-01-22 2020-06-05 中国信息通信研究院 Method and system for acquiring position information by broadband network gateway
CN110719499A (en) * 2019-09-19 2020-01-21 北京字节跳动网络技术有限公司 Video downloading method, system, medium and electronic device
CN113784168A (en) * 2020-06-10 2021-12-10 西安诺瓦星云科技股份有限公司 Program checking method, device and system
CN111711863A (en) * 2020-06-29 2020-09-25 北京数码视讯科技股份有限公司 Method and device for preventing program insertion, electronic equipment and storage medium
CN114826669A (en) * 2022-03-23 2022-07-29 惠州华阳通用电子有限公司 Communication data sending and receiving method and device

Similar Documents

Publication Publication Date Title
CN107979765A (en) A kind of video data handling procedure, apparatus and system
CN105939484B (en) A kind of the encryption playback method and its system of audio-video
CN101902477B (en) Transmission system, reception system, the recognition methods of media stream and system
US20080063195A1 (en) Method and system for encrypting or decrypting wmv streaming media
CN107547918A (en) The methods, devices and systems that a kind of IPTV channel plays safely
CN101534433B (en) Streaming media encryption method
WO2018196434A1 (en) Video quality evaluation method and device
CN107547915B (en) A kind of IPTV video content tamper resistant method
US11449583B2 (en) Reception device, transmission device, and data processing method
US8254464B2 (en) Image quality estimation apparatus and image quality estimation method
US8813115B2 (en) Service access method, device, and system
US8826387B2 (en) Validation and fast channel change for broadcast system
CN104869437B (en) Bidirectional terminal barrage implementation method based on Conditional Access of Digital Television
JP2004516748A (en) Pointer to encrypted data in RTP header
CN110868413B (en) Video and audio credible playing method for generating associated abstract based on intra-frame extraction
CN107404379A (en) A kind of processing method and processing device of files in stream media
CN101360230B (en) Host apparatus connected to point of deployment and method for processing broadcast data
CN110868641B (en) Method and system for detecting validity of live broadcast source
CN110740390A (en) video and audio credible playing method for generating associated abstract based on interframe extraction
EP1499061A1 (en) Individual video encryption system and method
EP1298926B1 (en) Information presentation device and method
KR101340203B1 (en) Encryption procedure and device for an audiovisual data stream
Oligeri et al. Robust and efficient authentication of video stream broadcasting
WO2006024234A1 (en) Method ano apparatus for protecting broadband video and audio broadcast content
US20140156997A1 (en) System and method for authenticating an encoded multimedia stream using digital signatures

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180501

WW01 Invention patent application withdrawn after publication