WO2012024921A1 - Method and device for descrambling media data blocks - Google Patents

Method and device for descrambling media data blocks Download PDF

Info

Publication number
WO2012024921A1
WO2012024921A1 PCT/CN2011/072116 CN2011072116W WO2012024921A1 WO 2012024921 A1 WO2012024921 A1 WO 2012024921A1 CN 2011072116 W CN2011072116 W CN 2011072116W WO 2012024921 A1 WO2012024921 A1 WO 2012024921A1
Authority
WO
WIPO (PCT)
Prior art keywords
media data
data block
control word
descrambling
module
Prior art date
Application number
PCT/CN2011/072116
Other languages
French (fr)
Chinese (zh)
Inventor
郭世亮
肖龙安
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012024921A1 publication Critical patent/WO2012024921A1/en

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, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for media data block solution.
  • digital mobile multimedia broadcasting technologies especially mobile TV technologies
  • Various television standards provide mobile multimedia broadcast terminal users with rich and colorful content, such as news, sports programs, variety shows, TV dramas, and movies. You can choose the service program of mobile multimedia broadcasting in your own hobby.
  • Content operators often provide paid multimedia broadcast services in order to sustain the benefits of broadcast operations. This requires adding 4 special programs to the program stream. Only users who have been authorized to watch the program can watch the program. After the user is authorized, the program stream is received, and then the program stream is descrambled before being played.
  • a terminal supporting a mobile multimedia broadcast function includes at least a media broadcast module and a player module.
  • the media broadcast module is composed of a receiving and demodulating chip, a demultiplexing module, a descrambling module, and a Conditional Access System (CAS).
  • the player module generally refers to a player on a terminal such as a personal computer, a personal digital assistant (PDA), and a mobile phone.
  • the receiving and demodulating chip is responsible for receiving and demodulating the digital broadcast signal, and after obtaining the data frame, the demultiplexing module demultiplexes the media data block and the 4 authorized control information (Entitlement Control Message, referred to as ECM), then send the ECM to the CAS module, and send the scrambled media data block to the solution 4 module;
  • ECM Entitlement Control Message
  • ⁇ ⁇ Entitlement Management Message can be transmitted in the broadcast channel or through interaction Channel transmission (shown in Figure 1 is transmitted through the interactive channel) to the CAS, the CAS module calculates the control word (Control Word, referred to as CW) according to the EMM/ECM, and solves the media data block of the 4th module after obtaining the CW.
  • De-scrambling is performed, and the stream is cleared and transmitted to the player module, and the player module decodes and plays the clear stream.
  • Both the media data block and the ECM are delivered via the broadcast channel.
  • the key stream generally carries two keys at a time, that is, one ECM packet contains two CWs, one for solving the media data block of the current moment, and one for solving the solution.
  • the general policy of the terminal is: Save two keys at the same time, and update the local key in time as the key of the code stream is updated. After the descrambling module of the terminal obtains the CW, it first needs to synchronize the media data block and the CW to correctly solve the 4th.
  • FIG. 2 is a schematic diagram of synchronization of a key stream and a media stream according to the related art.
  • a key stream is represented by a Key stream
  • a media stream is represented by an A/V stream. Since the key synchronization mechanism of the terminal is synchronized with the code stream at any time, the Key stream is actually the key stream held by the terminal.
  • Kl and ⁇ 2 in the key stream respectively represent the first control word and the second control word, and are placed in a box to indicate that one ECM packet contains two CWs.
  • K1 in the media stream indicates that the media block must be descrambled with the first control word, and descrambling with other control words will fail.
  • FIG. 3 is a schematic diagram of a key stream in advance according to a related art, in which a media block is urgent represented by a shadow, and the remaining parameters are defined in the same manner as in FIG. 2. As shown in FIG. 3, in the case where the key stream is advanced compared to the media stream, if the media data block is descrambled, the appropriate CW will not be found, that is, the key is out of synchronization.
  • the main object of the present invention is to provide a media data block solution.
  • methods and devices are used to solve the above problems.
  • a media data block descrambling method is provided.
  • the media data block descrambling method includes: the descrambling module receives the control word from the conditional receiving system; the descrambling module saves the control word; the descrambling module receives the media data block from the demultiplexing module; the descrambling module The media data block is descrambled using the saved control word.
  • the descrambling module saves the control word including: The descrambling module saves the control word to the control word database in the descrambling module.
  • the descrambling module uses the saved control word to descramble the media data block.
  • the descrambling module searches the control word database for the presence of a control word corresponding to the media data block. If the search result is yes, the used control word is used.
  • the method further includes: the demultiplexing module receiving the data frame from the receiving and demodulating chip; and the demultiplexing module demultiplexing the data frame to obtain the authorization control information
  • the demultiplexing module transmits the authorization control information to the conditional receiving system; the conditional receiving system receives the authorization management information; and the conditional receiving system uses the authorization control information and the authorization management information to calculate the control word.
  • the method further includes: the demultiplexing module receives the data frame from the receiving and demodulating chip; and the demultiplexing module demultiplexes the data frame to obtain the media data.
  • the method further includes: the descrambling module sends the descrambled media data block to the player module; and the player module pairs the descrambled media data
  • the block is decoded and played.
  • a media data block descrambling apparatus includes: a first receiving unit configured to receive a control word from a conditional receiving system; a saving unit configured to save a control word; and a second receiving unit configured to receive from the demultiplexing module Media data block; descrambling unit, set to use the saved control word to descramble the media data block.
  • the media data block solution 4 device further includes a control word database, and the saving unit comprises: a saving subunit, configured to save the control word to the control word database.
  • the descrambling unit includes: a lookup subunit, configured to search in the control word database for whether there is a control word corresponding to the media data block; and a descrambling subunit, configured to use the searched control word when the search result is yes, Deblock the media data block.
  • the media data block descrambling device further includes: a sending unit, configured to send the descrambled media data block to the player module, so that the player module decodes and plays the descrambled media data block.
  • FIG. 1 is a schematic diagram of a mobile multimedia broadcast scheme (terminal) according to the related art
  • FIG. 2 is a schematic diagram of key stream synchronization with a media stream according to the related art
  • FIG. 3 is a key stream phase according to the related art.
  • FIG. 4 is a schematic diagram of a mobile multimedia broadcast scheme (terminal) according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a media data block descrambling method according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a key synchronization method according to a preferred embodiment of the present invention
  • FIG. 8 is a flowchart of a key synchronization method according to a preferred embodiment of the present invention
  • FIG. 4 is a schematic diagram of a mobile multimedia broadcast solution (terminal) according to an embodiment of the present invention. As shown in FIG. 4, it includes two parts: a media broadcast module and a player module.
  • the number of media broadcast modules The word broadcast signal receiving and demodulating chip, the demultiplexing sub-module, the descrambling sub-module, and the CAS sub-module are composed.
  • the improvement of the scheme is that a control word database for locally storing control words is added to the descrambling sub-module.
  • the present invention provides a media data block descrambling method, which can be implemented based on the mobile multimedia broadcast scheme (terminal) shown in FIG.
  • FIG. 5 is a flowchart of a method for descrambling a media block according to an embodiment of the present invention, including steps S502 to S508. Step S502, the descrambling module receives the control word from the conditional access system.
  • step S504 the solution 4 saves the control word.
  • step S506 the descrambling module receives the media data block from the demultiplexing module.
  • Step S508, the descrambling module uses the saved control word to descramble the media data block.
  • the key out of synchronization will cause the descrambling of the media data block to fail.
  • the control word used for decoding the media data block is saved, so that the media data block can be correctly decoded, thereby ensuring the play of the program stream.
  • 6 is a schematic diagram of a key stream not causing a key out of synchronization in advance of a media stream according to an embodiment of the present invention. As can be seen from comparison with FIG.
  • the descrambling module saves the control word comprising: the descrambling module saves the control word to a control word database in the descrambling module.
  • a control word database for locally storing the control word is added, and the control word for decoding the media data block is saved in the control word database, which can further ensure that the media data block is correctly decoded. , in order to ensure the playback of the program stream.
  • the control word database is used to save the control word, and the implementation is simple and reliable.
  • the solution 4 uses a saved control word
  • the solution 4 of the media data block includes: the descrambling module searches the control word database for whether there is a control word corresponding to the media data block; if the search result is yes, The media data block is descrambled using the lookup control word.
  • the preferred embodiment describes a process for solving a block of media data using control words stored in a control word database. By finding the control word corresponding to the media data block, it is ensured that the media data block is correctly decoded, thereby ensuring the playback of the program stream.
  • the demultiplexing module receives the data frame from the receiving and demodulating chip; the demultiplexing module demultiplexes the data frame to obtain the authorization control information; The module transmits the authorization control information to the conditional receiving system; the conditional receiving system receives the authorization management information; and the conditional receiving system uses the authorization control information and the authorization management information to calculate the control word.
  • the preferred embodiment describes a process for understanding a multiplexing module to calculate a control word, which is similar to the prior art, and can be used in various multimedia encryption protocols, various player applications without modification, and has good scalability. , debuggability and wide adaptability.
  • the demultiplexing module receives the data frame from the receiving and demodulating chip; the demultiplexing module demultiplexes the data frame to obtain the media data block.
  • the preferred embodiment describes a process for the multiplexing module to demultiplex a data frame to obtain a media data block.
  • the implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various player applications without modification. It has good scalability, debugability and wide adaptability.
  • the descrambling module sends the descrambled media data block to the player module; and the player module performs the descrambled media data block.
  • Decode and play The preferred embodiment describes a process in which the player module decodes and plays the descrambled media data block, and the implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various players without modification. In the application, it has good scalability, debugability and wide adaptability. The implementation process of the embodiment of the present invention will be described in detail below with reference to examples. FIG.
  • Step S702 receiving and demodulating the chip to receive the signal to obtain a data frame, and sending the data frame to the demultiplexing module.
  • Step S704 the demultiplexing module solves the ECM and sends the ECM to the CAS, and the decoded media data block is sent to the descrambling module.
  • Step S706 the CAS calculates the CW according to the EMM of the outband transmission and the ECM that has been received, and then transmits the CW to the descrambling module.
  • Step S708 the descrambling module first saves the CW to the CW DB, and then according to the media data block.
  • Step S710 the player module decodes and plays the clear stream.
  • the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein.
  • the embodiment of the present invention provides a media data block descrambling device, and the media data block descrambling device can be used to implement the foregoing media data block descrambling method.
  • FIG. 8 is a structural block diagram of a media block descrambling apparatus according to an embodiment of the present invention, including a first receiving unit 82, a saving unit 84, a second receiving unit 86, and a solution unit 88.
  • the structure is described in detail below.
  • a first receiving unit 82 configured to receive a control word from the conditional receiving system;
  • the control word used for decoding the media data block is saved, so that the media data block can be correctly decoded, thereby ensuring the play of the program stream.
  • the media data block solution device further includes a control word database
  • the saving unit 84 includes a saving subunit 842 connected to the first receiving unit 82, and configured to save the control word received by the first receiving unit 82 to the control word database.
  • a control word database for locally storing the control word is added, and the control word for decoding the media data block is saved in the control word database, which may be further Ensure that the media data block is correctly decoded to ensure the playback of the program stream.
  • the control word database is used to save the control word, and the implementation is simple and reliable.
  • the solution unit 88 includes: a lookup subunit 882 and a solution 4 subunit 884, the structure of which is described in detail below.
  • the lookup subunit 882 is connected to the saving unit 84 and the second receiving unit 86, and is arranged to look up in the control word database held by the saving subunit 842 included in the saving unit 84 whether there is a corresponding corresponding to the media data block received by the second receiving unit 86.
  • the control word; the solution 4 sub-unit 884, connected to the lookup sub-unit 882, is set to descramble the media data block using the searched control word if the lookup sub-unit 882 looks for a yes result.
  • the preferred embodiment describes a process for solving a block of media data using control words stored in a control word database. By finding the control word corresponding to the media data block, it is ensured that the media data block is correctly decoded, thereby ensuring the playback of the program stream.
  • the media data block solution 4 device further includes a sending unit 89 connected to the solution 4 unit 88, and configured to send the media data block descrambled by the descrambling unit 88 to the player module, so that the player module pairs the solution 4
  • the media data block of the unit 88 is decoded and played.
  • the preferred embodiment describes a process in which the player module decodes and plays the descrambled media data block, and the implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various players without modification. In the application, it has good scalability, debugability and wide adaptability.
  • the media data block descrambling device described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again.
  • the descrambling module saves the control word, and uses the saved control word to descramble the media data block, thereby solving the problem that the descrambling failure is caused by the key out of synchronization in the related art, thereby ensuring the playback of the program stream. It should be noted that the above methods are applicable to various terminal players and various descrambling algorithms.
  • ISMACryp Internet Streaming Media Alliance Encryption and Authentication
  • SRTP Secure Real-time Transport Protocol
  • IPsec IP Security

Abstract

A method and device for descrambling media data blocks are provided, and the method includes the following steps: control words from a conditional access system are received by a descrambling module; the control words are saved by the descrambling module; media data blocks from a demultiplexing module are received by the descrambling module; and the media data blocks are descrambled by the descrambling module with the saved control words. The play of program stream is ensured by the present invention.

Description

媒体数据块解扰方法^置 技术领域 本发明涉及通信领域,具体而言, 涉及一种媒体数据块解 4尤方法及装置。 背景技术 近年来, 数字移动多媒体广播技术尤其是手机电视技术发展迅速, 各种 电视标准为移动多媒体广播终端用户提供了丰富多彩的内容, 譬如新闻、 体 育节目、 综艺、 电视剧以及电影等节目, 用户可以 居自己的爱好选择移动 多媒体广播的服务节目。 内容运营商为了持续的广播运营收益,经常提供有偿的多媒体广播服务, 这就需要对节目流进行加 4尤, 只有经过 ·ί受权的用户才能收看节目。 用户得到 授权后, 接收节目流, 然后解扰节目流, 才可以播放。 用户为了随时随地地使用移动数据业务, 需要在接收终端 (以下简称终 端) 上增加一个广播信号接收芯片, 借此实现多媒体播放, 并且价格低廉, 是比较受欢迎的一种接收终端。 图 1是根据相关技术的移动多媒体广播方案 (终端) 的示意图, 如图 1 所示, 支持移动多媒体广播功能的终端至少包括媒体广播模块和播放器模块 两部分。 其中媒体广播模块由一个接收与解调芯片、 解复用模块、 解扰模块 以及条件接收系统(Conditional Access System, 简称为 CAS )组成。 播放器 模块一般指个人电脑、 掌上电脑 ( Personal Digital Assistant , 简称为 PDA ) 和手机等终端上的播放器。 具体地, 接收与解调芯片负责数字广播信号的接收与解调, 得到数据帧 后由解复用模块解复用得到加 4尤的媒体数据块和 4受权控制信息 ( Entitlement Control Message, 简称为 ECM ), 然后把 ECM送给 CAS模块, 把加扰的媒 体数据块送给解 4尤模块; ·ί受权管理信息 (Entitlement Management Message, 简称为 EMM ) 可以在广播信道中传输, 也可以通过交互信道传输(图 1所 示的是通过交互信道传输) 给 CAS , CAS模块根据 EMM/ECM算出控制字 ( Control Word, 简称为 CW ), 解 4尤模块得到 CW后对加 4尤的媒体数据块进 行解扰,得到清流后传送给播放器模块,播放器模块对清流进行解码和播放。 媒体数据块和 ECM都是经过广播信道下发的。 出于密钥轮转的目的, 密钥流一般会一次携带两个密钥, 即一个 ECM包中包含两个 CW, —个用 于解 4尤当前时刻的媒体数据块, 一个用于解 4尤下个时刻的媒体数据块。 目前 终端的一般策略是: 同时保存两个密钥, 并随着码流的密钥更新而及时更新 本地密钥。 终端的解扰模块得到 CW后首先需要对媒体数据块和 CW进行同 步, 才能正确地解 4尤。 图 2是根据相关技术的密钥流与媒体流同步的示意图, 如图 2所示, 用 Key stream表示密钥流, 用 A/V stream表示媒体流。 由于终端的密钥同步机 制是随时与码流保持同步, 因此 Key stream实际上也就是终端所保存的密钥 流。 密钥流中的 Kl、 Κ2分别表示第一个控制字、 第二个控制字, 放在一个 方框中表示一个 ECM包中包含两个 CW。 媒体流中的 K1 , 表示此媒体块必 须用第一个控制字解扰, 用其它控制字解扰就会失败。 但是, 实际系统中, 图 2所示的密钥流与媒体流同步的理想情形基本上 见不到。 其原因是终端釆用了流媒体播放器, 先緩存一定的媒体流, 直到播 放前才开始解扰, 造成了密钥流相比媒体流提前。 图 3是根据相关技术的密钥流相比媒体流提前的示意图, 其中仅仅对解 扰失败的媒体块釆用阴影进行表示, 其余各参数的定义与图 2中相同。 如图 3所示, 在密钥流相比媒体流提前的情况下, 如果媒体数据块解扰时将无法 找到合适的 CW, 即产生密钥失步。 密钥失步会造成解扰失败, 并将导致播 放过程中的花屏、 停顿甚至无法播放等严重问题。 发明内容 针对相关技术中密钥失步造成的媒体数据块的解扰失败, 将导致节目流 无法播放的问题而提出本发明, 为此, 本发明的主要目的在于提供一种媒体 数据块解 4尤方法及装置, 以解决上述问题。 为了实现上述目的, 才艮据本发明的一个方面, 提供了一种媒体数据块解 扰方法。 根据本发明的媒体数据块解扰方法包括: 解扰模块接收到来自条件接收 系统的控制字; 解扰模块保存控制字; 解扰模块接收到来自解复用模块的媒 体数据块; 解扰模块使用保存的控制字, 对媒体数据块进行解扰。 解扰模块保存控制字包括: 解扰模块保存控制字到解扰模块中的控制字 数据库。 解扰模块使用保存的控制字, 对媒体数据块进行解扰包括: 解扰模块在 控制字数据库中查找是否存在与媒体数据块对应的控制字; 如果查找结果为 是, 则使用查找的控制字, 对媒体数据块进行解扰。 在解 4尤模块接收到来自条件接收系统的控制字之前, 上述方法还包括: 解复用模块接收来自接收和解调芯片的数据帧; 解复用模块解复用数据帧, 得到授权控制信息; 解复用模块向条件接收系统发送授权控制信息; 条件接 收系统接收到授权管理信息; 条件接收系统使用授权控制信息和授权管理信 息, 计算得到控制字。 在解扰模块接收到来自解复用模块的媒体数据块之前,上述方法还包括: 解复用模块接收来自接收和解调芯片的数据帧; 解复用模块解复用数据帧, 得到媒体数据块。 在解扰模块使用保存的控制字, 对媒体数据块进行解扰之后, 上述方法 还包括: 解扰模块向播放器模块发送解扰后的媒体数据块; 播放器模块对解 扰后的媒体数据块进行解码和播放。 为了实现上述目的, 根据本发明的另一个方面, 提供了一种媒体数据块 解扰装置。 根据本发明的媒体数据块解扰装置包括: 第一接收单元, 设置为接收来 自条件接收系统的控制字; 保存单元, 设置为保存控制字; 第二接收单元, 设置为接收来自解复用模块的媒体数据块; 解扰单元, 设置为使用保存的控 制字, 对媒体数据块进行解扰。 媒体数据块解 4尤装置还包括控制字数据库,保存单元包括: 保存子单元, 设置为保存控制字到控制字数据库。 解扰单元包括: 查找子单元, 设置为在控制字数据库中查找是否存在与 媒体数据块对应的控制字; 解扰子单元, 设置为在查找结果为是的情况下, 使用查找的控制字, 对媒体数据块进行解扰。 上述媒体数据块解扰装置还包括: 发送单元, 设置为向播放器模块发送 解扰后的媒体数据块, 以便播放器模块对解扰后的媒体数据块进行解码和播 放。 通过本发明, 釆用解扰模块保存控制字, 并使用保存的控制字对媒体数 据块进行解扰, 解决了相关技术中密钥失步造成解扰失败的问题, 进而保证 了节目流的播放。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的移动多媒体广播方案 (终端) 的示意图; 图 2是根据相关技术的密钥流与媒体流同步的示意图; 图 3是根据相关技术的密钥流相比媒体流提前的示意图; 图 4是根据本发明实施例的移动多媒体广播方案 (终端) 的示意图; 图 5是根据本发明实施例的媒体数据块解扰方法的流程图; 图 6是根据本发明实施例的密钥流相比媒体流提前也不会造成密钥失步 的示意图; 图 7是才艮据本发明优选实施例的密钥同步方法的流程图; 图 8是根据本发明实施例的媒体数据块解扰装置的结构框图; 图 9是根据本发明优选实施例的媒体数据块解扰装置的结构框图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特 征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 4是根据本发明实施例的移动多媒体广播方案 (终端) 的示意图, 如 图 4所示, 包括媒体广播模块和播放器模块两部分。 其中媒体广播模块由数 字广播信号接收和解调芯片、解复用子模块、解扰子模块、 CAS子模块组成。 本方案的改进之处在于, 在解扰子模块中增加了一个本地保存控制字的控制 字数据库。 本发明提供了一种媒体数据块解扰方法, 该方法可以基于图 4所示的移 动多媒体广播方案 (终端) 而实现。 图 5是根据本发明实施例的媒体数据块 解扰方法的流程图, 包括步骤 S502至步骤 S508。 步骤 S502 , 解扰模块接收到来自条件接收系统的控制字。 步骤 S504, 解 4尤模块保存控制字。 步骤 S506, 解扰模块接收到来自解复用模块的媒体数据块。 步骤 S508, 解扰模块使用保存的控制字, 对媒体数据块进行解扰。 相关技术中, 密钥失步将造成媒体数据块的解扰失败。本发明实施例中, 将用于对媒体数据块进行解码的控制字进行保存, 可以保证媒体数据块被正 确的解码, 进而保证节目流的播放。 图 6是根据本发明实施例的密钥流相比媒体流提前也不会造成密钥失步 的示意图, 通过与图 3进行对比可以看出, 由于密钥流包含了更多的密钥, 从而保证了媒体数据块的正确解码。 优选地, 解扰模块保存控制字包括: 解扰模块保存控制字到解扰模块中 的控制字数据库。 本优选实施例中, 增加了一个用于本地保存控制字的控制字数据库, 将 用于对媒体数据块进行解码的控制字保存在控制字数据库中, 可以进一步地 保证媒体数据块被正确的解码, 进而保证节目流的播放。 并且, 釆用控制字 数据库对控制字进行保存, 实现方式简单、 可靠。 需要说明的是, 本地保存控制字的数量应当超过一个 ECM中所包含的 CW数(通常为 2个), 以便满足终端解扰的需求。 优选地, 解 4尤模块使用保存的控制字, 对媒体数据块进行解 4尤包括: 解 扰模块在控制字数据库中查找是否存在与媒体数据块对应的控制字; 如果查 找结果为是, 则使用查找的控制字, 对媒体数据块进行解扰。 本优选实施例描述了使用控制字数据库中保存的控制字对媒体数据块进 行解 4尤的过程。 通过查找与媒体数据块对应的控制字, 可以保证媒体数据块 被正确的解码, 进而保证节目流的播放。 优选地, 在解扰模块接收到来自条件接收系统的控制字之前, 解复用模 块接收来自接收和解调芯片的数据帧; 解复用模块解复用数据帧, 得到授权 控制信息; 解复用模块向条件接收系统发送授权控制信息; 条件接收系统接 收到授权管理信息; 条件接收系统使用授权控制信息和授权管理信息, 计算 得到控制字。 本优选实施例描述了解复用模块计算控制字的过程, 其实现方式与现有 技术中相似,可以无需改动地用在各种多媒体加密协议、各种播放器应用中, 并具备良好的扩展性、 可调试性以及广泛的适应性。 优选地, 在解 4尤模块接收到来自解复用模块的媒体数据块之前, 解复用 模块接收来自接收和解调芯片的数据帧; 解复用模块解复用数据帧, 得到媒 体数据块。 本优选实施例描述了解复用模块解复用数据帧得到媒体数据块的过程, 其实现方式与现有技术中相似, 可以无需改动地用在各种多媒体加密协议、 各种播放器应用中, 并具备良好的扩展性、 可调试性以及广泛的适应性。 优选地, 在解扰模块使用保存的控制字, 对媒体数据块进行解扰之后, 解扰模块向播放器模块发送解扰后的媒体数据块; 播放器模块对解扰后的媒 体数据块进行解码和播放。 本优选实施例描述了播放器模块对解扰后的媒体数据块进行解码和播放 的过程, 其实现方式与现有技术中相似, 可以无需改动地用在各种多媒体加 密协议、 各种播放器应用中, 并具备良好的扩展性、 可调试性以及广泛的适 应性。 下面将结合实例对本发明实施例的实现过程进行详细描述。 图 7是才艮据本发明优选实施例的密钥同步方法的流程图, 如图 7所示, 包括如下的步骤 S702至步骤 S710。 步骤 S702 , 接收和解调芯片接收信号得到数据帧, 并送给解复用模块。 步骤 S704, 解复用模块解出 ECM送给 CAS , 解出加扰的媒体数据块送 给解扰模块。 步骤 S706, CAS根据带外传输的 EMM和已经收到的 ECM算出 CW后 传给解扰模块。 步骤 S708, 解扰模块首先保存 CW到 CW DB, 然后根据媒体数据块在The present invention relates to the field of communications, and in particular to a method and apparatus for media data block solution. BACKGROUND OF THE INVENTION In recent years, digital mobile multimedia broadcasting technologies, especially mobile TV technologies, have developed rapidly. Various television standards provide mobile multimedia broadcast terminal users with rich and colorful content, such as news, sports programs, variety shows, TV dramas, and movies. You can choose the service program of mobile multimedia broadcasting in your own hobby. Content operators often provide paid multimedia broadcast services in order to sustain the benefits of broadcast operations. This requires adding 4 special programs to the program stream. Only users who have been authorized to watch the program can watch the program. After the user is authorized, the program stream is received, and then the program stream is descrambled before being played. In order to use the mobile data service anytime and anywhere, the user needs to add a broadcast signal receiving chip to the receiving terminal (hereinafter referred to as the terminal), thereby realizing multimedia playback and being inexpensive, and is a popular receiving terminal. 1 is a schematic diagram of a mobile multimedia broadcast scheme (terminal) according to the related art. As shown in FIG. 1, a terminal supporting a mobile multimedia broadcast function includes at least a media broadcast module and a player module. The media broadcast module is composed of a receiving and demodulating chip, a demultiplexing module, a descrambling module, and a Conditional Access System (CAS). The player module generally refers to a player on a terminal such as a personal computer, a personal digital assistant (PDA), and a mobile phone. Specifically, the receiving and demodulating chip is responsible for receiving and demodulating the digital broadcast signal, and after obtaining the data frame, the demultiplexing module demultiplexes the media data block and the 4 authorized control information (Entitlement Control Message, referred to as ECM), then send the ECM to the CAS module, and send the scrambled media data block to the solution 4 module; · ί Entitlement Management Message (EMM) can be transmitted in the broadcast channel or through interaction Channel transmission (shown in Figure 1 is transmitted through the interactive channel) to the CAS, the CAS module calculates the control word (Control Word, referred to as CW) according to the EMM/ECM, and solves the media data block of the 4th module after obtaining the CW. De-scrambling is performed, and the stream is cleared and transmitted to the player module, and the player module decodes and plays the clear stream. Both the media data block and the ECM are delivered via the broadcast channel. For the purpose of key rotation, the key stream generally carries two keys at a time, that is, one ECM packet contains two CWs, one for solving the media data block of the current moment, and one for solving the solution. The media data block at the next moment. At present, the general policy of the terminal is: Save two keys at the same time, and update the local key in time as the key of the code stream is updated. After the descrambling module of the terminal obtains the CW, it first needs to synchronize the media data block and the CW to correctly solve the 4th. 2 is a schematic diagram of synchronization of a key stream and a media stream according to the related art. As shown in FIG. 2, a key stream is represented by a Key stream, and a media stream is represented by an A/V stream. Since the key synchronization mechanism of the terminal is synchronized with the code stream at any time, the Key stream is actually the key stream held by the terminal. Kl and Κ2 in the key stream respectively represent the first control word and the second control word, and are placed in a box to indicate that one ECM packet contains two CWs. K1 in the media stream indicates that the media block must be descrambled with the first control word, and descrambling with other control words will fail. However, in the actual system, the ideal situation in which the key stream shown in FIG. 2 is synchronized with the media stream is basically not seen. The reason is that the terminal uses the streaming media player, first buffers a certain media stream, and starts descrambling until before playing, which causes the key stream to be advanced compared to the media stream. 3 is a schematic diagram of a key stream in advance according to a related art, in which a media block is desperately represented by a shadow, and the remaining parameters are defined in the same manner as in FIG. 2. As shown in FIG. 3, in the case where the key stream is advanced compared to the media stream, if the media data block is descrambled, the appropriate CW will not be found, that is, the key is out of synchronization. Loss of key will cause descrambling to fail, and will cause serious problems such as splashing, pause, and even play during playback. SUMMARY OF THE INVENTION The present invention has been made in view of the problem that the descrambling of a media data block caused by a key out of synchronization in the related art fails, which will result in the program stream being unplayable. Therefore, the main object of the present invention is to provide a media data block solution. In particular, methods and devices are used to solve the above problems. In order to achieve the above object, according to an aspect of the present invention, a media data block descrambling method is provided. The media data block descrambling method according to the present invention includes: the descrambling module receives the control word from the conditional receiving system; the descrambling module saves the control word; the descrambling module receives the media data block from the demultiplexing module; the descrambling module The media data block is descrambled using the saved control word. The descrambling module saves the control word including: The descrambling module saves the control word to the control word database in the descrambling module. The descrambling module uses the saved control word to descramble the media data block. The descrambling module searches the control word database for the presence of a control word corresponding to the media data block. If the search result is yes, the used control word is used. , descramble the media data block. Before the solution 4 receives the control word from the conditional receiving system, the method further includes: the demultiplexing module receiving the data frame from the receiving and demodulating chip; and the demultiplexing module demultiplexing the data frame to obtain the authorization control information The demultiplexing module transmits the authorization control information to the conditional receiving system; the conditional receiving system receives the authorization management information; and the conditional receiving system uses the authorization control information and the authorization management information to calculate the control word. Before the descrambling module receives the media data block from the demultiplexing module, the method further includes: the demultiplexing module receives the data frame from the receiving and demodulating chip; and the demultiplexing module demultiplexes the data frame to obtain the media data. Piece. After the descrambling module uses the saved control word to descramble the media data block, the method further includes: the descrambling module sends the descrambled media data block to the player module; and the player module pairs the descrambled media data The block is decoded and played. In order to achieve the above object, according to another aspect of the present invention, a media block descrambling apparatus is provided. A media data block descrambling apparatus according to the present invention includes: a first receiving unit configured to receive a control word from a conditional receiving system; a saving unit configured to save a control word; and a second receiving unit configured to receive from the demultiplexing module Media data block; descrambling unit, set to use the saved control word to descramble the media data block. The media data block solution 4 device further includes a control word database, and the saving unit comprises: a saving subunit, configured to save the control word to the control word database. The descrambling unit includes: a lookup subunit, configured to search in the control word database for whether there is a control word corresponding to the media data block; and a descrambling subunit, configured to use the searched control word when the search result is yes, Deblock the media data block. The media data block descrambling device further includes: a sending unit, configured to send the descrambled media data block to the player module, so that the player module decodes and plays the descrambled media data block. Through the invention, the descrambling module saves the control word, and uses the saved control word to descramble the media data block, thereby solving the problem that the descrambling failure is caused by the key out of synchronization in the related art, thereby ensuring the playback of the program stream. . BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a mobile multimedia broadcast scheme (terminal) according to the related art; FIG. 2 is a schematic diagram of key stream synchronization with a media stream according to the related art; FIG. 3 is a key stream phase according to the related art. FIG. 4 is a schematic diagram of a mobile multimedia broadcast scheme (terminal) according to an embodiment of the present invention; FIG. 5 is a flowchart of a media data block descrambling method according to an embodiment of the present invention; FIG. 7 is a flowchart of a key synchronization method according to a preferred embodiment of the present invention; FIG. 8 is a flowchart of a key synchronization method according to a preferred embodiment of the present invention; FIG. A block diagram of a media block descrambling apparatus of an example; FIG. 9 is a block diagram showing the structure of a media block descrambling apparatus according to a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. FIG. 4 is a schematic diagram of a mobile multimedia broadcast solution (terminal) according to an embodiment of the present invention. As shown in FIG. 4, it includes two parts: a media broadcast module and a player module. Among them, the number of media broadcast modules The word broadcast signal receiving and demodulating chip, the demultiplexing sub-module, the descrambling sub-module, and the CAS sub-module are composed. The improvement of the scheme is that a control word database for locally storing control words is added to the descrambling sub-module. The present invention provides a media data block descrambling method, which can be implemented based on the mobile multimedia broadcast scheme (terminal) shown in FIG. FIG. 5 is a flowchart of a method for descrambling a media block according to an embodiment of the present invention, including steps S502 to S508. Step S502, the descrambling module receives the control word from the conditional access system. In step S504, the solution 4 saves the control word. Step S506, the descrambling module receives the media data block from the demultiplexing module. Step S508, the descrambling module uses the saved control word to descramble the media data block. In the related art, the key out of synchronization will cause the descrambling of the media data block to fail. In the embodiment of the present invention, the control word used for decoding the media data block is saved, so that the media data block can be correctly decoded, thereby ensuring the play of the program stream. 6 is a schematic diagram of a key stream not causing a key out of synchronization in advance of a media stream according to an embodiment of the present invention. As can be seen from comparison with FIG. 3, since the key stream contains more keys, This ensures correct decoding of the media data blocks. Preferably, the descrambling module saves the control word comprising: the descrambling module saves the control word to a control word database in the descrambling module. In the preferred embodiment, a control word database for locally storing the control word is added, and the control word for decoding the media data block is saved in the control word database, which can further ensure that the media data block is correctly decoded. , in order to ensure the playback of the program stream. Moreover, the control word database is used to save the control word, and the implementation is simple and reliable. It should be noted that the number of locally saved control words should exceed the number of CWs (usually 2) included in one ECM in order to meet the descrambling requirements of the terminal. Preferably, the solution 4 uses a saved control word, and the solution 4 of the media data block includes: the descrambling module searches the control word database for whether there is a control word corresponding to the media data block; if the search result is yes, The media data block is descrambled using the lookup control word. The preferred embodiment describes a process for solving a block of media data using control words stored in a control word database. By finding the control word corresponding to the media data block, it is ensured that the media data block is correctly decoded, thereby ensuring the playback of the program stream. Preferably, before the descrambling module receives the control word from the conditional receiving system, the demultiplexing module receives the data frame from the receiving and demodulating chip; the demultiplexing module demultiplexes the data frame to obtain the authorization control information; The module transmits the authorization control information to the conditional receiving system; the conditional receiving system receives the authorization management information; and the conditional receiving system uses the authorization control information and the authorization management information to calculate the control word. The preferred embodiment describes a process for understanding a multiplexing module to calculate a control word, which is similar to the prior art, and can be used in various multimedia encryption protocols, various player applications without modification, and has good scalability. , debuggability and wide adaptability. Preferably, before the solution 4 module receives the media data block from the demultiplexing module, the demultiplexing module receives the data frame from the receiving and demodulating chip; the demultiplexing module demultiplexes the data frame to obtain the media data block. . The preferred embodiment describes a process for the multiplexing module to demultiplex a data frame to obtain a media data block. The implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various player applications without modification. It has good scalability, debugability and wide adaptability. Preferably, after the descrambling module uses the saved control word to descramble the media data block, the descrambling module sends the descrambled media data block to the player module; and the player module performs the descrambled media data block. Decode and play. The preferred embodiment describes a process in which the player module decodes and plays the descrambled media data block, and the implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various players without modification. In the application, it has good scalability, debugability and wide adaptability. The implementation process of the embodiment of the present invention will be described in detail below with reference to examples. FIG. 7 is a flowchart of a key synchronization method according to a preferred embodiment of the present invention. As shown in FIG. 7, the following steps S702 to S710 are included. Step S702, receiving and demodulating the chip to receive the signal to obtain a data frame, and sending the data frame to the demultiplexing module. Step S704, the demultiplexing module solves the ECM and sends the ECM to the CAS, and the decoded media data block is sent to the descrambling module. Step S706, the CAS calculates the CW according to the EMM of the outband transmission and the ECM that has been received, and then transmits the CW to the descrambling module. Step S708, the descrambling module first saves the CW to the CW DB, and then according to the media data block.
CW DB中查找正确的 CW, 才艮据此 CW 4巴本数据块解 4尤成清流。 步骤 S710, 播放器模块对清流进行解码和播放。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执 行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是 在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例提供了一种媒体数据块解扰装置, 该媒体数据块解扰装置 可以用于实现上述媒体数据块解扰方法。 图 8是根据本发明实施例的媒体数 据块解扰装置的结构框图, 包括第一接收单元 82 , 保存单元 84 , 第二接收 单元 86和解 4尤单元 88。 下面对其结构进行详细描述。 第一接收单元 82 , 设置为接收来自条件接收系统的控制字; 保存单元Find the correct CW in the CW DB, according to this CW 4 Baben data block solution 4 especially clear stream. Step S710, the player module decodes and plays the clear stream. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. The embodiment of the present invention provides a media data block descrambling device, and the media data block descrambling device can be used to implement the foregoing media data block descrambling method. FIG. 8 is a structural block diagram of a media block descrambling apparatus according to an embodiment of the present invention, including a first receiving unit 82, a saving unit 84, a second receiving unit 86, and a solution unit 88. The structure is described in detail below. a first receiving unit 82, configured to receive a control word from the conditional receiving system;
84 , 连接至第一接收单元 82 , 设置为保存第一接收单元 82接收的控制字; 第二接收单元 86 , 设置为接收来自解复用模块的媒体数据块; 解 4尤单元 88 , 连接至保存单元 84和第二接收单元 86 ,设置为使用保存单元 84保存的控制 字, 对第二接收单元 86接收的媒体数据块进行解扰。 相关技术中, 密钥失步将造成媒体数据块的解扰失败。本发明实施例中, 将用于对媒体数据块进行解码的控制字进行保存, 可以保证媒体数据块被正 确的解码, 进而保证节目流的播放。 图 9是根据本发明优选实施例的媒体数据块解扰装置的结构框图。 优选地, 媒体数据块解 4尤装置还包括控制字数据库, 保存单元 84包括 保存子单元 842 , 连接至第一接收单元 82 , 设置为保存第一接收单元 82接 收的控制字到控制字数据库。 本优选实施例中, 增加了一个用于本地保存控制字的控制字数据库, 将 用于对媒体数据块进行解码的控制字保存在控制字数据库中, 可以进一步地 保证媒体数据块被正确的解码, 进而保证节目流的播放。 并且, 釆用控制字 数据库对控制字进行保存, 实现方式简单、 可靠。 需要说明的是, 本地保存控制字的数量应当超过一个 ECM中所包含的 CW数(通常为 2个), 以便满足终端解扰的需求。 优选地, 解 4尤单元 88包括: 查找子单元 882和解 4尤子单元 884, 下面对 其结构进行详细描述。 查找子单元 882 , 连接至保存单元 84和第二接收单元 86 , 设置为在保 存单元 84包括的保存子单元 842保存的控制字数据库中查找是否存在与第 二接收单元 86接收的媒体数据块对应的控制字; 解 4尤子单元 884 , 连接至查 找子单元 882 , 设置为在查找子单元 882查找结果为是的情况下, 使用查找 的控制字, 对媒体数据块进行解扰。 本优选实施例描述了使用控制字数据库中保存的控制字对媒体数据块进 行解 4尤的过程。 通过查找与媒体数据块对应的控制字, 可以保证媒体数据块 被正确的解码, 进而保证节目流的播放。 优选地, 媒体数据块解 4尤装置还包括发送单元 89, 连接至解 4尤单元 88, 设置为向播放器模块发送解扰单元 88解扰后的媒体数据块, 以便播放器模 块对解 4尤单元 88解 4尤后的媒体数据块进行解码和播放。 本优选实施例描述了播放器模块对解扰后的媒体数据块进行解码和播放 的过程, 其实现方式与现有技术中相似, 可以无需改动地用在各种多媒体加 密协议、 各种播放器应用中, 并具备良好的扩展性、 可调试性以及广泛的适 应性。 需要说明的是, 装置实施例中描述的媒体数据块解扰装置对应于上述的 方法实施例, 其具体的实现过程在方法实施例中已经进行过详细说明, 在此 不再赘述。 综上所述, 根据本发明的上述实施例, 提供了一种媒体数据块解扰方法 及装置。 釆用解扰模块保存控制字, 并使用保存的控制字对媒体数据块进行 解扰, 解决了相关技术中密钥失步造成解扰失败的问题, 进而保证了节目流 的播放。 需要说明的是, 上述方法对各种终端播放器和各种解扰算法如 84, connected to the first receiving unit 82, configured to save the control word received by the first receiving unit 82; the second receiving unit 86 is configured to receive the media data block from the demultiplexing module; The saving unit 84 and the second receiving unit 86 are arranged to descramble the media data block received by the second receiving unit 86 using the control word held by the saving unit 84. In the related art, the key out of synchronization will cause the descrambling of the media data block to fail. In the embodiment of the present invention, the control word used for decoding the media data block is saved, so that the media data block can be correctly decoded, thereby ensuring the play of the program stream. 9 is a block diagram showing the structure of a media block descrambling apparatus in accordance with a preferred embodiment of the present invention. Preferably, the media data block solution device further includes a control word database, and the saving unit 84 includes a saving subunit 842 connected to the first receiving unit 82, and configured to save the control word received by the first receiving unit 82 to the control word database. In the preferred embodiment, a control word database for locally storing the control word is added, and the control word for decoding the media data block is saved in the control word database, which may be further Ensure that the media data block is correctly decoded to ensure the playback of the program stream. Moreover, the control word database is used to save the control word, and the implementation is simple and reliable. It should be noted that the number of locally saved control words should exceed the number of CWs (usually 2) included in one ECM in order to meet the descrambling requirements of the terminal. Preferably, the solution unit 88 includes: a lookup subunit 882 and a solution 4 subunit 884, the structure of which is described in detail below. The lookup subunit 882 is connected to the saving unit 84 and the second receiving unit 86, and is arranged to look up in the control word database held by the saving subunit 842 included in the saving unit 84 whether there is a corresponding corresponding to the media data block received by the second receiving unit 86. The control word; the solution 4 sub-unit 884, connected to the lookup sub-unit 882, is set to descramble the media data block using the searched control word if the lookup sub-unit 882 looks for a yes result. The preferred embodiment describes a process for solving a block of media data using control words stored in a control word database. By finding the control word corresponding to the media data block, it is ensured that the media data block is correctly decoded, thereby ensuring the playback of the program stream. Preferably, the media data block solution 4 device further includes a sending unit 89 connected to the solution 4 unit 88, and configured to send the media data block descrambled by the descrambling unit 88 to the player module, so that the player module pairs the solution 4 In particular, the media data block of the unit 88 is decoded and played. The preferred embodiment describes a process in which the player module decodes and plays the descrambled media data block, and the implementation manner is similar to that in the prior art, and can be used in various multimedia encryption protocols and various players without modification. In the application, it has good scalability, debugability and wide adaptability. It should be noted that the media data block descrambling device described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again. In summary, according to the above embodiments of the present invention, a media data block descrambling method and apparatus are provided. The descrambling module saves the control word, and uses the saved control word to descramble the media data block, thereby solving the problem that the descrambling failure is caused by the key out of synchronization in the related art, thereby ensuring the playback of the program stream. It should be noted that the above methods are applicable to various terminal players and various descrambling algorithms.
ISMACryp ( Internet Streaming Media Alliance Encryption and Authentication )、 安全实时传输协议 ( Secure Real-time Transport Protocol,简称为 SRTP ), IPsec ( IP Security ) 都是有效的。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 ISMACryp (Internet Streaming Media Alliance Encryption and Authentication), Secure Real-time Transport Protocol (SRTP), and IPsec (IP Security) are all effective. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software. The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 一种媒体数据块解 4尤方法, 包括: 解扰模块接收到来自条件接收系统的控制字; A media data block solution method includes: a descrambling module receives a control word from a conditional access system;
所述解扰模块保存所述控制字;  The descrambling module saves the control word;
所述解扰模块接收到来自解复用模块的媒体数据块;  The descrambling module receives a media data block from the demultiplexing module;
所述解扰模块使用所述保存的控制字, 对所述媒体数据块进行解 扰。 根据权利要求 1所述的方法, 其中, 所述解扰模块保存所述控制字包 括:  The descrambling module descrambles the media data block using the saved control word. The method according to claim 1, wherein the descrambling module saves the control word includes:
所述解扰模块保存所述控制字到所述解扰模块中的控制字数据 库。 根据权利要求 2所述的方法, 其中, 所述解扰模块使用所述保存的控 制字, 对所述媒体数据块进行解扰包括:  The descrambling module saves the control word to a control word database in the descrambling module. The method according to claim 2, wherein the descrambling module uses the saved control word to descramble the media data block, including:
所述解扰模块在所述控制字数据库中查找是否存在与所述媒体数 据块对应的控制字;  The descrambling module searches the control word database for whether there is a control word corresponding to the media data block;
如果查找结果为是, 则使用所述查找的控制字, 对所述媒体数据 块进行解 4尤。 根据权利要求 1至 3中任一项所述的方法, 其中, 在所述解扰模块接 收到来自所述条件接收系统的所述控制字之前, 所述方法还包括: 所述解复用模块接收来自接收和解调芯片的数据帧;  If the result of the search is yes, the media data block is solved using the searched control word. The method according to any one of claims 1 to 3, wherein before the descrambling module receives the control word from the conditional access system, the method further comprises: the demultiplexing module Receiving data frames from the receiving and demodulating chip;
所述解复用模块解复用所述数据帧, 得到授权控制信息; 所述解复用模块向所述条件接收系统发送所述授权控制信息; 所述条件接收系统接收到授权管理信息;  The demultiplexing module demultiplexes the data frame to obtain authorization control information; the demultiplexing module sends the authorization control information to the conditional receiving system; and the conditional receiving system receives the authorization management information;
所述条件接收系统使用所述授权控制信息和所述授权管理信息, 计算得到所述控制字。 The condition receiving system calculates the control word using the authorization control information and the authorization management information.
5. 根据权利要求 1至 3中任一项所述的方法, 其中, 在所述解扰模块接 收到来自所述解复用模块的所述媒体数据块之前, 所述方法还包括: 所述解复用模块接收来自接收和解调芯片的数据帧; 所述解复用模块解复用所述数据帧, 得到所述媒体数据块。 The method according to any one of claims 1 to 3, wherein, before the descrambling module receives the media data block from the demultiplexing module, the method further includes: The demultiplexing module receives the data frame from the receiving and demodulating chip; the demultiplexing module demultiplexes the data frame to obtain the media data block.
6. 根据权利要求 1至 3中任一项所述的方法, 其中, 在所述解扰模块使 用所述保存的控制字, 对所述媒体数据块进行解 4尤之后, 所述方法还 包括: The method according to any one of claims 1 to 3, wherein after the descrambling module performs the solution 4 on the media data block by using the saved control word, the method further includes :
所述解扰模块向播放器模块发送所述解扰后的媒体数据块; 所述播放器模块对所述解扰后的媒体数据块进行解码和播放。  The descrambling module sends the descrambled media data block to the player module; the player module decodes and plays the descrambled media data block.
7. —种媒体数据块解扰装置, 包括: 7. A media data block descrambling device, comprising:
第一接收单元, 设置为接收来自条件接收系统的控制字; 保存单元, 设置为保存所述控制字;  a first receiving unit configured to receive a control word from the conditional receiving system; a saving unit configured to save the control word;
第二接收单元, 设置为接收来自解复用模块的媒体数据块; 解扰单元, 设置为使用所述保存的控制字, 对所述媒体数据块进 行解扰。  a second receiving unit, configured to receive a media data block from the demultiplexing module; and a descrambling unit configured to descramble the media data block using the saved control word.
8. 根据权利要求 7所述的媒体数据块解扰装置, 其中, 所述媒体数据块 解扰装置还包括控制字数据库, 所述保存单元包括: The media data block descrambling device according to claim 7, wherein the media data block descrambling device further comprises a control word database, and the saving unit comprises:
保存子单元, 设置为保存所述控制字到所述控制字数据库。  A save subunit is arranged to save the control word to the control word database.
9. 根据权利要求 8所述的媒体数据块解扰装置, 其中, 所述解扰单元包 括: 9. The media block descrambling apparatus according to claim 8, wherein the descrambling unit comprises:
查找子单元, 设置为在所述控制字数据库中查找是否存在与所述 媒体数据块对应的控制字;  Locating a subunit, configured to look in the control word database whether there is a control word corresponding to the media data block;
解扰子单元, 设置为在查找结果为是的情况下, 使用所述查找的 控制字, 对所述媒体数据块进行解扰。  The descrambling subunit is arranged to descramble the media data block using the searched control word if the search result is YES.
10. 根据权利要求 7至 9中任一项所述的媒体数据块解扰装置, 其中, 还 包括: 发送单元, 设置为向播放器模块发送所述解扰后的媒体数据块, 以便所述播放器模块对所述解扰后的媒体数据块进行解码和播放。 The media data block descrambling device according to any one of claims 7 to 9, further comprising: The sending unit is configured to send the descrambled media data block to the player module, so that the player module decodes and plays the descrambled media data block.
PCT/CN2011/072116 2010-08-23 2011-03-24 Method and device for descrambling media data blocks WO2012024921A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010267092.1 2010-08-23
CN2010102670921A CN101917589A (en) 2010-08-23 2010-08-23 Media data block descrambling method and device thereof

