CN101170639A - Method for realizing advanced secure authentication testing between computer and STB - Google Patents

Method for realizing advanced secure authentication testing between computer and STB Download PDF

Info

Publication number
CN101170639A
CN101170639A CNA2007102028124A CN200710202812A CN101170639A CN 101170639 A CN101170639 A CN 101170639A CN A2007102028124 A CNA2007102028124 A CN A2007102028124A CN 200710202812 A CN200710202812 A CN 200710202812A CN 101170639 A CN101170639 A CN 101170639A
Authority
CN
China
Prior art keywords
computer
top box
serial
stb
serial ports
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007102028124A
Other languages
Chinese (zh)
Inventor
蒋庆洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNA2007102028124A priority Critical patent/CN101170639A/en
Publication of CN101170639A publication Critical patent/CN101170639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention relates to technique of communication between a set-top box (STB) and a computer. The technical problem solved in this invention is to provide a high-level security authentication test method between the set-top box (STB) and the computer. The invention realizes the data exchange by using the serial line between the serial port of the computer and the serial port of the STB. The invention has the advantages that: the invention realizes the communication between the STB and the computer by using large number of serial ports on the STB without increasing the hardware cost; the serial port driver program is convenient to install and doesn't need to be rewritten; the manpower and cost are saved; and the production test speed of STB is increased.

Description

