[go: up one dir, main page]

CN106851391A - A kind of condition receiving method and system for intelligent operating system - Google Patents

A kind of condition receiving method and system for intelligent operating system Download PDF

Info

Publication number
CN106851391A
CN106851391A CN201510882112.9A CN201510882112A CN106851391A CN 106851391 A CN106851391 A CN 106851391A CN 201510882112 A CN201510882112 A CN 201510882112A CN 106851391 A CN106851391 A CN 106851391A
Authority
CN
China
Prior art keywords
channel
module
traffic identifier
conditional access
mark
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.)
Pending
Application number
CN201510882112.9A
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.)
National News Publishes Broadcast Research Institute Of General Bureau Of Radio Film And Television
Sumavision Technologies Co Ltd
Original Assignee
National News Publishes Broadcast Research Institute Of General Bureau Of Radio Film And Television
Sumavision Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by National News Publishes Broadcast Research Institute Of General Bureau Of Radio Film And Television, Sumavision Technologies Co Ltd filed Critical National News Publishes Broadcast Research Institute Of General Bureau Of Radio Film And Television
Priority to CN201510882112.9A priority Critical patent/CN106851391A/en
Priority to PCT/CN2016/108263 priority patent/WO2017092700A1/en
Publication of CN106851391A publication Critical patent/CN106851391A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/09Arrangements for device control with a direct linkage to broadcast information or to broadcast space-time; Arrangements for control of broadcast-related services
    • H04H60/14Arrangements for conditional access to broadcast information or to broadcast-related services
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种用于智能操作系统的条件接收方法,直播应用模块响应于换台指令,将所切换的频道节目标识发送给媒体播放模块;数字电视模块获取全部频道信息和控制管理信息,媒体播放模块根据所获取的频道节目标识向所述数字电视模块获取该频道节目的videoPid、audioPid、casId、ecmPid、emmPid,并分配解扰器Descramblerid,一并传送给条件接收模块;条件接收模块根据casId选择注册的条件接收应用模块,将频道的videoPid、audioPid、ecmPid、emmPid、Descramblerid发送给条件接收应用模块;条件接收应用模块根据ecmPid和emmPid向数字电视模块获取相应的ecmData和emm Data并解析,从而获得EK1、EK2和ECW连同videoPid、audioPid、Descramblerid发送给条件接收模块;条件接收模块将这些信息发送给高安芯片;高安芯片根据所获得的信息控制DescramblerID对应的解扰器对频道节目数据解扰并进行播放。

A conditional access method for an intelligent operating system. The live application module responds to a channel change instruction and sends the program identifier of the switched channel to the media player module; the digital TV module obtains all channel information and control management information, and the media player module according to The obtained channel program identification obtains the videoPid, audioPid, casId, ecmPid, emmPid of this channel program to the digital television module, and distributes the descrambler Descramblerid, and sends it to the conditional access module together; the conditional access module selects the registered one according to the casId The conditional access application module sends the channel's videoPid, audioPid, ecmPid, emmPid, and Descramblerid to the conditional access application module; the conditional access application module obtains the corresponding ecmData and emm Data from the digital TV module according to ecmPid and emmPid and parses them, thereby obtaining EK1, EK2 and ECW are sent to the conditional access module together with videoPid, audioPid, and Descramblerid; the conditional access module sends these information to the high-security chip; the high-security chip controls the descrambler corresponding to the DescramblerID to descramble the channel program data and play it according to the obtained information.

Description

一种用于智能操作系统的条件接收方法和系统A conditional access method and system for an intelligent operating system

技术领域technical field

本发明涉及条件接收技术领域,具体来说,本发明涉及一种用于智能操作系统的条件接收方法和系统。The present invention relates to the technical field of conditional access, in particular, the present invention relates to a conditional access method and system for an intelligent operating system.

背景技术Background technique

2012年3月16日国家广电总局正式颁布了行业标准GY/T 255-2012《可下载条件接收系统技术规范》。可下载条件接收系统(DCAS)是一套完整的端到端业务保护系统,具有传统条件接收系统(CAS)所有加解扰、授权控制和管理功能,又可同时支持采用传统条件接收技术和DCAS技术的两类机顶盒,还可通过双向通道,实现对终端的授权控制和管理。采用DCAS技术,数字电视机顶盒只需下载不同DCAS系统的用户端软件,即可实现对不同DCAS系统的切换和适配,从而为打破目前各有线网络分别定制机顶盒的局面,实现机顶盒标准化规模生产、零售渠道全国销售和跨区域跨网络部署奠定坚实基础。On March 16, 2012, the State Administration of Radio, Film and Television officially promulgated the industry standard GY/T 255-2012 "Technical Specifications for Downloadable Conditional Access Systems". The downloadable conditional access system (DCAS) is a complete end-to-end service protection system, which has all the scrambling, authorization control and management functions of the traditional conditional access system (CAS), and can support the use of traditional conditional access technology and DCAS at the same time The two types of set-top boxes of the technology can also realize the authorization control and management of the terminal through the two-way channel. Using DCAS technology, the digital TV set-top box only needs to download the client software of different DCAS systems to realize the switching and adaptation of different DCAS systems, so as to break the current situation of customizing set-top boxes for each cable network and realize the standardized scale production of set-top boxes. National sales of retail channels and cross-regional cross-network deployment have laid a solid foundation.

但是随着三网融合的不断推进和建设下一代广播电视网(NGB)目标的提出,实现全国有线电视网络互联互通,仍然需要突破目前正在实施的可下载条件接收技术的局限性。特别是随着互联网电视的发展,2013年发布的基于智能电视的操作系统(TVOS)1.0,该系统具有安全性高、开放性好、融合性强等特点。因此,在由传统数字电视向智能电视转变的过程中,条件接收技术需要同步由数字化向智能化演进,如何在TVOS中实现DCAS技术是目前亟待解决的问题。However, with the continuous advancement of the integration of the three networks and the goal of building the Next Generation Broadcasting Network (NGB), to realize the interconnection of the national cable TV network, it is still necessary to break through the limitations of the downloadable conditional access technology currently being implemented. Especially with the development of Internet TV, the smart TV-based operating system (TVOS) 1.0 was released in 2013. This system has the characteristics of high security, good openness, and strong integration. Therefore, in the process of transforming from traditional digital TV to smart TV, conditional access technology needs to simultaneously evolve from digital to smart. How to implement DCAS technology in TVOS is an urgent problem to be solved.

发明内容Contents of the invention

