CN102291613A - Authorizing method and device of set top box - Google Patents

Authorizing method and device of set top box Download PDF

Info

Publication number
CN102291613A
CN102291613A CN2011102548816A CN201110254881A CN102291613A CN 102291613 A CN102291613 A CN 102291613A CN 2011102548816 A CN2011102548816 A CN 2011102548816A CN 201110254881 A CN201110254881 A CN 201110254881A CN 102291613 A CN102291613 A CN 102291613A
Authority
CN
China
Prior art keywords
top box
sequence number
authorization code
started shooting
order
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.)
Granted
Application number
CN2011102548816A
Other languages
Chinese (zh)
Other versions
CN102291613B (en
Inventor
罗浩然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GCI Science and Technology Co Ltd
Original Assignee
GCI Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GCI Science and Technology Co Ltd filed Critical GCI Science and Technology Co Ltd
Priority to CN 201110254881 priority Critical patent/CN102291613B/en
Publication of CN102291613A publication Critical patent/CN102291613A/en
Application granted granted Critical
Publication of CN102291613B publication Critical patent/CN102291613B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses an authorizing method of a set top box, which comprises the following steps of: storing configuration information corresponding to all set top boxes, wherein the configuration information comprises an MAC (media access control) address, a serial number and an authorizing code; obtaining starting information of the set top boxes; according to the starting information, if the set top box is started, sending a command of obtaining the serial number and the authorizing code to the set top box which is started; responding to the command of obtaining the serial number and the authorizing code and obtaining the serial number and the authorizing code corresponding to the MAC address of the set top box which is started by using the set top box which is started; sending a burning command to the set top box which is started; and receiving the burning command and burning the serial number and the authorizing code by using the set top box which is started. The invention further discloses an authorizing device of the set top box. The authorizing speed of the set top box is improved; the authorization mission success rate is improved; and the authorization cost of the set top box is decreased.

Description

A kind of set-top box authorization method and device
Technical field
The present invention relates to digital TV set-top box, be specifically related to a kind of set-top box authorization method and device.
Background technology
Digital TV set-top box is a kind of conversion equipment that digital television signal is converted to analog signal, present digital TV set-top box has become a kind of embedded computing equipment, has perfect real time operating system, powerful CPU computing capability is provided, be used for coordinating controller top box each several part hardware facility, and easy-operating graphic user interface is provided, as the electronic program guides of enhanced-quality television, provide program introduction and the background information that both pictures and texts are excellent to the user.Simultaneously, set-top box has " fool's computer " ability, carry out bidirectional rebuilding a little by the in house software function with to network like this, being easy to realize is that a net is seized state power as multiple services such as internet browsing, video request program, household electric business, telephone communications.
Digital TV set-top box need be through authorizing TV reception normally, and present set-top box authorization is: comprise two operations, first operation be by serial ports to the set-top box writing sequence number, second operation is to insert the USB flash disk that licensed software is housed to set-top box to authorize.
This authorization is being authorized time-division 2 operations, and the USB flash disk that is to use plug and play simultaneously because the frequent plug of USB flash disk causes the interface loose contact easily, influences the use of mandate speed, USB flash disk as authorizing media, has improved cost; During mandate, need the manual activation mandate,, will make authorization failure if the triggered time is not grasped.
Summary of the invention
The purpose of this invention is to provide a kind of set-top box authorization method, improve set-top box mandate speed, improve and authorize success rate, reduction set-top box mandate cost.
A kind of set-top box authorization method comprises step:
Store the configuration information of each set-top box correspondence; Wherein said configuration information comprises: MAC Address, sequence number and authorization code;
Obtain the boot-strap information of set-top box;
According to described boot-strap information,, then send the order of obtaining sequence number and authorization code to described set-top box of having started shooting if set-top box is started shooting;
The described described order of obtaining sequence number and authorization code of set-top box response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of described set-top box of having started shooting from described configuration information;
Send the programming order to described set-top box of having started shooting;
Described set-top box of having started shooting receives described programming order, then described sequence number of programming and described authorization code.
The present invention at first obtains MAC Address, sequence number and the corresponding authorization code of each set-top box that need authorize; Obtain the boot-strap information of set-top box by the serial communication of set-top box; The set-top box of having started shooting is issued the sequence number that obtains this set-top box correspondence and the order of authorization code; Receive the corresponding set-top box of this order and then obtain corresponding sequence number and authorization code; After having obtained, the beginning writing sequence number, the programming authorization code is finished the mandate of set-top box afterwards.Compare with existing set-top box authorization method, set-top box authorization method of the present invention, do not need 2 operations, do not need to use USB flash disk, a key mandate, when not having manual activation, triggered time is held inaccurate problem, has improved set-top box mandate speed, has improved the mandate success rate, has reduced cost.
Another object of the present invention provides a kind of set-top box authorization device, improves set-top box mandate speed, improves and authorize success rate, reduction set-top box mandate cost.
A kind of set-top box authorization device comprises:
Memory cell is used to store the configuration information of each set-top box correspondence, and wherein, described configuration information comprises: MAC Address, sequence number and authorization code;
First acquiring unit is used to obtain the boot-strap information of set-top box;
First transmitting element according to described boot-strap information, if set-top box is started shooting, then sends the order of obtaining sequence number and authorization code to described set-top box of having started shooting;
The described described order of obtaining sequence number and authorization code of set-top box response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of described set-top box of having started shooting from described memory cell;
Second transmitting element sends the programming order to described set-top box of having started shooting;
Described set-top box of having started shooting receives described programming order, then described sequence number of programming and described authorization code.
The present invention at first obtains MAC Address, sequence number and the corresponding authorization code of each set-top box that need authorize; Obtain the boot-strap information of set-top box by the serial communication of set-top box; The set-top box of having started shooting is issued the sequence number that obtains this set-top box correspondence and the order of authorization code; Receive the corresponding set-top box of this order and then obtain corresponding sequence number and authorization code; After having obtained, the beginning writing sequence number, the programming authorization code is finished the mandate of set-top box afterwards.Compare with existing set-top box authorization method, set-top box authorization method of the present invention, do not need 2 operations, do not need to use USB flash disk, a key mandate, when not having manual activation, triggered time is held inaccurate problem, has improved set-top box mandate speed, has improved the mandate success rate, has reduced cost.
Description of drawings
Fig. 1 is a schematic flow sheet of the inventive method;
Fig. 2 is a structural representation of apparatus of the present invention;
Fig. 3 is another structural representation of apparatus of the present invention;
Fig. 4 is a concrete application examples schematic diagram of the present invention.
Embodiment
For ease of understanding, set forth the present invention below in conjunction with accompanying drawing.
At first introduce method of the present invention, please refer to Fig. 1, a kind of set-top box authorization method comprises step:
101, memory machine top box configuration information;
Store the configuration information of each set-top box correspondence, configuration information comprises: MAC Address (Media Access Control, hardware address), sequence number and authorization code.A corresponding MAC Address of set-top box, a sequence number, an authorization code.
102, obtain the open state of set-top box;
Obtain the boot-strap information of set-top box.
103, issue the order of obtaining sequence number of set top box and authorization code;
According to set-top-box opening information,, then send the order of obtaining sequence number and authorization code to the set-top box of having started shooting if set-top box is started shooting.The set-top box of having started shooting refers to the set-top box of having started shooting.
104, set-top box response command obtains sequence number and authorization code;
The order that sequence number and authorization code are obtained in the set-top box response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of the set-top box of having started shooting from stored configuration information.
105, issue the programming order;
Send the programming order to the set-top box of having started shooting.
106, writing sequence number and authorization code.
The set-top box writing sequence number and the authorization code of having started shooting.
The present invention at first obtains MAC Address, sequence number and the corresponding authorization code of each set-top box that need authorize; Obtain the boot-strap information of set-top box by the serial communication of set-top box; The set-top box of having started shooting is issued the sequence number that obtains this set-top box correspondence and the order of authorization code; Receive the corresponding set-top box of this order and then obtain corresponding sequence number and authorization code; After having obtained, the beginning writing sequence number, the programming authorization code is finished the mandate of set-top box afterwards.Compare with existing set-top box authorization method, set-top box authorization method of the present invention, do not need 2 operations, do not need to use USB flash disk, a key mandate, when not having manual activation, triggered time is held inaccurate problem, has improved set-top box mandate speed, has improved the mandate success rate, has reduced cost.
In Fig. 1 embodiment, as a kind of preferred implementation, step 105-106 is specially:
Send the programming order to the set-top box of having started shooting; The set-top box of having started shooting receives the programming order, and then the step of writing sequence number and authorization code is specially:
Send the order of writing sequence number to the set-top box of having started shooting;
The set-top box of having started shooting is received the order of writing sequence number, carries out writing sequence number;
Send the order of programming authorization code to the set-top box of having started shooting;
The set-top box of having started shooting is received the order of programming authorization code, carries out the programming authorization code.
For the ease of management, store the configuration information in the step 101 into server.
In actual moving process, the step that set-top box is obtained sequence number and authorization code may not be to finish at one time, for the set-top box that does not get access to sequence number and authorization code, issues the order of writing sequence number, is invalid, causes the wasting of resources; For fear of this wasting of resources, can do further improvement to the foregoing description:
Before above-mentioned steps 105, add a judgment mechanism, whether the sequence number of the set-top box that judgement has been started shooting and authorization code obtain and finish; If not, then continue to obtain sequence number and authorization code; Send the order of writing sequence number to the set-top box of having obtained sequence number and authorization code.
Then introduce device of the present invention, please refer to Fig. 2, a kind of set-top box authorization device comprises:
Memory cell T1 is used to store the configuration information of each set-top box correspondence, and wherein, configuration information comprises: MAC Address, sequence number and authorization code;
The first acquiring unit T2 is used to obtain the boot-strap information of set-top box;
The first transmitting element T3, the boot-strap information according to the first acquiring unit T2 obtains if set-top box T4 starts shooting, then sends the order of obtaining sequence number and authorization code to the set-top box T4 that has started shooting;
The order that sequence number and authorization code are obtained in the set-top box T4 response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of the set-top box T4 that has started shooting;
The second transmitting element T5 sends the programming order to the set-top box T4 that has started shooting;
The set-top box T4 that has started shooting receives the programming order, then writing sequence number and authorization code.
The present invention at first obtains MAC Address, sequence number and the corresponding authorization code of each set-top box that need authorize; Obtain the boot-strap information of set-top box by the serial communication of set-top box; The set-top box of having started shooting is issued the sequence number that obtains this set-top box correspondence and the order of authorization code; Receive the corresponding set-top box of this order and then obtain corresponding sequence number and authorization code; After having obtained, the beginning writing sequence number, the programming authorization code is finished the mandate of set-top box afterwards.Compare with existing set-top box authorization method, set-top box authorization method of the present invention, do not need 2 operations, do not need to use USB flash disk, a key mandate, when not having manual activation, triggered time is held inaccurate problem, has improved set-top box mandate speed, has improved the mandate success rate, has reduced cost.
In Fig. 2 implemented, as a kind of preferred implementation, the concrete operations of the second transmitting element T5 and the set-top box T4 that started shooting were:
The second transmitting element T5 sends the order of writing sequence number to the set-top box T4 that has started shooting;
The set-top box T4 that has started shooting receives the order of writing sequence number, carries out writing sequence number;
The second transmitting element T5 sends the order of programming authorization code to the set-top box T4 that has started shooting;
The set-top box T4 that has started shooting receives the order of programming authorization code, carries out the programming authorization code.
In actual moving process, the operation of obtaining sequence number and authorization code may not be to finish at one time, for the set-top box that does not get access to sequence number and authorization code, to its order that issues writing sequence number, is invalid, causes the wasting of resources; For fear of this wasting of resources, can do further improvement to the foregoing description:
Please refer to Fig. 3, this device also comprises:
The first judging unit T6, whether the sequence number of the set-top box T4 that judgement has been started shooting and authorization code obtain and finish; If not, then continue to obtain sequence number and authorization code; And notify the second transmitting element T5 to send the order of writing sequence number to the set-top box of having obtained sequence number and authorization code.
Because the process of set-top box mandate needs first writing sequence number, reburn and write authorization code; Concerning same set-top box, writing sequence number needs the regular hour, if, in sequence number programming process, send the order of programming authorization code, set-top box can not carried out the programming authorization code like this, cause the wasting of resources,, can do further improvement Fig. 2 embodiment in order to solve this waste:
Then introduce a concrete application examples of the present invention; Please refer to Fig. 4, obtain the MAC Address of each set-top box that need authorize and sequence number, authorization code in advance; MAC Address and sequence number, authorization code input computer are stored, each set-top box that need authorize is connected computer by serial ports (being specifically as follows the RS232 interface), Ethernet; The MAC Address of configuration and computer junctor top box; Open set-top box, the boot-strap information of set-top box is notified computer by RS232, after computer is received the boot-strap information of set-top box, sends the order of the sequence number and the authorization code that obtain this set-top box correspondence to the set-top box of having started shooting; After set-top box receives orders, obtain the sequence number and the authorization code of each set-top box correspondence to computer by Ethernet; The authorization code that set-top box has been obtained corresponding sequence number returns the information that finishes of obtaining to computer; Computer sends the order of programming sequence number of set top box earlier to set-top box, set-top box is received the programming order, carries out the operation of writing sequence number; Programming finishes sequence number, returns the information that programming finishes to computer; Then, send the order of programming authorization code to set-top box; Set-top box is received this programming order, carries out the operation of programming authorization code.Repeat aforesaid operations, finish the mandate of all set-top box.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (7)

1. a set-top box authorization method is characterized in that, comprises step:
Store the configuration information of each set-top box correspondence; Wherein said configuration information comprises: MAC Address, sequence number and authorization code;
Obtain the boot-strap information of set-top box;
According to described boot-strap information,, then send the order of obtaining sequence number and authorization code to the set-top box of having started shooting if top box is started shooting;
The described described order of obtaining sequence number and authorization code of set-top box response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of described set-top box of having started shooting from described configuration information;
Send the programming order to described set-top box of having started shooting;
Described set-top box of having started shooting receives described programming order, then described sequence number of programming and described authorization code.
2. set-top box authorization method according to claim 1 is characterized in that,
Described to the set-top box transmission programming order of having started shooting; The set-top box of having started shooting receives described programming order, and then the step of described sequence number of programming and described authorization code is specially:
Send the order of writing sequence number to described set-top box of having started shooting;
Described set-top box of having started shooting is received the order of described writing sequence number, carries out writing sequence number;
Send the order of programming authorization code to described set-top box of having started shooting;
Described set-top box of having started shooting is received the order of described programming authorization code, carries out the programming authorization code.
3. set-top box authorization method according to claim 1 is characterized in that,
Store described configuration information into server.
4. according to each described set-top box authorization method of claim 1 to 3, it is characterized in that,
, before sending the step of order of writing sequence number, the set-top box of having started shooting judges whether the sequence number of described set-top box of having started shooting and authorization code obtain to finish described; If not, then continue to obtain sequence number and authorization code; Send the order of described writing sequence number to the set-top box of having started shooting of having obtained sequence number and authorization code.
5. a set-top box authorization device is characterized in that, comprising:
Memory cell is used to store the configuration information of each set-top box correspondence, and wherein, described configuration information comprises: MAC Address, sequence number and authorization code;
First acquiring unit is used to obtain the boot-strap information of set-top box;
First transmitting element according to described boot-strap information, if set-top box is started shooting, then sends the order of obtaining sequence number and authorization code to described set-top box of having started shooting;
The described described order of obtaining sequence number and authorization code of set-top box response of having started shooting obtains sequence number and the authorization code corresponding with the MAC Address of described set-top box of having started shooting from described memory cell;
Second transmitting element sends the programming order to described set-top box of having started shooting;
Described set-top box of having started shooting receives described programming order, then described sequence number of programming and described authorization code.
6. set-top box authorization device according to claim 5 is characterized in that,
Described second transmitting element and the described described sequence number of set-top box programming of having started shooting and the operation of described authorization code are specially:
Second transmitting element sends the order of writing sequence number to described set-top box of having started shooting;
Described set-top box of having started shooting is received the order of described writing sequence number, carries out writing sequence number;
Second transmitting element sends the order of programming authorization code to described set-top box of having started shooting;
Described set-top box of having started shooting is received the order of described programming authorization code, carries out the programming authorization code.
7. according to claim 5 or 6 described set-top box authorization devices, it is characterized in that described device also comprises:
First judging unit is judged whether the sequence number of described set-top box of having started shooting and authorization code obtain to finish; If not, then continue to obtain sequence number and authorization code; And notify described second transmitting element to send the order of described writing sequence number to the set-top box of having obtained sequence number and authorization code.
CN 201110254881 2011-08-31 2011-08-31 Authorizing method and device of set top box Expired - Fee Related CN102291613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110254881 CN102291613B (en) 2011-08-31 2011-08-31 Authorizing method and device of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110254881 CN102291613B (en) 2011-08-31 2011-08-31 Authorizing method and device of set top box

Publications (2)

Publication Number Publication Date
CN102291613A true CN102291613A (en) 2011-12-21
CN102291613B CN102291613B (en) 2013-07-31

Family

ID=45337677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110254881 Expired - Fee Related CN102291613B (en) 2011-08-31 2011-08-31 Authorizing method and device of set top box

Country Status (1)

Country Link
CN (1) CN102291613B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
CN104469501A (en) * 2014-10-27 2015-03-25 福建新大陆通信科技股份有限公司 Set top box automatic set-up method based on serial communication protocol
CN106385631A (en) * 2016-11-02 2017-02-08 北京数码视讯软件技术发展有限公司 Set-top box middleware system authorization method, set-top box middleware system authorization device and set-top box
CN107704251A (en) * 2017-09-26 2018-02-16 深圳市亿联智能有限公司 A kind of safe programming methods of OTP based on computer empowerment management
CN108632075A (en) * 2017-08-31 2018-10-09 北京视联动力国际信息技术有限公司 A kind of programming method and apparatus regarding networked terminals
CN112235245A (en) * 2020-09-11 2021-01-15 福建新大陆通信科技股份有限公司 Electronic equipment data writing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617498A (en) * 2003-11-11 2005-05-18 华为技术有限公司 Hatching method for next generation network terminal
CN101576948A (en) * 2009-06-09 2009-11-11 航天科工深圳(集团)有限公司 Allowed method for guarding singlechip programmer
CN201518499U (en) * 2009-10-20 2010-06-30 福建新大陆通信科技有限公司 Device for writing in MAC address and serial number to set-top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617498A (en) * 2003-11-11 2005-05-18 华为技术有限公司 Hatching method for next generation network terminal
CN101576948A (en) * 2009-06-09 2009-11-11 航天科工深圳(集团)有限公司 Allowed method for guarding singlechip programmer
CN201518499U (en) * 2009-10-20 2010-06-30 福建新大陆通信科技有限公司 Device for writing in MAC address and serial number to set-top box

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
WO2015165305A1 (en) * 2014-04-30 2015-11-05 深圳市九洲电器有限公司 Set-top box programming method and system
CN104469501A (en) * 2014-10-27 2015-03-25 福建新大陆通信科技股份有限公司 Set top box automatic set-up method based on serial communication protocol
CN104469501B (en) * 2014-10-27 2018-11-20 福建新大陆通信科技股份有限公司 A kind of set-top box automatic setting method based on serial communication protocol
CN106385631A (en) * 2016-11-02 2017-02-08 北京数码视讯软件技术发展有限公司 Set-top box middleware system authorization method, set-top box middleware system authorization device and set-top box
CN106385631B (en) * 2016-11-02 2019-07-05 北京数码视讯软件技术发展有限公司 A kind of middleware of set top box system authorization method, apparatus and set-top box
CN108632075A (en) * 2017-08-31 2018-10-09 北京视联动力国际信息技术有限公司 A kind of programming method and apparatus regarding networked terminals
CN108632075B (en) * 2017-08-31 2021-10-19 视联动力信息技术股份有限公司 Method and device for programming video network terminal
CN107704251A (en) * 2017-09-26 2018-02-16 深圳市亿联智能有限公司 A kind of safe programming methods of OTP based on computer empowerment management
CN107704251B (en) * 2017-09-26 2020-12-11 深圳市亿联智能有限公司 OTP (one time programmable) safe programming method based on computer authorization management
CN112235245A (en) * 2020-09-11 2021-01-15 福建新大陆通信科技股份有限公司 Electronic equipment data writing method and system

Also Published As

Publication number Publication date
CN102291613B (en) 2013-07-31

Similar Documents

Publication Publication Date Title
CN102291613B (en) Authorizing method and device of set top box
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN104008324B (en) Terminal and server and its control method for application security strategy
EP2963933A1 (en) Remote control processing method, apparatus and system
CN103944864A (en) Information transmission method, information sending device, receiving device and system
CN103166941A (en) Data sharing method and device
CN104618780A (en) Method and system for controlling electrical apparatus
CN103516882B (en) A kind of based on multi-screen interaction scene picture playing method and system
CN101902378A (en) Digital home full-service intelligent terminal
CN103905213A (en) Standby method, intelligent household devices and standby system
CN105681877A (en) Set-top box, television, platform, remote controller and method and apparatus for establishing connection
CN110024395A (en) Image real time transfer, transmission method and controlling terminal
CN104363486A (en) Combined television and USB (universal serial bus) sharing method thereof
CN101686341A (en) Method for realizing program sharing among television, set top box and mobile equipment
CN102271286A (en) Conditional access system capable of providing multi-screen control and realization method
CN103685303A (en) Method and system for processing connection content delivery network
CN106454541A (en) Calling method, calling device and calling system
CN103648047A (en) Resource searching method and system of intelligent television
CN103999411A (en) Method and system for combining a device with a gateway
CN104754222A (en) Terminal camera shooting method and terminal
CN103595786A (en) Electronic device monitoring method and electronic devices
CN106791992A (en) Signal source method for pushing and system
CN101087361A (en) A method for authorization of digital TV STB slave-master device
CN103607640A (en) Audio control method, device thereof and system thereof
CN105450758A (en) Multimedia file play method and terminal

Legal Events

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

Granted publication date: 20130731

Termination date: 20200831

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