Publications (1)

Publication Number Publication Date
WO2012024921A1 true WO2012024921A1 (en) 2012-03-01

Family

ID=43324957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/072116 WO2012024921A1 (en) 2010-08-23 2011-03-24 Method and device for descrambling media data blocks

Country Status (2)

Country Link
CN (1) CN101917589A (en)
WO (1) WO2012024921A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917589A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Media data block descrambling method and device thereof
CN102164320B (en) * 2011-04-11 2016-06-22 北京数字太和科技有限责任公司 A kind of terminal based on conditional access technology of improvement

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080971A1 (en) * 2000-12-15 2002-06-27 Yukiyasu Fukami Broardcast apparatus and reception apparatus for providing a storage service by which scrambled content is stored and descrambled using scrambling key list
CN1585478A (en) * 2003-08-20 2005-02-23 王耀 Condition reception assembled controlling method without addressing authorization
CN1868206A (en) * 2003-08-13 2006-11-22 汤姆森许可公司 Pre-processing of descrambling data to reduce channel-change time
CN1960552A (en) * 2006-09-20 2007-05-09 中兴通讯股份有限公司 Receiving terminal with separated device and card of mobile multimedia service
CN101272474A (en) * 2007-03-23 2008-09-24 北京东方广视科技有限责任公司 Method for fast switching channels
CN101917589A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Media data block descrambling method and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080971A1 (en) * 2000-12-15 2002-06-27 Yukiyasu Fukami Broardcast apparatus and reception apparatus for providing a storage service by which scrambled content is stored and descrambled using scrambling key list
CN1868206A (en) * 2003-08-13 2006-11-22 汤姆森许可公司 Pre-processing of descrambling data to reduce channel-change time
CN1585478A (en) * 2003-08-20 2005-02-23 王耀 Condition reception assembled controlling method without addressing authorization
CN1960552A (en) * 2006-09-20 2007-05-09 中兴通讯股份有限公司 Receiving terminal with separated device and card of mobile multimedia service
CN101272474A (en) * 2007-03-23 2008-09-24 北京东方广视科技有限责任公司 Method for fast switching channels
CN101917589A (en) * 2010-08-23 2010-12-15 中兴通讯股份有限公司 Media data block descrambling method and device thereof

