WO2012048605A1 - Digital television terminal and method for using internet protocol television service thereof - Google Patents

Digital television terminal and method for using internet protocol television service thereof Download PDF

Info

Publication number
WO2012048605A1
WO2012048605A1 PCT/CN2011/079102 CN2011079102W WO2012048605A1 WO 2012048605 A1 WO2012048605 A1 WO 2012048605A1 CN 2011079102 W CN2011079102 W CN 2011079102W WO 2012048605 A1 WO2012048605 A1 WO 2012048605A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart card
network address
access mode
service
authentication
Prior art date
Application number
PCT/CN2011/079102
Other languages
French (fr)
Chinese (zh)
Inventor
陈敬海
范建国
谢俊杰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012048605A1 publication Critical patent/WO2012048605A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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

Definitions

  • the present invention relates to the field of Internet Protocol Television (IPTV) service technologies, and in particular, to a digital television terminal and a method for using the same.
  • IPTV Internet Protocol Television
  • the telecommunications installer or the user needs to use the remote controller to input the network configuration information of the IPTV service and the IPTV service related parameters to the digital television terminal.
  • the digital television terminal After receiving the information input by the user, the digital television terminal stores the information in the local flash memory (Flash).
  • flash the local flash memory
  • the network configuration information, the IPTV service related parameters, and the like are read out from the Flash, and the network is accessed and performed. After the service is authenticated, it accesses the IPTV service management platform.
  • the above method has the following problems: inputting network configuration information, service related parameters, etc. through the remote controller, the input speed is slow, and error is easy; when multiple users need to use the same digital television terminal together, each user is reused again.
  • Digital TV terminals need to re-enter their business-related parameters, because currently each digital TV terminal can only save one user's relevant parameters; in particular, when the digital TV terminal fails and needs to be replaced, it will also face the need to re-enter the network configuration. Problems such as information; Due to the differences in service authentication of different operators, service authentication through digital TV terminals makes the versatility of digital TV terminals more restricted. Summary of the invention
  • the main object of the present invention is to provide a digital television terminal and a method for using the same, and realize flexible use of the digital television terminal.
  • a method for IPTV service of a digital television terminal comprising: After the power is turned on, detecting whether the digital television terminal has a smart card;
  • the network configuration parameter pre-stored in the smart card is read; and the IPTV service of the digital television terminal is obtained according to the network address access mode corresponding to the network address access mode flag of the network configuration parameter.
  • the required network address is the network address access mode corresponding to the network address access mode flag of the network configuration parameter.
  • the method further includes: storing network configuration parameters in the smart card in advance. Further, the method further includes: pre-storing the IPTV service parameter in the smart card; and correspondingly, after acquiring the network address required for the IPTV service of the digital television terminal, the method further includes:
  • the smart card runs a service authentication algorithm, and sends the obtained service authentication value to the IPTV service management platform through the digital television terminal.
  • the smart card running service authentication algorithm specifically includes: using a service password of the IPTV service parameter pre-stored in the smart card as an encryption key, and performing encryption calculation on parameters required for the received service authentication.
  • the method further includes: storing the network configuration parameter and the IPTV service parameter in a flash memory;
  • the method further includes: when detecting that the smart card does not exist, reading the network address access mode flag stored by the Flash.
  • the network address required to obtain the IPTV service of the digital television terminal according to the network address access mode corresponding to the network address access mode flag is:
  • the network address access mode flag corresponding to the network address access mode is static IP Reading the pre-stored or flash-stored IP address in the smart card as a required network address;
  • the dynamic IP address is obtained from the network side as the required network address;
  • DHCP Dynamic Host Setup Protocol
  • the network address access mode corresponding to the network address access mode flag is dynamic DHCP and requires authentication
  • the DHCP user name and password stored in the smart card or stored in the flash card are read and authenticated.
  • the authentication is passed, the dynamic IP address is obtained from the network side as the required network address;
  • the network address access mode corresponding to the network address access mode flag is a point-to-point protocol (PPPoE) on the Ethernet
  • PPPoE point-to-point protocol
  • the pre-stored or flash-stored PPPoE user name and password in the smart card are read.
  • the authentication is performed.
  • the dynamic IP address is obtained through the asymmetric digital subscriber loop (ADSL) dialing method as the required network address.
  • ADSL asymmetric digital subscriber loop
  • a digital television terminal includes: a smart card control unit, a detection unit, and a network address acquisition unit;
  • a detecting unit configured to detect whether the smart card control unit has a smart card after being turned on; and a network address obtaining unit, configured to read a pre-stored network configuration parameter in the smart card when the smart card is detected; and according to the network configuration
  • the network address access mode corresponding to the network address access mode flag of the parameter, and the network address required for the IPTV service of the digital television terminal is obtained.
  • the smart card is configured to store network configuration parameters and IPTV service parameters.
  • the digital television terminal further includes a service authentication unit, configured to read an IPTV service of the IPTV service parameters pre-stored in the smart card. And managing the platform address and the service account, and sending a user service authentication request to the IPTV service management platform according to the address of the IPTV service management platform; and returning the service returned by the IPTV service management platform according to the user service authentication request The parameters required for authentication are sent to the smart card;
  • the smart card is specifically configured to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform by using a service authentication unit.
  • the smart card is specifically configured to use the service password of the IPTV service parameter stored in advance as an encryption key, and perform encryption calculation on the parameters required for the received service authentication, to obtain a service authentication value.
  • the digital television terminal further includes a Flash, configured to store the network configuration parameter and the IPTV service parameter;
  • the network address obtaining unit is configured to: when the detecting unit detects that the smart card control unit does not have a smart card, read the network address access mode flag stored by the flash.
  • the network address obtaining unit is configured to: when the network address access mode corresponding to the network address access mode flag bit is a static IP address, read the pre-stored or flash-stored IP address in the smart card.
  • the address is the required network address; when the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, the dynamic IP address is obtained from the network side as the required network address;
  • the network address access mode corresponding to the network address access mode flag bit is dynamic DHCP and needs to be authenticated, the DHCP user name and password stored in the smart card or stored in the flash card are read and authenticated, and the authentication is performed.
  • the dynamic IP address is obtained 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, the pre-stored or flash in the smart card is read. The stored PPPoE user name and password are authenticated. When the authentication is passed, the ADSL dial-up method is obtained. Dynamic IP address as required network address.
  • the invention stores the network configuration parameters and the IPTV service related parameters on the smart card, and the digital television terminal obtains the network address by reading the information stored by the smart card, runs the service authentication algorithm through the smart card, implements service authentication, and then accesses the IPTV.
  • Business management platform avoiding communication The problem of slow speed and error caused by the input parameters of the remote control, and when multiple users share a digital TV terminal, only need to replace their respective smart cards, and the digital TV terminal is still compatible with the startup mode without the smart card, so that Digital TV terminals are more versatile and more flexible.
  • FIG. 1 is a schematic structural diagram of a frame of a digital television terminal according to the present invention.
  • FIG. 2 is a schematic diagram of a file system structure of an STB-SIM card in an IPTV service according to the present invention
  • FIG. 3 is a schematic flow chart of an embodiment of a method for using an IPTV service of a digital television terminal according to the present invention
  • FIG. 4 is a schematic flowchart of an authentication embodiment of an IPTV service of a digital television terminal according to the present invention
  • FIG. 5 is a schematic structural diagram of a digital television terminal according to the present invention. detailed description
  • the basic idea of the present invention is: after booting, detecting whether a smart card control unit of the digital television terminal has a smart card; when detecting the presence of the smart card, reading a network configuration parameter pre-stored in the smart card; according to the network configuration parameter The network address access mode corresponding to the network address access mode flag bit, and the network address required for the IPTV service of the digital television terminal is obtained.
  • FIG. 1 is a schematic diagram showing the structure of a digital television terminal provided by the present invention. As shown in FIG. 1, storing network configuration parameters and IPTV service related parameters to a smart card.
  • the digital television terminal 10 detects that the smart card control unit 11 has a smart card, and realizes the access and authentication of the IPTV service management platform and other information by reading and writing the smart card;
  • the compatibility of the digital TV terminal of the smart card when the digital television terminal 10 does not detect the smart card, obtains information such as network configuration parameters and IPTV service related parameters from the original flash memory 15 configuration partition, and realizes access to the IPTV service management platform. Storage of authentication, and other information.
  • the smart card may be a Subscriber Identity Module (SIM) card, and the SIM card is a smart chip card with a processor.
  • SIM Subscriber Identity Module
  • the 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.
  • SIM cards In actual use, SIM cards usually have two categories that have the same function but different forms:
  • ID-1 SIM card type SIM card (commonly known as big card), size 54mm*35mm, the same size as credit card, this form of SIM card conforms to IC card International Organization for Standardization / International Electrotechnical Commission ISO/IEC 7816- 1,2 (ISO/IEC 7816-1, 2) standard, similar to IC cards;
  • Plug-in SIM embedded SIM card (commonly known as small card), whose size is only 25mm* 15mm, is a card that is semi-permanently loaded into mobile devices.
  • the SIM card of the mobile phone user application in the mobile device is For embedded SIM cards.
  • the data stored in the SIM card can be divided into four categories:
  • the service password stored in the SIM card can be protected by an authentication key (KI).
  • KI authentication key
  • the storage, authentication and encryption algorithms are used to migrate the service authentication algorithm in the original digital television terminal.
  • LAI Location Area Identifier
  • TMSI Mobile Subscriber Temporary Identifier
  • PIN personal identification number
  • PKI unlock code
  • billing rate billing rate
  • Phone Book This is the phone number that mobile devices such as mobile phone users can enter at any time. 3, electrical interface
  • SIM cards generally have 8 contacts, usually mobile devices such as digital TV terminals, which require 6 of them, as defined in Table 1:
  • the SIM card is powered by an external device such as a digital TV terminal.
  • the electrical signal and transmission protocol need to be consistent with ISO/IEC 7816-3 (ISO/IEC 7816-3).
  • ISO/IEC 7816-3 ISO/IEC 7816-3
  • Asynchronous half-duplex characters are used in the protocol.
  • the transmission protocol which adopts multiple sampling decisions for each bit of data, improves the anti-interference ability of the interface, and is based on the error detection and retransmission mechanism of the character frame, thereby greatly improving the efficiency.
  • the parameters pre-stored by the smart card of the digital television terminal include network configuration parameters and IPTV service related parameters;
  • the network configuration parameters include: a network address access mode flag, a static IP address parameter, a Dynamic Host Configuration Protocol (DHCP) parameter, and a Point-to-Point Protocol over Ethernet protocol. , PPPoE ) Parameters, etc.
  • DHCP Dynamic Host Configuration Protocol
  • PPPoE Point-to-Point Protocol over Ethernet protocol.
  • the network address access mode corresponding to the network address access mode flag includes: static IP, dynamic DHCP, and no authentication, dynamic DHCP, authentication, and PPPoE.
  • the static IP address parameters include: IP address, mask, and gateway.
  • the DHCP parameters include: DHCP username and password;
  • PPPoE parameters include: PPPoE user name and password.
  • the IPTV service related parameters include: IPTV service management platform address, service account number, and service password.
  • the software characteristic of the SIM card of the digital television terminal in the present invention is extended on the basis of the file system of the SIM card of the mobile terminal, such as a mobile phone, so that it can support the IPTV service.
  • the digital television terminal in the present invention can be a set top box ( Set Top Box, STB), STB's smart card is STB-SIM card at this time; STB-SIM card can use new microcontroller and memory management structure to enhance its processing function.
  • Each rectangular box in Figure 2 represents a file, which mainly includes MF (Master File), DF (Dedicated File) and EF (Elementary File) 0 MF.
  • DF Master File
  • DF Dedicated File
  • EF Electronic File
  • the file identifiers include: 3F: main file; 7F: first layer special file; 5F: second layer special file; 2F: basic file under the main file; 6F: basic file under the first layer special file; 4F: Basic files under the second layer of special files, etc.
  • the file consists of a header for the internal management of the SIM card and an optional body.
  • the header information includes the structure and attributes of the file, which can be obtained by using the GET RESPONSE or STATUS command, which is fixed during the management phase, and the body of the file includes the data for the file.
  • the file storage in the STB-SIM card of the embodiment of the present invention is specifically referred to FIG. 2, and the text in FIG. 2 is bold.
  • the rectangular box represents the file used by it. It uses only one layer of DF, that is, the first layer of dedicated file 7F. All IPTV files of IPTV are stored in the first layer of DFIPTV ( 7FD1 ); six are added under DFIPTV.
  • Related EF files :
  • EFSIPA Static IP address parameters, including IP, mask, gateway, DNS address, etc.
  • EFPPPoE (6F03): PPPoE parameters, including PPPoE user name, password, etc.
  • EFDHCP (6F04): DHCP parameters, including DHCP username, password, etc.
  • EFSMPA IPTV service management platform address
  • EFISNM Business account for IPTV.
  • FIG. 3 is a flow chart showing an embodiment of a method for using an IPTV service of a digital television terminal according to the present invention. As shown in FIG. 3, the embodiment includes the following steps:
  • Step 101 After the digital television terminal is powered on, it is detected whether the smart card control unit has a smart card, if yes, step 103 is performed; otherwise, step 102 is performed;
  • the smart card When the user needs to use the IPTV service, the smart card can be inserted into the smart card control unit, where the smart card stores the network configuration parameters of the user, the IPTV service related parameters, and the like, and the smart card control unit reads the information stored by the smart card through the C7 contact of the smart card.
  • the meaning of the smart card contacts can be referred 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 position of the digital television terminal has a card tray. At this time, the digital television terminal can mechanically detect whether the smart card control unit has a smart card.
  • the card has two contacts at the high and low levels, and the smart card control unit is connected to the high level contact. When the smart card is not inserted, the two contacts are in the closed state, and the digital television terminal detects that the smart card control unit is low.
  • the digital television terminal detects that the smart card control unit is a high level signal, and determines that there is a smart card;
  • the digital television terminal detects whether the smart card control unit has a smart card by reading the smart card data: the smart card control unit connects the C7 contact of the smart card, and the digital television terminal continuously performs the multiple times through the smart card control unit.
  • the data reading operation if no data is read, determines that there is no smart card, otherwise it is determined to exist; preferably, the digital television terminal can perform the operation of reading data three times in succession.
  • Step 102 The digital television terminal starts in a manner that does not have a smart card, reads network configuration parameters saved in the local Flash, and obtains a network address required for the IPTV service according to the network address access mode flag in the network configuration parameter.
  • the IP address stored in the flash is read as the required network address
  • the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication
  • the network address access mode flag When the network address access mode corresponding to the bit is dynamic DHCP and authentication is required, the DHCP user name and password stored in the flash are read and authenticated.
  • the authentication is passed, the dynamic IP address is obtained from the network side as the required network address.
  • the network address access mode corresponding to the network address access mode flag is PPPoE
  • the PPPoE user name and password stored in the flash are read and authenticated, and when the authentication is passed, the asymmetric digital subscriber loop is adopted.
  • Asymmetric Digital Subscriber Line, ADSL dials the way to obtain the dynamic IP address as the required network address.
  • Step 103 When detecting the presence of the smart card, the digital television terminal reads the network configuration parameter pre-stored in the smart card;
  • the digital television terminal specifically reads the network address access mode flag of the network configuration parameter pre-stored in the smart card, where the network address access mode corresponding to the network address access mode flag bit includes a static IP address, Dynamic DHCP does not require authentication, dynamic DHCP, and requires authentication and PPPoE; Specifically, when the network address access mode corresponding to the network address access mode flag read by the digital television terminal is a static IP, step 104 is performed; when the network address access mode flag corresponding to the network address access mode is dynamic When DHCP is required and authentication is required, step 105 is performed. When the network address access mode corresponding to the network address access mode flag is dynamic DHCP and authentication is not required, step 106 is performed; when the network address access mode flag bit corresponds to the network address When the access mode is PPPoE, go to step 107.
  • the network address access mode corresponding to the network address access mode flag bit includes a static IP address, Dynamic DHCP does not require authentication, dynamic DHCP, and requires authentication and PPPoE;
  • Step 104 the digital television terminal reads the pre-stored IP address in the smart card as the network address required for the IPTV service, and then proceeds to step 109;
  • Step 105 The digital television terminal reads the pre-stored DHCP username and password in the smart card, and performs authentication. When the authentication is passed, step 106 is performed. Otherwise, the process ends.
  • Step 106 the digital television terminal obtains the dynamic IP address from the network side as the network address required for the IPTV service, and performs step 109;
  • Step 107 The digital television terminal reads the pre-stored PPPoE user name and password in the smart card, and performs authentication. When the authentication is passed, step 108 is performed. Otherwise, the process ends.
  • Step 108 The digital television terminal obtains the dynamic IP address as the network address required for the IPTV service by using the ADSL dialing method, and performs step 109;
  • Step 109 The digital television terminal saves the network configuration parameter to the local flash memory to be compatible with the startup mode when the smart card does not exist;
  • Step 110 The digital television terminal enters a service authentication process.
  • FIG. 4 is a schematic flowchart showing an authentication embodiment of an IPTV service of a digital television terminal according to the present invention. As shown in FIG. 4, the embodiment includes the following steps:
  • Step 1 After the digital television terminal obtains the network address required for the IPTV service, and reads the IPTV service management platform address and the service book in the IPTV service parameter pre-stored in the smart card, the digital television terminal also has the IPTV service parameter. IPTV service management platform The address and business account are saved to the local Flash to be compatible with the startup mode when the smart card does not exist. Generally, for security reasons, the service password in the IPTV service related parameters is not allowed to be read from the smart card, and thus is not locally saved. When the digital television terminal starts up in the absence of the smart card, the user is required. Enter their business password information.
  • Step 2 After receiving the read information of the digital television terminal, the smart card returns the stored IPTV service management platform address and the service account to the digital television terminal;
  • Step 3 The digital television terminal sends a user service authentication request to the IPTV service management platform by using an HTTP Get (Get) method in the Hyper Text Transfer Protocol (HTTP) according to the address of the IPTV service management platform, which is also called user authentication.
  • HTTP Hyper Text Transfer Protocol
  • the user authentication request includes parameters such as a service account.
  • Step 4 The IPTV service management platform randomly generates parameters required by the service authentication algorithm. Specifically, the Encry Token field is one of parameters required by the service authentication algorithm.
  • Step 5 The IPTV service management platform returns the parameters required by the service authentication algorithm to the digital television terminal in the form of an HTTP response;
  • Steps 6-7 the digital television terminal receives the parameters required by the service authentication algorithm returned by the IPTV service management platform, and sends the parameters required for the service authentication to the smart card;
  • the digital television terminal can form the parameter string required for the obtained service authentication into a parameter string, and send the parameter string to the smart card in the form of a parameter string;
  • 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 as follows: Random+"$"+EncryToken+”$ "+UserID+”$"+STBID+”$"+IP+”$"+MAC+”$”+ Reserved+”$"+ “CTC,,.
  • Step 8 ⁇ 9 the smart card runs a pre-stored service authentication algorithm, and uploads the calculated service authentication value, that is, the authentication string, to the digital television terminal;
  • the smart card uses the service password of the IPTV service parameter stored in advance as an encryption key, and performs encryption calculation on the parameter string of the parameter required for the received service authentication, and the obtained service is obtained.
  • the authentication value is the authentication string and is uploaded to the digital TV terminal.
  • Step 10 The digital television terminal uploads the authentication string to the IPTV service management platform by using a HTTP (Post) request.
  • Steps 11 to 12 the IPTV service management platform verifies the received authentication string.
  • the received authentication string is the same as the service authentication value calculated by the IPTV service management platform, the authentication is passed.
  • the successful result of the authentication is returned in the form of an HTTP response.
  • Fig. 5 shows a detailed structural diagram of the digital television terminal of the present invention.
  • the digital television terminal 10 includes a smart card control unit 11, a detecting unit 12, and a network address obtaining unit 13.
  • the detecting unit 12 is configured to detect whether the smart card control unit 11 has a smart card after the digital television terminal 10 is powered on.
  • the network address obtaining unit 13 is configured to read a pre-stored network in the smart card when detecting the presence of the smart card. And configuring a parameter; and obtaining a network address required for the IPTV service of the digital television terminal 10 according to the network address access mode corresponding to the network address access mode flag of the network configuration parameter.
  • the smart card is configured to store network configuration parameters and IPTV service parameters.
  • the digital television terminal 10 further includes a service authentication unit 14 for reading an IPTV service parameter pre-stored in the smart card.
  • the service management platform address and the service account, and sending a user service authentication request to the IPTV service management platform 20 according to the address of the IPTV service management platform; and returning the service returned by the IPTV service management platform 20 according to the user service authentication request
  • the parameters required for the authentication are sent to the smart card.
  • the smart card is specifically configured to run the service authentication algorithm, and the obtained service authentication value is sent to the IPTV service management platform 20 through the service authentication unit 14.
  • the smart card is specifically configured to use the service password of the IPTV service parameter stored in advance as an encryption key, and perform encryption calculation on the parameters required for the received service authentication to obtain a service authentication value.
  • the digital television terminal 10 further includes a flash memory 15 for storing the network configuration parameters and IPTV service parameters.
  • the network address obtaining unit 13 is specifically configured to read the network address access mode flag stored in the flash memory 15 when the detecting unit 12 detects that the smart card control unit 11 does not have a smart card.
  • the network address obtaining unit 13 is specifically configured to: when the network address access mode corresponding to the network address access mode flag is static IP, read the pre-stored or flash 15 stored in the smart card.
  • the IP address is used as the required network address; when the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, the dynamic IP address is obtained from the network side as the required network address;
  • the network address access mode corresponding to the network address access mode flag is dynamic DHCP and authentication is required, the DHCP user name and password stored in the smart card or stored in the flash memory 15 are read and authenticated.
  • the dynamic IP address is obtained 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, the pre-stored in the smart card is read. Or the flash port 15 stores the PPPoE username and password, and performs authentication. When the authentication is passed, the ADSL dialer is used. Required to obtain a dynamic IP address as a network address.
  • the invention stores the network configuration parameters and the IPTV service related parameters on the smart card, and the digital television terminal obtains the network address by reading the information stored by the smart card, runs the service authentication algorithm through the smart card, implements service authentication, and then accesses the IPTV.
  • the business management platform avoids the problems of slow speed and error-prone caused by inputting parameters through the remote controller, and when multiple users share a digital television terminal, only need to replace their respective smart cards, and the digital television terminal is still compatible.
  • the way the smart card is activated makes the digital TV terminal more versatile and more flexible.

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

