WO2014121652A1 - Digital television signal receiving system and receiving method - Google Patents

Digital television signal receiving system and receiving method Download PDF

Info

Publication number
WO2014121652A1
WO2014121652A1 PCT/CN2014/000086 CN2014000086W WO2014121652A1 WO 2014121652 A1 WO2014121652 A1 WO 2014121652A1 CN 2014000086 W CN2014000086 W CN 2014000086W WO 2014121652 A1 WO2014121652 A1 WO 2014121652A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
gateway device
program
sends
key
Prior art date
Application number
PCT/CN2014/000086
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 WO2014121652A1 publication Critical patent/WO2014121652A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • 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]

Definitions

  • the present invention relates to the field of digital television, and in particular, to a digital television signal receiving system and a receiving method.
  • the purpose of the invention is to solve the problem that the current computer, mobile phone, tablet computer and the like cannot watch the digital television content because the main chip does not support the digital television standard, and the old digital television chip does not meet the requirements of the new digital television encryption and decryption technology.
  • Unable to watch digital TV programs and other issues and proposed a digital television signal receiving system and receiving method, which enables computers, mobile phones, tablet computers, and television sets using old digital television chips without modifying the hardware structure. Receive digital TV programs.
  • a digital television signal receiving method comprising:
  • S3 The terminal acquires a program list in itself
  • the gateway device acquires an SI table and an authorization control information ECM related to the selected program from the radio frequency signal of the broadcasting network to the terminal;
  • S7 The terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program;
  • the gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program
  • the gateway device uses the key CW to descramble the selected program to obtain program clearing;
  • the gateway device sends the program clear stream to the terminal.
  • S12 The terminal receives the program clear stream, decodes and plays the program.
  • conditional receiving front end performs handshake communication with the terminal and the gateway device to confirm the legality of the terminal and the gateway device.
  • the steps of the handshake communication are:
  • conditional receiving front end sends the handshake data to the terminal through the IP network
  • the terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data;
  • the terminal sends the encrypted form key and the encrypted form of the verification data to the gateway device;
  • the gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form
  • the gateway device sends the decrypted verification data to the terminal
  • the terminal sends the received verification data to the conditional receiving front end
  • conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data.
  • step of the handshake communication is:
  • conditional receiving front end sends the handshake data to the gateway device through the IP network
  • the gateway device sends the received handshake data to the terminal through the IP network
  • the terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data
  • the terminal sends the encrypted form of the key and the encrypted form of the verification data to the gateway device;
  • the gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form
  • the gateway device sends the decrypted verification data to the conditional receiving front end
  • the conditional receiving front end judges the legitimacy of the terminal and the gateway device based on the received verification data.
  • the step S2 is specifically: the terminal receives the authorization management information EMM sent by the front end through the IP network; or the terminal receives the authorization management information EMM obtained by the gateway device from the radio frequency signal; or the terminal receives the gateway device from the IP network.
  • the step S3 further includes
  • the terminal determines whether there is a program list in itself, if yes, performs step b); if not, performs step c); b) the terminal reads its own program information data and parses;
  • the terminal sends a lock primary frequency point command to the gateway device; d) the gateway device locks the primary frequency point, obtains the NIT table from the radio frequency signal, and sends it to the terminal;
  • the terminal parses the NIT table to obtain frequency point information in the radio frequency signal
  • the terminal sends a lock frequency command to the gateway device
  • the gateway device locks the corresponding frequency point according to the received command, and returns the PAT, PMT, SDT table of the current locking frequency point to the terminal;
  • the terminal parses the PAT, PMT, and SDT tables to obtain program information of the currently locked frequency point;
  • the terminal determines whether all frequency points in the radio frequency signal have performed a locking operation, and if so, performing step j) ; if not, performing step f);
  • the step S11 is further: the gateway device uses the public key of the terminal to encrypt the program clear stream, and sends the encrypted program clear stream to the terminal;
  • the step S12 is further: the terminal receives the encrypted program clear stream, decrypts the encrypted program clear stream by using the private key of the terminal, and decodes and plays the decrypted program clear stream.
  • the terminal public key is sent by the terminal to the gateway device when the terminal establishes a connection with the gateway device; the data encrypted by using the terminal public key can be decrypted using the private key of the terminal.
  • the terminal When the terminal performs the above work, the terminal periodically performs the step S2.
  • the SI table includes at least one of a PAT, PMT, SDT, and CAT table.
  • a digital television signal receiving system comprising at least one gateway device, at least one terminal and at least one conditional receiving front end; wherein
  • the gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module.
  • the gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal.
  • Receiving a radio frequency signal from the broadcasting network performing tuning, demodulating and demultiplexing the radio frequency signal to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1, and the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
  • the terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway.
  • the device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
  • the conditional receiving front end and the at least one terminal are bidirectionally connected through the IP network, and the conditional receiving front end generates authorization control information.
  • the ECM is sent to the public network, and the authorization management information EMM is generated and sent to the terminal through the broadband network or the IP network.
  • the conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
  • a digital television signal receiving system comprising at least one gateway device, at least one terminal and at least one conditional receiving front end; wherein
  • the gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module.
  • the gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal.
  • an authorization information including at least the authorization control information ECM, and service information S1
  • the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
  • the terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway.
  • the device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the node@;
  • the conditional receiving front end and the at least one gateway device are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the broadcasting network, generates the authorization management information EMM, and sends the authorization management information to the gateway device and then sends the information to the terminal through the broadband network or the IP network.
  • the conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
  • the gateway device also includes a key generation module for generating a key for decrypting the secret data and a key for generating a key in an encrypted form in the decrypted handshake data.
  • the gateway device further includes an encryption module, configured to encrypt the program clear stream obtained after the descrambling.
  • the terminal is at least one of a television, a computer, a mobile phone, and a tablet.
  • the invention has the beneficial effects that: the invention receives the digital television signal from the wide-area network through the gateway device, and locks the program to be watched according to the command of the terminal, decrypts the authorization information, obtains the key CW for descrambling the program, and uses the key The CW descrambles the program transmission stream, and then sends the descrambled program transmission stream to the terminal for decoding and playing, and solves the problem that the computer, the mobile phone, the tablet computer that does not support the digital television standard, and the old digital number that does not meet the requirements of the new digital television technology are solved.
  • the device such as a television chip of a television chip cannot watch the digital television program without changing the hardware, and the implementation is simple and convenient, and the cost is low; and the gateway device of the present invention is only responsible for transmitting the descrambled program stream to the terminal, and the terminal performs decoding. And playing, can effectively reduce the amount of data transmitted between the gateway device and the terminal, and reduce the bandwidth occupied by the data transmission.
  • the present invention also uses the conditional receiving front end to verify the legality of the terminal and the gateway device, and ensures that only legitimate terminals and gateway devices are ensured. In order to watch digital TV programs, the interests of operators are guaranteed and the security is high. It can be seen that the invention has the advantages of simple and convenient implementation, less network bandwidth occupation, high security and the like.
  • Figure 1 is a schematic structural view of the system of the present invention
  • Figure 2 is a schematic view showing another structure of the system of the present invention.
  • FIG. 3 is a schematic structural diagram of a gateway device in the system of the present invention.
  • Figure 5 is a flow chart of Embodiment 2 of the method of the present invention.
  • FIG. 8 is a flowchart of a program list in a terminal acquiring terminal according to the present invention.
  • Figure 9 is a flow chart of Embodiment 3 of the method of the present invention.
  • a digital television signal receiving system includes at least one gateway device, at least one terminal, and at least one conditional receiving front end;
  • the gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, and a descrambling module.
  • the gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal, and receives the radio frequency signal from the broadband network.
  • the radio frequency signal is tuned and demultiplexed and demultiplexed to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1.
  • the gateway device sends the authorization information and the SI information to the terminal, and receives the After descrambling the secret data related to the program, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
  • the terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway.
  • the device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
  • the conditional receiving front end is bidirectionally connected to the at least one terminal, and the conditional receiving front end generates the authorization control information ECM and sends it to the wide network, generates the authorization management information EMM, and sends the authorization management information to the terminal through the wide network or the IP network; It also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
  • the terminal is a television, a computer, a mobile phone or a tablet.
  • a digital television signal receiving system includes at least one gateway device, at least one terminal, and at least one conditional receiving front end; wherein
  • the gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, and a descrambling module.
  • the gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal, and receives the radio frequency signal from the broadband network.
  • the radio frequency signal is tuned and demultiplexed and demultiplexed to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1.
  • the gateway device sends the authorization information and the SI information to the terminal, and receives the After descrambling the secret data related to the program, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
  • the terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway.
  • the device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
  • the conditional receiving front end and the at least one gateway device are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the broadcasting network, generates the authorization management information EMM, and sends the authorization management information to the gateway device and then sends the information to the terminal through the broadband network or the IP network.
  • the conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
  • the gateway device includes a tuner demodulation module, a demultiplexing module, a descrambling module, a key generation module, a decryption module, a processing unit, and a network module, where
  • the tuned demodulation module and the demultiplexing module are unidirectionally connected, receive the radio frequency digital television signal, and are tuned and demodulated and sent to the demultiplexing module;
  • the demultiplexing module is connected to the descrambling module, and the demultiplexing module demultiplexes the demodulated digital television signal, sends the authorization information and the service information SI to the terminal, and sends the program transmission stream to the descrambling module;
  • the descrambling module is connected to the decryption module, receives the key CW of the descrambled program sent by the decryption module, and outputs the descrambled program stream to the terminal;
  • the descrambling module is connected to the key generation module, receives the key required to descramble the secret data generated by the key generation module, receives the secret data sent by the terminal, and decrypts the secret data by using the received key to obtain a solution.
  • the processing unit passes the bus and the tuner demodulation module, the demultiplexing module, the descrambling module, the key generation module, and the decryption
  • the module and the encryption module are connected in two directions, and the information of each module is obtained and the modules are configured.
  • the network module is respectively connected to the demultiplexing module, the descrambling module, the decryption module, and the encryption module, and is used to implement data communication between the gateway device and the terminal device.
  • the gateway device further includes an encryption module, and the encryption module is connected to the descrambling module, encrypts program data sent by the descrambling module, and sends the encrypted program data to the terminal.
  • the digital television signal receiving method has the following steps:
  • S102 The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal;
  • S103 The terminal receives the conditional authorization management information EMM sent by the front end;
  • 5105 The user selects a program to watch on the terminal
  • S106 The terminal sends a lock to the selected program command to the gateway device.
  • the gateway device acquires, from the radio frequency signal of the wide-area network, the SI table and the authorization control information ECM related to the selected program to the terminal;
  • the terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program;
  • S109 The terminal sends secret data related to descrambling the selected program to the gateway device;
  • the gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
  • the gateway device uses the key CW to descramble the selected program to obtain program clearing;
  • the gateway device sends the program clear stream to the terminal.
  • S113 The terminal receives the program clear stream, decodes and plays the program.
  • the digital television signal receiving method has the following steps: - S201: the terminal enters a working state;
  • S202 The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal;
  • the gateway device obtains the authorization management information EMM from the radio frequency signal of the public network and sends the information to the terminal.
  • S205 The user selects a program to be watched on the terminal
  • S206 The terminal sends a lock to the selected program command to the gateway device.
  • S207 The gateway device acquires an SI table and an authorization control information ECM related to the selected program from the radio frequency signal of the broadcasting network to the terminal;
  • the terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program;
  • S209 The terminal sends secret data related to descrambling the selected program to the gateway device;
  • the gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
  • the gateway device uses the key CW to descramble the selected program to obtain program clearing;
  • the gateway device encrypts the program clear stream by using the public key of the terminal, and sends the encrypted program data to the terminal;
  • the terminal receives the encrypted program data, decrypts the encrypted program data by using the terminal private key, and decodes and plays the decrypted program data.
  • the terminal public key is sent by the terminal to the gateway device when the terminal establishes a connection with the gateway device; the data encrypted by using the terminal public key can be decrypted using the private key of the terminal.
  • conditional receiving front end performs a handshake communication process with the terminal and the gateway device, and the steps are as follows:
  • conditional receiving front end sends the handshake data to the terminal through the IP network
  • the terminal parses the handshake data to obtain the encrypted key EKey and the encrypted form verification data NONCE;
  • the terminal sends the encrypted key EKey and the encrypted form authentication data NONCE to the gateway device;
  • the gateway device decrypts the encrypted key EKey to obtain the key Key
  • the gateway device uses the Key as the original key to decrypt the encrypted verification data NONCE, and obtains the decrypted verification data;
  • the gateway device sends the decrypted verification data to the terminal
  • the terminal sends the received verification data to the conditional receiving front end
  • the conditional receiving front end determines whether the received verification data is the same as the expected data. If they are the same, the terminal and the gateway device are legal; otherwise, the terminal and the gateway device are invalid.
  • conditional receiving front end performs a handshake communication process with the terminal and the gateway device, and the steps are as follows:
  • conditional receiving front end sends the handshake data to the gateway device through the IP network
  • the gateway device sends the received handshake data to the terminal through the IP network
  • the terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data
  • the terminal sends the encrypted form of the key and the encrypted form of the verification data to the gateway device;
  • the gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form; (6) the gateway device sends the decrypted verification data to the conditional receiving front end;
  • the conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data. If the verification data is the same as the expected data, the terminal and the gateway device are legal; otherwise, the terminal and the gateway device are invalid.
  • the terminal obtains the flow of the program list in itself, and its steps are as follows:
  • the terminal determines whether there is a program list in itself, if yes, performs step b); if not, performs step c) ; b) the terminal reads its own program information data and parses;
  • the terminal sends a lock primary frequency point command to the gateway device
  • the gateway device locks the primary frequency point, obtains the NIT table from the radio frequency signal, and sends it to the terminal;
  • the terminal parses the NIT table to obtain frequency point information in the radio frequency signal
  • the terminal sends a lock frequency command to the gateway device
  • the gateway device locks the corresponding frequency point according to the received command, and returns the PAT, PMT, SDT table of the current locking frequency point to the terminal;
  • the terminal parses the PAT, PMT, and SDT tables to obtain program information of the currently locked frequency point;
  • the terminal determines whether all frequency points in the radio frequency signal have performed a locking operation, and if so, performing step j); if not, executing step 0;
  • the digital television signal receiving method has the following steps:
  • S302 The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal.
  • the gateway device obtains the authorization management information EMM from the radio frequency signal of the public network and sends the information to the terminal.
  • S305 The user selects a program to be watched on the terminal
  • the terminal parses the program selected by the user, and obtains program information that includes at least a frequency point of the program, program video stream information, and program audio stream information.
  • S307 The terminal sends a lock frequency command to the gateway device.
  • the gateway device performs a lock frequency operation, and returns a frequency point lock status to the terminal.
  • step S309 The terminal determines the frequency point lock state. If the lock is successful, step S310 is performed; if the lock fails, the lock frequency point failure prompt is given;
  • S310 The terminal sends a configuration PID filter and a Section filter command to the gateway device.
  • S311 The gateway device sets the PID filter and the section fi lter, obtains the CAT and the EMM, and returns to the terminal;
  • S312 the terminal parses the E ⁇ to obtain the terminal authorization information, if the current program is not authorized, gives a prompt, waits for the user to operate; if the current program has Authorization, step 313;
  • S313 The terminal sends a configuration PID fi lter and a Section filter command to the gateway device.
  • the gateway device sets the PID filter and the Section fi lter, obtains the PMT, and sends the PMT to the terminal;
  • step S315 The terminal parses the PMT, determines whether the current program is a scrambled stream or a clear stream, if it is a clear stream, step S316 is performed; if it is a scrambled stream, step S319 is performed;
  • S316 The terminal sends a configuration PID fi lter command to the gateway device.
  • the gateway device configures a PID filter, and sends the program stream to the terminal device.
  • S318 The terminal device receives the program stream, decodes and plays;
  • S319 The terminal sends a configuration PID filter and a Section fi lter command to the gateway device;
  • the gateway device configures a PID filter and a section fi lter, obtains an authorization control information ECM from the radio frequency signal, and sends the ECM information to the terminal;
  • S321 The terminal parses the ECM information, and obtains the encrypted key CW data and sends the key CW data to the gateway device.
  • the terminal sends the key data related to the key CW obtained by decrypting the encrypted form obtained by the EMM to the gateway device;
  • the gateway device decrypts the key data to obtain a key of the key CW in a decrypted encrypted form, and uses the key to decrypt the encrypted key CW to obtain a key CW of the descrambled program;
  • the gateway device uses the key CW to descramble the program data, and sends the descrambled program data to the terminal.
  • S325 The terminal receives the program data, decodes and plays the program.

Abstract

Disclosed are a digital television signal receiving system and receiving method, comprising: a terminal entering an operating state; receiving an entitlement management message; the terminal reading a program list therein; a user selecting a program to be watched; the terminal sending to a gateway device a command for locking the selected program; the gateway device acquiring an SI table and an entitlement control message relevant to the selected program from a radio frequency signal of the radio and television network and sending same to the terminal; the terminal parsing the received SI table, entitlement control message and entitlement management message to obtain secret data relevant to descrambling the selected program; sending to the gateway device the secret data relevant to descrambling the selected program; the gateway device decrypting the received secret data to obtain a key used to descramble the selected program; descrambling the selected program using the key to obtain a program clear stream; sending the program clear stream to the terminal; and the terminal receiving the program clear stream, and decoding and playing same. The present invention solves the problem that digital television programs cannot be watched via a computer, a mobile phone, a tablet computer and other devices.

Description

一种数字电视信号接收系统及接收方法 技术领域  Digital television signal receiving system and receiving method
本发明涉及数字电视领域, 尤其涉及一种数字电视信号接收系统及接收方法。  The present invention relates to the field of digital television, and in particular, to a digital television signal receiving system and a receiving method.
背景技术 Background technique
随着网络技术和芯片技术的快速发展, 电视机、 计算机、 手机、 平板电脑等设备都具备 网络功能, 并且都可以解码播放视音频节目, 电视机、 计算机、 手机和平板电脑已成为人们 接收视音频节目的主要手段。 数字电视节目作为受众最多的视音频内容之一, 但是, 由于数 字电视系统特殊的加扰体系, 只有支持数字电视标准的芯片才能解扰收看数字电视节目, 因 此, 只有数字电视机一体机或者机顶盒才能接收数字电视节目, 不支持数字电视标准的计算 机芯片、 手机芯片和平板电脑芯片无法直接收看数字电视节目。 另外, 随着数字电视技术及 芯片技术的不断升级, 之前生产的老的数字电视芯片也可能因无法满足新的数字电视加解密 技术的要求而无法收看数字电视节目。  With the rapid development of network technology and chip technology, devices such as televisions, computers, mobile phones, and tablets all have network functions, and all of them can decode and play video and audio programs. Televisions, computers, mobile phones, and tablets have become people's eyes. The main means of audio programming. Digital TV programs are one of the most popular video and audio content. However, due to the special scrambling system of digital TV systems, only chips that support the digital TV standard can descramble the digital TV programs. Therefore, only digital TV integrated devices or set-top boxes In order to receive digital TV programs, computer chips, mobile phone chips and tablet chips that do not support digital TV standards cannot directly watch digital TV programs. In addition, with the continuous upgrading of digital TV technology and chip technology, the old digital TV chips produced before may not be able to watch digital TV programs because they cannot meet the requirements of the new digital TV encryption and decryption technology.
发明内容 Summary of the invention
本发明的目的就是为了解决目前计算机、 手机、 平板电脑等设备因其主芯片不支持数字 电视标准而无法收看数字电视内容, 以及老的数字电视芯片因不满足新的数字电视加解密技 术要求而无法收看数字电视节目等问题, 提出了一种数字电视信号接收系统及接收方法, 它 使得计算机、 手机、 平板电脑以及采用老的数字电视芯片的电视机等设备在不修改硬件结构 的情况下, 接收数字电视节目。  The purpose of the invention is to solve the problem that the current computer, mobile phone, tablet computer and the like cannot watch the digital television content because the main chip does not support the digital television standard, and the old digital television chip does not meet the requirements of the new digital television encryption and decryption technology. Unable to watch digital TV programs and other issues, and proposed a digital television signal receiving system and receiving method, which enables computers, mobile phones, tablet computers, and television sets using old digital television chips without modifying the hardware structure. Receive digital TV programs.
为了实现上述目的, 本发明采用如下技术方案:  In order to achieve the above object, the present invention adopts the following technical solutions:
一种数字电视信号接收方法, 它包括:  A digital television signal receiving method, comprising:
S1: 终端进入工作状态;  S1: The terminal enters a working state;
S2: 终端接收授权管理信息 EMM ;  S2: the terminal receives the authorization management information EMM;
S3: 终端获取自身中的节目列表;  S3: The terminal acquires a program list in itself;
S4: 用户在终端上选择要收看的节目;  S4: The user selects a program to be watched on the terminal;
S5: 终端发送锁定选定的节目命令给网关设备;  S5: the terminal sends a lock to the selected program command to the gateway device;
S6:网关设备从广电网的射频信号中获取与选定的节目有关的 SI表和授权控制信息 ECM 给终端;  S6: the gateway device acquires an SI table and an authorization control information ECM related to the selected program from the radio frequency signal of the broadcasting network to the terminal;
S7: 终端解析收到的 SI表、 授权控制信息 ECM和授权管理信息 EMM, 获得与解扰选定 节目有关的秘密数据; S8: 终端发送与解扰选定的节目有关的秘密数据给网关设备; S7: The terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program; S8: the terminal sends secret data related to descrambling the selected program to the gateway device;
S9: 网关设备解密收到的秘密数据, 获得解扰选定节目使用的密钥 CW;  S9: the gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
S10: 网关设备利用密钥 CW解扰选定的节目, 得到节目清流;  S10: The gateway device uses the key CW to descramble the selected program to obtain program clearing;
S11: 网关设备发送节目清流给终端;  S11: The gateway device sends the program clear stream to the terminal.
S12: 终端接收节目清流, 解码并播放节目。  S12: The terminal receives the program clear stream, decodes and plays the program.
所述步骤 S2之前还包括,条件接收前端与终端及网关设备进行握手通信,确认终端及网 关设备的合法性。  Before the step S2, the conditional receiving front end performs handshake communication with the terminal and the gateway device to confirm the legality of the terminal and the gateway device.
所述握手通信的步骤为:  The steps of the handshake communication are:
1 ) 条件接收前端通过 IP网发送握手数据给终端;  1) the conditional receiving front end sends the handshake data to the terminal through the IP network;
2 ) 终端解析握手数据得到加密形式的密钥和加密形式的验证数据;  2) The terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data;
3 ) 终端发送加密形式的密钥和加密形式的验证数据给网关设备;  3) the terminal sends the encrypted form key and the encrypted form of the verification data to the gateway device;
4) 网关设备解密加密形式的密钥和加密形式的验证数据, 得到解密形式的验证数据; 4) The gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form;
5 ) 网关设备发送解密得到的验证数据给终端; 5) the gateway device sends the decrypted verification data to the terminal;
6 ) 终端发送收到的验证数据给条件接收前端;  6) the terminal sends the received verification data to the conditional receiving front end;
7 ) 条件接收前端根据收到的验证数据判断终端及网关设备的合法性。  7) The conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data.
进一步地, 所述握手通信的步骤为:  Further, the step of the handshake communication is:
( 1) 条件接收前端通过 IP网发送握手数据给网关设备;  (1) The conditional receiving front end sends the handshake data to the gateway device through the IP network;
( 2 ) 网关设备通过 IP网发送接收到的握手数据给终端;  (2) the gateway device sends the received handshake data to the terminal through the IP network;
( 3 ) 终端解析握手数据得到加密形式的密钥和加密形式的验证数据;  (3) The terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data;
(4) 终端发送加密形式的密钥和加密形式的验证数据给网关设备;  (4) The terminal sends the encrypted form of the key and the encrypted form of the verification data to the gateway device;
(5 ) 网关设备解密加密形式的密钥和加密形式的验证数据, 得到解密形式的验证数据; (5) the gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form;
(6 ) 网关设备发送解密得到的验证数据给条件接收前端; (6) the gateway device sends the decrypted verification data to the conditional receiving front end;
( 7 ) 条件接收前端根据收到的验证数据判断终端及网关设备的合法性。  (7) The conditional receiving front end judges the legitimacy of the terminal and the gateway device based on the received verification data.
所述步骤 S2具体为, 终端接收条件接收前端通过 IP网发来的授权管理信息 EMM ; 或 者终端接收网关设备从射频信号中获取并发来的授权管理信息 EMM ;或者终端接收网关设备 通过 IP网从条件接收前端获取的授权管理信息 EMM。  The step S2 is specifically: the terminal receives the authorization management information EMM sent by the front end through the IP network; or the terminal receives the authorization management information EMM obtained by the gateway device from the radio frequency signal; or the terminal receives the gateway device from the IP network. The conditionally receives the authorization management information EMM obtained by the front end.
所述步骤 S3进一步包括,  The step S3 further includes
a )终端判断自身中是否存在节目列表, 若存在, 执行步骤 b ); 若不存在, 执行步骤 c); b ) 终端读取自身的节目信息数据并解析;  a) the terminal determines whether there is a program list in itself, if yes, performs step b); if not, performs step c); b) the terminal reads its own program information data and parses;
c) 终端发送锁定主频点命令给网关设备; d ) 网关设备锁定主频点, 从射频信号中获取 NIT表, 并发送给终端; c) the terminal sends a lock primary frequency point command to the gateway device; d) the gateway device locks the primary frequency point, obtains the NIT table from the radio frequency signal, and sends it to the terminal;
e ) 终端解析 NIT表, 获取射频信号中的频点信息;  e) the terminal parses the NIT table to obtain frequency point information in the radio frequency signal;
f) 终端发送锁定频点命令给网关设备;  f) the terminal sends a lock frequency command to the gateway device;
g)网关设备根据接收到的命令锁定相应的频点, 并返回当前锁定频点的 PAT、 PMT、 SDT 表给终端;  g) the gateway device locks the corresponding frequency point according to the received command, and returns the PAT, PMT, SDT table of the current locking frequency point to the terminal;
h ) 终端解析 PAT、 PMT和 SDT表, 获取当前锁定频点的节目信息;  h) the terminal parses the PAT, PMT, and SDT tables to obtain program information of the currently locked frequency point;
i ) 终端判断射频信号中的所有频点是否都执行过锁定操作, 若是, 执行步骤 j ); 若否, 执行步骤 f); i) the terminal determines whether all frequency points in the radio frequency signal have performed a locking operation, and if so, performing step j) ; if not, performing step f);
j ) 保存获取的节目信息到终端的存储器中。  j) Save the acquired program information to the memory of the terminal.
所述步骤 S11进一步为: 网关设备使用终端的公钥加密节目清流, 并将加密后的节目清 流发送给终端;  The step S11 is further: the gateway device uses the public key of the terminal to encrypt the program clear stream, and sends the encrypted program clear stream to the terminal;
所述步骤 S12进一步为:终端接收加密的节目清流,用终端的私钥解密加密的节目清流, 对解密得到的节目清流进行解码并播放。  The step S12 is further: the terminal receives the encrypted program clear stream, decrypts the encrypted program clear stream by using the private key of the terminal, and decodes and plays the decrypted program clear stream.
所述终端公钥是在终端与网关设备建立连接时, 由终端发送给网关设备的; 使用所述终 端公钥加密的数据能够使用所述终端的私钥进行解密。  The terminal public key is sent by the terminal to the gateway device when the terminal establishes a connection with the gateway device; the data encrypted by using the terminal public key can be decrypted using the private key of the terminal.
所述终端进行上述工作过程中, 终端定期执行所述步骤 S2。  When the terminal performs the above work, the terminal periodically performs the step S2.
所述 SI表至少包括 PAT、 PMT、 SDT、 CAT表中的一种。  The SI table includes at least one of a PAT, PMT, SDT, and CAT table.
一种数字电视信号接收系统, 它包括至少一个网关设备、 至少一个终端和至少一个条件 接收前端; 其中,  A digital television signal receiving system comprising at least one gateway device, at least one terminal and at least one conditional receiving front end; wherein
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块、 解扰模块、 处理单元和 网络模块, 网关设备与至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从 广电网接收射频信号, 对射频信号进行调谐解调和解复用, 得到节目传输流 TS、 至少包含授 权控制信息 ECM的授权信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端,在接收 到终端发来的与解扰节目有关的秘密数据后, 解密秘密数据得到解扰节目的密钥 CW, 利用 密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal. Receiving a radio frequency signal from the broadcasting network, performing tuning, demodulating and demultiplexing the radio frequency signal to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1, and the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 目;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
所述条件接收前端与至少一个终端通过 IP网双向连接,条件接收前端生成授权控制信息 ECM并送到广电网, 生成授权管理信息 EMM并通过广电网或者 IP网发送给终端; 所述条件 接收前端还与终端及网关设备进行握手通信, 对终端及网关设备的合法性进行验证。 The conditional receiving front end and the at least one terminal are bidirectionally connected through the IP network, and the conditional receiving front end generates authorization control information. The ECM is sent to the public network, and the authorization management information EMM is generated and sent to the terminal through the broadband network or the IP network. The conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
一种数字电视信号接收系统, 它包括至少一个网关设备、 至少一个终端和至少一个条件 接收前端; 其中,  A digital television signal receiving system comprising at least one gateway device, at least one terminal and at least one conditional receiving front end; wherein
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块、 解扰模块、 处理单元和 网络模块, 网关设备与至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从 广电网接收射频信号, 对射频信号进行调谐解调和解复用, 得到节目传输流 TS、 至少包含授 权控制信息 ECM的授权信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端, 在接收 到终端发来的与解扰节目有关的秘密数据后, 解密秘密数据得到解扰节目的密钥 CW, 利用 密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal. Receiving a radio frequency signal from the broadcasting network, and performing tuning, demodulation, and demultiplexing of the radio frequency signal to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1, and the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 @;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the node@;
所述条件接收前端与至少一个网关设备通过 IP网双向连接,条件接收前端生成授权控制 信息 ECM并送到广电网, 生成授权管理信息 EMM并通过广电网或 IP网发给网关设备进而发 送给终端; 所述条件接收前端还与终端及网关设备进行握手通信, 对终端及网关设备的合法 性进行验证。  The conditional receiving front end and the at least one gateway device are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the broadcasting network, generates the authorization management information EMM, and sends the authorization management information to the gateway device and then sends the information to the terminal through the broadband network or the IP network. The conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
所述网关设备还包括密钥生成模块, 用于生成解密秘密数据的密钥以及生成解密握手数 据中加密形式的密钥的密钥。  The gateway device also includes a key generation module for generating a key for decrypting the secret data and a key for generating a key in an encrypted form in the decrypted handshake data.
所述网关设备还包括加密模块, 用于加密解扰后得到的节目清流。  The gateway device further includes an encryption module, configured to encrypt the program clear stream obtained after the descrambling.
所述终端至少是电视机、 计算机、 手机和平板电脑中的一种。  The terminal is at least one of a television, a computer, a mobile phone, and a tablet.
本发明的有益效果是: 本发明通过网关设备从广电网中接收数字电视信号, 并根据终端 的命令, 锁定要收看的节目, 解密授权信息获得解扰节目用的密钥 CW, 并利用密钥 CW解扰 节目传输流, 再将解扰后的节目传输流发送给终端进行解码播放, 解决了不支持数字电视标 准的计算机、 手机、 平板电脑以及不满足数字电视新技术要求的采用老的数字电视芯片的电 视机等设备在不更改硬件的情况下无法收看数字电视节目的问题, 实施简单方便, 成本低; 并且本发明网关设备只负责将解扰后的节目流发送给终端, 终端进行解码并播放, 可以有效 减少网关设备和终端之间传输的数据量大小, 减小了数据传输对带宽的占用。 另外, 本发明 还使用条件接收前端对终端及网关设备的合法性进行验证, 保证只有合法的终端和网关设备 才能收看数字电视节目, 保证了运营商的利益, 安全性高。 可见, 本发明具有实施简单方便、 网络带宽占用少、 安全性高等优点。 The invention has the beneficial effects that: the invention receives the digital television signal from the wide-area network through the gateway device, and locks the program to be watched according to the command of the terminal, decrypts the authorization information, obtains the key CW for descrambling the program, and uses the key The CW descrambles the program transmission stream, and then sends the descrambled program transmission stream to the terminal for decoding and playing, and solves the problem that the computer, the mobile phone, the tablet computer that does not support the digital television standard, and the old digital number that does not meet the requirements of the new digital television technology are solved. The device such as a television chip of a television chip cannot watch the digital television program without changing the hardware, and the implementation is simple and convenient, and the cost is low; and the gateway device of the present invention is only responsible for transmitting the descrambled program stream to the terminal, and the terminal performs decoding. And playing, can effectively reduce the amount of data transmitted between the gateway device and the terminal, and reduce the bandwidth occupied by the data transmission. In addition, the present invention also uses the conditional receiving front end to verify the legality of the terminal and the gateway device, and ensures that only legitimate terminals and gateway devices are ensured. In order to watch digital TV programs, the interests of operators are guaranteed and the security is high. It can be seen that the invention has the advantages of simple and convenient implementation, less network bandwidth occupation, high security and the like.
附图说明 DRAWINGS
图 1是本发明所述系统的结构示意图;  Figure 1 is a schematic structural view of the system of the present invention;
图 2是本发明所述系统的另一结构示意图;  Figure 2 is a schematic view showing another structure of the system of the present invention;
图 3是本发明所述系统中网关设备结构示意图;  3 is a schematic structural diagram of a gateway device in the system of the present invention;
图 4是本发明所述方法实施例 1流程图;  4 is a flow chart of Embodiment 1 of the method of the present invention;
图 5是本发明所述方法实施例 2流程图;  Figure 5 is a flow chart of Embodiment 2 of the method of the present invention;
图 6是本发明所述条件接收前端与终端及网关设备握手通信流程图;  6 is a flow chart of handshake communication between the conditional receiving front end and the terminal and the gateway device according to the present invention;
图 7是本发明所述条件接收前端与终端及网关设备握手通信另一流程图;  7 is another flow chart of handshake communication between the conditional receiving front end and the terminal and the gateway device according to the present invention;
图 8是本发明所述终端获取终端中节目列表流程图;  8 is a flowchart of a program list in a terminal acquiring terminal according to the present invention;
图 9是本发明所述方法实施例 3流程图。  Figure 9 is a flow chart of Embodiment 3 of the method of the present invention.
具体实施方式 detailed description
下面结合附图与实施例对本发明作进一步说明。  The invention will be further described below in conjunction with the drawings and embodiments.
此处所说明的附图用来提供对本发明的进一步理解, 构成本发明的一部分, 本发明的示 意实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。  The drawings are intended to provide a further understanding of the invention, and are intended to be illustrative of the invention.
如图 1所示, 数字电视信号接收系统, 它包括至少一个网关设备、 至少一个终端和至少 一个条件接收前端; 其中,  As shown in FIG. 1, a digital television signal receiving system includes at least one gateway device, at least one terminal, and at least one conditional receiving front end;
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块和解扰模块, 网关设备与 至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从广电网接收射频信号, 对射频信号进行调谐解调和解复用,得到节目传输流 TS、至少包含授权控制信息 ECM的授权 信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端, 在接收到终端发来的与解扰节 目有关的秘密数据后,解密秘密数据得到解扰节目的密钥 CW,利用密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, and a descrambling module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal, and receives the radio frequency signal from the broadband network. The radio frequency signal is tuned and demultiplexed and demultiplexed to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1. The gateway device sends the authorization information and the SI information to the terminal, and receives the After descrambling the secret data related to the program, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 目;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
所述条件接收前端与至少一个终端双向连接,条件接收前端生成授权控制信息 ECM并送 到广电网, 生成授权管理信息 EMM并通过广电网或者 IP网发送给终端; 所述条件接收前端 还与终端及网关设备进行握手通信, 对终端及网关设备的合法性进行验证。 The conditional receiving front end is bidirectionally connected to the at least one terminal, and the conditional receiving front end generates the authorization control information ECM and sends it to the wide network, generates the authorization management information EMM, and sends the authorization management information to the terminal through the wide network or the IP network; It also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
所述终端是电视机、 计算机、 手机或者平板电脑。  The terminal is a television, a computer, a mobile phone or a tablet.
如图 2所示, 数字电视信号接收系统, 它包括至少一个网关设备、 至少一个终端和至少 一个条件接收前端; 其中,  As shown in FIG. 2, a digital television signal receiving system includes at least one gateway device, at least one terminal, and at least one conditional receiving front end; wherein
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块和解扰模块, 网关设备与 至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从广电网接收射频信号, 对射频信号进行调谐解调和解复用,得到节目传输流 TS、至少包含授权控制信息 ECM的授权 信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端, 在接收到终端发来的与解扰节 目有关的秘密数据后,解密秘密数据得到解扰节目的密钥 CW,利用密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, and a descrambling module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal, and receives the radio frequency signal from the broadband network. The radio frequency signal is tuned and demultiplexed and demultiplexed to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1. The gateway device sends the authorization information and the SI information to the terminal, and receives the After descrambling the secret data related to the program, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 目;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
所述条件接收前端与至少一个网关设备通过 IP网双向连接,条件接收前端生成授权控制 信息 ECM并送到广电网, 生成授权管理信息 EMM并通过广电网或 IP网发给网关设备进而发 送给终端; 所述条件接收前端还与终端及网关设备进行握手通信, 对终端及网关设备的合法 性进行验证。  The conditional receiving front end and the at least one gateway device are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the broadcasting network, generates the authorization management information EMM, and sends the authorization management information to the gateway device and then sends the information to the terminal through the broadband network or the IP network. The conditional receiving front end also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
如图 3所示, 所述网关设备包括调谐解调模块、解复用模块、解扰模块、 密钥生成模块、 解密模块、 处理单元和网络模块, 其中,  As shown in FIG. 3, the gateway device includes a tuner demodulation module, a demultiplexing module, a descrambling module, a key generation module, a decryption module, a processing unit, and a network module, where
调谐解调模块与解复用模块单向连接, 接收射频数字电视信号, 调谐、 解调后发送给解 复用模块;  The tuned demodulation module and the demultiplexing module are unidirectionally connected, receive the radio frequency digital television signal, and are tuned and demodulated and sent to the demultiplexing module;
解复用模块与解扰模块连接, 解复用模块对解调后的数字电视信号进行解复用, 将授权 信息和业务信息 SI发送给终端, 将节目传输流发送给解扰模块;  The demultiplexing module is connected to the descrambling module, and the demultiplexing module demultiplexes the demodulated digital television signal, sends the authorization information and the service information SI to the terminal, and sends the program transmission stream to the descrambling module;
解扰模块与解密模块连接, 接收解密模块发来的解扰节目的密钥 CW, 并输出解扰后的 节目流给终端;  The descrambling module is connected to the decryption module, receives the key CW of the descrambled program sent by the decryption module, and outputs the descrambled program stream to the terminal;
所述解扰模块与密钥生成模块连接, 接收密钥生成模块产生的解扰秘密数据所需的密 钥, 同时接收终端发来的秘密数据, 利用收到的密钥解密秘密数据, 得到解扰节目所需的密 钥 CW。  The descrambling module is connected to the key generation module, receives the key required to descramble the secret data generated by the key generation module, receives the secret data sent by the terminal, and decrypts the secret data by using the received key to obtain a solution. The key CW required to disturb the program.
所述处理单元通过总线与调谐解调模块、 解复用模块、 解扰模块、 密钥生成模块、 解密 模块及加密模块双向连接, 获取各模块的信息以及对各模块进行配置。 The processing unit passes the bus and the tuner demodulation module, the demultiplexing module, the descrambling module, the key generation module, and the decryption The module and the encryption module are connected in two directions, and the information of each module is obtained and the modules are configured.
所述网络模块分别与解复用模块、 解扰模块、 解密模块和加密模块连接, 用于实现网关 设备与终端设备之间的数据通信。  The network module is respectively connected to the demultiplexing module, the descrambling module, the decryption module, and the encryption module, and is used to implement data communication between the gateway device and the terminal device.
所述网关设备还包括加密模块, 加密模块与解扰模块连接, 对解扰模块发来的节目数据 进行加密, 并将加密后的节目数据发送给终端。  The gateway device further includes an encryption module, and the encryption module is connected to the descrambling module, encrypts program data sent by the descrambling module, and sends the encrypted program data to the terminal.
实施例 1:  Example 1:
如图 4所示, 数字电视信号接收方法, 它的步骤为:  As shown in FIG. 4, the digital television signal receiving method has the following steps:
S101: 终端进入工作状态;  S101: The terminal enters a working state;
S102: 条件接收前端与终端进行握手通信, 确认终端的合法性;  S102: The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal;
S103: 终端接收条件接收前端发来的授权管理信息 EMM ;  S103: The terminal receives the conditional authorization management information EMM sent by the front end;
S104: 终端读取自身中的节目列表;  S104: The terminal reads the program list in itself;
5105: 用户在终端上选择要收看的节目;  5105: The user selects a program to watch on the terminal;
S106: 终端发送锁定选定的节目命令给网关设备;  S106: The terminal sends a lock to the selected program command to the gateway device.
S107: 网关设备从广电网的射频信号中获取与选定的节目有关的 SI 表和授权控制信息 ECM给终端;  S107: The gateway device acquires, from the radio frequency signal of the wide-area network, the SI table and the authorization control information ECM related to the selected program to the terminal;
S108: 终端解析收到的 SI表、 授权控制信息 ECM和授权管理信息 EMM, 获得与解扰选 定节目有关的秘密数据;  S108: The terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program;
S109: 终端发送与解扰选定的节目有关的秘密数据给网关设备;  S109: The terminal sends secret data related to descrambling the selected program to the gateway device;
S110: 网关设备解密收到的秘密数据, 获得解扰选定节目使用的密钥 CW;  S110: The gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
S111: 网关设备利用密钥 CW解扰选定的节目, 得到节目清流;  S111: The gateway device uses the key CW to descramble the selected program to obtain program clearing;
S112: 网关设备发送节目清流给终端;  S112: The gateway device sends the program clear stream to the terminal.
S113: 终端接收节目清流, 解码并播放节目。  S113: The terminal receives the program clear stream, decodes and plays the program.
实施例 2:  Example 2:
如图 5所示, 数字电视信号接收方法, 它的步骤为- S201: 终端进入工作状态;  As shown in FIG. 5, the digital television signal receiving method has the following steps: - S201: the terminal enters a working state;
S202: 条件接收前端与终端进行握手通信, 确认终端的合法性;  S202: The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal;
S203: 网关设备从广电网的射频信号中获取授权管理信息 EMM并发送给终端;  S203: The gateway device obtains the authorization management information EMM from the radio frequency signal of the public network and sends the information to the terminal.
S204: 终端读取自身中的节目列表;  S204: The terminal reads the program list in itself;
S205: 用户在终端上选择要收看的节目;  S205: The user selects a program to be watched on the terminal;
S206: 终端发送锁定选定的节目命令给网关设备; S207 : 网关设备从广电网的射频信号中获取与选定的节目有关的 SI 表和授权控制信息 ECM给终端; S206: The terminal sends a lock to the selected program command to the gateway device. S207: The gateway device acquires an SI table and an authorization control information ECM related to the selected program from the radio frequency signal of the broadcasting network to the terminal;
S208: 终端解析收到的 SI表、 授权控制信息 ECM和授权管理信息 EMM, 获得与解扰选 定节目有关的秘密数据;  S208: The terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM, and obtains secret data related to descrambling the selected program;
S209: 终端发送与解扰选定的节目有关的秘密数据给网关设备;  S209: The terminal sends secret data related to descrambling the selected program to the gateway device;
S210: 网关设备解密收到的秘密数据, 获得解扰选定节目使用的密钥 CW;  S210: The gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
S211: 网关设备利用密钥 CW解扰选定的节目, 得到节目清流;  S211: The gateway device uses the key CW to descramble the selected program to obtain program clearing;
S212: 网关设备使用终端的公钥对节目清流进行加密, 并将加密后的节目数据发送给终 端;  S212: The gateway device encrypts the program clear stream by using the public key of the terminal, and sends the encrypted program data to the terminal;
S213: 终端接收加密的节目数据, 使用终端私钥解密加密的节目数据, 对解密后的节目 数据进行解码并播放。  S213: The terminal receives the encrypted program data, decrypts the encrypted program data by using the terminal private key, and decodes and plays the decrypted program data.
所述终端公钥是在终端与网关设备建立连接时, 由终端发送给网关设备的; 使用所述终 端公钥加密的数据能够使用所述终端的私钥进行解密。  The terminal public key is sent by the terminal to the gateway device when the terminal establishes a connection with the gateway device; the data encrypted by using the terminal public key can be decrypted using the private key of the terminal.
如图 6所示, 所述条件接收前端与终端及网关设备进行握手通信流程, 它的步骤为: As shown in FIG. 6, the conditional receiving front end performs a handshake communication process with the terminal and the gateway device, and the steps are as follows:
1) 条件接收前端通过 IP网发送握手数据给终端; 1) The conditional receiving front end sends the handshake data to the terminal through the IP network;
2 ) 终端解析握手数据得到加密形式的密钥 EKey和加密形式的验证数据 NONCE;  2) The terminal parses the handshake data to obtain the encrypted key EKey and the encrypted form verification data NONCE;
3 ) 终端发送加密形式的密钥 EKey和加密形式的验证数据 NONCE给网关设备;  3) The terminal sends the encrypted key EKey and the encrypted form authentication data NONCE to the gateway device;
4) 网关设备解密加密形式的密钥 EKey, 得到密钥 Key;  4) The gateway device decrypts the encrypted key EKey to obtain the key Key;
5 ) 网关设备利用 Key作为原始密钥解密加密形式的验证数据 NONCE, 得到解密后的验 证数据;  5) The gateway device uses the Key as the original key to decrypt the encrypted verification data NONCE, and obtains the decrypted verification data;
6) 网关设备发送解密得到的验证数据给终端;  6) the gateway device sends the decrypted verification data to the terminal;
7 ) 终端发送接收到的验证数据给条件接收前端;  7) the terminal sends the received verification data to the conditional receiving front end;
8) 条件接收前端判断收到的验证数据与预期的数据是否相同, 若相同, 则终端及网关 设备合法性; 否则, 终端及网关设备不合法。  8) The conditional receiving front end determines whether the received verification data is the same as the expected data. If they are the same, the terminal and the gateway device are legal; otherwise, the terminal and the gateway device are invalid.
如图 7所示, 所述条件接收前端与终端及网关设备迸行握手通信流程, 它的步骤为: As shown in FIG. 7, the conditional receiving front end performs a handshake communication process with the terminal and the gateway device, and the steps are as follows:
( 1 ) 条件接收前端通过 IP网发送握手数据给网关设备; (1) The conditional receiving front end sends the handshake data to the gateway device through the IP network;
( 2 ) 网关设备通过 IP网发送接收到的握手数据给终端;  (2) the gateway device sends the received handshake data to the terminal through the IP network;
( 3 ) 终端解析握手数据得到加密形式的密钥和加密形式的验证数据;  (3) The terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data;
(4 ) 终端发送加密形式的密钥和加密形式的验证数据给网关设备;  (4) The terminal sends the encrypted form of the key and the encrypted form of the verification data to the gateway device;
( 5 ) 网关设备解密加密形式的密钥和加密形式的验证数据, 得到解密形式的验证数据; ( 6 ) 网关设备发送解密得到的验证数据给条件接收前端; (5) the gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form; (6) the gateway device sends the decrypted verification data to the conditional receiving front end;
( 7) 条件接收前端根据收到的验证数据判断终端及网关设备的合法性, 若验证数据与 预期的数据是否相同, 则终端及网关设备合法性; 否则, 终端及网关设备不合法。  (7) The conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data. If the verification data is the same as the expected data, the terminal and the gateway device are legal; otherwise, the terminal and the gateway device are invalid.
如图 8所示, 终端获取自身中节目列表的流程, 它的步骤为:  As shown in Figure 8, the terminal obtains the flow of the program list in itself, and its steps are as follows:
a )终端判断自身中是否存在节目列表, 若存在, 执行步骤 b ); 若不存在, 执行步骤 c); b ) 终端读取自身的节目信息数据并解析; a) the terminal determines whether there is a program list in itself, if yes, performs step b); if not, performs step c) ; b) the terminal reads its own program information data and parses;
c) 终端发送锁定主频点命令给网关设备;  c) the terminal sends a lock primary frequency point command to the gateway device;
d ) 网关设备锁定主频点, 从射频信号中获取 NIT表, 并发送给终端;  d) the gateway device locks the primary frequency point, obtains the NIT table from the radio frequency signal, and sends it to the terminal;
e ) 终端解析 NIT表, 获取射频信号中的频点信息;  e) the terminal parses the NIT table to obtain frequency point information in the radio frequency signal;
f) 终端发送锁定频点命令给网关设备;  f) the terminal sends a lock frequency command to the gateway device;
g)网关设备根据接收到的命令锁定相应的频点, 并返回当前锁定频点的 PAT、 PMT、 SDT 表给终端;  g) the gateway device locks the corresponding frequency point according to the received command, and returns the PAT, PMT, SDT table of the current locking frequency point to the terminal;
h ) 终端解析 PAT、 PMT和 SDT表, 获取当前锁定频点的节目信息;  h) the terminal parses the PAT, PMT, and SDT tables to obtain program information of the currently locked frequency point;
i ) 终端判断射频信号中的所有频点是否都执行过锁定操作, 若是, 执行步骤 j ) ; 若否, 执行步骤 0;  i) the terminal determines whether all frequency points in the radio frequency signal have performed a locking operation, and if so, performing step j); if not, executing step 0;
j ) 保存获取的节目信息到终端的存储器中。  j) Save the acquired program information to the memory of the terminal.
实施例 3:  Example 3:
如图 9所示, 数字电视信号接收方法, 它的步骤为:  As shown in FIG. 9, the digital television signal receiving method has the following steps:
S301: 终端进入工作状态;  S301: The terminal enters a working state;
S302: 条件接收前端与终端进行握手通信, 确认终端的合法性;  S302: The conditional receiving front end performs handshake communication with the terminal, and confirms the legality of the terminal.
S303: 网关设备从广电网的射频信号中获取授权管理信息 EMM并发送给终端;  S303: The gateway device obtains the authorization management information EMM from the radio frequency signal of the public network and sends the information to the terminal.
S304: 终端读取自身中的节目列表;  S304: The terminal reads the program list in itself;
S305: 用户在终端上选择要收看的节目;  S305: The user selects a program to be watched on the terminal;
S306: 终端解析用户选择的节目, 获得至少包含节目所在频点、 节目视频流信息和节目 音频流信息的节目信息;  S306: The terminal parses the program selected by the user, and obtains program information that includes at least a frequency point of the program, program video stream information, and program audio stream information.
S307: 终端发送锁定频点命令给网关设备;  S307: The terminal sends a lock frequency command to the gateway device.
S308: 网关设备执行锁定频点操作, 返回频点锁定状态给终端;  S308: The gateway device performs a lock frequency operation, and returns a frequency point lock status to the terminal.
S309: 终端判断频点锁定状态, 若为锁定成功, 执行步骤 S310; 若锁定失败, 给出锁定 频点失败提示;  S309: The terminal determines the frequency point lock state. If the lock is successful, step S310 is performed; if the lock fails, the lock frequency point failure prompt is given;
S310: 终端发送配置 PID filter和 Section filter命令给网关设备; S311 : 网关设备设置 PID filter和 Section fi lter, 获取 CAT和 EMM并返回给终端; S312: 终端解析 E匪获得终端授权信息, 若当前节目没有授权, 给出提示, 等待用户操 作; 若当前节目有授权, 执行步骤 313; S310: The terminal sends a configuration PID filter and a Section filter command to the gateway device. S311: The gateway device sets the PID filter and the section fi lter, obtains the CAT and the EMM, and returns to the terminal; S312: the terminal parses the E匪 to obtain the terminal authorization information, if the current program is not authorized, gives a prompt, waits for the user to operate; if the current program has Authorization, step 313;
S313: 终端发送配置 PID fi lter和 Section filter命令给网关设备;  S313: The terminal sends a configuration PID fi lter and a Section filter command to the gateway device.
S314: 网关设备设置 PID filter和 Section fi lter, 获取 PMT并发送给终端;  S314: The gateway device sets the PID filter and the Section fi lter, obtains the PMT, and sends the PMT to the terminal;
S315: 终端解析 PMT, 判断当前节目是加扰流还是清流, 若是清流, 执行步骤 S316; 若 是加扰流, 执行步骤 S319;  S315: The terminal parses the PMT, determines whether the current program is a scrambled stream or a clear stream, if it is a clear stream, step S316 is performed; if it is a scrambled stream, step S319 is performed;
S316: 终端发送配置 PID fi lter命令给网关设备;  S316: The terminal sends a configuration PID fi lter command to the gateway device.
S317: 网关设备配置 PID filter, 并将节目流发送给终端设备;  S317: The gateway device configures a PID filter, and sends the program stream to the terminal device.
S318: 终端设备接收节目流, 解码并播放;  S318: The terminal device receives the program stream, decodes and plays;
S319: 终端发送配置 PID filter和 Section fi lter命令给网关设备;  S319: The terminal sends a configuration PID filter and a Section fi lter command to the gateway device;
S320: 网关设备配置 PID filter和 Section fi lter, 从射频信号中获取授权控制信息 ECM, 并将 ECM信息发送给终端;  S320: The gateway device configures a PID filter and a section fi lter, obtains an authorization control information ECM from the radio frequency signal, and sends the ECM information to the terminal;
S321 : 终端解析 ECM信息, 得到加密形式的密钥 CW数据并发送给网关设备;  S321: The terminal parses the ECM information, and obtains the encrypted key CW data and sends the key CW data to the gateway device.
S322: 终端发送解析 EMM得到的与解密加密形式的密钥 CW有关的密钥数据给网关设备; S322: The terminal sends the key data related to the key CW obtained by decrypting the encrypted form obtained by the EMM to the gateway device;
S323: 网关设备解密所述密钥数据得到解密加密形式的密钥 CW 的密钥, 并用该密钥解 密加密形式的密钥 CW得到解扰节目的密钥 CW; S323: The gateway device decrypts the key data to obtain a key of the key CW in a decrypted encrypted form, and uses the key to decrypt the encrypted key CW to obtain a key CW of the descrambled program;
S324: 网关设备使用密钥 CW解扰节目数据, 并将解扰后的节目数据发送给终端; S324: The gateway device uses the key CW to descramble the program data, and sends the descrambled program data to the terminal.
S325: 终端接收节目数据, 解码并播放节目。 S325: The terminal receives the program data, decodes and plays the program.
上述为本发明的较优实施例, 在本发明的技术方案的基础上, 做出的各种修改或变形仍 属于本发明的保护范围。  The above is a preferred embodiment of the present invention, and various modifications or variations made on the basis of the technical solutions of the present invention are still within the scope of the present invention.

