WO2018086477A1 - Digital television descrambling method and device - Google Patents

Digital television descrambling method and device Download PDF

Info

Publication number
WO2018086477A1
WO2018086477A1 PCT/CN2017/109052 CN2017109052W WO2018086477A1 WO 2018086477 A1 WO2018086477 A1 WO 2018086477A1 CN 2017109052 W CN2017109052 W CN 2017109052W WO 2018086477 A1 WO2018086477 A1 WO 2018086477A1
Authority
WO
WIPO (PCT)
Prior art keywords
control information
target
authorization control
information data
program
Prior art date
Application number
PCT/CN2017/109052
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 WO2018086477A1 publication Critical patent/WO2018086477A1/en

Links

Images

Classifications

    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/167Systems rendering the television signal unintelligible and subsequently intelligible

Definitions

  • the present disclosure relates to the field of digital television, for example, to a method and apparatus for digital television descrambling.
  • Digital TV provides people with rich program content and high-quality audio-visual enjoyment. Compared with analog TV, digital TV has small signal loss and good reception effect, but digital TV has an obvious disadvantage. It is slow for users to scramble programs. The experience is poor.
  • a commonly used method for fast channel switching descrambling is to simultaneously descramble a three-way program, that is, simultaneously parsing two programs before and after the scrambled program in the scrambled program and the program list into a control word (Control Word, CW).
  • Some methods even parse all the programs at the current frequency point out of the CW.
  • the processor in the top box the total number of filters (Filter) and the smart card communication time, etc., all the current frequencies are analyzed.
  • the CW of the program is unrealistic, and simultaneously descrambling the three-way program will take up more hardware resources.
  • the present disclosure provides a method and apparatus for digital television descrambling, which can quickly descramble a channel for a scrambled program with less hardware resources.
  • the embodiment provides a method for descrambling digital television, including:
  • the target authorization control information of the target program is included in the pre-stored authorization control information data, sending the target authorization control information to the smart card, and receiving the control word returned by the smart card;
  • a descrambler is provided according to the control word to descramble the target program.
  • the embodiment further provides a device for descrambling digital television, including:
  • a channel change command receiving module configured to receive a channel change command for switching to the target program
  • the determining module is configured to determine whether the target authorization control information of the target program is included in the pre-stored authorization control information data;
  • a control word extraction module configured to send the target authorization control information to the smart card, and receive the control word returned by the smart card, if it is determined that the pre-stored authorization control information data has the target authorization control information of the target program;
  • the first descrambling module is configured to set a descrambler according to the control word to descramble the target program.
  • the embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method of digital television descrambling.
  • the embodiment further provides a set top box including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory, when executed by one or more processors, Perform the above method of digital TV descrambling.
  • the embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer A method of causing the computer to perform any of the above-described digital television descrambling.
  • the digital television descrambling method and apparatus provided by the present disclosure directly extracts a control word from a smart card according to the authorization control information when there is authorization control information of the target program in the pre-stored authorization control information data. It is not necessary to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and the descrambling time when the digital TV is changed is reduced to achieve fast descrambling when occupying less hardware resources.
  • FIG. 1 is a schematic flow chart of a method for descrambling digital television according to Embodiment 1;
  • Embodiment 2 is a schematic flow chart of a method for descrambling digital television provided by Embodiment 2;
  • Embodiment 3 is a schematic structural diagram of an apparatus for descrambling digital television provided by Embodiment 3;
  • Embodiment 4 is a schematic structural diagram of an apparatus for descrambling digital television provided by Embodiment 4;
  • FIG. 5 is a schematic structural diagram of hardware of a set top box according to Embodiment 5.
  • FIG. 1 is a schematic flowchart diagram of a method for descrambling digital television provided by this embodiment.
  • the method of this embodiment can be performed by a set top box of a digital television, and can be applied to a scene in which a digital television switches a program.
  • the method for descrambling digital television of this embodiment may include the following steps.
  • step 110 a channel change instruction to switch to the target program is received.
  • the user can issue various commands to the set top box through the remote control of the digital television or the menu button on the panel, for example, switching to the switching instruction of the target program A, and the set top box receives the switching instruction, wherein the target program A is plus Disturb the program.
  • step 120 it is determined whether there is target authorization control information of the target program in the pre-stored authorization control information data.
  • the set top box switches to the target program A in response to the received channel change command, and reads the program information (including the Transport ID, the Source ID, and the service ID) of the target program A from the database, and the pre-stored authorization according to the program information.
  • the control information data is searched for whether there is target authorization control information of the target program A.
  • Entitlement Control Message is private information of a Conditional Access (CA) system, including CW and private authorization information transmitted in a secure manner, applied to digital television.
  • CA Conditional Access
  • step 130 if yes, the target authorization control information is sent to the smart card, and the control word returned by the smart card is received.
  • the target authorization control information of the target program A is found from the pre-stored authorization control information data
  • the target authorization control information is directly retrieved and the target authorization control information is sent to the smart card of the digital television, and the smart card receives the The target authorizes the control information and returns the current control word to the set top box.
  • step 140 a descrambler is set according to the control word to descramble the target program.
  • the control word may be directly extracted from the smart card according to the target authorization control information, and the descrambler is configured to solve the target program.
  • the interference does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and the descrambling time when the digital TV is changed is reduced, and the fast descrambling is realized.
  • FIG. 2 is a schematic flow chart of a method for digital electrolytic disturbance provided by this embodiment.
  • the difference between this embodiment and the first embodiment is that the content of the pre-stored authorization control information data is added, and an optional implementation manner is provided when it is determined that the pre-existing authorization control information data has no target authorization control information, and An optional implementation after the second descrambling.
  • the method for descrambling digital television of this embodiment may include the following steps.
  • step 210 the authorization control information data is pre-stored.
  • the authorization control information data may be sent by the front end, and the authorization control information data sent by the front end may include authorization control information of all programs at the current frequency point; or the authorization control information data sent by the front end may include the current frequency point and Authorization control information of all programs under adjacent frequency points; wherein the front end refers to a cable television room.
  • step 220 a channel change command to switch to the target program is received.
  • step 230 it is determined whether there is target authorization control information of the target program in the pre-stored authorization control information data.
  • the process jumps to the following step 240; when there is no target authorization control information of the target program in the pre-stored authorization control information data, the jump Go to step 250 below.
  • step 240 if yes, the target authorization control information is sent to the smart card, and the control word returned by the smart card is received.
  • the set top box after receiving the control word returned by the smart card, the set top box jumps to step 270 described below.
  • step 250 if not, the program map of the target program is acquired from the front end and parsed, and the corresponding parsed data and packet identifier information are obtained.
  • the set-top box acquires the program mapping table of the target program from the digital television front end, and parses the program mapping table. Get parsed data and packet identifier information.
  • a filter is set according to the filtering parameter and the packet identifier information to filter the parsed data, the target authorization control information data is obtained and saved, the target authorization control information is retrieved from the target authorization control information data, and the control information is obtained from the smart card according to the target authorization. Extract the control word.
  • the filter parameters of the filter are alternately changed, and the filter parameter of the authorization control information data is generally filtered by the filter to be 0x80 or 0x81, and the filter The filter parameters alternate between 0x80 and 0x81.
  • the filter parameter of the filter is 0x80
  • the filter parameter of the filter needs to be modified to 0x81.
  • the set top box filters the parsed data according to the filtering parameter and the packet identifier information setting filter, obtains the target authorization control information data including the target authorization control information, saves the target authorization control information data, and authorizes the control information data from the target.
  • the target authorization control information is retrieved, the target authorization control information is sent to the smart card, and the control word returned by the smart card according to the target authorization control information is received.
  • step 270 a descrambler is set according to the control word to descramble the target program.
  • step 280 the process jumps to the above S260 every preset time period until the channel change command or the shutdown command is received again.
  • the above steps 210-270 are the processing flow of the first descrambling of the set top box when the program is switched. Since the target program is a scrambled program, in order to realize the subsequent normal receiving signal to play the target program, the descrambling operation needs to be continued.
  • the general control word contains a parity key. The control word changes every preset time.
  • the target authorization control information of the corresponding target program also changes, for example, every 10 seconds. To achieve descrambling, every The above S260 is executed cyclically for 10 seconds until the channel change command is received again or the shutdown command is received to end the loop operation.
  • the target program in this embodiment refers to a scrambled program, and only the scrambled program needs to be descrambled, and the clear stream program can receive the signal normally without descrambling.
  • the authorization control information data sent by the front end is pre-stored, and the set top box receives the switching instruction input by the user to switch to the target program, and the target authorization control information for the pre-stored authorization control information data with or without the target program.
  • the two different situations are differently processed.
  • the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved and sent to the smart card, and the control word returned by the smart card is received.
  • FIG. 3 is a schematic structural diagram of an apparatus for descrambling digital television provided by this embodiment.
  • the apparatus 300 for digital TV descrambling of this embodiment may include the following modules.
  • the channel change command receiving module 310 is configured to receive a channel change command for switching to the target program.
  • the determining module 320 is configured to determine whether there is target authorization control information of the target program in the pre-stored authorization control information data.
  • the control word extraction module 330 is configured to send the target authorization control information to the smart card and receive the control word returned by the smart card if the target authorization control information of the target program is included in the pre-stored authorization control information data.
  • the first descrambling module 340 is configured to set a descrambler according to the control word to descramble the target program.
  • the set top box receives the switching instruction input by the user and switches to the target program, and when the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved. And send it to the smart card, receive the control word returned by the smart card, root According to the control word, a descrambler is disposed to descramble the target program; when the pre-stored authorization control information data includes the target authorization control information of the target program, the technical solution may directly extract the control word from the smart card according to the target authorization control information, and set The descrambler descrambles the target program, and does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and reducing the descrambling time when the digital TV is changed, taking advantage of less hardware resources. Fast descrambling.
  • FIG. 4 is a schematic structural diagram of an apparatus for descrambling digital television provided by this embodiment.
  • the difference between this embodiment and the third embodiment is that the authorization control information data pre-storing module 410, the program mapping table parsing module 460, the second descrambling module 470, and the loop module 480 are added.
  • the apparatus 400 for digital TV descrambling of this embodiment may include the following modules.
  • the authorization control information data pre-storing module 410 is configured to pre-store the authorization control information data; wherein the authorization control information data includes authorization control information of all programs at the current frequency point; or the authorization control information data includes the current frequency point and adjacent frequency points. Authorization control information for all programs under.
  • the channel change command receiving module 420 is configured to receive a channel change command for switching to the target program.
  • the determining module 430 is configured to determine whether there is target authorization control information of the target program in the pre-stored authorization control information data.
  • the control word extraction module 440 is configured to send the target authorization control information to the smart card and receive the control word returned by the smart card if the target authorization control information of the target program is included in the pre-stored authorization control information data.
  • the first descrambling module 450 is configured to set a descrambler according to the control word to descramble the target program.
  • the program mapping table parsing module 460 is configured to obtain the program mapping table of the target program from the front end and parse the pre-stored authorization control information data without the target authorization control information of the target program, and obtain the corresponding parsing data and the packet identifier. information.
  • the second descrambling module 470 is configured to set a filter according to the filtering parameter and the packet identifier information to filter the parsed data, obtain and save the target authorization control information data, and retrieve the target authorization control information from the target authorization control information data, according to the target authorization.
  • the control information extracts the control word from the smart card, sets the descrambler according to the control word, and descrambles the target program.
  • the loop module 480 is configured to cyclically start the second descrambling module 470 every preset time period until the channel change command or the shutdown command is received again.
  • the pre-existing authorization control information data, the set-top box receives the user-switched switching instruction to the target program, and the target authorization control information for the pre-stored authorization control information data with or without the target program.
  • Different situations are differently processed.
  • the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved and sent to the smart card, and the control word returned by the smart card is received, according to the control.
  • the word set descrambler descrambles the target program, and then continues descrambling to ensure normal reception of the signal; when there is no target authorization control information of the target program in the pre-stored authorization control information data, the program map of the target program is obtained from the front end And parsing, obtaining corresponding parsing data and packet identifier information, obtaining target authorization control information according to the filtering parameter and the packet identifier information, and extracting the control word from the smart card according to the target authorization control information to descramble the target program.
  • the embodiment provides a computer readable storage medium storing computer executable instructions for performing the above method of digital point descrambling.
  • FIG. 5 is a schematic diagram showing the hardware structure of a set top box according to the embodiment.
  • the set top box includes: one or more processors 510 and a memory 520.
  • One processor 510 is taken as an example in FIG.
  • the set top box may further include: an input device 530 and an output device 540.
  • the processor 510, the memory 520, the input device 530, and the output device 540 in the set top box may be In connection with the bus or other means, the connection through the bus is taken as an example in FIG.
  • the input device 530 can receive input numeric or character information
  • the output device 540 can include a display device such as a display screen.
  • the memory 520 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules.
  • the processor 510 executes various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 520 to implement any of the above embodiments.
  • the memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function.
  • the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • Memory 520 can be a non-transitory computer storage medium or a transitory computer storage medium.
  • the non-transitory computer storage medium such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 520 can optionally include memory remotely located relative to processor 510, which can be connected to the set top box via a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Input device 530 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the set top box.
  • the output device 540 can include a display device such as a display screen.
  • the set top box of this embodiment may also include communication means 550 for transmitting and/or receiving information over a communication network.
  • Implementing all or part of the processes in the foregoing embodiment may be performed by a computer program executing related hardware, and the program may be stored in a non-transitory computer readable storage medium.
  • the program when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
  • the digital television descrambling method and apparatus when the target authorization control information of the target program is included in the pre-stored authorization control information data, may directly extract the control word from the smart card according to the target authorization control information, and set the descrambler to the target.
  • the program descrambling does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and reduces the descrambling time when the digital TV is changed, and achieves fast descrambling when occupying less hardware resources.