The present invention provides a digital television terminal and a method for using an IPTV service thereof. The method comprises: after booting, detecting whether a digital television terminal has a smart card; reading a network configuration parameter stored in the smart card if it is detected that the smart card exists; and obtaining a network address required by a digital television terminal IPTV service according to a network address access manner corresponding to a network address access manner flag bit of the network configuration parameter. According to the present invention, the network configuration parameter and IPTV service parameter are stored in the smart card, the network address is obtained by reading information stored in the smart card, and service authentication is implemented, so as to enter an IPTV service management platform, thereby avoiding the problem caused by parameter input through a remote control. Furthermore, when multiple users share a digital television terminal, only the smart card needs to be changed, and meanwhile starting up without any smart card is also allowed, thereby improving versatility and application flexibility of the digital television terminal.

Description

数字电视终端及其互联网协议电视业务的使用方法 技术领域  Method for using digital television terminal and its internet protocol television service
本发明涉及互联网协议电视 ( Internet Protocol Television, IPTV )业务 技术领域, 尤其涉及一种数字电视终端及其 IPTV业务的使用方法。 背景技术  The present invention relates to the field of Internet Protocol Television (IPTV) service technologies, and in particular, to a digital television terminal and a method for using the same. Background technique
目前 IPTV业务在安装和使用时,需要电信安装人员或用户使用遥控器 对数字电视终端输入 IPTV业务的网络配置信息、 IPTV业务相关参数等。 数字电视终端接收到用户输入的这些信息后, 存放到本地闪存(Flash )中, 当数字电视终端再次启动时, 从 Flash中读出网络配置信息、 IPTV业务相 关参数等后, 接入网络并进行业务鉴权后, 接入到 IPTV业务管理平台。  At present, when the IPTV service is installed and used, the telecommunications installer or the user needs to use the remote controller to input the network configuration information of the IPTV service and the IPTV service related parameters to the digital television terminal. After receiving the information input by the user, the digital television terminal stores the information in the local flash memory (Flash). When the digital television terminal starts up again, the network configuration information, the IPTV service related parameters, and the like are read out from the Flash, and the network is accessed and performed. After the service is authenticated, it accesses the IPTV service management platform.
然而, 上述方法存在如下问题: 通过遥控器输入网络配置信息、 业务 相关参数等, 输入速度较慢, 而且容易出错; 当多个用户需要共同使用同 一个数字电视终端时, 每个用户再次重新使用数字电视终端, 都需要重新 输入其业务相关参数, 因为目前每个数字电视终端只能保存一个用户的相 关参数; 尤其, 当数字电视终端出现故障需要更换时, 也会同样面临需要 重新输入网络配置信息等问题; 由于不同运营商业务鉴权的差异性, 通过 数字电视终端进行业务鉴权, 使得数字电视终端的通用性受到较大的限制。 发明内容  However, the above method has the following problems: inputting network configuration information, service related parameters, etc. through the remote controller, the input speed is slow, and error is easy; when multiple users need to use the same digital television terminal together, each user is reused again. Digital TV terminals need to re-enter their business-related parameters, because currently each digital TV terminal can only save one user's relevant parameters; in particular, when the digital TV terminal fails and needs to be replaced, it will also face the need to re-enter the network configuration. Problems such as information; Due to the differences in service authentication of different operators, service authentication through digital TV terminals makes the versatility of digital TV terminals more restricted. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种数字电视终端及其 IPTV 业务的使用方法, 实现了数字电视终端的灵活使用。  In view of this, the main object of the present invention is to provide a digital television terminal and a method for using the same, and realize flexible use of the digital television terminal.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种数字电视终端 IPTV业务的方法, 所述方法包括: 开机后, 检测所述数字电视终端是否存在智能卡; A method for IPTV service of a digital television terminal, the method comprising: After the power is turned on, detecting whether the digital television terminal has a smart card;
当检测到存在智能卡时, 读取所述智能卡内预先存储的网络配置参数; 按照所述网络配置参数的网络地址接入方式标志位对应的网络地址接 入方式, 获取所述数字电视终端 IPTV业务所需的网络地址。  When the smart card is detected, the network configuration parameter pre-stored in the smart card is read; and the IPTV service of the digital television terminal is obtained according to the network address access mode corresponding to the network address access mode flag of the network configuration parameter. The required network address.
进一步地, 所述方法还包括: 预先在所述智能卡内存储网络配置参数。 进一步地,所述方法还包括:预先在所述智能卡内存储 IPTV业务参数; 相应地, 获取所述数字电视终端 IPTV业务所需的网络地址之后, 所述 方法还包括:  Further, the method further includes: storing network configuration parameters in the smart card in advance. Further, the method further includes: pre-storing the IPTV service parameter in the smart card; and correspondingly, after acquiring the network address required for the IPTV service of the digital television terminal, the method further includes:
读取所述智能卡内预先存储的 IPTV业务参数的 IPTV业务管理平台地 址及业务账号, 并根据所述 IPTV业务管理平台地址, 向所述 IPTV业务管 理平台发送用户业务鉴权请求;  And reading an IPTV service management platform address and a service account of the IPTV service parameter pre-stored in the smart card, and sending a user service authentication request to the IPTV service management platform according to the IPTV service management platform address;
接收 IPTV业务管理平台根据所述用户业务鉴权请求返回的参数,并将 业务鉴权所需的参数发送给所述智能卡;  Receiving, by the IPTV service management platform, parameters returned according to the user service authentication request, and sending 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 television terminal.
进一步地, 所述智能卡运行业务鉴权算法具体为: 将智能卡内预先存 储的 IPTV业务参数的业务密码作为加密密钥,对接收到的业务鉴权所需的 参数进行加密计算。  Further, the smart card running service authentication algorithm specifically includes: using a service password of the IPTV service parameter pre-stored in the smart card as an encryption key, and performing encryption calculation on parameters required for the received service authentication.
进一步地, 所述方法还包括: 将所述网络配置参数和 IPTV业务参数存 储到闪存 Flash中;  Further, the method further includes: storing the network configuration parameter and the IPTV service parameter in a flash memory;
相应地, 所述检测是否存在智能卡之后, 所述方法还包括: 当检测到 不存在智能卡时, 读取所述 Flash所存储的网络地址接入方式标志位。  Correspondingly, after the detecting whether the smart card exists, the method further includes: when detecting that the smart card does not exist, reading the network address access mode flag stored by the Flash.
进一步地, 所述按照所述网络地址接入方式标志位对应的网络地址接 入方式, 获取所述数字电视终端 IPTV业务所需的网络地址具体为:  Further, the network address required to obtain the IPTV service of the digital television terminal according to the network address access mode corresponding to the network address access mode flag is:
当所述网络地址接入方式标志位对应的网络地址接入方式为静态 IP 时, 读取所述智能卡内预先存储的或 Flash存储的 IP地址作为所需的网络 地址; When the network address access mode flag corresponding to the network address access mode is static IP Reading the pre-stored or flash-stored IP address in the smart card as a required network address;
当所述网络地址接入方式标志位所对应的网络地址接入方式为动态主 机设置协议(DHCP )且不需要认证时, 从网络侧获取动态 IP地址作为所 需的网络地址;  When the network address access mode corresponding to the network address access mode flag is Dynamic Host Setup Protocol (DHCP) and does not require authentication, the dynamic IP address is obtained 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 is dynamic DHCP and requires authentication, the DHCP user name and password stored in the smart card or stored in the flash card are read and authenticated. When the authentication is passed, the dynamic IP address is obtained 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 is a point-to-point protocol (PPPoE) on the Ethernet, the pre-stored or flash-stored PPPoE user name and password in the smart card are read. And the authentication is performed. When the authentication is passed, the dynamic IP address is obtained through the asymmetric digital subscriber loop (ADSL) dialing method as the required network address.
一种数字电视终端, 所述数字电视终端包括: 智能卡控制单元、 检测 单元及网络地址获取单元; 其中,  A digital television terminal, the digital television terminal includes: a smart card control unit, a detection unit, and a network address acquisition unit;
检测单元, 用于开机后, 检测所述智能卡控制单元是否存在智能卡; 网络地址获取单元, 用于检测到存在智能卡时, 读取所述智能卡内预 先存储的网络配置参数; 并按照所述网络配置参数的网络地址接入方式标 志位对应的网络地址接入方式,获取所述数字电视终端 IPTV业务所需的网 络地址。  a detecting unit, configured to detect whether the smart card control unit has a smart card after being turned on; and a network address obtaining unit, configured to read a pre-stored network configuration parameter in the smart card when the smart card is detected; and according to the network configuration The network address access mode corresponding to the network address access mode flag of the parameter, and the network address required for the IPTV service of the digital television terminal is obtained.
进一步地, 所述智能卡, 用于存储网络配置参数和 IPTV业务参数; 相应地, 所述数字电视终端还包括业务鉴权单元, 用于读取所述智能 卡内预先存储的 IPTV业务参数的 IPTV业务管理平台地址及业务账号, 并 根据所述 IPTV业务管理平台地址, 向所述 IPTV业务管理平台发送用户业 务鉴权请求;将 IPTV业务管理平台根据所述用户业务鉴权请求返回的业务 鉴权所需的参数发送给所述智能卡; Further, the smart card is configured to store network configuration parameters and IPTV service parameters. Correspondingly, the digital television terminal further includes a service authentication unit, configured to read an IPTV service of the IPTV service parameters pre-stored in the smart card. And managing the platform address and the service account, and sending a user service authentication request to the IPTV service management platform according to the address of the IPTV service management platform; and returning the service returned by the IPTV service management platform according to the user service authentication request The parameters required for authentication are sent to the smart card;
智能卡, 具体用于运行业务鉴权算法, 并将得到的业务鉴权值通过业 务鉴权单元发送给所述 IPTV业务管理平台。  The smart card is specifically configured to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform by using a service authentication unit.
进一步地, 所述智能卡, 具体用于将其预先存储的 IPTV业务参数的业 务密码作为加密密钥, 对接收到的业务鉴权所需的参数进行加密计算, 得 到业务鉴权值。  Further, the smart card is specifically configured to use the service password of the IPTV service parameter stored in advance as an encryption key, and perform encryption calculation on the parameters required for the received service authentication, to obtain a service authentication value.
进一步地, 所述数字电视终端还包括 Flash, 用于存储所述网络配置参 数和 IPTV业务参数;  Further, the digital television terminal further includes a Flash, configured to store the network configuration parameter and the IPTV service parameter;
相应地, 所述网络地址获取单元, 具体用于当检测单元检测到智能卡 控制单元不存在智能卡时,读取所述 Flash所存储的网络地址接入方式标志 位。  Correspondingly, the network address obtaining unit is configured to: when the detecting unit detects that the smart card control unit does not have a smart card, read the network address access mode flag stored by the flash.
进一步地, 所述网络地址获取单元, 具体用于当所述网络地址接入方 式标志位所对应的网络地址接入方式为静态 IP时, 读取所述智能卡内预先 存储的或 Flash存储的 IP地址作为所需的网络地址; 当所述网络地址接入 方式标志位所对应的网络地址接入方式为动态 DHCP且不需要认证时, 从 网络侧获取动态 IP地址作为所需的网络地址; 当所述网络地址接入方式标 志位所对应的网络地址接入方式为动态 DHCP且需要认证时, 读取所述智 能卡内预先存储的或 Flash存储的 DHCP用户名、 密码, 并进行认证, 当认 证通过时, 从网络侧获取动态 IP地址作为所需的网络地址; 当所述网络地 址接入方式标志位所对应的网络地址接入方式为 PPPoE时, 读取所述智能 卡内预先存储的或 Flash存储的 PPPoE用户名、 密码, 并进行认证, 当认 证通过时, 通过 ADSL拨号方式获取动态 IP地址作为所需的网络地址。  Further, the network address obtaining unit is configured to: when the network address access mode corresponding to the network address access mode flag bit is a static IP address, read the pre-stored or flash-stored IP address in the smart card. The address is the required network address; when the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, the dynamic IP address is obtained 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 needs to be authenticated, the DHCP user name and password stored in the smart card or stored in the flash card are read and authenticated, and the authentication is performed. When passing, the dynamic IP address is obtained 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, the pre-stored or flash in the smart card is read. The stored PPPoE user name and password are authenticated. When the authentication is passed, the ADSL dial-up method is obtained. Dynamic IP address as required network address.
本发明通过将网络配置参数和 IPTV业务相关参数存储到智能卡上,数 字电视终端通过读取智能卡所存储的信息获取网络地址、 通过智能卡运行 业务鉴权算法, 实现业务鉴权, 进而接入到 IPTV业务管理平台, 避免了通 过遥控器输入参数所造成的速度慢、 易出错等问题, 而且当多个用户共用 一个数字电视终端时, 只需更换各自的智能卡即可, 同时数字电视终端仍 兼容没有智能卡的启动方式, 使得数字电视终端通用性更强, 应用更为灵 活。 附图说明 The invention stores the network configuration parameters and the IPTV service related parameters on the smart card, and the digital television terminal obtains the network address by reading the information stored by the smart card, runs the service authentication algorithm through the smart card, implements service authentication, and then accesses the IPTV. Business management platform, avoiding communication The problem of slow speed and error caused by the input parameters of the remote control, and when multiple users share a digital TV terminal, only need to replace their respective smart cards, and the digital TV terminal is still compatible with the startup mode without the smart card, so that Digital TV terminals are more versatile and more flexible. DRAWINGS
图 1为本发明数字电视终端的框架结构示意图;  1 is a schematic structural diagram of a frame of a digital television terminal according to the present invention;
图 2为本发明 IPTV业务中 STB-SIM卡的文件系统结构示意图; 图 3 为本发明数字电视终端 IPTV业务的使用方法实施例的流程示意 图;  2 is a schematic diagram of a file system structure of an STB-SIM card in an IPTV service according to the present invention; FIG. 3 is a schematic flow chart of an embodiment of a method for using an IPTV service of a digital television terminal according to the present invention;
图 4为本发明数字电视终端 IPTV业务的鉴权实施例的流程示意图; 图 5为本发明数字电视终端的具体结构示意图。 具体实施方式  4 is a schematic flowchart of an authentication embodiment of an IPTV service of a digital television terminal according to the present invention; and FIG. 5 is a schematic structural diagram of a digital television terminal according to the present invention. detailed description
本发明的基本思想为: 开机后, 检测所述数字电视终端的智能卡控制 单元是否存在智能卡; 当检测到存在智能卡时, 读取所述智能卡内预先存 储的网络配置参数; 按照所述网络配置参数的网络地址接入方式标志位对 应的网络地址接入方式, 获取所述数字电视终端 IPTV 业务所需的网络地 址。  The basic idea of the present invention is: after booting, detecting whether a smart card control unit of the digital television terminal has a smart card; when detecting the presence of the smart card, reading a network configuration parameter pre-stored in the smart card; according to the network configuration parameter The network address access mode corresponding to the network address access mode flag bit, and the network address required for the IPTV service of the digital television terminal is obtained.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
以前的数字电视终端的网络配置参数和 IPTV 业务相关参数均直接存 储在数字电视终端的 Flash中, 数字电视终端开机后, 直接从 Flash配置分 区中读取相应的网络配置参数和 IPTV业务参数等信息, 完成和 IPTV业务 管理平台的接入和认证。 图 1 示出了本发明提供的数字电视终端的框架结 构示意, 如图 1所示, 将网络配置参数和 IPTV业务相关参数存储到智能卡 中, 数字电视终端 10检测到智能卡控制单元 11存在智能卡时, 通过读写 智能卡, 实现了和 IPTV业务管理平台的接入和认证、 以及其他信息等的存 储; 同时, 为了考虑到与现有没有智能卡的数字电视终端的兼容性, 数字 电视终端 10检测不到智能卡时, 从原有的闪存 15配置分区中获取网络配 置参数和 IPTV业务相关参数等信息, 实现和 IPTV业务管理平台的接入和 认证、 以及其他信息等的存储。 The network configuration parameters and IPTV service related parameters of the previous digital TV terminal are directly stored in the Flash of the digital TV terminal. After the digital TV terminal is powered on, the corresponding network configuration parameters and IPTV service parameters are directly read from the Flash configuration partition. , complete and access and certification of the IPTV service management platform. FIG. 1 is a schematic diagram showing the structure of a digital television terminal provided by the present invention. As shown in FIG. 1, storing network configuration parameters and IPTV service related parameters to a smart card. The digital television terminal 10 detects that the smart card control unit 11 has a smart card, and realizes the access and authentication of the IPTV service management platform and other information by reading and writing the smart card; The compatibility of the digital TV terminal of the smart card, when the digital television terminal 10 does not detect the smart card, obtains information such as network configuration parameters and IPTV service related parameters from the original flash memory 15 configuration partition, and realizes access to the IPTV service management platform. Storage of authentication, and other information.
本发明实施例中, 所述智能卡可以为客户识别单元(Subscriber Identity Module, SIM )卡, SIM 卡为一种带有处理器的智能芯片卡, 下面具体对 SIM卡的体系结构进行阐述:  In the embodiment of the present invention, the smart card may be a Subscriber Identity Module (SIM) card, and the SIM card is a smart chip card with a processor. The following describes the architecture of the SIM card:
1、 结构和类型  1, structure and type
SIM 卡包括: 中央处理器 CPU、 程序存储器 (ROM )、 工作存储器 ( RAM ), 数据存储器 ( EPROM或 EEPROM或 Flash )、 串行通信单元和 加密单元等。  The 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.
在实际使用中, SIM卡通常会有功能相同但是形式不同的两种分类: In actual use, SIM cards usually have two categories that have the same function but different forms:
1 ) ID-1 SIM, 卡片式 SIM卡(俗称大卡), 尺寸为 54mm*35mm, 跟 信用卡一样大小, 这种形式的 SIM卡符合有关 IC卡国际标准化组织 /国际 电工委员会 ISO/IEC 7816-1,2 ( ISO/IEC 7816-1,2 )标准, 类似 IC卡; 1) ID-1 SIM, card type SIM card (commonly known as big card), size 54mm*35mm, the same size as credit card, this form of SIM card conforms to IC card International Organization for Standardization / International Electrotechnical Commission ISO/IEC 7816- 1,2 (ISO/IEC 7816-1, 2) standard, similar to IC cards;
2 ) Plug-in SIM,嵌入式 SIM卡(俗称小卡),其大小只有 25mm* 15mm, 是半永久性地装入到移动设备中的卡, 比如, 移动设备中的手机用户应用 的 SIM卡即为嵌入式 SIM卡。  2) Plug-in SIM, embedded SIM card (commonly known as small card), whose size is only 25mm* 15mm, is a card that is semi-permanently loaded into mobile devices. For example, the SIM card of the mobile phone user application in the mobile device is For embedded SIM cards.
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 operator's SIM card center before the card is sold, such as International Mobile Subscriber Identity (IMEI), Authentication Key (KI), authentication and encryption algorithms.
本发明中, 分离到 SIM卡中保存的业务密码可以用鉴权密钥 (KI )保 存, 鉴权和加密算法移植原来数字电视终端中的业务鉴权算法。 In the present invention, the service password stored in the SIM card can be protected by an authentication key (KI). The storage, authentication and encryption algorithms are used to migrate the service authentication algorithm in the original digital television terminal.
2 )暂时存放的有关网络的数据: 如位置区域识别码(LAI )、 移动用户 暂时识别码(TMSI )、 禁止接入的公共电话网代码等。  2) Temporarily stored data about the network: such as Location Area Identifier (LAI), Mobile Subscriber Temporary Identifier (TMSI), public telephone network code that is prohibited from access.
3 )相关的业务代码: 如个人识别码(PIN )、 解锁码(PUK )、 计费费 率等。  3) Related business codes: such as personal identification number (PIN), unlock code (PUK), billing rate, etc.
4 ) 电话号码簿: 这是移动设备如手机用户随时可以输入的电话号码。 3、 电接口  4) Phone Book: This is the phone number that mobile devices such as mobile phone users can enter at any time. 3, electrical interface
SIM卡一般具有 8个触点, 通常移动设备如数字电视终端, 需要其中 的 6个触点, 具体定义参照表 1:  SIM cards generally have 8 contacts, usually mobile devices such as digital TV terminals, which require 6 of them, as defined in Table 1:
Figure imgf000009_0001
Figure imgf000009_0001
表 1  Table 1
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. The electrical signal and transmission protocol need to be consistent with ISO/IEC 7816-3 (ISO/IEC 7816-3). Asynchronous half-duplex characters are used in the protocol. The transmission protocol, which adopts multiple sampling decisions for each bit of data, improves the anti-interference ability of the interface, and is based on the error detection and retransmission mechanism of the character frame, thereby greatly improving the efficiency.
本发明实施例中, 数字电视终端的智能卡所预先存储的参数包括网络配 置参数和 IPTV业务相关参数;  In the embodiment of the present invention, the parameters pre-stored by the smart card of the digital television terminal include network configuration parameters and IPTV service related parameters;
其中, 网络配置参数包括: 网络地址接入方式标志位、 静态 IP地址参 数、 动态主机设置协议 ( Dynamic Host Configuration Protocol, DHCP )参 数以及以太网上的点到点协议( Point-to-Point Protocol over Ethernet, PPPoE ) 参数等; The network configuration parameters include: a network address access mode flag, a static IP address parameter, a Dynamic Host Configuration Protocol (DHCP) parameter, and a Point-to-Point Protocol over Ethernet protocol. , PPPoE ) Parameters, etc.
网络地址接入方式标志位所对应的网络地址接入方式包括: 静态 IP、 动态 DHCP且不需要认证、动态 DHCP且需要认证以及 PPPoE等; 静态 IP 地址参数具体包括: IP地址、掩码、 网关、域名系统( Domain Name System, DNS )地址等; DHCP参数具体包括: DHCP用户名和密码等; PPPoE参数 具体包括: PPPoE用户名和密码等。  The network address access mode corresponding to the network address access mode flag includes: static IP, dynamic DHCP, and no authentication, dynamic DHCP, authentication, and PPPoE. The static IP address parameters include: IP address, mask, and gateway. The domain name system (DNS) address, etc.; the DHCP parameters include: DHCP username and password; PPPoE parameters include: PPPoE user name and password.
IPTV业务相关参数包括: IPTV业务管理平台地址、 业务账号以及业 务密码等。  The IPTV service related parameters include: IPTV service management platform address, service account number, and service password.
本发明中数字电视终端的 SIM 卡的软件特性是在移动终端如手机的 SIM卡的文件系统的基础上进行扩展, 使其能够支持 IPTV业务, 优选地, 本发明中数字电视终端可以为机顶盒( Set Top Box, STB ), 此时 STB的智 能卡为 STB-SIM卡; STB-SIM卡可以采用新的单片机及存储器管理结构, 来增强其处理功能。  The software characteristic of the SIM card of the digital television terminal in the present invention is extended on the basis of the file system of the SIM card of the mobile terminal, such as a mobile phone, so that it can support the IPTV service. Preferably, the digital television terminal in the present invention can be a set top box ( Set Top Box, STB), STB's smart card is STB-SIM card at this time; STB-SIM card can use new microcontroller and memory management structure to enhance its processing function.
其中, STB-SIM卡的文件系统示意如图 2所示, 图 2中每个矩形框代 表一个文件, 其中主要包括 MF ( Master File ), DF ( Dedicated File )和 EF ( Elementary File )0 MF可以看作是一个根目录, DF就是文件夹, EF就是 文件夹中具体的应用文件, 实际操作中在选择所有 EF前, 必须选择这些 EF的 DF, 所有选择使用文件标识符。 其中文件标识符包括: 3F: 主文件; 7F: 第一层专用文件; 5F: 第二层专用文件; 2F: 主文件下的基本文件; 6F: 第一层专用文件下的基本文件; 4F: 第二层专用文件下的基本文件等。 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) 0 MF. Think of it as a root directory, DF is the folder, EF is the specific application file in the folder. In the actual operation, before selecting all EFs, you must select the DF of these EFs, and all choose to use the file identifier. The file identifiers include: 3F: main file; 7F: first layer special file; 5F: second layer special file; 2F: basic file under the main file; 6F: basic file under the first layer special file; 4F: Basic files under the second layer of special files, etc.
文件由用于 SIM卡内部管理的文件头( header )和可选的文件体( body ) 组成。文件头的信息包括文件的结构和属性,可以通过使用 GET RESPONSE 或 STATUS命令获得这些信息, 这些信息在管理阶段是固定的, 文件体部 分包括文件的数据。  The file consists of a header for the internal management of the SIM card and an optional body. The header information includes the structure and attributes of the file, which can be obtained by using the GET RESPONSE or STATUS command, which is fixed during the management phase, and the body of the file includes the data for the file.
本发明实施例 STB-SIM卡中文件的存储具体参考图 2,图 2中文字加粗 的矩形框代表其所用到的文件,其只用到了一层 DF,即第一层专用文件 7F, 所有 IPTV的 EF文件都存放在第一层的 DFIPTV ( 7FD1 ) 中; DFIPTV下 增加了 6个相关 EF文件: The file storage in the STB-SIM card of the embodiment of the present invention is specifically referred to FIG. 2, and the text in FIG. 2 is bold. The rectangular box represents the file used by it. It uses only one layer of DF, that is, the first layer of dedicated file 7F. All IPTV files of IPTV are stored in the first layer of DFIPTV ( 7FD1 ); six are added under DFIPTV. Related EF files:
EFNETWORK(6F01): 网络地址接入方式标志位, 包括静态 IP、 DHCP (不需要认证)、 DHCP (需要认证)、 PPPoE等;  EFNETWORK (6F01): Network address access mode flag, including static IP, DHCP (no authentication required), DHCP (requires authentication), 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 username, password, etc.
EFSMPA (6F05): IPTV业务管理平台地址;  EFSMPA (6F05): IPTV service management platform address;
EFISNM (6F06): IPTV的业务账号。  EFISNM (6F06): Business account for IPTV.
图 3示出了本发明数字电视终端 IPTV业务的使用方法实施例的流程示 意, 如图 3所示, 所述实施例包括以下步驟:  FIG. 3 is a flow chart showing an embodiment of a method for using an IPTV service of a digital television terminal according to the present invention. As shown in FIG. 3, the embodiment includes the following steps:
步驟 101 ,数字电视终端开机后,检测其智能卡控制单元是否存在智能 卡, 若存在, 则执行步驟 103 , 否则, 执行步驟 102;  Step 101: After the digital television terminal is powered on, it is detected whether the smart card control unit has a smart card, if yes, step 103 is performed; otherwise, step 102 is performed;
用户需要使用 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, where the smart card stores the network configuration parameters of the user, the IPTV service related parameters, and the like, and the smart card control unit reads the information stored by the smart card through the C7 contact of the smart card. The meaning of the smart card contacts can be referred to Table 1.
具体检测智能卡是否存在的过程如下: 当所述智能卡为大卡时, 数字 电视终端的插卡位置具有卡托, 此时, 数字电视终端可以通过机械方式检 测智能卡控制单元是否存在智能卡。 卡托上具有高、 低电平两个触点, 智 能卡控制单元连接高电平触点, 当未插入智能卡时, 两个触点处于闭合状 态, 数字电视终端检测到智能卡控制单元为低电平信号, 判定不存在智能 卡; 当插入智能卡后, 两个触点分离, 此时数字电视终端检测到智能卡控 制单元为高电平信号, 判定存在智能卡; 当所述智能卡为小卡时, 数字电视终端通过读取智能卡数据的方式检 测智能卡控制单元是否存在智能卡: 智能卡控制单元连接所述智能卡的 C7 触点, 数字电视终端通过智能卡控制单元连续进行多次读取数据操作, 若 均没有读到数据, 则判定不存在智能卡, 否则判定存在; 优选地, 数字电 视终端可连续进行三次读取数据的操作。 The process of specifically detecting whether the smart card exists is as follows: When the smart card is a large card, the card position of the digital television terminal has a card tray. At this time, the digital television terminal can mechanically detect whether the smart card control unit has a smart card. The card has two contacts at the high and low levels, and the smart card control unit is connected to the high level contact. When the smart card is not inserted, the two contacts are in the closed state, and the digital television terminal detects that the smart card control unit is low. Signal, determining that there is no smart card; when the smart card is inserted, the two contacts are separated, and the digital television terminal detects that the smart card control unit is a high level signal, and determines that there is a smart card; When the smart card is a small card, the digital television terminal detects whether the smart card control unit has a smart card by reading the smart card data: the smart card control unit connects the C7 contact of the smart card, and the digital television terminal continuously performs the multiple times through the smart card control unit. The data reading operation, if no data is read, determines that there is no smart card, otherwise it is determined to exist; preferably, the digital television terminal can perform the operation of reading data three times in succession.
步驟 102, 数字电视终端按照没有智能卡的方式进行启动, 读取本地 Flash中所保存的网络配置参数, 根据网络配置参数中的网络地址接入方式 标志位, 获取 IPTV业务所需的网络地址;  Step 102: The digital television terminal starts in a manner that does not have a smart card, reads network configuration parameters saved in the local Flash, and obtains a network address required for the IPTV service according to the network address access mode flag in the network configuration parameter.
具体地, 当所述网络地址接入方式标志位所对应的网络地址接入方式 为静态 IP时, 读取 Flash存储的 IP地址作为所需的网络地址;  Specifically, when the network address access mode corresponding to the network address access mode flag is static IP, the IP address stored in the flash is read as the required network address;
当所述网络地址接入方式标志位所对应的网络地址接入方式为动态 DHCP且不需要认证时, 从网络侧获取动态 IP地址作为所需的网络地址; 当所述网络地址接入方式标志位所对应的网络地址接入方式为动态 DHCP且需要认证时,读取 Flash存储的 DHCP用户名、密码,并进行认证, 当认证通过时, 从网络侧获取动态 IP地址作为所需的网络地址;  When the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, obtain a dynamic IP address from the network side as a required network address; when the network address access mode flag When the network address access mode corresponding to the bit is dynamic DHCP and authentication is required, the DHCP user name and password stored in the flash are read and authenticated. When the authentication is passed, the dynamic IP address is obtained from the network side 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 is PPPoE, the PPPoE user name and password stored in the flash are read and authenticated, and when the authentication is passed, the asymmetric digital subscriber loop is adopted. Asymmetric Digital Subscriber Line, ADSL) dials the way to obtain the dynamic IP address as the required network address.
步驟 103 , 当检测到存在智能卡时, 数字电视终端读取所述智能卡内预 先存储的网络配置参数;  Step 103: When detecting the presence of the smart card, the digital television terminal reads the network configuration parameter pre-stored in the smart card;
本步驟中, 数字电视终端具体读取所述智能卡中预先存储的网络配置 参数的网络地址接入方式标志位, 其中所述网络地址接入方式标志位对应 的网络地址接入方式包括静态 IP、 动态 DHCP且不需要认证、 动态 DHCP 且需要认证以及 PPPoE等方式; 具体地, 当数字电视终端读取的网络地址接入方式标志位对应的网络 地址接入方式为静态 IP时, 执行步驟 104; 当网络地址接入方式标志位对 应的网络地址接入方式为动态 DHCP且需要认证时, 执行步驟 105; 当网 络地址接入方式标志位对应的网络地址接入方式为动态 DHCP且不需要认 证时,执行步驟 106; 当网络地址接入方式标志位对应的网络地址接入方式 为 PPPoE时, 执行步驟 107。 In this step, the digital television terminal specifically reads the network address access mode flag of the network configuration parameter pre-stored in the smart card, where the network address access mode corresponding to the network address access mode flag bit includes a static IP address, Dynamic DHCP does not require authentication, dynamic DHCP, and requires authentication and PPPoE; Specifically, when the network address access mode corresponding to the network address access mode flag read by the digital television terminal is a static IP, step 104 is performed; when the network address access mode flag corresponding to the network address access mode is dynamic When DHCP is required and authentication is required, step 105 is performed. When the network address access mode corresponding to the network address access mode flag is dynamic DHCP and authentication is not required, step 106 is performed; when the network address access mode flag bit corresponds to the network address When the access mode is PPPoE, go to step 107.
步驟 104, 数字电视终端读取所述智能卡内预先存储的 IP地址作为 IPTV业务所需的网络地址, 然后执行步驟 109;  Step 104, the digital television terminal reads the pre-stored IP address in the smart card as the network address required for the IPTV service, and then proceeds to step 109;
步驟 105, 数字电视终端读取所述智能卡内预先存储的 DHCP用户名、 密码, 并进行认证, 当认证通过时, 执行步驟 106, 否则, 结束流程;  Step 105: The digital television terminal reads the pre-stored DHCP username and password in the smart card, and performs authentication. When the authentication is passed, step 106 is performed. Otherwise, the process ends.
步驟 106,数字电视终端从网络侧获取动态的 IP地址作为 IPTV业务所 需的网络地址, 执行步驟 109;  Step 106, the digital television terminal obtains the dynamic IP address from the network side as the network address required for the IPTV service, and performs step 109;
步驟 107 , 数字电视终端读取所述智能卡内预先存储的 PPPoE用户名、 密码, 并进行认证, 当认证通过时, 执行步驟 108, 否则, 结束流程;  Step 107: The digital television terminal reads the pre-stored PPPoE user name and password in the smart card, and performs authentication. When the authentication is passed, step 108 is performed. Otherwise, the process ends.
步驟 108, 数字电视终端通过 ADSL拨号方式获取动态的 IP地址作为 IPTV业务所需的网络地址, 执行步驟 109;  Step 108: The digital television terminal obtains the dynamic IP address as the network address required for the IPTV service by using the ADSL dialing method, and performs step 109;
步驟 109, 数字电视终端将网络配置参数保存到本地闪存中, 以兼容智 能卡不存在时的启动方式;  Step 109: The digital television terminal saves the network configuration parameter to the local flash memory to be compatible with the startup mode when the smart card does not exist;
步驟 110, 数字电视终端进入业务鉴权流程。  Step 110: The digital television terminal enters a service authentication process.
图 4示出了本发明数字电视终端 IPTV业务的鉴权实施例的流程示意, 如图 4所示, 所述实施例包括以下步驟:  FIG. 4 is a schematic flowchart showing an authentication embodiment of an IPTV service of a digital television terminal according to the present invention. As shown in FIG. 4, the embodiment includes the following steps:
步驟 1 , 数字电视终端获取其 IPTV业务所需的网络地址后, 读取所述 智能卡内预先存储的 IPTV 业务参数的 IPTV 业务管理平台地址及业务账 本步驟中, 数字电视终端还将 IPTV业务参数的 IPTV业务管理平台地 址及业务账号保存到本地 Flash中, 以兼容智能卡不存在时的启动方式。 一 般地, 为了安全性考虑, IPTV业务相关参数中的业务密码是不允许从智能 卡中读出的, 从而也不进行本地保存, 当数字电视终端在智能卡不存在的 情况进行启动时, 则需要用户输入其业务密码信息。 Step 1: After the digital television terminal obtains the network address required for the IPTV service, and reads the IPTV service management platform address and the service book in the IPTV service parameter pre-stored in the smart card, the digital television terminal also has the IPTV service parameter. IPTV service management platform The address and business account are saved to the local Flash to be compatible with the startup mode when the smart card does not exist. Generally, for security reasons, the service password in the IPTV service related parameters is not allowed to be read from the smart card, and thus is not locally saved. When the digital television terminal starts up in the absence of the smart card, the user is required. Enter their business password information.
步驟 2, 智能卡接收到数字电视终端的读取信息后, 将其存储的 IPTV 业务管理平台地址及业务账号返回给数字电视终端;  Step 2: After receiving the read information of the digital television terminal, the smart card returns the stored IPTV service management platform address and the service account to the digital television terminal;
步驟 3, 数字电视终端根据 IPTV业务管理平台地址, 通过超文本传输 协议 ( Hyper Text Transfer Protocol, HTTP )中的 HTTP获得( Get )方式向 IPTV业务管理平台发送用户业务鉴权请求, 又叫做用户认证请求;  Step 3: The digital television terminal sends a user service authentication request to the IPTV service management platform by using an HTTP Get (Get) method in the Hyper Text Transfer Protocol (HTTP) according to the address of the IPTV service management platform, which is also called user authentication. Request
本步驟中, 用户认证请求中包含有业务账号等参数。  In this step, the user authentication request includes parameters such as a service account.
步驟 4, IPTV业务管理平台随机生成业务鉴权算法所需的参数; 具体的, Encry Token字段为业务鉴权算法所需的参数之一;  Step 4: The IPTV service management platform randomly generates parameters required by the service authentication algorithm. Specifically, the Encry Token field is one of parameters required by the service authentication algorithm.
步驟 5, IPTV业务管理平台通过 HTTP响应的形式将业务鉴权算法所 需的参数返回给数字电视终端;  Step 5: The IPTV service management platform returns the parameters required by the service authentication algorithm to the digital television terminal in the form of an HTTP response;
步驟 6~7, 数字电视终端接收 IPTV业务管理平台返回的业务鉴权算法 所需的参数, 并将业务鉴权所需的参数发送给所述智能卡;  Steps 6-7, the digital television terminal receives the parameters required by the service authentication algorithm returned by the IPTV service management platform, and sends the parameters required for the service authentication to the smart card;
优选地, 数字电视终端可以将获取的业务鉴权所需的参数形成参数串, 以形成的参数串形式下发给智能卡;  Preferably, the digital television terminal can form the parameter string required for the obtained service authentication into a parameter string, and send the parameter string to the smart card in the form of a 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 as follows: Random+"$"+EncryToken+"$ "+UserID+"$"+STBID+"$"+IP+"$"+MAC+"$"+ Reserved+"$"+ "CTC,,.
步驟 8~9, 智能卡运行预先存储的业务鉴权算法,将计算得到的业务鉴 权值即认证字符串上传给数字电视终端;  Step 8~9, the smart card runs a pre-stored service authentication algorithm, and uploads the calculated service authentication value, that is, the authentication string, to the digital television terminal;
具体地,智能卡将其预先存储的 IPTV业务参数的业务密码作为加密密 钥, 对接收到的业务鉴权所需的参数的参数串进行加密计算, 得到的业务 鉴权值即认证字符串, 并将其上传给数字电视终端。 Specifically, the smart card uses the service password of the IPTV service parameter stored in advance as an encryption key, and performs encryption calculation on the parameter string of the parameter required for the received service authentication, and the obtained service is obtained. The authentication value is the authentication string and is uploaded to the digital TV terminal.
步驟 10, 数字电视终端通过 HTTP提交(Post )请求的方式将认证字 符串上传给 IPTV业务管理平台;  Step 10: The digital television terminal uploads the authentication string to the IPTV service management platform by using a HTTP (Post) request.
步驟 11~12, IPTV业务管理平台对接收到的认证字符串进行验证, 当 接收到的认证字符串与 IPTV 业务管理平台自己计算出的业务鉴权值相同 时, 则判定认证通过, 当认证通过时, 通过 HTTP响应的形式返回鉴权成 功结果。  Steps 11 to 12, the IPTV service management platform verifies the received authentication string. When the received authentication string is the same as the service authentication value calculated by the IPTV service management platform, the authentication is passed. At the time, the successful result of the authentication is returned in the form of an HTTP response.
图 5示出了本发明数字电视终端的具体结构示意, 如图 5所示, 所述 数字电视终端 10包括智能卡控制单元 11、 检测单元 12以及网络地址获取 单元 13。 其中, 检测单元 12, 用于数字电视终端 10开机后, 检测所述智 能卡控制单元 11是否存在智能卡; 网络地址获取单元 13, 用于检测到存在 智能卡时, 读取所述智能卡内预先存储的网络配置参数; 并按照所述网络 配置参数的网络地址接入方式标志位所对应的网络地址接入方式, 获取所 述数字电视终端 10 IPTV业务所需的网络地址。  Fig. 5 shows a detailed structural diagram of the digital television terminal of the present invention. As shown in Fig. 5, the digital television terminal 10 includes a smart card control unit 11, a detecting unit 12, and a network address obtaining unit 13. The detecting unit 12 is configured to detect whether the smart card control unit 11 has a smart card after the digital television terminal 10 is powered on. The network address obtaining unit 13 is configured to read a pre-stored network in the smart card when detecting the presence of the smart card. And configuring a parameter; and obtaining a network address required for the IPTV service of the digital television terminal 10 according to the network address access mode corresponding to the network address access mode flag of the network configuration parameter.
进一步地, 所述智能卡用于存储网络配置参数和 IPTV业务参数; 相应 地, 所述数字电视终端 10还包括业务鉴权单元 14, 用于读取所述智能卡内 预先存储的 IPTV业务参数的 IPTV业务管理平台地址及业务账号, 并根据 所述 IPTV业务管理平台地址, 向所述 IPTV业务管理平台 20发送用户业 务鉴权请求; 将 IPTV业务管理平台 20根据所述用户业务鉴权请求返回的 业务鉴权所需的参数发送给所述智能卡; 智能卡, 具体用于运行业务鉴权 算法, 并将得到的业务鉴权值通过业务鉴权单元 14发送给所述 IPTV业务 管理平台 20。  Further, the smart card is configured to store network configuration parameters and IPTV service parameters. Correspondingly, the digital television terminal 10 further includes a service authentication unit 14 for reading an IPTV service parameter pre-stored in the smart card. The service management platform address and the service account, and sending a user service authentication request to the IPTV service management platform 20 according to the address of the IPTV service management platform; and returning the service returned by the IPTV service management platform 20 according to the user service authentication request The parameters required for the authentication are sent to the smart card. The smart card is specifically configured to run the service authentication algorithm, and the obtained service authentication value is sent to the IPTV service management platform 20 through the service authentication unit 14.
进一步地,所述智能卡具体用于将其预先存储的 IPTV业务参数的业务 密码作为加密密钥, 对接收到的业务鉴权所需的参数进行加密计算, 得到 业务鉴权值。 进一步地, 所述数字电视终端 10还包括闪存 15, 用于存储所述网络配 置参数和 IPTV业务参数; Further, the smart card is specifically configured to use the service password of the IPTV service parameter stored in advance as an encryption key, and perform encryption calculation on the parameters required for the received service authentication to obtain a service authentication value. Further, the digital television terminal 10 further includes a flash memory 15 for storing the network configuration parameters and IPTV service parameters.
相应地, 所述网络地址获取单元 13 , 具体用于当检测单元 12检测到智 能卡控制单元 11不存在智能卡时, 读取所述闪存 15所存储的网络地址接 入方式标志位。  Correspondingly, the network address obtaining unit 13 is specifically configured to read the network address access mode flag stored in the flash memory 15 when the detecting unit 12 detects that the smart card control unit 11 does not have a smart card.
进一步地, 所述网络地址获取单元 13具体用于当所述网络地址接入方 式标志位所对应的网络地址接入方式为静态 IP时, 读取所述智能卡内预先 存储的或闪存 15存储的 IP地址作为所需的网络地址;当所述网络地址接入 方式标志位所对应的网络地址接入方式为动态 DHCP且不需要认证时, 从 网络侧获取动态 IP地址作为所需的网络地址; 当所述网络地址接入方式标 志位所对应的网络地址接入方式为动态 DHCP且需要认证时, 读取所述智 能卡内预先存储的或闪存 15存储的 DHCP用户名、 密码, 并进行认证, 当 认证通过时, 从网络侧获取动态 IP地址作为所需的网络地址; 当所述网络 地址接入方式标志位所对应的网络地址接入方式为 PPPoE时, 读取所述智 能卡内预先存储的或闪存 15存储的 PPPoE用户名、 密码, 并进行认证, 当 认证通过时, 通过 ADSL拨号方式获取动态 IP地址作为所需的网络地址。  Further, the network address obtaining unit 13 is specifically configured to: when the network address access mode corresponding to the network address access mode flag is static IP, read the pre-stored or flash 15 stored in the smart card. The IP address is used as the required network address; when the network address access mode corresponding to the network address access mode flag is dynamic DHCP and does not require authentication, the dynamic IP address is obtained from the network side as the required network address; When the network address access mode corresponding to the network address access mode flag is dynamic DHCP and authentication is required, the DHCP user name and password stored in the smart card or stored in the flash memory 15 are read and authenticated. When the authentication is passed, the dynamic IP address is obtained 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, the pre-stored in the smart card is read. Or the flash port 15 stores the PPPoE username and password, and performs authentication. When the authentication is passed, the ADSL dialer is used. Required to obtain a dynamic IP address as a network address.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 工业实用性  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Industrial applicability
本发明通过将网络配置参数和 IPTV业务相关参数存储到智能卡上,数 字电视终端通过读取智能卡所存储的信息获取网络地址、 通过智能卡运行 业务鉴权算法, 实现业务鉴权, 进而接入到 IPTV业务管理平台, 避免了通 过遥控器输入参数所造成的速度慢、 易出错等问题, 而且当多个用户共用 一个数字电视终端时, 只需更换各自的智能卡即可, 同时数字电视终端仍 兼容没有智能卡的启动方式, 使得数字电视终端通用性更强, 应用更灵活。  The invention stores the network configuration parameters and the IPTV service related parameters on the smart card, and the digital television terminal obtains the network address by reading the information stored by the smart card, runs the service authentication algorithm through the smart card, implements service authentication, and then accesses the IPTV. The business management platform avoids the problems of slow speed and error-prone caused by inputting parameters through the remote controller, and when multiple users share a digital television terminal, only need to replace their respective smart cards, and the digital television terminal is still compatible. The way the smart card is activated makes the digital TV terminal more versatile and more flexible.

