CN102036112B - Digital television terminal and use method of Internet Protocol Television business thereof - Google Patents

Digital television terminal and use method of Internet Protocol Television business thereof Download PDF

Info

Publication number
CN102036112B
CN102036112B CN201010509951.3A CN201010509951A CN102036112B CN 102036112 B CN102036112 B CN 102036112B CN 201010509951 A CN201010509951 A CN 201010509951A CN 102036112 B CN102036112 B CN 102036112B
Authority
CN
China
Prior art keywords
smart card
network address
digital
terminal
authentication
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
CN201010509951.3A
Other languages
Chinese (zh)
Other versions
CN102036112A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010509951.3A priority Critical patent/CN102036112B/en
Publication of CN102036112A publication Critical patent/CN102036112A/en
Priority to PCT/CN2011/079102 priority patent/WO2012048605A1/en
Application granted granted Critical
Publication of CN102036112B publication Critical patent/CN102036112B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/441Acquiring end-user identification, e.g. using personal code sent by the remote control or by inserting a card

Landscapes

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

Abstract

本发明提供了一种数字电视终端及其IPTV业务的使用方法,所述方法包括:开机后,检测数字电视终端的智能卡控制单元是否存在智能卡;当检测到存在智能卡时,读取智能卡内存储的网络配置参数;按照网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取数字电视终端IPTV业务所需的网络地址。本发明通过将网络配置参数、IPTV业务参数等存储到智能卡上,通过读取智能卡所存储的信息获取网络地址,实现业务鉴权,进而接入到IPTV业务管理平台,避免了通过遥控器输入参数所造成的问题,而且当多个用户共用一个数字电视终端时,只需更换智能卡即可,同时兼容了没有智能卡的启动方式,使得数字电视终端通用性更强,应用更为灵活。

The invention provides a digital TV terminal and a method for using the IPTV service thereof. The method includes: after starting up, detecting whether there is a smart card in the smart card control unit of the digital TV terminal; Network configuration parameters; according to the network address access mode corresponding to the network address access mode flag of the network configuration parameters, obtain the network address required by the IPTV service of the digital TV terminal. The present invention stores network configuration parameters, IPTV service parameters, etc. on the smart card, obtains the network address by reading the information stored in the smart card, realizes service authentication, and then accesses the IPTV service management platform, avoiding inputting parameters through the remote controller Moreover, when multiple users share a digital TV terminal, only the smart card needs to be replaced, and at the same time, it is compatible with the startup method without a smart card, which makes the digital TV terminal more versatile and more flexible in application.

Description

数字电视终端及其互联网协议电视业务的使用方法Digital TV terminal and method for using the Internet protocol TV service thereof

技术领域 technical field

本发明涉及互联网协议电视(Internet Protocol Television,IPTV)业务技术领域,尤其涉及一种数字电视终端及其IPTV业务的使用方法。The present invention relates to the field of Internet protocol television (Internet Protocol Television, IPTV) business technology, in particular to a digital TV terminal and a method for using the IPTV business.

背景技术 Background technique

目前IPTV业务在安装和使用时,需要电信安装人员或用户使用遥控器对数字电视终端输入IPTV业务的网络配置信息、IPTV业务相关参数等。数字电视终端接收到用户输入的这些信息后,存放到本地闪存(Flash)中,当数字电视终端再次启动时,从Flash中读出网络配置信息、IPTV业务相关参数等后,接入网络并进行业务鉴权后,接入到IPTV业务管理平台。At present, when installing and using IPTV services, telecom installers or users need to use a remote controller to input IPTV service network configuration information, IPTV service-related parameters, etc. to digital TV terminals. After the digital TV terminal receives the information input by the user, it stores it in the local flash memory (Flash). After service authentication, access to the IPTV service management platform.

然而,上述方法存在如下问题:通过遥控器输入网络配置信息、业务相关参数等,输入速度较慢,而且容易出错;当多个用户需要共同使用同一个数字电视终端时,每个用户再次重新使用数字电视终端,都需要重新输入其业务相关参数,因为目前每个数字电视终端只能保存一个用户的相关参数;尤其,当数字电视终端出现故障,需要更换时,也会同样面临需要重新输入网络配置信息等问题;由于不同运营商业务鉴权的差异性,通过数字电视终端进行业务鉴权,使得数字电视终端的通用性受到较大的限制。However, the above method has the following problems: inputting network configuration information, service-related parameters, etc. through the remote control is slow and error-prone; when multiple users need to use the same digital TV terminal, each user must reuse All digital TV terminals need to re-enter their business-related parameters, because each digital TV terminal can only save relevant parameters of one user at present; especially, when a digital TV terminal fails and needs to be replaced, it will also face the need to re-enter the network Problems such as configuration information; due to the differences in service authentication of different operators, service authentication is performed through digital TV terminals, which greatly limits the versatility of digital TV terminals.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种数字电视终端及其IPTV业务的使用方法,实现了数字电视终端的灵活使用。In view of this, the main purpose of the present invention is to provide a digital TV terminal and a method for using the IPTV service thereof, so as to realize the flexible use of the digital TV terminal.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种数字电视终端互联网协议电视IPTV业务的方法,所述方法包括下述步骤:A method for a digital television terminal Internet protocol television IPTV service, said method comprising the steps of:

开机后,检测所述数字电视终端的智能卡控制单元是否存在智能卡;After starting up, detect whether there is a smart card in the smart card control unit of the digital TV terminal;

当检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;When detecting that there is a smart card, read the pre-stored network configuration parameters in the smart card;

按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址。According to the network address access mode corresponding to the network address access mode flag bit of the network configuration parameter, the network address required by the IPTV service of the digital TV terminal is obtained.

进一步地,所述方法还包括:预先在所述智能卡内存储网络配置参数。Further, the method further includes: storing network configuration parameters in the smart card in advance.

进一步地,所述方法还包括:预先在所述智能卡内存储IPTV业务参数;Further, the method further includes: storing IPTV service parameters in the smart card in advance;

相应地,获取所述数字电视终端IPTV业务所需的网络地址之后还包括:Correspondingly, after obtaining the required network address of the digital TV terminal IPTV service, it also includes:

读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号,并根据所述IPTV业务管理平台地址,向所述IPTV业务管理平台发送用户业务鉴权请求;Read the IPTV service management platform address and service account of the IPTV service parameters pre-stored in the smart card, and send a user service authentication request to the IPTV service management platform according to the IPTV service management platform address;

接收IPTV业务管理平台根据所述用户业务鉴权请求返回的参数,并将业务鉴权所需的参数发送给所述智能卡;Receiving the parameters returned by the IPTV service management platform according to the user service authentication request, and sending the parameters required for service authentication to the smart card;

所述智能卡运行业务鉴权算法,并将得到的业务鉴权值通过所述数字电视终端发送给IPTV业务管理平台。The smart card runs a service authentication algorithm, and sends the obtained service authentication value to the IPTV service management platform through the digital TV terminal.

进一步地,所述智能卡运行业务鉴权算法具体为:将智能卡内预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数进行加密计算。Further, the smart card running service authentication algorithm specifically includes: using the service password of the IPTV service parameters pre-stored in the smart card as an encryption key to encrypt and calculate the parameters required for the received service authentication.

进一步地,所述方法还包括:将所述网络配置参数和IPTV业务参数存储到闪存Flash中;Further, the method further includes: storing the network configuration parameters and IPTV service parameters in the flash memory Flash;

相应地,所述检测智能卡是否存在之后还包括:当检测到不存在智能卡时,读取所述Flash所存储的网络地址接入方式标志位。Correspondingly, after detecting whether the smart card exists, the method further includes: reading the network address access mode flag bit stored in the Flash when no smart card is detected.

进一步地,所述按照所述网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址具体为:Further, according to the network address access mode corresponding to the network address access mode flag bit, the network address required for obtaining the IPTV service of the digital TV terminal is specifically:

当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取所述智能卡内预先存储的或Flash存储的IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is static IP, read the IP address stored in advance or Flash storage in the smart card as the required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为动态主机设置协议DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is a dynamic host setting protocol DHCP and does not require authentication, obtain a dynamic IP address from the network side as a required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取所述智能卡内预先存储的或Flash存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and requires authentication, read the DHCP user name and password stored in advance or Flash storage in the smart card, and perform authentication, when When the authentication is passed, obtain a dynamic IP address from the network side as the required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为以太网上的点到点协议PPPoE时,读取所述智能卡内预先存储的或Flash存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过非对称数字用户环路ADSL拨号方式获取动态IP地址作为所需的网络地址。When the network address access mode corresponding to the network address access mode flag bit is the point-to-point protocol PPPoE on the Ethernet, read the PPPoE user name and password stored in advance or Flash storage in the smart card, and perform Authentication, when the authentication is passed, the dynamic IP address is obtained as the required network address through the Asymmetric Digital Subscriber Loop ADSL dial-up mode.

一种数字电视终端,所述数字电视终端包括:智能卡控制单元、检测单元及网络地址获取单元;其中,A digital television terminal, said digital television terminal comprising: a smart card control unit, a detection unit, and a network address acquisition unit; wherein,

检测单元,用于开机后,检测所述智能卡控制单元是否存在智能卡;The detection unit is used to detect whether there is a smart card in the smart card control unit after starting up;

网络地址获取单元,用于检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;并按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址。The network address acquisition unit is used to read the pre-stored network configuration parameters in the smart card when detecting the presence of the smart card; and according to the network address access mode corresponding to the network address access mode flag bit of the network configuration parameters, Obtain the network address required by the IPTV service of the digital TV terminal.

进一步地,所述智能卡用于存储网络配置参数和IPTV业务参数;Further, the smart card is used to store network configuration parameters and IPTV service parameters;

相应地,所述数字电视终端还包括业务鉴权单元,用于读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号,并根据所述IPTV业务管理平台地址,向所述IPTV业务管理平台发送用户业务鉴权请求;将IPTV业务管理平台根据所述用户业务鉴权请求返回的业务鉴权所需的参数发送给所述智能卡;Correspondingly, the digital TV terminal also includes a service authentication unit, which is used to read the IPTV service management platform address and service account of the IPTV service parameters pre-stored in the smart card, and send the IPTV service management platform address to the The IPTV service management platform sends a user service authentication request; the IPTV service management platform sends the parameters required for service authentication returned by the user service authentication request to the smart card;

智能卡,具体用于运行业务鉴权算法,并将得到的业务鉴权值通过业务鉴权单元发送给所述IPTV业务管理平台。The smart card is specifically used to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform through the service authentication unit.

进一步地,所述智能卡具体用于将其预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数进行加密计算,得到业务鉴权值。Further, the smart card is specifically configured to use its pre-stored service password of IPTV service parameters as an encryption key to encrypt and calculate received parameters required for service authentication to obtain a service authentication value.

进一步地,所述数字电视终端还包括Flash,用于存储所述网络配置参数和IPTV业务参数;Further, the digital TV terminal also includes Flash, which is used to store the network configuration parameters and IPTV service parameters;

相应地,所述网络地址获取单元,具体用于当检测单元检测到智能卡控制单元不存在智能卡时,读取所述Flash所存储的网络地址接入方式标志位。Correspondingly, the network address acquisition unit is specifically configured to read the network address access mode flag bit stored in the Flash when the detection unit detects that the smart card control unit does not have a smart card.

进一步地,所述网络地址获取单元具体用于当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取所述智能卡内预先存储的或Flash存储的IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取所述智能卡内预先存储的或Flash存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为PPPoE时,读取所述智能卡内预先存储的或Flash存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过ADSL拨号方式获取动态IP地址作为所需的网络地址。Further, the network address acquisition unit is specifically configured to read the IP address pre-stored in the smart card or stored in Flash when the network address access mode corresponding to the network address access mode flag bit is static IP As the required network address; when the network address access method corresponding to the network address access mode flag bit is dynamic DHCP and does not require authentication, obtain the dynamic IP address from the network side as the required network address; when the When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and requires authentication, read the DHCP user name and password stored in advance in the smart card or Flash storage, and perform authentication. , obtain a dynamic IP address from the network side as the required network address; when the network address access mode corresponding to the network address access mode flag is PPPoE, read the pre-stored or Flash storage PPPoE user name, password, and authentication, when the authentication is passed, obtain a dynamic IP address through ADSL dial-up as the required network address.

本发明通过将网络配置参数和IPTV业务相关参数存储到智能卡上,数字电视终端通过读取智能卡所存储的信息获取网络地址、通过智能卡运行业务鉴权算法,实现业务鉴权,进而接入到IPTV业务管理平台,避免了通过遥控器输入参数所造成的速度慢、易出错等问题,而且当多个用户共用一个数字电视终端时,只需更换各自的智能卡即可,同时数字电视终端仍兼容没有智能卡的启动方式,使得数字电视终端通用性更强,应用更为灵活。In the present invention, network configuration parameters and IPTV service-related parameters are stored on the smart card, and the digital TV terminal obtains the network address by reading the information stored in the smart card, runs the service authentication algorithm through the smart card, realizes service authentication, and then accesses the IPTV The business management platform avoids the slow speed and error-prone problems caused by inputting parameters through the remote control, and when multiple users share a digital TV terminal, they only need to replace their respective smart cards, and the digital TV terminal is still compatible. The activation method of the smart card makes the digital TV terminal more versatile and more flexible in application.

附图说明 Description of drawings

图1为本发明数字电视终端的框架结构示意图;Fig. 1 is a schematic diagram of a frame structure of a digital television terminal of the present invention;

图2为本发明IPTV业务中STB-SIM卡的文件系统结构示意图;Fig. 2 is the file system structure diagram of STB-SIM card in the IPTV service of the present invention;

图3为本发明数字电视终端IPTV业务的使用方法实施例的流程示意图;FIG. 3 is a schematic flow diagram of an embodiment of a method for using a digital television terminal IPTV service according to the present invention;

图4为本发明数字电视终端IPTV业务的鉴权实施例的流程示意图;Fig. 4 is the schematic flow chart of the authentication embodiment of digital TV terminal IPTV service of the present invention;

图5为本发明数字电视终端的具体结构示意图。FIG. 5 is a schematic diagram of a specific structure of a digital TV terminal according to the present invention.

具体实施方式 Detailed ways

本发明的基本思想为:开机后,检测所述数字电视终端的智能卡控制单元是否存在智能卡;当检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址。The basic idea of the present invention is: after starting up, detect whether there is a smart card in the smart card control unit of the digital TV terminal; when detecting the presence of a smart card, read the pre-stored network configuration parameters in the smart card; according to the network configuration parameters The network address access mode corresponding to the network address access mode flag bit, and obtain the network address required by the IPTV service of the digital TV terminal.

为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail by citing the following embodiments and referring to the accompanying drawings.