根据本发明的一个方面,提供一种用于智能操作系统的条件接收方法,实施于安装了智能操作系统的智能设备之中,所述智能设备包括直播应用模块、条件接收应用模块、数字电视模块、媒体播放模块、条件接收模块、高安芯片,所述方法包括:According to one aspect of the present invention, a conditional access method for an intelligent operating system is provided, which is implemented in a smart device installed with an intelligent operating system, and the smart device includes a live broadcast application module, a conditional access application module, and a digital TV module , a media player module, a conditional access module, and a high-security chip, the method comprising:

所述数字电视模块获取全部频道节目清单并提供给所述直播应用模块进行显示;The digital TV module acquires all channel program lists and provides them to the live application module for display;

所述直播应用模块响应于用户的换台指令或节目播放指令,将所切换的频道节目标识发送给所述媒体播放模块;The live application module sends the switched channel program identifier to the media playing module in response to the user's channel switching instruction or program playing instruction;

所述数字电视模块获取全部频道信息和控制管理信息,所述频道信息包括频道节目标识、各频道的视频流标识videoPid、音频流标识audioPid,所述控制管理信息包括条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid;The digital TV module obtains all channel information and control management information, and the channel information includes channel program identification, video stream identification videoPid and audio stream identification audioPid of each channel, and the control management information includes conditional access application identification casId, authorization control Information identifier ecmPid, authorization management information identifier emmPid;

所述媒体播放模块根据所获取的频道节目标识向所述数字电视模块获取该频道节目的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid,并分配所述频道节目要使用的解扰器的信息Descramblerid,并将所述频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid一同传送给条件接收模块;The media player module acquires the video stream identifier videoPid, the audio stream identifier audioPid, the conditional access application identifier casId, the authorization control information identifier ecmPid, and the authorization management information identifier emmPid of the channel program from the digital TV module according to the obtained channel program identifier , and allocate the information Descramblerid of the descrambler to be used by the channel program, and identify the channel's video stream identifier videoPid, audio stream identifier audioPid, conditional access application identifier casId, authorization control information identifier ecmPid, and authorization management information identifier emmPid and the descrambler information Descramblerid are sent to the conditional access module;

所述条件接收模块根据所接收的条件接收应用标识casId选择在所述智能操作系统中注册的与所述条件接收应用标识casId相匹配的条件接收应用模块,同时将所述频道的视频流标识videoPid、音频流标识audioPid、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid发送给所述条件接收应用模块;The conditional access module selects the conditional access application module registered in the smart operating system according to the received conditional access application identification casId and matches the conditional access application identification casId, and at the same time identifies the video stream of the channel as videoPid , the audio stream identifier audioPid, the authorization control information identifier ecmPid, the authorization management information identifier emmPid and the descrambler information Descramblerid are sent to the conditional access application module;

所述条件接收应用模块根据所获得的授权控制信息标识ecmPid、授权管理信息标识emmPid向所述数字电视模块获取相应的授权控制信息数据ecm Data和授权管理信息数据emm Data并根据在所述条件接收应用模块预置的机制解析,从而获得加密层级密钥EK1、EK2和加密控制字ECW连同所述频道的视频流标识videoPid、音频流标识audioPid、解扰器信息Descramblerid发送给所述条件接收模块;The conditional access application module obtains corresponding authorization control information data ecm Data and authorization management information data emm Data from the digital TV module according to the obtained authorization control information identification ecmPid and authorization management information identification emmPid, and receives The mechanism analysis preset by the application module, thereby obtaining the encryption level key EK1, EK2 and the encryption control word ECW together with the video stream identification videoPid of the channel, the audio stream identification audioPid, and the descrambler information Descramblerid are sent to the conditional access module;

所述条件接收模块将所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid和解扰器信息Descramblerid发送给高安芯片;The conditional access module sends the encryption level keys EK1, EK2, the encryption control word ECW, the video stream identifier videoPid, the audio stream identifier audioPid and the descrambler information Descramblerid to the high-security chip;

所述高安芯片根据所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid、解扰器信息DescramblerID对加扰的频道节目数据进行解扰并对视频流数据和音频流数据进行播放。The high-security chip descrambles the scrambled channel program data according to the encryption level keys EK1, EK2, the encryption control word ECW, the video stream identifier videoPid, the audio stream identifier audioPid, and the descrambler information DescramblerID, and descrambles the video stream. stream data and audio stream data for playback.

优选地,所述频道节目标识包括频道的原始网络标识onid、传输流标识tsid、业务标识sid。Preferably, the program identifier of the channel includes the channel's original network identifier onid, transport stream identifier tsid, and service identifier sid.

优选地,其中所述数字电视模块获取全部频道信息和控制管理信息的步骤中所获取的所述频道信息包括各频道是否为加扰频道的标识CAMode;Preferably, the channel information obtained in the step of obtaining all channel information and control management information by the digital TV module includes an identifier CAMode indicating whether each channel is a scrambled channel;

以及在所述数字电视模块获取全部频道信息和控制管理信息的步骤之后还包括:And after the step of obtaining all channel information and control management information by the digital TV module, it also includes:

所述媒体播放模块根据所述频道节目标识向所述数字电视模块查询并获取该频道是否为加扰频道的标识CAMode,根据所述标识CAMode判断该频道是否为加扰频道:The media player module queries the digital TV module according to the channel program identification and obtains whether the channel is the identification CAMode of a scrambled channel, and judges whether the channel is a scrambled channel according to the identification CAMode:

如果在该判断步骤中判定该频道不是加扰频道,则所述媒体播放模块从所述数字电视模块获取该频道的视频流标识videoPid、音频流标识audioPid,进入播放步骤;If it is judged in the judging step that the channel is not a scrambling channel, then the media player module obtains the video stream identification videoPid and the audio stream identification audioPid of the channel from the digital television module, and enters the playing step;

如果在该判断步骤中判定该频道是加扰频道,则所述媒体播放模块从所述数字电视模块获取该频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid。If it is judged in this judging step that the channel is a scrambled channel, then the media player module obtains the video stream identifier videoPid, the audio stream identifier audioPid, the conditional access application identifier casId, and the authorization control information identifier of the channel from the digital television module. ecmPid, authorization management information identifier emmPid.

优选地,所述数字电视模块、媒体播放模块和条件接收模块为预置在操作系统中的组件层组件。Preferably, the digital TV module, the media player module and the conditional access module are component layer components preset in the operating system.

优选地,所述数字电视模块、媒体播放模块和条件接收模块实现为客户端-服务结构,客户端和服务之间使用IPC调用方式。Preferably, the digital TV module, the media player module and the conditional access module are implemented as a client-service structure, and an IPC calling method is used between the client and the service.

优选地,所述条件接收应用模块、直播应用模块为可在所述智能操作系统中安装或卸载的应用。Preferably, the conditional access application module and the live broadcast application module are applications that can be installed or uninstalled in the smart operating system.

优选地,所述条件接收应用模块由条件接收厂家提供。Preferably, the conditional access application module is provided by a conditional access manufacturer.