Claims

权利要求书 Claim
1、一种数字电视终端互联网协议电视 IPTV业务的方法, 其特征在于, 所述方法包括:  A method for digital television terminal internet protocol television IPTV service, characterized in that the method comprises:
开机后, 检测所述数字电视终端是否存在智能卡;  After the power is turned on, detecting whether the digital television terminal has a smart card;
当检测到存在智能卡时, 读取所述智能卡内预先存储的网络配置参数; 按照所述网络配置参数的网络地址接入方式标志位对应的网络地址接 入方式, 获取所述数字电视终端 IPTV业务所需的网络地址。  When the smart card is detected, the network configuration parameter pre-stored in the smart card is read; and the IPTV service of the digital television terminal is obtained according to the network address access mode corresponding to the network address access mode flag of the network configuration parameter. The required network address.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 预先在所述智能卡内存储网络配置参数。  2. The method according to claim 1, wherein the method further comprises: pre-storing network configuration parameters in the smart card.
3、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 预先 在所述智能卡内存储 IPTV业务参数;  The method according to claim 1, wherein the method further comprises: pre-storing IPTV service parameters in the smart card;
相应地, 获取所述数字电视终端 IPTV业务所需的网络地址之后, 所述 方法还包括:  Correspondingly, after the network address required for the IPTV service of the digital television terminal is obtained, the method further includes:
读取所述智能卡内预先存储的 IPTV业务参数的 IPTV业务管理平台地 址及业务账号, 并根据所述 IPTV业务管理平台地址, 向所述 IPTV业务管 理平台发送用户业务鉴权请求;  And reading an IPTV service management platform address and a service account of the IPTV service parameter pre-stored in the smart card, and sending a user service authentication request to the IPTV service management platform according to the IPTV service management platform address;
接收 IPTV业务管理平台根据所述用户业务鉴权请求返回的参数,并将 业务鉴权所需的参数发送给所述智能卡;  Receiving, by the IPTV service management platform, parameters returned according to the user service authentication request, and sending 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 television terminal.
4、 根据权利要求 3所述的方法, 其特征在于, 所述智能卡运行业务鉴 权算法为: 将智能卡内预先存储的 IPTV 业务参数的业务密码作为加密密 钥, 对接收到的业务鉴权所需的参数进行加密计算。  The method according to claim 3, wherein the smart card running service authentication algorithm is: using a service password of an IPTV service parameter pre-stored in the smart card as an encryption key, and receiving the service authentication office The required parameters are encrypted.
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 所述方法还 包括: 将所述网络配置参数和 IPTV业务参数存储到闪存 Flash中; The method according to any one of claims 1 to 4, wherein the method further comprises: Storing the network configuration parameters and IPTV service parameters in a flash memory;
相应地, 所述检测是否存在智能卡之后, 所述方法还包括: 当检测到 不存在智能卡时, 读取所述 Flash所存储的网络地址接入方式标志位。  Correspondingly, after the detecting whether the smart card exists, the method further includes: when detecting that the smart card does not exist, reading the network address access mode flag stored by the Flash.
6、 根据权利要求 5所述的方法, 其特征在于, 所述按照所述网络地址 接入方式标志位对应的网络地址接入方式,获取所述数字电视终端 IPTV业 务所需的网络地址为:  The method according to claim 5, wherein the network address required for acquiring the IPTV service of the digital television terminal according to the network address access mode corresponding to the network address access mode flag is:
当所述网络地址接入方式标志位对应的网络地址接入方式为静态 IP 时, 读取所述智能卡内预先存储的或 Flash存储的 IP地址作为所需的网络 地址;  When the network address access mode corresponding to the network address access mode flag is static IP, the pre-stored or flash-stored IP address in the smart card is read as a required network address;
当所述网络地址接入方式标志位所对应的网络地址接入方式为动态主 机设置协议 DHCP且不需要认证时, 从网络侧获取动态 IP地址作为所需的 网络地址;  When the network address access mode corresponding to the network address access mode flag is the dynamic host setting protocol DHCP and does not require authentication, the dynamic IP address is obtained 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 is dynamic DHCP and requires authentication, the DHCP user name and password stored in the smart card or stored in the flash card are read and authenticated. When the authentication is passed, the dynamic IP address is obtained 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 is a point-to-point protocol PPPoE on the Ethernet, the pre-stored or flash-stored PPPoE user name and password in the smart card are read and performed. Authentication: When the authentication is passed, the dynamic IP address is obtained as the required network address through the ADSL dialing method of the asymmetric digital subscriber loop.
7、 一种数字电视终端, 其特征在于, 所述数字电视终端包括: 智能卡 控制单元、 检测单元及网络地址获取单元; 其中,  A digital television terminal, comprising: a smart card control unit, a detecting unit, and a network address obtaining unit;
检测单元, 用于开机后, 检测所述智能卡控制单元是否存在智能卡; 网络地址获取单元, 用于检测到存在智能卡时, 读取所述智能卡内预 先存储的网络配置参数; 并按照所述网络配置参数的网络地址接入方式标 志位对应的网络地址接入方式,获取所述数字电视终端 IPTV业务所需的网 络地址。 a detecting unit, configured to detect whether the smart card control unit has a smart card after being turned on; and a network address obtaining unit, configured to read a pre-stored network configuration parameter in the smart card when the smart card is detected; and according to the network configuration Parameter network address access mode The network address access mode corresponding to the location, and the network address required for the IPTV service of the digital television terminal is obtained.
8、 根据权利要求 7所述的数字电视终端, 其特征在于, 所述智能卡, 用于存储网络配置参数和 IPTV业务参数;  The digital television terminal according to claim 7, wherein the smart card is configured to store network configuration parameters and IPTV service parameters;
相应地, 所述数字电视终端还包括业务鉴权单元, 用于读取所述智能 卡内预先存储的 IPTV业务参数的 IPTV业务管理平台地址及业务账号, 并 根据所述 IPTV业务管理平台地址, 向所述 IPTV业务管理平台发送用户业 务鉴权请求;将 IPTV业务管理平台根据所述用户业务鉴权请求返回的业务 鉴权所需的参数发送给所述智能卡;  Correspondingly, the digital television terminal further includes a service authentication unit, configured to read an IPTV service management platform address and a service account of the IPTV service parameter pre-stored in the smart card, and according to the address of the IPTV service management platform, Sending, by the IPTV service management platform, a user service authentication request, and sending, by the IPTV service management platform, parameters required for service authentication returned by the user service authentication request to the smart card;
智能卡, 具体用于运行业务鉴权算法, 并将得到的业务鉴权值通过业 务鉴权单元发送给所述 IPTV业务管理平台。  The smart card is specifically configured to run a service authentication algorithm, and send the obtained service authentication value to the IPTV service management platform by using a service authentication unit.
9、 根据权利要求 8所述的数字电视终端, 其特征在于, 所述智能卡, 具体用于将其预先存储的 IPTV业务参数的业务密码作为加密密钥,对接收 到的业务鉴权所需的参数进行加密计算, 得到业务鉴权值。  The digital television terminal according to claim 8, wherein the smart card is specifically configured to use a service password of an IPTV service parameter stored in advance as an encryption key, and is required for authenticating the received service. The parameters are encrypted and calculated to obtain the service authentication value.
10、 根据权利要求 8所述的数字电视终端, 其特征在于, 所述数字电 视终端还包括 Flash, 用于存储所述网络配置参数和 IPTV业务参数;  The digital television terminal according to claim 8, wherein the digital television terminal further comprises a Flash, configured to store the network configuration parameter and the IPTV service parameter;
相应地, 所述网络地址获取单元, 具体用于当检测单元检测到智能卡 控制单元不存在智能卡时,读取所述 Flash所存储的网络地址接入方式标志 位。  Correspondingly, the network address obtaining unit is configured to: when the detecting unit detects that the smart card control unit does not have a smart card, read the network address access mode flag stored by the flash.
11、 根据权利要求 7至 10任一项所述的数字电视终端, 其特征在于, 所述网络地址获取单元, 具体用于当所述网络地址接入方式标志位所对应 的网络地址接入方式为静态 IP时, 读取所述智能卡内预先存储的或 Flash 存储的 IP地址作为所需的网络地址; 当所述网络地址接入方式标志位所对 应的网络地址接入方式为动态 DHCP且不需要认证时, 从网络侧获取动态 IP地址作为所需的网络地址; 当所述网络地址接入方式标志位所对应的网 络地址接入方式为动态 DHCP且需要认证时, 读取所述智能卡内预先存储 的或 Flash存储的 DHCP用户名、 密码, 并进行认证 , 当认证通过时 , 从网 络侧获取动态 IP地址作为所需的网络地址; 当所述网络地址接入方式标志 位所对应的网络地址接入方式为 PPPoE时, 读取所述智能卡内预先存储的 或 Flash存储的 PPPoE用户名、 密码, 并进行认证, 当认证通过时, 通过 ADSL拨号方式获取动态 IP地址作为所需的网络地址。 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 flag bit corresponds to a network address access mode When the IP address is static IP, the IP address pre-stored or stored in the smart card is read as the required network address; when the network address access mode flag corresponding to the network address access mode is dynamic DHCP and not When authentication is required, the dynamic IP address is obtained from the network side as the required network address; when the network address access mode flag is corresponding to the network When the network access mode is dynamic DHCP and authentication is required, the DHCP user name and password stored in the smart card or stored in the smart card are read and authenticated. When the authentication is passed, the dynamic IP address is obtained from the network side. If the network address access mode corresponding to the network address access mode flag is PPPoE, the PPPoE user name and password stored in the smart card or stored in the flash card are read and authenticated. When the authentication is passed, the dynamic IP address is obtained through the ADSL dialing method as the required network address.
PCT/CN2011/079102 2010-10-14 2011-08-30 Digital television terminal and method for using internet protocol television service thereof WO2012048605A1 (en)