Claims

权利要求书 Claim
1. 一种数字电视信号接收方法, 其特征是, 它包括: A digital television signal receiving method, characterized in that it comprises:
S1: 终端进入工作状态;  S1: The terminal enters a working state;
S2: 终端接收授权管理信息 EMM ;  S2: the terminal receives the authorization management information EMM;
S3: 终端读取自身中的节目列表;  S3: The terminal reads a list of programs in itself;
S4: 用户在终端上选择要收看的节目;  S4: The user selects a program to be watched on the terminal;
S5: 终端发送锁定选定的节目命令给网关设备;  S5: the terminal sends a lock to the selected program command to the gateway device;
S6:网关设备从广电网的射频信号中获取与选定的节目有关的 SI表和授权控制信息 ECM 给终端;  S6: the gateway device acquires an SI table and an authorization control information ECM related to the selected program from the radio frequency signal of the broadcasting network to the terminal;
S7: 终端解析收到的 SI表、 授权控制信息 ECM和授权管理信息 EMM , 获得与解扰选定 节目有关的秘密数据;  S7: The terminal parses the received SI table, the authorization control information ECM, and the authorization management information EMM to obtain secret data related to descrambling the selected program;
S8: 终端发送与解扰选定的节目有关的秘密数据给网关设备;  S8: the terminal sends secret data related to descrambling the selected program to the gateway device;
S9: 网关设备解密收到的秘密数据, 获得解扰选定节目使用的密钥 CW;  S9: the gateway device decrypts the received secret data, and obtains a key CW used to descramble the selected program;
S10: 网关设备利用密钥 CW解扰选定的节目, 得到节目清流;  S10: The gateway device uses the key CW to descramble the selected program to obtain program clearing;
S11: 网关设备发送节目清流给终端;  S11: The gateway device sends the program clear stream to the terminal.
S12: 终端接收节目清流, 解码并播放节目。  S12: The terminal receives the program clear stream, decodes and plays the program.
2. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 所述步骤 S2之前还包括, 条件接收前端与终端及网关设备进行握手通信, 确认终端及网关设备的合法性。  The digital television signal receiving method according to claim 1, wherein before the step S2, the conditional receiving front end performs handshake communication with the terminal and the gateway device to confirm the legality of the terminal and the gateway device.
3. 如权利要求 2所述的数字电视信号接收方法, 其特征是, 所述握手通信的步骤为: 3. The digital television signal receiving method according to claim 2, wherein the step of the handshake communication is:
1 ) 条件接收前端通过 IP网发送握手数据给终端; 1) the conditional receiving front end sends the handshake data to the terminal through the IP network;
2 )终端解析握手数据得到加密形式的密钥和加密形式的验证数据;  2) The terminal parses the handshake data to obtain a key in an encrypted form and verification data in an encrypted form;
3 ) 终端发送加密形式的密钥和加密形式的验证数据给网关设备;  3) the terminal sends the encrypted form key and the encrypted form of the verification data to the gateway device;
4) 网关设备解密加密形式的密钥和加密形式的验证数据, 得到解密形式的验证数据; 4) The gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form;
5 ) 网关设备发送解密得到的验证数据给终端; 5) the gateway device sends the decrypted verification data to the terminal;
6 )终端发送收到的验证数据给条件接收前端;  6) the terminal sends the received verification data to the conditional receiving front end;
7 ) 条件接收前端根据收到的验证数据判断终端及网关设备的合法性。  7) The conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data.
4. 如权利要求 2所述的数字电视信号接收方法, 其特征是, 所述握手通信的步骤为: 4. The digital television signal receiving method according to claim 2, wherein the step of the handshake communication is:
1 )条件接收前端通过 IP网发送握手数据给网关设备; 1) The conditional receiving front end sends the handshake data to the gateway device through the IP network;
2) 网关设备通过 IP网发送接收到的握手数据给终端;  2) The gateway device sends the received handshake data to the terminal through the IP network;
3 ) 终端解析握手数据得到加密形式的密钥和加密形式的验证数据;  3) The terminal parses the handshake data to obtain an encrypted form of the key and an encrypted form of the verification data;
4)终端发送加密形式的密钥和加密形式的验证数据给网关设备; 5) 网关设备解密加密形式的密钥和加密形式的验证数据, 得到解密形式的验证数据;4) The terminal sends the encrypted form key and the encrypted form of the verification data to the gateway device; 5) The gateway device decrypts the encrypted form of the key and the encrypted form of the verification data to obtain the verification data in a decrypted form;
6) 网关设备发送解密得到的验证数据给条件接收前端; 6) The gateway device sends the decrypted verification data to the conditional receiving front end;
7 ) 条件接收前端根据收到的验证数据判断终端及网关设备的合法性。  7) The conditional receiving front end judges the legitimacy of the terminal and the gateway device according to the received verification data.
5. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 所述步骤 S2具体为, 终端 接收条件接收前端通过 IP网发来的授权管理信息 EMM; 或者终端接收网关设备从射频信号 中获取并发来的授权管理信息 EMM ; 或者终端接收网关设备通过 IP网从条件接收前端获取 的授权管理信息 EMM。  The method for receiving a digital television signal according to claim 1, wherein the step S2 is specifically: the terminal receives the authorization management information EMM sent by the front end through the IP network; or the terminal receives the RF signal from the gateway device. Obtaining the concurrent authorization management information EMM; or the terminal receiving the authorization management information EMM obtained by the gateway device from the conditional access front end through the IP network.
6. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 所述步骤 S3进一步包括, a )终端判断自身中是否存在节目列表, 若存在, 执行步骤 b ); 若不存在, 执行步骤 c); b ) 终端读取自身的节目信息数据并解析;  The digital television signal receiving method according to claim 1, wherein the step S3 further comprises: a) the terminal determining whether there is a program list in itself, if yes, performing step b); if not, performing Step c); b) the terminal reads its own program information data and parses;
c) 终端发送锁定主频点命令给网关设备;  c) the terminal sends a lock primary frequency point command to the gateway device;
d ) 网关设备锁定主频点, 从射频信号中获取 NIT表, 并发送给终端;  d) the gateway device locks the primary frequency point, obtains the NIT table from the radio frequency signal, and sends it to the terminal;
e) 终端解析 NIT表, 获取射频信号中的频点信息;  e) the terminal parses the NIT table to obtain frequency point information in the radio frequency signal;
f) 终端发送锁定频点命令给网关设备;  f) the terminal sends a lock frequency command to the gateway device;
g)网关设备根据接收到的命令锁定相应的频点, 并返回当前锁定频点的 PAT、 PMT、 SDT 表给终端;  g) the gateway device locks the corresponding frequency point according to the received command, and returns the PAT, PMT, SDT table of the current locking frequency point to the terminal;
h ) 终端解析 PAT、 PMT和 SDT表, 获取当前锁定频点的节目信息;  h) the terminal parses the PAT, PMT, and SDT tables to obtain program information of the currently locked frequency point;
«) 终端判断射频信号中的所有频点是否都执行过锁定操作, 若是, 执行步骤 j); 若否, 执行步骤 f);  «) The terminal judges whether all the frequency points in the RF signal have performed the locking operation, and if so, performs step j); if not, performs step f);
j) 保存获取的节目信息到终端的存储器中。  j) Save the acquired program information to the memory of the terminal.
7. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 所述步骤 S11进一步为: 网 关设备使用终端的公钥加密节目清流, 并将加密后的节目清流发送给终端;  The digital television signal receiving method according to claim 1, wherein the step S11 is further: the gateway device uses the public key of the terminal to encrypt the program clear stream, and sends the encrypted program clear stream to the terminal;
所述步骤 S12进一步为:终端接收加密的节目清流,用终端的私钥解密加密的节目清流, 对解密得到的节目清流进行解码并播放。  The step S12 is further: the terminal receives the encrypted program clear stream, decrypts the encrypted program clear stream by using the private key of the terminal, and decodes and plays the decrypted program clear stream.
8. 如权利要求 7所述的数字电视信号接收方法, 其特征是, 所述终端公钥是在终端与网 关设备建立连接时, 由终端发送给网关设备的; 使用所述终端公钥加密的数据能够使用所述 终端的私钥进行解密。  The digital television signal receiving method according to claim 7, wherein the terminal public key is sent by the terminal to the gateway device when the terminal establishes a connection with the gateway device; and is encrypted by using the terminal public key. The data can be decrypted using the private key of the terminal.
9. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 终端执行所述方法过程中, 终端定期执行所述步骤 S2。  9. The digital television signal receiving method according to claim 1, wherein the terminal periodically performs the step S2 during the execution of the method by the terminal.
10. 如权利要求 1所述的数字电视信号接收方法, 其特征是, 所述 SI表至少包括 PAT、 PMT、 SDT、 CAT表中的一种。 10. The digital television signal receiving method according to claim 1, wherein said SI table includes at least PAT, One of the PMT, SDT, and CAT tables.
11.一种数字电视信号接收系统, 其特征是, 它包括至少一个网关设备、 至少一个终端 和至少一个条件接收前端; 其中,  A digital television signal receiving system, comprising: at least one gateway device, at least one terminal, and at least one conditional receiving front end; wherein
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块、 解扰模块、 处理单元和 网络模块, 网关设备与至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从 广电网接收射频信号, 对射频信号进行调谐解调和解复用, 得到节目传输流 TS、 至少包含授 权控制信息 ECM的授权信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端,在接收 到终端发来的与解扰节目有关的秘密数据后, 解密秘密数据得到解扰节目的密钥 CW, 利用 密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal. Receiving a radio frequency signal from the broadcasting network, performing tuning, demodulating and demultiplexing the radio frequency signal to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1, and the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 § ;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs decryption and descrambling operations; the terminal further receives a program stream sent by the gateway device, and decodes and plays the node §;
所述条件接收前端与至少一个终端通过 IP网双向连接,条件接收前端生成授权控制信息 ECM并送到广电网, 生成授权管理信息 EMM并通过广电网或者 IP网发送给终端; 所述条件 接收前端还与终端及网关设备进行握手通信, 对终端及网关设备的合法性进行验证。  The conditional receiving front end and the at least one terminal are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the wide power grid to generate the authorization management information EMM and sends it to the terminal through the broadband network or the IP network; It also performs handshake communication with the terminal and the gateway device to verify the legality of the terminal and the gateway device.
12.一种数字电视信号接收系统, 其特征是, 它包括至少一个网关设备、 至少一个终端 和至少一个条件接收前端; 其中,  A digital television signal receiving system, comprising: at least one gateway device, at least one terminal, and at least one conditional receiving front end; wherein
所述网关设备至少包括调谐解调模块、 解复用模块、 解密模块、 解扰模块、 处理单元和 网络模块, 网关设备与至少一个终端通过 IP网双向连接, 网关设备接收终端发来的命令, 从 广电网接收射频信号, 对射频信号进行调谐解调和解复用, 得到节目传输流 TS、 至少包含授 权控制信息 ECM的授权信息和业务信息 Sl, 网关设备发送授权信息和 SI信息给终端,在接收 到终端发来的与解扰节目有关的秘密数据后, 解密秘密数据得到解扰节目的密钥 CW, 利用 密钥 CW解密节目传输流 TS, 并将解扰后的节目流发送给终端;  The gateway device includes at least a tuning demodulation module, a demultiplexing module, a decryption module, a descrambling module, a processing unit, and a network module. The gateway device and the at least one terminal are bidirectionally connected through the IP network, and the gateway device receives the command sent by the terminal. Receiving a radio frequency signal from the broadcasting network, performing tuning, demodulating and demultiplexing the radio frequency signal to obtain a program transmission stream TS, an authorization information including at least the authorization control information ECM, and service information S1, and the gateway device sends the authorization information and the SI information to the terminal, where After receiving the secret data related to the descrambling program sent by the terminal, decrypting the secret data to obtain the key CW of the descrambled program, decrypting the program transmission stream TS by using the key CW, and transmitting the descrambled program stream to the terminal;
所述终端发送命令给网关设备控制网关设备工作, 解析网关设备发来的 SI表, 解析授权 控制信息 ECM和授权管理信息 EMM获得与解扰当前节目有关的秘密数据, 并将秘密数据发 送给网关设备进行解密及解扰操作; 所述终端还接收网关设备发来的节目流, 解码并播放节 目;  The terminal sends a command to the gateway device to control the gateway device to work, parses the SI table sent by the gateway device, parses the authorization control information ECM and the authorization management information EMM to obtain secret data related to descrambling the current program, and sends the secret data to the gateway. The device performs a decryption and descrambling operation; the terminal further receives a program stream sent by the gateway device, and decodes and plays the program;
所述条件接收前端与至少一个网关设备通过 IP网双向连接,条件接收前端生成授权控制 信息 ECM并送到广电网, 生成授权管理信息 EMM并通过广电网或 IP网发给网关设备进而发 送给终端; 所述条件接收前端还与终端及网关设备进行握手通信, 对终端及网关设备的合法 性进行验证。 The conditional receiving front end and the at least one gateway device are bidirectionally connected through the IP network, and the conditional receiving front end generates the authorization control information ECM and sends it to the wide power grid to generate the authorization management information EMM and sends it to the gateway device through the wide power grid or the IP network. And sending to the terminal; the conditional receiving front end also performs handshake communication with the terminal and the gateway device, and verifies the legality of the terminal and the gateway device.
13. 如权利要求 11或 12所述的数字电视信号接收系统, 其特征是, 所述网关设备还包 括密钥生成模块, 用于生成解密秘密数据的密钥以及生成解密握手数据中加密形式的密钥的 密钥。  The digital television signal receiving system according to claim 11 or 12, wherein the gateway device further comprises a key generation module, configured to generate a key for decrypting the secret data and generate an encrypted form in the decrypted handshake data. The key of the key.
14. 如权利要求 11或 12所述的数字电视信号接收系统, 其特征是, 所述网关设备还包 括加密模块, 用于加密解扰后得到的节目清流。  The digital television signal receiving system according to claim 11 or 12, wherein the gateway device further comprises an encryption module, configured to encrypt the program clear stream obtained after the descrambling.
15. 如权利要求 11或 12所述的数字电视信号接收系统, 其特征是, 所述终端至少是电 视机、 计算机、 手机和平板电脑中的一种。  The digital television signal receiving system according to claim 11 or 12, wherein the terminal is at least one of a television, a computer, a mobile phone, and a tablet.
PCT/CN2014/000086 2013-02-08 2014-01-23 Digital television signal receiving system and receiving method WO2014121652A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310051025.X 2013-02-08
CN201310051025.XA CN103581751B (en) 2013-02-08 2013-02-08 A kind of digital television signal receives system and method for reseptance