Between computer and set-top box, realize the method for advanced secure authentication testing
Technical field
The present invention relates to the communication technology between set-top box and the computer, particularly have advanced secure authentication (SST) technology of the set-top box of advanced security chip.
Background technology
In digital TV field, operator all can carry out scrambling to the TV programme in the network.When the user receives at home, all be to watch behind the smart card insertion machine top box descrambling that will use operator to provide.The key that the user is used for descrambling transmits in real time at network, and conversion in general 10 seconds to 15 seconds once.User's set-top box must pass to it in smart card after receiving key, comes the code stream descrambling by calculating correct descrambled control words.
A decoding chip (hereinafter referred to as chip) is arranged in the set-top box, mainly finish the numeral in the cable network is become analog signal.When using common chip,, all be identical key to set-top box all in the network for the identical time of same program.As long as a set-top box obtains this key, pass to different set-top box by other approach more so, other set-top box just can freely have been seen this channel.In order to protect benefits of operators; so proposed the advanced security technology; promptly when using the advanced security chip; each chip all has the sequence number of oneself; front end can be in cable network sends different keys at different set-top box at the advanced security chip, and each set-top box receives that own corresponding key just can calculate the descrambled control words of correspondence again in conjunction with own chip serial number.
Use the advanced security chip also to have a problem, operator's front end must be known corresponding this what key of each set-top box.This issues operator with regard to needing set-top box producer when producing the relevant information of advanced security chip correspondence to be read out, according to this as the preparation of advanced secure authentication.The relevant information (advanced secure authentication testing between computer and the set-top box) that set-top box producer uses a computer and reads advanced security chip correspondence in actual production is sent to operator with relevant information again.Advanced secure authentication testing employing mode between computer and the set-top box is to use the interface board of a special use at present, and one connects the computer by serial line, and one connects the smart card of set-top box seat.Set-top box manufacturer just must remove to develop this circuit board like this.The driver of special purpose interface plate needs the research and development by producer, and the Driver Development cycle is long, the cost height.
Summary of the invention
Technical problem to be solved by this invention is that the advanced secure authentication testing method between simpler computer of a kind of enforcement and the set-top box is provided.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be, realizes the method for advanced secure authentication testing between computer and set-top box, it is characterized in that, utilizes the Serial Port Line realization exchanges data between the serial ports of computer by serial and set-top box.
Specifically may further comprise the steps:
A, set-top box start the advanced secure authentication pattern, to the handshaking information of sending of computer by serial;
B, computer enter the advanced secure authentication pattern after receiving handshaking information by serial ports;
C, computer send the order of advanced security chip serial number, simulator password, descrambled control words pattern and the set-top-box system number of reading machine top box by serial ports;
D, set-top box number send to computer by serial ports with advanced security chip serial number, simulator password, descrambled control words pattern and set-top-box system;
E, computer are sent to descrambled control words the serial ports of set-top box by serial ports by computing;
After f, set-top box are received descrambled control words, descrambler is set, sends and confirm to order to computer; Set-top box withdraws from the advanced secure authentication pattern;
G, computer are received the set-top box information of confirming that the storage of order back obtains from steps d.
The invention has the beneficial effects as follows, utilize on the set-top box originally with regard to more serial ports and realize and the communicating by letter of computer, needn't increase hardware cost; The serial port drive program is easy for installation, needn't write again; Save manpower and cost, improved the production test speed of set-top box.
Embodiment
The present invention proposes the test that realizes SST with the serial ports and the middle Serial Port Line of simple computer by serial and set-top box.Because serial ports fine realization on hardware of computer by serial and set-top box, driver is also very simple, is easy to realize the exchange of data.
Like this, as long as on software, find the driver of the serial ports of computer and set-top box, employing is similar to the mode of the request-reply of TCP/IP, each end sends a request or sends data, and the other end all will send acknowledgement command, if do not reply, after overtime, send out again continuously 5 times, if also do not reply, then declare operation failure, concrete steps are as follows:
1, start the computer terminal program, set-top box starts, and Serial Port Line is ready to, and front end is ready to;
2, computer is in wait state;
3, start factory mode (SST pattern) with the frock remote controller;
4, set-top box is sent out handshaking information to computer;
5, computer receives that handshaking information enters mode of operation (SST pattern);
6, the UK of computer reading machine top box (advanced security chip serial number) order;
7, set-top box is received this order, and UK is issued computer;
8, computer is sent out the order of the CWMode (descrambled control words pattern) that reads STB;
9, set-top box is received this order and CWMode is issued computer;
10, computer is sent out the order of the JTAGKey (simulator password) of reading machine top box;
11, set-top box is received this order and JTag is issued computer;
12, computer is sent out the order of the SysID (set-top-box system number) of reading machine top box;
13, set-top box is received this order and SysID is issued computer;
14, computer is issued set-top box by a series of computings with CW (descrambled control words);
15, set-top box is received CW, and descrambler is set, and sends to confirm to order to computer, withdraws from the SST pattern;
16, computer is received the information of confirming order back this set-top box of record, enters standby mode and waits for opening of SST pattern next time.
Process in advanced security chip production process becomes following order to data description:
Command code Implication Explanation
A0 Handshake
A1 Order is received Comprise the check digit that receives orders in the descriptor.
B0 Read UK
B1 Set-top box is sent UK UK is kept in the descriptor
B2 Read CWMode
B3 Set-top box is sent CWMode CWMode is kept in the descriptor
B4 Read JTAGKey
B5 Set-top box is sent JTAGKey JTAGKey is kept in the descriptor
B6 Read SysID
B7 Set-top box is sent SysID SysID is kept in the descriptor
D1 Send CW CW is kept in the descriptor
Concrete data lattice are designed to following form:
1. basic communications packets form
Data name Length (byte) Explanation
Head/magic(0xC2) 1 The head of packet
Section_Length 2 Length of data package (with the PSI standard)
STB_Address 4 The address of set-top box (being used under the mode of many serial ports set-top box being carried out addressing) now uses UK to identify
Section_Descriptor Indefinite Comprising order and follow-up descriptor
CRC 4 Whether be used for this bag of verification correct
2. the form of descriptor
Data name Length (byte) Explanation
TAG 1 Command code
Desc_Len 1 Descriptor length
Desc_Data Indefinite Concrete descriptor
Utilize the USB mouth of simple computer and the USB mouth and the middle USB line of set-top box; Perhaps utilize the port of computer and the port and the middle netting twine of set-top box, also can realize the SST test, but be not that ready-made USB mouth or port (and a plurality of serial ports are all arranged on each set-top box) are arranged on most of set-top box, and the installation of USB mouth or port driver do not have serial ports convenient yet, is optimal selection so use serial ports to carry out computer with communicating by letter of set-top box.

Claims (1)

1. between computer and set-top box, realize the method for advanced secure authentication testing, it is characterized in that, utilize the Serial Port Line realization exchanges data between the serial ports of computer by serial and set-top box, specifically may further comprise the steps:
A, set-top box start the advanced secure authentication pattern, to the handshaking information of sending of computer by serial;
B, computer enter the advanced secure authentication pattern after receiving handshaking information by serial ports;
C, computer send the order of advanced security chip serial number, simulator password, descrambled control words pattern and the set-top-box system number of reading machine top box by serial ports;
D, set-top box number send to computer by serial ports with advanced security chip serial number, simulator password, descrambled control words pattern and set-top-box system;
E, computer are sent to descrambled control words the serial ports of set-top box by serial ports by computing;
After f, set-top box are received descrambled control words, descrambler is set, sends and confirm to order to computer; Set-top box withdraws from the advanced secure authentication pattern;
G, computer are received the set-top box information of confirming that the storage of order back obtains from steps d.
CNA2007102028124A 2007-11-30 2007-11-30 Method for realizing advanced secure authentication testing between computer and STB Pending CN101170639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007102028124A CN101170639A (en) 2007-11-30 2007-11-30 Method for realizing advanced secure authentication testing between computer and STB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007102028124A CN101170639A (en) 2007-11-30 2007-11-30 Method for realizing advanced secure authentication testing between computer and STB