Applications Claiming Priority (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
CN201010509951.3 2010-10-14

Publications (1)

Publication Number Publication Date
WO2012048605A1 true WO2012048605A1 (en) 2012-04-19

Family

ID=43888325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079102 WO2012048605A1 (en) 2010-10-14 2011-08-30 Digital television terminal and method for using internet protocol television service thereof

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4332808A1 (en) * 2022-08-31 2024-03-06 Thales Dis Cpl Usa, Inc. End to end trusted hsm setup using secure device

Families Citing this family (7)

* 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

Citations (6)

* 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, user recognition card and set-top box
CN102036112A (en) * 2010-10-14 2011-04-27 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof

Patent Citations (6)

* 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, user recognition card and set-top box
CN102036112A (en) * 2010-10-14 2011-04-27 中兴通讯股份有限公司 Digital television terminal and use method of Internet Protocol Television business thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4332808A1 (en) * 2022-08-31 2024-03-06 Thales Dis Cpl Usa, Inc. End to end trusted hsm setup using secure device
WO2024049947A1 (en) * 2022-08-31 2024-03-07 Thales DIS CPL USA, Inc End to end trusted hsm setup using secure device

Also Published As

Publication number Publication date
CN102036112B (en) 2014-07-16
CN102036112A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
WO2012048605A1 (en) Digital television terminal and method for using internet protocol television service thereof
CN1523811B (en) System and method for user authentication at the level of the access network during a connection of the user to the internet
JP5477807B2 (en) Personal token with improved signal capability
US9143922B2 (en) Method and system for controlling communication between an UICC and an external application
JP4442795B2 (en) Portable device to protect packet traffic on host platform
EP2775741A1 (en) Electronic name card exchange method, terminal and system
US8483661B2 (en) Method for loading credentials into a mobile communication device such as a mobile phone
US9401916B2 (en) Method for providing a user with an authenticated remote access to a remote secure device
CN103916854A (en) Wireless local area network user access fixed broadband network method and system
WO2014183350A1 (en) Terminal, identification card implementation method, and authentication method and device
CN109104475A (en) Connect restoration methods, apparatus and system
CN101026516A (en) Method for establishing virtual personal network connection
WO2011097843A1 (en) Smart card authentication device and method
CN101471867A (en) Method and system for controlling network access authority, access terminal and operation support system
CN100438446C (en) Switch-in control equipment, Switch-in control system and switch-in control method
CN102075933B (en) Method and system for running application software on intelligent terminal as well as related equipment
CN202841183U (en) Home integrated gateway
JP6318640B2 (en) Wireless connection apparatus, method for controlling wireless connection apparatus, and network system
CN110582085B (en) Communication method, device and system
CN110381486A (en) A kind of method, Tag label and terminal for sharing VoWiFi business by NFC
KR100818372B1 (en) Terminal Devices and Recordig Medium for Guaranteeing Quality of Service Between Wire Communication Networks and Wireless Communication Networks by Using Switching Function of Communication Protocol Stack
CN104982004B (en) Manage the method and access device of network security
KR100780662B1 (en) Card Terminals with Function of Virtual Wireless Lan Access Point by Using Wire Communication Network
CN106911696A (en) A kind of keep Alive Packet transmission method and device
US9455971B2 (en) Method for using a remote secure device to authenticate a client device to access a remote service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11832002

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11832002

Country of ref document: EP

Kind code of ref document: A1