Also Published As

Publication number Publication date
CN101917589A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
JP6034458B2 (en) Transmission method of linear digital TV program using scalable video coding
JP5313447B2 (en) Method and apparatus for authorizing conditional access
EP2823641B1 (en) System and method for secure asynchronous event notification for adaptive streaming based on iso base media file format
US6963590B1 (en) Apparatus for delivery of multiple media data streams, and method therefor
US20080137850A1 (en) Method and system for a generic key packet for mpeg-2 transport scrambling
US20090022154A1 (en) Reception device, reception method, and computer-readable medium
US20060277582A1 (en) System and associated terminal, method and computer program product for directional channel browsing of broadcast content
CN103686333B (en) A kind of audio and video guard method and audio-video terminal
WO2003105475A1 (en) Seamless switching between multiple pre-encrypted video files
JP2003518879A (en) Intelligent transmitting / receiving method, intelligent transmitting / receiving device and intelligent transmitting / receiving system
JP2001069106A (en) Stream multiplexing/demultiplexing device
US20130322628A1 (en) Apparatus and method for transceiving content in a digital broadcast system
WO2008024338A2 (en) Locally originated iptv programming
WO2014121653A1 (en) Digital television signal receiving system and receiving method
TWI539804B (en) Method for supplying protected multimedia content to a terminal
US8509435B2 (en) Method and system for a transport single key change point for all package identifier channels
WO2012024921A1 (en) Method and device for descrambling media data blocks
US20050047449A1 (en) Individual video encryption system and method
US9124929B2 (en) Secure fast channel changing
US10200136B2 (en) Method for broadcasting protected multimedia contents
WO2005076617A1 (en) Multimedia terminal
US20060233368A1 (en) Method for conditional access in a DMTS/DOCSIS enabled set top box environment
JP2002536888A (en) Transmission system
CN107801103B (en) Multimedia resource self-adaptive synchronization method based on network condition under heterogeneous network
Chang et al. Layered access control schemes on watermarked scalable media

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11819296

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11819296

Country of ref document: EP

Kind code of ref document: A1