Publications (1)

Publication Number Publication Date
CN101170639A true CN101170639A (en) 2008-04-30

Family

ID=39391087

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007102028124A Pending CN101170639A (en) 2007-11-30 2007-11-30 Method for realizing advanced secure authentication testing between computer and STB

Country Status (1)

Country Link
CN (1) CN101170639A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753886A (en) * 2008-12-15 2010-06-23 康佳集团股份有限公司 Method and system of controlling set top box and set top box
CN101808252A (en) * 2009-12-18 2010-08-18 康佳集团股份有限公司 Method for acquiring failure messages of set top box and acquisition module thereof
CN102231667A (en) * 2011-07-29 2011-11-02 飞天诚信科技股份有限公司 Method and device for registering serial device
CN101710240B (en) * 2009-11-18 2012-01-25 深圳市九洲电器有限公司 Set-top box production control system
CN102340695A (en) * 2011-10-17 2012-02-01 四川长虹电器股份有限公司 Interaction method for STB (Set Top Box) system
CN102572591A (en) * 2011-12-09 2012-07-11 深圳创维数字技术股份有限公司 Method and device for producing advanced security digital television set-top box

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753886A (en) * 2008-12-15 2010-06-23 康佳集团股份有限公司 Method and system of controlling set top box and set top box
CN101710240B (en) * 2009-11-18 2012-01-25 深圳市九洲电器有限公司 Set-top box production control system
CN101808252A (en) * 2009-12-18 2010-08-18 康佳集团股份有限公司 Method for acquiring failure messages of set top box and acquisition module thereof
CN102231667A (en) * 2011-07-29 2011-11-02 飞天诚信科技股份有限公司 Method and device for registering serial device
CN102231667B (en) * 2011-07-29 2013-06-19 飞天诚信科技股份有限公司 Method and device for registering serial device
CN102340695A (en) * 2011-10-17 2012-02-01 四川长虹电器股份有限公司 Interaction method for STB (Set Top Box) system
CN102572591A (en) * 2011-12-09 2012-07-11 深圳创维数字技术股份有限公司 Method and device for producing advanced security digital television set-top box
CN102572591B (en) * 2011-12-09 2014-03-19 深圳创维数字技术股份有限公司 Method and device for producing advanced security digital television set-top box

Similar Documents

Publication Publication Date Title
CN101170639A (en) Method for realizing advanced secure authentication testing between computer and STB
CN102546601B (en) The servicing unit of cloud computing terminal for accessing virtual machine
CN101122942B (en) Data safe reading method and its safe storage device
CN102084664A (en) Unit and method for secure processing of access controlled audio/video data
CN101017370A (en) Method for controlling intelligent electric appliance and system thereof
CN101471915A (en) Encipher method and encipher device
CN112769574B (en) Key injection method and system, key management system, device and machine readable medium
CN102082669A (en) Security certification method and device
CN101013944A (en) Method and apparatus for inputting/displaying/transmitting user information using USB key
CN102045280A (en) Cable modem (CM) and certificate test method thereof
CN105516210A (en) System and method for terminal security access authentication
CN201750507U (en) Conditional access (CA) equipment based on USB interface
CN102572580B (en) Method for descrambling set top box through network
CN104134294B (en) Authorization authentication method based on business hall self-service terminal
CN102332066B (en) Authentication management system and method of code jumping chip identification codes
CN206907059U (en) China second-generation identity card reads encryption system
CN101087361A (en) A method for authorization of digital TV STB slave-master device
CN101236674A (en) Intelligent cipher key equipment and method for information exchange with external apparatus
CN103491396A (en) Intelligent set top box with digital right management mechanism and information security mechanism
CN202210323U (en) Intelligent TV bank terminal system
CN204557665U (en) A kind of ATM encryption authorization hub
CN102143392A (en) Control word encryption and decryption methods and control word encryption and decryption systems
CN101374222A (en) Authorization management method for multiple set-top boxes of same user in digital television network
CN101267530B (en) A program information transmission system, method and receiving terminal
CN105120425A (en) M2M identification method and apparatus, internet of things terminal and M2M identification system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication