[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN101753964B - Method and device for realizing the terminal roaming service of digital TV - Google Patents

Method and device for realizing the terminal roaming service of digital TV Download PDF

Info

Publication number
CN101753964B
CN101753964B CN200810227869.4A CN200810227869A CN101753964B CN 101753964 B CN101753964 B CN 101753964B CN 200810227869 A CN200810227869 A CN 200810227869A CN 101753964 B CN101753964 B CN 101753964B
Authority
CN
China
Prior art keywords
central
roaming
local
information
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200810227869.4A
Other languages
Chinese (zh)
Other versions
CN101753964A (en
Inventor
王宇
韩坚
王天星
王文军
李伟东
周爱
卢增祥
李东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shibo Digital TV Technology Co Ltd
Original Assignee
Beijing Shibo Digital TV Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shibo Digital TV Technology Co Ltd filed Critical Beijing Shibo Digital TV Technology Co Ltd
Priority to CN200810227869.4A priority Critical patent/CN101753964B/en
Publication of CN101753964A publication Critical patent/CN101753964A/en
Application granted granted Critical
Publication of CN101753964B publication Critical patent/CN101753964B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a method and a device for realizing the terminal roaming service of a digital TV. The method comprises the following steps: a zone where the digital TV currently exists is judged whether is a local zone; if the judging result is the local zone, the corresponding information of the local zone transmitted by the front end of the local zone is received, and /or the corresponding information of a central zone transmitted by the front end of the central zone is received; the received corresponding information of the local zone and /or the central zone is correspondingly processed; the corresponding information of the local zone comprises local authority information, and/or local inverse-authority information, and/or local rate information; the corresponding information of the central zone comprises central authority information, and/or central inverse-authority information, and/or central rate information. By ensured zone, the corresponding information of the local zone, the central zone or a roaming zone is received; the corresponding information is processed to enable terminal users to watch digital programs in different zones, so the present invention brings great convenience to users.

Description

实现数字电视终端漫游的方法及其装置Method and device for realizing roaming of digital TV terminal

技术领域 technical field

本发明关于移动数字电视技术和条件接收技术,特别关于便携式数字电视终端跨区域移动时接收授权、反授权和产品费率等信息的实现数字电视终端漫游的方法及其装置。The present invention relates to mobile digital TV technology and conditional access technology, in particular to a method and device for realizing digital TV terminal roaming by receiving information such as authorization, anti-authorization and product rate when portable digital TV terminals move across regions.

背景技术 Background technique

目前,条件接收系统(CAS:Condition Access System)为数字电视的运营提供必要的技术手段,它是用来控制用户对广播服务进行接收的系统,通过授权管理来实现广播系统的有偿服务。At present, the conditional access system (CAS: Condition Access System) provides the necessary technical means for the operation of digital TV. It is a system used to control users to receive broadcast services, and realizes the paid service of the broadcast system through authorization management.

条件接收系统对广播服务的控制是通过对广播数据进行加扰,并对加扰控制信息进行加密来实现。The conditional access system controls the broadcast service by scrambling the broadcast data and encrypting the scramble control information.

如图1所示,前端利用产品密钥对控制字(CW:Control Word)进行加密,在授权控制信息(ECM:Entitlement Control Message)中传输。前端利用用户密钥对产品密钥进行加密,将加密后的产品密钥通过授权管理信息(EMM:Entitlement Management Message)数据包发送给移动终端。As shown in Figure 1, the front end uses the product key to encrypt the control word (CW: Control Word), and transmits it in the authorization control message (ECM: Entitlement Control Message). The front end uses the user key to encrypt the product key, and sends the encrypted product key to the mobile terminal through an Entitlement Management Message (EMM: Entitlement Management Message) data packet.

该移动终端根据安全装置编号过滤EMM数据包,将过滤到的EMM数据包送入该安全装置,安全装置利用预埋的用户密钥对加密后的产品密钥进行解密,将解密后的产品密钥存储到该安全装置中。The mobile terminal filters the EMM data packet according to the security device number, and sends the filtered EMM data packet to the security device. The security device uses the pre-embedded user key to decrypt the encrypted product key, and decrypts the decrypted product key. The key is stored in the secure device.

该移动终端根据ECM包的标识号过滤出该CA厂商的ECM包,并送入该安全装置,安全装置利用解密后的产品密钥对加密后的控制字进行解密,将解密后的控制字返回给终端解扰节目。该数字节目解扰后,用户通过终端的显示单元就可观看授权的产品。The mobile terminal filters out the ECM package of the CA manufacturer according to the identification number of the ECM package, and sends it to the security device. The security device uses the decrypted product key to decrypt the encrypted control word, and returns the decrypted control word. Descramble programs for the terminal. After the digital program is descrambled, the user can watch the authorized product through the display unit of the terminal.

发明人在实现本发明的过程中发现现有技术的缺陷在于:随着数字广播电视技术的发展,移动电视广播可以向便携式终端提供数字广播电视节目和信息服务,由于移动数字广播面向的是流动人群,现有的条件接收技术不能保证本地区域的移动电视终端在跨区域时正常地收看电视节目。The inventor finds that the defect of prior art is in the process of realizing the present invention: along with the development of digital broadcasting television technology, mobile television broadcasting can provide digital broadcasting television program and information service to portable terminal, because mobile digital broadcasting is oriented to flow For the crowd, the existing conditional access technology cannot guarantee that mobile TV terminals in the local area can watch TV programs normally when crossing areas.

发明内容 Contents of the invention

本发明实施例的目的在于提供一种实现移动数字电视终端漫游的方法及其装置。通过本发明实施例,可实现移动数字电视终端跨区域接收相关信息并对该相关信息进行处理,给用户带来极大的方便。The purpose of the embodiments of the present invention is to provide a method and device for realizing roaming of a mobile digital TV terminal. Through the embodiment of the present invention, the mobile digital TV terminal can receive relevant information across regions and process the relevant information, which brings great convenience to users.

为实现上述目的,本发明实施例提供一种实现数字电视终端漫游的方法,该方法包括:判断所述数字电视终端当前所在的区域是否为本地区域;若判断结果是本地区域,则接收所述本地区域的前端发送的本地区域的相关信息、和/或接收所述中央区域的前端发送的中央区域的相关信息;对接收到的所述本地区域的相关信息、和/或中央区域的相关信息进行相应的处理;其中,所述本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息;所述中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息。In order to achieve the above purpose, an embodiment of the present invention provides a method for implementing digital TV terminal roaming, the method includes: judging whether the area where the digital TV terminal is currently located is a local area; if the judging result is a local area, receiving the The relevant information of the local area sent by the front end of the local area, and/or the relevant information of the central area sent by the front end receiving the central area; the received relevant information of the local area, and/or the relevant information of the central area Perform corresponding processing; wherein, the relevant information of the local area includes local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or Central anti-authorization information, and/or central rate information.

为实现上述目的,本发明实施例提供一种实现数字电视终端漫游的装置,该装置包括:In order to achieve the above purpose, an embodiment of the present invention provides a device for realizing roaming of a digital TV terminal, the device includes:

第一判断单元,所述第一判断单元用于判断数字电视终端当前所在的区域是否为本地区域;A first judging unit, the first judging unit is used to judge whether the area where the digital TV terminal is currently located is a local area;

第一接收单元,若判断结果是本地区域,则接收所述本地区域的前端发送的本地区域的相关信息、和/或接收中央区域的前端发送的中央区域的相关信息;The first receiving unit, if the judgment result is a local area, then receive the relevant information of the local area sent by the front end of the local area, and/or receive the relevant information of the central area sent by the front end of the central area;

第一处理单元,所述第一处理单元用于对接收到的所述本地区域的相关信息、和/或中央区域的相关信息进行相应的处理;A first processing unit, configured to perform corresponding processing on the received relevant information of the local area and/or the received relevant information of the central area;

其中,所述本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息;所述中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息。Wherein, the relevant information of the local area includes local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or central anti-authorization information, and/or central rate information.

本发明实施例的有益效果在于,可实现数字电视终端跨区域接收相关信息并对该相关信息进行处理,以便该数字电视终端用户可看到本地、中央或漫游区域的电视节目,给用户带来极大的方便。The beneficial effect of the embodiment of the present invention is that the digital TV terminal can receive related information across regions and process the related information, so that the digital TV terminal user can watch TV programs in local, central or roaming regions, bringing users Great convenience.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,并不构成对本发明实施例的限定。在附图中:The drawings described here are used to provide a further understanding of the embodiments of the present invention, constitute a part of the application, and do not limit the embodiments of the present invention. In the attached picture:

图1是相关技术中条件接收系统操作示意图;FIG. 1 is a schematic diagram of the operation of a conditional access system in the related art;

图2是本发明实施例1的实现数字电视终端漫游的装置结构示意图;FIG. 2 is a schematic structural diagram of a device for realizing roaming of a digital TV terminal according to Embodiment 1 of the present invention;

图3是本发明实施例2的实现数字电视终端漫游的装置结构示意图;3 is a schematic structural diagram of a device for realizing roaming of a digital TV terminal according to Embodiment 2 of the present invention;

图4是本发明实施例3的实现数字电视终端漫游的装置结构示意图;FIG. 4 is a schematic structural diagram of a device for realizing roaming of a digital TV terminal according to Embodiment 3 of the present invention;

图5是本发明实施例3中对本地费率信息进行处理的流程图。Fig. 5 is a flow chart of processing local tariff information in Embodiment 3 of the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图,对本发明实施例作进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

本发明提供一种实现数字电视终端漫游的方法及其装置,以下结合附图对本发明实施例进行详细说明。The present invention provides a method and device for realizing roaming of a digital television terminal. The embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

实施例1Example 1

本发明提供一种实现数字电视终端漫游的装置,如图2所示,该装置包括第一判断单元201、第一接收单元202、第一处理单元203;其中,该第一判断单元201用于判断数字电视终端当前所在的区域是否为本地区域;若该第一判断单元201的判断结果是本地区域,则该第一接收单元202将接收该本地区域的前端发送的本地区域的相关信息、和/或接收中央区域的前端发送的中央区域的相关信息;该第一处理单元203用于对接收到的该本地区域的相关信息、和/或中央区域的相关信息进行相应的处理;The present invention provides a device for realizing roaming of a digital TV terminal. As shown in FIG. 2 , the device includes a first judging unit 201, a first receiving unit 202, and a first processing unit 203; Judging whether the area where the digital TV terminal is currently located is a local area; if the judgment result of the first judging unit 201 is a local area, then the first receiving unit 202 will receive the relevant information of the local area sent by the front end of the local area, and /or receive the relevant information of the central area sent by the front end of the central area; the first processing unit 203 is configured to perform corresponding processing on the received relevant information of the local area and/or the relevant information of the central area;

其中,该本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息;该中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息。Wherein, the relevant information of the local area includes local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or central anti-authorization information, and/or or central rate information.

如图2所示,该装置还包括第二接收单元204和第二处理单元205;其中,若该第一判断单元201的判断结果为漫游区域,则该第二接收单元204用于接收漫游区域的前端发送的漫游区域的相关信息;该第二处理单元205用于对接收到的该漫游区域的相关信息进行相应的处理;As shown in Figure 2, the device also includes a second receiving unit 204 and a second processing unit 205; wherein, if the judgment result of the first judging unit 201 is a roaming area, the second receiving unit 204 is used to receive the roaming area The related information of the roaming area sent by the front end; the second processing unit 205 is configured to perform corresponding processing on the received related information of the roaming area;

其中,该漫游区域的相关信息包括漫游授权信息、和/或漫游反授权信息、和/或漫游费率信息。Wherein, the relevant information of the roaming area includes roaming authorization information, and/or roaming anti-authorization information, and/or roaming rate information.

在本实施例中,判断该数字电视终端所处的区域可通过终端用户根据其终端所在的区域是本地还是非本地来确定,但不限于此种方式,还可采用现有的其它方式。In this embodiment, judging the area where the digital TV terminal is located can be determined by the terminal user according to whether the area where the terminal is located is local or non-local, but it is not limited to this method, and other existing methods can also be used.

在本实施例中,当终端用户判断该数字电视终端处于本地区域时,可通过一设置单元将该终端的接收频点设置为本地区域的接收频点,使得该数字电视终端只接收本地区域、中央区域的相关信息,并对接收到的相关信息进行相应的处理。In this embodiment, when the terminal user judges that the digital TV terminal is in the local area, the receiving frequency of the terminal can be set as the receiving frequency of the local area through a setting unit, so that the digital TV terminal only receives the local area, Relevant information of the central area, and correspondingly process the received relevant information.

此外,当判断该数字电视终端处于漫游区域时,该终端用户可将该接收频点设置为漫游区域的接收频点,使得该数字电视终端只接收漫游区域的相关信息,并对接收到的相关信息进行相应的处理。In addition, when it is judged that the digital TV terminal is in a roaming area, the terminal user can set the receiving frequency point as the receiving frequency point of the roaming area, so that the digital TV terminal only receives the relevant information of the roaming area, and the received related information The information is processed accordingly.

在本实施例中,上述相关信息可通过授权管理数据包(EMM数据包)的方式发送。In this embodiment, the above related information may be sent in the form of an authorization management data packet (EMM data packet).

例1,当判断该数字电视终端处于本地区域:Example 1, when it is judged that the digital TV terminal is in the local area:

1)接收到的相关信息为本地授权信息时,该本地授权信息可包括本地产品密钥标识和利用用户密钥加密的本地产品密钥,则对该相关信息进行处理是指:可利用预埋本地产品密钥标识和用户密钥对该本地授权信息进行解密,以获得本地产品密钥标识和本地产品密钥。在本实施例中,该本地产品密钥标识包括授权产品所属的本地区域标识和产品标识,可将该本地产品密钥标识和本地产品密钥进行储存,当接收到该本地区域的前端发送的授权控制信息时,可利用该本地产品密钥标识和本地产品密钥对该授权控制信息进行解密,获得本地加扰控制字,利用该本地加扰控制字对接收到的本地数字节目进行解扰并播放,使得该终端用户收看到本地区域的数字节目。1) When the received relevant information is local authorization information, the local authorization information may include the local product key identifier and the local product key encrypted with the user key, then processing the relevant information means: the pre-embedded The local product key identifier and the user key decrypt the local authorization information to obtain the local product key identifier and the local product key. In this embodiment, the local product key ID includes the local area ID and product ID to which the authorized product belongs, and the local product key ID and local product key can be stored. When authorizing control information, the local product key identifier and local product key can be used to decrypt the authorization control information to obtain a local scrambling control word, and use the local scrambling control word to descramble the received local digital program And play, so that the terminal user can watch the digital program in the local area.