根据本发明的另一个方面,提供一种用于智能操作系统的条件接收系统,所述系统执行于安装了智能操作系统的智能设备之中,所述智能设备包括直播应用模块、条件接收应用模块、数字电视模块、媒体播放模块、条件接收模块和高安芯片,其中:According to another aspect of the present invention, a conditional access system for an intelligent operating system is provided, the system is executed in a smart device installed with an intelligent operating system, and the smart device includes a live application module and a conditional access application module , digital TV module, media player module, conditional access module and high security chip, among which:

所述数字电视模块,用于获取全部频道节目清单并提供给所述直播应用模块进行显示,以及获取全部频道信息和控制管理信息,所述频道信息包括频道节目标识、各频道的视频流标识videoPid、音频流标识audioPid,所述控制管理信息包括条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid;The digital TV module is used to obtain all channel program lists and provide them to the live application module for display, and to obtain all channel information and control management information. The channel information includes channel program identifiers, video stream identifiers videoPid of each channel . The audio stream identifier audioPid, the control management information includes the conditional access application identifier casId, the authorization control information identifier ecmPid, and the authorization management information identifier emmPid;

所述直播应用模块,用于响应于用户的换台指令或节目播放指令,将所切换的频道节目标识发送给所述媒体播放模块;The live application module is configured to send the switched channel program identifier to the media playing module in response to the user's channel switching instruction or program playing instruction;

所述媒体播放模块,用于根据所获取的频道节目标识向所述数字电视模块获取该频道节目的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid,并分配所述频道节目要使用的解扰器的信息Descramblerid,并将所述频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid一同传送给条件接收模块;The media player module is used to acquire the video stream identifier videoPid, audio stream identifier audioPid, conditional access application identifier casId, authorization control information identifier ecmPid, authorization management The information identifies emmPid, and assigns the information Descramblerid of the descrambler to be used by the channel program, and identifies the video stream of the channel videoPid, audio stream identifier audioPid, conditional access application identifier casId, authorization control information identifier ecmPid, authorization management The information identifier emmPid and the descrambler information Descramblerid are sent to the conditional access module together;

条件接收模块,用于根据所接收的条件接收应用标识casId选择在所述智能操作系统中注册的与所述条件接收应用标识casId相匹配的条件接收应用模块,同时将所述频道的视频流标识videoPid、音频流标识audioPid、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid发送给所述条件接收应用模块;The conditional access module is configured to select a conditional access application module registered in the smart operating system that matches the conditional access application identification casId according to the received conditional access application identification casId, and at the same time identify the video stream of the channel videoPid, audio stream identifier audioPid, authorization control information identifier ecmPid, authorization management information identifier emmPid and descrambler information Descramblerid are sent to the conditional access application module;

条件接收应用模块,用于根据所获得的授权控制信息标识ecmPid、授权管理信息标识emmPid向所述数字电视模块获取相应的授权控制信息数据ecm Data和授权管理信息数据emm Data并根据在所述条件接收应用模块预置的机制解析,从而获得加密层级密钥EK1、EK2和加密控制字ECW连同所述频道的视频流标识videoPid、音频流标识audioPid、解扰器信息Descramblerid发送给所述条件接收模块;The conditional access application module is used to obtain corresponding authorization control information data ecm Data and authorization management information data emm Data from the digital TV module according to the obtained authorization control information identification ecmPid and authorization management information identification emmPid and according to the conditions in the Receive the mechanism analysis preset by the application module to obtain the encryption level keys EK1, EK2 and the encrypted control word ECW together with the channel's video stream identifier videoPid, audio stream identifier audioPid, and descrambler information Descramblerid and send them to the conditional access module ;

所述条件接收模块,还用于将所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid和解扰器信息Descramblerid发送给高安芯片,由所述高安芯片根据所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid、解扰器信息DescramblerID对加扰的频道节目数据进行解扰并对视频流数据和音频流数据进行播放。The conditional access module is also used to send the encryption level keys EK1, EK2, the encryption control word ECW, the video stream identifier videoPid, the audio stream identifier audioPid and the descrambler information Descramblerid to the high-security chip, and the high-security The chip descrambles the scrambled channel program data and descrambles the video stream data and Audio stream data to play.

优选地,所述频道节目标识包括频道的原始网络标识onid、传输流标识tsid、业务标识sid。Preferably, the program identifier of the channel includes the channel's original network identifier onid, transport stream identifier tsid, and service identifier sid.

优选地,其中所述数字电视模块所获取的全部频道信息包括各频道是否为加扰频道的标识CAMode;以及Preferably, all the channel information acquired by the digital TV module includes the identification CAMode of whether each channel is a scrambled channel; and

所述媒体播放模块,还用于根据所述频道节目标识向所述数字电视模块查询并获取该频道是否为加扰频道的标识CAMode,根据所述标识CAMode判断该频道是否为加扰频道:The media player module is also used to query the digital TV module according to the channel program identifier and obtain the identification CAMode of whether the channel is a scrambled channel, and judge whether the channel is a scrambled channel according to the identification CAMode:

如果在该判断步骤中判定该频道不是加扰频道,则所述媒体播放模块从所述数字电视模块获取该频道的视频流标识videoPid、音频流标识audioPid,并由播放器进行播放;If in this judging step, it is judged that the channel is not a scrambled channel, then the media player module obtains the video stream identification videoPid and the audio stream identification audioPid of the channel from the digital TV module, and is played by the player;

如果在该判断步骤中判定该频道是加扰频道,则所述媒体播放模块从所述数字电视模块获取该频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid。If it is judged in this judging step that the channel is a scrambled channel, then the media player module obtains the video stream identifier videoPid, the audio stream identifier audioPid, the conditional access application identifier casId, and the authorization control information identifier of the channel from the digital television module. ecmPid, authorization management information identifier emmPid.

优选地,所述数字电视模块、媒体播放模块和条件接收模块为预置在操作系统中的组件层组件。Preferably, the digital TV module, the media player module and the conditional access module are component layer components preset in the operating system.

优选地,所述数字电视模块、媒体播放模块和条件接收模块实现为客户端-服务结构,客户端和服务之间使用IPC调用方式。Preferably, the digital TV module, the media player module and the conditional access module are implemented as a client-service structure, and an IPC calling method is used between the client and the service.

优选地,所述条件接收应用模块、直播应用模块为可在所述智能操作系统中安装或卸载的应用。Preferably, the conditional access application module and the live broadcast application module are applications that can be installed or uninstalled in the smart operating system.

优选地,所述条件接收应用模块由条件接收厂家提供。Preferably, the conditional access application module is provided by a conditional access manufacturer.