Publications (1)

Publication Number Publication Date
WO2014121652A1 true WO2014121652A1 (en) 2014-08-14

Family

ID=50052510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/000086 WO2014121652A1 (en) 2013-02-08 2014-01-23 Digital television signal receiving system and receiving method

Country Status (2)

Country Link
CN (1) CN103581751B (en)
WO (1) WO2014121652A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038814A (en) * 2014-06-19 2014-09-10 四川长虹电器股份有限公司 Quick program filtering method for digital televisions
CN105791954B (en) * 2014-12-23 2019-02-01 深圳Tcl新技术有限公司 Digital TV terminal condition receiving method, terminal and system
CN104506925A (en) * 2015-01-08 2015-04-08 大唐微电子技术有限公司 Multimedia gateway and method
CN107257505A (en) * 2016-09-19 2017-10-17 深圳创维数字技术有限公司 A kind of method and system for preventing front end from changing digital television program code stream privately
CN106713977B (en) * 2016-12-22 2020-01-14 深圳Tcl数字技术有限公司 Network playing method and device
CN109275004A (en) * 2018-11-07 2019-01-25 深圳Tcl数字技术有限公司 Digital television signal de-scrambling method, mobile terminal, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874448A (en) * 2005-06-04 2006-12-06 华为技术有限公司 Method and system for implementing separation between receiving terminal set and card in digital TV set
CN102769799A (en) * 2011-05-03 2012-11-07 朱佩江 Method and system for realizing digital television business distribution service in IP (internet protocol) network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3465813B2 (en) * 1997-10-29 2003-11-10 日本ビクター株式会社 Digital broadcast receiving apparatus and digital information recording / reproducing apparatus
CN101018320A (en) * 2007-02-13 2007-08-15 中国移动通信集团广东有限公司 A digital TV condition receiving system and its encryption method
CN100596188C (en) * 2007-07-26 2010-03-24 中国联合网络通信集团有限公司 STB terminal and its verification method
US20090106806A1 (en) * 2007-10-01 2009-04-23 Lg Electronics Inc. Broadcast receiver and system information processing method
CN100591122C (en) * 2007-12-07 2010-02-17 四川长虹电器股份有限公司 Method and system for subscribing digital pay television channel
CN101321261B (en) * 2008-04-25 2010-11-10 北京创毅视讯科技有限公司 Front-end system, user terminal and authorization management information distribution method
CN101562520B (en) * 2009-05-21 2011-07-06 普天信息技术研究院有限公司 Method and system for distributing service secret keys
CN102075812B (en) * 2010-08-10 2013-06-19 深圳市九洲电器有限公司 Data receiving method and system of digital television

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874448A (en) * 2005-06-04 2006-12-06 华为技术有限公司 Method and system for implementing separation between receiving terminal set and card in digital TV set
CN102769799A (en) * 2011-05-03 2012-11-07 朱佩江 Method and system for realizing digital television business distribution service in IP (internet protocol) network