2)接收到的相关信息为本地反授权信息时,对该相关信息进行处理是指:根据该本地反授权信息携带的该产品标识和区域标识的信息删除储存的相应信息。2) When the received relevant information is local anti-authorization information, processing the relevant information refers to deleting the stored corresponding information according to the product identification and region identification information carried in the local anti-authorization information.

3)接收到的相关信息为本地费率信息时,对该相关信息进行处理是指:判断接收的该本地费率信息是否已存在;若判断结果为否,则将该本地费率信息进行显示,并进行储存;3) When the received relevant information is local rate information, processing the relevant information refers to: judging whether the received local rate information already exists; if the judgment result is no, then displaying the local rate information , and store it;

其中,该本地费率信息包括该费率信息所属的本地区域标识、版本信息、产品标识、和/或产品价格。这样,终端用户可根据该费率信息进行产品的订购,只有当播放该产品时,才从钱包里扣除相应的费用。在播放该产品之前,还可根据该费率信息对订购的产品信息进行修改或删除已经订购的产品。Wherein, the local rate information includes the identification of the local area to which the rate information belongs, version information, product identification, and/or product price. In this way, the terminal user can order the product according to the rate information, and only when the product is played, the corresponding fee is deducted from the wallet. Before playing the product, the ordered product information can also be modified or the ordered product can be deleted according to the rate information.

此外,若判断结果为接收到的本地费率信息已经存在,则进一步判断该本地费率信息的版本信息与储存的版本信息是否一致;若判断结果为版本信息不一致,则对储存的该本地费率信息进行更新,即删除储存的费率信息,将接收到的该本地费率信息进行储存和显示。若判断结果为版本信息一致,则丢弃接收的该本地费率信息。In addition, if the judgment result is that the received local rate information already exists, it is further judged whether the version information of the local rate information is consistent with the stored version information; if the judgment result is that the version information is inconsistent, the stored local rate information is Update the rate information, that is, delete the stored rate information, and store and display the received local rate information. If the judgment result is that the version information is consistent, the received local rate information is discarded.

例2,当判断该数字电视终端处于本地区域、且接收到的相关信息为中央区域发送的中央授权信息时,该中央授权信息可包括中央产品密钥标识和中央产品密钥,对该相关信息进行处理是指:可利用预埋中央产品密钥标识和用户密钥对该中央授权信息进行解密,以获得中央产品密钥。在本实施例中,该中央产品密钥标识包括授权产品所属的中央区域标识和产品标识,可将该中央产品密钥标识和中央产品密钥进行储存,当接收到该中央区域的前端发送的授权控制信息时,可利用该中央产品密钥标识和中央产品密钥对该授权控制信息进行解密,获得中央加扰控制字,利用该中央加扰控制字对接收到的中央数字节目进行解扰并播放,使得该终端用户收看到中央区域的数字节目。Example 2, when it is judged that the digital TV terminal is in the local area and the received relevant information is the central authorization information sent by the central area, the central authorization information may include the central product key identifier and the central product key. Processing means that the central authorization information can be decrypted by using the pre-embedded central product key identifier and the user key to obtain the central product key. In this embodiment, the central product key identifier includes the central region identifier and product identifier to which the authorized product belongs, and the central product key identifier and central product key can be stored. When authorizing the control information, the central product key identifier and the central product key can be used to decrypt the authorization control information to obtain the central scrambling control word, and use the central scrambling control word to descramble the received central digital program And play, so that the terminal user can watch the digital program in the central area.

此外,当接收到中央区域前端发送的中央反授权信息、中央费率信息时,处理方式与处理本地区域的方式类似,此处不再赘述。并且,对于中央区域的授权产品,可在本地区域才能对该授权产品进行反授权。In addition, when receiving the central anti-authorization information and central fee rate information sent by the front end of the central area, the processing method is similar to that of the local area, and will not be repeated here. Moreover, for authorized products in the central region, the authorized product can only be de-authorized in the local region.

例3,当判断该数字电视终端处于漫游区域、且接收到的相关信息为漫游区域发送的漫游授权信息时,该漫游授权信息包括漫游产品密钥标识和漫游产品密钥,对该相关信息进行处理是指:可利用预埋漫游产品密钥标识和用户密钥对该漫游授权信息进行解密,以获得漫游产品密钥。在本实施例中,该漫游产品密钥标识包括授权产品所属的漫游区域标识和产品标识,可将该漫游产品密钥标识和漫游产品密钥进行储存,当接收到该漫游区域的前端发送的授权控制信息时,可利用该漫游产品密钥标识和漫游产品密钥对该授权控制信息进行解密,获得漫游加扰控制字,利用该漫游加扰控制字对接收到的漫游数字节目进行解扰并播放,使得该终端用户收看到漫游区域的数字节目。Example 3, when it is determined that the digital TV terminal is in a roaming area and the received relevant information is roaming authorization information sent by the roaming area, the roaming authorization information includes the roaming product key identifier and the roaming product key, and the related information is The processing means that the roaming authorization information can be decrypted by using the pre-embedded roaming product key identifier and the user key to obtain the roaming product key. In this embodiment, the roaming product key ID includes the roaming area ID and product ID to which the authorized product belongs, and the roaming product key ID and the roaming product key can be stored. When authorizing the control information, the roaming product key identifier and the roaming product key can be used to decrypt the authorization control information to obtain the roaming scrambling control word, and use the roaming scrambling control word to descramble the received roaming digital program And play, so that the terminal user can watch the digital program in the roaming area.

此外,当接收到漫游区域前端发送的漫游反授权信息、漫游费率信息时,处理方式与处理本地区域的方式类似,此处不再赘述。并且,对于中央区域的授权产品,只有在本地区域才能对该授权产品进行反授权,而在漫游区域则不可以进行反授权。In addition, when the roaming anti-authorization information and roaming rate information sent by the front end of the roaming area are received, the processing method is similar to that of the local area, and will not be repeated here. Moreover, for authorized products in the central area, de-authorization can only be performed on the authorized product in the local area, while de-authorization cannot be performed in the roaming area.

在本实施例中,该本地区域标识可根据该数字电视终端的安全装置的编号自动获取该本地区域标识,例如,安全装置编号由16位数字组成,其中第2-5位这4位数字代表的是区域编号,数字电视终端只有配合安全装置才能实现上述授权等功能,当终端与安全装置配合使用时,该终端能够获悉安全装置编号,同时也能从编号第2-5位获悉用户所归属的区域(用户的安全装置编号是由所属区域运营商统一发出的,每个地区运营商只有发出本地区域安全装置编号的权限)。该中央区域标识可采用“1”,该漫游区域的标识可为本地和中央区域的标识之外的任意标识。In this embodiment, the local area identifier can automatically obtain the local area identifier according to the number of the security device of the digital television terminal. For example, the security device number is composed of 16 digits, wherein the 2-5 digits represent The area number is the area number. The above authorization and other functions can only be realized by the digital TV terminal in conjunction with the security device. When the terminal is used in conjunction with the security device, the terminal can learn the security device number, and at the same time know the user's affiliation from the 2nd to 5th digits of the number. The region (the security device number of the user is issued by the operator in the region to which it belongs, and each regional operator only has the authority to issue the security device number in the local area). The identifier of the central area may be "1", and the identifier of the roaming area may be any identifier other than the identifiers of the local area and the central area.

在上述实施例中,该中央区域的中央产品密钥可唯一,其中,将该中央产品密钥标识中的区域标识设置为1,当然,也可为其它数值。In the above embodiment, the central product key of the central region may be unique, wherein the region identifier in the central product key identifier is set to 1, and of course, it may also be other values.

此外,由上述可知,当该数字电视终端处于本地区域时,才可接收该中央区域的前端下发的授权信息,对中央产品进行授权,即该终端只在本地区域而不在漫游区域接收中央产品授权以及反授权。In addition, it can be seen from the above that when the digital TV terminal is in the local area, it can only receive the authorization information issued by the front end of the central area to authorize the central product, that is, the terminal only receives the central product in the local area and not in the roaming area. Authorization and anti-authorization.