本发明的发明人发现,在现有技术中,还没有针对智能操作系统,特别是智能电视操作系统提出的适配多厂家条件接收应用的条件接收系统。因此,本发明所要实现的技术任务或者所要解决的技术问题是本领域技术人员从未想到的或者没有预期到的,故本发明是一种新的技术方案。The inventors of the present invention have found that in the prior art, there is no CA system for smart operating systems, especially smart TV operating systems, that adapts to multi-manufacturer CA applications. Therefore, the technical tasks to be achieved or the technical problems to be solved by the present invention are never thought of or expected by those skilled in the art, so the present invention is a new technical solution.

通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.

附图说明Description of drawings

被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.

图1示出了可以实现本发明的实施例的智能电视1000的硬件配置的框图。FIG. 1 shows a block diagram of a hardware configuration of a smart TV 1000 that can implement an embodiment of the present invention.

图2示出了根据本发明实施例的用于智能操作系统的条件接收方法的流程图;FIG. 2 shows a flow chart of a conditional access method for an intelligent operating system according to an embodiment of the present invention;

图3示出了根据本发明实施例的用于智能操作系统的条件接收系统的框图。Fig. 3 shows a block diagram of a conditional access system for an intelligent operating system according to an embodiment of the present invention.

具体实施方式detailed description

现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered part of the description.

在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values should be construed as exemplary only, and not as limitations. Therefore, other instances of the exemplary embodiment may have different values.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

<硬件配置><hardware configuration>

图1是示出可以实现本发明的实施例的智能电视1000的硬件配置的框图。FIG. 1 is a block diagram showing a hardware configuration of a smart TV 1000 that can implement an embodiment of the present invention.

如图1所示,智能电视1000典型地包括经由系统总线1111连接的主处理器1108、用于接收电视信号的高频头1101、解调器1102、非易失性存储器1109、解复用器1103、解扰器1104、易失性存储器1105、解码器1106、音视频接口1107和其他外围接口1110、在电视与机顶盒集成的智能电视中还包括显示器1200。As shown in FIG. 1 , a smart TV 1000 typically includes a main processor 1108 connected via a system bus 1111 , a tuner 1101 for receiving TV signals, a demodulator 1102 , a nonvolatile memory 1109 , and a demultiplexer. 1103 , a descrambler 1104 , a volatile memory 1105 , a decoder 1106 , an audio and video interface 1107 and other peripheral interfaces 1110 , and a display 1200 is also included in a smart TV integrated with a set-top box.

非易失性存储器1109中驻留有智能操作系统、应用程序、其它程序模块和某些程序数据。An intelligent operating system, application programs, other program modules and certain program data reside in the non-volatile memory 1109 .

图1所示的智能电视仅仅是说明性的并且决不意味着对本发明、其应用或使用的任何限制。The Smart TV shown in Figure 1 is merely illustrative and in no way implies any limitation on the invention, its application or use.

<第一实施例><First embodiment>

根据本发明的第一实施例,如图2、3所示,提供一种用于智能操作系统的条件接收方法,实施于安装了智能操作系统2100的智能设备之中。所述智能设备可以是例如智能电视2000,所述智能电视2000包括直播应用模块2200、条件接收应用模块2300、数字电视模块2400、媒体播放模块2500、条件接收模块2600和高安芯片2700。According to the first embodiment of the present invention, as shown in FIGS. 2 and 3 , a conditional access method for a smart operating system is provided, which is implemented in a smart device installed with a smart operating system 2100 . The smart device can be, for example, a smart TV 2000 , which includes a live application module 2200 , a conditional access application module 2300 , a digital TV module 2400 , a media player module 2500 , a conditional access module 2600 and a high security chip 2700 .

根据本发明的第一实施例的方法包括如下步骤:S1:所述数字电视模块2400获取全部频道节目清单并提供给所述直播应用模块2200进行显示。其中,所述频道节目清单是在智能电视开机后,由所述数字电视模块2400从条件接收系统的头端服务器中获得的,其携带有向用户展现频道节目界面的基本信息。The method according to the first embodiment of the present invention includes the following steps: S1: The digital TV module 2400 obtains a program list of all channels and provides it to the live application module 2200 for display. Wherein, the channel program list is obtained by the digital TV module 2400 from the head-end server of the conditional access system after the smart TV is turned on, and it carries basic information for displaying channel program interface to the user.

S2:所述直播应用模块2200响应于用户的换台指令或节目播放指令,将所切换的频道节目标识发送给所述媒体播放模块2500。所述频道节目标识包括频道的DVB要素信息,在条件接收系统中DVB要素信息是唯一确定一个节目的标识,在DVB标准中要素信息包括:原始网络标识originalnetwork id(onid)、传输流标识transport stream id(tsid)和业务标识serviceid(sid)。S2: The live broadcast application module 2200 sends the switched channel program identifier to the media playing module 2500 in response to the user's channel switching instruction or program playing instruction. Described channel program identifier comprises the DVB element information of channel, and DVB element information is the identifier that uniquely determines a program in conditional access system, and element information includes in DVB standard: original network identifier originalnetwork id (onid), transport flow identifier transport stream id(tsid) and business identifier serviceid(sid).

S3:所述数字电视模块2400获取全部频道信息和控制管理信息,所述频道信息包括频道节目标识、各频道的视频流标识videoPid、音频流标识audioPid,所述控制管理信息包括条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid。与所述频道节目清单相同地,所述全部频道信息和控制管理信息也是在智能电视开机后,由所述数字电视模块2400从条件接收系统的头端服务器中获得的。所述频道信息包括频道节目标识,特别是DVB要素标识、各频道的视频流标识videoPid、音频流标识audioPid,所述控制管理信息包括条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid。S3: The digital TV module 2400 acquires all channel information and control management information, the channel information includes the channel program identifier, the video stream identifier videoPid of each channel, and the audio stream identifier audioPid, and the control management information includes the conditional access application identifier casId , the authorization control information identifier ecmPid, and the authorization management information identifier emmPid. Same as the channel program list, the all channel information and control management information are also obtained by the digital TV module 2400 from the headend server of the conditional access system after the smart TV is turned on. The channel information includes channel program identifiers, especially DVB element identifiers, video stream identifiers videoPid and audio stream identifiers audioPid of each channel, and the control management information includes conditional access application identifier casId, authorization control information identifier ecmPid, authorization management information identifier emmPid.

S4:所述媒体播放模块2500根据所获取的频道节目标识向所述数字电视模块2400获取该频道节目的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid,并分配所述频道节目要使用的解扰器的信息Descramblerid,并将所述频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid一同传送给条件接收模块2600。S4: The media player module 2500 acquires the video stream identifier videoPid, audio stream identifier audioPid, conditional access application identifier casId, authorization control information identifier ecmPid, authorization The management information identifies emmPid, and allocates the information Descramblerid of the descrambler to be used by the channel program, and identifies the video stream of the channel videoPid, audio stream identifier audioPid, conditional access application identifier casId, authorization control information identifier ecmPid, authorization The management information identifier emmPid and the descrambler information Descramblerid are sent to the conditional access module 2600 together.