以前的数字电视终端的网络配置参数和IPTV业务相关参数均直接存储在数字电视终端的Flash中,数字电视终端开机后,直接从Flash配置分区中读取相应的网络配置参数和IPTV业务参数等信息,完成和IPTV业务管理平台的接入和认证。图1示出了本发明提供的数字电视终端的框架结构示意,如图1所示,将网络配置参数和IPTV业务相关参数存储到智能卡中,数字电视终端10检测到智能卡控制单元11存在智能卡时,通过读写智能卡,实现了和IPTV业务管理平台的接入和认证、以及其他信息等的存储;同时,为了考虑到与现有没有智能卡的数字电视终端的兼容性,数字电视终端10检测不到智能卡时,从原有的Flash 15配置分区中获取网络配置参数和IPTV业务相关参数等信息,实现和IPTV业务管理平台的接入和认证、以及其他信息等的存储。In the past, the network configuration parameters and IPTV service-related parameters of the digital TV terminal were directly stored in the Flash of the digital TV terminal. After the digital TV terminal was turned on, it directly read the corresponding network configuration parameters and IPTV service parameters and other information from the Flash configuration partition. , Complete the access and authentication with the IPTV service management platform. Fig. 1 shows the frame structure schematic diagram of the digital television terminal provided by the present invention, as shown in Fig. 1, store network configuration parameter and IPTV business related parameter in the smart card, when the digital television terminal 10 detects that the smart card control unit 11 has a smart card , by reading and writing the smart card, the access and authentication with the IPTV business management platform, and the storage of other information, etc. are realized; at the same time, in order to consider the compatibility with the existing digital TV terminals without smart cards, the digital TV terminal 10 does not detect When accessing the smart card, obtain information such as network configuration parameters and IPTV service-related parameters from the original Flash 15 configuration partition, realize access and authentication with the IPTV service management platform, and store other information.

本发明实施例中,所述智能卡可以为客户识别单元(Subscriber IdentityModule,SIM)卡,SIM卡为一种带有处理器的智能芯片卡,下面具体对SIM卡的体系结构进行阐述:In the embodiment of the present invention, described smart card can be customer identification unit (Subscriber IdentityModule, SIM) card, and SIM card is a kind of smart chip card with processor, and the system structure of SIM card is specifically described below:

1、结构和类型1. Structure and type

SIM卡包括:中央处理器CPU、程序存储器(ROM)、工作存储器(RAM)、数据存储器(EPROM或EEPROM或Flash)、串行通信单元和加密单元等。SIM card includes: central processing unit CPU, program memory (ROM), working memory (RAM), data memory (EPROM or EEPROM or Flash), serial communication unit and encryption unit, etc.

在实际使用中,SIM卡通常会有功能相同但是形式不同的两种分类:In actual use, SIM cards usually have two categories with the same function but different forms:

1)ID-1SIM,卡片式SIM卡(俗称大卡),尺寸为54mm*35mm,跟信用卡一样大小,这种形式的SIM卡符合有关IC卡国际标准化组织/国际电工委员会ISO/IEC 7816-1,2(ISO/IEC 7816-1,2)标准,类似IC卡;1) ID-1SIM, a card-type SIM card (commonly known as a large card), the size is 54mm*35mm, which is the same size as a credit card. This form of SIM card complies with the relevant IC card International Organization for Standardization/International Electrotechnical Commission ISO/IEC 7816-1 , 2 (ISO/IEC 7816-1, 2) standard, similar to IC card;

2)Plug-in SIM,嵌入式SIM卡(俗称小卡),其大小只有25mm*15mm,是半永久性地装入到移动设备中的卡,比如,移动设备中的手机用户应用的SIM卡即为嵌入式SIM卡。2) Plug-in SIM, an embedded SIM card (commonly known as a small card), its size is only 25mm*15mm, and it is a card that is semi-permanently loaded into a mobile device. For example, the SIM card used by a mobile phone user in a mobile device is For the embedded SIM card.

2、存储的数据2. Stored data

SIM卡中存放的数据可分为四类:The data stored in the SIM card can be divided into four categories:

1)固定存放的数据:这类数据在卡被出售之前由运营商SIM卡中心写入,如国际移动用户识别码(IMEI)、鉴权密钥(KI)、鉴权和加密算法等。1) Fixedly stored data: This type of data is written by the SIM card center of the operator before the card is sold, such as the International Mobile Subscriber Identity (IMEI), authentication key (KI), authentication and encryption algorithms, etc.

本发明中,分离到SIM卡中保存的业务密码即可以用鉴权密钥(KI)保存,鉴权和加密算法移植原来数字电视终端中的业务鉴权算法。In the present invention, the service password separated into the SIM card can be stored with an authentication key (KI), and the authentication and encryption algorithm is transplanted to the original service authentication algorithm in the digital TV terminal.

2)暂时存放的有关网络的数据:如位置区域识别码(LAI)、移动用户暂时识别码(TMSI)、禁止接入的公共电话网代码等。2) Temporarily stored network-related data: such as Location Area Identity (LAI), Temporary Mobile Subscriber Identity (TMSI), codes of prohibited public telephone networks, etc.

3)相关的业务代码:如个人识别码(PIN)、解锁码(PUK)、计费费率等。3) Related business codes: such as personal identification number (PIN), unlock code (PUK), billing rate, etc.

4)电话号码簿:这是移动设备如手机用户随时可以输入的电话号码。4) Telephone directory: This is a mobile device such as a mobile phone user can input phone numbers at any time.

3、电接口3. Electrical interface

SIM卡一般具有8个触点,通常移动设备如数字电视终端,需要其中的6个触点,具体定义参照表1:A SIM card generally has 8 contacts, and usually mobile devices such as digital TV terminals require 6 of them. For specific definitions, refer to Table 1:

表1Table 1

  触点 Contact   定义 definition   含义 meaning   C1 C1   Vcc Vcc   供电电压 supply voltage   C2 C2   RST RST   复位信号 reset signal   C3 C3   CLK CLK   时钟信号 clock signal   C4 C4   N/A N/A   保留 reserve   C5 C5   GND GND   接地 ground   C6 C6   Vpp Vpp   编程电压 programming voltage   C7 C7   I/O I/O   数据输入/输出 Data input/output   C8 C8   N/A N/A   保留 reserve

4、电器特性和传输协议4. Electrical characteristics and transmission protocol

SIM卡通过外部设备如数字电视终端进行供电,其电信号和传输协议需要和国际标准化组织/国际电工委员会7816-3(ISO/IEC 7816-3)保持一致,在协议方面采用异步半双工字符传输协议,对每位数据采取多次采样判决的方式,提高了接口抗干扰能力,基于字符帧检错重发机制,因此可以大大提高效率。The SIM card is powered by an external device such as a digital TV terminal, and its electrical signal and transmission protocol need to be consistent with the International Organization for Standardization/International Electrotechnical Commission 7816-3 (ISO/IEC 7816-3), and asynchronous half-duplex characters are used in the protocol The transmission protocol adopts multiple sampling and judgment methods for each data, which improves the anti-interference ability of the interface, and is based on the character frame error detection and retransmission mechanism, so the efficiency can be greatly improved.

本发明实施例中,数字电视终端的智能卡所预先存储的参数包括网络配置参数和IPTV业务相关参数;In the embodiment of the present invention, the pre-stored parameters of the smart card of the digital TV terminal include network configuration parameters and IPTV service related parameters;

其中,网络配置参数包括:网络地址接入方式标志位、静态IP地址参数、动态主机设置协议(Dynamic Host Configuration Protocol,DHCP)参数以及以太网上的点到点协议(Point-to-Point Protocol over Ethernet,PPPoE)参数等;Among them, the network configuration parameters include: network address access mode flag, static IP address parameters, Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol, DHCP) parameters and Point-to-Point Protocol over Ethernet (Point-to-Point Protocol over Ethernet) , PPPoE) parameters, etc.;

网络地址接入标志位所对应的网络地址接入方式包括:静态IP、动态DHCP且不需要认证、动态DHCP且需要认证以及PPPoE等;静态IP地址参数具体包括:IP地址、掩码、网关、域名系统(Domain Name System,DNS)地址等;DHCP参数具体包括:DHCP用户名和密码等;PPPoE参数具体包括:PPPoE用户名和密码等。The network address access methods corresponding to the network address access flag include: static IP, dynamic DHCP without authentication, dynamic DHCP with authentication and PPPoE, etc. Static IP address parameters include: IP address, mask, gateway, Domain Name System (Domain Name System, DNS) address, etc.; DHCP parameters specifically include: DHCP username and password, etc.; PPPoE parameters specifically include: PPPoE username and password, etc.

IPTV业务相关参数包括:IPTV业务管理平台地址、业务账号以及业务密码等。The parameters related to the IPTV service include: the address of the IPTV service management platform, the service account number, and the service password.

本发明中数字电视终端的SIM卡的软件特性是在移动终端如手机的SIM卡的文件系统的基础上进行扩展,使其能够支持IPTV业务,优选地,本发明中数字电视终端可以为机顶盒(Set Top Box,STB),此时STB的智能卡为STB-SIM卡;STB-SIM卡可以采用新的单片机及存储器管理结构,来增强其处理功能。The software characteristics of the SIM card of the digital TV terminal in the present invention are to expand on the basis of the file system of the SIM card of the mobile terminal such as mobile phones, so that it can support IPTV services. Preferably, the digital TV terminal in the present invention can be a set-top box ( Set Top Box, STB), at this time the smart card of STB is STB-SIM card; STB-SIM card can adopt new single-chip microcomputer and memory management structure to enhance its processing function.

其中,STB-SIM卡的文件系统示意如图2所示,图2中每个矩形框代表一个文件,其中主要包括MF(Master File)、DF(Dedicated File)和EF(ElementaryFile)。MF可以看作是一个根目录,DF就是文件夹,EF就是文件夹中具体的应用文件,实际操作中在选择所有EF前,必须选择这些EF的DF,所有选择通过使用文件标识符。其中文件标识符包括:3F:主文件;7F:第一层专用文件;5F:第二层专用文件;2F:主文件下的基本文件;6F:第一层专用文件下的基本文件;4F:第二层专用文件下的基本文件等。Among them, the file system of the STB-SIM card is shown in Figure 2. Each rectangular box in Figure 2 represents a file, which mainly includes MF (Master File), DF (Dedicated File) and EF (Elementary File). MF can be regarded as a root directory, DF is a folder, and EF is a specific application file in a folder. In actual operation, before selecting all EFs, the DFs of these EFs must be selected, and all selections are made by using file identifiers. The file identifiers include: 3F: main file; 7F: first-level special file; 5F: second-level special file; 2F: basic file under the main file; 6F: basic file under the first-level special file; 4F: Basic files, etc. under the second layer of dedicated files.

文件由用于SIM卡内部管理的文件头(header)和可选的文件体(body)组成。文件头的信息包括文件的结构和属性,可以通过使用GET RESPONSE或STATUS命令获得这些信息,这些信息在管理阶段是固定的,文件体部分包括文件的数据。The file consists of a file header (header) and an optional file body (body) for internal management of the SIM card. The information in the file header includes the structure and attributes of the file, which can be obtained by using the GET RESPONSE or STATUS command. This information is fixed in the management stage, and the file body includes the data of the file.

本发明实施例STB-SIM卡中文件的存储具体参考图2,图2中文字加粗的矩形框代表其所用到的文件,其只用到了一层DF,即第一层专用文件7F,所有IPTV的EF文件都存放在第一层的DFIPTV(7FD1)中;DFIPTV下增加了6个相关EF文件:For the storage of files in the STB-SIM card in the embodiment of the present invention, refer specifically to FIG. 2 . The bold rectangular frame in FIG. The EF files of IPTV are all stored in DFIPTV (7FD1) on the first layer; 6 related EF files are added under DFIPTV:

EFNETWORK(6F01):网络地址接入方式标志位,包括静态IP、DHCP(不需要认证)、DHCP(需要认证)、PPPoE等;EFNETWORK (6F01): network address access mode flag, including static IP, DHCP (authentication not required), DHCP (authentication required), PPPoE, etc.;

EFSIPA(6F02):静态IP地址参数,包括IP、掩码、网关、DNS地址等;EFSIPA(6F02): Static IP address parameters, including IP, mask, gateway, DNS address, etc.;

EFPPPoE(6F03):PPPoE参数,包括PPPoE用户名、密码等;EFPPPoE(6F03): PPPoE parameters, including PPPoE user name, password, etc.;

EFDHCP(6F04):DHCP参数,包括DHCP用户名、密码等;EFDHCP (6F04): DHCP parameters, including DHCP user name, password, etc.;

EFSMPA(6F05):IPTV业务管理平台地址;EFSMPA(6F05): IPTV service management platform address;

EFISNM(6F06):IPTV的业务账号。EFISNM (6F06): IPTV service account.

图3示出了本发明数字电视终端IPTV业务的使用方法实施例的流程示意,如图3所示,所述实施例包括以下步骤:Fig. 3 shows the schematic flow chart of the embodiment of the method for using the digital TV terminal IPTV service of the present invention, as shown in Fig. 3, described embodiment comprises the following steps:

步骤101,数字电视终端开机后,检测其智能卡控制单元是否存在智能卡,若存在,则执行步骤103,否则,执行步骤102;Step 101, after the digital TV terminal is turned on, detect whether there is a smart card in its smart card control unit, if it exists, then perform step 103, otherwise, perform step 102;

用户需要使用IPTV业务时,可将智能卡插入智能卡控制单元,该智能卡存储有该用户的网络配置信息、IPTV业务相关参数等,智能卡控制单元通过智能卡的C7触点读取所述智能卡存储的信息,其中智能卡触点的含义可参照表1。When the user needs to use the IPTV service, the smart card can be inserted into the smart card control unit, and the smart card stores the user's network configuration information, IPTV service related parameters, etc., and the smart card control unit reads the information stored in the smart card through the C7 contact of the smart card, The meaning of the smart card contacts can refer to Table 1.

具体检测智能卡是否存在的过程如下:当所述智能卡为大卡时,数字电视终端的插卡位置具有卡托,此时,数字电视终端可以通过机械方式检测智能卡控制单元是否存在智能卡。卡托上具有高、低电平两个触点,智能卡控制单元连接高电平触点,当未插入智能卡时,两个触点处于闭合状态,数字电视终端检测到智能卡控制单元为低电平信号,判定不存在智能卡;当插入智能卡后,两个触点分离,此时数字电视终端检测到智能卡控制单元为高电平信号,判定存在智能卡;The process of specifically detecting whether the smart card exists is as follows: when the smart card is a large card, the card insertion position of the digital TV terminal has a card holder, and at this time, the digital TV terminal can detect whether there is a smart card in the smart card control unit mechanically. There are two contacts of high level and low level on the card tray, the smart card control unit is connected to the high level contact, when the smart card is not inserted, the two contacts are in a closed state, and the digital TV terminal detects that the smart card control unit is low level signal, it is determined that there is no smart card; when the smart card is inserted, the two contacts are separated, and the digital TV terminal detects that the smart card control unit is a high-level signal, and it is determined that there is a smart card;

当所述智能卡为小卡时,数字电视终端通过读取智能卡数据的方式检测智能卡控制单元是否存在智能卡:智能卡控制单元连接所述智能卡的C7触点,数字电视终端通过智能卡控制单元连续进行多次读取数据操作,若均没有读到数据,则判定不存在智能卡,否则判定存在;优选地,数字电视终端可连续进行3次读取数据操作。When the smart card is a small card, the digital TV terminal detects whether there is a smart card in the smart card control unit by reading the data of the smart card: the smart card control unit is connected to the C7 contact of the smart card, and the digital TV terminal performs multiple consecutive operations through the smart card control unit. In the data reading operation, if no data is read, it is determined that there is no smart card, otherwise it is determined that there is a smart card; preferably, the digital TV terminal can continuously perform 3 data reading operations.

步骤102,数字电视终端按照没有智能卡的方式进行启动,读取本地Flash中所保存的网络配置参数,根据网络配置参数中的网络地址接入方式标志位,获取IPTV业务所需的网络地址;Step 102, the digital TV terminal starts without a smart card, reads the network configuration parameters stored in the local Flash, and obtains the required network address for the IPTV service according to the network address access mode flag in the network configuration parameters;

具体地,当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取Flash存储的IP地址作为所需的网络地址;Specifically, when the network address access mode corresponding to the network address access mode flag bit is static IP, read the IP address stored in the Flash as the required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and does not require authentication, obtain a dynamic IP address from the network side as the required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取Flash存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and requires authentication, read the DHCP user name and password stored in the Flash, and perform authentication, and when the authentication is passed, obtain from the network side Dynamic IP address as the required network address;

当所述网络地址接入方式标志位所对应的网络地址接入方式为PPPoE时,读取Flash存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过非对称数字用户环路(Asymmetric Digital Subscriber Line,ADSL)拨号方式获取动态IP地址作为所需的网络地址。When the network address access mode corresponding to the network address access mode flag bit is PPPoE, read the PPPoE user name and password stored in the Flash, and authenticate, and when the authentication is passed, pass through the asymmetric digital subscriber loop ( Asymmetric Digital Subscriber Line, ADSL) dial-up method to obtain a dynamic IP address as the required network address.

步骤103,当检测到存在智能卡时,数字电视终端读取所述智能卡内预先存储的网络配置参数;Step 103, when detecting that there is a smart card, the digital TV terminal reads the pre-stored network configuration parameters in the smart card;

本步骤中,数字电视终端具体读取所述智能卡中预先存储的网络配置参数的网络地址接入方式标志位,其中所述网络地址接入方式标志位对应的网络地址接入方式包括静态IP、动态DHCP且不需要认证、动态DHCP且需要认证以及PPPoE等方式;In this step, the digital TV terminal specifically reads the network address access mode flag of the pre-stored network configuration parameters in the smart card, wherein the network address access mode corresponding to the network address access mode flag includes static IP, Dynamic DHCP without authentication, dynamic DHCP with authentication and PPPoE;

具体地,当数字电视终端读取的网络地址接入方式标志位对应的网络地址接入方式为静态IP时,执行步骤104;当网络地址接入方式标志位对应的网络地址接入方式为动态DHCP且需要认证时,执行步骤105;当网络地址接入方式标志位对应的网络地址接入方式为动态DHCP且不需要认证时,执行步骤106;当网络地址接入方式标志位对应的网络地址接入方式为PPPoE时,执行步骤107。Specifically, when the network address access mode corresponding to the network address access mode flag read by the digital television terminal is static IP, perform step 104; when the network address access mode corresponding to the network address access mode flag is dynamic When DHCP and authentication is required, perform step 105; when the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, perform step 106; when the network address access mode flag corresponds to the network address When the access mode is PPPoE, go to step 107.

步骤104,数字电视终端读取所述智能卡内预先存储的IP地址作为IPTV业务所需的网络地址,然后执行步骤109;Step 104, the digital TV terminal reads the pre-stored IP address in the smart card as the required network address of the IPTV service, and then executes step 109;

步骤105,数字电视终端读取所述智能卡内预先存储的DHCP用户名、密码,并进行认证,当认证通过时,执行步骤106,否则,结束流程;Step 105, the digital TV terminal reads the pre-stored DHCP user name and password in the smart card, and performs authentication, and when the authentication is passed, execute step 106, otherwise, end the process;

步骤106,数字电视终端从网络侧获取动态的IP地址作为IPTV业务所需的网络地址,执行步骤109;Step 106, the digital TV terminal obtains a dynamic IP address from the network side as the required network address of the IPTV service, and executes step 109;

步骤107,数字电视终端读取所述智能卡内预先存储的PPPoE用户名、密码,并进行认证,当认证通过时,执行步骤108,否则,结束流程;Step 107, the digital TV terminal reads the PPPoE user name and password pre-stored in the smart card, and performs authentication, and when the authentication is passed, executes step 108, otherwise, ends the process;

步骤108,数字电视终端通过ADSL拨号方式获取动态的IP地址作为IPTV业务所需的网络地址,执行步骤109;Step 108, the digital TV terminal obtains the dynamic IP address as the required network address of the IPTV service through the ADSL dial-up mode, and executes step 109;

步骤109,数字电视终端将网络配置参数保存到本地Flash中,以兼容智能卡不存在时的启动方式;Step 109, the digital TV terminal saves the network configuration parameters in the local Flash, so as to be compatible with the startup mode when the smart card does not exist;

步骤110,数字电视终端进入业务鉴权流程。Step 110, the digital TV terminal enters a service authentication process.

图4示出了本发明数字电视终端IPTV业务的鉴权实施例的流程示意,如图4所示,所述实施例包括以下步骤:Fig. 4 shows the schematic flow chart of the authentication embodiment of digital TV terminal IPTV service of the present invention, as shown in Fig. 4, described embodiment comprises the following steps:

步骤1,数字电视终端获取其IPTV业务所需的网络地址后,读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号;Step 1, after the digital TV terminal obtains the required network address of its IPTV service, read the IPTV service management platform address and the service account number of the IPTV service parameter stored in advance in the smart card;

本步骤中,数字电视终端还将IPTV业务参数的IPTV业务管理平台地址及业务账号保存到本地Flash中,以兼容智能卡不存在时的启动方式。一般地,为了安全性考虑,IPTV业务相关参数中的业务密码是不允许从智能卡中读出的,从而也不进行本地保存,当数字电视终端在智能卡不存在的情况进行启动时,则需要用户输入其业务密码信息。In this step, the digital TV terminal also saves the IPTV service management platform address and service account of the IPTV service parameters in the local Flash, so as to be compatible with the startup mode when the smart card does not exist. Generally, for security considerations, the service password in the IPTV service-related parameters is not allowed to be read from the smart card, so it is not stored locally. When the digital TV terminal starts without the smart card, the user needs to Enter its business password information.

步骤2,智能卡接收到数字电视终端的读取信息后,将其存储的IPTV业务管理平台地址及业务账号返回给数字电视终端;Step 2: After the smart card receives the read information from the digital TV terminal, it returns the stored IPTV service management platform address and service account number to the digital TV terminal;

步骤3,数字电视终端根据IPTV业务管理平台地址,通过超文本传输协议(Hyper Text Transfer Protocol,HTTP)中的HTTP Get方式向IPTV业务管理平台发送用户业务鉴权请求,又叫做用户认证请求;Step 3, the digital TV terminal sends a user service authentication request to the IPTV service management platform through the HTTP Get mode in the Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) according to the address of the IPTV service management platform, which is also called a user authentication request;

本步骤中,用户认证请求中包含有业务账号等参数。In this step, the user authentication request includes parameters such as a business account number.

步骤4,IPTV业务管理平台随机生成业务鉴权算法所需的参数;Step 4, the IPTV service management platform randomly generates the required parameters of the service authentication algorithm;

具体的,Encry Token字段为业务鉴权算法所需的参数之一;Specifically, the Encry Token field is one of the parameters required by the business authentication algorithm;

步骤5,IPTV业务管理平台通过HTTP响应的形式将业务鉴权算法所需的参数返回给数字电视终端;Step 5, the IPTV service management platform returns the required parameters of the service authentication algorithm to the digital TV terminal in the form of an HTTP response;

步骤6~7,数字电视终端接收IPTV业务管理平台返回的业务鉴权算法所需的参数,并将业务鉴权所需的参数发送给所述智能卡;Steps 6-7, the digital TV terminal receives the required parameters of the service authentication algorithm returned by the IPTV service management platform, and sends the required parameters of the service authentication to the smart card;

优选地,数字电视终端可以将获取的业务鉴权所需的参数形成参数串,以形成的参数串形式下发给智能卡;Preferably, the digital TV terminal can form a parameter string with the acquired parameters required for service authentication, and send it to the smart card in the form of the formed parameter string;

本步骤中,业务鉴权所需的参数包括:数字电视终端ID、用户账号、MAC地址、Encry Token字段等等;例如:所需的参数的参数串可以如下形成:Random+“$”+EncryToken+“$”+UserID+“$”+STBID+“$”+IP+“$”+MAC+“$”+Reserved+“$”+“CTC”。In this step, the parameters required for service authentication include: digital TV terminal ID, user account, MAC address, Encry Token field, etc.; for example: the parameter string of the required parameters can be formed as follows: Random+"$"+EncryToken+" $"+UserID+"$"+STBID+"$"+IP+"$"+MAC+"$"+Reserved+"$"+"CTC".

步骤8~9,智能卡运行预先存储的业务鉴权算法,将计算得到的业务鉴权值即认证字符串上传给数字电视终端;Steps 8-9, the smart card runs the pre-stored service authentication algorithm, and uploads the calculated service authentication value, that is, the authentication string, to the digital TV terminal;

具体地,智能卡将其预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数的参数串进行加密计算,得到的业务鉴权值即认证字符串,并将其上传给数字电视终端。Specifically, the smart card uses the service password of its pre-stored IPTV service parameters as an encryption key to encrypt and calculate the parameter string of the parameters required for the received service authentication, and the obtained service authentication value is the authentication string, and Upload it to the digital TV terminal.

步骤10,数字电视终端通过HTTP Post请求的方式将认证字符串上传给IPTV业务管理平台;Step 10, the digital TV terminal uploads the authentication character string to the IPTV service management platform by means of an HTTP Post request;

步骤11~12,IPTV业务管理平台对接收到的认证字符串进行验证,当接收到的认证字符串与IPTV业务管理平台自己计算出的业务鉴权值相同时,则判定认证通过,当认证通过时,通过HTTP响应的形式返回鉴权成功结果。Steps 11-12, the IPTV service management platform verifies the received authentication character string, when the received authentication character string is the same as the service authentication value calculated by the IPTV service management platform itself, it is determined that the authentication is passed, and when the authentication is passed , the successful authentication result is returned in the form of an HTTP response.

图5示出了本发明数字电视终端的具体结构示意,如图5所示,所述数字电视终端10包括智能卡控制单元11、检测单元12以及网络地址获取单元13。其中,检测单元12,用于数字电视终端10开机后,检测所述智能卡控制单元11是否存在智能卡;网络地址获取单元13,用于检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;并按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端10IPTV业务所需的网络地址。FIG. 5 shows the specific structure of the digital TV terminal of the present invention. As shown in FIG. 5 , the digital TV terminal 10 includes a smart card control unit 11 , a detection unit 12 and a network address acquisition unit 13 . Among them, the detection unit 12 is used to detect whether there is a smart card in the smart card control unit 11 after the digital TV terminal 10 is turned on; configuration parameters; and according to the network address access mode corresponding to the network address access mode flag bit of the network configuration parameter, obtain the network address required by the IPTV service of the digital TV terminal 10.

进一步地,所述智能卡用于存储网络配置参数和IPTV业务参数;相应地,所述数字电视终端10还包括业务鉴权单元14,用于读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号,并根据所述IPTV业务管理平台地址,向所述IPTV业务管理平台20发送用户业务鉴权请求;将IPTV业务管理平台20根据所述用户业务鉴权请求返回的业务鉴权所需的参数发送给所述智能卡;智能卡,具体用于运行业务鉴权算法,并将得到的业务鉴权值通过业务鉴权单元14发送给所述IPTV业务管理平台20。Further, the smart card is used to store network configuration parameters and IPTV service parameters; correspondingly, the digital TV terminal 10 also includes a service authentication unit 14, which is used to read the IPTV service parameters of the pre-stored IPTV service parameters in the smart card. Service management platform address and service account number, and according to the address of the IPTV service management platform, send a user service authentication request to the IPTV service management platform 20; The parameters required for authentication are sent to the smart card; the smart card is specifically used to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform 20 through the service authentication unit 14 .

进一步地,所述智能卡具体用于将其预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数进行加密计算,得到业务鉴权值。Further, the smart card is specifically configured to use its pre-stored service password of IPTV service parameters as an encryption key to encrypt and calculate received parameters required for service authentication to obtain a service authentication value.

进一步地,所述数字电视终端10还包括Flash 15,用于存储所述网络配置参数和IPTV业务参数;Further, the digital television terminal 10 also includes Flash 15, which is used to store the network configuration parameters and IPTV service parameters;

相应地,所述网络地址获取单元13,具体用于当检测单元12检测到智能卡控制单元11不存在智能卡时,读取所述Flash 15所存储的网络地址接入方式标志位。Correspondingly, the network address acquisition unit 13 is specifically used to read the network address access mode flag stored by the Flash 15 when the detection unit 12 detects that the smart card control unit 11 does not have a smart card.

进一步地,所述网络地址获取单元13具体用于当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取所述智能卡内预先存储的或Flash 15存储的IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取所述智能卡内预先存储的或Flash15存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为PPPoE时,读取所述智能卡内预先存储的或Flash 15存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过ADSL拨号方式获取动态IP地址作为所需的网络地址。Further, the network address acquisition unit 13 is specifically used to read the pre-stored or Flash 15 stored in the smart card when the network address access mode corresponding to the network address access mode flag bit is static IP. The IP address is used as the required network address; when the network address access method corresponding to the network address access mode flag bit is dynamic DHCP and does not require authentication, obtain the dynamic IP address from the network side as the required network address; When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and requires authentication, read the DHCP user name and password stored in advance in the smart card or Flash15, and authenticate, when When the authentication is passed, obtain the dynamic IP address from the network side as the required network address; when the network address access mode corresponding to the network address access mode flag bit is PPPoE, read the pre-stored or The PPPoE user name and password stored in Flash 15 are authenticated, and when the authentication is passed, the dynamic IP address is obtained through ADSL dial-up as the required network address.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (11)

1.一种数字电视终端互联网协议电视IPTV业务的方法,其特征在于,所述方法包括下述步骤:1. a method for digital television terminal Internet protocol television IPTV service, it is characterized in that, described method comprises the following steps: 开机后,检测所述数字电视终端的智能卡控制单元是否存在智能卡;After starting up, detect whether there is a smart card in the smart card control unit of the digital TV terminal; 所述检测所述数字电视终端的智能卡控制单元是否存在智能卡的方法为:当所述智能卡为大卡,并且未插入智能卡时,数字电视终端的插卡位置的卡托上具有高、低电平的两个触点处于闭合状态,数字电视终端检测到智能卡控制单元为低电平信号,判定不存在智能卡;当插入智能卡时,两个触点分离,数字电视终端检测到智能卡控制单元为高电平信号,判定存在智能卡;The method for detecting whether there is a smart card in the smart card control unit of the digital TV terminal is as follows: when the smart card is a large card and no smart card is inserted, the card holder at the card insertion position of the digital TV terminal has high and low levels When the two contacts of the smart card are closed, the digital TV terminal detects that the smart card control unit is a low-level signal, and it is determined that there is no smart card; when the smart card is inserted, the two contacts are separated, and the digital TV terminal detects that the smart card control unit is a high-level signal. Ping signal, it is determined that there is a smart card; 当所述智能卡为小卡时,智能卡控制单元连接所述智能卡的C7触点,数字电视终端通过智能卡控制单元连续进行至少一次读取数据操作,若均没有读到数据,判定不存在智能卡,反之判定智能卡存在;所述C7触点指代数据输入/输出接口;When the smart card is a small card, the smart card control unit is connected to the C7 contact of the smart card, and the digital TV terminal continuously performs at least one data reading operation through the smart card control unit. If no data is read, it is determined that there is no smart card, otherwise Determine that the smart card exists; the C7 contact refers to the data input/output interface; 当检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;When detecting that there is a smart card, read the pre-stored network configuration parameters in the smart card; 按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址,将网络配置参数保存到FLASH中,读取智能卡内预先存储的IPTV业务参数进入业务鉴权流程,将IPTV业务参数保存到FLASH中;According to the network address access mode corresponding to the network address access mode flag bit of the network configuration parameter, obtain the required network address of the digital TV terminal IPTV service, save the network configuration parameter in the FLASH, and read the smart card The pre-stored IPTV service parameters enter the service authentication process, and save the IPTV service parameters in FLASH; 当检测到不存在智能卡时,读取FLASH中预先存储的或所述保存的网络配置参数和IPTV业务参数,进行获取所需的网络地址和业务鉴权流程。When detecting that there is no smart card, read the pre-stored or saved network configuration parameters and IPTV service parameters in the FLASH to obtain the required network address and service authentication process. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 预先在所述智能卡内存储网络配置参数。The network configuration parameters are stored in the smart card in advance. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:预先在所述智能卡内存储IPTV业务参数;3. The method according to claim 1, further comprising: storing IPTV service parameters in the smart card in advance; 相应地,获取所述数字电视终端IPTV业务所需的网络地址之后还包括:Correspondingly, after obtaining the required network address of the digital TV terminal IPTV service, it also includes: 读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号,并根据所述IPTV业务管理平台地址,向所述IPTV业务管理平台发送用户业务鉴权请求;Read the IPTV service management platform address and service account of the IPTV service parameters pre-stored in the smart card, and send a user service authentication request to the IPTV service management platform according to the IPTV service management platform address; 接收IPTV业务管理平台根据所述用户业务鉴权请求返回的参数,并将业务鉴权所需的参数发送给所述智能卡;Receiving the parameters returned by the IPTV service management platform according to the user service authentication request, and sending the parameters required for service authentication to the smart card; 所述智能卡运行业务鉴权算法,并将得到的业务鉴权值通过所述数字电视终端发送给IPTV业务管理平台。The smart card runs a service authentication algorithm, and sends the obtained service authentication value to the IPTV service management platform through the digital TV terminal. 4.根据权利要求3所述的方法,其特征在于,所述智能卡运行业务鉴权算法具体为:将智能卡内预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数进行加密计算。4. The method according to claim 3, wherein the smart card operation service authentication algorithm is specifically: using the service password of the pre-stored IPTV service parameter in the smart card as an encryption key to authenticate the received service The required parameters for encrypted calculations. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述检测智能卡是否存在之后还包括:5. The method according to any one of claims 1 to 4, characterized in that, after the detection of whether the smart card exists, it also includes: 当检测到不存在智能卡时,读取所述FLASH所存储的网络地址接入方式标志位。When detecting that there is no smart card, read the network address access mode flag bit stored in the FLASH. 6.根据权利要求5所述的方法,其特征在于,所述按照所述网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址具体为:6. The method according to claim 5, wherein, according to the network address access mode corresponding to the network address access mode flag bit, the network address required for the IPTV service of the digital TV terminal is obtained. for: 当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取所述智能卡内预先存储的或FLASH存储的IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is static IP, read the IP address stored in advance or FLASH storage in the smart card as the required network address; 当所述网络地址接入方式标志位所对应的网络地址接入方式为动态主机设置协议DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is a dynamic host setting protocol DHCP and does not require authentication, obtain a dynamic IP address from the network side as a required network address; 当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取所述智能卡内预先存储的或FLASH存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;When the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and requires authentication, read the DHCP user name and password stored in advance in the smart card or FLASH storage, and perform authentication. When the authentication is passed, obtain a dynamic IP address from the network side as the required network address; 当所述网络地址接入方式标志位所对应的网络地址接入方式为以太网上的点到点协议PPPoE时,读取所述智能卡内预先存储的或FLASH存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过非对称数字用户环路ADSL拨号方式获取动态IP地址作为所需的网络地址。When the network address access mode corresponding to the network address access mode flag bit is the point-to-point protocol PPPoE on the Ethernet, read the PPPoE user name and password stored in advance in the smart card or FLASH storage, and perform Authentication, when the authentication is passed, the dynamic IP address is obtained as the required network address through the Asymmetric Digital Subscriber Loop ADSL dial-up mode. 7.一种数字电视终端,其特征在于,所述数字电视终端包括:智能卡控制单元、检测单元及网络地址获取单元;其中,7. A digital television terminal, characterized in that the digital television terminal comprises: a smart card control unit, a detection unit and a network address acquisition unit; wherein, 检测单元,用于开机后,检测所述智能卡控制单元是否存在智能卡;The detection unit is used to detect whether there is a smart card in the smart card control unit after starting up; 所述检测单元,具体用于当所述智能卡为大卡,并且未插入智能卡时,数字电视终端的插卡位置的卡托上具有高、低电平的两个触点处于闭合状态,检测到智能卡控制单元为低电平信号,判定不存在智能卡;当插入智能卡时,两个触点分离,检测到智能卡控制单元为高电平信号,判定存在智能卡;当所述智能卡为小卡时,智能卡控制单元连接所述智能卡的C7触点,通过智能卡控制单元连续进行至少一次读取数据操作,若均没有读到数据,判定不存在智能卡,反之判定智能卡存在;所述C7触点指代数据输入/输出接口;The detection unit is specifically used to detect that when the smart card is a large card and the smart card is not inserted, the two contacts with high and low levels on the card holder at the card insertion position of the digital TV terminal are in a closed state. When the smart card control unit is a low-level signal, it is determined that there is no smart card; when the smart card is inserted, the two contacts are separated, and it is detected that the smart card control unit is a high-level signal, and it is determined that there is a smart card; when the smart card is a small card, the smart card The control unit is connected to the C7 contact of the smart card, and the smart card control unit continuously performs at least one data reading operation. If no data is read, it is determined that there is no smart card, otherwise it is determined that the smart card exists; the C7 contact refers to data input /Output Interface; 网络地址获取单元,用于检测到存在智能卡时,读取所述智能卡内预先存储的网络配置参数;并按照所述网络配置参数的网络地址接入方式标志位所对应的网络地址接入方式,获取所述数字电视终端IPTV业务所需的网络地址,将网络配置参数保存到FLASH中,读取智能卡内预先存储的IPTV业务参数进入业务鉴权流程,将IPTV业务参数保存到FLASH中;The network address acquisition unit is used to read the pre-stored network configuration parameters in the smart card when detecting the presence of the smart card; and according to the network address access mode corresponding to the network address access mode flag bit of the network configuration parameters, Obtain the required network address of the digital TV terminal IPTV service, save the network configuration parameters in the FLASH, read the pre-stored IPTV service parameters in the smart card to enter the service authentication process, and save the IPTV service parameters in the FLASH; 当检测到不存在智能卡时,读取FLASH中预先存储的或上述保存的网络配置参数和IPTV业务参数,进行获取所需的网络地址和业务鉴权流程。When it is detected that there is no smart card, read the network configuration parameters and IPTV service parameters pre-stored in the FLASH or the above-mentioned preservation, and obtain the required network address and service authentication process. 8.根据权利要求7所述的数字电视终端,其特征在于,所述智能卡用于存储网络配置参数和IPTV业务参数;8. The digital television terminal according to claim 7, wherein the smart card is used for storing network configuration parameters and IPTV service parameters; 相应地,所述数字电视终端还包括业务鉴权单元,用于读取所述智能卡内预先存储的IPTV业务参数的IPTV业务管理平台地址及业务账号,并根据所述IPTV业务管理平台地址,向所述IPTV业务管理平台发送用户业务鉴权请求;将IPTV业务管理平台根据所述用户业务鉴权请求返回的业务鉴权所需的参数发送给所述智能卡;Correspondingly, the digital TV terminal also includes a service authentication unit, which is used to read the IPTV service management platform address and service account of the IPTV service parameters pre-stored in the smart card, and send the IPTV service management platform address to the The IPTV service management platform sends a user service authentication request; the IPTV service management platform sends the parameters required for service authentication returned by the user service authentication request to the smart card; 智能卡,具体用于运行业务鉴权算法,并将得到的业务鉴权值通过业务鉴权单元发送给所述IPTV业务管理平台。The smart card is specifically used to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform through the service authentication unit. 9.根据权利要求8所述的数字电视终端,其特征在于,所述智能卡具体用于将其预先存储的IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的参数进行加密计算,得到业务鉴权值。9. The digital television terminal according to claim 8, wherein the smart card is specifically used to use the service password of its pre-stored IPTV service parameters as an encryption key to obtain parameters required for the received service authentication. Encryption calculation is performed to obtain the service authentication value. 10.根据权利要求8所述的数字电视终端,其特征在于,所述网络地址获取单元,具体用于当检测单元检测到智能卡控制单元不存在智能卡时,读取所述FLASH所存储的网络地址接入方式标志位。10. The digital television terminal according to claim 8, wherein the network address acquiring unit is specifically configured to read the network address stored in the FLASH when the detection unit detects that the smart card control unit does not have a smart card Access mode flag. 11.根据权利要求7至10任一项所述的数字电视终端,其特征在于,所述网络地址获取单元具体用于当所述网络地址接入方式标志位所对应的网络地址接入方式为静态IP时,读取所述智能卡内预先存储的或FLASH存储的IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且不需要认证时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为动态DHCP且需要认证时,读取所述智能卡内预先存储的或FLASH存储的DHCP用户名、密码,并进行认证,当认证通过时,从网络侧获取动态IP地址作为所需的网络地址;当所述网络地址接入方式标志位所对应的网络地址接入方式为PPPoE时,读取所述智能卡内预先存储的或FLASH存储的PPPoE用户名、密码,并进行认证,当认证通过时,通过ADSL拨号方式获取动态IP地址作为所需的网络地址。11. The digital television terminal according to any one of claims 7 to 10, wherein the network address obtaining unit is specifically configured to: when the network address access mode corresponding to the network address access mode flag bit is When static IP, read the IP address stored in advance or FLASH storage in the smart card as the required network address; when the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and does not need During authentication, obtain the dynamic IP address from the network side as required network address; Stored or FLASH stored DHCP user name, password, and authenticate, when the authentication is passed, obtain the dynamic IP address from the network side as the required network address; when the network address corresponding to the network address access mode flag bit When the access mode is PPPoE, read the PPPoE user name and password stored in advance or FLASH in the smart card, and perform authentication, and when the authentication is passed, obtain the dynamic IP address as the required network address through the ADSL dial-up mode.
CN201010509951.3A 2010-10-14 2010-10-14 Digital television terminal and use method of Internet Protocol Television business thereof Expired - Fee Related CN102036112B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010509951.3A CN102036112B (en) 2010-10-14 2010-10-14 Digital television terminal and use method of Internet Protocol Television business thereof
PCT/CN2011/079102 WO2012048605A1 (en) 2010-10-14 2011-08-30 Digital television terminal and method for using internet protocol television service thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010509951.3A CN102036112B (en) 2010-10-14 2010-10-14 Digital television terminal and use method of Internet Protocol Television business thereof

Publications (2)

Publication Number Publication Date
CN102036112A CN102036112A (en) 2011-04-27
CN102036112B true CN102036112B (en) 2014-07-16

Family

ID=43888325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010509951.3A Expired - Fee Related CN102036112B (en) 2010-10-14 2010-10-14 Digital television terminal and use method of Internet Protocol Television business thereof

Country Status (2)

Country Link
CN (1) CN102036112B (en)
WO (1) WO2012048605A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036112B (en) * 2010-10-14 2014-07-16 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof
CN102368828B (en) * 2011-12-01 2014-06-25 青岛海信宽带多媒体技术有限公司 Network configuration method and system of internetwork digital television
WO2014000191A1 (en) * 2012-06-27 2014-01-03 中兴通讯股份有限公司 Subscriber identity module card, mobile station, and method and system for managing subscriber three-layer protocol information
CN102932612A (en) * 2012-11-07 2013-02-13 深圳Tcl新技术有限公司 Method and system for adjusting user-oriented image quality of television
CN103618971A (en) * 2013-11-15 2014-03-05 四川长虹电器股份有限公司 Method for setting TV set network configuration information intelligently
CN104702495B (en) * 2013-12-09 2018-09-11 中国电信股份有限公司 The method of home gateway and its Auto-matching usage scenario
CN106612189B (en) * 2015-10-22 2019-11-22 鸿富锦精密电子(天津)有限公司 Computer techno-stress property setting method
EP4332808A1 (en) * 2022-08-31 2024-03-06 Thales Dis Cpl Usa, Inc. End to end trusted hsm setup using secure device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845488A (en) * 2005-04-06 2006-10-11 华为技术有限公司 Realization method for carrying out network television authentication using smart card
CN101094383A (en) * 2007-07-09 2007-12-26 中国网络通信集团公司 IPTV authentication and authorization method, server and system
CN101098477A (en) * 2007-07-18 2008-01-02 中国网络通信集团公司 Set up box initialization network parameter setting method, IPTV SIM card and set up box
US20080244710A1 (en) * 2007-03-28 2008-10-02 Telefonaktiebolaget Lm Ericsson (Publ) Methods and systems for authentication using ip multimedia services identity modules
CN101316353A (en) * 2008-06-03 2008-12-03 中国网络通信集团公司 Set-top box parameter configuration method, subscriber identification card and set-top box

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036112B (en) * 2010-10-14 2014-07-16 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845488A (en) * 2005-04-06 2006-10-11 华为技术有限公司 Realization method for carrying out network television authentication using smart card
US20080244710A1 (en) * 2007-03-28 2008-10-02 Telefonaktiebolaget Lm Ericsson (Publ) Methods and systems for authentication using ip multimedia services identity modules
CN101094383A (en) * 2007-07-09 2007-12-26 中国网络通信集团公司 IPTV authentication and authorization method, server and system
CN101098477A (en) * 2007-07-18 2008-01-02 中国网络通信集团公司 Set up box initialization network parameter setting method, IPTV SIM card and set up box
CN101316353A (en) * 2008-06-03 2008-12-03 中国网络通信集团公司 Set-top box parameter configuration method, subscriber identification card and set-top box

Also Published As

Publication number Publication date
WO2012048605A1 (en) 2012-04-19
CN102036112A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
CN102036112B (en) Digital television terminal and use method of Internet Protocol Television business thereof
US9516019B2 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
KR101504855B1 (en) Method for exporting on a secure server data comprised on a uicc comprised in a terminal
CN105933888B (en) An NFC-based eSIM card burning method and device
CN103812728A (en) Network diagnostic method, system and router
CN104737566B (en) Method for importing user identity data into the user identity module
CN101399726B (en) Method for WLAN terminal authentication
WO2008025485A1 (en) A communication method between a handset device and ic cards
US20040147251A1 (en) Communication terminal, value entity providing server, application delivery server, electronic procurement supporting method, and electronic procurement supporting program
CN1855812B (en) Method and equipment for preventing MAC address from being counterfeited
RU2015114703A (en) TELECOMMUNICATION CHIP CARD
CN101605325A (en) The method of authentication and portable terminal, server and identity authorization system
EP2646942A1 (en) Method for providing a user with an authenticated remote access to a remote secure device
CN101170823A (en) Authentication method between subscriber identity module and terminal
CN102469452B (en) The method and apparatus of mobile terminal contactless communication
CN102833102B (en) Customer premise equipment system of set-card separated type gateway and data configuration management method
US20020104016A1 (en) Network router
CN102667806A (en) Chip card, electronic system and method performed by chip card and computer program product
JP2024532776A (en) Method in Secure Element
CN101567883A (en) Realization method for preventing MAC address forgery
WO2024108933A1 (en) Communication method of wearable device, wearable device, and machine-readable storage medium
CN106982191A (en) Embedded Credential-Security authentication communication mechanism for business WiFi
CN106937283B (en) Password-free authentication method and device for dual-card dual-standby terminal
CN103369721A (en) Wireless communication module and operation method thereof
CN105228127B (en) A kind of method, apparatus that realizing mobile phone lock network, SIM card and terminal

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

Granted publication date: 20140716

CF01 Termination of patent right due to non-payment of annual fee