在本实施例中,该装置可单独使用,也可集成在数字电视终端的安全装置中与该终端配合使用。当该装置与该安全装置集成并与该终端配合使用时,每个安全装置有唯一的编号标识。即所有用户的安全装置编号不可重复。In this embodiment, the device can be used alone, or can be integrated into a security device of a digital television terminal and used in cooperation with the terminal. When the device is integrated with the security device and used in conjunction with the terminal, each security device is identified by a unique number. That is, the security device numbers of all users cannot be repeated.

由上述可知,该装置通过确定该数字电视终端所处的区域来接收本地、中央或漫游区域的相关信息,对该相关信息进行处理,以使该终端用户可收看不同区域的数字节目。It can be seen from the above that the device receives relevant information of local, central or roaming regions by determining the region where the digital TV terminal is located, and processes the relevant information so that the terminal user can watch digital programs in different regions.

实施例2Example 2

本发明实施例提供一种实现数字电视终端漫游的装置,如图2所示,该装置包括第一判断单元201、第一接收单元202、第一处理单元203、第二接收单元204和第二处理单元205,其作用与实施例1类似此处不再赘述。An embodiment of the present invention provides a device for realizing roaming of a digital TV terminal. As shown in FIG. The function of the processing unit 205 is similar to that of Embodiment 1 and will not be repeated here.

如图3所示,该装置还可包括第三接收单元301、第三处理单元302和第一存储单元303;其中,As shown in FIG. 3, the device may further include a third receiving unit 301, a third processing unit 302, and a first storage unit 303; wherein,

若该第一判断单元201的判断结果是本地区域,则该第三接收单元301用于接收该本地区域的前端发送的本地授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,该本地授权控制信息携带的信息包括本地产品密钥标识和利用本地产品密钥加密的本地加扰控制字;该中央授权控制信息携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;If the judgment result of the first judging unit 201 is a local area, the third receiving unit 301 is configured to receive the local authorization control information sent by the front end of the local area, and/or receive the central authorization control information sent by the front end of the central area ; Wherein, the information carried by the local authorization control information includes the local product key identifier and the local scrambling control word encrypted by the local product key; the information carried by the central authorization control information includes the central product key identifier and the central product key key encrypted central scrambling control word;

该第三处理单元302用于利用预存本地产品密钥标识和本地产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的该本地授权控制信息、和/或中央授权控制信息分别进行解密,以获取本地加扰控制字、和/或中央加扰控制字;The third processing unit 302 is configured to use the pre-stored local product key identifier and local product key, and/or the central product key identifier and the central product key to pair the received local authorization control information, and/or the central authorization control The information is respectively decrypted to obtain a local scrambling control word, and/or a central scrambling control word;

该第一存储单元303用于储存该本地产品密钥标识和本地产品密钥、中央产品密钥标识和中央产品密钥、本地加扰控制字和中央加扰控制字,此外,还可储存用户密钥等信息。The first storage unit 303 is used to store the local product key identifier and local product key, the central product key identifier and the central product key, the local scrambling control word and the central scrambling control word, and can also store user key and other information.

这样,获得加扰控制字后,可利用该加扰控制字对接收到的本地、或者中央区域的前端发送的数字节目进行解扰后播放。In this way, after the scrambling control word is obtained, the received digital program sent by the front end of the local area or the central area can be descrambled and then played by using the scrambling control word.

如图3所示,该装置还可包括第一解扰单元304和第一播放单元305;其中,该第一解扰单元304利用该本地加扰控制字、和/或中央加扰控制字对接收到的该本地区域的前端发送的本地数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;该第一播放单元305用于播放解扰后的该本地数字节目、和/或中央数字节目。As shown in FIG. 3, the device may further include a first descrambling unit 304 and a first playing unit 305; wherein, the first descrambling unit 304 utilizes the local scrambling control word, and/or the central scrambling control word pair Descrambling the received local digital program sent by the front end of the local area, and/or the central digital program sent by the front end of the central area; the first playback unit 305 is used to play the descrambled local digital program, and/or or central digital programming.

如图3所示,该装置还可包括第四接收单元306、第四处理单元307和第二存储单元308;其中,As shown in FIG. 3, the device may further include a fourth receiving unit 306, a fourth processing unit 307, and a second storage unit 308; wherein,

若该第一判断单元201的判断结果是漫游区域,该第四接收单元306用于接收该漫游区域的前端发送的漫游授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,该漫游授权控制信息携带的信息包括漫游产品密钥标识和利用漫游产品密钥加密的漫游加扰控制字;该中央授权控制信息携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;If the judgment result of the first judging unit 201 is a roaming area, the fourth receiving unit 306 is configured to receive roaming authorization control information sent by the front end of the roaming area, and/or receive central authorization control information sent by the front end of the central area; Wherein, the information carried in the roaming authorization control information includes the roaming product key identifier and the roaming scrambling control word encrypted with the roaming product key; the information carried in the central authorization control information includes the central product key identifier and the encrypted central scrambling control word;

该第四处理单元307利用预存漫游产品密钥标识和漫游产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的该漫游授权控制信息、和/或中央授权控制信息分别进行解密,以获取漫游加扰控制字、和/或中央加扰控制字;The fourth processing unit 307 uses the pre-stored roaming product key identifier and roaming product key, and/or the central product key identifier and the central product key to pair the received roaming authorization control information, and/or the central authorization control information, respectively Deciphering to obtain the roaming scrambling control word, and/or the central scrambling control word;

该第二存储单元308用于储存该漫游产品密钥、中央产品密钥、漫游加扰控制字和中央加扰控制字,此外,还可储存用户密钥等信息。。The second storage unit 308 is used for storing the roaming product key, the central product key, the roaming scrambling control word and the central scrambling control word, and can also store user key and other information. .

如图3所示,该装置还包括第二解扰单元309和第二播放单元310;其中,该第二解扰单元309用于利用该漫游加扰控制字、和/或中央加扰控制字对接收到的漫游区域的前端发送的漫游数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;该第二播放单元310用于播放解扰后的该漫游数字节目、和/或中央数字节目。As shown in FIG. 3, the device further includes a second descrambling unit 309 and a second playing unit 310; wherein, the second descrambling unit 309 is configured to use the roaming scrambling control word and/or the central scrambling control word Descrambling the received roaming digital program sent by the front end of the roaming area and/or the central digital program sent by the front end of the central area; the second playback unit 310 is used to play the descrambled roaming digital program, and/or or central digital programming.

在本实施例中,该本地授权控制信息、中央授权控制信息和漫游授权控制信息可通过授权控制信息(ECM)数据包传送。在接收到前端发送的该ECM数据包后,该第三处理单元302、第四处理单元307可利用储存在第一存储单元303和第二存储单元308本地产品密钥标识和本地产品密钥、中央产品密钥标识和中央产品密钥、漫游产品密钥标识和漫游产品密钥对接收到的ECM数据包进行解密,只有该ECM数据包所属的区域标识和产品标识完全符合时,才对该ECM数据包进行解密,否则对该ECM数据包不作处理,即使该产品标识符合而区域标识不符也对该ECM数据包不作处理。In this embodiment, the local entitlement control information, central entitlement control information and roaming entitlement control information may be transmitted through entitlement control message (ECM) data packets. After receiving the ECM data packet sent by the front end, the third processing unit 302 and the fourth processing unit 307 can use the local product key identifier and local product key stored in the first storage unit 303 and the second storage unit 308, The central product key ID and central product key, roaming product key ID and roaming product key decrypt the received ECM data packet, and only when the region ID and product ID to which the ECM data packet belongs completely match, the The ECM data packet is decrypted, otherwise the ECM data packet is not processed, even if the product identification matches but the area identification does not match, the ECM data packet is not processed.

在本实施例中,该第一、第二存储单元可采用一个存储器实现,处理储存各个区域的产品密钥,还储存该第一处理单元203、第二处理单元205所需的用户密钥。In this embodiment, the first and second storage units can be realized by one memory, which stores the product key of each area and also stores the user key required by the first processing unit 203 and the second processing unit 205 .

该装置可为移动数字电视终端中的终端部分和插入该终端中的安全装置,其中,该第一解扰单元304、第一播放单元305以及第二解扰单元309、第二播放单元310由终端部分实现,其它单元由安全装置实现。这样,该终端通过其安全装置编号的特征位可自动获得用户所属区域标识,该标识被认为是本地区域标识。中央区域标识固定为“1”,非本地和中央区域标识被认为是漫游地区域标识。The device can be a terminal part in a mobile digital television terminal and a security device inserted into the terminal, wherein the first descrambling unit 304, the first playing unit 305, the second descrambling unit 309, and the second playing unit 310 are composed of The terminal part is realized, and other units are realized by safety devices. In this way, the terminal can automatically obtain the identification of the area to which the user belongs through the feature bit of the security device number, which is considered as the identification of the local area. The central area identifier is fixed at "1", and the non-local and central area identifiers are regarded as roaming area identifiers.

其中,无论在本地区域还是漫游区域除了接收该本地区域和漫游区域的ECM数据包和数字节目外,还可接收中央区域的前端发送的ECM数据包和数字节目,只要该终端储存有相应的产品密钥就可以对ECM数据包进行解密,使得该终端用户可以收看该节目,给用户带来极大的方便。Among them, whether in the local area or the roaming area, in addition to receiving the ECM data packets and digital programs in the local area and the roaming area, it can also receive the ECM data packets and digital programs sent by the front end of the central area, as long as the terminal stores the corresponding products The key can decrypt the ECM data packet, so that the terminal user can watch the program, which brings great convenience to the user.

实施例3Example 3

本发明实施例提供一种实现数字电视终端漫游的方法,该方法包括:判断数字电视终端当前所在的区域是否为本地区域(见步骤401);若判断结果是本地区域,则接收该本地区域的前端发送的本地区域的相关信息、和/或接收中央区域的前端发送的中央区域的相关信息(见步骤402);对接收到的本地区域的相关信息、和/或中央区域的相关信息进行相应的处理(见步骤403);The embodiment of the present invention provides a method for implementing digital TV terminal roaming, the method includes: judging whether the area where the digital TV terminal is currently located is a local area (see step 401); if the judging result is a local area, then receiving the local area The relevant information of the local area sent by the front end, and/or the relevant information of the central area sent by the front end receiving the central area (see step 402); corresponding to the received relevant information of the local area, and/or the relevant information of the central area The processing (see step 403);

其中,该本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息等信息;该中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息等信息。Wherein, the relevant information of the local area includes information such as local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or central anti-authorization information, and/or information such as central rate information.

在本实施例中,在步骤401中,若判断结果为漫游区域,则该方法还包括:接收该漫游区域的前端发送的漫游区域的相关信息(见步骤404);对接收到的该漫游区域的相关信息进行相应的处理(见步骤405);其中,该漫游区域的相关信息包括漫游授权信息、和/或漫游反授权信息、和/或漫游费率信息等信息。In this embodiment, in step 401, if the judging result is a roaming area, the method further includes: receiving information about the roaming area sent by the front end of the roaming area (see step 404); The relevant information of the roaming area is correspondingly processed (see step 405); wherein, the relevant information of the roaming area includes roaming authorization information, and/or roaming anti-authorization information, and/or roaming rate information and other information.

由上述实施例中,该本地区域、中央区域、漫游区域前端发送的相关信息可通过EMM数据包传送。According to the above embodiments, the relevant information sent by the front end of the local area, the central area, and the roaming area can be transmitted through EMM data packets.

在本地区域可接收本地区域和中央区域的相关信息,例如当该相关信息为授权信息时,可在本地区域对中央区域的产品进行授权和反授权;而在漫游区域不能对中央区域的产品授权和反授权、也不能对在本地区域授权的中央区域的授权产品进行反授权。In the local area, the relevant information of the local area and the central area can be received. For example, when the relevant information is authorization information, the products in the central area can be authorized and deauthorized in the local area; while the products in the central area cannot be authorized in the roaming area And deauthorization, nor can it deauthorize products authorized in the central region authorized in the local region.

在本实施例中,当判断该数字电视终端处于本地区域,对接收到的该相关信息进行处理的方式与实施例1类似,此处不再赘述。In this embodiment, when it is determined that the digital television terminal is in a local area, the manner of processing the received related information is similar to that of Embodiment 1, and will not be repeated here.

当判断该数字电视终端处于漫游区域时,对接收到的该相关信息进行处理的方式与实施例1类似,此处不再赘述。When it is determined that the digital television terminal is in a roaming area, the manner of processing the received related information is similar to that of Embodiment 1, and will not be repeated here.

这样,该数字电视终端可利用获取的该产品密钥对接收到的ECM数据包进行处理,获得相应的加扰控制字,利用该加扰控制字对接收到的数字节目进行解扰,以播放节目。In this way, the digital TV terminal can use the obtained product key to process the received ECM data packet to obtain the corresponding scrambling control word, and use the scrambling control word to descramble the received digital program to play programme.

在本实施例中,以该相关信息为EMM数据包为例,对步骤403和步骤405中对相关信息进行处理的过程进行说明。In this embodiment, taking the relevant information as an EMM data packet as an example, the process of processing the relevant information in step 403 and step 405 is described.

当判断该数字电视终端处于本地区域:When it is judged that the digital TV terminal is in the local area:

1)当接收到的相关信息为本地授权信息时,该本地EMM数据包携带的信息包括本地产品密钥标识和加密的本地产品密钥,对该相关信息进行处理,可采用如下方式:1) When the received relevant information is local authorization information, the information carried in the local EMM data packet includes the local product key identifier and the encrypted local product key, and the relevant information can be processed in the following manner:

利用预埋本地产品密钥标识和用户密钥对该本地授权信息进行解密,以获得本地产品密钥;其中,该本地产品密钥标识包括授权产品所属的本地区域标识和产品标识;将该本地产品密钥标识和本地产品密钥进行储存。Use the pre-embedded local product key ID and user key to decrypt the local authorization information to obtain the local product key; wherein, the local product key ID includes the local area ID and product ID to which the authorized product belongs; the local The product key ID and the local product key are stored.

这样,当接收到该本地区域的前端发送的授权控制信息时,可利用该授权控制信息携带的本地产品密钥标识进行查找,找到匹配的本地产品密钥,利用该本地产品密钥对该授权控制信息进行解密,获得本地加扰控制字,利用该本地加扰控制字对接收到的本地数字节目进行解扰并播放,使得该终端用户收看到本地区域的数字节目。In this way, when receiving the authorization control information sent by the front end of the local area, it can use the local product key identifier carried in the authorization control information to search, find the matching local product key, and use the local product key to authorize the The control information is decrypted to obtain a local scrambling control word, and the received local digital program is descrambled and played by using the local scrambling control word, so that the terminal user can watch the digital program in the local area.

2)当接收到的相关信息为本地反授权信息时,对该相关信息进行处理是指:根据该本地反授权信息携带的该产品标识和区域标识的信息删除储存的相应信息。2) When the received relevant information is local anti-authorization information, processing the relevant information refers to deleting the stored corresponding information according to the product identification and region identification information carried in the local anti-authorization information.

这样,当接收到该本地区域的前端发送的授权控制信息时,无法获得本地加扰控制字,使得该终端用户无法收看到本地区域的数字节目。In this way, when receiving the authorization control information sent by the front end in the local area, the local scrambling control word cannot be obtained, so that the terminal user cannot watch the digital program in the local area.

3)当接收到的相关信息为本地费率信息时,对该相关信息进行处理可采用如下方式,如图5所示:3) When the received relevant information is local rate information, the following methods can be used to process the relevant information, as shown in Figure 5:

步骤501,判断接收的该本地费率信息是否已存在;Step 501, judging whether the received local rate information already exists;

步骤502,在步骤501中,若判断结果为否,则将该本地费率信息进行显示,并进行储存;Step 502, in step 501, if the judgment result is no, then display and store the local rate information;

其中,该本地费率信息包括该费率信息所属的本地区域标识、版本信息、产品标识、和/或产品价格。这样,终端用户可根据该费率信息进行产品的订购,只有当播放该产品时,从钱包里扣除相应的费用。在播放该产品之前,还可根据该费率信息对订购的产品信息进行修改或删除已经订购的产品。Wherein, the local rate information includes the identification of the local area to which the rate information belongs, version information, product identification, and/or product price. In this way, the end user can order the product according to the rate information, and only when the product is played, the corresponding fee will be deducted from the wallet. Before playing the product, the ordered product information can also be modified or the ordered product can be deleted according to the rate information.

步骤503,在步骤501中,若判断结果为接收到的本地费率信息已经存在,则进一步判断该本地费率信息的版本信息与储存的版本信息是否一致;Step 503, in step 501, if the judgment result is that the received local rate information already exists, then further judge whether the version information of the local rate information is consistent with the stored version information;

步骤504,在步骤503中,若判断结果为版本信息不一致,则对储存的该本地费率信息进行更新,即删除储存的费率信息,将接收到的该本地费率信息进行储存。Step 504. In step 503, if the judgment result is that the version information is inconsistent, update the stored local rate information, that is, delete the stored rate information, and store the received local rate information.

步骤505,显示储存的该本地费率信息。Step 505, displaying the stored local rate information.

步骤506,在步骤503中,若判断结果为版本信息一致,则丢弃接收的该本地费率信息。Step 506. In step 503, if the judgment result is that the version information is consistent, discard the received local rate information.

步骤507,显示已存储的本地费率信息。这样,终端用户可根据该费率信息进行产品的订购,只有当播放该产品时,从钱包里扣除相应的费用。在播放该产品之前,还可根据该费率信息对订购的产品信息进行修改或删除已经订购的产品。Step 507, displaying the stored local rate information. In this way, the end user can order the product according to the rate information, and only when the product is played, the corresponding fee will be deducted from the wallet. Before playing the product, the ordered product information can also be modified or the ordered product can be deleted according to the rate information.

例2,当判断该数字电视终端处于本地区域、且接收到的相关信息为中央区域发送的中央授权信息时,该中央授权信息可包括中央产品密钥标识和加密的中央产品密钥,对该相关信息进行处理可采用如下方式:Example 2, when it is judged that the digital TV terminal is in the local area and the received relevant information is the central authorization information sent by the central area, the central authorization information may include the central product key identifier and the encrypted central product key, and the Relevant information can be processed in the following ways:

利用预埋中央产品密钥标识和用户密钥对该中央授权信息进行解密,以获得中央产品密钥标识和中央产品密钥。在本实施例中,该中央产品密钥标识包括授权产品所属的中央区域标识和产品标识,可将该中央产品密钥标识和中央产品密钥进行储存,当接收到该中央区域的前端发送的授权控制信息时,可利用该授权控制信息携带的中央产品密钥标识进行查找,找到匹配的中央产品密钥,利用该中央产品密钥对该授权控制信息进行解密,获得中央加扰控制字,利用该中央加扰控制字对接收到的中央数字节目进行解扰并播放,使得该终端用户收看到中央区域的数字节目。The central authorization information is decrypted by using the pre-embedded central product key identification and the user key to obtain the central product key identification and the central product key. In this embodiment, the central product key identifier includes the central region identifier and product identifier to which the authorized product belongs, and the central product key identifier and central product key can be stored. When authorizing control information, you can use the central product key identifier carried by the authorization control information to search, find the matching central product key, use the central product key to decrypt the authorization control information, and obtain the central scrambling control word. The central scrambling control word is used to descramble and play the received central digital program, so that the terminal user can watch the digital program in the central area.

此外,当接收到中央区域前端发送的中央反授权信息、中央费率信息时,处理方式与处理本地区域的方式类似,此处不再赘述。并且,对于中央区域的授权产品,可在本地区域才能对该授权产品进行反授权。In addition, when receiving the central anti-authorization information and central fee rate information sent by the front end of the central area, the processing method is similar to that of the local area, and will not be repeated here. Moreover, for authorized products in the central region, the authorized product can only be de-authorized in the local region.

在本实施例中,当该数字电视终端处于漫游区域:In this embodiment, when the digital TV terminal is in a roaming area:

例3,当接收到的相关信息为漫游区域发送的漫游授权信息时,该EMM数据包可携带漫游产品密钥标识和漫游产品密钥,对该相关信息进行处理可采用如下方式:Example 3, when the received relevant information is the roaming authorization information sent by the roaming area, the EMM data packet can carry the roaming product key identifier and the roaming product key, and the following methods can be used to process the relevant information:

利用预埋漫游产品密钥标识和用户密钥对该漫游授权信息进行解密,以获得漫游产品密钥。在本实施例中,该漫游产品密钥标识包括授权产品所属的漫游区域标识和产品标识,可将该漫游产品密钥标识和漫游产品密钥进行储存,当接收到该漫游区域的前端发送的授权控制信息时,可利用该授权控制信息中携带的产品密钥标识进行查找,找到匹配的漫游产品密钥,利用该漫游产品密钥对该授权控制信息进行解密,获得漫游加扰控制字,利用该漫游加扰控制字对接收到的漫游数字节目进行解扰并播放,使得该终端用户收看到漫游区域的数字节目。The roaming authorization information is decrypted by using the pre-embedded roaming product key identifier and the user key to obtain the roaming product key. In this embodiment, the roaming product key ID includes the roaming area ID and product ID to which the authorized product belongs, and the roaming product key ID and the roaming product key can be stored. When authorizing control information, you can use the product key identifier carried in the authorization control information to search, find the matching roaming product key, use the roaming product key to decrypt the authorization control information, and obtain the roaming scrambling control word. The roaming scrambling control word is used to descramble and play the received roaming digital program, so that the terminal user can watch the digital program in the roaming area.

此外,当接收到漫游区域前端发送的漫游反授权信息、漫游费率信息时,处理方式与处理本地区域的方式类似,此处不再赘述。In addition, when the roaming anti-authorization information and roaming rate information sent by the front end of the roaming area are received, the processing method is similar to that of the local area, and will not be repeated here.

由上述可知,通过确定该数字电视终端所处的区域来接收本地、中央或漫游区域的相关信息,对该相关信息进行处理,以使该终端用户可收看不同区域的数字节目,给用户带来极大的方便。It can be seen from the above that by determining the area where the digital TV terminal is located, the relevant information of the local, central or roaming area is received, and the relevant information is processed so that the terminal user can watch digital programs in different areas, bringing users Great convenience.

在本实施例中,无论处于本地区域还是处于漫游区域,不仅可接收该当前所在区域的授权控制信息和数字节目,还可接收中央区域的前端发送的中央区域的授权控制信息和数字节目。In this embodiment, whether in a local area or a roaming area, not only the authorization control information and digital programs of the current area can be received, but also the authorization control information and digital programs of the central area sent by the front end of the central area can be received.

在本实施例中,该授权控制信息为ECM数据包。In this embodiment, the authorization control information is an ECM data packet.

这样,当在步骤401中判断该数字电视终端所处的区域为本地区域时,该方法还可包括:In this way, when it is determined in step 401 that the area where the digital television terminal is located is a local area, the method may further include:

接收本地区域的前端发送的本地ECM数据包,此外,在本地区域还可接收中央区域的前端发送的中央ECM数据包;其中,该本地ECM数据包携带的信息包括本地产品密钥标识和利用本地产品密钥加密的本地加扰控制字;该中央ECM数据包携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;Receive the local ECM data packet sent by the front end of the local area. In addition, the central ECM data packet sent by the front end of the central area can also be received in the local area; wherein, the information carried by the local ECM data packet includes the local product key identification and the use of the local The local scrambling control word encrypted by the product key; the information carried by the central ECM data packet includes the central product key identification and the central scrambling control word encrypted by the central product key;

当接收到本地ECM数据包时,可利用本地产品密钥标识进行查找,找到匹配的预存本地产品密钥对接收到的该本地ECM数据包进行解密,以获取相应的本地加扰控制字;利用该本地加扰控制字对接收到的该本地区域的前端发送的本地数字节目进行解扰;播放解扰后的该本地数字节目。When the local ECM data packet is received, the local product key identifier can be used to search, find the matching pre-stored local product key, and decrypt the received local ECM data packet to obtain the corresponding local scrambling control word; The local scrambling control word descrambles the received local digital program sent by the front end of the local area; the descrambled local digital program is played.

当接收到中央ECM数据包时,其处理过程与处理本地ECM数据包类似,此处不再赘述。When the central ECM data packet is received, its processing process is similar to that of the local ECM data packet, which will not be repeated here.

在本实施例中,对该ECM数据包进行解密时,首先,将该授权产品和ECM数据包进行对比,若产品标识和区域标识均匹配时才可解密,获得加扰控制字。若产品标识和区域标识不匹配,则不能对该ECM数据包进行解密,因此,无法获得加扰控制字,从而无法播放节目。In this embodiment, when decrypting the ECM data packet, firstly, the authorized product is compared with the ECM data packet, and only when the product identification and the area identification match can the decryption be performed to obtain the scrambling control word. If the product identification and the area identification do not match, the ECM data packet cannot be decrypted, therefore, the scrambling control word cannot be obtained, and thus the program cannot be played.

在本实施例中,当在步骤401中判断该数字电视终端所处的区域为漫游区域时,该方法还可包括:In this embodiment, when it is determined in step 401 that the area where the digital television terminal is located is a roaming area, the method may further include:

接收漫游区域的前端发送的漫游ECM数据包,此外,在漫游区域还可接收中央区域的前端发送的中央ECM数据包;其中,该漫游ECM数据包携带的信息包括漫游产品密钥标识和利用漫游产品密钥加密的漫游加扰控制字;该中央ECM数据包携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;Receive the roaming ECM data packet sent by the front end of the roaming area. In addition, the central ECM data packet sent by the front end of the central area can also be received in the roaming area; wherein, the information carried in the roaming ECM data packet includes the roaming product key identifier and the use of roaming The roaming scrambling control word encrypted by the product key; the information carried in the central ECM data packet includes the central product key identifier and the central scrambling control word encrypted by the central product key;

当接收到漫游ECM数据包、中央ECM数据包时,其处理过程与处理本地ECM数据包类似,此处不再赘述。When the roaming ECM data packet and the central ECM data packet are received, the processing process is similar to that of the local ECM data packet, which will not be repeated here.

因此,无论在本地区域还是漫游区域,均可接收所在当前区域的前端发送的ECM数据包和数字节目;此外,还可接收中央区域的前端发送的ECM数据包和数字节目。若该授权产品与该ECM数据包对比后,区域标识和产品标识均匹配时,才可利用相应的产品密钥对该ECM数据包进行解密处理,以获取相应的加扰控制字,利用该加扰控制字对接收到的相应区域的数字节目进行解扰后播放,使得终端用户可收看该电视节目,给用户带来方便。Therefore, no matter in the local area or roaming area, you can receive the ECM data packets and digital programs sent by the headend in the current area; in addition, you can also receive the ECM data packets and digital programs sent by the headend in the central area. If the authorized product is compared with the ECM data packet, and the region identifier and product identifier both match, the corresponding product key can be used to decrypt the ECM data packet to obtain the corresponding scrambling control word. The scrambling control word descrambles the received digital program in the corresponding area and then plays it, so that the end user can watch the TV program, which brings convenience to the user.

另外,无论在本地区域还是漫游区域,均可接收所在当前区域的前端发送的EMM数据包,对该数据包进行处理;此外,只有在本地区域才能接收中央区域的前端发送的EMM数据包,对该EMM数据进行处理。在漫游区域,无法对该中央区域的前端发送的EMM数据包进行处理。In addition, no matter in the local area or the roaming area, you can receive the EMM data packet sent by the front end of the current area and process the data packet; in addition, only in the local area can you receive the EMM data packet sent by the front end of the central area. The EMM data is processed. In the roaming area, the EMM packets sent by the front end of the central area cannot be processed.

但是,在漫游区域可根据预存的中央产品密钥对接收到的中央ECM数据包进行解密,获得加扰控制字,以对中央数字节目进行解扰后播放。若在本地区域没有对该中央产品进行授权,即没有相应的中央产品密钥,即使在漫游区域接收到中央ECM数据包时,也无法对该ECM数据包进行解密,也无法播放该中央数字节目。However, in the roaming area, the received central ECM data packet can be decrypted according to the pre-stored central product key to obtain the scrambling control word, so as to descramble the central digital program and then play it. If the central product is not authorized in the local area, that is, there is no corresponding central product key, even when the central ECM data packet is received in the roaming area, the ECM data packet cannot be decrypted, and the central digital program cannot be played .

在本实施例中,由于各个区域均可接收中央区域的节目,在本实施例中,用于加密该中央加扰控制字的中央产品密钥唯一,当在本地接收到中央产品授权包后,既可以在本地收看中央节目,也可以在漫游地收看该中央节目。In this embodiment, since each area can receive the programs of the central area, in this embodiment, the central product key used to encrypt the central scrambling control word is unique. When the central product authorization package is received locally, The central program can be watched locally or roamed.

以下以该装置为移动数字电视终端、该数字电视终端用户是甲地用户为例,以几个实例对本发明进行说明。Taking the device as a mobile digital TV terminal and the user of the digital TV terminal as a local user as an example, the present invention will be described with several examples.

实施例4Example 4

当该终端从甲地漫游到乙地后,接收该乙地前端发送的加密的授权信息后,解密该加密的授权信息获得授权;在接收到加密的反授权信息后,解密该加密的反授权信息取消上一次获得的授权。After the terminal roams from place A to place B, after receiving the encrypted authorization information sent by the front end of the place B, decrypt the encrypted authorization information to obtain authorization; after receiving the encrypted anti-authorization information, decrypt the encrypted anti-authorization information The message cancels the last authorization obtained.

这样,该终端可根据其所在区域接收当前所在区域的前端发送的授权信息和反授权信息。In this way, the terminal can receive the authorization information and anti-authorization information sent by the front end of the current area according to the area where it is located.

实施例5Example 5

当该终端从甲地漫游到乙地后,该终端用户将终端的接收频点由甲地设置成乙地对应的频点进行数据接收,此时,该终端不能再接收到甲地前端发送的数据包。When the terminal roams from place A to place B, the terminal user sets the receiving frequency point of the terminal from place A to the corresponding frequency point of place B to receive data. At this time, the terminal can no longer receive the data sent by the front end of place A. data pack.

当该终端接收到乙地前端发送的加扰数字节目后,该终端由于没有乙地节目授权,不能对该数字节目进行解扰;该终端只有得到乙地前端授权才能收看乙地节目。这时,该终端用户可通知乙地前端,发送对应甲地用户的终端的产品授权信息,即EMM数据包,该终端过滤其自身的EMM包,将对应的EMM包送至安全装置,该安全装置利用预埋的用户密钥解密,获取该EMM包中的乙地产品密钥;利用该乙地产品密钥对接收到的并送入该安全装置的ECM数据包解密,以获取该ECM包中的加扰控制字,该安全装置将解密后的加扰控制字交给该移动终端,用其完成解扰数字节目,播放该数字节目。When the terminal receives the scrambled digital program sent by the front end of the second place, the terminal cannot descramble the digital program because it does not have the authorization of the second place's program; the terminal can only watch the second place's program if it is authorized by the second place's front end. At this time, the terminal user can notify the front end of site B to send the product authorization information corresponding to the terminal of site A user, that is, the EMM data packet. The terminal filters its own EMM package and sends the corresponding EMM package to the security device. The device decrypts with the pre-embedded user key to obtain the B product key in the EMM package; uses the B product key to decrypt the ECM data package received and sent to the security device to obtain the ECM package The scrambling control word in the security device gives the decrypted scrambling control word to the mobile terminal, and uses it to complete the descrambling of the digital program and play the digital program.

由上述可知,无论该移动数字电视终端处于本地区域还是漫游区域,均可接收所在当前区域和中央区域的前端发送的节目和ECM包,只要终端拥有相应的节目授权就可以收看节目,给用户带来方便。It can be seen from the above that no matter whether the mobile digital TV terminal is in the local area or the roaming area, it can receive the programs and ECM packets sent by the front-end in the current area and the central area. As long as the terminal has the corresponding program authorization, it can watch the programs, bringing users Come conveniently.

实施例5Example 5

该终端在甲地时已对中央区域的某产品1进行授权,获得该产品1的产品密钥,当该终端从甲地漫游到乙地后,可接收该中央区域的前端发送的ECM数据包,由于该产品1已经在甲地获得授权,因此,在乙地可根据获得的产品密钥对该ECM数据包进行解密,以获得加扰控制字,利用该加扰控制字解扰该中央数字节目并播放。The terminal has authorized a certain product 1 in the central area when it is in A, and obtained the product key of the product 1. When the terminal roams from A to B, it can receive the ECM data packet sent by the front end of the central area. , since the product 1 has been authorized at site A, the ECM data packet can be decrypted at site B according to the obtained product key to obtain the scrambling control word, and use the scrambling control word to descramble the central digital program and play.

若该终端在甲地时未对该中央区域的产品1进行授权,则当该终端从甲地漫游到乙地后,接收该中央区域的前端发送的ECM数据包后,无法对该ECM数据包进行解密,无法获得加扰控制字,因此,无法播放该节目。If the terminal does not authorize the product 1 in the central area when it is in place A, then when the terminal roams from place A to place B, after receiving the ECM data packet sent by the front end of the central region, the ECM data packet cannot be authorized. After decryption, the scrambling control word cannot be obtained, so the program cannot be played.

此外,该甲地终端到达乙地后,不能再接收中央区域发送的产品授权。In addition, after the terminal in place A arrives in place B, it can no longer receive the product authorization sent by the central area.

实施例6Example 6

该终端从甲地漫游到乙地,可接收乙地前端为甲地终端的安全装置发送的一个或多个乙地产品的授权,则处于乙地的该终端可接收该乙地前端发送的产品授权,并可以收看此产品对应的节目。When the terminal roams from place A to place B, it can receive the authorization of one or more products of place B sent by the security device of the terminal in place B, and the terminal in place B can receive the products sent by the front end of place B Authorized, and can watch the program corresponding to this product.

当该甲地用户到乙地后又转去丙地,且在乙地已有授权产品,产品标识为A。到丙地的甲地终端,通过区域标识和产品标识决定播放授权产品的权限,当甲地终端从乙到丙后,实时接收丙地前端发送的ECM数据包,该ECM数据包与安全装置收到的授权产品作比对,只有区域标识和产品标识完全符合,才可播放所述授权产品对应的节目。由于丙地和乙地的区域标识不同,因此,甲地用户到丙地,即使含有乙地的授权产品,产品标识为A,由于区域标识不同,也不能播放丙地产品标识为A的节目。When the user in place A goes to place B and then transfers to place C, and there is already an authorized product in place B, the product is identified as A. The terminal in A to C, determines the authority to play the authorized product through the regional identification and product identification. When the terminal in A arrives from B to C, it will receive the ECM data packet sent by the front end of C in real time, and the ECM data packet will be received by the security device Compared with the authorized products received, the programs corresponding to the authorized products can be played only when the regional identification and the product identification completely match. Because the region identifications of C and B are different, even if the user of A goes to C, even if the authorized product of B is included, the product identification is A, because of the different area identifications, the program of A product identification of C cannot be played.

实施例7Example 7

该终端从甲地漫游到乙地,该终端已经接收到乙地前端发送的授权产品,此时乙地前端发送该产品的反授权信息,该终端接收到反授权信息后,不能再继续播放此产品授权的节目。The terminal roams from place A to place B. The terminal has received the authorized product sent by the front end of place B. At this time, the front end of place B sends the anti-authorization information of the product. After receiving the anti-authorization information, the terminal cannot continue to play this Product Licensing Program.

实施例8Example 8

对于中央区域的前端,为该终端发送中央产品授权后,则可将对应的产品密钥进行储存。当该终端从甲地漫游到乙地、和任何其它的漫游区域时,该甲地用户在任何区域都可以收看该授权的中央节目。当该终端从甲地漫游到任何漫游区域后,将无法通过漫游区域前端申请取消中央授权产品。For the front end of the central area, after the central product authorization is sent to the terminal, the corresponding product key can be stored. When the terminal roams from place A to place B, and any other roaming area, the user of place A can watch the authorized central program in any area. When the terminal roams from A to any roaming area, it will not be able to cancel the centrally authorized product through the front end of the roaming area.

若中央区域前端在甲地没有为该终端发送中央产品授权,这样,该终端无法获得对应的产品密钥。当该终端从甲地漫游到乙地后,将无法通过乙地前端申请中央授权产品。If the front end of the central area does not send the central product authorization for the terminal in place A, then the terminal cannot obtain the corresponding product key. When the terminal roams from place A to place B, it will not be able to apply for centrally authorized products through the front end of place B.

实施例9Example 9

在本实施例中,该终端启动后在没有收到新费率信息之前,首先显示存储于移动终端上的本地的费率信息。In this embodiment, after the terminal is started, before receiving the new rate information, it first displays the local rate information stored on the mobile terminal.

当该终端处于甲地时,可接收甲地和中央区域的前端发送的费率信息,显示并储存该费率信息。当该终端漫游到乙地时,可接收乙地前端发送的费率信息,可显示并储存该费率信息。When the terminal is in location A, it can receive rate information sent by the front end of location A and the central area, display and store the rate information. When the terminal roams to B, it can receive the rate information sent by the front end of B, and can display and store the rate information.

实施例10Example 10

当该终端处于甲地,可接收中央和本地区域的前端发送的中央或本地费率信息,判断移动终端上是否已经存储有中央或本地费率信息,如果存储有该费率信息,则对比新费率信息版本与储存于移动终端上的中央或本地费率信息版本是否一致,一致就不再重新接收新的费率信息,同时显示存储的中央或本地费率信息;如果不一致或该终端没有存储对应的费率信息,则接收并存储新的费率信息,对应的旧费率信息被删除,同时显示新接收的中央或本地费率信息。When the terminal is in place A, it can receive the central or local rate information sent by the front end of the central and local areas, and judge whether the central or local rate information has been stored on the mobile terminal. If the rate information is stored, compare the new Whether the version of the rate information is consistent with the version of the central or local rate information stored on the mobile terminal, if it is consistent, no new rate information will be received again, and the stored central or local rate information will be displayed at the same time; if it is inconsistent or the terminal does not have Store the corresponding tariff information, then receive and store new tariff information, delete the corresponding old tariff information, and display the newly received central or local tariff information.

如果该终端从甲地漫游到乙地,接收漫游区域的前端发送的费率信息,判断该终端上是否已经存储有漫游地费率信息,如果存储有费率信息则对比新费率信息中区域标识和版本是否与存储于移动终端上的漫游地费率信息区域标识和版本一致,只有区域标识和版本信息二者完全一致,才不接收新的费率信息,同时显示存储的漫游地费率信息内容;当二者不完全一致或移动终端没有存储漫游地费率信息时,则接收并存储新的漫游地费率信息,对应的旧漫游地费率信息被删除,同时显示新接收的漫游地费率信息内容。例如,甲地用户漫游到乙地后,保存该本地区域,即甲地的费率信息。If the terminal roams from place A to place B, it receives the rate information sent by the front end of the roaming area, and judges whether the roaming rate information has been stored on the terminal. If there is rate information stored, compare the area in the new rate information Whether the identification and version are consistent with the area identification and version of the roaming rate information stored on the mobile terminal. Only when the area identification and version information are completely consistent, will no new rate information be received, and the stored roaming rate information will be displayed at the same time Information content; when the two are not completely consistent or the mobile terminal does not store the roaming rate information, it will receive and store the new roaming rate information, the corresponding old roaming rate information will be deleted, and the newly received roaming rate information will be displayed at the same time Land rate information content. For example, after a user in place A roams to place B, the local area, that is, the tariff information of place A is saved.

在本实施例中,当该数字电视终端接收到该乙地的费率信息后,显示该乙地费率信息。用户在移动终端用户界面上可以浏览到乙地费率信息内容,用户根据费率信息中的产品名称、描述和价格决定是否订购该费率产品。当用户进行了产品订购后,如果订购的节目还没有到其播放时间,则订购产品进入用户界面中的预定产品列表,该列表中的产品可以进行浏览和取消预订操作。当订购的节目到其播放时间后,移动终端将在用户安全装置的钱包账户中扣除相应节目观看金额,如果钱包账户金额充足,则扣费成功,用户可以观看订购的费率节目;如果钱包账户余额不足,则扣费失败,终端提示用户钱包余额不足,不能观看订购的费率节目。In this embodiment, after the digital television terminal receives the tariff information of the second land, it displays the second land tariff information. On the user interface of the mobile terminal, the user can browse the content of the rate information of B, and the user decides whether to order the rate product according to the product name, description and price in the rate information. After the user has ordered a product, if the ordered program has not reached its broadcast time, the ordered product enters the scheduled product list in the user interface, and the products in the list can be browsed and canceled. When the ordered program reaches its playing time, the mobile terminal will deduct the corresponding program viewing amount from the wallet account of the user security device. If the wallet account has sufficient funds, the deduction is successful, and the user can watch the ordered rate program; If the balance is insufficient, the deduction fails, and the terminal prompts the user that the wallet balance is insufficient, and the program cannot be watched at the subscribed rate.

例如,甲地终端漫游到乙地,收到乙地的费率信息后,显示该乙地费率信息,保存该甲地费率信息;当该用户从乙地漫游到其它漫游区域,如丙地时,当收到丙地的费率信息时,显示该丙地的费率信息,并且可删除乙地的费率信息。保证漫游费率信息只显示和储存一套。For example, when a terminal in place A roams to place B, after receiving the rate information of place B, it displays the rate information of place B and saves the rate information of place A; when the user roams from place B to other roaming areas, such as When land, when the rate information of land C is received, the rate information of land C will be displayed, and the rate information of land B can be deleted. Ensure that only one set of roaming rate information is displayed and stored.

由上述可知,对于费率信息,该终端可保存本地的费率信息,也可保存当前漫游区域的费率信息,对于其它漫游区域的费率信息可以删除。It can be seen from the above that, for the tariff information, the terminal can save the local tariff information, and can also save the tariff information of the current roaming area, and can delete the tariff information of other roaming areas.

例如,甲地用户漫游到乙地,在接收乙地的费率信息之前,显示甲地的费率信息。For example, when a user in place A roams to place B, the rate information of place A is displayed before receiving the rate information of place B.

在本实施例中,无论在本地区域还是在漫游区域,当用户重启该移动数字电视终端时,可预设显示本地区域的费率信息。当移动终端接收了某一区域的费率信息后,再按照前面所述的方法进行终端用户自订购节目,从而实现节目观看。In this embodiment, no matter in the local area or in the roaming area, when the user restarts the mobile digital TV terminal, the rate information of the local area can be preset to be displayed. After the mobile terminal receives the rate information of a certain area, the terminal user can order the program by himself according to the above-mentioned method, so as to realize program viewing.

当移动终端显示的费率信息为本地或中央的费率信息,可以终端自订购本地或中央的节目,安全装置中的钱包帐户扣费成功后可以进行本地或中央节目的观看。When the rate information displayed by the mobile terminal is local or central rate information, the terminal can order local or central programs, and the wallet account in the security device can watch local or central programs after successful deduction.

当移动终端显示的费率信息为漫游地的费率信息,可以终端自订购漫游地的节目,安全装置的钱包账户扣费成功后可以进行漫游地节目的观看。When the tariff information displayed by the mobile terminal is the tariff information of the roaming destination, the terminal can subscribe to the roaming destination program by itself, and the roaming destination program can be watched after the wallet account of the security device successfully debits the fee.

由上述实施例可知,通过确定该数字电视终端所处的区域来接收本地、中央或漫游区域的相关信息,对该相关信息进行处理,以使该终端用户可收看不同区域的数字节目,给用户带来极大的方便。It can be seen from the above embodiments that by determining the area where the digital TV terminal is located, the relevant information of the local, central or roaming area is received, and the relevant information is processed so that the terminal user can watch digital programs in different areas, giving the user Bring great convenience.

以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (15)

1.一种实现数字电视终端漫游的方法,其特征在于,所述方法包括:1. A method for realizing digital television terminal roaming, characterized in that the method comprises: 判断所述数字电视终端当前所在的区域是否为本地区域;judging whether the area where the digital TV terminal is currently located is a local area; 若判断结果是本地区域,则接收所述本地区域的前端发送的本地区域的相关信息、和/或接收中央区域的前端发送的中央区域的相关信息;If the judgment result is a local area, receiving relevant information of the local area sent by the front end of the local area, and/or receiving relevant information of the central area sent by the front end of the central area; 对接收到的所述本地区域的相关信息、和/或中央区域的相关信息进行相应的处理;Perform corresponding processing on the received relevant information of the local area and/or the relevant information of the central area; 其中,所述本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息;所述中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息;Wherein, the relevant information of the local area includes local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or central anti-authorization information, and/or central rate information; 若判断结果为漫游区域,则所述方法还包括:If the judging result is a roaming area, the method further includes: 接收所述漫游区域的前端发送的漫游区域的相关信息;receiving information about the roaming area sent by the front end of the roaming area; 对接收到的所述漫游区域的相关信息进行相应的处理;Perform corresponding processing on the received relevant information of the roaming area; 所述漫游区域的相关信息包括漫游授权信息、和/或漫游反授权信息、和/或漫游费率信息;The relevant information of the roaming area includes roaming authorization information, and/or roaming anti-authorization information, and/or roaming rate information; 当接收所述漫游区域的前端发送的相关信息为漫游授权信息时,所述对接收到的所述漫游区域的相关信息进行相应的处理,包括:When the relevant information sent by the front end receiving the roaming area is roaming authorization information, the corresponding processing of the received information related to the roaming area includes: 根据预存用户密钥对所述漫游授权信息进行解密,以获取漫游产品密钥标识和漫游产品密钥;其中,所述漫游产品密钥标识包括授权产品所属的漫游区域标识和产品标识;Decrypt the roaming authorization information according to the pre-stored user key to obtain a roaming product key identifier and a roaming product key; wherein the roaming product key identifier includes a roaming area identifier and a product identifier to which the authorized product belongs; 储存所述漫游区域的所述漫游产品密钥标识和漫游产品密钥。The roaming product key identifier and the roaming product key of the roaming area are stored. 2.根据权利要求1所述的方法,其特征在于,当接收所述本地区域的前端发送的相关信息为本地授权信息时,所述对接收到的所述本地区域的相关信息进行相应的处理,包括:2. The method according to claim 1, wherein when the relevant information sent by the front end receiving the local area is local authorization information, the received relevant information of the local area is processed accordingly ,include: 根据预存用户密钥对所述本地授权信息进行解密,以获取本地产品密钥标识和本地产品密钥;其中,所述本地产品密钥标识包括授权产品所属的本地区域标识和产品标识;Decrypt the local authorization information according to the pre-stored user key to obtain a local product key identifier and a local product key; wherein the local product key identifier includes a local area identifier and a product identifier to which the authorized product belongs; 储存所述本地区域的所述本地产品密钥标识和本地产品密钥。storing the local product key identification and local product key for the local area. 3.根据权利要求1所述的方法,其特征在于,当接收所述中央区域的前端发送的相关信息为中央授权信息时,所述对接收到的所述中央区域的相关信息进行相应的处理,包括:3. The method according to claim 1, wherein when the relevant information sent by the front end receiving the central area is central authorization information, the received relevant information of the central area is processed accordingly ,include: 根据预存用户密钥对所述中央授权信息进行解密,以获取中央产品密钥标识和中央产品密钥;其中,所述中央产品密钥标识包括授权产品所属的中央区域标识和产品标识;Decrypt the central authorization information according to the pre-stored user key to obtain a central product key identifier and a central product key; wherein the central product key identifier includes a central region identifier and a product identifier to which the authorized product belongs; 储存所述中央区域的所述中央产品密钥标识和所述中央产品密钥。The central product key identification and the central product key of the central area are stored. 4.根据权利要求1所述的方法,其特征在于,若判断结果是本地区域,则所述方法还包括:4. The method according to claim 1, wherein if the judgment result is a local area, the method further comprises: 接收所述本地区域的前端发送的本地授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,所述本地授权控制信息携带的信息包括本地产品密钥标识和利用本地产品密钥加密的本地加扰控制字;所述中央授权控制信息携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;Receive local authorization control information sent by the front end of the local area, and/or receive central authorization control information sent by the front end of the central area; wherein, the information carried in the local authorization control information includes the local product key identifier and the local product key identifier. The local scrambling control word encrypted by the key; the information carried by the central authorization control information includes the central product key identifier and the central scrambling control word encrypted by the central product key; 利用预存本地产品密钥标识和本地产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的所述本地授权控制信息、和/或中央授权控制信息分别进行解密,以获取本地加扰控制字、和/或中央加扰控制字;Use the pre-stored local product key identifier and local product key, and/or the central product key identifier and the central product key to respectively decrypt the received local authorization control information and/or central authorization control information to obtain local scrambling control word, and/or central scrambling control word; 其中,所述本地产品密钥标识包括授权产品所属的本地区域标识和产品标识;所述中央产品密钥标识包括授权产品所属的中央区域标识和产品标识。Wherein, the local product key identifier includes a local region identifier and a product identifier to which the authorized product belongs; the central product key identifier includes a central region identifier and a product identifier to which the authorized product belongs. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. method according to claim 4, is characterized in that, described method also comprises: 利用所述本地产品密钥标识和本地加扰控制字、和/或中央产品密钥标识和中央加扰控制字对接收到的所述本地区域的前端发送的本地数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;Using the local product key identification and local scrambling control word, and/or the central product key identification and the central scrambling control word to receive the local digital program sent by the front end of the local area, and/or the central area Descramble the central digital program sent by the front end; 播放解扰后的所述本地数字节目、和/或中央数字节目。and playing the descrambled local digital program and/or central digital program. 6.根据权利要求1所述的方法,其特征在于,若判断结果是漫游区域,所述方法还包括:6. The method according to claim 1, wherein if the judgment result is a roaming area, the method further comprises: 接收所述漫游区域的前端发送的漫游授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,所述漫游授权控制信息携带的信息包括漫游产品密钥标识和利用漫游产品密钥加密的漫游加扰控制字;所述中央授权控制信息携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;Receive roaming authorization control information sent by the front-end of the roaming area, and/or receive central authorization control information sent by the front-end of the central area; wherein, the information carried in the roaming authorization control information includes a roaming product key identifier and a roaming product The roaming scrambling control word encrypted by the key; the information carried by the central authorization control information includes the central product key identifier and the central scrambling control word encrypted by the central product key; 利用预存漫游产品密钥标识和漫游产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的所述漫游授权控制信息、和/或中央授权控制信息分别进行解密,以获取漫游加扰控制字、和/或中央加扰控制字;Use the pre-stored roaming product key identifier and roaming product key, and/or the central product key identifier and the central product key to respectively decrypt the received roaming authorization control information, and/or the central authorization control information, to obtain roaming scrambling control word, and/or central scrambling control word; 其中,所述漫游产品密钥标识包括授权产品所属的漫游区域标识和产品标识;所述中央产品密钥标识包括授权产品所属的中央区域标识和产品标识。Wherein, the roaming product key ID includes the roaming area ID and the product ID to which the authorized product belongs; the central product key ID includes the central area ID and the product ID to which the authorized product belongs. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, further comprising: 利用所述漫游产品密钥标识和漫游加扰控制字、和/或中央产品密钥标识和中央加扰控制字对接收到的所述漫游区域的前端发送的漫游数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;Use the roaming product key identifier and roaming scrambling control word, and/or the central product key identifier and the central scrambling control word to receive the roaming digital program sent by the front end of the roaming area, and/or the central area Descramble the central digital program sent by the front end; 播放解扰后的所述漫游数字节目、和/或中央数字节目。Playing the descrambled roaming digital program and/or central digital program. 8.根据权利要求1所述的方法,其特征在于,当接收所述本地区域的前端发送的相关信息为本地费率信息、或接收所述中央区域的前端发送的相关信息为中央费率信息、或当接收所述漫游区域的前端发送的相关信息为漫游费率信息时,所述对接收到的相关信息进行相应的处理,包括:8. The method according to claim 1, wherein when receiving the relevant information sent by the front-end in the local area is local rate information, or receiving the relevant information sent by the front-end in the central area is central rate information , or when receiving the relevant information sent by the front end of the roaming area is roaming rate information, performing corresponding processing on the received relevant information, including: 判断接收的所述本地费率信息、或中央费率信息、或漫游费率信息是否已存在;judging whether the received local rate information, or central rate information, or roaming rate information already exists; 若判断结果为否,则将所述本地费率信息、或中央费率信息、或漫游费率信息进行储存和/或显示;If the judgment result is no, storing and/or displaying the local rate information, or the central rate information, or the roaming rate information; 其中,所述本地费率信息包括所述费率信息所属的本地区域标识、版本信息、产品标识、和/或产品价格;所述中央费率信息包括所述费率信息所属的中央区域标识、版本信息、产品标识、和/或产品价格;所述漫游费率信息包括所述费率信息所属的漫游区域标识、版本信息、产品标识、和/或产品价格。Wherein, the local rate information includes the local area identification, version information, product identification, and/or product price to which the rate information belongs; the central rate information includes the central area identification to which the rate information belongs, Version information, product identification, and/or product price; the roaming rate information includes the roaming area identification, version information, product identification, and/or product price to which the rate information belongs. 9.根据权利要求8所述的方法,其特征在于,若判断结果为是,则所述方法还包括:9. The method according to claim 8, wherein if the judgment result is yes, the method further comprises: 进一步判断所述接收到的所述本地费率信息、或中央费率信息、或漫游费率信息的版本信息与储存的版本信息是否一致;Further judging whether the received version information of the local rate information, or the central rate information, or the roaming rate information is consistent with the stored version information; 若判断结果不一致,则对储存的所述本地费率信息、或中央费率信息、或漫游费率信息进行更新;If the judgment results are inconsistent, updating the stored local rate information, central rate information, or roaming rate information; 若判断结果一致,则丢弃接收的所述本地费率信息、或中央费率信息、或漫游费率信息。If the judging results are consistent, the received local rate information, or central rate information, or roaming rate information is discarded. 10.根据权利要求8所述的方法,其特征在于,当将所述本地费率信息、或中央费率信息、或漫游费率信息进行显示之后,所述方法还包括:10. The method according to claim 8, characterized in that, after displaying the local rate information, or the central rate information, or the roaming rate information, the method further comprises: 根据所述本地费率信息、或中央费率信息、或漫游费率信息预定本地区域、或中央区域、或漫游区域的数字节目。The digital program in the local area, or the central area, or the roaming area is reserved according to the local rate information, or the central rate information, or the roaming rate information. 11.一种实现数字电视终端漫游的装置,其特征在于,所述装置包括:11. A device for realizing roaming of a digital television terminal, characterized in that the device comprises: 第一判断单元,所述第一判断单元用于判断所述数字电视终端当前所在的区域是否为本地区域;A first judging unit, the first judging unit is used to judge whether the area where the digital TV terminal is currently located is a local area; 第一接收单元,若判断结果是本地区域,则接收所述本地区域的前端发送的本地区域的相关信息、和/或接收中央区域的前端发送的中央区域的相关信息;The first receiving unit, if the judgment result is a local area, then receive the relevant information of the local area sent by the front end of the local area, and/or receive the relevant information of the central area sent by the front end of the central area; 第一处理单元,所述第一处理单元用于对接收到的所述本地区域的相关信息、和/或中央区域的相关信息进行相应的处理;A first processing unit, configured to perform corresponding processing on the received relevant information of the local area and/or the received relevant information of the central area; 其中,所述本地区域的相关信息包括本地授权信息、和/或本地反授权信息、和/或本地费率信息;所述中央区域的相关信息包括中央授权信息、和/或中央反授权信息、和/或中央费率信息;Wherein, the relevant information of the local area includes local authorization information, and/or local anti-authorization information, and/or local rate information; the relevant information of the central area includes central authorization information, and/or central anti-authorization information, and/or central rate information; 所述装置还包括:The device also includes: 第四接收单元,若所述第一判断单元的判断结果是漫游区域,所述第四接收单元用于接收所述漫游区域的前端发送的漫游授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,所述漫游授权控制信息携带的信息包括漫游产品密钥标识和利用漫游产品密钥加密的漫游加扰控制字;所述中央授权控制信息携带的信息包括中央产品标识和利用中央产品密钥加密的中央加扰控制字;A fourth receiving unit, if the judgment result of the first judging unit is a roaming area, the fourth receiving unit is configured to receive the roaming authorization control information sent by the front end of the roaming area, and/or receive the roaming authorization control information sent by the front end of the central area. Central authorization control information; wherein, the information carried in the roaming authorization control information includes the roaming product key identifier and the roaming scrambling control word encrypted with the roaming product key; the information carried in the central authorization control information includes the central product identification and a central scrambled control word encrypted with a central product key; 第四处理单元,所述第四处理单元利用预存漫游产品密钥标识和漫游产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的所述漫游授权控制信息、和/或中央授权控制信息分别进行解密,以获取漫游加扰控制字、和/或中央加扰控制字;A fourth processing unit, the fourth processing unit uses the pre-stored roaming product key identifier and roaming product key, and/or the central product key identifier and the central product key to pair the received roaming authorization control information, and/or Or decrypt the central authorization control information to obtain the roaming scrambling control word and/or the central scrambling control word; 其中,所述漫游产品密钥标识包括授权产品所属的漫游区域标识和产品标识;所述中央产品密钥标识包括授权产品所属的中央区域标识和产品标识;Wherein, the roaming product key ID includes the roaming area ID and the product ID to which the authorized product belongs; the central product key ID includes the central area ID and the product ID to which the authorized product belongs; 第二存储单元,所述第二存储单元用于储存所述漫游产品密钥标识、漫游产品密钥、漫游加扰控制字。A second storage unit, the second storage unit is used to store the roaming product key identifier, roaming product key, and roaming scrambling control word. 12.根据权利要求11所述的装置,其特征在于,则所述装置还包括:12. The device according to claim 11, wherein the device further comprises: 第二接收单元,若所述第一判断单元的判断结果为漫游区域,所述第二接收单元用于接收漫游区域的前端发送的漫游区域的相关信息;The second receiving unit, if the judgment result of the first judging unit is a roaming area, the second receiving unit is configured to receive information about the roaming area sent by the front end of the roaming area; 第二处理单元,所述第二处理单元用于对接收到的所述漫游区域的相关信息进行相应的处理;a second processing unit, configured to perform corresponding processing on the received related information of the roaming area; 其中,所述漫游区域的相关信息包括漫游授权信息、和/或漫游反授权信息、和/或漫游费率信息。Wherein, the relevant information of the roaming area includes roaming authorization information, and/or roaming anti-authorization information, and/or roaming rate information. 13.根据权利要求11所述的装置,其特征在于,所述装置还包括:13. The device according to claim 11, further comprising: 第三接收单元,若所述第一判断单元的判断结果是本地区域,则所述第三接收单元用于接收所述本地区域的前端发送的本地授权控制信息、和/或接收中央区域的前端发送的中央授权控制信息;其中,所述本地授权控制信息携带的信息包括本地产品密钥标识和利用本地产品密钥加密的本地加扰控制字;所述中央授权控制信息携带的信息包括中央产品密钥标识和利用中央产品密钥加密的中央加扰控制字;A third receiving unit, if the judgment result of the first judging unit is a local area, the third receiving unit is configured to receive the local authorization control information sent by the front end of the local area, and/or receive the front end of the central area The central authorization control information sent; wherein, the information carried in the local authorization control information includes the local product key identifier and the local scrambling control word encrypted with the local product key; the information carried in the central authorization control information includes the central product key identification and central scrambling control word encrypted with the central product key; 第三处理单元,所述第三处理单元用于利用预存本地产品密钥标识和本地产品密钥、和/或中央产品密钥标识和中央产品密钥对接收到的所述本地授权控制信息、和/或中央授权控制信息分别进行解密,以获取本地加扰控制字、和/或中央加扰控制字;A third processing unit, the third processing unit is configured to use the pre-stored local product key identifier and local product key, and/or the central product key identifier and the central product key to pair the received local authorization control information, and/or the central authorization control information are respectively decrypted to obtain the local scrambling control word and/or the central scrambling control word; 其中,所述本地产品密钥标识包括授权产品所属的本地区域标识和产品标识;所述中央产品密钥标识包括授权产品所属的中央区域标识和产品标识;Wherein, the local product key identifier includes the local region identifier and the product identifier to which the authorized product belongs; the central product key identifier includes the central region identifier and the product identifier to which the authorized product belongs; 第一存储单元,所述第一存储单元用于储存所述本地产品密钥标识和本地产品密钥、中央产品密钥标识和中央产品密钥、本地加扰控制字和中央加扰控制字。A first storage unit, the first storage unit is used to store the local product key identifier and the local product key, the central product key identifier and the central product key, the local scrambling control word and the central scrambling control word. 14.根据权利要求13所述的装置,其特征在于,所述装置还包括:14. The device according to claim 13, further comprising: 第一解扰单元,所述第一解扰单元利用所述本地产品密钥标识和本地加扰控制字、和/或中央产品密钥标识和中央加扰控制字对接收到的所述本地区域的前端发送的本地数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;A first descrambling unit that uses the local product key identification and local scrambling control word, and/or the central product key identification and central scrambling control word to pair the received local area descrambling of the local digital programs sent by the front-end of the network, and/or the central digital programs sent by the head-end of the central region; 第一播放单元,所述第一播放单元用于播放解扰后的所述本地数字节目、和/或中央数字节目。A first playing unit, configured to play the descrambled local digital program and/or central digital program. 15.根据权利要求11所述的装置,其特征在于,所述装置还包括:15. The device according to claim 11, further comprising: 第二解扰单元,所述第二解扰单元用于利用所述漫游产品密钥标识和漫游加扰控制字、和/或中央产品密钥标识和中央加扰控制字对接收到的所述漫游区域的前端发送的漫游数字节目、和/或中央区域的前端发送的中央数字节目进行解扰;The second descrambling unit is configured to use the roaming product key identifier and the roaming scrambling control word, and/or the central product key identifier and the central scrambling control word pair to receive the descrambling of the roaming digital program sent by the front end of the roaming area, and/or the central digital program sent by the head end of the central area; 第二播放单元,所述第二播放单元用于播放解扰后的所述漫游数字节目、和/或中央数字节目。A second playing unit, the second playing unit is used to play the descrambled roaming digital program and/or central digital program.
CN200810227869.4A 2008-12-02 2008-12-02 Method and device for realizing the terminal roaming service of digital TV Expired - Fee Related CN101753964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810227869.4A CN101753964B (en) 2008-12-02 2008-12-02 Method and device for realizing the terminal roaming service of digital TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810227869.4A CN101753964B (en) 2008-12-02 2008-12-02 Method and device for realizing the terminal roaming service of digital TV

Publications (2)

Publication Number Publication Date
CN101753964A CN101753964A (en) 2010-06-23
CN101753964B true CN101753964B (en) 2012-06-27

Family

ID=42480242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810227869.4A Expired - Fee Related CN101753964B (en) 2008-12-02 2008-12-02 Method and device for realizing the terminal roaming service of digital TV

Country Status (1)

Country Link
CN (1) CN101753964B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547441A (en) * 2012-03-02 2012-07-04 山东泰信电子有限公司 Method for localizing digital television terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040093614A1 (en) * 2002-10-29 2004-05-13 Atsunori Sakurai Conditional access system and receiver
CN1635790A (en) * 2003-12-30 2005-07-06 北京中视联数字系统有限公司 A method for managing cell crossing of subscriber in condition access system
CN1829389A (en) * 2006-04-14 2006-09-06 中国移动通信集团公司 Method and system for supporting terminal roaming in mobile broadcast television service
EP1734675A2 (en) * 2005-06-16 2006-12-20 Samsung Electronics Co.,Ltd. Conditional access method and DMB system for regionally limiting DMB reception

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040093614A1 (en) * 2002-10-29 2004-05-13 Atsunori Sakurai Conditional access system and receiver
CN1635790A (en) * 2003-12-30 2005-07-06 北京中视联数字系统有限公司 A method for managing cell crossing of subscriber in condition access system
EP1734675A2 (en) * 2005-06-16 2006-12-20 Samsung Electronics Co.,Ltd. Conditional access method and DMB system for regionally limiting DMB reception
CN1829389A (en) * 2006-04-14 2006-09-06 中国移动通信集团公司 Method and system for supporting terminal roaming in mobile broadcast television service

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
国家广播电影电视总局.SDT表中的free_ca_mode.《GY/Z 175-2001 数字电视广播条件接收系统规范》.2001,第56-58页. *
马正先等.数字电视区域控制的实现.《广播与电视技术》.2005,(第10期),第56-58页. *

Also Published As

Publication number Publication date
CN101753964A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN1736056B (en) Mechanism for protecting the transfer of digital content
JP3023160B2 (en) Broadcast reception control method
EP1641263A2 (en) Viewing control apparatus, viewing control program, and secure module
US20080092154A1 (en) Pay program providing system and television broadcast reception apparatus
CN1310497C (en) CA system for using multiple cipher key broadcasting DTV to different service supply merchants and service areas
CN102202233B (en) Video push method, system and terminal equipment
CN1280742A (en) Method and apparatus for encrypted data stream transmission
US20120051541A1 (en) Method and system for providing conditional access in broadcasting network
JP2007529168A (en) Broadcast limited reception system that allows impulse buying in a two-way network
JP4457502B2 (en) Digital broadcast use restriction method, digital broadcast system, center station apparatus, local station apparatus, and reception apparatus
KR100882507B1 (en) Digital cable broadcast receiver including security module and its authentication method
JP2000295541A (en) Broadcast receiver, method for processing contract information of the broadcast receiver, and recording medium for contract information processing program for the broadcast receiver
CN101753964B (en) Method and device for realizing the terminal roaming service of digital TV
CN101247508B (en) Method for terminal implementing service authorization in conditioned receiving system
JP4495685B2 (en) Content transmission apparatus and content transmission program
JP4521392B2 (en) Pay television systems associated with decoders and smart cards, rights revocation methods in such systems, and messages sent to such decoders
CN102215433B (en) User authorization method and safety device
JP2007288476A (en) Digital broadcast reception system, digital broadcast receiver, limited receiving processor, digital broadcast receiving method and digital broadcast reception program
JP5400564B2 (en) Receiving apparatus and content re-encryption method
JPH11234647A (en) Storage type broadcast receiver
CN101674453B (en) Program information processing method, safety device and receiving terminal
TW201203991A (en) Protection method, decrypting method, recording medium and terminal for this protection method
JP3153738B2 (en) Descrambler device
JP3545620B2 (en) Paid broadcast viewing information collection method, information collection method, broadcast receiver, transmission method
JPH01246934A (en) Chargeable broadcast receiving system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120627