Abstract

A digital television descrambling method and device. The method comprises: receiving a channel switching command for switching to a target program; determining whether a prestored authentication control information contains target authentication control information of the target program; if so, transmitting to a smart card the target authentication control information; receiving a control word responded by the smart card; and configuring, according to the control word, a descrambler, and descrambling the target program.

Description

数字电视解扰的方法和装置Digital television descrambling method and device 技术领域Technical field
本公开涉及数字电视领域,例如涉及一种数字电视解扰的方法和装置。The present disclosure relates to the field of digital television, for example, to a method and apparatus for digital television descrambling.
背景技术Background technique
数字电视为人们提供了丰富的节目内容及优质的视听享受,相比模拟电视,数字电视的信号损失小、接收效果好,但数字电视有一个明显的缺点就是对于加扰节目换台慢,用户体验较差。Digital TV provides people with rich program content and high-quality audio-visual enjoyment. Compared with analog TV, digital TV has small signal loss and good reception effect, but digital TV has an obvious disadvantage. It is slow for users to scramble programs. The experience is poor.
常用的快速换台解扰的方法是同时解扰三路节目,即同时将加扰节目和节目列表中该加扰节目前后的两个节目解析出控制字(Control Word,CW)。有的方法甚至将当前频点下的所有节目都解析出CW,考虑到顶盒内处理器有限的使用资源、过滤器(Filter)的总数限制及智能卡通讯时间等因素,解析出当前频点下所有节目的CW是不现实的,而且同时解扰三路节目会占用较多的硬件资源。A commonly used method for fast channel switching descrambling is to simultaneously descramble a three-way program, that is, simultaneously parsing two programs before and after the scrambled program in the scrambled program and the program list into a control word (Control Word, CW). Some methods even parse all the programs at the current frequency point out of the CW. Considering the limited use resources of the processor in the top box, the total number of filters (Filter) and the smart card communication time, etc., all the current frequencies are analyzed. The CW of the program is unrealistic, and simultaneously descrambling the three-way program will take up more hardware resources.
发明内容Summary of the invention
本公开提供一种数字电视解扰的方法和装置,可实现在占用较少的硬件资源情况下,对加扰节目快速解扰换台。The present disclosure provides a method and apparatus for digital television descrambling, which can quickly descramble a channel for a scrambled program with less hardware resources.
第一方面,本实施例提供了一种数字电视解扰的方法,包括:In a first aspect, the embodiment provides a method for descrambling digital television, including:
接收切换至目标节目的换台指令;Receiving a channel change instruction for switching to the target program;
判断预存的授权控制信息数据中是否有所述目标节目的目标授权控制信 息;Determining whether there is a target authorization control letter of the target program in the pre-stored authorization control information data interest;
在预存的授权控制信息数据中有所述目标节目的目标授权控制信息的情况下,发送所述目标授权控制信息给智能卡,接收所述智能卡返回的控制字;And if the target authorization control information of the target program is included in the pre-stored authorization control information data, sending the target authorization control information to the smart card, and receiving the control word returned by the smart card;
根据所述控制字设置解扰器,解扰所述目标节目。A descrambler is provided according to the control word to descramble the target program.
第二方面,本实施例还对应提供了一种数字电视解扰的装置,包括:In a second aspect, the embodiment further provides a device for descrambling digital television, including:
换台指令接收模块,设置为接收切换至目标节目的换台指令;a channel change command receiving module configured to receive a channel change command for switching to the target program;
判断模块,设置为判断预存的授权控制信息数据中是否有所述目标节目的目标授权控制信息;The determining module is configured to determine whether the target authorization control information of the target program is included in the pre-stored authorization control information data;
控制字提取模块,设置为在判断预存的授权控制信息数据中有所述目标节目的目标授权控制信息的情况下,发送所述目标授权控制信息给智能卡,接收所述智能卡返回的控制字;a control word extraction module, configured to send the target authorization control information to the smart card, and receive the control word returned by the smart card, if it is determined that the pre-stored authorization control information data has the target authorization control information of the target program;
第一解扰模块,设置为根据所述控制字设置解扰器,解扰所述目标节目。The first descrambling module is configured to set a descrambler according to the control word to descramble the target program.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述数字电视解扰的方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method of digital television descrambling.
本实施例还提供一种机顶盒,该机顶盒包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述方数字电视解扰的法。The embodiment further provides a set top box including one or more processors, a memory, and one or more programs, the one or more programs being stored in the memory, when executed by one or more processors, Perform the above method of digital TV descrambling.
本实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意一种数字电视解扰的方法。The embodiment further provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer A method of causing the computer to perform any of the above-described digital television descrambling.
本公开提供的数字电视解扰方法和装置,在预存的授权控制信息数据中有目标节目的授权控制信息时,直接根据该授权控制信息从智能卡提取控制字, 无需通过获取目标节目的节目映射表、解析过滤等操作来获取控制字,在占用较少硬件资源的情况下,减少数字电视换台时的解扰时间,实现快速解扰。The digital television descrambling method and apparatus provided by the present disclosure directly extracts a control word from a smart card according to the authorization control information when there is authorization control information of the target program in the pre-stored authorization control information data. It is not necessary to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and the descrambling time when the digital TV is changed is reduced to achieve fast descrambling when occupying less hardware resources.
附图说明DRAWINGS
为了说明本实施例中的技术方案,下面将对本实施例描述中所需要使用的附图进行介绍。In order to explain the technical solutions in the embodiment, the drawings to be used in the description of the embodiment will be described below.
图1是实施例一提供的一种数字电视解扰的方法的流程示意图;1 is a schematic flow chart of a method for descrambling digital television according to Embodiment 1;
图2是实施例二提供的一种数字电视解扰的方法的流程示意图;2 is a schematic flow chart of a method for descrambling digital television provided by Embodiment 2;
图3是实施例三提供的一种数字电视解扰的装置的架构示意图;3 is a schematic structural diagram of an apparatus for descrambling digital television provided by Embodiment 3;
图4是实施例四提供的一种数字电视解扰的装置的架构示意图;4 is a schematic structural diagram of an apparatus for descrambling digital television provided by Embodiment 4;
图5是实施例五提供的一种机顶盒的硬件结构示意图。FIG. 5 is a schematic structural diagram of hardware of a set top box according to Embodiment 5.
具体实施方式detailed description
下面将结合附图对本实施例的技术方案进行描述。The technical solution of this embodiment will be described below with reference to the accompanying drawings.
实施例一Embodiment 1
请参考图1,图1是本实施例提供的一种数字电视解扰的方法的流程示意图。本实施例的方法可以由数字电视的机顶盒来执行,可应用于数字电视切换节目的场景。Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of a method for descrambling digital television provided by this embodiment. The method of this embodiment can be performed by a set top box of a digital television, and can be applied to a scene in which a digital television switches a program.
本实施例的数字电视解扰的方法,可以包括如下步骤。The method for descrambling digital television of this embodiment may include the following steps.
在步骤110中,接收切换至目标节目的换台指令。In step 110, a channel change instruction to switch to the target program is received.
示例性的,用户可以通过数字电视的遥控器或面板上的菜单键向机顶盒发出多种指令,例如切换至目标节目A的换台指令,机顶盒接收该换台指令,其中,目标节目A为加扰节目。 Exemplarily, the user can issue various commands to the set top box through the remote control of the digital television or the menu button on the panel, for example, switching to the switching instruction of the target program A, and the set top box receives the switching instruction, wherein the target program A is plus Disturb the program.
在步骤120中,判断预存的授权控制信息数据中是否有目标节目的目标授权控制信息。In step 120, it is determined whether there is target authorization control information of the target program in the pre-stored authorization control information data.
示例性的,机顶盒响应接收到的换台指令,切换至目标节目A,从数据库中读取目标节目A的节目信息(包括Transport ID、Source ID和service ID),根据该节目信息从预存的授权控制信息数据中查找是否有目标节目A的目标授权控制信息。Exemplarily, the set top box switches to the target program A in response to the received channel change command, and reads the program information (including the Transport ID, the Source ID, and the service ID) of the target program A from the database, and the pre-stored authorization according to the program information. The control information data is searched for whether there is target authorization control information of the target program A.
授权控制信息(Entitlement Control Message,ECM)是条件接收(Conditional Access,CA)系统的私有信息,包含以安全方式传送的CW和私有授权信息,应用于数字电视。Entitlement Control Message (ECM) is private information of a Conditional Access (CA) system, including CW and private authorization information transmitted in a secure manner, applied to digital television.
在步骤130中,若是,则发送目标授权控制信息给智能卡,接收智能卡返回的控制字。In step 130, if yes, the target authorization control information is sent to the smart card, and the control word returned by the smart card is received.
示例性的,当从预存的授权控制信息数据中查找到目标节目A的目标授权控制信息时,直接调取该目标授权控制信息并将该目标授权控制信息发送给数字电视的智能卡,智能卡接收到该目标授权控制信息后向机顶盒返回当前的控制字。Illustratively, when the target authorization control information of the target program A is found from the pre-stored authorization control information data, the target authorization control information is directly retrieved and the target authorization control information is sent to the smart card of the digital television, and the smart card receives the The target authorizes the control information and returns the current control word to the set top box.
在步骤140中,根据控制字设置解扰器,解扰目标节目。In step 140, a descrambler is set according to the control word to descramble the target program.
本实施例提供的数字电视解扰方法在预存的授权控制信息数据中包括目标节目的目标授权控制信息时,可直接根据该目标授权控制信息从智能卡提取控制字,设置解扰器对目标节目解扰,无需通过获取目标节目的节目映射表、解析过滤等操作来获取控制字,在占用较少硬件资源的情况下,减少数字电视换台时的解扰时间,实现快速解扰。When the digital television descrambling method provided by the embodiment includes the target authorization control information of the target program in the pre-stored authorization control information data, the control word may be directly extracted from the smart card according to the target authorization control information, and the descrambler is configured to solve the target program. The interference does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and the descrambling time when the digital TV is changed is reduced, and the fast descrambling is realized.
实施例二Embodiment 2
请参考图2,图2是本实施例提供的一种数字电解扰的方法的流程示意图。 本实施例与实施例一的区别在于,增加了预存授权控制信息数据的内容,并提供了在判断出预存的授权控制信息数据中没有目标授权控制信息时的可选实施方式,以及在第一次解扰之后的可选实施方式。Please refer to FIG. 2. FIG. 2 is a schematic flow chart of a method for digital electrolytic disturbance provided by this embodiment. The difference between this embodiment and the first embodiment is that the content of the pre-stored authorization control information data is added, and an optional implementation manner is provided when it is determined that the pre-existing authorization control information data has no target authorization control information, and An optional implementation after the second descrambling.
本实施例的数字电视解扰的方法,可以包括如下步骤。The method for descrambling digital television of this embodiment may include the following steps.
在步骤210中,预存授权控制信息数据。In step 210, the authorization control information data is pre-stored.
示例性的,授权控制信息数据可以是前端发送的,前端发送的授权控制信息数据可以包括当前频点下的所有节目的授权控制信息;或前端发送的授权控制信息数据可以包括当前频点下及相邻频点下的所有节目的授权控制信息;其中,前端是指有线电视台机房。Exemplarily, the authorization control information data may be sent by the front end, and the authorization control information data sent by the front end may include authorization control information of all programs at the current frequency point; or the authorization control information data sent by the front end may include the current frequency point and Authorization control information of all programs under adjacent frequency points; wherein the front end refers to a cable television room.
在步骤220中,接收切换至目标节目的换台指令。In step 220, a channel change command to switch to the target program is received.
在步骤230中,判断预存的授权控制信息数据中是否有目标节目的目标授权控制信息。In step 230, it is determined whether there is target authorization control information of the target program in the pre-stored authorization control information data.
示例性的,当预存的授权控制信息数据中有目标节目的目标授权控制信息时,跳转至下述步骤240;当预存的授权控制信息数据中没有目标节目的目标授权控制信息时,跳转至下述步骤250。Exemplarily, when there is the target authorization control information of the target program in the pre-stored authorization control information data, the process jumps to the following step 240; when there is no target authorization control information of the target program in the pre-stored authorization control information data, the jump Go to step 250 below.
在步骤240中,若是,则发送目标授权控制信息给智能卡,接收智能卡返回的控制字。In step 240, if yes, the target authorization control information is sent to the smart card, and the control word returned by the smart card is received.
示例性的,机顶盒接收智能卡返回的控制字后,跳转至下述步骤270。Illustratively, after receiving the control word returned by the smart card, the set top box jumps to step 270 described below.
在步骤250中,若否,从前端获取目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息。In step 250, if not, the program map of the target program is acquired from the front end and parsed, and the corresponding parsed data and packet identifier information are obtained.
示例性的,当预存的授权控制信息数据中没有目标节目的目标授权控制信息时,为获取目标节目的目标授权控制信息,机顶盒从数字电视前端获取目标节目的节目映射表,解析该节目映射表获得解析数据和包识别符信息。 Exemplarily, when there is no target authorization control information of the target program in the pre-stored authorization control information data, the set-top box acquires the program mapping table of the target program from the digital television front end, and parses the program mapping table. Get parsed data and packet identifier information.
在步骤260中,根据过滤参数和包识别符信息设置过滤器以过滤解析数据,获得目标授权控制信息数据并保存,从目标授权控制信息数据中检索目标授权控制信息,根据目标授权控制信息从智能卡提取控制字。In step 260, a filter is set according to the filtering parameter and the packet identifier information to filter the parsed data, the target authorization control information data is obtained and saved, the target authorization control information is retrieved from the target authorization control information data, and the control information is obtained from the smart card according to the target authorization. Extract the control word.
示例性的,由于授权控制信息数据是每隔预置时长变化一次,因此过滤器的过滤参数是交替变更的,一般通过过滤器过滤获得授权控制信息数据的过滤参数为0x80或0x81,过滤器的过滤参数在0x80和0x81之间交替变化,例如当过滤器的过滤参数是0x80时,在接收到新的授权控制信息数据时,就需要将滤波器的过滤参数修改为0x81。机顶盒根据过滤参数和上述包识别符信息设置过滤器对上述解析数据进行过滤处理,获得包含有目标授权控制信息的目标授权控制信息数据,保存该目标授权控制信息数据,从该目标授权控制信息数据中检索到目标授权控制信息,发送目标授权控制信息给智能卡,接收智能卡根据该目标授权控制信息返回的控制字。Exemplarily, since the authorization control information data changes once every preset time, the filter parameters of the filter are alternately changed, and the filter parameter of the authorization control information data is generally filtered by the filter to be 0x80 or 0x81, and the filter The filter parameters alternate between 0x80 and 0x81. For example, when the filter parameter of the filter is 0x80, when the new authorization control information data is received, the filter parameter of the filter needs to be modified to 0x81. The set top box filters the parsed data according to the filtering parameter and the packet identifier information setting filter, obtains the target authorization control information data including the target authorization control information, saves the target authorization control information data, and authorizes the control information data from the target. The target authorization control information is retrieved, the target authorization control information is sent to the smart card, and the control word returned by the smart card according to the target authorization control information is received.
在步骤270中,根据控制字设置解扰器,解扰目标节目。In step 270, a descrambler is set according to the control word to descramble the target program.
在步骤280中,每隔预置时间周期跳转至上述S260,直至再次接收到换台指令或关机指令。In step 280, the process jumps to the above S260 every preset time period until the channel change command or the shutdown command is received again.
示例性的,上述步骤210-步骤270是机顶盒在切换节目时第一次解扰的处理流程,由于目标节目是加扰节目,为实现后续能正常接收信号播放目标节目,需要持续进行解扰操作,一般控制字包含奇偶key,控制字每隔预置时长都会发生改变,相应的目标节目的目标授权控制信息也会发生改变,例如每隔10秒变化一次,为实现解扰,则需要每隔10秒循环执行上述S260,直到再次接收到换台指令或接收到关机指令结束循环操作。Exemplarily, the above steps 210-270 are the processing flow of the first descrambling of the set top box when the program is switched. Since the target program is a scrambled program, in order to realize the subsequent normal receiving signal to play the target program, the descrambling operation needs to be continued. The general control word contains a parity key. The control word changes every preset time. The target authorization control information of the corresponding target program also changes, for example, every 10 seconds. To achieve descrambling, every The above S260 is executed cyclically for 10 seconds until the channel change command is received again or the shutdown command is received to end the loop operation.
本实施例中的目标节目是指加扰节目,只有加扰节目才需要进行解扰,而对于清流节目无需进行解扰即可正常接收信号。 The target program in this embodiment refers to a scrambled program, and only the scrambled program needs to be descrambled, and the clear stream program can receive the signal normally without descrambling.
综上,在本技术方案中,预存前端发送的授权控制信息数据,机顶盒接收用户输入的切换至目标节目的换台指令,针对预存的授权控制信息数据中有或没有目标节目的目标授权控制信息的两种不同情况进行不同处理,当从预存的授权控制信息数据中查找到目标节目的目标授权控制信息时,调取该目标授权控制信息并将其发送给智能卡,接收智能卡返回的控制字,根据该控制字设置解扰器,解扰目标节目,后续还持续解扰以保证信号的正常接收;在预存的授权控制信息数据中没有目标节目的目标授权控制信息时,从前端获取目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息,根据过滤参数和包识别符信息获得目标授权控制信息,并根据目标授权控制信息从智能卡提取控制字以解扰目标节目。In summary, in the technical solution, the authorization control information data sent by the front end is pre-stored, and the set top box receives the switching instruction input by the user to switch to the target program, and the target authorization control information for the pre-stored authorization control information data with or without the target program. The two different situations are differently processed. When the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved and sent to the smart card, and the control word returned by the smart card is received. Setting a descrambler according to the control word, descrambling the target program, and subsequently continuing descrambling to ensure normal reception of the signal; and when there is no target authorization control information of the target program in the pre-stored authorization control information data, acquiring the target program from the front end The program mapping table is parsed, the corresponding parsing data and the packet identifier information are obtained, the target authorization control information is obtained according to the filtering parameter and the packet identifier information, and the control word is extracted from the smart card according to the target authorization control information to descramble the target program.
实施例三Embodiment 3
请参考图3,图3是本实施例提供的一种数字电视解扰的装置的架构示意图。Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of an apparatus for descrambling digital television provided by this embodiment.
本实施例的数字电视解扰的装置300,可以包括如下模块。The apparatus 300 for digital TV descrambling of this embodiment may include the following modules.
换台指令接收模块310,设置为接收切换至目标节目的换台指令。The channel change command receiving module 310 is configured to receive a channel change command for switching to the target program.
判断模块320,设置为判断预存的授权控制信息数据中是否有目标节目的目标授权控制信息。The determining module 320 is configured to determine whether there is target authorization control information of the target program in the pre-stored authorization control information data.
控制字提取模块330,设置为在预存的授权控制信息数据中有目标节目的目标授权控制信息的情况下,发送目标授权控制信息给智能卡,接收智能卡返回的控制字。The control word extraction module 330 is configured to send the target authorization control information to the smart card and receive the control word returned by the smart card if the target authorization control information of the target program is included in the pre-stored authorization control information data.
第一解扰模块340,设置为根据控制字设置解扰器,解扰目标节目。The first descrambling module 340 is configured to set a descrambler according to the control word to descramble the target program.
综上,在本技术方案中,机顶盒接收用户输入的切换至目标节目的换台指令,当从预存的授权控制信息数据中查找到目标节目的目标授权控制信息时,调取该目标授权控制信息并将其发送给智能卡,接收智能卡返回的控制字,根 据该控制字设置解扰器,解扰目标节目;本技术方案在预存的授权控制信息数据中包括目标节目的目标授权控制信息时,可直接根据该目标授权控制信息从智能卡提取控制字,设置解扰器对目标节目解扰,无需通过获取目标节目的节目映射表、解析过滤等操作来获取控制字,在占用较少硬件资源的情况下,减少数字电视换台时的解扰时间,实现快速解扰。In summary, in the technical solution, the set top box receives the switching instruction input by the user and switches to the target program, and when the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved. And send it to the smart card, receive the control word returned by the smart card, root According to the control word, a descrambler is disposed to descramble the target program; when the pre-stored authorization control information data includes the target authorization control information of the target program, the technical solution may directly extract the control word from the smart card according to the target authorization control information, and set The descrambler descrambles the target program, and does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and reducing the descrambling time when the digital TV is changed, taking advantage of less hardware resources. Fast descrambling.
实施例四Embodiment 4
请参考图4,图4是本实施例提供的一种数字电视解扰的装置的架构示意图。本实施例与实施例三的区别在于,增加了授权控制信息数据预存模块410、节目映射表解析模块460、第二解扰模块470和循环模块480。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an apparatus for descrambling digital television provided by this embodiment. The difference between this embodiment and the third embodiment is that the authorization control information data pre-storing module 410, the program mapping table parsing module 460, the second descrambling module 470, and the loop module 480 are added.
本实施例的数字电视解扰的装置400,可以包括如下模块。The apparatus 400 for digital TV descrambling of this embodiment may include the following modules.
授权控制信息数据预存模块410,设置为预存授权控制信息数据;其中,授权控制信息数据包括当前频点下的所有节目的授权控制信息;或授权控制信息数据包括当前频点下及相邻频点下的所有节目的授权控制信息。The authorization control information data pre-storing module 410 is configured to pre-store the authorization control information data; wherein the authorization control information data includes authorization control information of all programs at the current frequency point; or the authorization control information data includes the current frequency point and adjacent frequency points. Authorization control information for all programs under.
换台指令接收模块420,设置为接收切换至目标节目的换台指令。The channel change command receiving module 420 is configured to receive a channel change command for switching to the target program.
判断模块430,设置为判断预存的授权控制信息数据中是否有目标节目的目标授权控制信息。The determining module 430 is configured to determine whether there is target authorization control information of the target program in the pre-stored authorization control information data.
控制字提取模块440,设置为在预存的授权控制信息数据中有目标节目的目标授权控制信息的情况下,发送目标授权控制信息给智能卡,接收智能卡返回的控制字。The control word extraction module 440 is configured to send the target authorization control information to the smart card and receive the control word returned by the smart card if the target authorization control information of the target program is included in the pre-stored authorization control information data.
第一解扰模块450,设置为根据控制字设置解扰器,解扰目标节目。The first descrambling module 450 is configured to set a descrambler according to the control word to descramble the target program.
节目映射表解析模块460,设置为在预存的授权控制信息数据中没有目标节目的目标授权控制信息的情况下,从前端获取目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息。 The program mapping table parsing module 460 is configured to obtain the program mapping table of the target program from the front end and parse the pre-stored authorization control information data without the target authorization control information of the target program, and obtain the corresponding parsing data and the packet identifier. information.
第二解扰模块470,设置为根据过滤参数和包识别符信息设置过滤器以过滤解析数据,获得目标授权控制信息数据并保存,从目标授权控制信息数据中检索目标授权控制信息,根据目标授权控制信息从智能卡提取控制字,根据控制字设置解扰器,解扰目标节目。The second descrambling module 470 is configured to set a filter according to the filtering parameter and the packet identifier information to filter the parsed data, obtain and save the target authorization control information data, and retrieve the target authorization control information from the target authorization control information data, according to the target authorization. The control information extracts the control word from the smart card, sets the descrambler according to the control word, and descrambles the target program.
循环模块480,设置为每隔预置时间周期循环启动上述第二解扰模块470,直至再次接收到换台指令或关机指令。The loop module 480 is configured to cyclically start the second descrambling module 470 every preset time period until the channel change command or the shutdown command is received again.
综上,在本技术方案中,预存授权控制信息数据,机顶盒接收用户输入的切换至目标节目的换台指令,针对预存的授权控制信息数据中有或没有目标节目的目标授权控制信息的两种不同情况进行不同处理,当从预存的授权控制信息数据中查找到目标节目的目标授权控制信息时,调取该目标授权控制信息并将其发送给智能卡,接收智能卡返回的控制字,根据该控制字设置解扰器,解扰目标节目,后续还持续解扰以保证信号的正常接收;在预存的授权控制信息数据中没有目标节目的目标授权控制信息时,从前端获取目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息,根据过滤参数和包识别符信息获得目标授权控制信息,并根据目标授权控制信息从智能卡提取控制字以解扰目标节目。In summary, in the technical solution, the pre-existing authorization control information data, the set-top box receives the user-switched switching instruction to the target program, and the target authorization control information for the pre-stored authorization control information data with or without the target program. Different situations are differently processed. When the target authorization control information of the target program is found from the pre-stored authorization control information data, the target authorization control information is retrieved and sent to the smart card, and the control word returned by the smart card is received, according to the control. The word set descrambler, descrambles the target program, and then continues descrambling to ensure normal reception of the signal; when there is no target authorization control information of the target program in the pre-stored authorization control information data, the program map of the target program is obtained from the front end And parsing, obtaining corresponding parsing data and packet identifier information, obtaining target authorization control information according to the filtering parameter and the packet identifier information, and extracting the control word from the smart card according to the target authorization control information to descramble the target program.
实施例五Embodiment 5
本实施例提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述数字点数解扰的方法。The embodiment provides a computer readable storage medium storing computer executable instructions for performing the above method of digital point descrambling.
图5是本实施例的一种机顶盒的硬件结构示意图,如图5所示,该机顶盒包括:一个或多个处理器510和存储器520。图5中以一个处理器510为例。FIG. 5 is a schematic diagram showing the hardware structure of a set top box according to the embodiment. As shown in FIG. 5, the set top box includes: one or more processors 510 and a memory 520. One processor 510 is taken as an example in FIG.
所述机顶盒还可以包括:输入装置530和输出装置540。The set top box may further include: an input device 530 and an output device 540.
所述机顶盒中的处理器510、存储器520、输入装置530和输出装置540可 以通过总线或者其他方式连接,图5中以通过总线连接为例。The processor 510, the memory 520, the input device 530, and the output device 540 in the set top box may be In connection with the bus or other means, the connection through the bus is taken as an example in FIG.
输入装置530可以接收输入的数字或字符信息,输出装置540可以包括显示屏等显示设备。The input device 530 can receive input numeric or character information, and the output device 540 can include a display device such as a display screen.
存储器520作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器510通过运行存储在存储器520中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。The memory 520 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 510 executes various functional applications and data processing by executing software programs, instructions, and modules stored in the memory 520 to implement any of the above embodiments.
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function. In addition, the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
存储器520可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至机顶盒。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。 Memory 520 can be a non-transitory computer storage medium or a transitory computer storage medium. The non-transitory computer storage medium, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 520 can optionally include memory remotely located relative to processor 510, which can be connected to the set top box via a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置530可用于接收输入的数字或字符信息,以及产生与机顶盒的用户设置以及功能控制有关的键信号输入。输出装置540可包括显示屏等显示设备。 Input device 530 can be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the set top box. The output device 540 can include a display device such as a display screen.
本实施例的机顶盒还可以包括通信装置550,通过通信网络传输和/或接收信息。The set top box of this embodiment may also include communication means 550 for transmitting and/or receiving information over a communication network.
实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该 程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。Implementing all or part of the processes in the foregoing embodiment may be performed by a computer program executing related hardware, and the program may be stored in a non-transitory computer readable storage medium. The program, when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
工业实用性Industrial applicability
本公开提供的数字电视解扰方法和装置,在预存的授权控制信息数据中包括目标节目的目标授权控制信息时,可直接根据该目标授权控制信息从智能卡提取控制字,设置解扰器对目标节目解扰,无需通过获取目标节目的节目映射表、解析过滤等操作来获取控制字,在占用较少硬件资源的情况下,减少数字电视换台时的解扰时间,实现快速解扰。 The digital television descrambling method and apparatus provided by the present disclosure, when the target authorization control information of the target program is included in the pre-stored authorization control information data, may directly extract the control word from the smart card according to the target authorization control information, and set the descrambler to the target. The program descrambling does not need to obtain the control word by acquiring the program map of the target program, parsing and filtering, etc., and reduces the descrambling time when the digital TV is changed, and achieves fast descrambling when occupying less hardware resources.