S5:所述条件接收模块2600根据所接收的条件接收应用标识casId选择在所述智能操作系统中注册的与所述条件接收应用标识casId相匹配的条件接收应用模块2300,同时将所述频道的视频流标识videoPid、音频流标识audioPid、授权控制信息标识ecmPid、授权管理信息标识emmPid以及解扰器信息Descramblerid发送给所述条件接收应用模块2300。S5: The CA module 2600 selects the CA application module 2300 registered in the smart operating system according to the received CA application identifier casId and matches the CA application identifier casId, and at the same time sets the channel's The video stream identifier videoPid, the audio stream identifier audioPid, the entitlement control information identifier ecmPid, the entitlement management information identifier emmPid and the descrambler information Descramblerid are sent to the conditional access application module 2300.

特别地,在一个典型的实施例中,在智能操作系统中注册的条件接收应用模块2300可以是多个,由不同的条件接收厂家提供,通过预装或下载安装的方式在所述智能操作系统中注册,并可以根据用户的观看需求在不同的条件接收应用模块间切换。不同的条件接收应用模块可以携带不同条件接收厂家的授权控制信息、授权管理信息的以及加密控制字的解析方式,当加载某一条件接收厂商的条件接收应用模块后,整个智能操作系统从软件到硬件都可以完全与该条件接收厂商的条件接收机制适配,并可以在不同的条件接收厂家之间自由切换,由此可以在智能操作系统上继续支持现有DCAS(可下载条件接收系统)在多厂商自由切换和适配方面已经取得的有益效果。In particular, in a typical embodiment, there may be multiple CA application modules 2300 registered in the smart operating system, provided by different CA manufacturers, installed in the smart operating system through pre-installation or downloading and installation. Register in and switch between different conditional access application modules according to the user's viewing needs. Different CA application modules can carry authorization control information, authorization management information, and encryption control word analysis methods of different CA manufacturers. The hardware can be fully adapted to the conditional access mechanism of the CA manufacturer, and can be freely switched between different CA manufacturers, so that the existing DCAS (Downloadable Conditional Access System) can continue to be supported on the smart operating system. Beneficial effects have been achieved in the free switching and adaptation of multiple vendors.

S6:所述条件接收应用模块2300根据所获得的授权控制信息标识ecmPid、授权管理信息标识emmPid向所述数字电视模块2400获取相应的授权控制信息数据ecm Data和授权管理信息数据emm Data并根据在所述条件接收应用模块预置的机制解析,从而获得加密层级密钥EK1、EK2和加密控制字ECW连同所述频道的视频流标识videoPid、音频流标识audioPid、解扰器信息Descramblerid发送给所述条件接收模块2600。S6: The conditional access application module 2300 acquires the corresponding entitlement control information data ecm Data and entitlement management information data emm Data from the digital TV module 2400 according to the obtained entitlement control information identifier ecmPid and entitlement management information identifier emmPid, and according to the The conditional access application module presets the mechanism analysis to obtain the encryption level keys EK1, EK2 and the encryption control word ECW together with the channel's video stream identifier videoPid, audio stream identifier audioPid, and descrambler information Descramblerid. Conditional access module 2600 .

S7:所述条件接收模块2600将所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid和解扰器信息Descramblerid发送给高安芯片2700;S7: The conditional access module 2600 sends the encryption level keys EK1, EK2, the encryption control word ECW, the video stream identifier videoPid, the audio stream identifier audioPid, and the descrambler information Descramblerid to the high security chip 2700;

S8:所述高安芯片2700根据所述加密层级密钥EK1、EK2、加密控制字ECW和所述视频流标识videoPid、音频流标识audioPid控制解扰器信息DescramblerID所指定的解扰器(未示出)对加扰的频道节目数据进行解扰并对视频流数据和音频流数据进行播放。S8: The high-security chip 2700 controls the descrambler specified by the descrambler information DescramblerID according to the encryption level keys EK1, EK2, the encryption control word ECW, the video stream identifier videoPid, and the audio stream identifier audioPid (not shown) ) descrambles the scrambled channel program data and plays the video stream data and audio stream data.

优选地,所述数字电视模块2400、媒体播放模块2500和条件接收模块2600为预置在操作系统中的组件层组件,由此可以确保智能电视在组件层对应用层的支持。Preferably, the digital TV module 2400, the media player module 2500 and the conditional access module 2600 are component layer components pre-installed in the operating system, thereby ensuring that the smart TV supports the application layer at the component layer.

更优选地,所述数字电视模块2400、媒体播放模块2500和条件接收模块2600实现为客户端-服务结构,客户端和服务之间使用IPC调用方式。More preferably, the digital TV module 2400, the media player module 2500 and the conditional access module 2600 are implemented as a client-service structure, and an IPC calling method is used between the client and the service.

从而分别实现数字电视模块2400、媒体播放模块2500和条件接收模块2600的个性化、分级化、协调、统一管理。In this way, individualization, classification, coordination, and unified management of the digital TV module 2400, the media player module 2500, and the conditional access module 2600 are respectively realized.

更优选地,所述条件接收应用模块2300、直播应用模块2200为可在所述智能操作系统中安装或卸载的应用。More preferably, the conditional access application module 2300 and the live broadcast application module 2200 are applications that can be installed or uninstalled in the smart operating system.

为确保智能操作系统,特别是智能电视操作系统的安全性同时又需要兼顾其开放性,更优选地,可以在所述条件接收模块2600与条件接收应用模块2300之间提供标准化的DCAS接口,以供条件接收应用模块2300调用所述条件接收模块2600的相应功能。类似地,也可以在所述数字电视模块2400与条件接收应用模块2300之间提供标准化的过滤接口,并在可以在所述媒体播放模块2500与直播应用模块2200之间提供标准化的媒体单元接口。In order to ensure the security of the smart operating system, especially the smart TV operating system, it is necessary to take into account its openness. More preferably, a standardized DCAS interface can be provided between the conditional access module 2600 and the conditional access application module 2300, so as to For the conditional access application module 2300 to call the corresponding function of the conditional access module 2600 . Similarly, a standardized filtering interface can also be provided between the digital TV module 2400 and the conditional access application module 2300 , and a standardized media unit interface can be provided between the media playing module 2500 and the live application module 2200 .

更进一步地,由于智能操作系统特别是智能电视操作系统具有应用层通常为Java实现而操作系统以下通常为C实现的特点,因此,更优选地,可以在上述标准化接口与各数字电视模块2400、媒体播放模块2500和条件接收模块2600之间提供JNI调用接口,用于实施Java-C的通信和映射。Furthermore, because the smart operating system, especially the smart TV operating system, has the characteristics that the application layer is usually implemented by Java and the following operating system is usually implemented by C, therefore, more preferably, the above-mentioned standardized interface can be connected with each digital TV module 2400, A JNI calling interface is provided between the media playing module 2500 and the conditional receiving module 2600 for implementing Java-C communication and mapping.

由此已经根据本发明的第一实施例描述了在条件接收场景下,在智能操作系统中实现条件接收的方法。本实施例以智能操作系统为整体框架,提供了在智能操作系统中实施条件接收系统的方法,不但提供了适于智能操作系统实现的条件接收,且使现有条件接收系统中多厂商自由切换和适配方面已经取得的有益效果可以在智能操作系统中得以继续保持。Thus, the method for implementing conditional access in an intelligent operating system in a conditional access scenario has been described according to the first embodiment of the present invention. This embodiment takes the intelligent operating system as the overall framework and provides a method for implementing the conditional access system in the intelligent operating system, which not only provides conditional access suitable for the realization of the intelligent operating system, but also enables free switching between multiple vendors in the existing conditional access system The beneficial effects already achieved in terms of integration and adaptation can be maintained in an intelligent operating system.

<第二实施例><Second Embodiment>

以上已经结合附图描述了本发明的第一实施例,下面描述根据本发明的第二实施例,其中未描述的部分与第一实施例相同,因此不再赘述。根据本实施例,提供了一种在条件接收场景和非条件接收场景下自由适配的条件接收方法。一般而言,电视节目分为加扰节目(条件接收节目)和非加扰节目,在非加扰节目的情况下,播放设备可以直接获取相应节目的视频流数据和音频流数据进行播放。而在加扰节目的情况下,就设计条件接收,只有符合条件的用户才能够获得解扰所必须的控制字(CW字),从而解扰观看节目。当头端所提供的节目既包含加扰节目又包含非加扰节目时,根据本发明第二实施例的方法,可以在所述S3所述数字电视模块获取全部频道信息和控制管理信息的步骤中所获取的所述频道信息包括各频道是否为加扰频道的标识CAMode;The first embodiment of the present invention has been described above with reference to the accompanying drawings, and the second embodiment according to the present invention will be described below, where the parts not described are the same as those of the first embodiment, so they will not be repeated here. According to this embodiment, a conditional access method freely adaptable in a conditional access scenario and a non-conditional access scenario is provided. Generally speaking, TV programs are divided into scrambled programs (conditional access programs) and non-scrambled programs. In the case of non-scrambled programs, the playback device can directly obtain the video stream data and audio stream data of the corresponding program for playback. In the case of scrambling programs, conditional access is designed so that only qualified users can obtain the necessary control word (CW word) for descrambling, so as to descramble and watch the program. When the programs provided by the head end include both scrambled programs and non-scrambled programs, according to the method of the second embodiment of the present invention, in the step of obtaining all channel information and control management information by the digital TV module in S3 The acquired channel information includes an identifier CAMode indicating whether each channel is a scrambled channel;

从而在步骤S4中所述媒体播放模块2400首先根据所述频道节目标识向所述数字电视模块2400查询并获取该频道是否为加扰频道的标识CAMode,根据所述标识CAMode判断该频道是否为加扰频道:Thereby in step S4, described media playing module 2400 at first inquires to described digital TV module 2400 according to described channel program identification and obtains whether this channel is the mark CAMode of scrambling channel, judges whether this channel is scrambling according to described mark CAMode Scrambling channel:

如果在该判断步骤中判定该频道不是加扰频道,则所述媒体播放模块2500从所述数字电视模块2400获取该频道的视频流标识videoPid、音频流标识audioPid,提供所述给高安芯片2700进行播放;If it is determined in the judging step that the channel is not a scrambled channel, then the media player module 2500 obtains the video stream identifier videoPid and the audio stream identifier audioPid of the channel from the digital TV module 2400, and provides the channel to the high security chip 2700 for further processing. play;

如果在该判断步骤中判定该频道是加扰频道,则所述媒体播放模块2500从所述数字电视模块2400获取该频道的视频流标识videoPid、音频流标识audioPid、条件接收应用标识casId、授权控制信息标识ecmPid、授权管理信息标识emmPid。If it is determined in this judging step that the channel is a scrambled channel, the media player module 2500 obtains the channel's video stream identifier videoPid, audio stream identifier audioPid, conditional access application identifier casId, and authorization control from the digital TV module 2400. Information identifier ecmPid, authorization management information identifier emmPid.

根据本发明的第二实施例描述了在条件接收和非加扰两种场景下,在智能操作系统中均实现播放的方法,本实施例的方法可以在在条件接收和非加扰两种场景下进行自由适配,进一步提高了系统的兼容性和易用性。According to the second embodiment of the present invention, a method for realizing playback in an intelligent operating system in two scenarios of conditional access and non-scrambling is described. The method of this embodiment can be used in both scenarios of conditional access and non-scrambling The system can be freely adapted, which further improves the compatibility and ease of use of the system.

本发明可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。The present invention can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present invention.

计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.

这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .

用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the invention are implemented by executing computer readable program instructions.

这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.

这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.

也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing apparatus, or other equipment, so that a series of operational steps are executed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.

附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by means of hardware, implementation by means of software, and implementation by a combination of software and hardware are all equivalent.