Also Published As

Publication number Publication date
CN103581751A (en) 2014-02-12
CN103581751B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
RU2547446C2 (en) Method of access to services provided by subscriber module
US9479825B2 (en) Terminal based on conditional access technology
JP4921381B2 (en) Subconditional access server method and apparatus
WO2014121653A1 (en) Digital television signal receiving system and receiving method
US8619983B2 (en) Digital TV conditional access system and method of using the same for transmitting and receiving digital data
WO2014121652A1 (en) Digital television signal receiving system and receiving method
US8160248B2 (en) Authenticated mode control
JP2010193449A (en) Method of securely providing control word from smart card to conditional access module
RU2519395C2 (en) Method of controlling access to set of channels for receiving or decoding device (versions)
US7925020B2 (en) Apparatuses and methods for copy protection
US20120114121A1 (en) Method of transmitting and receiving content
WO2017092687A1 (en) Implementation method for media gateway/terminal supporting digital rights management (drm), and device therefor
CN101335579A (en) Method implementing conditional reception and conditional receiving apparatus
US9055339B2 (en) System, apparatus, and method for conditional broadcast reception without cablecard
KR102281972B1 (en) Method for protecting decryption keys in a decoder and decoder for implementing said method
WO2006042467A1 (en) A processing method in accessing catv signal
KR20080000950A (en) Decryption method of encryption broadcasting using ic chip performed by mobile and the mobile thereof
CN108289240B (en) Method, terminal and computer readable medium for quickly changing channels of digital television
CN105959738B (en) A kind of bidirectional conditional reception system and method
CN108650549B (en) Digital television data management method and system
JP2000004431A (en) Pay broadcast receiving method and its device
KR101217225B1 (en) Broadcast processing apparatus and method thereof
JP2007013685A (en) Ic card for conditional access broadcasting and receiving apparatus using the same
JP5317230B2 (en) Interphone video distribution system and card adapter
JP6163025B2 (en) Digital broadcasting tuner, terminal, station individual data supplement program, and tuner station individual data supplement method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/01/16 .

122 Ep: pct application non-entry in european phase

Ref document number: 14748998

Country of ref document: EP

Kind code of ref document: A1