Claims (11)

  1. 一种数字电视解扰的方法,包括:A method for descrambling digital television, comprising:
    接收切换至目标节目的换台指令;Receiving a channel change instruction for switching to the target program;
    判断预存的授权控制信息数据中是否有所述目标节目的目标授权控制信息;Determining whether there is target authorization control information of the target program in the pre-stored authorization control information data;
    在预存的授权控制信息数据中有所述目标节目的目标授权控制信息的情况下,发送所述目标授权控制信息给智能卡,接收所述智能卡返回的控制字;And if the target authorization control information of the target program is included in the pre-stored authorization control information data, sending the target authorization control information to the smart card, and receiving the control word returned by the smart card;
    根据所述控制字设置解扰器,解扰所述目标节目。A descrambler is provided according to the control word to descramble the target program.
  2. 如权利要求1所述的方法,其中,所述接收切换至目标节目的换台指令之前,还包括:The method of claim 1, wherein the receiving the switching to the target program before the switching instruction further comprises:
    预存授权控制信息数据;Pre-existing authorization control information data;
    其中,所述授权控制信息数据包括当前频点下的所有节目的授权控制信息。The authorization control information data includes authorization control information of all programs at a current frequency point.
  3. 如权利要求1所述的方法,其中,所述接收切换至目标节目的换台指令之前,还包括:The method of claim 1, wherein the receiving the switching to the target program before the switching instruction further comprises:
    预存授权控制信息数据;Pre-existing authorization control information data;
    其中,所述授权控制信息数据包括当前频点下及相邻频点下的所有节目的授权控制信息。The authorization control information data includes authorization control information of all programs under the current frequency point and adjacent frequency points.
  4. 如权利要求1-3任一项所述的方法,其中,所述判断预存的授权控制信息数据中是否有所述目标节目的目标授权控制信息之后,还包括:The method according to any one of claims 1-3, wherein, after determining whether the target authorization control information of the target program is included in the pre-stored authorization control information data, the method further includes:
    在预存的授权控制信息数据中没有所述目标节目的目标授权控制信息的情况下,从前端获取所述目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息;If the target authorization control information of the target program is not included in the pre-stored authorization control information data, the program mapping table of the target program is acquired from the front end and parsed to obtain corresponding parsing data and packet identifier information;
    根据过滤参数和所述包识别符信息设置过滤器以过滤所述解析数据,获得目标授权控制信息数据并保存,从所述目标授权控制信息数据中检索所述目标 授权控制信息,根据所述目标授权控制信息从智能卡提取控制字,根据所述控制字设置解扰器,解扰所述目标节目。Setting a filter according to the filter parameter and the package identifier information to filter the parsed data, obtaining target authorization control information data, and saving, and retrieving the target from the target authorization control information data And authorizing the control information, extracting a control word from the smart card according to the target authorization control information, and setting a descrambler according to the control word to descramble the target program.
  5. 如权利要求4所述的方法,其中,所述根据所述控制字设置解扰器,解扰所述目标节目之后,还包括:The method of claim 4, wherein the setting a descrambler according to the control word, after descrambling the target program, further comprises:
    每隔预置时间周期执行所述根据过滤参数和所述包识别符信息设置过滤器以过滤所述解析数据,获得目标授权控制信息数据并保存,从所述目标授权控制信息数据中检索所述目标授权控制信息,根据所述目标授权控制信息从智能卡提取控制字,设置解扰器,解扰所述目标节目的步骤,直至再次接收到换台指令或关机指令。Performing the filter according to the filter parameter and the packet identifier information to filter the parsed data every preset time period, obtaining target authorization control information data and saving, and retrieving the target authorization control information data from the target authorization control information data The target authorization control information extracts a control word from the smart card according to the target authorization control information, sets a descrambler, and descrambles the target program until the channel change command or the shutdown command is received again.
  6. 一种数字电视解扰的装置,包括:A digital television descrambling device includes:
    换台指令接收模块,设置为接收切换至目标节目的换台指令;a channel change command receiving module configured to receive a channel change command for switching to the target program;
    判断模块,设置为判断预存的授权控制信息数据中是否有所述目标节目的目标授权控制信息;The determining module is configured to determine whether the target authorization control information of the target program is included in the pre-stored authorization control information data;
    控制字提取模块,设置为在判断预存的授权控制信息数据中有所述目标节目的目标授权控制信息的情况下,发送所述目标授权控制信息给智能卡,接收所述智能卡返回的控制字;a control word extraction module, configured to send the target authorization control information to the smart card, and receive the control word returned by the smart card, if it is determined that the pre-stored authorization control information data has the target authorization control information of the target program;
    第一解扰模块,设置为根据所述控制字设置解扰器,解扰所述目标节目。The first descrambling module is configured to set a descrambler according to the control word to descramble the target program.
  7. 如权利要求6所述的装置,还包括:The apparatus of claim 6 further comprising:
    授权控制信息数据预存模块,设置为预存授权控制信息数据;The authorization control information data pre-storing module is configured to pre-store the authorization control information data;
    其中,所述授权控制信息数据包括当前频点下的所有节目的授权控制信息。The authorization control information data includes authorization control information of all programs at a current frequency point.
  8. 如权利要求6所述的装置,还包括:The apparatus of claim 6 further comprising:
    授权控制信息数据预存模块,设置为预存授权控制信息数据;The authorization control information data pre-storing module is configured to pre-store the authorization control information data;
    其中,所述授权控制信息数据包括当前频点下及相邻频点下的所有节目的 授权控制信息。The authorization control information data includes all programs under the current frequency point and adjacent frequency points. Authorization control information.
  9. 如权利要求6-8任一项所述的装置,还包括:The apparatus of any of claims 6-8, further comprising:
    节目映射表解析模块,设置为在预存的授权控制信息数据中没有所述目标节目的目标授权控制信息的情况下,从前端获取所述目标节目的节目映射表并解析,获得相应的解析数据及包识别符信息;a program mapping table parsing module, configured to: when the target authorization control information of the target program is not included in the pre-stored authorization control information data, obtain a program mapping table of the target program from the front end and parse the data, and obtain corresponding parsing data and Packet identifier information;
    第二解扰模块,设置为根据过滤参数和所述包识别符信息设置过滤器以过滤所述解析数据,获得目标授权控制信息数据并保存,从所述目标授权控制信息数据中检索所述目标授权控制信息,根据所述目标授权控制信息从智能卡提取控制字,根据所述控制字设置解扰器,解扰所述目标节目。a second descrambling module, configured to set a filter according to the filtering parameter and the packet identifier information to filter the parsed data, obtain target authorization control information data, and save, and retrieve the target from the target authorization control information data And authorizing the control information, extracting a control word from the smart card according to the target authorization control information, and setting a descrambler according to the control word to descramble the target program.
  10. 如权利要求9所述的装置,还包括:The apparatus of claim 9 further comprising:
    循环模块,用于每隔预置时间周期循环启动上述第二解扰模块,直至再次接收到换台指令或关机指令。The loop module is configured to cycle start the second descrambling module every preset time period until the channel change command or the shutdown command is received again.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2017/109052 2016-11-08 2017-11-02 Digital television descrambling method and device WO2018086477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610979923.5 2016-11-08
CN201610979923.5A CN106412698B (en) 2016-11-08 2016-11-08 Method and device for realizing quick descrambling of digital television

Publications (1)

Publication Number Publication Date
WO2018086477A1 true WO2018086477A1 (en) 2018-05-17

Family

ID=58015436

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109052 WO2018086477A1 (en) 2016-11-08 2017-11-02 Digital television descrambling method and device

Country Status (2)

Country Link
CN (1) CN106412698B (en)
WO (1) WO2018086477A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412698B (en) * 2016-11-08 2019-12-13 深圳创维数字技术有限公司 Method and device for realizing quick descrambling of digital television
CN108737886B (en) * 2017-04-25 2021-02-26 澜至电子科技(成都)有限公司 System and method for quickly switching digital programs and digital set top box
CN108289240B (en) * 2018-01-30 2021-02-09 深圳创维数字技术有限公司 Method, terminal and computer readable medium for quickly changing channels of digital television
CN108777813B (en) * 2018-06-28 2021-04-20 广州视源电子科技股份有限公司 Switching method, device, terminal and storage medium of scrambled digital television program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037782A1 (en) * 2006-08-11 2008-02-14 Widevine Technologies, Inc. Reduction of channel change time for digital media devices using key management and virtual smart cards
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
CN102665105A (en) * 2012-05-15 2012-09-12 山东泰信电子有限公司 Method for realizing rapid channel change of digital television terminal
CN102685591A (en) * 2012-05-22 2012-09-19 华亚微电子(上海)有限公司 Digital set-top box
CN106412698A (en) * 2016-11-08 2017-02-15 深圳创维数字技术有限公司 Method and device for realizing digital television fast descrambling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272474B (en) * 2007-03-23 2011-03-09 北京东方广视科技股份有限公司 Method for fast switching channels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037782A1 (en) * 2006-08-11 2008-02-14 Widevine Technologies, Inc. Reduction of channel change time for digital media devices using key management and virtual smart cards
CN102595236A (en) * 2012-01-31 2012-07-18 深圳创维数字技术股份有限公司 Set top box and method thereof for changing channels of digital television
CN102665105A (en) * 2012-05-15 2012-09-12 山东泰信电子有限公司 Method for realizing rapid channel change of digital television terminal
CN102685591A (en) * 2012-05-22 2012-09-19 华亚微电子(上海)有限公司 Digital set-top box
CN106412698A (en) * 2016-11-08 2017-02-15 深圳创维数字技术有限公司 Method and device for realizing digital television fast descrambling

Also Published As

Publication number Publication date
CN106412698A (en) 2017-02-15
CN106412698B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
WO2018086477A1 (en) Digital television descrambling method and device
EP2922277B1 (en) Method and device for remote control of a set top box
JP5783402B2 (en) Reception device, reception method, supply device, supply method, program, and broadcasting system
JP5793871B2 (en) Reception device, reception method, supply device, supply method, program, and broadcasting system
US9936248B2 (en) Media content output control
KR102017145B1 (en) Reception device, reception method, program, and information processing system
US20230058878A1 (en) Systems and methods for facilitating content discovery based on augmented context
US10070187B2 (en) Simultaneous output of multiple television selections
CN105657501B (en) A kind of digital TV direct system and method
EP3869764A1 (en) Monitoring system for smart television
WO2018099331A1 (en) Method and apparatus for switching digital television channels
WO2017219870A1 (en) Method and device for playing video data
EP3152910B1 (en) Minimizing input lag in a remote gui tv application
US20170171281A1 (en) Play method and apparatus and mobile terminal device for android platform
CN109379607B (en) Channel playing method, device and medium
CN108289240B (en) Method, terminal and computer readable medium for quickly changing channels of digital television
CN107465946B (en) Video playing method, device, system and terminal equipment
CN108055573B (en) Data processing method and smart television
CN106851380A (en) A kind of information processing method and device based on intelligent television
US9398203B2 (en) Apparatus and method to reduce PTZ latency
CN108259962B (en) Program switching method, set top box and storage medium
CN111355969B (en) Interactive live broadcast method, client, server and electronic equipment
JP6035389B2 (en) Receiving method and receiving apparatus
WO2017219576A1 (en) Collaborative work method, terminal device, server, and system
EP2983371A1 (en) System and method for channels zapping

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: 17869890

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: 17869890

Country of ref document: EP

Kind code of ref document: A1