以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。Having described various embodiments of the present invention, the foregoing description is illustrative, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles of the various embodiments, practical applications or technical improvements over technologies in the market, or to enable other persons of ordinary skill in the art to understand the various embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. a kind of condition receiving method for intelligent operating system, it is characterised in that be implemented on installation Among the smart machine of intelligent operating system, the smart machine includes live application module, condition Application module, digital television module, media player module, Conditional Access Module, peace chip high are received, Methods described includes:
The digital television module obtains whole channel program inventories and is supplied to the live application module Shown;
The live application module will be switched in response to the zapping instruction or program play instruction of user Channel program mark be sent to the media player module;
The digital television module obtains whole channel informations and control management information, the channel information Including channel program mark, the video traffic identifier videoPid of each channel, audio traffic identifier audioPid, It is described control management packet include condition reception application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message identifies emmPid;
Channel program of the media player module according to acquired in is identified and obtained to the digital television module Take video traffic identifier videoPid, audio traffic identifier audioPid, the condition reception application of the channel program Mark casId, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid, and point Information Descramblerid with the channel program descrambler to be used, and regarding the channel Frequency traffic identifier videoPid, audio traffic identifier audioPid, condition reception application identities casId, mandate Control information mark ecmPid, Entitlement Management Message mark emmPid and descrambler information Descramblerid together sends Conditional Access Module to;
The Conditional Access Module is selected described according to the condition reception application identities casId for being received The condition reception matched with the condition reception application identities casId registered in intelligent operating system Application module, at the same by the video traffic identifier videoPid of the channel, audio traffic identifier audioPid, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid and descrambler information Descramblerid is sent to the condition reception application module;
The condition reception application module is according to Entitlement Control Message mark ecmPid, the mandate for being obtained Management information identifies emmPid and obtains corresponding Entitlement Control Message data to the digital television module Ecm Data and Entitlement Management Message data emm Data are simultaneously according in the condition reception application module Preset mechanism parsing, so as to obtain encryption level key EK1, EK2 and encrypted control word ECW Video traffic identifier videoPid, audio traffic identifier audioPid together with the channel, descrambler information Descramblerid is sent to the Conditional Access Module;
The Conditional Access Module is by the encryption level key EK1, EK2, encrypted control word ECW With the video traffic identifier videoPid, audio traffic identifier audioPid and descrambler information Descramblerid is sent to peace chip high;
The peace chip high according to the encryption level key EK1, EK2, encrypted control word ECW and The video traffic identifier videoPid, audio traffic identifier audioPid control descrambler information Descrambler corresponding to DescramblerID is descrambled and to video to the channel program data for scrambling Flow data and audio stream data are played out.
2. condition receiving method according to claim 1, it is characterised in that the channel program Mark includes original network identification onid, transport stream identification tsid, the service identification sid of channel.
3. condition receiving method according to claim 1, it is characterised in that wherein described numeral Acquired channel letter in the step of television module obtains whole channel informations and control management information Breath include each channel whether be scrambled channel mark CAMode;
And the step of the digital television module obtains whole channel informations and control management information it Also include afterwards:
The media player module is identified to digital television module inquiry simultaneously according to the channel program Obtain the channel whether be scrambled channel mark CAMode, according to the mark CAMode judge Whether the channel is scrambled channel:
If judging that the channel is not scrambled channel, the media player module in the judgement step Video traffic identifier videoPid, the audio traffic identifier of the channel are obtained from the digital television module AudioPid, and it is supplied to the peace chip high to play out;
If judging that the channel is scrambled channel in the judgement step, the media player module from The digital television module obtain the video traffic identifier videoPid of the channel, audio traffic identifier audioPid, Condition reception application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid。
4. condition receiving method according to claim 1, wherein, the condition reception application mould Block, live application module are the application that can be installed or unload in the intelligent operating system.
5. condition receiving method according to claim 1, wherein, in the intelligent operating system The middle condition reception application module registered is provided as multiple, by different condition reception producers, can Switched between different condition reception application modules with the viewing demand according to user.
6. a kind of condition receiving system for intelligent operating system, it is characterised in that the system is held Among the smart machine for being mounted with intelligent operating system, the smart machine includes live application mould to row Block, condition reception application module, digital television module, media player module, Conditional Access Module, High peace chip, wherein:
The digital television module, for obtain whole channel program inventories and be supplied to it is described it is live should Shown with module, and obtained whole channel informations and control management information, the channel information Including channel program mark, the video traffic identifier videoPid of each channel, audio traffic identifier audioPid, It is described control management packet include condition reception application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message identifies emmPid;
The live application module, for the zapping instruction in response to user or program play instruction, will The channel program mark for being switched is sent to the media player module;
The media player module, identifies to the DTV for the channel program acquired in basis Module obtains the video traffic identifier videoPid of the channel program, audio traffic identifier audioPid, condition and connects Application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid are received, And distribute the information Descramblerid of the channel program descrambler to be used, and by the channel Video traffic identifier videoPid, audio traffic identifier audioPid, condition reception application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid and descrambler information Descramblerid together sends Conditional Access Module to;
Conditional Access Module, for being selected described according to the condition reception application identities casId for being received The condition reception matched with the condition reception application identities casId registered in intelligent operating system Application module, at the same by the video traffic identifier videoPid of the channel, audio traffic identifier audioPid, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid and descrambler information Descramblerid is sent to the condition reception application module;
Condition reception application module, for identifying ecmPid according to the Entitlement Control Message for being obtained, awarding Power management information mark emmPid obtains corresponding Entitlement Control Message number to the digital television module According to ecm Data and Entitlement Management Message data emm Data and according in the condition reception application mould The preset mechanism parsing of block, so as to obtain encryption level key EK1, EK2 and encrypted control word ECW Video traffic identifier videoPid, audio traffic identifier audioPid together with the channel, descrambler information Descramblerid is sent to the Conditional Access Module;
The Conditional Access Module, is additionally operable to the encryption level key EK1, EK2, encryption control Word ECW processed and the video traffic identifier videoPid, audio traffic identifier audioPid and descrambler information Descramblerid is sent to peace chip high, by the chip of pacifying high according to the encryption level key EK1, EK2, encrypted control word ECW and the video traffic identifier videoPid, audio traffic identifier Descrambler specified by audioPid controls descrambler information DescramblerID is to the channel program that scrambles Data are descrambled and video stream data and audio stream data are played out.
7. condition receiving system according to claim 6, it is characterised in that the channel program Mark includes original network identification onid, transport stream identification tsid, the service identification sid of channel.
8. condition receiving system according to claim 6, it is characterised in that wherein described numeral Whole channel informations acquired in television module include each channel whether be scrambled channel mark CAMode;And
The media player module, is additionally operable to be identified to the DTV mould according to the channel program Block inquire about and obtain the channel whether be scrambled channel mark CAMode, according to the mark CAMode judges whether the channel is scrambled channel:
If judging that the channel is not scrambled channel, the media player module in the judgement step Video traffic identifier videoPid, the audio traffic identifier of the channel are obtained from the digital television module AudioPid, and it is supplied to the peace chip high to play out;
If judging that the channel is scrambled channel in the judgement step, the media player module from The digital television module obtain the video traffic identifier videoPid of the channel, audio traffic identifier audioPid, Condition reception application identities casId, Entitlement Control Message mark ecmPid, Entitlement Management Message mark emmPid。
9. condition receiving system according to claim 6, wherein, the condition reception application mould Block, live application module are the application that can be installed or unload in the intelligent operating system.
10. condition receiving system according to claim 6, wherein, in the intelligent operation system The condition reception application module registered in system is provided as multiple, by different condition reception producers, Can be switched between different condition reception application modules according to the viewing demand of user.
CN201510882112.9A 2015-12-03 2015-12-03 A kind of condition receiving method and system for intelligent operating system Pending CN106851391A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510882112.9A CN106851391A (en) 2015-12-03 2015-12-03 A kind of condition receiving method and system for intelligent operating system
PCT/CN2016/108263 WO2017092700A1 (en) 2015-12-03 2016-12-01 Condition receiving method and system for intelligent operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510882112.9A CN106851391A (en) 2015-12-03 2015-12-03 A kind of condition receiving method and system for intelligent operating system

Publications (1)

Publication Number Publication Date
CN106851391A true CN106851391A (en) 2017-06-13

Family

ID=58796309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510882112.9A Pending CN106851391A (en) 2015-12-03 2015-12-03 A kind of condition receiving method and system for intelligent operating system

Country Status (2)

Country Link
CN (1) CN106851391A (en)
WO (1) WO2017092700A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572797B (en) * 2020-04-29 2024-05-31 阿里巴巴集团控股有限公司 Data processing method, device and system and electronic equipment
CN114449349B (en) * 2020-10-30 2023-07-25 深圳Tcl新技术有限公司 Program recording method, device, equipment and computer readable storage medium
CN114666665B (en) * 2020-12-23 2023-08-01 深圳Tcl新技术有限公司 Certificate authentication method, storage medium and television

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453615A (en) * 2007-11-30 2009-06-10 株式会社日立制作所 Device, method and television set for supporting multi-condition receiving module
CN101662646A (en) * 2008-08-29 2010-03-03 深圳市爱国者嵌入式系统科技有限公司 Digital TV receiving device compatible with multiple CA and method for descrambling data
WO2010035215A1 (en) * 2008-09-29 2010-04-01 Nokia Corporation Method and system to enable adaptation between physical bearers and oma-bcast
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
CN102387407A (en) * 2010-08-31 2012-03-21 国基电子(上海)有限公司 System and method for realizing broadcasting network conditional access (CA)
CN102761777A (en) * 2012-07-30 2012-10-31 山东泰信电子股份有限公司 Multiple-CA (conditional access) simulcrypt system and method
CN103024474A (en) * 2012-11-30 2013-04-03 北京视博数字电视科技有限公司 System and method for safely receiving and distributing of radio and television contents and internet gateway device
CN103997678A (en) * 2014-04-24 2014-08-20 深圳创维-Rgb电子有限公司 Multi-CAS seamless switching method and multi-CAS seamless switching system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243927B2 (en) * 2006-10-20 2012-08-14 Panasonic Corporation Digital video receiver, ECM extract equipment, EMM extract equipment, scramble key extract equipment, CCI extract equipment, digital video receiving system, ECM extract method, EMM extract method, scramble key extract method, CCI extract method, digital video receiving method, and recording medium
CN101018320A (en) * 2007-02-13 2007-08-15 中国移动通信集团广东有限公司 A digital TV condition receiving system and its encryption method
CN100589553C (en) * 2007-04-20 2010-02-10 中兴通讯股份有限公司 A method for playing scrambled TV programs on a mobile TV terminal
CN101247189B (en) * 2008-03-07 2013-07-31 北京握奇数据系统有限公司 Receiving terminal and device for terminal implementing service authorization in conditioned receiving system
CN101282456B (en) * 2008-04-11 2010-08-04 青岛海信电器股份有限公司 Method and apparatus for receiving digital television condition
CN101335579A (en) * 2008-08-01 2008-12-31 北京创毅视讯科技有限公司 Method implementing conditional reception and conditional receiving apparatus
CN102075812B (en) * 2010-08-10 2013-06-19 深圳市九洲电器有限公司 Data receiving method and system of digital television

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453615A (en) * 2007-11-30 2009-06-10 株式会社日立制作所 Device, method and television set for supporting multi-condition receiving module
CN101662646A (en) * 2008-08-29 2010-03-03 深圳市爱国者嵌入式系统科技有限公司 Digital TV receiving device compatible with multiple CA and method for descrambling data
WO2010035215A1 (en) * 2008-09-29 2010-04-01 Nokia Corporation Method and system to enable adaptation between physical bearers and oma-bcast
CN102387407A (en) * 2010-08-31 2012-03-21 国基电子(上海)有限公司 System and method for realizing broadcasting network conditional access (CA)
CN102098575A (en) * 2010-12-31 2011-06-15 青岛海信宽带多媒体技术有限公司 Migration method compatible with multiple conditional access (CA) systems and CA method
CN102761777A (en) * 2012-07-30 2012-10-31 山东泰信电子股份有限公司 Multiple-CA (conditional access) simulcrypt system and method
CN103024474A (en) * 2012-11-30 2013-04-03 北京视博数字电视科技有限公司 System and method for safely receiving and distributing of radio and television contents and internet gateway device
CN103997678A (en) * 2014-04-24 2014-08-20 深圳创维-Rgb电子有限公司 Multi-CAS seamless switching method and multi-CAS seamless switching system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
盛志凡: "智能电视操作系统TVOS1.0安全技术方案", 《广播与电视技术》 *

Also Published As

Publication number Publication date
WO2017092700A1 (en) 2017-06-08

Similar Documents

Publication Publication Date Title
CN106851365A (en) A kind of condition receiving method and system for intelligent operating system
US8904446B2 (en) Method and apparatus for indexing content within a media stream
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
US9451337B2 (en) Media synchronization within home network using set-top box as gateway
US8817095B2 (en) Locally originated IPTV programming
US20080015932A1 (en) Methods and apparatus to distribute media content
CN105704505A (en) Method and intelligent television terminal for supporting all media playing in intelligent television operating system
US20120131626A1 (en) Methods, apparatus and systems for delivering and receiving data
US20240171828A1 (en) Receiving device, receiving method, signal processing device, and signal processing method
US7240113B1 (en) Networked conditional access module
EP2615840A2 (en) Method and apparatus for receiving application data
US20240257188A1 (en) Methods and systems for providing content
CN106851351A (en) One kind supports digital copyright management(DRM)WMG/terminal realizing method and its equipment
US12108098B2 (en) Digital transport adapter
CN106851391A (en) A kind of condition receiving method and system for intelligent operating system
CN109379607B (en) A channel playing method, device and medium
KR20210119357A (en) Electronic device, control method thereof, program, medium storage and internet protocol television system
US20140188937A1 (en) Systems, methods, and media for controlling access to media content
US20170347141A1 (en) Improvements to a Television Signal Reception Device and System
CN108200453B (en) A fusion conditional access terminal system and method
US9992525B1 (en) Method and system for inserting local channel insertion in a multi-terminal system
JP2017537533A (en) Media content reception and switching management
CN118102042A (en) Program display method and display equipment
KR100947315B1 (en) Method and system for supporting roaming based on downloadable conditional access system
US20160014436A1 (en) Broadcast reception device, operating method of broadcast reception device, conditional access module and operating method of conditional access module

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication